:root {
  --green-900: #0b6034;
  --green-800: #0f743d;
  --green-700: #128746;
  --green-600: #1ea75b;
  --green-100: #def5e7;
  --green-50: #f1fbf5;
  --orange: #ff9f1c;
  --orange-soft: #fff0d6;
  --ink: #15221a;
  --muted: #647068;
  --line: #e2e8e4;
  --soft: #f6f8f6;
  --white: #ffffff;
  --danger: #d74941;
  --shadow: 0 16px 48px rgba(20, 55, 34, .10);
  --shadow-sm: 0 8px 24px rgba(20, 55, 34, .08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(226,232,228,.85);
  backdrop-filter: blur(18px);
}
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; border-radius: 15px; }
.brand strong { display: block; font-size: 19px; line-height: 1.1; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; font-weight: 800; color: var(--green-800); }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(30,167,91,.12); }
.status-pill.closed { color: var(--danger); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .cart-button, .close-button {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  transition: .2s ease;
}
.icon-button { width: 44px; height: 44px; border-radius: 14px; font-size: 24px; display: grid; place-items: center; }
.icon-button:hover, .cart-button:hover { background: var(--green-100); color: var(--green-800); transform: translateY(-1px); }
.cart-button { position: relative; min-width: 76px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.cart-button b { min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px; color: white; background: var(--green-700); display: grid; place-items: center; font-size: 11px; }

.hero-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(255,255,255,.14) 0 120px, transparent 121px),
    radial-gradient(circle at 85% 55%, rgba(255,255,255,.10) 0 180px, transparent 181px),
    linear-gradient(135deg, #0b6034 0%, #128746 55%, #1ea75b 100%);
  color: white;
  min-height: 600px;
  display: grid;
  align-items: center;
}
.hero-grid { min-height: 600px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 68px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; font-weight: 800; color: #bdf1cf; }
.eyebrow.dark { color: var(--green-700); }
.hero-copy h1 { margin: 16px 0 18px; max-width: 730px; font-size: clamp(44px, 6vw, 74px); line-height: .99; letter-spacing: -.055em; }
.hero-copy h1 span { color: #f8c45a; }
.hero-copy > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.primary-button, .secondary-button, .whatsapp-button {
  border: 0;
  border-radius: 15px;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 800;
  transition: .2s ease;
}
.primary-button { background: var(--orange); color: #432600; box-shadow: 0 12px 26px rgba(255,159,28,.24); }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.03); }
.primary-button.full { width: 100%; }
.secondary-button { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.22); }
.secondary-button:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.secondary-button.small { min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--green-50); border-color: var(--green-100); color: var(--green-800); white-space: nowrap; }
.trust-row { display: flex; gap: 34px; margin-top: 36px; }
.trust-row div { border-left: 1px solid rgba(255,255,255,.22); padding-left: 15px; }
.trust-row b { display: block; font-size: 19px; }
.trust-row span { display: block; color: rgba(255,255,255,.67); font-size: 12px; margin-top: 3px; }
.hero-card { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-bag {
  position: relative;
  width: min(390px, 88vw);
  min-height: 360px;
  padding: 82px 35px 35px;
  border-radius: 42px 42px 74px 74px;
  background: linear-gradient(155deg, #fffdf8, #eefbf2);
  color: var(--ink);
  box-shadow: 0 36px 80px rgba(0,0,0,.24);
  transform: rotate(2deg);
  text-align: center;
}
.bag-handle { position: absolute; width: 180px; height: 100px; border: 18px solid #d8efdf; border-bottom: 0; border-radius: 100px 100px 0 0; top: -55px; left: 50%; transform: translateX(-50%); }
.bag-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; font-size: 76px; filter: drop-shadow(0 8px 10px rgba(31,94,55,.12)); }
.hero-bag strong { display: block; font-size: 24px; margin-top: 20px; }
.hero-bag small { color: var(--muted); display: block; margin-top: 7px; }
.hero-orbit, .floating-note { position: absolute; z-index: 2; animation: float 4s ease-in-out infinite; }
.hero-orbit { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; font-size: 40px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.orbit-1 { left: 1%; top: 20%; transform: rotate(-10deg); }
.orbit-2 { right: 2%; top: 7%; animation-delay: .7s; }
.orbit-3 { right: 0; bottom: 9%; animation-delay: 1.4s; }
.floating-note { background: white; color: var(--ink); padding: 12px 15px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 800; font-size: 12px; }
.note-top { right: 3%; top: 30%; animation-delay: .4s; }
.note-bottom { left: -2%; bottom: 7%; animation-delay: 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.info-strip { position: relative; z-index: 5; margin-top: -32px; padding: 23px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.info-strip > div { display: flex; align-items: center; gap: 13px; padding-right: 18px; border-right: 1px solid var(--line); }
.info-strip > div:last-child { border-right: 0; padding-right: 0; }
.info-strip > div > span { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 13px; display: grid; place-items: center; background: var(--green-50); }
.info-strip p { margin: 0; min-width: 0; }
.info-strip b, .info-strip small { display: block; }
.info-strip b { font-size: 13px; }
.info-strip small { color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.promo-banner { margin-top: 70px; min-height: 205px; border-radius: var(--radius-xl); padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; background: linear-gradient(120deg, #fff3db, #ffe2a6); position: relative; }
.promo-banner::after { content: ''; position: absolute; inset: auto -50px -85px auto; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.4); }
.promo-tag { display: inline-flex; border-radius: 999px; padding: 7px 11px; background: #3b2500; color: white; font-weight: 800; font-size: 10px; letter-spacing: .12em; }
.promo-banner h2 { margin: 12px 0 8px; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.035em; }
.promo-banner p { margin: 0; color: #6e552a; }
.promo-visual { position: relative; z-index: 2; font-size: 108px; transform: rotate(9deg); filter: drop-shadow(0 12px 18px rgba(128,74,0,.16)); }

.catalog-section { padding-block: 96px 55px; scroll-margin-top: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading.compact { align-items: start; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.08; }
.search-box { width: min(390px, 100%); height: 52px; border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; display: flex; align-items: center; gap: 9px; background: white; box-shadow: var(--shadow-sm); }
.search-box > span { color: var(--green-700); font-size: 23px; }
.search-box input { flex: 1; border: 0; outline: 0; min-width: 0; color: var(--ink); }
.search-box button { width: 28px; height: 28px; border: 0; border-radius: 9px; background: var(--soft); color: var(--muted); }
.category-tabs { margin-top: 32px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); padding: 11px 16px; display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; transition: .2s ease; }
.category-tab:hover, .category-tab.active { color: white; border-color: var(--green-700); background: var(--green-700); }
.catalog-toolbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-toolbar select { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 34px 10px 12px; outline: 0; color: var(--ink); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; overflow: hidden; transition: .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; height: 210px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--green-50), #eef3ed); }
.product-media::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.66); }
.product-media.has-image::before { display: none; }
.product-media.has-image { background: #eef3ed; }
.product-emoji { position: relative; z-index: 1; font-size: 88px; filter: drop-shadow(0 12px 15px rgba(19,76,42,.18)); transition: .25s ease; }
.product-card:hover .product-emoji { transform: scale(1.08) rotate(2deg); }
.product-badge { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .08em; color: var(--green-900); background: rgba(255,255,255,.88); backdrop-filter: blur(6px); }
.product-badge.sale { color: #7b4100; background: #ffdb9c; }
.product-favorite { position: absolute; z-index: 3; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 11px; color: #718078; background: rgba(255,255,255,.88); display: grid; place-items: center; }
.product-favorite.active { color: var(--danger); }
.product-body { padding: 17px; }
.product-category { color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-title { margin: 7px 0 6px; font-size: 16px; line-height: 1.35; }
.product-meta { color: var(--muted); font-size: 11px; min-height: 31px; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 9px; margin-top: 15px; }
.product-price strong { display: block; color: var(--green-800); font-size: 17px; }
.product-price del { display: block; color: #a0aaa4; font-size: 10px; margin-top: 2px; }
.add-button { width: 42px; height: 42px; border: 0; border-radius: 13px; background: var(--green-700); color: white; font-size: 23px; font-weight: 600; transition: .2s ease; }
.add-button:hover { background: var(--green-900); transform: scale(1.05); }
.add-button:disabled { background: #c7d0ca; cursor: not-allowed; transform: none; }
.stock-note { margin-top: 11px; font-size: 10px; color: var(--muted); }
.stock-note.low { color: #c46800; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--soft); }
.empty-state > div { font-size: 65px; }
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { margin: 0; color: var(--muted); }

.how-section { padding-block: 65px 110px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.step-grid article { position: relative; min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, white, var(--green-50)); }
.step-grid article > b { position: absolute; right: 20px; top: 18px; color: #cfe7d7; font-size: 42px; }
.step-grid article > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); font-size: 25px; }
.step-grid h3 { margin: 24px 0 8px; }
.step-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

footer { background: #0b1d12; color: white; padding: 62px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 55px; height: 55px; border-radius: 16px; }
.footer-brand strong { font-size: 22px; }
.footer-brand p { margin: 6px 0 0; color: #9eb2a4; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div > b { margin-bottom: 7px; }
.footer-grid a { color: #aebeb2; font-size: 13px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 45px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; gap: 20px; color: #819286; font-size: 11px; }

.overlay { position: fixed; z-index: 80; inset: 0; background: rgba(7,24,13,.54); backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(460px, 100%); height: 100dvh; padding: 27px; background: white; box-shadow: -25px 0 70px rgba(4,31,15,.18); transform: translateX(105%); transition: .3s cubic-bezier(.22,.75,.25,1); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header, .checkout-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.drawer-header h2, .checkout-header h2 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.035em; }
.close-button { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 13px; font-size: 24px; display: grid; place-items: center; }
.close-button:hover { background: #feeceb; color: var(--danger); }
.cart-items { flex: 1; min-height: 0; overflow-y: auto; margin-top: 20px; padding-right: 3px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-media { width: 70px; height: 70px; border-radius: 17px; display: grid; place-items: center; overflow: hidden; font-size: 36px; background: var(--green-50); }
.cart-product-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-fallback-emoji { display: grid; width: 100%; height: 100%; place-items: center; font-size: inherit; }
.cart-item-info b { display: block; font-size: 13px; }
.cart-item-info small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.cart-item-info strong { display: block; color: var(--green-800); font-size: 13px; margin-top: 9px; }
.quantity-control { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.quantity-control button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.quantity-control span { font-weight: 800; font-size: 12px; }
.cart-empty { margin: auto; text-align: center; padding: 45px 20px; }
.cart-empty > div { font-size: 66px; }
.cart-empty h3 { margin: 13px 0 7px; }
.cart-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-summary { padding-top: 18px; border-top: 1px solid var(--line); }
.minimum-progress { margin-bottom: 15px; }
.minimum-progress span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 7px; }
.minimum-progress > div { height: 6px; background: #eaf0ec; border-radius: 999px; overflow: hidden; }
.minimum-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--orange); transition: .3s ease; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 9px 0; font-size: 13px; }
.summary-line.muted { color: var(--muted); font-size: 10px; }
.summary-line.discount { color: var(--green-700); }

.modal { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(830px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 26px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.25); transform: translate(-50%, -46%) scale(.96); opacity: 0; visibility: hidden; transition: .25s ease; }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.modal-close { position: absolute; right: 17px; top: 17px; z-index: 4; }
.product-modal-grid { display: grid; grid-template-columns: .95fr 1.05fr; }
.product-modal-media { min-height: 480px; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-50), #eaf5eb); font-size: 145px; }
.product-modal-info { padding: 42px; }
.product-modal-info h2 { margin: 9px 0 8px; font-size: 35px; letter-spacing: -.04em; }
.product-modal-info > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.modal-price { margin: 20px 0; color: var(--green-800); font-size: 24px; font-weight: 800; }
.variant-label { display: block; margin: 20px 0 9px; font-size: 11px; font-weight: 800; }
.variant-list { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-button { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px 12px; color: var(--muted); font-weight: 700; font-size: 11px; }
.variant-button.active { background: var(--green-700); color: white; border-color: var(--green-700); }
.modal-add-row { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.modal-qty { height: 50px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.modal-qty button { width: 42px; height: 100%; border: 0; background: white; font-size: 20px; }
.modal-qty span { min-width: 34px; text-align: center; font-weight: 800; }
.modal-add-row .primary-button { flex: 1; }

.checkout-modal { width: min(1130px, calc(100% - 30px)); padding: 28px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 365px; gap: 26px; margin-top: 22px; }
.checkout-form { min-width: 0; }
.form-section { padding: 23px 0; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 5px; }
.form-section-title { display: flex; gap: 12px; align-items: start; margin-bottom: 17px; }
.form-section-title > b { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 10px; display: grid; place-items: center; color: white; background: var(--green-700); font-size: 12px; }
.form-section-title h3 { margin: 0; font-size: 15px; }
.form-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.option-grid { display: grid; gap: 10px; }
.option-grid.two { grid-template-columns: repeat(2, 1fr); }
.option-grid.three { grid-template-columns: repeat(3, 1fr); }
.select-card { position: relative; min-height: 78px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; gap: 11px; align-items: center; cursor: pointer; transition: .2s ease; }
.select-card:hover, .select-card.active { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.select-card input { position: absolute; opacity: 0; }
.select-card > span { font-size: 23px; }
.select-card b, .select-card small { display: block; }
.select-card b { font-size: 12px; }
.select-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.field-grid { display: grid; gap: 12px; }
.field-grid.two { grid-template-columns: repeat(2, 1fr); }
.checkout-form label:not(.select-card) { display: block; margin-top: 12px; color: #536158; font-size: 10px; font-weight: 800; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 12px; outline: 0; padding: 12px 13px; color: var(--ink); background: white; font-size: 12px; transition: .2s ease; }
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(30,167,91,.10); }
.location-box { margin-top: 12px; padding: 13px; border: 1px dashed #b7d9c3; border-radius: 15px; background: var(--green-50); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.location-box > div { display: flex; align-items: center; gap: 10px; }
.location-box > div > span { font-size: 23px; }
.location-box p { margin: 0; }
.location-box b, .location-box small { display: block; }
.location-box b { font-size: 11px; }
.location-box small { color: var(--muted); margin-top: 3px; font-size: 9px; }
.coupon-field { display: flex; gap: 7px; }
.coupon-field input { margin-top: 7px; }
.coupon-field button { margin-top: 7px; border: 0; border-radius: 11px; padding-inline: 14px; background: var(--green-700); color: white; font-weight: 800; font-size: 10px; }
#coupon-message { display: block; min-height: 14px; margin-top: 4px; color: var(--green-700); }
.checkout-summary { align-self: start; position: sticky; top: 0; padding: 22px; border-radius: 20px; background: #f7faf8; border: 1px solid var(--line); }
.checkout-summary h3 { margin: 0 0 18px; }
.checkout-items { max-height: 190px; overflow-y: auto; margin-bottom: 15px; }
.checkout-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 9px; align-items: center; margin-bottom: 10px; }
.checkout-item > span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; overflow: hidden; background: white; }
.checkout-product-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.checkout-item p { margin: 0; font-size: 10px; }
.checkout-item small { color: var(--muted); }
.checkout-item b { font-size: 10px; }
.summary-total { margin: 17px 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.summary-total span { color: var(--muted); font-size: 10px; }
.summary-total b { color: var(--green-800); font-size: 22px; }
.checkout-note { margin: 0 0 14px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.whatsapp-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: #20b85a; color: white; box-shadow: 0 12px 24px rgba(32,184,90,.2); }
.whatsapp-button:hover { background: #139c47; transform: translateY(-2px); }

.toast { position: fixed; z-index: 130; left: 50%; bottom: 32px; min-width: 280px; max-width: calc(100% - 32px); padding: 13px 16px; border-radius: 14px; color: white; background: #14261b; box-shadow: var(--shadow); transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: .25s ease; text-align: center; font-size: 12px; font-weight: 700; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero-copy h1 { font-size: 50px; }
  .hero-bag { width: 315px; min-height: 330px; }
  .bag-content { font-size: 62px; }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .info-strip > div:nth-child(2) { border-right: 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr 320px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { min-height: 65px; }
  .brand img { width: 40px; height: 40px; border-radius: 12px; }
  .brand strong { font-size: 16px; }
  .status-pill { font-size: 9px; }
  .header-actions .icon-button { display: none; }
  .cart-button { min-width: 61px; height: 40px; }
  .hero-section { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 48px 70px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions button { width: 100%; }
  .trust-row { gap: 17px; justify-content: space-between; }
  .trust-row div { padding-left: 9px; }
  .hero-card { min-height: 380px; margin-top: 16px; }
  .hero-bag { width: 270px; min-height: 300px; padding-top: 72px; }
  .bag-content { font-size: 54px; }
  .hero-orbit { width: 60px; height: 60px; font-size: 30px; border-radius: 18px; }
  .floating-note { font-size: 10px; }
  .info-strip { margin-top: -28px; grid-template-columns: 1fr 1fr; gap: 0; padding: 11px; }
  .info-strip > div { padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .info-strip > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .info-strip > div:nth-child(3), .info-strip > div:nth-child(4) { border-bottom: 0; }
  .info-strip > div > span { width: 35px; height: 35px; flex-basis: 35px; font-size: 14px; }
  .info-strip b { font-size: 10px; }
  .info-strip small { font-size: 8px; }
  .promo-banner { margin-top: 45px; padding: 28px 25px; min-height: 180px; }
  .promo-banner h2 { font-size: 27px; }
  .promo-banner p { font-size: 11px; line-height: 1.5; }
  .promo-visual { font-size: 68px; }
  .catalog-section { padding-top: 65px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 20px; }
  .search-box { width: 100%; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; padding-block: 17px; gap: 10px; }
  .catalog-toolbar select { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-media { height: 155px; }
  .product-emoji { font-size: 63px; }
  .product-body { padding: 13px; }
  .product-title { font-size: 13px; }
  .product-meta { font-size: 9px; }
  .product-price strong { font-size: 13px; }
  .add-button { width: 36px; height: 36px; border-radius: 11px; }
  .step-grid { grid-template-columns: 1fr; }
  .how-section { padding-bottom: 70px; }
  footer { padding-bottom: 35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .mobile-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding: 8px 15px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); display: grid; grid-template-columns: repeat(4, 1fr); }
  .mobile-nav a, .mobile-nav button { position: relative; border: 0; background: transparent; color: #77847b; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; font-size: 8px; font-weight: 800; }
  .mobile-nav span { font-size: 20px; line-height: 1; }
  .mobile-nav .active { color: var(--green-700); }
  .mobile-nav em { position: absolute; top: 0; right: 16%; min-width: 17px; height: 17px; border-radius: 999px; display: grid; place-items: center; background: var(--green-700); color: white; font-style: normal; font-size: 7px; }
  .cart-drawer { padding: 22px 18px calc(80px + env(safe-area-inset-bottom)); }
  .modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 22px; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-media { min-height: 260px; font-size: 100px; }
  .product-modal-info { padding: 25px; }
  .product-modal-info h2 { font-size: 27px; }
  .checkout-modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; padding: 20px 15px 95px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .option-grid.three { grid-template-columns: 1fr; }
  .option-grid.two, .field-grid.two { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 22px); }
  .promo-visual { display: none; }
  .product-grid { gap: 9px; }
  .product-media { height: 135px; }
  .product-emoji { font-size: 54px; }
  .product-badge { left: 8px; top: 8px; font-size: 7px; }
  .product-favorite { width: 28px; height: 28px; right: 8px; top: 8px; }
  .product-body { padding: 11px; }
  .product-title { min-height: 35px; }
}

.product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: inherit;
}

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

.product-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: inherit;
}


/* v2.3: branding dinamis, legal, QRIS, dan responsivitas info toko */
.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-link-button:hover { color: var(--green-700); }
.legal-modal { width: min(760px, calc(100% - 26px)); padding: 26px; }
.legal-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.legal-modal-head h2 { margin: 7px 0 0; }
.legal-content { margin-top: 20px; max-height: min(55vh, 540px); overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); color: var(--muted); white-space: pre-wrap; line-height: 1.75; }
.legal-whatsapp { margin-top: 16px; text-decoration: none; }
.qris-checkout-panel { margin-top: 14px; padding: 14px; border: 1px solid #cfe4d6; border-radius: 16px; background: #f5fbf7; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.qris-checkout-panel[hidden] { display: none; }
.qris-checkout-image { width: 132px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.qris-checkout-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qris-checkout-panel h4 { margin: 7px 0 5px; font-size: 17px; }
.qris-checkout-panel p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.info-strip > div { min-width: 0; }
.info-strip small { line-height: 1.35; }
@media (max-width: 600px) {
  .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .info-strip > div { align-items: flex-start; min-height: 78px; }
  .info-strip p { min-width: 0; overflow: visible; }
  .info-strip small { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: 10px; }
  .info-strip b { font-size: 11px; }
  .qris-checkout-panel { grid-template-columns: 92px 1fr; padding: 11px; gap: 12px; }
  .qris-checkout-image { width: 92px; }
}
@media (max-width: 340px) {
  .info-strip { grid-template-columns: 1fr; }
  .info-strip > div, .info-strip > div:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-strip > div:last-child { border-bottom: 0; }
}
.brand > div, .footer-brand > div { min-width: 0; }
.brand strong { max-width: min(42vw, 320px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-brand strong { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .brand strong { max-width: 48vw; }
}
