/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* FLORISTERIA SANTACREU - DISSENY CORPORATIU */

body {
  background-color: #fffdf7;
  color: #263027;
}

/* Capçalera blanca */
#header,
#header .header-nav,
#header .header-top {
  background-color: #ffffff;
}

#header .header-top {
  border-bottom: 3px solid #246b2d;
}

/* Menú principal */
#header .header-top a,
#header .header-top .menu a {
  color: #246b2d;
}

/* Enllaços */
a {
  color: #246b2d;
}

a:hover {
  color: #17491f;
}

/* Botons principals */
.btn-primary {
  background-color: #246b2d;
  border-color: #246b2d;
  border-radius: 8px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #17491f;
  border-color: #17491f;
}

/* Targetes de producte */
.product-miniature .thumbnail-container {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.product-miniature .price {
  color: #246b2d;
  font-weight: 700;
}


/* SANTACREU - CAPCALERA CORPORATIVA V1 */
#header {
  box-shadow: 0 2px 12px rgba(25,65,30,.08);
}
#header .header-nav {
  border-bottom: 1px solid #e5ebe3;
}
#header .header-top {
  border-bottom: 3px solid #246b2d;
  padding-top: 18px;
  padding-bottom: 18px;
}
#header .header-top .menu a {
  color: #246b2d;
  font-weight: 600;
  transition: color .2s ease;
}
#header .header-top .menu a:hover {
  color: #17491f;
}
#header #search_widget input {
  border: 1px solid #d8e4d5;
  border-radius: 8px;
  background: #fffdf7;
}
#header #search_widget input:focus {
  outline: 2px solid #246b2d;
  outline-offset: 1px;
}
@media (max-width: 767px) {
  #header .header-top {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #header .header-nav {
    border-bottom: 2px solid #246b2d;
  }
  #header .header-nav .mobile {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* SANTACREU - LOGOTIP ESCRIPTORI */
@media (min-width: 768px) {
  #header #_desktop_logo {
    width: 23%;
  }
  #header #_desktop_logo .logo {
    width: 220px;
    max-width: 100%;
    height: auto;
  }
  #header .header-top .position-static.col-md-10 {
    width: 77%;
  }
}

/* SANTACREU - DISTRIBUCIO CAPCALERA V2 */
@media (min-width: 768px) {
  #header .header-top {
    padding-top: 12px;
    padding-bottom: 10px;
  }
  #header .header-top #_desktop_logo {
    padding-top: 8px;
  }
  #header .santacreu-search-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
  }
  #header .santacreu-search-row .search-widget {
    float: none;
    width: 100%;
    max-width: 420px;
  }
  #header #_desktop_top_menu {
    width: 100%;
    clear: both;
  }
  #header #_desktop_top_menu .top-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px 8px;
  }
}
@media (max-width: 767px) {
  #header .santacreu-search-row {
    margin: 10px 0;
  }
  #header .santacreu-search-row .search-widget {
    float: none;
    width: 100%;
  }
}

/* SANTACREU - CAPCALERA COMPACTA V3 */
@media (min-width: 768px) {
  #header .header-top { padding-top: 8px; padding-bottom: 6px; }
  #header .santacreu-search-row { margin-bottom: 4px; }
  #header #_desktop_top_menu .top-menu { margin-bottom: 0; }
}

/* SANTACREU - CAPCALERA COMPACTA V4 */
@media (min-width: 768px) {
  #header .header-top { padding-top: 4px; padding-bottom: 2px; }
  #header .header-top #_desktop_logo { padding-top: 0; }
  #header .santacreu-search-row { margin-bottom: 0; }
  #header #_desktop_top_menu .top-menu a { padding-top: 5px; padding-bottom: 5px; }
}

/* SANTACREU - AJUST COMPACTE V5 */
@media (min-width: 768px) {
  #header .header-top { padding-bottom: 0; }
}

/* SANTACREU - REDUIR ESPAI SOBRE EL LOGOTIP */
@media (min-width: 768px) {
  #header .header-nav { max-height: 36px; }
  #header .header-nav .container { padding-top: 0; padding-bottom: 0; }
}

/* SANTACREU - REDUIR ESPAI ENTRE TELEFON I LOGOTIP */
@media (min-width: 768px) {
  #header .header-top .container > .row { align-items: center; }
  #header .header-top #_desktop_logo h1 { margin-top: 0; margin-bottom: 0; }
  #header .header-top #_desktop_logo { padding-top: 0; padding-bottom: 0; }
  #header .header-top { padding-top: 0; }
}

/* SANTACREU - ELIMINAR ESPAI SOBRE LOGOTIP */
@media (min-width: 768px) {
  #header .header-nav { margin-bottom: 0 !important; }
}

/* SANTACREU - CAPCALERA MOBIL COMPACTA */
@media (max-width: 767px) {
  #header .header-nav { margin-bottom: 0 !important; }
  #header .header-top { padding-top: 0 !important; padding-bottom: 0 !important; }
  #header .santacreu-search-row { margin: 4px 0 !important; }
}



/* SANTACREU - FORMULARI WHATSAPP */
/* Desactivar Vista ràpida */
.quick-view,
a[data-link-action="quickview"] {
  display: none !important;
}

/* SANTACREU - Botons del catàleg */
.product-miniature .thumbnail-container {
  height: auto; min-height: 430px;
  overflow: visible;
}
.product-miniature .product-description {
  height: auto; min-height: 180px; position: relative; bottom: auto;
}
.santacreu-botons-cataleg .btn {
  display: block;
  width: 100%;
  white-space: normal;
  font-size: 13px;
  padding: 9px 5px;
}

/* SANTACREU - Botons del catàleg uniformes */
.santacreu-botons-cataleg .btn {
  border-radius: 8px !important;
}
