:root{--bg:#f7f8f5;--surface:#fff;--surface-soft:#f4f6f2;--ink:#101828;--muted:#667085;--muted-2:#98a2b3;--line:#e5e7eb;--line-strong:#d0d5dd;--brand:#14532d;--brand-2:#16a34a;--danger:#e11d48;--warning:#f59e0b;--whatsapp:#22c55e;--shadow:0 1px 2px rgba(16,24,40,.05),0 12px 30px rgba(16,24,40,.07);--radius:20px;--header-h:120px;--bottom-h:76px}
*{margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;overflow:hidden}
body,button,input,select,textarea{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,Helvetica,sans-serif!important;font-weight:400;letter-spacing:0}
body{background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button{border:0;background:none;touch-action:manipulation}
.svg-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}

.site-header.header{position:fixed;top:0;left:0;right:0;z-index:40;min-height:0;height:calc(var(--header-h) + var(--safe-top));padding:calc(12px + var(--safe-top)) 16px 12px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.header-inner{max-width:1180px;margin:0 auto;display:grid;gap:10px}
.header-top{max-width:none;margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-logo,.brand img{width:148px;height:42px;object-fit:contain}
.brand-text{display:none;line-height:1.05}
.header-actions{display:flex;align-items:center;gap:8px}
.header-favorites-btn,.header-cart-btn,.header-menu-btn{position:relative;min-height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center}
.header-favorites-btn{width:44px}
.header-favorites-count,.header-cart-count,.favorites-badge,.cart-badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:11px;font-weight:800}
.header-cart-btn{padding:6px 12px;gap:9px;text-align:left}
.header-cart-btn>span:last-child{display:grid;gap:1px}
.header-cart-btn small{font-size:10px;color:var(--muted)}
.header-cart-btn strong{font-size:13px;font-weight:700}
.header-cart-icon{position:relative;display:grid;place-items:center}
.header-menu-btn{width:44px;padding:0}
.hamburger{width:20px;display:grid;gap:4px}
.hamburger span{display:block;height:2px;border-radius:99px;background:currentColor}
.header-menu-text{display:none}
.search-wrap.search-form{max-width:none;margin:0;position:relative;height:48px;padding:0;background:transparent;border:0;box-shadow:none;display:flex;align-items:center}
.search-wrap>.svg-icon{position:absolute;left:15px;color:var(--muted);pointer-events:none;z-index:1}
.search-input,.search-form input{width:100%;height:48px;padding:0 58px 0 46px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;outline:0;font-size:15px;font-weight:500;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.search-input:focus,.search-form input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(22,163,74,.10)}
.search-clear{position:absolute;right:2px;top:2px;width:44px;height:44px;border-radius:999px;background:transparent;color:var(--muted);display:grid;place-items:center}
.search-clear[hidden]{display:none!important}

.app{position:fixed;top:calc(var(--header-h) + var(--safe-top));left:0;right:0;height:calc(100dvh - var(--header-h) - var(--safe-top));overflow-y:auto;overflow-x:hidden;padding:16px 12px calc(var(--bottom-h) + var(--safe-bottom) + 18px);background:#fff;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.app::-webkit-scrollbar,.horizontal-rail::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
.page-container{width:100%;max-width:1180px;margin:0 auto;overflow-x:hidden}
.page-header{display:flex;align-items:center;gap:10px;margin:2px 0 18px}
.page-header h1{font-size:24px;line-height:1.1;font-weight:700;letter-spacing:-.02em}
.page-header p{margin-top:4px;color:var(--muted);font-size:13px;font-weight:400}
.back-button{width:44px;height:44px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:0;display:grid;place-items:center}
.back-button::before{content:'←';font-size:22px}
.home-page{padding-bottom:10px}
.primary-button,.secondary-button,.danger-button,.send-order{min-height:44px;padding:0 16px;border-radius:14px;font-weight:600;box-shadow:none}
.primary-button{background:#121212;color:#fff}
.secondary-button{background:#fff;color:var(--ink);border:1px solid var(--line)}

.content-section{margin-top:38px}
.section-heading{margin:0 2px 15px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.section-heading h2{margin:0;font-size:clamp(22px,3vw,30px);line-height:1.08;font-weight:700;letter-spacing:-.03em}
.section-heading p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.section-heading>a{min-height:38px;padding:0 13px;border:1px solid var(--line);border-radius:999px;display:inline-flex;align-items:center;color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}

.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
.horizontal-rail{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;padding:2px 1px 8px;scroll-snap-type:x proximity}
.product-card{position:relative;min-width:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;display:flex;flex-direction:column;content-visibility:auto;contain-intrinsic-size:280px}
.product-card.compact{width:148px;min-width:148px;flex:0 0 148px;scroll-snap-align:start}
.product-card-media{position:relative;width:100%;height:auto;aspect-ratio:1/1;border:0;border-radius:22px;background:#f7f7f7;overflow:hidden;display:grid;place-items:center}
.product-card-media>a{width:100%;height:100%;display:grid;place-items:center}
.product-card-media img{width:100%;height:100%;object-fit:contain;padding:8px;mix-blend-mode:multiply;filter:contrast(1.02) saturate(1.01)}
.favorite-button{position:absolute;z-index:2;top:8px;right:8px;width:40px;height:40px;border:1px solid rgba(229,231,235,.9);border-radius:999px;background:rgba(255,255,255,.95);color:var(--muted);font-size:22px;display:grid;place-items:center}
.favorite-button.active{color:#d92d20;background:#fff1f0}
.discount-badge{position:absolute;z-index:2;left:8px;top:8px;min-height:32px;padding:0 9px;border-radius:10px;background:linear-gradient(135deg,#e11d48,#be123c);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;box-shadow:0 7px 17px rgba(190,18,60,.22)}
.product-card-body{padding:11px 1px 0;display:flex;flex:1;flex-direction:column;gap:7px}
.product-packaging{min-height:14px;color:var(--muted);font-size:10.5px;font-weight:600;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-name{min-height:36px;color:var(--ink);font-size:13px;line-height:1.32;font-weight:500;letter-spacing:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product-expiry{color:#5f6f65;font-size:11px;line-height:1.25}
.product-card-footer{margin-top:auto;min-height:42px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.product-price{min-width:0;display:grid;gap:2px}
.product-price s{color:var(--muted-2);font-size:11px;font-weight:500}
.product-price strong{color:var(--ink);font-size:17px;line-height:1.05;font-weight:700;letter-spacing:-.035em}
.qty-add{flex:0 0 auto;width:40px;height:40px;border-radius:14px;background:#121212;color:#fff;font-size:24px;font-weight:400;display:grid;place-items:center}
.qty-add:disabled{background:#d8d8d8}
.qty-control{width:94px;height:40px;display:grid;grid-template-columns:31px 1fr 31px;align-items:center;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.qty-control button{height:100%;min-width:31px;background:#fff;color:var(--ink);font-size:17px}
.qty-control span{text-align:center;font-size:13px;font-weight:700}

.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.category-card{min-height:104px;padding:14px;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:none;overflow:hidden}
.category-card img{width:64px;height:64px;object-fit:contain;padding:3px;border-radius:16px;background:#f7f7f7;mix-blend-mode:multiply}
.category-card span{min-width:0;display:grid;gap:5px}
.category-card strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.category-card small{color:var(--muted);font-size:11.5px}
.chips{display:flex;gap:8px;overflow-x:auto;margin-bottom:16px;padding:1px 1px 8px}
.chip{min-height:36px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}
.chip.active{background:#121212;border-color:#121212;color:#fff}

.bundle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}
.bundle-card{min-width:0;padding:0;display:flex;flex-direction:column;gap:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.bundle-media-wrap{position:relative}
.bundle-media{width:100%;height:auto;aspect-ratio:1/1;border-radius:22px;background:#f7f7f7;overflow:hidden;display:grid;place-items:center}
.bundle-media img{width:100%;height:100%;object-fit:contain;padding:5px;mix-blend-mode:normal;filter:none}
.bundle-card>div:last-child{padding-top:11px;display:grid;align-content:start;gap:7px}
.bundle-name{font-size:15px;font-weight:600;line-height:1.25}
.bundle-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.bundle-price{margin:0;display:grid;gap:2px}
.bundle-price s{color:var(--muted-2);font-size:11px}
.bundle-price strong{font-size:18px;font-weight:700}
.bundle-actions{margin-top:2px;display:flex;gap:8px;flex-wrap:wrap}
.bundle-actions .primary-button,.bundle-actions .secondary-button,.bundle-card .secondary-button{min-height:42px}
.bundle-detail-hero{border:0;border-radius:0;background:#fff;padding:0;box-shadow:none}
.bundle-detail-hero>img{border-radius:26px;background:#f7f7f7}

.product-detail{padding:0;border:0;border-radius:0;background:#fff;box-shadow:none;display:grid;gap:26px}
.product-detail-media{padding:0}
.product-detail-image{background:#f7f7f7;border-radius:28px;overflow:hidden}
.product-detail-image img{mix-blend-mode:multiply}
.product-detail-info{padding:4px 0;display:grid;align-content:start;gap:14px}
.product-detail-info h1{font-size:clamp(28px,4vw,46px);line-height:1.03;font-weight:600;letter-spacing:-.04em}
.detail-price strong{font-weight:700}
.product-description{color:var(--muted);line-height:1.65}

.banner-zone{margin-bottom:22px}
.banner-track{display:flex;gap:14px;overflow-x:auto;padding:1px 1px 8px;scroll-snap-type:x proximity}
.banner-track::-webkit-scrollbar{display:none}
.banner-card{flex:0 0 min(76vw,290px);aspect-ratio:4/5;border-radius:24px;overflow:hidden;background:#f7f7f7;scroll-snap-align:start}
.banner-card img{width:100%;height:100%;object-fit:cover}

.bottom-bar{position:fixed;z-index:35;left:0;right:0;bottom:0;min-height:calc(var(--bottom-h) + var(--safe-bottom));padding:8px 8px calc(8px + var(--safe-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);display:flex;align-items:stretch}
.sidebar-brand{display:none}
.bottom-nav{position:static;min-height:0;padding:0;border:0;box-shadow:none;background:transparent;width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.bottom-nav .nav-item{position:relative;min-width:0;height:58px;padding:0;border-radius:14px;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:600}
.bottom-nav .nav-item .svg-icon{width:21px;height:21px}
.bottom-nav .nav-item.active{background:#f7f7f7;color:var(--brand-2)}
.bottom-nav .nav-item span:not(.cart-badge):not(.favorites-badge){font-size:10px}

.drawer{background:#fff;border-left:1px solid var(--line);box-shadow:none}
.drawer-header{background:#fff;border-bottom:1px solid var(--line)}
.drawer-header strong{font-weight:700}
.drawer-overlay{background:rgba(0,0,0,.28)}
.field,.checkout-field input,.checkout-field select,.checkout-field textarea,.payment-option{border:1px solid var(--line)!important;background:#fff!important;border-radius:14px!important;box-shadow:none!important}
.checkout-section,.checkout-summary,.menu-card,.empty-state{background:#fff!important;border:1px solid var(--line)!important;border-radius:20px!important;box-shadow:none!important}
.send-order{background:var(--brand-2);color:#fff}
.toast{box-shadow:none;border:1px solid var(--line)}

@media(max-width:767px){
  .header-cart-btn>span:last-child{display:none}
  .content-section{margin-top:34px}
  .section-heading{align-items:flex-start}
  .section-heading h2{font-size:26px}
  .section-heading p{font-size:12.5px}
  .product-grid{gap:24px 14px}
  .bundle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
  .bundle-card p{display:none}
  .category-card{grid-template-columns:54px minmax(0,1fr);padding:11px;min-height:88px}
  .category-card img{width:54px;height:54px}
  .banner-card{flex-basis:72vw}
}

@media(min-width:768px){
  :root{--header-h:84px;--bottom-h:0px}
  .site-header.header{left:248px;right:0;width:auto;height:calc(var(--header-h) + var(--safe-top));padding:calc(14px + var(--safe-top)) 28px 14px}
  .header-inner{max-width:1180px;grid-template-columns:minmax(0,1fr) auto;gap:16px}
  .header-top{grid-column:2;grid-row:1}
  .header-top .brand{display:none}
  .header-favorites-btn{display:inline-flex}
  .header-menu-btn{display:none}
  .search-wrap.search-form{grid-column:1;grid-row:1;max-width:none}
  .app{left:248px;top:calc(var(--header-h) + var(--safe-top));height:calc(100dvh - var(--header-h) - var(--safe-top));padding:26px 28px 44px}
  .page-container{max-width:1180px}
  .bottom-bar{top:0;left:0;right:auto;bottom:0;width:248px;height:100dvh;min-height:0;padding:22px 18px;border:0;border-right:1px solid var(--line);background:#fff;flex-direction:column;align-items:stretch;gap:16px}
  .sidebar-brand{display:flex;align-items:center;gap:12px;padding:4px 6px 14px;border-bottom:1px solid var(--line)}
  .sidebar-brand-logo{width:148px;height:42px;object-fit:contain}
  .sidebar-brand-copy{display:none}
  .bottom-nav{display:flex;flex-direction:column;gap:8px;flex:1}
  .bottom-nav .nav-item{width:100%;height:50px;min-height:50px;padding:0 14px;border-radius:16px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;color:var(--muted);font-size:14px;font-weight:600}
  .bottom-nav .nav-item span:not(.cart-badge):not(.favorites-badge){font-size:14px}
  .bottom-nav .nav-item.active{background:#121212;color:#fff}
  #bottom-cart{margin-top:auto;height:58px;background:var(--brand-2);color:#fff;border-radius:18px}
  #bottom-cart::after{content:attr(data-total-label);margin-left:auto;font-size:16px;font-weight:700}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 22px}
  .horizontal-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 22px;overflow:visible}
  .product-card.compact{width:100%;min-width:0;max-width:none;flex:none}
  .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bundle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}
  .product-detail{grid-template-columns:minmax(0,520px) minmax(280px,1fr);align-items:start}
  .banner-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
  .banner-card{width:100%;min-width:0;flex:none}
}

@media(min-width:1260px){.product-grid,.horizontal-rail{grid-template-columns:repeat(4,minmax(0,1fr))}}
