:root {
  --forest: #173b2b;
  --forest-2: #24543e;
  --sage: #78927d;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --dark: #3f3a3a;
  --earth: #8b684c;
  --ink: #18221d;
  --muted: #6d776f;
  --line: #e5e1d7;
  --gold: #b68a4c;
  --shadow: 0 24px 60px rgba(23, 59, 43, 0.1);
  --radius: 24px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.announcement {
  background: var(--forest);
  color: #eaf1eb;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px;
}
.header {
  height: 82px;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 225, 215, 0.7);
}
.nav {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand > img {
  /* En lugar de 'height: 70px', usamos un máximo */
  max-height: 40px; /* Ajusta este número (40px, 45px, 50px) hasta que te guste el tamaño */
  width: auto; /* Mantiene la proporción de la imagen */
  display: block; /* Ayuda con el alineamiento vertical */
}

.brand strong {
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-size: 17px;
}
/* --- NAVEGACIÓN Y REDES SOCIALES --- */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #173b2b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-luxury, #d4af37);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold-luxury, #d4af37);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 80%;
}

/* CONTENEDOR DE REDES SOCIALES */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 10px;
  padding-left: 20px;
  border-left: 1px solid rgba(212, 175, 55, 0.25); /* Separador dorado elegante */
}

.nav-socials a {
  font-size: 16px;
  color: #173b2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.nav-socials a::after {
  display: none; /* Desactiva la línea subrayada en los íconos */
}

.nav-socials a:hover {
  color: #0d1b13;
  border-color: var(--gold-luxury, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.cart-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--forest);
  font-weight: 700;
  font-size: 13px;
}
.cart-button b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 11px;
}
.menu-toggle {
  display: none;
  background: none;
  width: 40px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--forest);
  margin: 5px;
  border-radius: 3px;
}
.hero {
  position: relative;
  background: #f0d48b;
  min-height: 650px;
  overflow: hidden;
  padding: 82px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sage);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 13px;
}
.hero h1,
.section h2,
.section-heading h2,
.story-copy h2,
.about-copy h2,
.contact-copy h2,
.checkout-card h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  max-width: 680px;
  color: var(--forest);
}
em {
  font-style: normal;
  color: var(--earth);
}
.hero-copy > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 570px;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border-radius: 14px;
  padding: 14px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 13px;
  transition: 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 12px 25px rgba(23, 59, 43, 0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 16px 30px rgba(23, 59, 43, 0.22);
}
.btn-ghost {
  border: 1px solid #d5d0c3;
  background: rgba(255, 255, 255, 0.5);
  color: var(--forest);
}
.btn-ghost:hover {
  background: #fff;
}
.hero-trust {
  display: flex;
  gap: 20px;
  margin-top: 27px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #667168;
}
.hero-trust span {
  color: var(--forest);
  font-weight: 900;
  margin-right: 5px;
}
.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  transform: translateX(50px);
}
.hero-image-card {
  width: min(600px, 90%);
  height: 450px;
  border-radius: 42% 42% 24px 24px;
  overflow: visible;
  position: relative;
  transform: translateX(50px) rotate(0deg);
}
.hero-image-card:before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid #c8cbbd;
  border-radius: 45% 45% 30px 30px;
  z-index: 0;
}
.hero-image-card img {
  height: 100%;
  border-radius: 42% 42% 24px 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.hero-orbit {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px dashed #bfc9bc;
  border-radius: 50%;
  right: 20px;
  top: 20px;
}
.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(30, 50, 40, 0.13);
  border-radius: 17px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: rotate(0deg);
}
.floating-card-top {
  top: 48px;
  left: -35px;
}
.floating-card-bottom {
  right: -28px;
  bottom: 52px;
  gap: 13px;
  color: var(--forest);
  font-size: 12px;
}
.floating-card-bottom span {
  padding-left: 13px;
  border-left: 1px solid var(--line);
}
.mini-icon {
  font-size: 25px;
}
.floating-card strong,
.floating-card small {
  display: block;
}
.floating-card small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: -5%;
  width: 110%;
  height: 90px;
  background: var(--paper);
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}
.benefits {
  margin-top: -1px;
  background: var(--paper);
  padding: 5px 0 50px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  transition: 0.25s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.benefit-card > span {
  font-size: 24px;
}
.benefit-card h3 {
  font-size: 13px;
  margin-bottom: 3px;
}
.benefit-card p {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding: 110px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 43px;
}
.section-heading h2 {
  font-size: 48px;
  color: var(--forest);
}
.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
}
.centered {
  display: block;
  text-align: center;
}
.centered p {
  margin: 12px auto 0;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.category-tabs {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow: auto;
  padding-bottom: 3px;
}
.category-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 15px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s;
}
.category-tabs button:hover,
.category-tabs button.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.search-box {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #fff;
  width: 220px;
}
.search-box span {
  font-size: 22px;
  color: var(--muted);
}
.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font-size: 12px;
}
.shop-toolbar select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 0 13px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  outline: 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-image {
  height: 350px;
  position: relative;
  overflow: hidden;
  background: #eee;
}
.product-image img {
  height: 100%;
  transition: 0.5s;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #fff;
  color: var(--forest);
  padding: 6px 9px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 800;
  z-index: 2;
}
.product-info {
  padding: 17px;
}
.product-category {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 800;
}
.product-info h3 {
  font-size: 17px;
  margin: 5px 0;
}
.product-description {
  font-size: 11px;
  color: var(--muted);
  min-height: 35px;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.price {
  font-weight: 800;
  color: var(--forest);
  font-size: 17px;
}
.unit {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.add-btn {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--forest);
  font-size: 20px;
  transition: 0.2s;
}
.add-btn:hover {
  background: var(--forest);
  color: #fff;
}
.details-btn {
  background: none;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  margin-top: 8px;
}
.empty-state {
  text-align: center;
  padding: 60px;
}
.empty-state span {
  font-size: 40px;
}
.empty-state h3 {
  margin: 8px 0;
}
.empty-state p {
  color: var(--muted);
}
.story-banner {
  background: var(--forest);
  color: white;
  padding: 90px 0;
}
.story-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.story-photo {
  height: 450px;
  border-radius: 70% 50px 60% 50px;
  overflow: hidden;
}
.story-photo img {
  height: 100%;
  object-fit: contain;
}
.story-copy .eyebrow {
  color: #9eb7a4;
}
.story-copy h2 {
  font-size: 50px;
}
.story-copy p {
  color: #c7d4cb;
  margin: 22px 0;
  max-width: 510px;
}
.text-link {
  font-size: 12px;
  color: var(--forest);
  font-weight: 800;
  background: none;
}
.story-copy .text-link {
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-copy h2 {
  font-size: 48px;
  color: var(--forest);
}
.about-copy > p {
  color: var(--muted);
  font-size: 14px;
  margin: 22px 0 28px;
  max-width: 540px;
}
.about-points {
  display: grid;
  gap: 18px;
}
.about-points > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
}
.about-points span {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e6efe8;
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.about-points strong {
  font-size: 13px;
}
.about-points small {
  color: var(--muted);
  font-size: 11px;
}
.about-visual {
  position: relative;
}
.about-image {
  height: 550px;
  border-radius: 30px 30px 30px 120px;
  overflow: hidden;
}
.about-image img {
  height: 100%;
}
.experience-badge {
  position: absolute;
  left: -35px;
  bottom: 35px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  width: 125px;
  height: 125px;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transform: rotate(-8deg);
}
.experience-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 20px;
}
.experience-badge span {
  font-size: 9px;
}
.recipes {
  background: var(--cream);
}
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.recipe-card {
  background: #fff;
  border-radius: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.3s;
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.recipe-image {
  height: 235px;
  position: relative;
}
.recipe-image img {
  height: 100%;
}
.recipe-image span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
}
.recipe-content {
  padding: 20px;
}
.recipe-content small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--sage);
  font-weight: 800;
}
.recipe-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--forest);
  margin: 5px 0;
}
.recipe-content p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 13px;
}
.testimonials {
  padding: 95px 0;
  background: #fff;
}
.testimonial-wrap {
  max-width: 800px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--forest);
  flex: none;
}
.testimonial {
  text-align: center;
}
.stars {
  color: var(--gold);
  letter-spacing: 3px;
}
.testimonial blockquote {
  font-family: "Playfair Display", serif;
  font-size: 27px;
  line-height: 1.35;
  color: var(--forest);
  margin: 15px 0;
}
.testimonial-author {
  font-size: 11px;
  color: var(--muted);
}
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-copy h2 {
  font-size: 49px;
  color: var(--forest);
}
.contact-copy > p {
  color: var(--muted);
  font-size: 14px;
  margin: 20px 0 30px;
  max-width: 500px;
}
.contact-details {
  display: grid;
  gap: 16px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-details > div > span {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
}
.contact-details small {
  display: block;
  color: var(--sage);
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.contact-details strong {
  font-size: 13px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(23, 59, 43, 0.06);
  display: grid;
  gap: 15px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.contact-form label,
.checkout-card label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #47534b;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.checkout-card input,
.checkout-card select,
.checkout-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  resize: vertical;
  transition: 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.checkout-card input:focus,
.checkout-card select:focus,
.checkout-card textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(120, 146, 125, 0.12);
}
.btn-full {
  width: 100%;
}
.form-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 18, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 80;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  z-index: 90;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(440px, 100%);
  background: #fff;
  transform: translateX(100%);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  padding: 27px;
}
.cart-drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.drawer-head h2 {
  font-family: "Playfair Display", serif;
  color: var(--forest);
  font-size: 32px;
}
.close-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  font-size: 24px;
  line-height: 1;
}
.cart-items {
  overflow: auto;
  flex: 1;
  margin: 20px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
}
.cart-item h4 {
  font-size: 13px;
}
.cart-item small {
  font-size: 10px;
  color: var(--muted);
}
.cart-item-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}
.qty-control button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}
.qty-control span {
  font-size: 11px;
}
.remove-item {
  background: none;
  color: #a67c67;
  font-size: 10px;
}
.cart-empty {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
}
.cart-empty span {
  font-size: 44px;
}
.cart-empty h3 {
  font-family: "Playfair Display", serif;
  color: var(--forest);
  font-size: 25px;
}
.cart-empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 20px;
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.cart-total strong {
  font-size: 15px;
  color: var(--forest);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 25, 18, 0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: #fff;
  border-radius: 27px;
  max-width: 900px;
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  position: relative;
  padding: 30px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}
.product-detail-image {
  height: 450px;
  border-radius: 22px;
  overflow: hidden;
}
.product-detail-image img {
  height: 100%;
}
.product-detail h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--forest);
  line-height: 1.05;
}
.detail-description {
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0;
}
.detail-price {
  font-size: 25px;
  font-weight: 800;
  color: var(--forest);
  margin: 20px 0;
}
.detail-meta {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: var(--cream);
  border-radius: 15px;
  font-size: 11px;
}
.detail-actions {
  display: flex;
  gap: 10px;
}
.small-modal {
  max-width: 550px;
}
.small-modal h2 {
  font-family: "Playfair Display", serif;
  color: var(--forest);
  font-size: 34px;
  margin: 8px 0;
}
.small-modal p {
  font-size: 13px;
  color: var(--muted);
}
.small-modal ul {
  margin: 15px 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.checkout-card {
  max-width: 650px;
}
.checkout-card h2 {
  font-size: 38px;
  color: var(--forest);
}
.checkout-card > p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 20px;
}
.checkout-card form {
  display: grid;
  gap: 14px;
}
.checkout-summary {
  background: var(--cream);
  border-radius: 15px;
  padding: 14px;
  font-size: 11px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.summary-total {
  border-top: 1px solid #ddd6c8;
  margin-top: 7px;
  padding-top: 9px;
  font-weight: 800;
  font-size: 14px;
  color: var(--forest);
}
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: #25d366; /* Verde oficial de WhatsApp */
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 18px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  background: #1eb957;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.floating-whatsapp span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 20px;
}

.floating-whatsapp small {
  font-size: 13px;
  letter-spacing: 0.02em;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  background: var(--forest);
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1050px) {
  .nav-links {
    gap: 17px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-image-card {
    height: 470px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    width: min(100% - 28px, 600px);
  }
  .header {
    height: 70px;
  }
  .menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    background: #fff;
    padding: 12px;
    display: grid;
    gap: 4px;
    text-align: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    padding: 12px;
    border-radius: 10px;
  }
  .nav-links a:hover {
    background: var(--cream);
  }
  .cart-button {
    order: 3;
    padding: 9px;
  }
  .cart-button > span:not(.cart-icon) {
    display: none;
  }
  .hero {
    padding: 65px 0 95px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 51px;
  }
  .hero-visual {
    min-height: 410px;
  }
  .hero-image-card {
    height: 400px;
    width: min(390px, 88%);
  }
  .hero-orbit {
    width: 370px;
    height: 370px;
  }
  .floating-card-top {
    left: -10px;
  }
  .floating-card-bottom {
    right: -5px;
  }
  .section {
    padding: 75px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 39px;
  }
  .section-heading > p {
    margin-top: 13px;
  }
  .shop-toolbar {
    align-items: stretch;
  }
  .category-tabs {
    order: 1;
    width: 100%;
    flex-basis: 100%;
  }
  .search-box {
    flex: 1;
  }
  .shop-toolbar select {
    width: 145px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .product-image {
    height: 220px;
  }
  .product-info {
    padding: 14px;
  }
  .product-info h3 {
    font-size: 15px;
  }
  .story-banner {
    padding: 70px 0;
  }
  .story-banner-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .story-photo {
    height: 350px;
  }
  .story-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 40px;
  }
  .services-grid,
  .recipes-grid {
    grid-template-columns: 1fr;
  }
  .featured-service {
    transform: none;
  }
  .featured-service:hover {
    transform: translateY(-5px);
  }
  .about-image {
    height: 430px;
  }
  .experience-badge {
    left: 10px;
  }
  .contact-grid {
    gap: 35px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail-image {
    height: 300px;
  }
  .product-detail h2 {
    font-size: 35px;
  }
}
@media (max-width: 500px) {
  .announcement {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-actions .btn {
    flex: 1;
  }
  .hero-trust {
    display: block;
  }
  .hero-trust div {
    margin: 7px 0;
  }
  .hero-visual {
    min-height: 340px;
  }
  .hero-image-card {
    height: 335px;
  }
  .hero-orbit {
    width: 300px;
    height: 300px;
  }
  .floating-card {
    padding: 9px 11px;
  }
  .floating-card-top {
    top: 20px;
    left: -5px;
  }
  .floating-card-bottom {
    right: -3px;
    bottom: 25px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    padding: 15px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-image {
    height: 175px;
  }
  .product-description {
    display: none;
  }
  .product-info h3 {
    font-size: 14px;
  }
  .price {
    font-size: 15px;
  }
  .search-box {
    width: 100%;
    flex-basis: 100%;
  }
  .shop-toolbar select {
    flex: 1;
  }
  .category-tabs {
    padding-bottom: 5px;
  }
  .story-photo {
    height: 280px;
  }
  .story-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }
  .about-image {
    height: 330px;
  }
  .contact-form {
    padding: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
  }
  .floating-whatsapp small {
    display: none;
  }
  .floating-whatsapp {
    padding: 9px;
  }
  .modal-card {
    padding: 22px 18px;
  }
  .product-detail-image {
    height: 240px;
  }
  .checkout-card h2 {
    font-size: 31px;
  }
}

/* =========================================================
   CORRECCIÓN DEL ESTADO HIDDEN
   ========================================================= */

[hidden] {
  display: none !important;
}

.cart-empty[hidden],
.cart-footer[hidden] {
  display: none !important;
}

/* =========================================================
   CARRITO PREMIUM
   ========================================================= */

/* Seguridad para hidden */
[hidden] {
  display: none !important;
}

/* Drawer */
.cart-drawer {
  width: min(470px, 100%);
  padding: 0;
  background: #fff;
  box-shadow: -20px 0 70px rgba(20, 45, 32, 0.16);
}

/* Cabecera */
.drawer-head {
  padding: 6px 27px 6px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}

.drawer-head h2 {
  font-size: 38px;
  margin-top: 3px;
  letter-spacing: -0.04em;
}

.drawer-head .eyebrow {
  margin-bottom: 2px;
}

/* Zona de productos */
.cart-items {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 8px 28px 25px;
  scrollbar-width: thin;
}

/* Producto */
.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  animation: cartItemIn 0.3s ease;
}

@keyframes cartItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* Imagen */
.cart-item-image {
  width: 82px;
  height: 82px;
  border-radius: 17px;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cart-item:hover .cart-item-image img {
  transform: scale(1.06);
}

/* Información */
.cart-item-info {
  min-width: 0;
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-item-category {
  display: block;
  color: var(--sage);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.cart-item h4 {
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.cart-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.cart-item-price {
  color: var(--forest);
  font-size: 14px;
  white-space: nowrap;
}

/* Acciones */
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Control de cantidad */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-control button {
  width: 30px;
  height: 29px;
  border: 0;
  background: #fff;
  color: var(--forest);
  font-size: 16px;
  transition: 0.2s;
}

.qty-control button:hover {
  background: var(--cream);
}

.qty-control span {
  width: 30px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--forest);
}

/* Eliminar */
.remove-item {
  border: 0;
  background: transparent;
  color: #9b7563;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px;
  transition: 0.2s;
}

.remove-item:hover {
  color: #b34835;
  text-decoration: underline;
}

/* Estado vacío */
.cart-empty {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px 30px;
}

.cart-empty span {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 36px;
  box-shadow: 0 15px 35px rgba(23, 59, 43, 0.08);
}

.cart-empty h3 {
  font-family: "Playfair Display", serif;
  color: var(--forest);
  font-size: 28px;
  line-height: 1.1;
}

.cart-empty p {
  max-width: 260px;
  margin: 8px auto 22px;
  color: var(--muted);
  font-size: 12px;
}

/* Footer */
.cart-footer {
  padding: 20px 28px 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 -10px 30px rgba(20, 45, 32, 0.04);
}

.cart-total {
  margin-bottom: 10px;
  align-items: center;
}

.cart-total span {
  color: var(--muted);
  font-size: 13px;
}

.cart-total strong {
  color: var(--forest);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.cart-footer .btn {
  min-height: 52px;
  border-radius: 15px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-products {
  display: grid;
  gap: 3px;
}

.checkout-summary {
  background: #f8f5ed;
  border: 1px solid #e9e3d5;
  border-radius: 17px;
  padding: 15px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.summary-row span {
  color: var(--muted);
}

.summary-row span small {
  color: var(--forest);
  font-weight: 800;
  margin-left: 3px;
}

.summary-row strong {
  color: var(--forest);
  white-space: nowrap;
}

.summary-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #ddd6c8;
  font-size: 15px;
}

.summary-total strong {
  font-size: 12px;
}

/* =========================================================
   OVERLAY
   ========================================================= */

.overlay {
  background: rgba(10, 25, 18, 0.52);
  backdrop-filter: blur(5px);
}

/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.cart-drawer .close-btn {
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.cart-drawer .close-btn:hover {
  transform: rotate(90deg);
  background: #ece5d6;
}

/* =========================================================
   RESPONSIVE CARRITO
   ========================================================= */

@media (max-width: 600px) {
  .cart-drawer {
    width: 100%;
  }
  .brand > img {
  /* En lugar de 'height: 70px', usamos un máximo */
    max-height: 23px; /* Ajusta este número (40px, 45px, 50px) hasta que te guste el tamaño */
    
  }
  .hero-image-card{
    transform: translateX(2px) rotate(0deg);
  }

  .drawer-head {
    padding: 10px 18px 10px;
  }

  .drawer-head h2 {
    font-size: 32px;
  }

  .cart-items {
    padding: 5px 18px 20px;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .cart-item-image {
    width: 72px;
    height: 72px;
  }

  .cart-item-price {
    font-size: 13px;
  }

  .cart-footer {
    padding: 17px 18px 20px;
  }

  .cart-total strong {
    font-size: 15px;
  }

  .cart-empty h3 {
    font-size: 25px;
  }
}

/* ============================================================
SERVICIOS — DISEÑO PREMIUM HONGOS & TRUFAS
============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 55px;
}

/* ============================================================
TARJETA
============================================================ */

.service-card-mushroom {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(63, 58, 58, 0.1);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(38, 32, 28, 0.07);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.service-card-mushroom:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 55px rgba(38, 32, 28, 0.14);
  border-color: rgba(63, 58, 58, 0.18);
}

/* ============================================================
IMAGEN (Actualizado para mostrar productos completos)
============================================================ */

.service-image {
  position: relative;
  /* Mantenemos la altura fija del contenedor para consistencia visual */
  height: 400px;
  overflow: hidden;

  /* NUEVO: Añadimos espacio interior para que el frasco no toque los bordes */
  /* Esto hace que el frasco se vea "más pequeño" dentro de su caja */
  padding: 0px;

  /* Centrado flexible para la imagen dentro del padding */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Opcional: Suavizar o quitar el degradado oscuro si son fotos de producto limpias */
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;
  z-index: 1; /* Asegurar que esté sobre la imagen pero bajo el número */
}

.service-image img {
  /* CAMBIO: Usamos ancho y alto max/min 100% para que sea flexible */
  max-width: 100%;
  max-height: 100%;
  width: auto; /* Mantiene proporción */
  height: auto; /* Mantiene proporción */

  display: block;

  /* CAMBIO CLAVE: 'contain' asegura que toda la imagen se vea sin recortes */
  object-fit: contain;

  transition: transform 0.7s ease;
  z-index: 0;
}

/* Corrección de la clase CSS en el hover (tu HTML usa service-card-truffle) */
.service-card-truffle:hover .service-image img {
  /* Un efecto de zoom más sutil ya que es un producto */
  transform: scale(1.04);
}

/* ============================================================
NUMERACIÓN
============================================================ */

.service-number {
  position: absolute;
  z-index: 2; /* Asegurar que esté por encima del degradado ::after */
  top: 45px;
  right: 65px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);
  color: #3f3a3a;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

/* ============================================================
CONTENIDO
============================================================ */

.service-content {
  padding: 30px 28px 27px;
}

.service-label {
  display: inline-block;
  margin-bottom: 10px;

  color: #806b50;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.service-content h3 {
  margin: 0 0 13px;

  color: #3f3a3a;

  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.service-content p {
  margin: 0;

  color: #6d6762;

  font-size: 14px;
  line-height: 1.75;
}

/* ============================================================
BOTÓN
============================================================ */

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 25px;
  padding: 0;

  border: 0;
  background: transparent;

  color: #3f3a3a;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;

  cursor: pointer;

  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

.service-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border: 1px solid rgba(63, 58, 58, 0.25);
  border-radius: 50%;

  font-size: 15px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.service-link:hover {
  color: #806b50;
  gap: 16px;
}

.service-link:hover span {
  background: #3f3a3a;
  border-color: #3f3a3a;
  color: #ffffff;
  transform: translateX(2px);
}

/* ============================================================
SERVICIO DESTACADO
============================================================ */

.featured-service {
  transform: translateY(-8px);
  border-color: rgba(128, 107, 80, 0.25);
}

.featured-service:hover {
  transform: translateY(-18px);
}

/* ============================================================
EFECTO SUPERIOR DEL SERVICIO DESTACADO
============================================================ */

.featured-service::before {
  content: "MÁS ELEGIDO";

  position: absolute;
  z-index: 5;

  top: 18px;
  left: 18px;

  padding: 8px 12px;

  border-radius: 30px;

  background: #3f3a3a;
  color: #ffffff;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

/* ============================================================
RESPONSIVE — TABLET
============================================================ */

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .featured-service {
    transform: none;
  }

  .featured-service:hover {
    transform: translateY(-10px);
  }
}

/* ============================================================
RESPONSIVE — MÓVIL
============================================================ */

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }

  .service-image {
    height: 220px;
  }

  .service-content {
    padding: 25px 22px 24px;
  }

  .service-content h3 {
    font-size: 23px;
  }

  .service-content p {
    font-size: 13px;
    line-height: 1.7;
  }

  .featured-service {
    transform: none;
  }

  .featured-service:hover {
    transform: translateY(-8px);
  }
}

/* ============================================================
MÓVILES PEQUEÑOS
============================================================ */

@media (max-width: 400px) {
  .service-image {
    height: 200px;
  }

  .service-content {
    padding: 22px 19px;
  }

  .service-content h3 {
    font-size: 21px;
  }
}
