/* =========================================
   estils_projecte.css — Estils específics MoomaShop
   ========================================= */

:root {
  --color-brand: #7D806B;
  --color-brand-dark: #666958;
  --color-brand-light: #a3a68f;
  --color-secondary: rgb(112, 135, 143);
  --color-dark: rgb(57, 59, 54);
  --container-max: 1500px;
  --color-nature: rgba(165, 176, 155, 1);
  --color-nature-soft: rgba(165, 176, 155, 0.3);
  --font-body: articulat-cf, sans-serif;
  --font-display: richmond-display, sans-serif;
  --header-height: 65px;
  --color-badge: #70878f;
}

body {
  font-family: var(--font-body);
}


/* =========================================
   Header 3 columnes
   ========================================= */

.site-header .container-custom { 
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem; 
}

.site-header .navbar {
  height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
} 

.site-header .navbar-brand {
  min-height: unset;
  padding: 0;
  margin: 0;
}

.site-header .navbar-brand img {
  width: 120px;
  height: 31px;
  min-height: unset;
  object-fit: contain;
}

.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-right {
  justify-content: flex-end;
}

.site-header {
  font-size: 12px;
}

.header-inici {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-light);
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.header-inici:hover {
  color: var(--color-brand);
}


.header-inici-text {
  font-family: "articulat-cf", Sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1em;
  letter-spacing: 0.12em;
}

@media (max-width: 991.98px) {
  .header-inici-text {
    display: none;
  }

  .site-header .container-custom {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Sobreescriu estils.css que posava margin-top i justify-content per navbar-collapse clàssic */
  .site-header .header-actions {
    margin-top: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
  }

  .caixa_idiomes_capcalera {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.site-header .icon-btn {
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0.25rem;
  color: var(--color-brand-light);
}

.site-header .icon-btn:hover {
  background: transparent;
}

.caixa_idiomes_capcalera {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-brand-light);
  cursor: pointer;
  padding: 0.25rem 1.2rem 0.25rem 0.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3a68f' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  transition: color 0.2s ease;
  outline: none;
}

.caixa_idiomes_capcalera:hover {
  color: var(--color-brand);
}

.caixa_idiomes_capcalera option {
  color: var(--color-dark);
  background: #fff;
}


/* =========================================
   Footer
   ========================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 3rem 2rem;
}

.footer-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}


.footer-bg img {
  height: 100%;
  width: auto;
  display: block;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-logo-row {
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: min(385px, 25%);
  height: auto;
  display: block;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--color-brand-light);
  margin: 0 0 2rem;
  opacity: 0.3;
}

.footer-content-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-group-left {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  color: var(--color-brand-light);
  white-space: nowrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-brand-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--color-brand);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  color: var(--color-brand-light);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--color-brand);
}

.footer-col--legal {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-legal a {
  color: var(--color-brand-light);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-brand);
}

@media (max-width: 767.98px) {
  .footer-logo {
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-logo-row {
    text-align: center;
  }

  .footer-content-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-group-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-col--legal {
    justify-content: flex-start;
  }
}


.titol_COMPRA_REALIZADA, .titol_COMPRA_NO_REALIZADA {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  min-height: 60vh;
  align-content: center;
  align-items: center;
  font-size: 50px;
  background: var(--color-brand);
  color: #fff;
  padding-left: 33%;
  padding-right: 33%;
  text-align: center;
  font-family: var(--font-body);
  line-height: 1.2em;
}

/* =========================================
   Pàgina de categoria
   ========================================= */

.cat-page-bg {
  background: linear-gradient(to bottom, rgba(165, 176, 155, 0.3) 0%, rgba(165, 176, 155, 0.15) 75%, #ffffff 100%);
}

.cat-hero {
  background: none;
  padding: 4rem 5% 5rem;
  text-align: center;
}

.cat-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-breadcrumb {
  margin-bottom: 1.5rem;
}

.cat-breadcrumb .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3.9px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.cat-breadcrumb .breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cat-breadcrumb .breadcrumbs a:hover {
  color: var(--color-brand);
}

.cat-breadcrumb .breadcrumbs span {
  color: var(--color-secondary);
}

.cat-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--color-brand);
  margin-bottom: 1.5rem;
  letter-spacing: normal;
}

.cat-description {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4em;
    color: var(--color-dark);
    margin-bottom: 0;
    text-align: center;
    max-width: 550px;
}
.catalog-section {
  padding: 3rem 0 4rem;
}

.catalog-section .product-card,
.related-section .product-card {
  border: none;
  background-color: inherit;
}

.catalog-section .product-card-body,
.related-section .product-card-body {
  text-align: center;
}

.catalog-section .product-card .product-image-wrap,
.related-section .product-card .product-image-wrap {
  background-color: inherit;
  aspect-ratio: inherit;
}

.product-image-wrap img {
  object-fit: contain;
  margin: 0 auto;
  width: 80%;
}

.catalog-section .product-category,
.related-section .product-category {
  color: var(--bs-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.related-section + .related-section {
  padding-top: 0;
}

.related-section .section-head {
  justify-content: center;
  margin-bottom: 2.5rem;
}

.related-section .section-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: normal;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 0;
}

.related-section.catalog-section {
  padding-top: 5rem;
}
.product-card .product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 0.9;
  letter-spacing: normal;
}
.product-card .btn-product-card {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-badge);
}
/* =========================================
   Hero Split — home_mooma
   ========================================= */

   
.hero-split {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

.hero-split__image {
  width: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 4rem 0 0;
  overflow-y: auto;
  background: linear-gradient(to bottom, rgba(165, 176, 155, 0.3) 85%, #ffffff 100%);
}


.hero-split__inner {
  width: 100%;
  max-width: 580px;
  text-align: center;
  align-self: center;
  padding: 0 1.5rem 2.5rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3.9px;
  line-height: 15.6px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.hero-split__title {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--color-brand);
  margin-bottom: 10%;
  letter-spacing: normal;
  line-height: 121.55px;
}

.hero-split__text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 23.8px;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

/* =========================================
   Feature Cards (grid 5x2)
   ========================================= */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  width: 100%;
  padding: 0 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.9;
    text-decoration: none;
    color: var(--color-text);
    background: #ffffff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.25s ease;
    padding: 10px;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-fons);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}


.feature-card:hover {
  background-color: rgba(165, 176, 155, 1);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 0.1;
}

/* Imatges */
.feature-card__imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 65px;
}

.feature-card__img-default,
.feature-card__img-hover {
  width: 50%;
  max-width: 50px;
  /* height: 40px; */
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.feature-card__img-hover {
  position: absolute;
  opacity: 0;
}

.feature-card:hover .feature-card__img-default {
  opacity: 0;
}

.feature-card:hover .feature-card__img-hover {
  opacity: 1;
}

/* Label */
.feature-card__label {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  padding: 0.5rem 0.4rem;
  color: var(--color-text);
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: var(--font-display);
}

.feature-card:hover .feature-card__label {
  color: #ffffff;
}


/* =========================================
   Responsive — Hero Split
   ========================================= */

@media (max-width: 991.98px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-split__image {
    width: 100%;
    height: 45vh;
    position: relative;
  }

  .hero-split__content {
    width: 100%;
    padding: 3rem 0 0;
    justify-content: flex-start;
  }

  .hero-split__inner {
    padding: 0 1.5rem 2rem;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .hero-split__image {
    height: 35vh;
  }

  .hero-split__content {
    padding: 2rem 0 0;
  }

  .hero-split__inner {
    padding: 0 1.25rem 1.5rem;
  }

  .hero-split__text {
    margin-bottom: 1.5rem;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

/* =========================================
   Fitxa producte — nova estructura 3 col
   ========================================= */

/* Padding container per compensar marges negatius del row + col padding 0 */
.product-page .container-custom {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Col. esquerra centrada */
.product-page .product-col-left {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8rem;
  padding-left: 0;
  padding-right: 0;
}
.product-page .product-col-left .breadcrumbs,
.product-page .product-col-left .product-card-box,
.product-page .product-col-left .qty-actions,
.product-page .product-col-left .xarxes_share {
  justify-content: center;
}

.product-page .product-col-right {
  padding-top: 8rem;
  padding-left: 20px;
  padding-right: 0;
}

.product-page .product-card-box {
  border: none;
  padding: 0;
}

.product-page .product-rating {
  justify-content: center;
  margin-bottom: 0;
  color: var(--color-secondary);
  font-weight: 600;
}


.product-page .product-price-lg,
.product-page .product-price-lg * {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 55px;
  letter-spacing: 0;
  line-height: 45px;
  color: var(--color-nature);
  margin-bottom: 2.5rem;
}
.selector-top {
  justify-content: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-secondary);
  margin-bottom: 0.3rem;
}

/* Botons variants (agrupació) */
.variant-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 3rem;
}

.variant-btn {
  min-width: 42px;
  min-height: 42px;
  padding: 4px 15px;
  border: none;
  border-radius: 5px;
  background: var(--color-nature-soft);
  color: var(--color-nature);
  font-size: 15px;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.variant-btn:not(.active):hover {
  background: rgba(165, 176, 155, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.variant-btn.active {
  background: var(--color-nature);
  color: #fff;
}

.variant-btn--icon {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
  padding: 10px 15px;
}

.variant-btn--icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.variant-btn--icon .img-b { display: none; }
.variant-btn--icon .img-v { display: block; }

.variant-btn--icon.active .img-v,
.variant-btn--icon:hover .img-v { display: none; }
.variant-btn--icon.active .img-b,
.variant-btn--icon:hover .img-b { display: block; }

.variant-btn--icon span {
  font-size: 13px;
}

/* =========================================
   Pàgines legals (.legal_prin / .legal_conten)
   ========================================= */

.legal_prin {
  padding: var(--section-space) 0;
}

.legal_conten {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal_conten h1,
.legal_conten h2,
.legal_conten h3,
.legal_conten h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.legal_conten h1 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin-top: 0; }
.legal_conten h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.legal_conten h3 { font-size: 1.125rem; }

.legal_conten p {
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal_conten ul,
.legal_conten ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal_conten a {
  color: var(--color-brand);
  text-decoration: underline;
}

.legal_conten a:hover {
  color: var(--color-brand-dark);
}

@media (max-width: 768px) {
  .legal_prin {
    padding: calc(var(--section-space) * 0.6) 0;
  }
  .legal_conten {
    padding: 0 1rem;
  }
}

.caixa-badge {
  position: absolute;
  bottom: -11px;
  right: -11px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-badge);
  color: #fff;
  font-size: 11px !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* Bloc de compra unificat */
.buy-block {
  display: flex;
  align-items: stretch;
  background: var(--color-nature);
  border-radius: 10px;
  color: #fff;
  position: relative;
  margin-top: 1rem;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

.buy-qty {
  position: relative;
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px 0 0 10px;
  user-select: none;
  font-size: 15px;
  font-weight: 600;
}

.buy-qty-icon {
  font-size: 9px;
  opacity: 0.7;
}

.buy-qty-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 200;
  min-width: 64px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.buy-qty-dropdown.open {
  display: block;
}

.buy-qty-option {
  padding: 8px 16px;
  cursor: pointer;
  color: var(--color-nature);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}

.buy-qty-option:hover,
.buy-qty-option.active {
  background: var(--color-nature-soft);
  color: var(--color-nature);
}

.buy-add-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
  transition: background 0.2s ease;
}

.buy-add-btn:hover {
  background: #000;
}

/* Breadcrumb fitxa — mateixa tipo que cat/home */
.product-page .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.9px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.product-page .breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-page .breadcrumbs a:hover {
  color: var(--color-brand);
}

.product-page .breadcrumbs span {
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

/* Títol producte — var(--font-display), 70px, negre */
.product-page .product-title-lg {
  font-family: var(--font-display);
  font-size: 70px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: normal;
  color: #000;
  margin-bottom: 1.5rem;
}

@media (max-width: 1199.98px) {
  .product-page .product-title-lg { font-size: 52px; }
  .product-page .product-price-lg,
  .product-page .product-price-lg * { font-size: 42px; line-height: 38px; }
  .product-page .product-col-left,
  .product-page .product-col-right { padding-top: 5rem; }
}

@media (max-width: 991.98px) {
  .product-page .product-title-lg { font-size: 40px; }
  .product-page .product-price-lg,
  .product-page .product-price-lg * { font-size: 34px; line-height: 32px; margin-bottom: 1.75rem; }
  .product-page .product-col-left,
  .product-page .product-col-right { padding-top: 3rem; }
}

@media (max-width: 840px) {
  .product-page .product-title-lg { font-size: 40px; }
}


@media (max-width: 840px) {

  .product-page .product-col-left,
  .product-page .product-col-image,
  .product-page .product-col-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important; 
  }

  .product-page .product-col-left  { order: 2 !important; }
  .product-page .product-col-image { order: 1 !important; }
  .product-page .product-col-right { order: 3 !important; }

  .owl-carousel .owl-item img { width: 50% !important; }
  .product-carousel .carousel-slide { display: flex !important; justify-content: center !important; }
  .product-page .product-col-left { padding-top: 0rem !important; }
  .product-page .product-col-right { padding-top: 0 !important; }

  /* Espai entre breadcrumb i títol */
  .product-page .breadcrumbs { margin-bottom: 0.5rem; }

  /* Títol productes relacionats més petit */
  .related-section .section-title { font-size: 30px; }
  .related-section .section-head { margin-bottom: 1.25rem; }
  .related-section.catalog-section { padding-top: 2.5rem; }
}

/* Caixa característiques principals (graduació, color, gust, aroma, varietat) */
.product-caracs-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(125, 128, 107, 0.1);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-caracs-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 40%;
  pointer-events: none;
  z-index: 0;
}

.product-caracs-bg img {
  height: 100%;
  width: auto;
  display: block;
  opacity: 0.5;
}

.product-carac-item {
  position: relative;
  z-index: 1;
}

.product-carac-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-carac-item--icon {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.product-carac-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-carac-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-carac-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-carac-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  line-height: 1;
}

.product-carac-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-brand-light);
  letter-spacing: 0.3px;
}

/* Caixa sense color ni logo (id_parent 664) */
.product-caracs-box--plain {
  background: #fff;
  border: none;
  border-radius: 0;
}

/* Descripció en format caixa (id_parent 664) */
.product-caracs-box--plain .product-description--box strong {
  display: block;
  background: transparent;
  padding: 0.9rem 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-radius: 0 !important;
  box-shadow: none;
}

.product-description.product-description--box {
  position: relative;
  z-index: 1;
  margin-left: 1.5rem;
  padding: 0 0 1rem;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.3px;
  line-height: 1.5;
}

/* Accordion fitxa producte */
.product-accordion {
  margin-bottom: 1.5rem;
}

.product-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid rgba(125, 128, 107, 0.25);
  background: transparent;
  border-radius: 0 !important;
}

.product-accordion .accordion-item:first-child {
  border-top: 1px solid rgba(125, 128, 107, 0.25);
}

.product-accordion .accordion-item:first-of-type,
.product-accordion .accordion-item:last-of-type,
.product-accordion .accordion-item:first-of-type .accordion-button,
.product-accordion .accordion-item:last-of-type .accordion-button {
  border-radius: 0 !important;
}

.product-accordion .accordion-button {
  background: transparent;
  padding: 0.9rem 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-radius: 0 !important;
  box-shadow: none;
}

.product-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--color-brand);
  box-shadow: none;
}

.product-accordion .accordion-button::after {
  filter: opacity(0.5);
}

.product-accordion .accordion-button:not(.collapsed)::after {
  filter: none;
}

.product-accordion .accordion-body {
  padding: 0 0 1rem;
  font-size: 14px;
  color: var(--color-dark);
}

/* Galeria carousel */
.product-page .product-col-image {
  padding-left: 0;
  padding-right: 0;
}

.product-gallery-wrap {
  position: relative;
}

.product-carousel .carousel-slide {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-carousel .carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}


.product-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-white) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text) !important;
  font-size: 14px;
  transition: background 0.2s ease;
}

.product-carousel .owl-nav button:hover {
  background: var(--color-soft) !important;
}

.product-carousel .owl-nav .owl-prev { left: -16px; }
.product-carousel .owl-nav .owl-next { right: -16px; }

.product-carousel .owl-dots {
  margin-top: 12px;
  text-align: center;
}

.product-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  background: var(--color-border) !important;
  border-radius: 50%;
  margin: 0 4px;
  display: block;
  transition: background 0.2s ease;
}

.product-carousel .owl-dot.active span {
  background: var(--color-text) !important;
}

/* Columna dreta — descripció */
.product-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.3px;
}

/* Bloc 2 — Imatge ambient full-width */
.product-ambient-block {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.product-ambient-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



/* LLETRA DE LA HOME */

#lletrao {
    position: relative;
    color: transparent;
    padding-left: 0.23em;
    /* padding-right: 0.05em; */
}

#lletrao::before {
    content: '';
    position: absolute;
    top: 58%;
    left: 4%;
    width: 0.73em;
    height: 0.49em;
    transform: translate(0, -50%);
    background-image: url(/files/public/img/LOGO.svg);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

#lletrao_w {
    position: relative;
    color: transparent;
    padding-left: 0.23em;
    /* padding-right: 0.05em; */
}

#lletrao_w::before {
    content: '';
    position: absolute;
    top: 58%;
    left: 4%;
    width: 0.73em;
    height: 0.49em;
    transform: translate(0, -50%);
    background-image: url(/files/public/img/LOGO-blanca.svg);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* Responsive fitxa */
@media (max-width: 991.98px) {
  .product-carousel .owl-nav .owl-prev { left: 4px; }
  .product-carousel .owl-nav .owl-next { right: 4px; }

   
}


/* INICI MEDIAS */

@media (max-width: 1700px) {
  .feature-cards {
    grid-template-columns: repeat(4, 1fr); 
  }
}

@media (max-width: 1440px) {
  
  /* Home */
  .feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
  }
  .hero-split__title {
    font-size: 120px; 
    margin-bottom: 8%;
  }

}

@media (max-width: 1300px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width:1024px) {
  
  /* Home */
  .hero-split__title {
    font-size: 100px;
    line-height: 106.55px;
  }

  .feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
   .feature-cards {
    grid-template-columns: repeat(4, 1fr); 
  }

  .hero-split__content {
    padding: 3rem 0 3rem; 
  }
}

@media (max-width:840px) {

  /* Home */
  .feature-cards {
    padding: 0% 8% 10% 8%; 
  }
}

@media (max-width:768px){
  /* Fitxa de producte */

  .col-sm-6 {
    flex: 0 0 auto !important;
    width: 50% !important;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Categoria — espaiat */
  .cat-hero {
    padding: 2.5rem 5% 3rem;
  }
  .cat-breadcrumb {
    margin-bottom: 0.75rem;
  }
  .catalog-section {
    padding: 1.5rem 0 3rem;
  }
}
 
@media (max-width: 575.98px) {
  /* Home */
  .hero-split__title {
    font-size: 80px;
    line-height: 72px;
  }
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 2.8px;
  }

  /* Categoria */
  .cat-title {
    font-size: 80px;
  }
  .cat-breadcrumb .breadcrumbs {
    font-size: 11px;
    letter-spacing: 2.8px;
  }
  .cat-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {

  /* Home */
    .hero-split__title {
      font-size: 65px;
      line-height: 58px;
    }
    .hero-kicker {
      font-size: 10px;
      letter-spacing: 2.2px;
    }

    /* Categoria */
    .cat-title {
      font-size: 65px;
    }
    .cat-breadcrumb .breadcrumbs {
      font-size: 10px;
      letter-spacing: 2.2px;
    }

    .feature-cards {
      grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   Taula nutricional (carac key=7)
   ========================================= */

.nutrition-wrap {
  width: 100%;
}

.nutrition-title {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  color: var(--color-text);
}

.nutrition-table tr {
  border-bottom: 1px solid var(--color-border);
}

.nutrition-table tr:last-child {
  border-bottom: none;
}

.nutrition-table td {
  padding: 4px 0;
  vertical-align: middle;
}

.nutrition-table .nutrition-label {
  text-align: left;
  color: var(--color-text);
}

.nutrition-table .nutrition-value {
  text-align: right;
  white-space: nowrap;
  color: var(--color-text);
}

.nutrition-table .nutrition-row--sub .nutrition-label {
  padding-left: 20px;
  color: var(--color-muted);
}

.nutrition-table .nutrition-row--sub .nutrition-value {
  color: var(--color-muted);
}