/*
* Template Name: UntreeStore
* Template Author: Untree.co
* Author URI: https://untree.co/
* License: https://creativecommons.org/licenses/by/3.0/
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --color-primary: #C49A45;
  /* Tu dorado elegante */
  --color-text-main: #2f2f2f;
  /* Gris muy oscuro para lectura */
  --color-text-muted: #6a6a6a;
  /* Gris medio para subtítulos */

  /* Paleta de Alternancia */
  --color-bg-white: #ffffff;
  --color-bg-cream: #FCF8E8;
  /* El color crema de tu template */
  --color-bg-dark: #2e0e09;
  /* Para contrastes fuertes (tu navbar) */

  --font-main: 'Inter', sans-serif;

  /* El ritmo espacial: La medida exacta para todos los "pasillos" */
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 80px;
  /* Padding generoso y estricto para toda sección */
}

body {
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 28px;
  color: #6a6a6a;
  font-size: 14px;
  background-color: #FCF8E8;
}

a {
  text-decoration: none;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #2f2f2f;
  text-decoration: underline;
}

a:hover {
  color: #2f2f2f;
  text-decoration: none;
}

a.more {
  font-weight: 600;
}

.custom-navbar {
  background: #2e0e09 !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

.custom-navbar .navbar-brand {
  font-size: 32px;
  font-weight: 600;
}

.custom-navbar .navbar-brand>span {
  opacity: .4;
}

.custom-navbar .navbar-toggler {
  border-color: transparent;
}

.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}

@media (min-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.custom-navbar .custom-navbar-nav li a {
  font-weight: 500;
  color: #ffffff !important;
  opacity: .5;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  position: relative;
}

@media (min-width: 768px) {
  .custom-navbar .custom-navbar-nav li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    background: #FFB300;
    height: 5px;
    opacity: 1;
    visibility: visible;
    width: 0;
    -webkit-transition: .15s all ease-out;
    -o-transition: .15s all ease-out;
    transition: .15s all ease-out;
  }
}

.custom-navbar .custom-navbar-nav li a:hover {
  opacity: 1;
}

.custom-navbar .custom-navbar-nav li a:hover:before {
  width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-nav li.active a {
  opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a:before {
  width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-cta {
  margin-left: 0 !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

@media (min-width: 768px) {
  .custom-navbar .custom-navbar-cta {
    margin-left: 40px !important;
  }
}

.custom-navbar .custom-navbar-cta li {
  margin-left: 0px;
  margin-right: 0px;
}

.custom-navbar .custom-navbar-cta li:first-child {
  margin-right: 20px;
}

.hero {
  background: #3b5d50;
  padding: calc(4rem - 30px) 0 0rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: calc(4rem - 30px) 0 4rem 0;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: calc(8rem - 30px) 0 8rem 0;
  }
}

.hero .intro-excerpt {
  position: relative;
  z-index: 4;
}

@media (min-width: 992px) {
  .hero .intro-excerpt {
    max-width: 450px;
  }
}

.hero h1 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}

@media (min-width: 1400px) {
  .hero h1 {
    font-size: 54px;
  }
}

.hero p {
  color: rgba(255, 255, 255, 0.5);
  margin-botom: 30px;
}

.hero .hero-img-wrap {
  position: relative;
}

.hero .hero-img-wrap img {
  position: relative;
  top: 0px;
  right: 0px;
  z-index: 2;
  max-width: 780px;
  left: -20px;
}

@media (min-width: 768px) {
  .hero .hero-img-wrap img {
    right: 0px;
    left: -100px;
  }
}

@media (min-width: 992px) {
  .hero .hero-img-wrap img {
    left: 0px;
    top: -80px;
    position: absolute;
    right: -50px;
  }
}

@media (min-width: 1200px) {
  .hero .hero-img-wrap img {
    left: 0px;
    top: -80px;
    right: -100px;
  }
}

.hero .hero-img-wrap:after {
  content: "";
  position: absolute;
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-light.svg");
  background-size: contain;
  background-repeat: no-repeat;
  right: -100px;
  top: -0px;
}

@media (min-width: 1200px) {
  .hero .hero-img-wrap:after {
    top: -40px;
  }
}

/* Estilos base unificados para todos los botones */
.btn {
  font-weight: 600;
  padding: 8px 24px;
  /* Padding vertical reducido de 12px a 8px para hacerlo más delgado. Menos ancho también.*/
  border-radius: 20px;
  /* Radio reducido de 30px a 20px para un aspecto más nítido y delicado */
  color: #ffffff;
  background: #2f2f2f;
  border-color: #2f2f2f;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  /* Ligeramente más pequeño para delicadeza */
}

.btn:hover {
  color: #ffffff;
  background: #222222;
  border-color: #222222;
  transform: translateY(-1px);
  /* Sutil efecto de hover */
}

.btn:active,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Variaciones de botones estándar */
.btn.btn-primary {
  background: #3b5d50;
  border-color: #3b5d50;
}

.btn.btn-primary:hover {
  background: #314d43;
  border-color: #314d43;
}

.btn.btn-secondary {
  color: #2b170f;
  /* Texto oscuro/negro para que coincida con la guía */
  background: #FFC107;
  /* Amarillo brillante de marca */
  border-color: #FFC107;
}

.btn.btn-secondary:hover {
  color: #2b170f;
  background-color: #ffca2c;
}

.btn.btn-white-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  /* Borde semitransparente elegante */
  color: #ffffff;
}

.btn.btn-white-outline:hover {
  background: #ffffff;
  /* Se rellena de blanco sólido */
  border-color: #ffffff;
  /* El borde se vuelve blanco sólido */
  color: #2b170f !important;
  /* Forzamos el texto al marrón oscuro de tu marca para contraste perfecto */
}

/* Botón de Favoritos Minimalista (basado en la guía visual) */
.btn-favorite-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  /* Ancho y alto fijos para que sea circular */
  height: 42px;
  background-color: transparent;
  border: 1px solid #e0dcd9;
  /* Borde circular fino y sutil */
  border-radius: 50%;
  color: #2b170f;
  /* Color del icono (corazón) */
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
  font-size: 1.2rem;
  /* Tamaño del icono */
}

.btn-favorite-minimal:hover {
  background-color: rgba(43, 23, 15, 0.05);
  /* Sutil fondo grisáceo en hover */
  border-color: #2b170f;
  /* Oscurecer el borde en hover */
  transform: scale(1.05);
  /* Ligero efecto de escala */
}

.btn-favorite-minimal:hover i {
  font-weight: 900;
  /* Esto convierte el 'far' (regular) en un ícono sólido en FontAwesome, rellenando el corazón */
  color: #1a0e09;
  /* Un marrón/negro más profundo para el icono */
  transition: transform 0.2s ease;
}

.section-title {
  font-family: var(--font-main);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: var(--space-lg);
}

.product-section {
  padding: 7rem 0;
}

.product-section .product-item {
  text-align: center;
  text-decoration: none;
  display: block;
  position: relative;
  padding-bottom: 50px;
  cursor: pointer;
}

.product-section .product-item .product-thumbnail {
  margin-bottom: 30px;
  position: relative;
  top: 0;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.product-section .product-item h3 {
  font-weight: 600;
  font-size: 16px;
}

.product-section .product-item strong {
  font-weight: 800 !important;
  font-size: 18px !important;
}

.product-section .product-item h3,
.product-section .product-item strong {
  color: #2f2f2f;
  text-decoration: none;
}

.product-section .product-item .icon-cross {
  position: absolute;
  width: 35px;
  height: 35px;
  display: inline-block;
  background: #2f2f2f;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: -17.5px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.product-section .product-item .icon-cross img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.product-section .product-item:before {
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  background: #dce5e4;
  height: 0%;
  z-index: -1;
  border-radius: 10px;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.product-section .product-item:hover .product-thumbnail {
  top: -25px;
}

.product-section .product-item:hover .icon-cross {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

.product-section .product-item:hover:before {
  height: 70%;
}

.why-choose-section {
  padding: 7rem 0;
}

.why-choose-section .img-wrap {
  position: relative;
}

.why-choose-section .img-wrap:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-yellow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}

.why-choose-section .img-wrap img {
  border-radius: 20px;
}

.feature {
  margin-bottom: 30px;
}

.feature .icon {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.feature .icon:before {
  content: "";
  width: 33px;
  height: 33px;
  position: absolute;
  background: rgba(59, 93, 80, 0.2);
  border-radius: 50%;
  right: -8px;
  bottom: 0;
}

.feature h3 {
  font-size: 14px;
  color: #2f2f2f;
}

.feature p {
  font-size: 14px;
  line-height: 22px;
  color: #6a6a6a;
}

.we-help-section {
  padding: 7rem 0;
}

.we-help-section .imgs-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[27];
  grid-template-columns: repeat(27, 1fr);
  position: relative;
}

.we-help-section .imgs-grid:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-green.svg");
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}

.we-help-section .imgs-grid .grid {
  position: relative;
}

.we-help-section .imgs-grid .grid img {
  border-radius: 20px;
  max-width: 100%;
}

.we-help-section .imgs-grid .grid.grid-1 {
  -ms-grid-column: 1;
  -ms-grid-column-span: 18;
  grid-column: 1 / span 18;
  -ms-grid-row: 1;
  -ms-grid-row-span: 27;
  grid-row: 1 / span 27;
}

.we-help-section .imgs-grid .grid.grid-2 {
  -ms-grid-column: 19;
  -ms-grid-column-span: 27;
  grid-column: 19 / span 27;
  -ms-grid-row: 1;
  -ms-grid-row-span: 5;
  grid-row: 1 / span 5;
  padding-left: 20px;
}

.we-help-section .imgs-grid .grid.grid-3 {
  -ms-grid-column: 14;
  -ms-grid-column-span: 16;
  grid-column: 14 / span 16;
  -ms-grid-row: 6;
  -ms-grid-row-span: 27;
  grid-row: 6 / span 27;
  padding-top: 20px;
}

.custom-list {
  width: 100%;
}

.custom-list li {
  display: inline-block;
  width: calc(50% - 20px);
  margin-bottom: 12px;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.custom-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #3b5d50;
  position: absolute;
  left: 0;
  top: 8px;
}

.popular-product {
  padding: 0 0 7rem 0;
}

.popular-product .product-item-sm h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
}

.popular-product .product-item-sm a {
  text-decoration: none;
  color: #2f2f2f;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.popular-product .product-item-sm a:hover {
  color: rgba(47, 47, 47, 0.5);
}

.popular-product .product-item-sm p {
  line-height: 1.4;
  margin-bottom: 10px;
  font-size: 14px;
}

.popular-product .product-item-sm .thumbnail {
  margin-right: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 120px;
  flex: 0 0 120px;
  position: relative;
}

.popular-product .product-item-sm .thumbnail:before {
  content: "";
  position: absolute;
  border-radius: 20px;
  background: #dce5e4;
  width: 98px;
  height: 98px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.testimonial-section {
  padding: 3rem 0 7rem 0;
}

.testimonial-slider-wrap {
  position: relative;
}

.testimonial-slider-wrap .tns-inner {
  padding-top: 30px;
}

.testimonial-slider-wrap .item .testimonial-block blockquote {
  font-size: 16px;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    line-height: 32px;
    font-size: 18px;
  }
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
  margin-bottom: 20px;
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
  max-width: 80px;
  border-radius: 50%;
}

.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0;
}

.testimonial-slider-wrap #testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 99;
  width: 100%;
  display: none;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap #testimonial-nav {
    display: block;
  }
}

.testimonial-slider-wrap #testimonial-nav>span {
  cursor: pointer;
  position: absolute;
  width: 58px;
  height: 58px;
  line-height: 58px;
  border-radius: 50%;
  background: rgba(59, 93, 80, 0.1);
  color: #2f2f2f;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.testimonial-slider-wrap #testimonial-nav>span:hover {
  background: #3b5d50;
  color: #ffffff;
}

.testimonial-slider-wrap #testimonial-nav .prev {
  left: -10px;
}

.testimonial-slider-wrap #testimonial-nav .next {
  right: 0;
}

.testimonial-slider-wrap .tns-nav {
  position: absolute;
  bottom: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.testimonial-slider-wrap .tns-nav button {
  background: none;
  border: none;
  display: inline-block;
  position: relative;
  width: 0 !important;
  height: 7px !important;
  margin: 2px;
}

.testimonial-slider-wrap .tns-nav button:active,
.testimonial-slider-wrap .tns-nav button:focus,
.testimonial-slider-wrap .tns-nav button:hover {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: none;
}

.testimonial-slider-wrap .tns-nav button:before {
  display: block;
  width: 7px;
  height: 7px;
  left: 0;
  top: 0;
  position: absolute;
  content: "";
  border-radius: 50%;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  background-color: #d6d6d6;
}

.testimonial-slider-wrap .tns-nav button:hover:before,
.testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
  background-color: #3b5d50;
}

.before-footer-section {
  padding: 7rem 0 12rem 0 !important;
}

.blog-section {
  padding: 7rem 0 12rem 0;
}

.blog-section .post-entry a {
  text-decoration: none;
}

.blog-section .post-entry .post-thumbnail {
  display: block;
  margin-bottom: 20px;
}

.blog-section .post-entry .post-thumbnail img {
  border-radius: 20px;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.blog-section .post-entry .post-content-entry {
  padding-left: 15px;
  padding-right: 15px;
}

.blog-section .post-entry .post-content-entry h3 {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 600;
  margin-bottom: 7px;
}

.blog-section .post-entry .post-content-entry .meta {
  font-size: 14px;
}

.blog-section .post-entry .post-content-entry .meta a {
  font-weight: 600;
}

.blog-section .post-entry:hover .post-thumbnail img,
.blog-section .post-entry:focus .post-thumbnail img {
  opacity: .7;
}

/* --- FOOTER STYLES (Estilo Natura Artis) --- */
.footer-section {
  background-color: #2b170f;
  /* Marrón oscuro */
  padding-top: 80px;
  padding-bottom: 20px;
}

/* Títulos de las columnas (COMPRAR, EMPRESA, BOLETÍN) */
.footer-title {
  color: #C49A45;
  /* Amarillo de marca */
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Textos generales y enlaces */
.footer-text,
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  /* Texto semitransparente elegante */
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: #ffffff;
  /* Brilla al pasar el mouse */
}

/* Redes Sociales minimalistas */
.footer-social a {
  color: #e0dcd9;
  /* Un tono arena/crema muy suave */
  font-size: 1.3rem;
  /* Un poquito más grandes para que destaquen */
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #f9bf29;
  /* Tu amarillo de marca */
  transform: translateY(-3px);
  /* Saltito suave hacia arriba */
}

.footer-section .footer-logo-wrap .footer-logo {
  font-size: 32px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}

/* Formulario del Boletín */
.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 100%;
  padding: 8px 30px 8px 0;
  outline: none;
  font-size: 0.9rem;
  border-radius: 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  border-bottom-color: #f9bf29;
}

.newsletter-btn {
  background: transparent;
  border: none;
  color: #C49A45;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.newsletter-btn:hover {
  transform: translateY(-50%) translateX(3px);
}

/* Barra inferior (Copyright y legales) */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 70px;
}

.footer-copyright,
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.untree_co-section {
  padding: 7rem 0;
}

.form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
}

.form-control:active,
.form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #3b5d50;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.form-control::-webkit-input-placeholder {
  font-size: 14px;
}

.form-control::-moz-placeholder {
  font-size: 14px;
}

.form-control:-ms-input-placeholder {
  font-size: 14px;
}

.form-control:-moz-placeholder {
  font-size: 14px;
}

.service {
  line-height: 1.5;
}

.service .service-icon {
  border-radius: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50px;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #3b5d50;
  margin-right: 20px;
  color: #ffffff;
}

textarea {
  height: auto !important;
}

.site-blocks-table {
  overflow: auto;
}

.site-blocks-table .product-thumbnail {
  width: 200px;
}

.site-blocks-table .btn {
  padding: 2px 10px;
}

.site-blocks-table thead th {
  padding: 30px;
  text-align: center;
  border-width: 0px !important;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.8);
  font-size: 18px;
}

.site-blocks-table td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.8);
}

.site-blocks-table tbody tr:first-child td {
  border-top: 1px solid #3b5d50 !important;
}

.site-blocks-table .btn {
  background: none !important;
  color: #000000;
  border: none;
  height: auto !important;
}

.site-block-order-table th {
  border-top: none !important;
  border-bottom-width: 1px !important;
}

.site-block-order-table td,
.site-block-order-table th {
  color: #000000;
}

.couponcode-wrap input {
  border-radius: 10px !important;
}

.text-primary {
  color: #3b5d50 !important;
}

.thankyou-icon {
  position: relative;
  color: #3b5d50;
}

.thankyou-icon:before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 93, 80, 0.2);
}

/* Animación para el fondo */
@keyframes slowZoomBackground {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }

  /* 10% de zoom es ideal para fondos */
}

/* Capa de la imagen de fondo */
.bg-zoom-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  /* Se queda hasta atrás */

  /* La animación de 15 segundos suave */
  animation: slowZoomBackground 15s ease-in-out infinite alternate;
  will-change: transform;
}

/* Capa oscura (Overlay) para mejorar la lectura del texto */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* 40% de oscuridad. Cámbialo si lo quieres más claro o más oscuro */
  z-index: 1;
  /* Encima del fondo, pero debajo del texto */
}

/* Aseguramos que el contenedor hero no deje escapar el zoom */
.hero {
  position: relative;
  overflow: hidden;
}

/* --- ESTILOS DEL CARRUSEL Y FONDOS --- */
/* --- ELIMINAR ESPACIOS VERDES DEL BANNER --- */
.hero.carousel {
  padding: 0 !important;
  /* Quita el relleno superior e inferior original */
  background: transparent !important;
  /* Quita el fondo verde original */
  height: calc(100vh - 75px);
  /* Ocupa toda la pantalla menos la barra de navegación */
  min-height: 500px;
  width: 100%;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.bg-zoom-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* La animación solo se ejecuta cuando el slide está activo */
.carousel-item.active .bg-zoom-effect {
  animation: slowZoomBackground 10s ease-in-out forwards;
}

@keyframes slowZoomBackground {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Oscurece el fondo un 50% */
  z-index: 1;
}

.hero-product-img {
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
  /* Sombra elegante a los productos */
}


/* --- BOTONES CIRCULARES LATERALES --- */
.custom-control {
  width: 8%;
  /* Reducimos un poco el área de clic para que no estorbe */
  z-index: 10;
}

.control-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  /* Más pequeño (antes 50px) */
  height: 38px;
  /* Más pequeño */
  background-color: rgba(255, 255, 255, 0.15);
  /* Fondo blanco casi transparente */
  color: rgba(255, 255, 255, 0.7);
  /* Flecha blanca tenue */
  font-size: 1rem;
  /* Icono más pequeño */
  border-radius: 50%;
  box-shadow: none;
  /* Le quitamos la sombra para que se fusione con el fondo */
  backdrop-filter: blur(4px);
  /* Le da un toque sutil de cristal */
  transition: all 0.3s ease;
}

/* Efecto al pasar el mouse por encima */
.custom-control:hover .control-circle {
  transform: scale(1.05);
  /* Un zoom mucho más delicado */
  background-color: rgba(255, 255, 255, 0.4);
  /* Se vuelve un poco más visible */
  color: #ffffff;
  /* La flecha se vuelve blanca sólida */
}


/* --- INDICADORES CON BARRA DE PROGRESO TIPO YAPE/STORIES --- */
.custom-progress-indicators {
  margin-bottom: 2rem;
  z-index: 10;
  gap: 10px;
  /* Espacio entre los puntitos */
}

/* Estado inactivo: Bolitas pequeñas y semitransparentes */
.custom-progress-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  /* Las hace circulares */
  background-color: rgba(255, 255, 255, 0.3) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0;
  position: relative;
  overflow: hidden;
  /* Mantiene el color de relleno dentro del borde */
  transition: width 0.4s ease, border-radius 0.4s ease;
}

/* Estado activo: Se estira a forma de pastilla */
.custom-progress-indicators button.active {
  width: 50px !important;
  /* El largo de la pastilla */
  border-radius: 10px !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
  /* Fondo de la pastilla */
}

/* La barra blanca de progreso interna optimizada para GPU */
.custom-progress-indicators button .progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* Ahora ocupa el 100% por defecto */
  background-color: #ffffff;
  border-radius: 10px;

  /* MAGIA FLUIDA: Le decimos que crezca desde el lado izquierdo */
  transform-origin: left center;
  transform: scaleX(0);
  /* Empieza en 0 (invisible) */
  will-change: transform;
  /* Le avisa a la tarjeta gráfica que va a animarse */
}

/* Animación: Solo se llena cuando el botón tiene la clase .active */
.custom-progress-indicators button.active .progress-fill {
  animation: fillProgressBar 5s linear forwards;
}

/* Keyframes optimizados usando scaleX en lugar de width */
@keyframes fillProgressBar {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

/* =========================================
   Buscador del Navbar (Herrera)
   ========================================= */
.navbar-search-form {
  width: 260px;
}

.search-icon {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #adb5bd;
  pointer-events: none;
  /* Evita que la lupa bloquee el clic en el input */
}

.search-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 38px;
  padding-right: 38px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: #adb5bd;
}

.search-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: none;
}

.search-clear-btn {
  top: 50%;
  right: 10px;
  line-height: 1.2;
  transform: translateY(-50%);
  color: #adb5bd;
  transition: color 0.2s ease;

  /* Reglas para la circunferencia perfecta */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.search-clear-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Unificamos alturas del botón y el input del buscador */
.btn-nav-category,
.search-input {
  height: 42px !important;
}

/* Estilos elegantes y sutiles para el botón */
.btn-nav-category {
  background-color: rgba(255, 255, 255, 0.08);
  /* Fondo translúcido sutil */
  color: #e9ecef;
  /* Texto gris claro, no blanco puro */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Que mantenga el estilo al pasar el mouse o al abrir el menú */
.btn-nav-category:hover,
.btn-nav-category[aria-expanded="true"] {
  background-color: rgba(255, 255, 255, 0.15);
  /* Brilla un poco al interactuar */
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Asegurar que el input del buscador también tenga ese fondo si aún no lo tiene */
.search-input {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.search-input:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

/* =========================================
   Efecto Hover Premium para el Menú
   ========================================= */
.category-hover-item {
  color: #adb5bd !important;
  /* Color gris sutil base */
  border-radius: 8px;
  /* Aquí está el borde redondeado del rectángulo */
  transition: all 0.25s ease-in-out;
  margin-bottom: 4px;
  /* Un pequeño respiro entre cada botón */
}

/* El estado Hover (al pasar el ratón) */
.category-hover-item:hover,
.category-hover-item:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  /* El sombreado rectangular translúcido */
  color: #FFC107 !important;
  /* Cambia a tu amarillo característico */
  transform: translateX(4px);
  /* Un levísimo movimiento a la derecha que se siente súper pro */
}

/* Excepción para que el botón de "Ver todo" mantenga su texto blanco inicialmente */
a.category-hover-item.text-white {
  color: #ffffff !important;
}

a.category-hover-item.text-white:hover {
  color: #FFC107 !important;
}

/* =========================================
   Estilos del Dropdown Mega Menú
   ========================================= */
/* Reemplazamos el gris nativo por un marrón café súper oscuro y cálido */
.custom-dropdown-brown {
  background-color: #2b170f !important;
  /* Ajusta este HEX para que iguale a tu Navbar */
  color: #fff;
}

/* Un pequeño efecto para que las imágenes de los productos hagan zoom al pasar el mouse */
.transition-scale {
  transition: transform 0.3s ease;
}

.card:hover .transition-scale {
  transform: scale(1.05);
}

/* Ajustes finos para los botones dentro del mega menú */
.custom-dropdown-brown .btn-warning {
  background-color: #FFC107;
  border-color: #FFC107;
}

.custom-dropdown-brown .btn-warning:hover {
  background-color: #ffca2c;
  transform: translateY(-2px);
  /* Se levanta al pasar el mouse */
  transition: all 0.2s ease;
}

.custom-dropdown-brown .btn-outline-warning:hover {
  color: #2b170f;
  /* El texto se vuelve marrón al hacer hover en el botón outline */
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* =========================================
   Botón Flotante de WhatsApp UI Premium
   ========================================= */
.floating-wsp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFC107;
  /* Tu amarillo brand */
  color: #2b170f;
  /* Tu marrón oscuro */
  border-radius: 50px;
  padding: 12px 24px 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Animación de rebote sutil */
}

.wsp-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  /* Adopta el color del texto automáticamente */
}

.wsp-text {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Efecto al pasar el mouse */
.floating-wsp:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.4);
  color: #2b170f;
  background-color: #ffca2c;
  /* Un amarillo ligeramente más brillante */
}

/* Responsive: En celulares lo hacemos un poquito más compacto */
@media (max-width: 768px) {
  .floating-wsp {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
  }

  .wsp-text {
    display: none;
    /* Opcional: Oculta el texto en móviles para que solo quede el círculo si prefieres ahorrar espacio */
  }

  .floating-wsp {
    border-radius: 50%;
    padding: 14px;
  }

  .wsp-icon {
    width: 32px;
    height: 32px;
  }
}

/* =========================================
   Componente: Slider de Productos (Tiny Slider)
   ========================================= */

/* Estilo de la tarjeta UI - Minimalista */
.product-card-ui {
  background: #ffffff;
  border: none;
  border-radius: 16px !important;
  /* Mismo radio que testimonios */
  box-shadow: 0 15px 40px rgba(43, 23, 15, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-ui:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(43, 23, 15, 0.08);
}


/* Ajustes internos para que la imagen respete el borde redondeado arriba */
.product-card-ui .bg-white.overflow-hidden {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Botón Favorito - Círculo Perfecto */
.btn-favorite {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  border: none;
  color: #2b170f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.btn-favorite:hover {
  background-color: #2b170f;
  color: #ffc107;
}

/* Flechas de Navegación Customizadas */
.btn-slider-nav {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: white;
  color: #2b170f;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.btn-slider-nav:hover {
  background-color: #2b170f;
  color: #ffc107;
  border-color: #2b170f;
}

/* Controles de cantidad recuadrados */
.btn-qty-rect {
  border-color: #ced4da;
  color: #2b170f;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.btn-qty-rect:hover {
  background-color: #e2dcd9;
  color: #2b170f;
}

/* Botón de Agregar al Carrito (Alto Contraste) */
.btn-add-cart {
  background-color: #2b170f;
  color: #ffffff;
  /* Texto blanco para asegurar legibilidad */
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background-color: #4a2c1e;
  /* Marrón ligeramente más claro */
  color: #ffc107;
  /* Texto amarillo al pasar el cursor */
}

/* =========================================
   Estilo de los "Dots" (Círculos inferiores)
   ========================================= */
.tns-nav {
  text-align: center;
  margin-top: 15px;
}

.tns-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1c9c6;
  border: none;
  margin: 0 6px;
  padding: 0;
  transition: background-color 0.3s ease;
}

.tns-nav button.tns-nav-active {
  background-color: #2b170f;
}

/* =========================================
   Control de texto (2 líneas y ellipsis)
   ========================================= */
.product-title-lines {
  font-weight: 600;
  line-height: 1.4;
  height: 2.8em;
  /* Alto fijo para 2 líneas */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =========================================
   Botón Favorito (Alineado con "Agregar")
   ========================================= */
.btn-favorite-inline {
  width: 42px;
  /* Misma altura que tu botón de agregar / qty selector */
  height: 42px;
  border-radius: 50%;
  /* Mantenemos tu idea circular */
  background-color: #fcfcfc;
  border: 1px solid #e0dcd9;
  color: #2b170f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-favorite-inline:hover {
  background-color: #2b170f;
  color: #ffc107;
  border-color: #2b170f;
}

/* =========================================
   Botón Favorito Minimalista (Sin borde)
   ========================================= */
.btn-favorite-minimal {
  width: 42px;
  /* Misma altura matemática que el botón Agregar */
  height: 42px;
  background-color: transparent;
  border: none;
  color: #2b170f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  /* Un poco más grande para compensar la falta de borde */
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
}

/* Al pasar el mouse: el corazón se rellena (FontAwesome solid trick) y cambia ligeramente de color */
.btn-favorite-minimal:hover i {
  font-weight: 900;
  /* Esto convierte el 'far' (regular) en un ícono sólido en FontAwesome */
  color: #1a0e09;
  /* Un marrón/negro más profundo */
  transform: scale(1.1);
  /* Un ligerísimo zoom para dar feedback táctil visual */
  transition: transform 0.2s ease;
}

/* --- SECCIÓN CATEGORÍAS (Estilo Boutique) --- */
.categories-section {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

.section-subtitle {
  color: #f9bf29;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  color: #2b170f;
  font-family: serif;
  /* Mantiene el toque elegante */
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* Tarjetas rectangulares verticales */
.category-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  /* Hace que sean más altas que anchas */
  text-decoration: none;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  /* Transición súper suave */
}

/* Zoom elegante al pasar el mouse */
.category-card:hover .category-img {
  transform: scale(1.08);
}

/* Sombra inferior para que el texto sea legible */
.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(43, 23, 15, 0.9), transparent);
  padding: 40px 20px 20px;
  text-align: center;
}

.category-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 1px;
}

/* --- FRANJA DE BENEFICIOS (Trust Banner) --- */
.trust-banner {
  padding: var(--space-lg) 0;
  background-color: var(--color-bg-cream);
}

.trust-item {
  text-align: center;
  color: #2b170f;
  /* Texto e íconos en tu marrón oscuro */
  padding: 0 15px;
}

.trust-icon {
  font-size: 2.2rem !important;
  /* Tamaño del ícono */
  margin-bottom: 12px;
  color: var(--color-primary);
  /* Tu marrón oscuro */
  /* Esta es la magia de Google para que el ícono sea sólido en lugar de solo el borde */
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.trust-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  /* Un poco más claro para no competir con el título */
  margin: 0;
}

/* Separadores entre los beneficios (solo visibles en pantallas grandes) */
@media (min-width: 992px) {
  .trust-item {
    border-right: 1px solid rgba(43, 23, 15, 0.15);
  }

  .trust-item:last-child {
    border-right: none;
  }
}

/* --- SECCIÓN TESTIMONIOS (Estilo Premium) --- */
.testimonials-section {
  padding: var(--space-xl) 0;
  background-color: #F8F5F0;
  /* Fondo crema avena para que resalten las tarjetas blancas */
}

.testimonial-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(43, 23, 15, 0.04);
  height: 100%;
  display: flex;
  /* <-- Activamos flexbox */
  flex-direction: column;
  /* <-- Apilamos de arriba hacia abajo */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(43, 23, 15, 0.08);
}

/* El texto ahora empujará el contenido sobrante hacia abajo */
.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(43, 23, 15, 0.75);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  flex-grow: 1;
  /* <-- ESTA ES LA MAGIA: Ocupa todo el espacio vacío */
}

/* Estrellas Doradas */
.testimonial-stars {
  color: #f9bf29;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.testimonial-stars span {
  font-size: 1.2rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  /* Usa las estrellas sólidas de Google */
}

/* Texto del comentario */
.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(43, 23, 15, 0.75);
  /* Marrón oscuro suavizado */
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

/* Perfil del Autor */
/* Aseguramos que el perfil siempre se quede anclado abajo */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(43, 23, 15, 0.08);
  padding-top: 20px;
  margin-top: auto;
  /* <-- Margen automático para pegarse al fondo */
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F8F5F0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: #2b170f;
  margin: 0 0 3px 0;
}

.author-role {
  font-size: 0.75rem;
  color: #f9bf29;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0;
}

/* --- SECCIÓN SUSCRIPCIÓN PREMIUM --- */
.subscription-section {
  padding: var(--space-xl) 0;
  background-color: #F8F5F0;
  /* Fondo crema para que la tarjeta blanca resalte */
}

.product-slider-section {
  padding: var(--space-xl) 0;
  background-color: #F8F5F0;
  /* Fondo crema para que la tarjeta blanca resalte */
}

.subscription-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(43, 23, 15, 0.06);
  overflow: hidden;
  /* Hace que la imagen respete los bordes redondeados */
}

/* Etiqueta superior (Badge) */
.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(196, 154, 69, 0.1);
  color: #C49A45;
  /* Dorado Premium */
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sub-badge .material-symbols-outlined {
  font-size: 1.1rem;
}

/* Textos de la tarjeta */
.sub-title {
  color: #2b170f;
  font-family: serif;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.sub-desc {
  color: rgba(43, 23, 15, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Lista de beneficios */
.sub-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.sub-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #2b170f;
  font-size: 1rem;
}

.sub-benefits li .material-symbols-outlined {
  color: #2E7D32;
  /* Verde orgánico para el check */
  font-variation-settings: 'FILL' 1;
}

/* Botón Dorado Premium */
.btn-premium-gold {
  background-color: #C49A45;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-premium-gold:hover {
  background-color: #A88136;
  /* Un dorado un poco más oscuro al pasar el mouse */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 154, 69, 0.3);
}

/* --- IMAGEN Y TARJETA FLOTANTE --- */
.sub-image-wrapper {
  height: 100%;
  min-height: 450px;
  position: relative;
}

.sub-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Asegura que la foto quede bien centrada */
}

/* Tarjeta oscura flotante */
.floating-delivery-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: #1A1311;
  /* Marrón casi negro */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  width: 280px;
}

.truck-icon-wrapper {
  background-color: #C49A45;
  color: #2b170f;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.delivery-date {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Barra de progreso visual */
.delivery-progress-bg {
  background-color: rgba(255, 255, 255, 0.15);
  height: 6px;
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

.delivery-progress-fill {
  background-color: #4CAF50;
  /* Verde brillante para indicar que está activo */
  height: 100%;
  width: 75%;
  /* Simula que el pedido ya avanzó */
  border-radius: 10px;
}

.delivery-status {
  display: block;
  text-align: right;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  margin-top: 6px;
}

/* Ajustes para celulares */
@media (max-width: 991px) {
  .floating-delivery-card {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    /* Centra la tarjetita en móviles */
    width: 90%;
  }
}

.option-card {
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
}

.option-card:hover {
  border-color: #C49A45 !important;
  background-color: #fffdf9;
  transform: translateY(-5px);
}

.cursor-pointer {
  cursor: pointer;
}

/* Animación de entrada */
.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-banner-wrapper {
  position: relative;
  height: 220px;
  /* Altura reducida como pediste */
  border-radius: 24px;
  overflow: hidden;
  /* Imagen de fondo: Reemplaza con una tuya de café o granos */
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.2) 100%),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-banner-wrapper:hover {
  transform: scale(1.01);
}

.match-banner-wrapper .content-side {
  z-index: 2;
}

.match-banner-wrapper h2 {
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.highlight-box {
  border: 2px solid #C49A45;
  padding: 2px 10px;
  border-radius: 50px;
  color: #C49A45;
}

.btn-match-cta {
  display: inline-flex;
  align-items: center;
  background-color: #C49A45;
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(196, 154, 69, 0.3);
  transition: all 0.3s ease;
}

.match-banner-wrapper:hover .btn-match-cta {
  background-color: #e2b04d;
  box-shadow: 0 6px 20px rgba(196, 154, 69, 0.5);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .match-banner-wrapper {
    height: auto;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%),
      url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?q=80&w=2070&auto=format&fit=crop');
  }

  .match-banner-wrapper h2 {
    font-size: 1.5rem;
  }
}

/* --- COMPORTAMIENTO MÓVIL (Menos de 768px) --- */
@media (max-width: 767px) {
  .testimonials-slider {
    flex-wrap: nowrap;
    /* Evita que caigan uno debajo del otro */
    overflow-x: auto;
    /* Habilita el scroll horizontal */
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* Fuerza a que se detenga exactamente en cada tarjeta */
    scroll-behavior: smooth;
    padding-bottom: 10px;
    /* Espacio para que no se corte la sombra si la tiene */

    /* Oculta la barra de scroll para un look más limpio */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .testimonials-slider::-webkit-scrollbar {
    display: none;
  }

  .testimonials-slider .card-item {
    scroll-snap-align: center;
    /* Centra la tarjeta al hacer swipe */
    min-width: 100%;
    /* Cada tarjeta ocupa el 100% de la pantalla */
  }
}

/* --- ESTILOS DE LOS BOTONES CIRCULARES --- */
.custom-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  /* Separación entre puntitos */
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  /* Color gris claro inactivo */
  border: none;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.indicator-dot.active {
  background-color: #333333;
  /* Color oscuro activo (cámbialo al color de tu marca) */
  transform: scale(1.2);
  /* Efecto sutil de crecimiento */
}

/* =========================================
   6. VISTA DE PRODUCTO (Detalle)
   ========================================= */

/* --- Galería de imágenes --- */
.product-gallery-main {
  height: 550px;
  width: 100%;
  object-fit: cover;
  /* Evita que la imagen se deforme */
  border-radius: 12px;
  background-color: #fff;
  transition: opacity 0.3s ease;
}

.product-thumbnails {
  /* Oculta la barra de scroll en las miniaturas */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumb-img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.thumb-img:hover,
.thumb-img.active {
  border-color: var(--color-primary);
  opacity: 1;
  /* Activas al 100% */
}

/* Ocultar scrollbar pero permitir desplazamiento si hay muchas fotos */
.custom-scrollbar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.custom-scrollbar {
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .product-gallery-main {
    height: 350px;
    /* Un poco más pequeña en móviles para mejor UX */
  }

  .product-thumbnails {
    max-width: 100% !important;
    max-height: none !important;
  }
}

/* --- Tarjetas de productos relacionados --- */
.related-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-bg-white);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* --- Acciones de compra unificadas (El botón del slider) --- */
.btn-primary-custom {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border: none;
  padding: var(--space-md, 16px);
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--color-text-main);
  /* Efecto oscuro elegante */
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

/* Efecto hover para el botón de favoritos (ícono de corazón) */
.btn-outline-secondary {
  transition: border-color 0.3s ease;
}

.btn-outline-secondary:hover {
  border-color: var(--color-primary) !important;
}

.btn-outline-secondary:hover .material-symbols-outlined {
  color: var(--color-primary) !important;
}

/* =========================================
   SELECTOR DE CANTIDAD HERRERA (UNIFICADO)
   ========================================= */

/* Estructura base */
.herrera-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #f9bf29;
  border-radius: 50px;
  /* Forma de píldora elegante */
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.herrera-qty:focus-within {
  border-color: #C49A45;
  /* Tu color principal */
}

/* Modificador: Para el detalle de producto (Fijo y más alto) */
.herrera-qty.qty-detail {
  width: 120px;
  height: 46px;
}

/* Modificador: Para el slider (Ancho completo y más bajo) */
.herrera-qty.qty-slider {
  width: 100%;
  height: 38px;
}

/* Botones de + y - */
.herrera-qty .qty-btn {
  background: transparent;
  border: none;
  color: #2b170f;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.herrera-qty .qty-btn:hover {
  background-color: rgba(196, 154, 69, 0.1);
  color: #C49A45;
}

/* El input numérico */
.herrera-qty .qty-input {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #2b170f;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
  /* Oculta flechas en Firefox */
}

/* Oculta las flechas nativas en Chrome/Safari/Edge */
.herrera-qty .qty-input::-webkit-outer-spin-button,
.herrera-qty .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Estado bloqueado/deshabilitado para los botones de cantidad */
.herrera-qty .qty-btn:disabled {
  color: #d3d3d3;
  /* Gris claro */
  cursor: not-allowed;
  background-color: transparent;
}

/* Evitar el hover color cuando está bloqueado */
.herrera-qty .qty-btn:disabled:hover {
  background-color: transparent;
  color: #d3d3d3;
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3) translateY(-3px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

.animating-cart {
  animation: cartBounce 0.4s ease-in-out;
}

/* Color verde sutil para el feedback local */
.border-success-custom {
  border-color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.05) !important;
  transition: all 0.3s ease;
}

/* Contenedor principal de envíos */
.delivery-card-container {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.delivery-item {
  transition: background 0.3s ease;
}

.delivery-item:hover {
  background-color: rgba(196, 154, 69, 0.03);
  /* Un toque de tu dorado muy suave */
}

.icon-gold {
  color: var(--color-primary);
  font-size: 1.6rem !important;
}

.text-main {
  color: var(--color-text-main);
}

/* El botón de consulta tipo link */
.btn-consultar {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.btn-consultar:hover {
  color: var(--color-text-main);
}

/* Estilos para la lista de provincias en el modal */
.pointer {
  cursor: pointer;
}

.province-item {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: #fdfdfd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.province-item:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg-cream);
  transform: translateX(5px);
}

.bg-success-light {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

#districtSearch:focus {
  border-color: var(--color-primary);
  box-shadow: none;
  background: #fff;
}

/* =========================================
   7. SECCIÓN DE ESPECIFICACIONES E HISTORIA
   ========================================= */

/* Caja contenedora de la historia con imagen de fondo */
.product-story-box {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Degradado lateral marrón cálido (color grano de café tostado/chocolate) solicitado por Senior UI */
.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Degradado marrón oscuro (ejemplo rico marrón intenso) */
  background: linear-gradient(to right, rgba(45, 27, 20, 0.95) 0%, rgba(45, 27, 20, 0.6) 50%, rgba(45, 27, 20, 0.0) 100%);
  transition: background 0.3s ease;
}

/* Efecto hover suave */
.product-story-box:hover .story-overlay {
  background: linear-gradient(to right, rgba(45, 27, 20, 0.98) 0%, rgba(45, 27, 20, 0.7) 50%, rgba(45, 27, 20, 0.1) 100%);
}

/* Estilo editorial reducido para la cita final */
.story-quote {
  max-width: 90%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Sombra suave para legibilidad del texto blanco */
}

/* Ajustes Mobile */
@media (max-width: 991px) {
  .product-story-box {
    min-height: 350px;
  }

  .story-overlay {
    background: linear-gradient(to bottom, rgba(45, 27, 20, 0.8) 0%, rgba(45, 27, 20, 0.95) 100%);
    padding: 2rem !important;
  }

  .story-overlay .col-md-9 {
    max-width: 100%;
  }

  .story-quote {
    font-size: 1rem !important;
    max-width: 100%;
  }
}

/* --- ESTILOS PARA EL ENLACE "LEER MÁS" --- */
.story-read-more {
  color: #f9bf29 !important;
  /* El color amarillo que pediste */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre el texto y la flecha */
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.story-read-more i {
  transition: transform 0.2s ease;
  /* Preparamos la flecha para la animación */
}

.story-read-more:hover {
  color: #ffd15c !important;
  /* Un amarillo ligeramente más brillante al pasar el mouse (opcional) */
}

/* Aquí está la magia: al pasar el mouse sobre el enlace, movemos solo la flecha */
.story-read-more:hover i {
  transform: translateX(4px);
}

/* =========================================
   PÁGINAS LEGALES (Términos, Privacidad)
   ========================================= */

.legal-content {
    line-height: 1.8;
    color: #4a4a4a; /* Gris oscuro para no cansar la vista */
    font-size: 1rem;
}

.legal-content h3 {
    border-bottom: 2px solid var(--color-bg-cream);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Menú de navegación lateral */
.legal-nav .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.legal-nav .nav-link:hover {
    background-color: #fff;
    color: var(--color-text-main);
}

.legal-nav .nav-link.active {
    background-color: var(--color-bg-dark); /* Fondo oscuro Herrera */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}