@layer reset, tokens, base, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, select, textarea { font: inherit; }
  button, a { touch-action: manipulation; }
  a { color: inherit; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    --green-950: #102d22;
    --green-900: #173b2c;
    --green-800: #1c5037;
    --green-700: #246a45;
    --green-600: #2f8053;
    --green-500: #3c9664;
    --green-100: #dcefe3;
    --green-50: #edf7f0;
    --cream-50: #fbfaf5;
    --cream-100: #f5f1e6;
    --cream-200: #ebe5d5;
    --orange-600: #d96e2b;
    --orange-500: #e9823d;
    --orange-100: #fae4d2;
    --ink: #183126;
    --muted: #66766e;
    --line: #dde3dc;
    --white: #ffffff;
    --danger: #b33b2f;
    --warning: #b26b13;
    --shadow-sm: 0 8px 24px rgba(24, 49, 38, .07);
    --shadow-md: 0 18px 54px rgba(24, 49, 38, .12);
    --shadow-lg: 0 30px 90px rgba(16, 45, 34, .17);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1200px;
    --header-h: 82px;
    --ease: cubic-bezier(.2,.8,.2,1);
  }
}

@layer base {
  body { font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--cream-50); line-height: 1.6; min-width: 320px; }
  body.no-scroll, body.nav-open { overflow: hidden; }
  h1, h2, h3, p { margin-top: 0; }
  h1, h2 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.025em; }
  h1 { font-size: clamp(2.75rem, 6vw, 5.6rem); line-height: .98; }
  h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; }
  h3 { line-height: 1.2; }
  p { color: var(--muted); }
  a { text-decoration: none; }
  button { border: 0; }
  :focus-visible { outline: 3px solid rgba(233, 130, 61, .55); outline-offset: 3px; }
  .container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
  .section-pad { padding-block: clamp(72px, 10vw, 132px); }
  .section-pad-sm { padding-block: clamp(46px, 7vw, 88px); }
  .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; }
  .skip-link { position: fixed; z-index: 2000; left: 16px; top: -60px; background: var(--white); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-md); }
  .skip-link:focus { top: 16px; }
}

@layer components {
  .announcement-bar { background: var(--green-950); color: #d8ebdf; font-size: .84rem; }
  .announcement-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .announcement-inner a { color: var(--white); font-weight: 700; }
  .site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--cream-50) 92%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(23, 59, 44, .07); }
  .nav-shell { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
  .brand { margin-right: auto; display: inline-flex; align-items: center; }
  .brand img { width: 174px; height: auto; }
  .main-nav { display: flex; align-items: center; gap: 8px; }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; font-weight: 700; font-size: .94rem; color: #496058; transition: .2s var(--ease); }
  .main-nav a:hover, .main-nav a.active { color: var(--green-800); background: var(--green-50); }
  .main-nav .nav-cta { background: var(--green-800); color: var(--white); padding-inline: 19px; }
  .main-nav .nav-cta:hover { background: var(--green-700); color: var(--white); transform: translateY(-1px); }
  .menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-50); align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; background: var(--green-900); border-radius: 2px; }
  .cart-button { position: relative; min-height: 46px; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); color: var(--green-900); padding: 0 13px; border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer; font-weight: 800; }
  .cart-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .cart-button b { display: grid; place-items: center; min-width: 23px; height: 23px; border-radius: 50%; background: var(--orange-500); color: var(--white); font-size: .75rem; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 800; color: var(--green-600); margin-bottom: 14px; }
  .eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
  .eyebrow-accent { color: var(--orange-600); }
  .eyebrow-light { color: #d8e9de; }
  .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 0 22px; font-weight: 800; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
  .button:hover { transform: translateY(-2px); }
  .button-primary { background: var(--orange-500); color: var(--white); box-shadow: 0 12px 30px rgba(217, 110, 43, .24); }
  .button-primary:hover { background: var(--orange-600); box-shadow: 0 16px 36px rgba(217, 110, 43, .3); }
  .button-ghost { border: 1px solid rgba(23, 59, 44, .18); color: var(--green-800); background: rgba(255,255,255,.52); }
  .button-soft { background: var(--green-50); color: var(--green-800); }
  .button-block { width: 100%; }
  .button-lg { min-height: 58px; }
  .button.disabled, .button:disabled { pointer-events: none; opacity: .45; }
  .button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
  .button.loading .button-loader { display: inline-block; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .text-link { color: var(--green-700); font-weight: 800; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { margin-bottom: 10px; }
  .section-heading p { max-width: 620px; margin-bottom: 0; }
  .inline-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
  .centered { text-align: center; max-width: 760px; margin-inline: auto; }
  .centered .eyebrow { justify-content: center; }
  .centered p { margin-inline: auto; }
  .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
  [data-search-item] { min-width: 0; }
  .product-card { height: 100%; background: var(--white); border: 1px solid rgba(23,59,44,.08); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(24,49,38,.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .product-media { position: relative; background: linear-gradient(145deg, #f4f4e9, #eef4ed); aspect-ratio: 1.18; overflow: hidden; }
  .product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
  .product-card:hover .product-media img { transform: scale(1.04); }
  .product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--orange-500); color: white; border-radius: 999px; padding: 6px 10px; font-size: .72rem; font-weight: 800; }
  .stock-pill { position: absolute; z-index: 2; bottom: 12px; left: 12px; border-radius: 999px; padding: 6px 10px; font-size: .7rem; font-weight: 800; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
  .stock-pill.available { color: var(--green-700); }
  .stock-pill.low { color: var(--warning); }
  .stock-pill.unavailable { color: var(--danger); }
  .product-body { padding: 18px; }
  .product-category { display: block; color: var(--green-600); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
  .product-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
  .product-body p { font-size: .88rem; line-height: 1.55; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
  .product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
  .price strong { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
  .price span { color: var(--muted); font-size: .78rem; }
  .add-button { width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: white; font-size: 1.55rem; cursor: pointer; box-shadow: 0 8px 20px rgba(28,80,55,.22); transition: .2s var(--ease); }
  .add-button:hover { background: var(--orange-500); transform: rotate(8deg); }
  .add-button.added { background: var(--orange-500); }
  .add-button:disabled { background: #a6b1ab; cursor: not-allowed; box-shadow: none; }
  .notice { border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
  .notice p { margin: 4px 0 0; }
  .notice-warning { background: #fff5df; color: #87550d; }
  .notice-error { background: #fff0ed; color: #9f3328; }
  .status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
  .status-badge.warning { background: #fff2d6; color: #97600d; }
  .status-badge.success { background: #e4f4e9; color: #216740; }
  .status-badge.danger { background: #fce7e4; color: #a83b30; }
  .status-badge.info { background: #e4eff8; color: #2f5f82; }
}

@layer pages {
  .hero-section { position: relative; overflow: hidden; padding-block: clamp(58px, 8vw, 108px); background: radial-gradient(circle at 75% 25%, rgba(233,130,61,.14), transparent 30%), linear-gradient(145deg, #f9f7ef 0%, #edf4ec 100%); }
  .hero-section::before { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(36,106,69,.11); border-radius: 50%; left: -140px; bottom: -170px; }
  .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
  .hero-copy h1 { max-width: 720px; margin-bottom: 24px; }
  .hero-copy > p { font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 640px; line-height: 1.75; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
  .hero-trust { display: grid; grid-template-columns: repeat(3,1fr); max-width: 570px; border-top: 1px solid rgba(23,59,44,.13); padding-top: 20px; }
  .hero-trust div { padding-right: 16px; }
  .hero-trust strong, .hero-trust span { display: block; }
  .hero-trust strong { color: var(--green-800); font-size: 1.15rem; }
  .hero-trust span { color: var(--muted); font-size: .78rem; }
  .hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; }
  .hero-card-main { width: min(100%, 580px); transform: rotate(1.2deg); border: 10px solid rgba(255,255,255,.82); border-radius: 36px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .hero-card-main img { width: 100%; }
  .floating-note { position: absolute; z-index: 3; background: rgba(255,255,255,.91); backdrop-filter: blur(12px); border: 1px solid rgba(23,59,44,.08); border-radius: 17px; padding: 12px 16px; box-shadow: var(--shadow-md); }
  .floating-note span, .floating-note strong { display: block; }
  .floating-note span { color: var(--orange-600); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
  .floating-note strong { font-size: .9rem; }
  .note-one { top: 12%; left: -3%; }
  .note-two { right: -2%; bottom: 14%; }
  .category-strip { background: var(--white); }
  .category-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
  .category-card { min-height: 104px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--cream-50); transition: .22s var(--ease); }
  .category-card:hover { border-color: var(--green-500); background: var(--green-50); transform: translateY(-3px); }
  .category-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--green-800); color: white; font-family: 'Fraunces', serif; font-size: 1.15rem; }
  .category-card strong, .category-card small { display: block; }
  .category-card small { color: var(--muted); font-size: .72rem; margin-top: 3px; }
  .category-card b { color: var(--green-600); }
  .products-section { background: var(--cream-50); }
  .how-section { background: var(--green-950); color: white; }
  .how-section h2, .how-section h3 { color: white; }
  .how-section p { color: #c1d3c7; }
  .how-shell { position: relative; }
  .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 50px; }
  .steps-grid article { position: relative; min-height: 250px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 30px; background: rgba(255,255,255,.04); }
  .steps-grid article span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange-500); font-weight: 800; margin-bottom: 36px; }
  .steps-grid article h3 { font-family: 'Fraunces', serif; font-size: 1.55rem; margin-bottom: 10px; }
  .location-section { background: var(--cream-100); }
  .location-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(36px, 8vw, 100px); }
  .location-copy h2 { max-width: 550px; }
  .location-copy > p { max-width: 560px; font-size: 1.05rem; }
  .location-list { display: grid; gap: 12px; margin-top: 28px; }
  .location-list div { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,59,44,.08); border-radius: 15px; padding: 14px 16px; }
  .location-list b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green-800); color: white; font-size: .72rem; }
  .location-list span { font-weight: 700; }
  .location-art img { width: 100%; filter: drop-shadow(0 24px 40px rgba(23,59,44,.15)); }
  .page-hero { background: linear-gradient(145deg, var(--green-950), var(--green-700)); color: white; overflow: hidden; }
  .page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); margin-bottom: 18px; color: white; }
  .page-hero p { color: #d4e4d9; max-width: 700px; font-size: 1.08rem; }
  .page-hero-inner { min-height: 420px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .page-hero-inner img { width: min(35vw, 370px); align-self: end; }
  .compact-page-hero .container { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
  .compact-page-hero h1 { max-width: 850px; }
  .catalog-section { min-height: 600px; }
  .catalog-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
  .search-field { flex: 1; max-width: 620px; min-height: 54px; display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; box-shadow: var(--shadow-sm); }
  .search-field svg { width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
  .search-field input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 1rem; }
  .filter-toggle { display: none; min-height: 50px; border-radius: 999px; padding-inline: 18px; background: var(--green-50); color: var(--green-800); font-weight: 800; }
  .category-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
  .filter-chip { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: white; color: var(--muted); font-weight: 800; cursor: pointer; }
  .filter-chip.active { background: var(--green-800); border-color: var(--green-800); color: white; }
  .catalog-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
  .catalog-meta p { margin: 0; }
  .catalog-empty { text-align: center; padding: 70px 20px; }
  .catalog-empty img { margin-inline: auto; }
  .checkout-section { background: var(--cream-100); }
  .checkout-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
  .checkout-form-card, .order-summary-card { background: white; border: 1px solid rgba(23,59,44,.08); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
  .order-summary-card { position: sticky; top: calc(var(--header-h) + 22px); }
  .step-title { display: flex; align-items: start; gap: 14px; margin-bottom: 28px; }
  .step-title > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green-800); color: white; font-weight: 800; }
  .step-title h2 { font-family: 'DM Sans', sans-serif; font-size: 1.35rem; margin-bottom: 3px; }
  .step-title p { margin: 0; font-size: .86rem; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
  .field { display: grid; gap: 7px; }
  .field.full, .delivery-fields.full { grid-column: 1 / -1; }
  .delivery-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
  .field > span { font-size: .84rem; font-weight: 800; color: var(--green-900); }
  .field input, .field select, .field textarea { width: 100%; border: 1px solid #d8dfd9; border-radius: 13px; padding: 13px 14px; background: white; color: var(--ink); outline: 0; }
  .field input, .field select { min-height: 50px; }
  .field textarea { resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(60,150,100,.12); }
  .field small { min-height: 18px; color: var(--danger); font-size: .76rem; }
  .terms-check { display: flex; align-items: start; gap: 10px; margin: 22px 0; font-size: .87rem; color: var(--muted); }
  .terms-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); }
  .form-alert { background: #fff0ed; color: var(--danger); border-radius: 12px; padding: 13px 15px; margin-bottom: 15px; }
  .cart-line, .checkout-line { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cart-line img, .checkout-line img { width: 68px; height: 68px; border-radius: 13px; object-fit: cover; background: var(--cream-100); }
  .cart-line-copy strong, .cart-line-copy span { display: block; }
  .cart-line-copy span { color: var(--muted); font-size: .76rem; }
  .quantity-control { display: inline-grid; grid-template-columns: 30px minmax(32px,auto) 30px; align-items: center; margin-top: 7px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
  .quantity-control button { height: 30px; background: transparent; cursor: pointer; color: var(--green-800); font-weight: 800; }
  .quantity-control output { text-align: center; font-size: .78rem; font-variant-numeric: tabular-nums; }
  .cart-line-end { text-align: right; }
  .cart-line-end strong { display: block; font-size: .88rem; }
  .cart-line-end button { padding: 5px 0; background: transparent; color: var(--danger); font-size: .72rem; cursor: pointer; }
  .summary-empty { border: 1px dashed var(--line); border-radius: 14px; padding: 20px; text-align: center; }
  .summary-empty p { margin-bottom: 6px; }
  .summary-empty a { color: var(--green-700); font-weight: 800; }
  .summary-totals { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .summary-totals > div { display: flex; justify-content: space-between; gap: 16px; }
  .summary-totals span { color: var(--muted); }
  .summary-totals .grand-total { font-size: 1.12rem; padding-top: 11px; border-top: 1px solid var(--line); }
  .summary-note { font-size: .78rem; margin: 18px 0 0; }
  .success-page { min-height: 70vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 20%, var(--green-100), transparent 36%); }
  .success-shell { max-width: 760px; text-align: center; background: white; border-radius: 30px; padding: clamp(30px, 7vw, 70px); box-shadow: var(--shadow-lg); }
  .success-icon { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: var(--green-50); margin: 0 auto 20px; }
  .success-icon svg { width: 42px; fill: none; stroke: var(--green-700); stroke-width: 2; }
  .success-shell h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 14px; }
  .success-shell > p { font-size: 1.05rem; }
  .order-code-box { display: inline-grid; gap: 4px; margin: 18px 0 26px; padding: 14px 22px; border-radius: 15px; background: var(--cream-100); }
  .order-code-box span { color: var(--muted); font-size: .75rem; }
  .order-code-box strong { letter-spacing: .08em; font-size: 1.15rem; }
  .success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-bottom: 20px; }
  .tracking-section { background: var(--cream-100); min-height: 520px; }
  .tracking-shell { max-width: 850px; display: grid; gap: 24px; }
  .tracking-form, .tracking-result { background: white; border-radius: 24px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-sm); }
  .tracking-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; }
  .tracking-form .notice { grid-column: 1/-1; margin-bottom: 0; }
  .tracking-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
  .tracking-top span, .tracking-top strong { display: block; }
  .tracking-top > div > span { color: var(--muted); font-size: .75rem; }
  .tracking-result h2 { font-family: 'DM Sans', sans-serif; margin: 26px 0 8px; font-size: 1.5rem; }
  .tracking-result dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0 0; }
  .tracking-result dl div { background: var(--cream-50); border-radius: 13px; padding: 14px; }
  .tracking-result dt { color: var(--muted); font-size: .72rem; }
  .tracking-result dd { margin: 4px 0 0; font-weight: 800; }
  .site-footer { background: var(--green-950); color: white; padding: 72px 0 24px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
  .footer-logo { margin-bottom: 18px; }
  .footer-grid p { color: #b9cdc0; max-width: 470px; }
  .footer-grid h2 { font-family: 'DM Sans', sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: #dce9df; }
  .footer-grid a { display: block; color: #c8d9ce; margin-bottom: 8px; }
  .footer-grid a:hover { color: white; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.1); color: #8ea89a; font-size: .78rem; }
  .cart-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
  .cart-drawer.open { pointer-events: auto; visibility: visible; }
  .cart-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(8,28,20,.48); opacity: 0; transition: opacity .25s var(--ease); cursor: default; }
  .cart-drawer.open .cart-backdrop { opacity: 1; }
  .cart-panel { position: absolute; inset: 0 0 0 auto; width: min(460px, 100%); background: white; display: grid; grid-template-rows: auto 1fr auto; transform: translateX(102%); transition: transform .3s var(--ease); box-shadow: -30px 0 80px rgba(0,0,0,.16); }
  .cart-drawer.open .cart-panel { transform: translateX(0); }
  .cart-panel > header { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 24px; border-bottom: 1px solid var(--line); }
  .cart-panel > header h2 { font-family: 'DM Sans', sans-serif; font-size: 1.35rem; margin: 0; }
  .cart-panel > header .eyebrow { margin-bottom: 4px; }
  .icon-button { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-100); color: var(--green-900); font-size: 1.5rem; cursor: pointer; }
  .cart-items { overflow-y: auto; padding: 8px 24px; }
  .cart-empty { text-align: center; align-self: center; padding: 30px; }
  .cart-empty img { margin-inline: auto; }
  .cart-empty h3 { margin-bottom: 6px; }
  .cart-panel > footer { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: var(--cream-50); }
  .cart-total { display: flex; justify-content: space-between; gap: 18px; font-size: 1.05rem; }
  .cart-panel > footer p { font-size: .75rem; margin: 7px 0 14px; }
  .whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #22a95b; box-shadow: 0 15px 35px rgba(22,127,66,.32); transition: .2s var(--ease); }
  .whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
  .whatsapp-float svg { width: 31px; fill: white; }
}

@layer responsive {
  @media (max-width: 1100px) {
    .main-nav a { padding-inline: 9px; }
    .product-grid { grid-template-columns: repeat(3,1fr); }
    .category-grid { grid-template-columns: repeat(3,1fr); }
    .hero-visual { min-height: 470px; }
    .checkout-grid { grid-template-columns: 1.1fr .9fr; }
  }
  @media (max-width: 860px) {
    :root { --header-h: 72px; }
    .announcement-inner span { display: none; }
    .announcement-inner { justify-content: center; }
    .menu-toggle { display: flex; order: 2; }
    .cart-button { order: 3; }
    .cart-button > span { display: none; }
    .main-nav { position: fixed; z-index: 120; top: calc(38px + var(--header-h)); left: 18px; right: 18px; display: grid; padding: 18px; border-radius: 22px; background: white; box-shadow: var(--shadow-lg); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .2s var(--ease); }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav a { justify-content: center; }
    .hero-grid, .location-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p, .hero-trust { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { min-height: auto; padding: 30px 12px 0; }
    .hero-card-main { width: min(100%, 540px); }
    .note-one { left: 2%; }
    .note-two { right: 2%; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid article { min-height: 210px; }
    .location-copy { text-align: center; }
    .location-copy h2, .location-copy > p { margin-inline: auto; }
    .page-hero-inner { min-height: 360px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary-card { position: static; grid-row: 1; }
    .footer-grid { grid-template-columns: 1.5fr 1fr; }
    .tracking-form { grid-template-columns: 1fr 1fr; }
    .tracking-form .button { grid-column: 1/-1; }
  }
  @media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand img { width: 145px; }
    .nav-shell { gap: 9px; }
    .cart-button { width: 46px; padding: 0; justify-content: center; }
    .cart-button b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: .68rem; }
    .hero-section { padding-top: 50px; }
    .hero-copy h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
    .hero-trust { grid-template-columns: 1fr; gap: 12px; text-align: left; max-width: 320px; }
    .hero-trust div { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(23,59,44,.08); padding-bottom: 10px; }
    .floating-note { display: none; }
    .inline-heading { align-items: start; flex-direction: column; }
    .category-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .category-card { grid-template-columns: 42px 1fr; min-height: 90px; }
    .category-card b { display: none; }
    .category-icon { width: 40px; height: 40px; }
    .product-media { aspect-ratio: 1; }
    .product-body { padding: 13px; }
    .product-body h3 { font-size: 1rem; }
    .product-body p { display: none; }
    .product-category { font-size: .65rem; }
    .price strong { font-size: .98rem; }
    .add-button { width: 42px; height: 42px; }
    .steps-grid article { padding: 24px; }
    .page-hero-inner { min-height: 330px; }
    .page-hero-inner img { display: none; }
    .filter-toggle { display: inline-flex; align-items: center; }
    .catalog-toolbar { align-items: stretch; }
    .category-filters { display: none; padding: 12px; border-radius: 15px; background: white; border: 1px solid var(--line); }
    .category-filters.open { display: flex; }
    .catalog-meta { font-size: .88rem; }
    .form-grid, .delivery-fields { grid-template-columns: 1fr; }
    .field.full, .delivery-fields.full { grid-column: auto; }
    .checkout-form-card, .order-summary-card { padding: 20px; }
    .tracking-form { grid-template-columns: 1fr; }
    .tracking-form .button { grid-column: auto; }
    .tracking-result dl { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; }
    .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  }
  @media (max-width: 430px) {
    .category-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-badge { top: 8px; left: 8px; }
    .stock-pill { left: 8px; bottom: 8px; font-size: .62rem; }
    .cart-panel { width: 100%; }
    .cart-line, .checkout-line { grid-template-columns: 58px 1fr; }
    .cart-line img, .checkout-line img { width: 58px; height: 58px; }
    .cart-line-end { grid-column: 2; display: flex; justify-content: space-between; text-align: left; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
.legal-content{max-width:850px}.legal-content h2{font-family:'DM Sans',sans-serif;font-size:1.35rem;margin:34px 0 8px}.legal-content p{font-size:1rem}.legal-note{margin-top:36px;padding:18px;border-radius:14px;background:var(--cream-100);color:var(--muted);font-size:.86rem}


/* V1.1 · Fruit market visual upgrade */
.hero-fruit-market {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255,247,223,.96), rgba(236,250,231,.93)),
    var(--home-bg, none);
  background-size: cover;
  background-position: center;
}
.hero-fruit-market::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 78% 18%, rgba(230,126,50,.22), transparent 28%),
              radial-gradient(circle at 18% 72%, rgba(39,124,75,.18), transparent 30%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(90deg, rgba(31,107,67,.12) 1px, transparent 1px),
    linear-gradient(rgba(31,107,67,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-photo-stack .client-photo-card {
  overflow: hidden;
  background: #fff7df;
}
.hero-photo-stack .client-photo-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent, rgba(20,51,37,.24));
  pointer-events: none;
}
.client-photo-card img {
  min-height: 530px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.market-trust div {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(31,107,67,.1);
  backdrop-filter: blur(12px);
}
.fruit-highlight-section {
  position: relative;
  background: linear-gradient(180deg, #fff, #fff7df 88%);
}
.category-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.category-photo-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, #1f6b43, #e67e32);
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
}
.category-photo-card:nth-child(2n) { background: linear-gradient(145deg, #2d7a4f, #fff0cc); }
.category-photo-card:nth-child(3n) { background: linear-gradient(145deg, #eb8d3b, #1f6b43); }
.category-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.category-photo-card:hover img { transform: scale(1.08); }
.category-photo-card.no-photo::before {
  content: "Foto real";
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.category-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(10,35,24,.76));
}
.category-photo-copy {
  position: absolute;
  inset: auto 16px 16px 16px;
  color: #fff;
}
.category-photo-copy strong,
.category-photo-copy small {
  display: block;
}
.category-photo-copy strong {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  line-height: 1.05;
}
.category-photo-copy small {
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
}
.promo-band-section {
  background: #fff7df;
}
.promo-band-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
}
.promo-card-xl {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  align-items: flex-end;
  background: #fff;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.promo-card-xl.dark {
  background: #173126;
  color: #fff;
}
.promo-card-xl img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.promo-card-xl::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.52) 54%, transparent);
}
.promo-card-xl.dark::after {
  background: linear-gradient(90deg, rgba(23,49,38,.96), rgba(23,49,38,.62) 60%, transparent);
}
.promo-card-xl > div {
  max-width: 430px;
}
.promo-card-xl h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 7px 0 12px;
}
.promo-card-xl.dark h2,
.promo-card-xl.dark p {
  color: #fff;
}
.instagram-proof-section {
  background: linear-gradient(180deg, #f8f5ea, #fff);
}
.ig-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.ig-tile {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff1d1, #daf1df);
  box-shadow: var(--shadow-sm);
}
.ig-tile:nth-child(2n) { transform: translateY(18px); }
.ig-tile img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile.empty {
  border: 1px dashed rgba(31,107,67,.28);
}
.ig-tile.empty::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31,107,67,.12), rgba(230,126,50,.16));
}
.ig-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255,255,255,.86);
  color: var(--green-900);
  font-size: .74rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(10px);
}
.success-tip {
  text-align: left;
  border: 1px solid rgba(31,107,67,.15);
  background: #f2fbf1;
  border-radius: 18px;
  padding: 16px 18px;
  margin: 18px auto 24px;
  max-width: 640px;
}
.success-tip strong {
  color: var(--green-900);
}
.success-tip p {
  margin: 6px 0 0;
  font-size: .92rem;
}
.button-ghost {
  border: 1px solid rgba(31,107,67,.16);
  background: rgba(255,255,255,.7);
}
@media (max-width: 1180px) {
  .category-photo-grid,
  .ig-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .client-photo-card img { min-height: 390px; }
  .category-photo-grid,
  .ig-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .category-photo-card,
  .ig-tile { min-height: 180px; }
  .ig-tile:nth-child(2n) { transform: none; }
  .promo-card-xl { min-height: 320px; border-radius: 26px; }
  .promo-card-xl::after,
  .promo-card-xl.dark::after { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72)); }
  .promo-card-xl.dark::after { background: linear-gradient(180deg, rgba(23,49,38,.94), rgba(23,49,38,.68)); }
}

/* V1.2 · Identidad real + Instagram */
.brand { width: 116px; min-width: 116px; }
.brand img { width: 112px; height: auto; max-height: 78px; object-fit: contain; }
.site-header .nav-shell { min-height: 86px; }
.yaky-hero { overflow: hidden; background:
  radial-gradient(circle at 76% 18%, rgba(255,195,73,.23), transparent 25%),
  radial-gradient(circle at 18% 78%, rgba(84,168,84,.2), transparent 28%),
  linear-gradient(135deg,#f6f3df 0%,#eef5e7 52%,#f9eee0 100%); }
.yaky-hero::before { content:""; position:absolute; inset:0; opacity:.18; background-image:var(--home-bg,none); background-size:cover; background-position:center; mix-blend-mode:multiply; }
.hero-orbit { position:absolute; border-radius:50%; border:1px solid rgba(31,107,67,.13); animation:yakyOrbit 16s linear infinite; pointer-events:none; }
.orbit-one { width:520px; height:520px; right:-120px; top:-160px; }
.orbit-two { width:300px; height:300px; left:-120px; bottom:-100px; animation-direction:reverse; animation-duration:12s; }
@keyframes yakyOrbit { to { transform:rotate(360deg); } }
.yaky-hero-card { min-height:560px; background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,236,.88)); border:1px solid rgba(28,80,55,.1); box-shadow:0 32px 90px rgba(20,61,43,.17); display:grid; place-items:center; overflow:hidden; }
.yaky-hero-card img { width:min(92%,680px); height:auto; max-height:530px; object-fit:contain; filter:drop-shadow(0 24px 30px rgba(20,45,30,.16)); animation:yakyFloat 5.5s ease-in-out infinite; }
@keyframes yakyFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }
.instagram-live-section { background:linear-gradient(180deg,#fff 0%,#f4f7f1 100%); }
.instagram-live-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:22px; align-items:start; }
.instagram-live-card { background:#fff; border:1px solid rgba(24,49,38,.08); border-radius:24px; padding:18px; box-shadow:0 18px 55px rgba(24,49,38,.08); overflow:hidden; }
.instagram-live-card.featured { grid-row:span 3; position:sticky; top:112px; }
.instagram-live-label { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:2px 4px 14px; }
.instagram-live-label span { color:#e27932; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.instagram-live-label strong { color:#345444; font-size:.8rem; text-align:right; }
.instagram-embed-shell { min-height:340px; display:grid; place-items:center; border-radius:16px; overflow:hidden; background:#f6f6f2; }
.instagram-embed-shell .instagram-media { margin:0!important; min-width:0!important; width:100%!important; max-width:100%!important; }
.instagram-empty-state { display:grid; grid-template-columns:240px 1fr; gap:28px; align-items:center; padding:34px; border-radius:24px; background:#fff; box-shadow:0 18px 55px rgba(24,49,38,.08); }
.instagram-empty-state img { width:220px; height:auto; }
.yaky-location-brand { display:grid; place-items:center; min-height:430px; border-radius:28px; background:radial-gradient(circle at center,#fff 0%,#edf5e9 66%,#dcebdc 100%); overflow:hidden; }
.yaky-location-brand img { width:min(78%,520px); height:auto; filter:drop-shadow(0 24px 35px rgba(26,62,42,.15)); }

@media (max-width: 980px) {
  .instagram-live-grid { grid-template-columns:1fr; }
  .instagram-live-card.featured { position:relative; top:auto; grid-row:auto; }
  .yaky-hero-card { min-height:430px; }
}
@media (max-width: 720px) {
  .brand { width:82px; min-width:82px; }
  .brand img { width:80px; max-height:62px; }
  .site-header .nav-shell { min-height:72px; }
  .yaky-hero-card { min-height:350px; }
  .yaky-hero-card img { max-height:330px; }
  .instagram-live-card { padding:12px; border-radius:18px; }
  .instagram-live-label { align-items:flex-start; flex-direction:column; }
  .instagram-live-label strong { text-align:left; }
  .instagram-empty-state { grid-template-columns:1fr; text-align:center; }
  .instagram-empty-state img { margin:auto; }
}
