:root { --cream: #fff3cf; --paper: #fffdf3; --ink: #301e16; --green: #17633f; --green-dark: #0b422c; --red: #e33d24; --yellow: #ffc900; --wood: #9b542f; --line: rgba(68, 41, 20, .18); --shadow: 0 24px 60px rgba(91, 48, 17, .2); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.55; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.announcement { padding: 9px 20px; background: var(--red); color: #fff9de; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.announcement span { color: var(--yellow); margin-left: 6px; }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255, 243, 207, .95); border-bottom: 3px solid var(--yellow); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; min-height: 88px; margin: auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 154px; height: 68px; object-fit: contain; object-position: center; }
.menu-toggle { display: grid; gap: 4px; padding: 9px; background: none; border: 0; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; background: var(--green); border-radius: 3px; }
.site-nav { position: absolute; display: none; top: 88px; right: 12px; left: 12px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.site-nav.open { display: grid; }
.site-nav a { padding: 13px 10px; color: var(--green); font-size: 1rem; font-weight: 700; }
.cart-button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 17px; color: #fff; background: var(--green); border: 2px solid var(--green); border-radius: 999px; font-size: .96rem; font-weight: 700; cursor: pointer; box-shadow: 0 5px 0 rgba(11, 66, 44, .18); }
.cart-button span { font-size: 1.15rem; }
.cart-button b { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; color: var(--red); background: #fff; border-radius: 50%; font-size: .68rem; }
.hero { position: relative; display: grid; align-items: center; gap: clamp(22px, 4vw, 68px); max-width: none; min-height: 590px; margin: auto; padding: 48px max(20px, 4vw) 58px; overflow: hidden; background: radial-gradient(circle at 78% 18%, rgba(255, 201, 0, .82) 0 9%, transparent 9.5%), linear-gradient(135deg, #fff5c9 0%, #ffdc52 48%, #f7b22c 100%); }
.hero::before, .hero::after { position: absolute; content: '❧'; z-index: 0; color: rgba(23, 99, 63, .82); font-family: Georgia, serif; font-size: 15rem; line-height: 1; pointer-events: none; }
.hero::before { top: -48px; left: -38px; transform: rotate(-38deg); }
.hero::after { right: -44px; bottom: -88px; transform: rotate(142deg); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--green); font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.045em; line-height: 1.04; }
h1 { max-width: 700px; margin-bottom: 23px; font-size: clamp(2.7rem, 7vw, 5.7rem); }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-description { max-width: 560px; margin-bottom: 30px; color: #4f3825; font-size: clamp(1rem, 1.5vw, 1.12rem); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 58px; padding: 0 28px; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 8px 0 rgba(136, 42, 19, .2); }
.button-primary:hover { background: #bd2b18; box-shadow: 0 10px 18px rgba(136, 42, 19, .25); }
.button-ghost { color: var(--green-dark); background: rgba(255,255,255,.3); border: 2px solid var(--green); }
.hero-note { margin: 24px 0 0; color: var(--wood); font-family: 'Fraunces', Georgia, serif; font-size: .96rem; }
.hero-note span { margin-right: 5px; color: var(--yellow); }
.hero-visual { position: relative; z-index: 1; min-height: 320px; isolation: isolate; }
.hero-visual::before { position: absolute; content: ''; width: 97%; height: 91%; right: 1%; top: 2%; background: rgba(23, 99, 63, .92); border: 8px solid var(--paper); border-radius: 42% 58% 48% 52% / 50% 43% 57% 50%; transform: rotate(5deg); box-shadow: var(--shadow); }
.hero-visual::after { position: absolute; content: '❧  ♥  ❧'; z-index: 2; right: 5%; bottom: 1%; color: var(--yellow); font-size: 2rem; letter-spacing: .3em; transform: rotate(-8deg); }
.hero-visual img { position: absolute; z-index: 1; width: 116%; height: 112%; right: -8%; top: -6%; object-fit: contain; object-position: center; filter: drop-shadow(0 18px 10px rgba(77, 43, 7, .22)); transform: rotate(2deg); }
.benefits-section { position: relative; padding: 60px 20px 68px; background: radial-gradient(circle at 100% 0%, #ffefac 0 13%, transparent 13.5%), var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.benefits-section::after { position: absolute; content: '♥'; right: 2%; top: 25px; color: rgba(227, 61, 36, .12); font-size: 10rem; transform: rotate(15deg); }
.section-intro, .benefits-grid { max-width: 1180px; margin-right: auto; margin-left: auto; }
.section-intro { margin-bottom: 26px; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 7vw, 4rem); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit-card { position: relative; z-index: 1; min-height: 235px; padding: 24px 20px; background: #fff8df; border: 2px solid rgba(23, 99, 63, .28); border-radius: 18px 18px 18px 5px; box-shadow: 0 8px 0 rgba(155, 84, 47, .17); }
.benefit-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 16px; border-radius: 50%; font-family: Georgia, serif; font-size: 1.45rem; }
.icon-yellow { color: #8a5f03; background: #f8d978; }.icon-red { color: #fff; background: var(--red); }.icon-green { color: #fff; background: var(--green); }.icon-wood { color: #fff; background: var(--wood); }
.benefit-card h3 { margin-bottom: 8px; color: var(--green); font-family: 'Fraunces', Georgia, serif; font-size: 1.28rem; line-height: 1.1; }
.benefit-card p { max-width: 270px; margin-bottom: 0; color: #655846; font-size: .93rem; }
.product-teaser { position: relative; display: grid; gap: 22px; align-items: end; max-width: none; margin: auto; padding: 76px max(20px, 4vw); overflow: hidden; background: linear-gradient(125deg, var(--green-dark), var(--green)); color: #fff7d8; }
.product-teaser::before { position: absolute; content: '❧'; left: -25px; bottom: -72px; color: rgba(255, 201, 0, .22); font-size: 13rem; transform: rotate(40deg); }.product-teaser > * { position: relative; z-index: 1; }
.product-teaser h2 { color: #fff7d8; }.product-teaser h2 em { color: var(--yellow); }.product-teaser .eyebrow { color: var(--yellow); }.product-teaser .eyebrow span { background: var(--yellow); }
.teaser-action h3 { margin: 0 0 14px; color: #fff7d8; font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; }.catalog-button { color: var(--green-dark); background: var(--yellow); box-shadow: 0 7px 0 rgba(64, 46, 5, .25); }.catalog-button:hover { background: #ffe06b; }
.product-teaser .eyebrow { margin-bottom: 12px; }.teaser-copy { max-width: 330px; margin: 0; color: #646556; }.text-link { color: var(--red); font-size: .9rem; font-weight: 700; }.text-link span { margin-left: 8px; font-size: 1.1rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 20px; color: #fff6dd; background: var(--green-dark); font-size: .77rem; }.footer-brand .brand-logo { width: 126px; height: 58px; }.site-footer p { margin: 0; }.footer-heart { color: var(--yellow); font-size: 1.1rem; }
.toast { position: fixed; z-index: 20; right: 20px; bottom: 20px; max-width: 280px; padding: 13px 16px; color: #fff; background: var(--green-dark); border-radius: 8px; box-shadow: var(--shadow); font-size: .82rem; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .2s ease, transform .2s ease; }.toast.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 700px) { .menu-toggle { display: none; }.site-nav { position: static; display: flex; align-items: center; gap: 34px; padding: 0; background: transparent; border: 0; box-shadow: none; }.site-nav a { padding: 8px 0; font-size: 1.05rem; }.cart-button { width: auto; min-height: 54px; padding: 14px 22px; font-size: 1rem; }.hero { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 36px; padding-top: 52px; padding-bottom: 56px; }.hero-visual { min-height: 470px; }.hero-visual img { width: 116%; }.benefits-section { padding-top: 66px; }.benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }.product-teaser { grid-template-columns: 1fr 1.25fr auto; padding-top: 84px; padding-bottom: 84px; } }
@media (min-width: 1020px) { .header-inner { width: 88vw; max-width: 1440px; min-height: 124px; padding-right: 0; padding-left: 0; }.brand-logo { width: 230px; height: 100px; }.site-nav { gap: 52px; }.site-nav a { font-size: 1.25rem; }.cart-button { min-height: 68px; padding: 18px 30px; font-size: 1.16rem; }.hero { width: 88vw; min-height: 650px; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 42px; padding: 48px 0 58px; }.hero-content { max-width: 100%; }.hero h1 { max-width: 760px; font-size: clamp(4rem, 5.4vw, 6.3rem); }.hero-description { max-width: 620px; font-size: 1.2rem; }.hero-visual { min-height: 590px; }.hero-visual img { width: 118%; height: 116%; right: -9%; top: -8%; }.benefits-section { padding-right: 0; padding-left: 0; }.section-intro, .benefits-grid { width: 88vw; max-width: 1440px; }.section-intro { margin-bottom: 34px; }.section-intro h2 { font-size: clamp(3rem, 4vw, 4.8rem); }.benefits-grid { gap: 26px; }.benefit-card { min-height: 285px; padding: 30px 26px; }.benefit-icon { width: 56px; height: 56px; margin-bottom: 20px; font-size: 1.8rem; }.benefit-card h3 { font-size: 1.45rem; }.benefit-card p { max-width: 300px; font-size: 1rem; }.product-teaser { padding: 120px 7vw; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 72px; }.product-teaser h2 { font-size: clamp(3.2rem, 4.8vw, 5.5rem); }.teaser-copy { max-width: 560px; font-size: 1.32rem; line-height: 1.5; }.teaser-action h3 { font-size: 2.5rem; margin-bottom: 20px; }.catalog-button { min-height: 78px; padding: 0 42px; font-size: 1.25rem; }.text-link { font-size: 1rem; } }
@media (max-width: 520px) { .brand-logo { width: 142px; height: 66px; }.hero { min-height: 0; padding-top: 38px; padding-bottom: 44px; }.hero-visual { min-height: 280px; margin-top: 8px; }.hero-visual img { width: 116%; height: 108%; right: -8%; }.hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }.button { width: 100%; min-height: 62px; }.benefits-grid { gap: 14px; }.benefit-card { min-height: 240px; padding: 20px 15px; }.benefit-card h3 { font-size: 1.08rem; }.benefit-card p { font-size: .82rem; }.product-teaser { padding-top: 62px; padding-bottom: 68px; }.product-teaser .text-link { margin-top: 4px; } }
@media (max-width: 400px) { .site-footer { flex-wrap: wrap; }.site-footer p { order: 3; width: 100%; } }

/* Hero de escritorio: más amplitud y equilibrio sin alterar la portada móvil */
@media (min-width: 1020px) {
  .hero {
    width: 100%;
    min-height: 680px;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(52px, 6vw, 96px);
    padding: 68px 6vw 76px;
  }

  .hero-content {
    max-width: 660px;
    padding-block: 18px;
  }

  .hero h1 {
    max-width: 650px;
    line-height: 1.1;
  }

  .hero-description {
    max-width: 550px;
    margin-bottom: 38px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-note {
    margin-top: 32px;
  }

  .hero-visual {
    min-height: 620px;
    display: grid;
    place-items: center;
  }

  .hero-visual::before {
    width: 94%;
    right: 3%;
  }

  .hero-visual img {
    width: 110%;
    height: 108%;
    right: -5%;
    top: -4%;
  }
}

/* Catálogo: estructura visual preparada para los productos reales */
.catalog-section { display: block; }
.catalog-heading { max-width: 760px; margin-bottom: 30px; }
.catalog-heading .teaser-copy { max-width: 560px; color: #fff7d8; font-size: 1rem; }
.catalog-tools { display: grid; gap: 14px; max-width: 980px; margin-bottom: 28px; }
.search-field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; color: var(--green-dark); background: #fffdf3; border: 2px solid rgba(255, 201, 0, .85); border-radius: 12px; box-shadow: 0 5px 0 rgba(5, 49, 31, .14); }
.search-field > span:not(.sr-only) { font-size: 1.7rem; line-height: 1; }
.search-field input { width: 100%; min-width: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 1rem; }
.search-field input::placeholder { color: #7b725f; }
.category-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-button { min-height: 40px; padding: 7px 14px; color: #fff7d8; background: transparent; border: 1px solid rgba(255, 247, 216, .65); border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.filter-button:hover, .filter-button.active { color: var(--green-dark); background: var(--yellow); border-color: var(--yellow); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; background: #fffdf3; border: 2px solid rgba(255, 201, 0, .78); border-radius: 16px; box-shadow: 0 8px 0 rgba(5, 49, 31, .14); }
.product-image { display: grid; place-items: center; min-height: 158px; overflow: hidden; background: linear-gradient(135deg, #fff0ac, #f6b737); }
.product-image img { display: block; width: 100%; height: 100%; min-height: 158px; object-fit: cover; }
.product-placeholder { display: grid; place-items: center; width: 108px; height: 108px; color: var(--green-dark); background: radial-gradient(circle at 35% 30%, #ffe97b 0 22%, transparent 23%), var(--yellow); border: 5px solid #fffdf3; border-radius: 50%; box-shadow: 0 6px 0 rgba(155, 84, 47, .22); font-family: Georgia, serif; line-height: .8; transform: rotate(-5deg); }
.product-placeholder span { color: var(--red); font-size: 1.25rem; }.product-placeholder strong { font-size: 2.8rem; }.product-placeholder small { color: var(--wood); font-family: 'DM Sans', system-ui, sans-serif; font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.product-card-body { padding: 16px; }.product-category { margin-bottom: 5px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.product-card h3 { margin-bottom: 4px; color: var(--green-dark); font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; line-height: 1.1; }.product-code { margin-bottom: 14px; color: #7b725f; font-size: .75rem; }.product-details { display: grid; gap: 6px; margin: 0 0 17px; padding: 0; }.product-details div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed rgba(155, 84, 47, .3); }.product-details dt, .product-details dd { margin: 0; font-size: .75rem; }.product-details dt { color: #7b725f; }.product-details dd { color: var(--ink); font-weight: 700; text-align: right; }.product-card-footer { display: grid; gap: 12px; }.product-price { color: var(--red); font-size: 1.35rem; }.add-button { min-height: 46px; padding: 10px 12px; color: #fff; background: var(--red); border: 0; border-radius: 9px; box-shadow: 0 4px 0 rgba(136, 42, 19, .2); font-size: .86rem; font-weight: 800; cursor: pointer; }.add-button:hover { background: #bd2b18; }.catalog-empty { padding: 24px 0; color: #fff7d8; font-size: 1rem; }.catalog-section .text-link { display: inline-block; margin-top: 30px; color: var(--yellow); }
@media (min-width: 700px) { .catalog-tools { grid-template-columns: minmax(260px, 1fr) auto; align-items: center; max-width: none; }.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }.product-image, .product-image img { min-height: 190px; }.product-card-body { padding: 20px; }.product-card h3 { font-size: 1.35rem; }.product-card-footer { grid-template-columns: auto 1fr; align-items: center; }.add-button { min-height: 50px; }.catalog-section .text-link { margin-top: 36px; } }
@media (min-width: 1020px) { .catalog-heading { max-width: 900px; }.catalog-heading .teaser-copy { font-size: 1.18rem; }.catalog-tools { margin-bottom: 36px; }.search-field { min-height: 62px; padding: 0 20px; }.search-field input { font-size: 1.1rem; }.filter-button { min-height: 46px; padding: 8px 17px; font-size: .9rem; }.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }.product-image, .product-image img { min-height: 230px; }.product-card-body { padding: 24px; }.product-card h3 { font-size: 1.5rem; }.product-code { font-size: .82rem; }.product-details dt, .product-details dd { font-size: .85rem; }.product-price { font-size: 1.55rem; }.add-button { font-size: .92rem; } }
@media (max-width: 520px) { .catalog-tools { margin-bottom: 22px; }.catalog-grid { grid-template-columns: 1fr; gap: 18px; }.product-image, .product-image img { min-height: 190px; }.product-card-body { padding: 18px; }.product-card-footer { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }.add-button { min-height: 50px; font-size: .78rem; }.catalog-section .text-link { margin-top: 25px; } }

/* Ajuste de densidad del catálogo */
@media (min-width: 700px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.product-image, .product-image img { min-height: 172px; }.product-card-body { padding: 16px; }.product-card h3 { font-size: 1.22rem; }.product-details { margin-bottom: 13px; }.product-card-footer { gap: 9px; }.add-button { min-height: 46px; padding: 8px 10px; font-size: .8rem; } }
@media (min-width: 840px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }.product-image, .product-image img { min-height: 180px; }.product-card-body { padding: 17px; } }
@media (min-width: 1200px) { .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }.product-image, .product-image img { min-height: 176px; }.product-card-body { padding: 17px; }.product-card h3 { font-size: 1.2rem; }.product-code { margin-bottom: 11px; font-size: .76rem; }.product-details dt, .product-details dd { font-size: .78rem; }.product-price { font-size: 1.35rem; }.product-card-footer { grid-template-columns: 1fr; gap: 9px; }.add-button { width: 100%; } }
@media (max-width: 520px) { .product-image, .product-image img { min-height: 170px; }.product-card-body { padding: 16px; } }

/* Imágenes de producto: ruta automática con placeholder seguro */
.product-image {
  position: relative;
  min-height: 176px;
  background: linear-gradient(135deg, #fff4c7, #f8c34b);
}

.product-image .product-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px;
  object-fit: contain;
  opacity: 0;
  transition: opacity .2s ease;
}

.product-image .product-photo.is-loaded {
  opacity: 1;
}

.product-image .product-placeholder {
  position: relative;
  z-index: 0;
  width: 112px;
  height: 112px;
}

.product-placeholder em {
  position: absolute;
  right: -28px;
  bottom: -24px;
  width: 168px;
  color: var(--wood);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}

@media (max-width: 520px) {
  .product-image {
    min-height: 170px;
  }
}

/* Carrito */
[hidden] { display: none !important; }
.product-purchase-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.quantity-control, .cart-quantity { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 4px 6px; background: #fff3c5; border: 1px solid rgba(155, 84, 47, .35); border-radius: 9px; }
.quantity-control button, .cart-quantity button { display: grid; place-items: center; width: 28px; height: 30px; padding: 0; color: var(--green-dark); background: transparent; border: 0; border-radius: 6px; font-size: 1.25rem; font-weight: 800; cursor: pointer; }.quantity-control button:hover, .cart-quantity button:hover { background: var(--yellow); }.quantity-control span, .cart-quantity span { min-width: 17px; color: var(--ink); font-size: .9rem; font-weight: 800; text-align: center; }
.add-button.added { background: var(--green); box-shadow: 0 4px 0 rgba(5, 49, 31, .2); }
.cart-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(20, 35, 24, .46); backdrop-filter: blur(2px); }
.cart-drawer { position: fixed; z-index: 50; top: 0; right: 0; display: flex; flex-direction: column; width: min(94vw, 480px); height: 100dvh; padding: 24px 18px 20px; color: var(--ink); background: var(--paper); box-shadow: -18px 0 50px rgba(22, 40, 25, .26); transform: translateX(105%); transition: transform .25s ease; }
.cart-drawer.open { transform: translateX(0); }.cart-drawer-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--yellow); }.cart-kicker { margin: 0 0 3px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.cart-drawer h2 { margin: 0; color: var(--green-dark); font-size: 2.2rem; }.cart-selected-count { margin: 5px 0 0; color: #7b725f; font-size: .78rem; font-weight: 700; }.cart-close { width: 42px; height: 42px; color: var(--green-dark); background: #fff3c5; border: 0; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }.cart-items { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 2px; }.cart-item { padding: 17px 0; border-bottom: 1px dashed rgba(155, 84, 47, .38); }.cart-item-info h3 { margin: 0 0 4px; color: var(--green-dark); font-family: 'Fraunces', Georgia, serif; font-size: 1.08rem; line-height: 1.12; }.cart-item-info p { margin: 0; color: #70634e; font-size: .78rem; }.cart-item-bottom { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 9px; margin-top: 12px; }.cart-item-bottom > strong { color: var(--red); font-size: 1rem; text-align: right; }.cart-remove { justify-self: end; padding: 3px 0; color: #8a5a46; background: transparent; border: 0; font-size: .74rem; text-decoration: underline; cursor: pointer; }.cart-empty { margin: auto 0; padding: 25px 12px; color: #6d5a42; font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; text-align: center; }.cart-summary { padding: 17px 0 4px; border-top: 2px solid rgba(23, 99, 63, .18); }.cart-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: #6d5a42; font-size: .86rem; }.cart-summary strong { color: var(--ink); }.cart-summary .cart-total { margin-top: 4px; padding-top: 13px; color: var(--green-dark); border-top: 1px solid var(--line); font-size: 1rem; font-weight: 800; }.cart-summary .cart-total strong { color: var(--red); font-size: 1.25rem; }.cart-actions { display: grid; gap: 9px; padding-top: 14px; }.cart-actions .button { width: 100%; min-height: 52px; }.mobile-cart-bar { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; display: none; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 10px 15px; color: #fff; background: var(--red); border: 2px solid #fff3c5; border-radius: 14px; box-shadow: 0 8px 24px rgba(91, 48, 17, .28); font-size: .86rem; font-weight: 700; cursor: pointer; }.mobile-cart-bar strong { color: var(--yellow); }.mobile-cart-bar span:first-child { font-size: 1.1rem; }
.product-cart-status { margin: 7px 0 0; color: var(--green); font-size: .76rem; font-weight: 800; }
body.cart-open { overflow: hidden; }
@media (min-width: 521px) { .mobile-cart-bar[hidden] { display: none !important; } }
@media (max-width: 520px) { .mobile-cart-bar:not([hidden]) { display: flex; }.cart-drawer { width: min(94vw, 440px); padding: 20px 16px 18px; }.cart-drawer h2 { font-size: 2rem; }.product-purchase-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }.quantity-control { min-height: 50px; }.add-button { min-height: 50px; } }

/* Datos del cliente y confirmación */
.order-layer { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(20, 35, 24, .52); backdrop-filter: blur(3px); }
.order-panel { width: min(100%, 760px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 18px; color: var(--ink); background: var(--paper); border: 3px solid var(--yellow); border-radius: 18px; box-shadow: 0 20px 60px rgba(20, 35, 24, .3); }
.order-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--yellow); }.order-panel-header h2 { margin: 0; color: var(--green-dark); font-size: 2.1rem; }.form-intro { margin: 17px 0 20px; color: #6d5a42; font-size: .92rem; }.customer-form label, .customer-form fieldset { display: flex; flex-direction: column; gap: 6px; min-width: 0; }.customer-form label > span, .customer-form legend { color: var(--green-dark); font-size: .82rem; font-weight: 800; }.customer-form label small { color: #7b725f; font-weight: 500; }.form-grid { display: grid; gap: 15px; }.customer-form input, .customer-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fff8df; border: 1px solid rgba(23, 99, 63, .3); border-radius: 9px; outline: 0; font: inherit; font-size: .92rem; }.customer-form input:focus, .customer-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 99, 63, .12); }.customer-form textarea { resize: vertical; }.customer-form fieldset { margin: 0; padding: 0; border: 0; }.delivery-options, .payment-options { gap: 9px !important; }.option-card { flex-direction: row !important; align-items: center; min-height: 45px; padding: 10px 12px; background: #fff8df; border: 1px solid rgba(155, 84, 47, .25); border-radius: 9px; cursor: pointer; }.option-card:has(input:checked) { background: #fff0a8; border-color: var(--green); }.option-card input { width: 17px; height: 17px; accent-color: var(--green); }.option-card span { font-size: .88rem !important; }.address-fields { display: grid; gap: 15px; }.delivery-note { margin: 0; padding: 11px 12px; color: var(--green-dark); background: #e9f4d9; border-left: 4px solid var(--green); border-radius: 6px; font-size: .82rem; }.form-error { margin: 18px 0 0; padding: 11px 12px; color: #8f2417; background: #ffe2d9; border-left: 4px solid var(--red); border-radius: 6px; font-size: .84rem; font-weight: 700; }.order-panel-actions { display: grid; gap: 10px; margin-top: 20px; }.order-panel-actions .button { width: 100%; min-height: 54px; }.confirmation-content { padding-top: 16px; }.customer-summary { display: grid; gap: 9px; padding: 15px; background: #fff8df; border: 1px solid rgba(155, 84, 47, .25); border-radius: 12px; }.customer-summary > div { display: flex; justify-content: space-between; gap: 12px; }.customer-summary span { color: #7b725f; font-size: .8rem; }.customer-summary strong { max-width: 66%; color: var(--green-dark); font-size: .84rem; text-align: right; }.confirmation-products { margin-top: 20px; }.confirmation-products h3 { margin: 0 0 8px; color: var(--red); font-size: .8rem; letter-spacing: .1em; }.confirmation-product, .confirmation-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(155, 84, 47, .3); }.confirmation-product > div { display: grid; gap: 3px; }.confirmation-product strong { color: var(--green-dark); font-size: .86rem; }.confirmation-product span { color: #7b725f; font-size: .76rem; }.confirmation-totals { margin-top: 15px; padding-top: 8px; border-top: 2px solid rgba(23, 99, 63, .2); }.confirmation-totals > div { color: #6d5a42; font-size: .86rem; }.confirmation-totals strong { color: var(--ink); }.confirmation-totals > div:last-child { border-bottom: 0; color: var(--green-dark); font-weight: 800; }.confirmation-totals > div:last-child strong { color: var(--red); font-size: 1.1rem; }
@media (min-width: 700px) { .order-panel { padding: 30px; }.order-panel-header h2 { font-size: 2.7rem; }.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }.form-grid > label:last-of-type, .address-fields, .delivery-options, .payment-options { grid-column: 1 / -1; }.address-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.address-fields .delivery-note { grid-column: 1 / -1; }.payment-options { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }.payment-options legend { grid-column: 1 / -1; }.delivery-options { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }.delivery-options legend { grid-column: 1 / -1; }.order-panel-actions { grid-template-columns: 1fr 1fr; }.customer-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.customer-summary > div:last-child { grid-column: 1 / -1; } }
.whatsapp-actions { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 2px solid rgba(23, 99, 63, .18); }.whatsapp-actions .button { width: 100%; min-height: 56px; }.whatsapp-primary, .whatsapp-secondary { color: #fff; background: #168c4b; border: 2px solid #168c4b; box-shadow: 0 6px 0 rgba(7, 75, 38, .2); }.whatsapp-primary:hover, .whatsapp-secondary:hover { background: #0c7139; border-color: #0c7139; }.copy-order-button, .sent-order-button, .sent-confirm-layer { display: none; }.toast { white-space: pre-line; }
.thank-you-panel { text-align: center; }.thank-you-panel h2 { margin: 10px 0 14px; color: var(--green-dark); font-size: 2rem; }.thank-you-panel p:not(.cart-kicker) { color: #6d5a42; font-size: 1rem; }.thank-you-panel .button { width: 100%; margin-top: 16px; }
.same-whatsapp-option { grid-column: 1 / -1; }.same-whatsapp-option > span { display: flex; align-items: center; gap: 8px; color: var(--green-dark) !important; font-size: .84rem !important; font-weight: 700 !important; }.same-whatsapp-option input { width: 17px; height: 17px; accent-color: var(--green); }.confirmed-note { margin: 18px 0 0; padding: 12px 14px; color: var(--green-dark); background: #e9f4d9; border-left: 4px solid var(--green); border-radius: 6px; font-size: .9rem; font-weight: 800; }.sent-confirm-layer { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(20, 35, 24, .58); backdrop-filter: blur(3px); }.sent-confirm-dialog { width: min(100%, 430px); padding: 24px 20px 20px; background: var(--paper); border: 3px solid var(--yellow); border-radius: 16px; box-shadow: 0 20px 60px rgba(20, 35, 24, .3); }.sent-confirm-dialog h2 { margin: 0; color: var(--green-dark); font-size: 1.55rem; line-height: 1.12; }.sent-confirm-actions { display: grid; gap: 9px; margin-top: 22px; }.sent-confirm-actions .button { width: 100%; min-height: 52px; }
@media (min-width: 700px) { .sent-confirm-dialog { padding: 30px; }.sent-confirm-actions { grid-template-columns: 1fr 1fr; } }
