:root {
  --ink: #0F1B12;
  --ink-soft: #5B6B60;
  --cream: #FBF8EF;
  --paper: #FFFFFF;
  --green-deep: #0E5C36;
  --green: #149652;
  --green-light: #E4F6EB;
  --coral: #FF5D3A;
  --amber: #FFC53D;
  --line: #ECE7D8;
  --shadow: 0 2px 10px rgba(15,27,18,0.06);
  --shadow-lg: 0 8px 30px rgba(15,27,18,0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1,h2,h3,.brand,.cat-name,.price-big { font-family: 'Baloo 2', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: var(--ink); }
input,select,textarea { font-family: inherit; }
.rail::-webkit-scrollbar { display: none; }
.rail { scrollbar-width: none; }

/* ---- Top Strip ---- */
.top-strip {
  background: var(--green-deep); color: #fff;
  font-size: 13px; text-align: center;
  padding: 7px 12px; letter-spacing: .2px;
}
.top-strip b { color: var(--amber); }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 10px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 26px; font-weight: 800; color: var(--green-deep);
  flex-shrink: 0;
}
.brand .bolt {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--amber); display: flex; align-items: center; justify-content: center;
  font-size: 19px; box-shadow: 0 3px 0 rgba(0,0,0,0.08);
}
.delivery-meta {
  display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; cursor: pointer;
}
.delivery-meta .eta {
  font-size: 15px; font-weight: 800;
  font-family: 'Baloo 2', sans-serif;
  display: flex; align-items: center; gap: 4px;
}
.delivery-meta .eta span { color: var(--green); }
.delivery-meta .loc {
  font-size: 12px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 4px;
  max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.delivery-meta .loc svg { flex-shrink: 0; }
.search-wrap-outer { display: none; background: var(--paper); }
.delivery-meta-mobile { display: none; }
.delivery-meta-mobile .delivery-meta { flex-direction: row; gap: 12px; align-items: center; }
.detect-loc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-deep); color: #fff;
  border: none; border-radius: 8px; padding: 6px;
  cursor: pointer; flex-shrink: 0; margin-left: auto;
  transition: background .15s;
}
.detect-loc-btn:active { background: var(--green); }
.detect-loc-btn svg { flex-shrink: 0; }
.search-wrap {
  max-width: 1240px; flex: 1; position: relative; background: var(--paper);
}
.search-wrap input {
  width: 100%; background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 8px 16px 8px 35px; font-size: 16px;
  font-family: inherit; color: var(--ink); transition: border-color .15s;
  margin-bottom: 8px;
}
.search-wrap input:focus { outline: none; border-color: var(--green); }
.search-wrap svg.search-ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .5;
}
.header-actions {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.login-btn {
  font-weight: 700; font-size: 14px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); white-space: nowrap;
}
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--green-deep); color: #fff;
  padding: 10px 16px 10px 12px; border-radius: 10px;
  font-weight: 700; font-size: 14px; position: relative;
}
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--coral); color: #fff;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger for mobile */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2.5px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: .3s;
}

/* Category Rail */
.cat-rail-wrap { border-bottom: 1px solid var(--line); background: var(--paper); }
.cat-rail {
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 6px; overflow-x: auto; padding: 0 24px 6px;
  scrollbar-width: thin; scrollbar-color: var(--green) transparent;
}
.cat-rail::-webkit-scrollbar { height: 3px; }
.cat-rail::-webkit-scrollbar-track { background: transparent; }
.cat-rail::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; }
.cat-rail a {
  padding: 6px 10px 1px 10px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap;
  border-bottom: 2.5px solid transparent; transition: .15s;
}
.cat-rail a.active, .cat-rail a:hover {
  color: var(--green-deep); border-color: var(--green-deep);
}

main { max-width: 1240px; margin: 0 auto; padding: 0 10px; }

/* ---- Banner ---- */
.banner-img { margin: 18px 0; border-radius: var(--radius-lg); overflow: hidden; }
.banner-img img { width: 100%; height: auto; display: block; }
.promo-row { display: flex; gap: 10px; margin-bottom: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-row::-webkit-scrollbar { display: none; }
.promo-tile { flex: 0 0 calc((100% - 20px) / 3); scroll-snap-align: start; border-radius: 14px; overflow: hidden; display: block; }
.promo-tile img { width: 100%; height: auto; display: block; transition: transform .2s; }
.promo-tile:hover img { transform: scale(1.03); }
.promo-tile img { width: 100%; height: auto; display: block; transition: transform .2s; }
.promo-tile:hover img { transform: scale(1.03); }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px;
  margin: 22px 0 8px;
}
.hero-main {
  background: linear-gradient(120deg, var(--green-deep), var(--green) 75%);
  border-radius: var(--radius-lg); padding: 38px 40px; color: #fff;
  position: relative; overflow: hidden; min-height: 270px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-main::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,197,61,.35), transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 100px;
  font-size: 12.5px; font-weight: 700; width: fit-content; margin-bottom: 16px;
}
.hero-main h1 { font-size: 44px; line-height: 1.08; font-weight: 800; max-width: 480px; }
.hero-main h1 em { font-style: normal; color: var(--amber); }
.hero-main p { margin-top: 14px; font-size: 15px; opacity: .85; max-width: 420px; }
.hero-cta { margin-top: 22px; display: flex; gap: 12px; }
.hero-cta button {
  background: var(--amber); color: var(--ink);
  padding: 13px 24px; border-radius: 11px; font-weight: 800; font-size: 14.5px;
}
.hero-cta button.ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5);
}
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.promo-card {
  border-radius: var(--radius-lg); padding: 22px 24px; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; color: #fff;
}
.promo-card.coral { background: linear-gradient(120deg, #FF5D3A, #FF8A5C); }
.promo-card.amber { background: linear-gradient(120deg, #F5A623, #FFC53D); color: var(--ink); }
.promo-card .tag { font-size: 11.5px; font-weight: 800; letter-spacing: .4px; opacity: .85; }
.promo-card h3 { font-size: 21px; font-weight: 800; margin-top: 4px; max-width: 200px; }
.promo-card .emoji {
  position: absolute; right: -6px; bottom: -6px; width: 130px; height: 130px;
  border-radius: 50%; overflow: hidden; opacity: .95; border: 4px solid rgba(255,255,255,.3);
}
.promo-card .emoji img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Sections ---- */
.section { margin: 15px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 23px; font-weight: 700; }
.section-head .sub { font-size: 13px; color: var(--ink-soft); margin-top: 3px; font-family: 'Inter'; }
.see-all {
  font-size: 13.5px; font-weight: 700; color: var(--green-deep);
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}

/* ---- Category Grid ---- */
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; text-decoration: none;
}
.cat-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s;
  background: #fff;
  padding: 5px;
}
.cat-tile:hover .cat-card { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cat-label {
  font-size: 12px; font-weight: 600; text-align: center;
  padding-top: 6px; line-height: 1.25; color: var(--ink);
}

/* ---- Product Rail ---- */
.rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.p-card {
  flex: 0 0 178px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 12px; display: flex; flex-direction: column;
  position: relative; transition: box-shadow .15s, transform .15s;
}
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.p-discount {
  position: absolute; top: 10px; left: 10px;
  background: var(--green-deep); color: #fff;
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 5px; z-index: 2;
}
.p-img {
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; overflow: hidden; background: var(--cream);
}
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-eta {
  font-size: 10.5px; font-weight: 600;
  background: var(--green-light); color: var(--green-deep);
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px; border-radius: 6px; width: fit-content; margin-bottom: 8px;
}
.p-name { font-size: 13px; font-weight: 600; line-height: 1.3; height: 34px; overflow: hidden; margin-bottom: 4px; }
.p-qty { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 10px; }
.p-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.p-price { display: flex; flex-direction: column; line-height: 1.1; }
.p-price .now { font-size: 14.5px; font-weight: 800; font-family: 'Baloo 2'; }
.p-price .was { font-size: 11px; color: var(--ink-soft); text-decoration: line-through; }
.add-btn {
  background: var(--paper); color: var(--green-deep);
  border: 1.5px solid var(--green); border-radius: 8px;
  font-weight: 800; font-size: 12.5px; padding: 7px 14px;
  transition: background .15s, color .15s;
}
.add-btn:hover { background: var(--green-deep); color: #fff; }
.add-btn.added { background: var(--green-deep); color: #fff; }
.p-bottom .stepper {
  display: flex; align-items: center; gap: 0;
  background: var(--green-deep); border-radius: 8px; overflow: hidden;
}
.p-bottom .stepper button {
  background: transparent; color: #fff; width: 30px; height: 30px;
  font-size: 16px; font-weight: 800; border: none; cursor: pointer;
}
.p-bottom .stepper span { color: #fff; font-size: 13px; font-weight: 800; min-width: 20px; text-align: center; }
.stepper {
  display: flex; align-items: center; gap: 0;
  background: var(--green-deep); border-radius: 8px; overflow: hidden;
}
.stepper button {
  background: transparent; color: #fff; width: 26px; height: 28px;
  font-size: 15px; font-weight: 800; border: none; cursor: pointer;
}
.stepper span { color: #fff; font-size: 12.5px; font-weight: 800; min-width: 16px; text-align: center; }

/* ---- Marquee ---- */
.marquee-wrap {
  margin: 34px 0; overflow: hidden;
  background: var(--ink); border-radius: var(--radius-lg); padding: 16px 0;
}
.marquee {
  display: flex; gap: 46px; white-space: nowrap;
  animation: scroll 22s linear infinite; width: max-content;
}
.marquee span {
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 10px; font-family: 'Baloo 2';
}
.marquee span em { color: var(--amber); font-style: normal; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Footer ---- */
footer { margin-top: 60px; background: var(--ink); color: #cfd7d1; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 48px 24px 24px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-top h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-family: 'Baloo 2'; }
.footer-top ul li { margin-bottom: 10px; font-size: 13px; opacity: .8; }
.footer-top ul li:hover { opacity: 1; text-decoration: underline; cursor: pointer; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; opacity: .7; line-height: 1.6; max-width: 280px; }
.app-badges { display: flex; gap: 10px; margin-top: 16px; }
.app-badges div {
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  padding: 8px 12px; font-size: 11.5px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.app-badges div:hover { background: rgba(255,255,255,.1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 12.5px; opacity: .6; flex-wrap: wrap; gap: 10px;
}

/* ---- Side Menu Overlay ---- */
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

/* ---- Side Menu ---- */
.side-menu {
  position: fixed; top: 0; left: -340px; width: 320px; height: 100vh;
  background: var(--paper); z-index: 100;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  transition: left .3s ease; overflow-y: auto;
  display: flex; flex-direction: column;
}
.side-menu.open { left: 0; }

.side-menu-header {
  padding: 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.side-menu-header h3 { font-size: 18px; font-weight: 700; font-family: 'Baloo 2'; }
.menu-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--ink-soft);
}

/* Profile Card in Side Menu */
.profile-card {
  margin: 16px; padding: 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff; display: flex; align-items: center; gap: 14px;
}
.profile-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.4);
  overflow: hidden; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; flex-shrink: 0;
}
.profile-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card .info h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.profile-card .info p { font-size: 12.5px; opacity: .85; }
.profile-card .info .phone { font-size: 13px; font-weight: 600; opacity: .9; margin-top: 2px; }

.profile-card-guest {
  margin: 16px; padding: 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff; text-align: center;
}
.profile-card-guest h4 { font-size: 16px; margin-bottom: 6px; }
.profile-card-guest p { font-size: 13px; opacity: .85; margin-bottom: 12px; }
.profile-card-guest .btn-group { display: flex; gap: 10px; justify-content: center; }
.profile-card-guest .btn-group a {
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
}
.profile-card-guest .btn-group .btn-login { background: #fff; color: var(--green-deep); }
.profile-card-guest .btn-group .btn-reg { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }

/* Side Menu Links */
.side-menu-nav { flex: 1; padding: 8px 0; }
.side-menu-nav .nav-section {
  padding: 10px 20px 6px; font-size: 11px; font-weight: 800;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: .8px;
}
.side-menu-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.side-menu-nav a:hover { background: var(--green-light); }
.side-menu-nav a svg { width: 20px; height: 20px; opacity: .6; }
.side-menu-nav a.active { background: var(--green-light); color: var(--green-deep); font-weight: 700; }

.side-menu-footer {
  padding: 16px 20px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-soft); text-align: center;
}

/* ---- Auth Pages ---- */
.auth-page {
  min-height: calc(100vh - 180px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 40px;
  width: 100%; max-width: 440px;
}
.auth-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-group input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; transition: border-color .15s;
}
.form-group input:focus { outline: none; border-color: var(--green); }
.btn-primary {
  width: 100%; padding: 13px; background: var(--green-deep); color: #fff;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 700;
  transition: background .15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green); }
.auth-card .alt-link { text-align: center; margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.auth-card .alt-link a { color: var(--green-deep); font-weight: 700; }
.auth-card .divider { text-align: center; margin: 20px 0; position: relative; color: var(--ink-soft); font-size: 12px; }
.auth-card .divider::before, .auth-card .divider::after {
  content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--line);
}
.auth-card .divider::before { left: 0; }
.auth-card .divider::after { right: 0; }

/* ---- Profile Page ---- */
.profile-page { padding: 30px 24px; max-width: 800px; margin: 0 auto; }
.profile-page h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.profile-header-card {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  border-radius: var(--radius-lg); padding: 30px; color: #fff;
  display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
}
.profile-header-card .avatar-lg {
  width: 80px; height: 80px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.4); overflow: hidden;
  background: rgba(255,255,255,.2); display: flex; align-items: center;
  justify-content: center; font-size: 32px; font-weight: 800; flex-shrink: 0;
}
.profile-header-card .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.profile-header-card h3 { font-size: 22px; margin-bottom: 4px; }
.profile-header-card p { opacity: .85; font-size: 14px; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-stat {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px; text-align: center;
}
.profile-stat .num { font-size: 28px; font-weight: 800; font-family: 'Baloo 2'; color: var(--green-deep); }
.profile-stat .label { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---- Orders Page ---- */
.orders-page { padding: 30px 24px; max-width: 900px; margin: 0 auto; }
.orders-page h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.order-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px;
}
.order-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.order-card-header .order-num { font-weight: 700; font-size: 15px; }
.order-status {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.order-status.delivered { background: var(--green-light); color: var(--green-deep); }
.order-status.processing { background: #FFF3D6; color: #B8860B; }
.order-status.cancelled { background: #FDE7E0; color: var(--coral); }
.order-items-summary { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; }
.order-total { font-weight: 800; font-size: 16px; font-family: 'Baloo 2'; }
.order-date { font-size: 12px; color: var(--ink-soft); }

/* ---- Product Detail Page ---- */
.pd-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 20px 0 12px; font-size: 13px; color: var(--ink-soft);
}
.pd-breadcrumb a { color: var(--ink-soft); transition: color .15s; }
.pd-breadcrumb a:hover { color: var(--green-deep); }
.pd-breadcrumb span { color: var(--ink); font-weight: 600; }
.pd-breadcrumb svg { opacity: .35; flex-shrink: 0; }

/* ---- Hero Layout ---- */
.pd-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.pd-hero-img-wrap {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f0faf4 0%, #e4f6eb 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.pd-hero-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.pd-hero-img img {
    width: 100%;
    object-fit: contain;
    transition: transform .4s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .1));
}
.pd-hero-img-wrap:hover .pd-hero-img img { transform: scale(1.05); }

/* ---- Image Slider ---- */
.pd-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: 100%;
}
.pd-slider-track::-webkit-scrollbar { display: none; }
.pd-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  height: 100%;
}
.pd-slide .pd-hero-img {
  width: 100%;
  height: 100%;
}
.pd-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
}
.pd-slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.pd-slider-arrow:active { transform: translateY(-50%) scale(0.95); }
.pd-slider-prev { left: 12px; }
.pd-slider-next { right: 12px; }
.pd-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.pd-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.pd-slider-dot.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  width: 20px;
  border-radius: 10px;
}

/* Floating badges */
.pd-badge-discount {
  position: absolute; top: 20px; left: 20px;
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 800; padding: 6px 14px;
  border-radius: 100px; box-shadow: 0 4px 12px rgba(255,93,58,.35);
  animation: badgePop .4s ease;
}
.pd-badge-bestseller {
  position: absolute; top: 20px; right: 20px;
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight: 800; padding: 6px 14px;
  border-radius: 100px; box-shadow: 0 4px 12px rgba(255,197,61,.35);
  animation: badgePop .4s ease .1s both;
}
.pd-badge-new {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--green-deep); color: #fff;
  font-size: 11px; font-weight: 800; padding: 6px 14px;
  border-radius: 100px; box-shadow: 0 4px 12px rgba(14,92,54,.3);
  animation: badgePop .4s ease .15s both;
}
@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---- Info Panel ---- */
.pd-info {
  display: flex; flex-direction: column; padding: 32px 36px;
}
.pd-info-top { flex: 1; }
.pd-brand {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  color: var(--green-deep); text-transform: uppercase; letter-spacing: .8px;
  background: var(--green-light); padding: 4px 10px; border-radius: 6px;
  margin-bottom: 10px;
}
.pd-title {
  font-size: 26px; font-weight: 800; line-height: 1.2;
  color: var(--ink); margin-bottom: 8px;
}

/* Rating row */
.pd-rating-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.pd-rating {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--green-light); color: var(--green-deep);
  font-size: 12.5px; font-weight: 800; padding: 3px 8px;
  border-radius: 6px;
}
.pd-rating--none {
  background: var(--cream); color: var(--ink-soft); font-weight: 600;
}
.pd-rating-count { font-size: 12.5px; color: var(--ink-soft); }
.pd-dot { color: var(--ink-soft); font-size: 18px; line-height: 1; }
.pd-sold { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }

/* Tags */
.pd-tags { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.pd-tag {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--cream); padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--line);
}
.pd-tag--green { background: var(--green-light); color: var(--green-deep); border-color: transparent; }
.pd-tag--red { background: #FDE7E0; color: var(--coral); border-color: transparent; }

/* Price block */
.pd-price-block {
  background: linear-gradient(135deg, #f6fdf8 0%, #eef9f2 100%);
  border: 1px solid #d5eede; border-radius: var(--radius-md);
  padding: 18px 20px; margin-bottom: 18px;
}
.pd-price-main {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px;
}
.pd-price-now {
  font-size: 34px; font-weight: 800; font-family: 'Baloo 2';
  color: var(--green-deep); line-height: 1;
}
.pd-price-mrp {
  font-size: 16px; color: var(--ink-soft); text-decoration: line-through;
  font-weight: 500;
}
.pd-price-save {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; color: var(--coral);
}
.pd-price-save svg { stroke: var(--coral); flex-shrink: 0; }

/* Delivery strip */
.pd-delivery-strip {
  display: flex; align-items: center; gap: 0;
  background: var(--cream); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 22px;
  border: 1px solid var(--line);
}
.pd-delivery-item {
  display: flex; align-items: center; gap: 10px; flex: 1;
}
.pd-delivery-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-delivery-icon svg { stroke: var(--green-deep); }
.pd-delivery-label { font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.pd-delivery-value { font-size: 13px; font-weight: 700; color: var(--ink); }
.pd-delivery-divider {
  width: 1px; height: 30px; background: var(--line); margin: 0 8px; flex-shrink: 0;
}

/* Add to Cart area */
.pd-add-to-cart { padding-top: 4px; }

/* Quantity selector */
.pd-qty-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.pd-qty-label {
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.pd-qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--paper);
}
.pd-qty-btn {
  width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center;
  background: var(--cream); border: none; cursor: pointer;
  font-size: 18px; font-weight: 800; color: var(--green-deep);
  transition: background .15s;
}
.pd-qty-btn:hover { background: var(--green-light); }
.pd-qty-btn:active { background: #c8e8d5; }
.pd-qty-input {
  width: 48px; height: 38px; text-align: center;
  border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  font-size: 15px; font-weight: 800; font-family: 'Baloo 2';
  color: var(--ink); background: var(--paper);
  -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty-input:focus { outline: none; background: var(--green-light); }
.pd-qty-unit {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}

.pd-add-btn {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, var(--green-deep), #0a7a44);
  color: #fff; border: none; border-radius: 14px;
  font-size: 16px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(14,92,54,.3);
}
.pd-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14,92,54,.4);
}
.pd-add-btn:active { transform: translateY(0); }
.pd-add-btn svg { stroke: #fff; }
.pd-add-btn--disabled {
  background: var(--line); color: var(--ink-soft);
  box-shadow: none; cursor: not-allowed;
}
.pd-add-btn--disabled:hover { transform: none; box-shadow: none; }

/* Product page stepper (replaces Add button after adding) */
.pd-stepper-wrap { margin-top: 0; }
.pd-stepper {
  width: 100%; border-radius: 14px; overflow: hidden;
  display: flex; height: 52px;
}
.pd-stepper button {
  flex: 1; font-size: 22px; font-weight: 800;
  background: var(--green-deep); color: #fff;
  border: none; cursor: pointer; transition: background .15s;
}
.pd-stepper button:hover { background: var(--green); }
.pd-stepper span {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  background: var(--green-deep); font-family: 'Baloo 2';
}

.pd-delivery-badge {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 12.5px; font-weight: 600;
  color: var(--green-deep); background: var(--green-light);
  padding: 10px; border-radius: 10px; text-align: center;
}
.pd-delivery-badge svg { stroke: var(--green-deep); flex-shrink: 0; }

/* ---- Section Cards ---- */
.pd-section-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
  margin-top: 20px;
}
.pd-section-title {
  font-size: 17px; font-weight: 800; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; color: var(--ink);
}
.pd-section-title svg { stroke: var(--green-deep); flex-shrink: 0; }
.pd-section-text {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.75;
}

/* Product details grid */
.pd-details-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
}
.pd-detail-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--paper);
}
.pd-detail-label { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.pd-detail-value { font-size: 13px; font-weight: 700; color: var(--ink); }

/* Trust strip */
.pd-trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 24px; margin-bottom: 30px;
}
.pd-trust-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px;
  transition: box-shadow .15s, transform .15s;
}
.pd-trust-item:hover {
  box-shadow: var(--shadow); transform: translateY(-2px);
}
.pd-trust-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-trust-text { display: flex; flex-direction: column; gap: 1px; }
.pd-trust-text strong { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.pd-trust-text span { font-size: 11px; color: var(--ink-soft); }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-light); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; }
.review-stars { display: flex; gap: 2px; }
.star { color: var(--line); font-size: 14px; }
.star.filled { color: var(--amber); }
.review-date { font-size: 12px; color: var(--ink-soft); margin-left: auto; }
.review-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }

/* ---- Account Page ---- */
.account-page { padding: 30px 24px; max-width: 800px; margin: 0 auto; }
.account-page h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.account-menu a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 10px; font-size: 15px; font-weight: 500;
  transition: box-shadow .15s;
}
.account-menu a:hover { box-shadow: var(--shadow); }
.account-menu a svg { width: 22px; height: 22px; opacity: .5; color: var(--green-deep); }

/* ---- Profile Layout with Sidebar ---- */
.profile-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  padding: 30px 24px; max-width: 1100px; margin: 0 auto;
}

.profile-sidebar {
  position: sticky; top: 100px; align-self: start;
}
.profile-sidebar-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
}
.profile-sidebar-user {
  padding: 20px; text-align: center; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--green-deep), #0a7a4a);
  color: #fff;
}
.profile-sidebar-user .avatar-sm {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 22px; font-weight: 800; font-family: 'Baloo 2';
  border: 2px solid rgba(255,255,255,.4);
}
.profile-sidebar-user .avatar-sm img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.4);
}
.profile-sidebar-user h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.profile-sidebar-user p { font-size: 12px; opacity: .8; }

.profile-sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none; transition: all .15s;
  border-left: 3px solid transparent;
}
.profile-sidebar-nav a svg { width: 18px; height: 18px; opacity: .5; flex-shrink: 0; }
.profile-sidebar-nav a:hover { background: var(--green-light); color: var(--green-deep); }
.profile-sidebar-nav a.active {
  background: var(--green-light); color: var(--green-deep);
  border-left-color: var(--green-deep); font-weight: 700;
}
.profile-sidebar-nav a.active svg { opacity: 1; color: var(--green-deep); }
.profile-sidebar-nav .nav-divider { height: 1px; background: var(--line); margin: 6px 0; }
.profile-sidebar-nav .nav-label {
  padding: 10px 18px 4px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft);
}
.profile-sidebar-nav a.logout-link { color: var(--coral); }
.profile-sidebar-nav a.logout-link:hover { background: #FDE7E0; }

.profile-main-content {
  min-width: 0;
}

/* ---- Bottom Sticky Bar (Mobile) ---- */
.bottom-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--paper); border-top: 1px solid var(--line);
  z-index: 90; padding: 6px 0 env(safe-area-inset-bottom, 6px);
  box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  align-items: flex-end;
}
.bottom-bar-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: var(--ink-soft);
  background: none; border: none; cursor: pointer; position: relative;
  text-decoration: none; padding: 6px 10px;
  transition: color .2s;
}
.bottom-bar-item:active { opacity: .7; }
.bottom-bar-item svg { color: var(--ink-soft); transition: color .2s; }
.bottom-bar-item span { line-height: 1; }
.bottom-bar-item.active, .bottom-bar-item.active svg { color: var(--green-deep); }
.bottom-bar-center {
  position: relative; top: -14px;
  padding: 0 14px;
}
.bottom-bar-center-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), #127a46);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(14,92,54,.4);
  transition: transform .2s, box-shadow .2s;
}
.bottom-bar-center:active .bottom-bar-center-icon {
  transform: scale(.92); box-shadow: 0 2px 8px rgba(14,92,54,.3);
}
.bottom-bar-center span {
  font-size: 10px; font-weight: 700; color: var(--green-deep); margin-top: 4px;
}
.bottom-bar .cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--coral); color: #fff; font-size: 9px; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0 4px;
}

/* ---- Categories Page ---- */
.categories-page { padding-bottom: 20px; }

/* ---- Flash Messages ---- */
.flash {
  padding: 12px 20px; border-radius: var(--radius-sm);
  margin-bottom: 16px; font-size: 14px; font-weight: 500;
}
.flash.success { background: var(--green-light); color: var(--green-deep); border: 1px solid var(--green); }
.flash.error { background: #FDE7E0; color: var(--coral); border: 1px solid var(--coral); }

/* ---- Checkout ---- */
.checkout-page { padding: 10px; max-width: 1100px; margin: 0 auto; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checkout-section {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 10px; margin-bottom: 16px;
}
.checkout-section h3 { font-size: 18px; margin-bottom: 16px; }

/* ---- PWA Install Banner ---- */
.pwa-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--paper);
  border-top: 1px solid var(--line); padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  transform: translateY(100%); transition: transform .3s;
}
.pwa-banner.show { transform: translateY(0); }
.pwa-banner .info { display: flex; align-items: center; gap: 12px; }
.pwa-banner .info .icon { font-size: 28px; }
.pwa-banner .info h4 { font-size: 14px; font-weight: 700; }
.pwa-banner .info p { font-size: 12px; color: var(--ink-soft); }
.pwa-banner .btns { display: flex; gap: 10px; }
.pwa-banner .btns button {
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 13px;
}
.pwa-banner .btns .install { background: var(--green-deep); color: #fff; }
.pwa-banner .btns .dismiss { background: var(--cream); color: var(--ink-soft); }

/* ---- Loading Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, var(--line) 25%, #f5f5f5 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .profile-layout { grid-template-columns: 200px 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .pd-hero { grid-template-columns: 1fr; }
  .pd-hero-img-wrap { min-height: 300px; }
  .pd-info { padding: 24px 20px; }
  .pd-title { font-size: 22px; }
  .pd-price-now { font-size: 28px; }
  .pd-delivery-strip { flex-direction: column; gap: 10px; align-items: flex-start; }
  .pd-delivery-divider { width: 100%; height: 1px; margin: 0; }
  .pd-details-grid { grid-template-columns: 1fr; }
  .pd-trust-strip { grid-template-columns: 1fr 1fr; }
  .pd-section-card { padding: 20px 16px; }
  .pd-qty-row { gap: 10px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .delivery-meta { order: 1; }
  .brand { order: 0; }
  .hamburger { display: block; order: -1; }
  .header-actions { order: 2; margin-left: auto; }
  .search-wrap { order: 3; flex-basis: 100%; }
  .header-inner .delivery-meta { display: none; }
  .delivery-meta-mobile { display: block; }
  .header-inner .search-wrap { display: none; }
  .search-wrap-outer { display: block; }
  .login-btn { display: none; }
  .bottom-bar { display: flex; justify-content: space-around; align-items: flex-end; }
  body { padding-bottom: 72px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-tile { flex: 0 0 calc((100% - 10px) / 2); }
  .hero-main h1 { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-main { padding: 24px; }
  .hero-main h1 { font-size: 24px; }
  .auth-card { padding: 24px; }
  .pd-trust-strip { grid-template-columns: 1fr; }
  .pd-hero-img-wrap { min-height: 260px; }
  .pd-price-now { font-size: 24px; }
}

/* ---- Category / Search Hero ---- */
.cat-hero {
  position: relative; margin: 0 -16px; overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.cat-hero-bg {
  position: absolute; inset: 0; opacity: 0.35;
}
.cat-hero-content {
  position: relative; padding: 24px 20px 28px;
}
.cat-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.cat-hero-text { flex: 1; }
.cat-hero-title {
  font-family: 'Baloo 2'; font-size: 28px; font-weight: 800;
  color: var(--green-deep); margin: 0 0 4px; line-height: 1.15;
}
.cat-hero-desc {
  font-size: 13.5px; color: #475569; margin: 0 0 10px; line-height: 1.5;
  max-width: 360px;
}
.cat-hero-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cat-hero-count {
  font-size: 12px; font-weight: 700; color: var(--green-deep);
  background: var(--green-light); padding: 3px 10px; border-radius: 100px;
}
.cat-hero-dot {
  width: 4px; height: 4px; border-radius: 50%; background: #94a3b8;
}
.cat-hero-eta {
  font-size: 12px; font-weight: 600; color: #475569;
}
.cat-hero-icon {
  width: 90px; height: 90px; flex-shrink: 0;
  border-radius: var(--radius-md); overflow: hidden;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(14,92,54,0.1);
}
.cat-hero-icon img {
  width: 100%; height: 100%; object-fit: cover;
}
.sub-cat-row {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 0 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sub-cat-row::-webkit-scrollbar { display: none; }
.sub-cat-pill {
  flex-shrink: 0; padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--green-light); color: var(--green-deep);
  border: 1px solid transparent; transition: all 0.2s;
}
.sub-cat-pill:hover {
  background: var(--green-deep); color: #fff; border-color: var(--green-deep);
}
.cat-sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 10px;
}
.cat-sort-label {
  font-size: 13px; font-weight: 600; color: #94a3b8;
}
.cat-sort-options {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.cat-sort-options::-webkit-scrollbar { display: none; }
.cat-sort-btn {
  flex-shrink: 0; padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0;
  transition: all 0.2s; text-decoration: none; cursor: pointer;
}
.cat-sort-btn:hover { background: #e2e8f0; color: #334155; }
.cat-sort-btn.active {
  background: var(--green-deep); color: #fff; border-color: var(--green-deep);
}
.cat-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
}
.cat-more-section { text-align: center; }
.cat-more-section h3 {
  font-family: 'Baloo 2'; font-size: 20px; font-weight: 800;
  color: var(--green-deep); margin: 0 0 16px;
}
.cat-more-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.cat-more-tile {
  text-decoration: none; text-align: center;
  background: var(--paper); border-radius: var(--radius-md);
  padding: 14px 10px; transition: transform 0.2s, box-shadow 0.2s;
}
.cat-more-tile:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.cat-more-img {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cat-more-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-more-tile span {
  font-size: 12px; font-weight: 700; color: var(--green-deep);
  display: block; line-height: 1.3;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) {
  .cat-hero {
    margin-top: 10px;
    border-radius: var(--radius-lg);
  }
  .cat-hero-content { padding: 8px 20px 5px; }
  .cat-hero-title { font-size: 36px; }
  .cat-hero-icon { width: 120px; height: 120px; }
  .cat-product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  .cat-more-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 400px) {
  .cat-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
