:root {
  --primary: #05A65F;
  --secondary: #07C96F;
  --bg: #F5F6FA;
  --white: #FFFFFF;
  --grey-100: #F5F5F5;
  --grey-200: #EEEEEE;
  --grey-300: #E0E0E0;
  --grey-400: #BDBDBD;
  --grey-600: #757575;
  --grey-800: #424242;
  --black: #212121;
  --error: #E74C3C;
  --success: #27AE60;
  --warning: #F39C12;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--grey-800); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.notify-bar {
  background: var(--primary); color: white; text-align: center;
  padding: 7px 0; font-size: 12px; font-weight: 600;
  letter-spacing: 0.2px;
}

.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--black); }
.logo .icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--primary); font-size: 26px;
}
.logo .icon img, .hero-logo-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 14px;
  color: var(--grey-600); transition: var(--transition);
}
.nav a:hover, .nav a.active { background: rgba(5,166,95,0.08); color: var(--primary); }
.nav .btn-primary { background: var(--primary); color: var(--white); border-radius: 8px; padding: 8px 18px; }
.nav .btn-primary:hover { background: #048a4d; }

.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--grey-800); }

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 0; color: var(--white); position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 50px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero-logo-img {
  width: 70px; height: 70px; background: var(--white); border-radius: 18px;
  display: grid; place-items: center; font-size: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.hero-logo-text h2 { font-size: 22px; font-weight: 800; letter-spacing: 0.3px; }
.hero-logo-text p { font-size: 13px; opacity: 0.9; margin-top: 2px; letter-spacing: 0.2px; }
.hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.hero p { font-size: 15px; opacity: 0.92; max-width: 480px; margin-bottom: 28px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: 14px; transition: var(--transition); border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #048a4d; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #f0f0f0; }

.search-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 6px 6px 6px 18px; display: flex; align-items: center;
  box-shadow: var(--shadow-lg); max-width: 520px; margin-bottom: 20px;
}
.search-wrap input {
  flex: 1; border: none; outline: none; font-size: 14px;
  padding: 12px 0; background: transparent;
}
.search-wrap .btn { border-radius: 10px; padding: 10px 18px; font-size: 13px; }
.search-wrap .btn-outline { border-color: rgba(255,255,255,0.3); }

.hero-decor {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; background: rgba(255,255,255,0.06);
  border-radius: 50%; pointer-events: none;
}
.hero-decor2 {
  position: absolute; right: 40px; bottom: -60px;
  width: 160px; height: 160px; background: rgba(255,255,255,0.08);
  border-radius: 50%; pointer-events: none;
}

.section { padding: 56px 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h2 { font-size: 22px; font-weight: 700; color: var(--black); }
.section-header a { color: var(--primary); font-weight: 600; font-size: 13px; }
.section-header a:hover { text-decoration: underline; }

.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.banner-card {
  border-radius: var(--radius-lg); padding: 24px; color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  min-height: 160px; position: relative; overflow: hidden;
}
.banner-card.green { background: linear-gradient(135deg, #05A65F, #07C96F); }
.banner-card.orange { background: linear-gradient(135deg, #E8734A, #ff9966); }
.banner-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; z-index: 1; }
.banner-card p { font-size: 13px; opacity: 0.95; z-index: 1; margin-bottom: 14px; line-height: 1.5; }
.banner-card .btn { align-self: flex-start; z-index: 1; padding: 10px 18px; font-size: 13px; }
.banner-card::after {
  content: ''; position: absolute; right: -30px; bottom: -30px;
  width: 120px; height: 120px; background: rgba(255,255,255,0.15); border-radius: 50%;
}

.categories-row {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.categories-row::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  gap: 8px; cursor: pointer; transition: var(--transition); min-width: 72px;
}
.category-chip:hover { transform: translateY(-3px); }
.cat-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cat-icon-wrap.green { background: #E8F5E9; }
.cat-icon-wrap.orange { background: #FFF3E0; }
.cat-icon-wrap.blue { background: #E3F2FD; }
.cat-icon-wrap.pink { background: #FCE4EC; }
.cat-icon-wrap.purple { background: #F3E5F5; }
.cat-icon-wrap.red { background: #FFEBEE; }
.cat-icon-wrap.cyan { background: #E0F7FA; }
.cat-icon-wrap.yellow { background: #FFF8E1; }
.category-chip span { font-size: 11px; font-weight: 600; color: var(--grey-800); text-align: center; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.home-category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.home-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.home-category-card .cat-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  font-size: 26px;
  margin: 0 auto 10px;
}
.home-category-card .cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-category-card .cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(5,166,95,0.08);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .img-wrap {
  height: 156px; background: var(--grey-100); display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: var(--white);
  padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.3px;
}
.product-card .info { padding: 8px; }
.product-card .brand { font-size: 10px; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; line-height: 1.15; }
.product-card .name {
  font-size: 12px; font-weight: 700; color: var(--grey-800); margin: 2px 0 0; line-height: 1.15;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal;
}
.product-card .unit { font-size: 11px; color: var(--grey-600); }
.product-card .product-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.product-card .product-title { min-width: 0; flex: 1; }
.product-card .price-pill { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 4px 6px; border-radius: 999px; background: linear-gradient(135deg, rgba(5,166,95,0.08), rgba(5,166,95,0.03)); border: 1px solid rgba(5,166,95,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7); }
.product-card .price-pill .price,
.product-card .price-pill .offer-price { font-size: 13px; font-weight: 800; color: var(--secondary); }
.product-card .price-pill .offer-price { color: var(--error); }
.product-card .price-pill .old-price-was,.product-card .price-pill .old-price { font-size: 10px; color: var(--grey-400); text-decoration: line-through; }
.product-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-card .meta-left { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--grey-600); }
.product-card .btn-add {
  width: 28px; height: 28px; background: var(--primary);
  border: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; color: var(--white); transition: var(--transition);
  box-shadow: 0 2px 6px rgba(5,166,95,0.3);
}
.product-card .btn-add:hover { background: #048a4d; transform: scale(1.05); }

.product-media-fallback {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px;
  font-size: 56px; background: linear-gradient(135deg, #effff4 0%, #dff7e7 100%); color: var(--primary);
}
.product-detail-shell { margin: 16px 0 24px; }
.product-detail-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
  border: 1px solid rgba(5,166,95,0.12); border-radius: 24px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(15,23,42,0.08);
}
.product-detail-media { padding: 18px; background: linear-gradient(135deg, #effff4 0%, #e4f7eb 100%); }
.product-detail-media .img-wrap {
  min-height: 280px; border-radius: 20px; overflow: hidden; background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-body { padding: 20px 20px 24px; }
.product-detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.product-detail-pill {
  display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(5,166,95,0.1);
  color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
}
.product-detail-pill.soft { background: rgba(15,23,42,0.05); color: var(--grey-700); }
.product-detail-title { font-size: 22px; font-weight: 800; color: var(--black); margin: 0 0 8px; line-height: 1.2; }
.product-detail-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.product-detail-price { font-size: 24px; font-weight: 800; color: var(--secondary); }
.product-detail-price.offer-price { color: var(--error); }
.product-detail-old-price { font-size: 14px; color: var(--grey-400); text-decoration: line-through; font-weight: 600; }
.product-detail-subtitle { font-size: 13px; color: var(--grey-600); margin-bottom: 10px; }
.product-detail-description { font-size: 14px; line-height: 1.7; color: var(--grey-700); margin: 0 0 14px; }
.product-detail-weight-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.product-detail-weight-btn {
  border: 1px solid rgba(5,166,95,0.18); background: #f7fff8; color: var(--grey-800); padding: 8px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.product-detail-weight-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 8px 18px rgba(5,166,95,0.18);
}
.product-detail-actions { display: flex; gap: 10px; align-items: center; }
.product-detail-add-btn, .product-detail-link-btn {
  border: none; border-radius: 14px; padding: 12px 16px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.product-detail-add-btn {
  flex: 1; background: linear-gradient(135deg, var(--primary), #16a34a); color: var(--white);
  box-shadow: 0 10px 24px rgba(5,166,95,0.2);
}
.product-detail-add-btn:hover { transform: translateY(-1px); }
.product-detail-link-btn {
  background: var(--grey-100); color: var(--grey-800);
}
.product-detail-loading, .product-detail-empty {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 18px; padding: 28px; text-align: center;
  color: var(--grey-600); box-shadow: var(--shadow);
}

.add-cart-bar {
  background: var(--white); padding: 14px 20px;
  border-top: 1px solid var(--grey-200);
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between;
}

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header { padding: 18px 22px; border-bottom: 1px solid var(--grey-200); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 17px; font-weight: 700; color: var(--black); }
.modal-body { padding: 22px; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--grey-600); }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--grey-800); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--grey-200);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  transition: var(--transition); outline: none; background: var(--white);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,166,95,0.1); }
.form-group .btn { width: 100%; justify-content: center; margin-top: 8px; }

.admin-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.sidebar {
  background: var(--white); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow); height: fit-content; position: sticky; top: 84px;
}
.sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 8px; font-size: 14px; color: var(--grey-600);
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar a:hover, .sidebar a.active { background: rgba(5,166,95,0.08); color: var(--primary); font-weight: 600; }
.sidebar a .icon { width: 20px; text-align: center; font-size: 16px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-card .label { font-size: 12px; color: var(--grey-600); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card .value { font-size: 28px; font-weight: 800; color: var(--black); margin-top: 4px; }
.stat-card .icon { position: absolute; top: 16px; right: 16px; font-size: 22px; }

.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { text-align: left; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--grey-200); }
th { font-weight: 700; color: var(--grey-600); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }
.status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.status.confirmed { background: #d4edda; color: #155724; }
.status.processing { background: var(--grey-100); color: var(--grey-800); }
.status.delivered { background: #cce5ff; color: #004085; }
.status.cancelled { background: #FFEBEE; color: #D32F2F; }

.footer { background: linear-gradient(135deg, #10251d 0%, #1d3b2b 100%); color: var(--white); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--white); }
.footer a, .footer p { color: rgba(255,255,255,0.65); font-size: 13px; display: block; margin-bottom: 8px; transition: var(--transition); }
.footer a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 10px; }
.footer-desc { margin-top: 12px; line-height: 1.7; color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-contact { margin-top: 12px; color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; font-size: 16px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-summary { position: sticky; top: 84px; }
.summary-card { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--grey-200); }
.summary-card h3 { font-size: 15px; font-weight: 700; color: var(--grey-800); }
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--grey-200); border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; transition: var(--transition); background: var(--white); }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,166,95,0.1); }

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .product-detail-media .img-wrap { min-height: 220px; }
  .product-detail-actions { flex-direction: column; }
  .product-detail-link-btn, .product-detail-add-btn { width: 100%; justify-content: center; }
}

.login-box, .signup-box {
  max-width: 440px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
}
.login-box h2, .signup-box h2 { font-size: 24px; margin-bottom: 6px; color: var(--black); }
.login-box .subtitle, .signup-box .subtitle { color: var(--grey-600); font-size: 14px; margin-bottom: 28px; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--grey-400); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--grey-200); }
.social-btn { width: 100%; justify-content: center; padding: 12px; font-size: 14px; background: var(--white); border: 1.5px solid var(--grey-200); color: var(--grey-800); }
.social-btn:hover { background: var(--grey-100); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--grey-600); font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.back-link:hover { color: var(--primary); }

.cart-item {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--grey-200);
  align-items: center;
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--grey-100); }
.cart-item .details { flex: 1; }
.cart-item .brand { font-size: 10px; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.5px; }
.cart-item .name { font-weight: 600; font-size: 14px; margin: 3px 0; }
.cart-item .unit { font-size: 12px; color: var(--grey-600); }
.cart-item .price { color: var(--primary); font-weight: 700; margin-top: 4px; font-size: 15px; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 32px; height: 32px; border: 1.5px solid var(--grey-200); background: var(--white);
  border-radius: 8px; display: grid; place-items: center; font-size: 16px;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-val { font-weight: 700; min-width: 24px; text-align: center; }
.remove-btn { background: none; border: none; color: var(--error); font-size: 12px; cursor: pointer; margin-top: 4px; font-weight: 500; }

.summary-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow); margin-top: 20px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-weight: 800; font-size: 18px; border-top: 2px solid var(--grey-200); padding-top: 14px; margin-top: 4px; }
.summary-row.total .amt { color: var(--primary); }
.empty-state { text-align: center; padding: 50px 20px; }
.empty-state .icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { color: var(--grey-800); margin-bottom: 8px; font-weight: 700; }

.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.offers-strip {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.offers-strip::-webkit-scrollbar { display: none; }
.offer-card {
  flex: 0 0 auto; width: 230px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg); padding: 18px; color: var(--white);
  box-shadow: 0 4px 14px rgba(5,166,95,0.25);
}
.offer-card .tag { font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.3); padding: 3px 10px; border-radius: 20px; letter-spacing: 0.5px; }
.offer-card h4 { font-size: 16px; margin: 10px 0 4px; }
.offer-card p { font-size: 12px; opacity: 0.9; }
.offer-card small { font-size: 18px; font-weight: 800; }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
  z-index: 100; padding: 6px 0 env(safe-area-inset-bottom, 8px);
}
.bottom-nav-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 8px; border-radius: 8px; transition: var(--transition);
  cursor: pointer; min-width: 56px;
}
.nav-item .nav-icon { font-size: 20px; line-height: 1; }
.nav-item .nav-label { font-size: 10px; font-weight: 500; color: var(--grey-400); }
.nav-item.active .nav-label { color: var(--primary); font-weight: 700; }
.nav-item.active .nav-icon { filter: drop-shadow(0 2px 4px rgba(5,166,95,0.3)); }

.section-title {
  font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
.cat-card {
  background: linear-gradient(135deg, var(--white) 0%, #f7fff8 100%); border-radius: 18px; padding: 16px 12px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
  border: 1px solid rgba(5,166,95,0.12); position: relative; min-height: 148px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-card .icon {
  width: 58px; height: 58px; margin: 0 auto 10px;
  border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(5,166,95,0.12);
}
.cat-card .icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cat-card h4 { font-size: 13px; font-weight: 700; color: var(--grey-800); line-height: 1.3; margin: 0 0 6px; }
.cat-card .count-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px; border-radius: 999px; background: rgba(5,166,95,0.08);
  color: var(--primary); font-size: 11px; font-weight: 700;
}
.cat-card .subtext {
  font-size: 11px; color: var(--grey-600); margin-top: 4px;
}

.loading-skeleton {
  background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-200) 50%, var(--grey-100) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  background: var(--grey-800); color: var(--white); padding: 12px 22px;
  border-radius: 24px; font-size: 13px; z-index: 9999;
  box-shadow: var(--shadow-lg); animation: fadeIn 0.3s ease;
  font-weight: 500;
}

.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: var(--white);
  padding: 3px 8px; border-radius: 4px; font-size: 9px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
}

.delivery-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(5,166,95,0.1); color: var(--primary);
  padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600;
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .banner-grid { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero p { margin: 0 auto 24px; }
  .search-wrap { margin: 0 auto 20px; }
  .hero-decor, .hero-decor2 { display: none; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 24px; }
  .hero-logo-img { width: 50px; height: 50px; font-size: 24px; }
  .hero-logo-text h2 { font-size: 17px; }
  .hero-logo-text p { font-size: 11px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .btn { padding: 10px 18px; font-size: 13px; }
  .categories-row { gap: 10px; }
  .cat-icon-wrap { width: 50px; height: 50px; font-size: 22px; }
  .category-chip { min-width: 60px; }
  .category-chip span { font-size: 10px; }
}

/* Homepage mobile-app-like redesign */
.home-header {
  background: var(--white);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.home-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-logo-img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.home-brand-text h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.home-brand-text p {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.2;
}
.home-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(5,166,95,0.08);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  position: relative;
  border: none;
}
.home-header-cart {
  position: relative;
}
.home-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--error);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

.home-search-wrap {
  margin: 14px 16px 10px;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(5,166,95,0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.home-search-wrap:focus-within {
  box-shadow: 0 0 0 4px rgba(5,166,95,0.10), 0 10px 32px rgba(0,0,0,0.09);
  transform: translateY(-1px);
  border-color: rgba(5,166,95,0.25);
}
.home-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 0;
  background: transparent;
  font-family: inherit;
  color: var(--grey-800);
}
.home-search-wrap input::placeholder {
  color: var(--grey-400);
  font-weight: 400;
}
.home-search-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5,166,95,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-search-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(5,166,95,0.35);
}
.home-search-icon:active {
  transform: scale(0.97);
}

.hero-banner-wrap {
  margin: 10px 16px 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 36px rgba(27,94,32,0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,255,248,0.96));
}
.hero-banner-inner {
  position: relative;
  height: 176px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
  color: var(--white);
  border-radius: 24px;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide.green {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #43A047 100%);
}
.hero-slide.indigo {
  background: linear-gradient(135deg, #311B92 0%, #1A237E 60%, #283593 100%);
}
.hero-slide.orange {
  background: linear-gradient(135deg, #E65100 0%, #EF6C00 60%, #F57C00 100%);
}
.hero-slide-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-slide-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #1B5E20;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-slide-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.hero-slide-btn:active {
  transform: scale(0.97);
}
.hero-slide-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  font-size: 38px;
  flex-shrink: 0;
  margin-left: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-banner-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(5,166,95,0.2);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.hero-dot.active {
  width: 26px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 2px 8px rgba(5,166,95,0.35);
}

.home-section {
  margin: 22px 16px 0;
  padding: 18px 16px 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(249,252,249,0.95) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0,0,0,0.03);
  border: 1px solid rgba(5, 166, 95, 0.09);
  position: relative;
  overflow: hidden;
}
.home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  opacity: 0.5;
  border-radius: 26px 26px 0 0;
}
.home-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(5, 166, 95, 0.07);
}
.home-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.3px;
}
.home-section-title .icon {
  font-size: 20px;
  color: var(--primary);
  filter: drop-shadow(0 1px 2px rgba(5,166,95,0.2));
}
.home-section-more {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: rgba(5,166,95,0.07);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.home-section-more:hover {
  background: var(--primary);
  color: #fff;
}

.campaign-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 10px;
}
.campaign-scroll::-webkit-scrollbar { display: none; }

.web-product-card {
  flex: 0 0 auto;
  width: 168px;
  min-height: 316px;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 0 0 1px rgba(5,166,95,0.06);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.web-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(5,166,95,0.14), 0 0 0 1px rgba(5,166,95,0.12);
}
.web-product-card .img-wrap {
  height: 126px;
  background: linear-gradient(135deg, #f7fff9, #eef7ef);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.web-product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.web-product-card .discount-badge,
.web-product-card-grid .discount-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(5,166,95,0.25);
  z-index: 2;
}
.section-label {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}
.web-product-card .info {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-height: 0;
}
.web-product-card .product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.web-product-card .product-title {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.web-product-card .brand {
  font-size: 9px;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  line-height: 1.2;
}
.web-product-card .name {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-800);
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.web-product-card .price-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5,166,95,0.10), rgba(5,166,95,0.04));
  border: 1px solid rgba(5,166,95,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  margin-top: 0;
  align-self: flex-start;
}
.web-product-card .price-pill .price,
.web-product-card .price-pill .offer-price {
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.web-product-card .price-pill .offer-price {
  color: var(--error);
}
.web-product-card .price-pill .old-price-was,
.web-product-card .price-pill .old-price {
  font-size: 8px;
  color: var(--grey-400);
  text-decoration: line-through;
  line-height: 1.2;
}
.web-product-card .product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
  margin-top: 1px;
  flex-shrink: 0;
}
.web-product-card .unit-pill,
.web-product-card .offer-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.3;
}
.web-product-card .unit-pill {
  background: rgba(5, 166, 95, 0.08);
  color: var(--primary);
}
.web-product-card .offer-pill {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
}
.web-product-card .price-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: none;
  flex-shrink: 0;
}
.web-product-card .price {
  font-size: 12px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.web-product-card .offer-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--error);
  letter-spacing: -0.01em;
}
.web-product-card .old-price-was,
.web-product-card .old-price {
  font-size: 8px;
  color: var(--grey-400);
  text-decoration: line-through;
}
.web-product-card .variant-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}
.web-product-card .variant-row::-webkit-scrollbar {
  display: none;
}
.web-product-card .variant-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid rgba(5, 166, 95, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  color: var(--grey-800);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(5, 166, 95, 0.05);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  letter-spacing: 0.2px;
}
.web-product-card .variant-chip:hover {
  border-color: rgba(5, 166, 95, 0.45);
  box-shadow: 0 4px 12px rgba(5, 166, 95, 0.12);
  transform: translateY(-1px);
}
.web-product-card .variant-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(5, 166, 95, 0.22);
  transform: translateY(-1px);
  font-weight: 800;
}
.web-product-card .add-btn,
.web-product-card-grid .add-btn {
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(5,166,95,0.18);
  margin-top: 3px;
}
.web-product-card .add-btn::before,
.web-product-card-grid .add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.web-product-card .add-btn::after,
.web-product-card-grid .add-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  pointer-events: none;
}
.web-product-card .add-btn:hover,
.web-product-card-grid .add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5,166,95,0.25);
}
.web-product-card .add-btn:hover::after,
.web-product-card-grid .add-btn:hover::after {
  opacity: 0;
}
.web-product-card .add-btn:active,
.web-product-card-grid .add-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(5,166,95,0.15);
}
.web-product-card .product-title {
  min-width: 0;
  flex: 1;
}
.web-product-card .brand {
  font-size: 10px;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  line-height: 1.25;
}
.web-product-card .name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--grey-800);
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.web-product-card .price-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 5px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5,166,95,0.12), rgba(5,166,95,0.05));
  border: 1px solid rgba(5,166,95,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  margin-top: 1px;
}
.web-product-card .price-pill .price,
.web-product-card .price-pill .offer-price {
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.web-product-card .price-pill .offer-price {
  color: var(--error);
}
.web-product-card .price-pill .old-price-was,
.web-product-card .price-pill .old-price {
  font-size: 8px;
  color: var(--grey-400);
  text-decoration: line-through;
}
.web-product-card .product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-top: 1px;
  flex-shrink: 0;
}
.web-product-card .unit-pill,
.web-product-card .offer-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1px;
}
.web-product-card .unit-pill {
  background: rgba(5, 166, 95, 0.08);
  color: var(--primary);
}
.web-product-card .offer-pill {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
}
.web-product-card .price-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none;
  flex-shrink: 0;
}
.web-product-card .price {
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.web-product-card .offer-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--error);
  letter-spacing: -0.01em;
}
.web-product-card .old-price-was,
.web-product-card .old-price {
  font-size: 9px;
  color: var(--grey-400);
  text-decoration: line-through;
}
.web-product-card .variant-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}
.web-product-card .variant-row::-webkit-scrollbar {
  display: none;
}
.web-product-card .variant-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 5px;
  border-radius: 8px;
  border: 1px solid rgba(5, 166, 95, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fff9 100%);
  color: var(--grey-800);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(5, 166, 95, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.web-product-card .variant-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(5, 166, 95, 0.14);
  transform: translateY(-1px);
}
.web-product-card .add-btn,
.web-product-card-grid .add-btn {
  width: 100%;
  margin-top: 0 !important;
  padding: 8px 9px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #14491b 0%, #1f6e2e 40%, #2E7D32 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(5, 166, 95, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.28s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.28s ease,
    filter 0.22s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.web-product-card .add-btn::before,
.web-product-card-grid .add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.0) 55%);
  border-radius: 12px;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.web-product-card .add-btn::after,
.web-product-card-grid .add-btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.web-product-card .add-btn:hover,
.web-product-card-grid .add-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(5, 166, 95, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.1);
}
.web-product-card .add-btn:hover::after,
.web-product-card-grid .add-btn:hover::after {
  left: 140%;
}
.web-product-card .add-btn:hover::before,
.web-product-card-grid .add-btn:hover::before {
  opacity: 0.7;
}
.web-product-card .add-btn:active,
.web-product-card-grid .add-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 3px 10px rgba(5, 166, 95, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  filter: brightness(0.94);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}
.web-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.web-product-card .img-wrap {
  height: 130px;
  background: var(--grey-100);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.web-product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.web-product-card .discount-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.web-product-card .info,
.web-product-card-grid .info {
  padding: 8px 8px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px !important;
  flex: 1;
}
.web-product-card .product-head,
.web-product-card-grid .product-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 0 !important;
}
.web-product-card .brand {
  font-size: 10px;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  line-height: 1.3;
}
.web-product-card .name {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-800);
  line-height: 1.3;
  display: block;
  white-space: normal;
  overflow: visible;
}
.web-product-card .product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 1px;
}
.web-product-card .unit-pill,
.web-product-card .offer-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.web-product-card .unit-pill {
  background: rgba(5, 166, 95, 0.08);
  color: var(--primary);
}
.web-product-card .offer-pill {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
}
.web-product-card .price-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: none;
  flex-shrink: 0;
}
.web-product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 1px;
}
.web-product-card .price {
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.web-product-card .offer-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--error);
  letter-spacing: -0.01em;
}
.web-product-card .old-price-was,
.web-product-card .old-price {
  font-size: 9px;
  color: var(--grey-400);
  text-decoration: line-through;
}
.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .product-grid-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 968px) {
  .product-grid-2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.web-product-card-grid {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05), 0 0 0 1px rgba(5,166,95,0.06);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 316px;
}
.web-product-card-grid:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(5,166,95,0.13), 0 0 0 1px rgba(5,166,95,0.12);
}
.web-product-card-grid .img-wrap {
  height: 148px;
  background: linear-gradient(135deg, #f7fff9, #eef7ef);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.web-product-card-grid .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.web-product-card-grid .discount-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(5,166,95,0.25);
}
.web-product-card-grid .info {
  padding: 6px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-height: 0;
}
.web-product-card-grid .product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.web-product-card-grid .product-title {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.web-product-card-grid .brand {
  font-size: 9px;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  line-height: 1.2;
}
.web-product-card-grid .name {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-800);
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.web-product-card-grid .price-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5,166,95,0.10), rgba(5,166,95,0.04));
  border: 1px solid rgba(5,166,95,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  margin-top: 0;
  align-self: flex-start;
}
.web-product-card-grid .price-pill .price,
.web-product-card-grid .price-pill .offer-price {
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.web-product-card-grid .price-pill .offer-price {
  color: var(--error);
}
.web-product-card-grid .price-pill .old-price-was,
.web-product-card-grid .price-pill .old-price {
  font-size: 8px;
  color: var(--grey-400);
  text-decoration: line-through;
  line-height: 1.2;
}
.web-product-card-grid .product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
  margin-top: 1px;
  flex-shrink: 0;
}
.web-product-card-grid .unit-pill,
.web-product-card-grid .offer-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.3;
}
.web-product-card-grid .unit-pill {
  background: rgba(5, 166, 95, 0.08);
  color: var(--primary);
}
.web-product-card-grid .offer-pill {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
}
.web-product-card-grid .price-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: none;
  flex-shrink: 0;
}
.web-product-card-grid .price {
  font-size: 12px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.web-product-card-grid .old-price {
  font-size: 8px;
  color: var(--grey-400);
  text-decoration: line-through;
}
.web-product-card-grid .offer-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--error);
  letter-spacing: -0.01em;
}
.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}
.variant-chip {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, #e5e7eb);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  color: var(--black, #111827);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.variant-chip.active {
  background: var(--primary, #1B5E20);
  color: #fff;
  border-color: var(--primary, #1B5E20);
}

.empty-section {
  text-align: center;
  padding: 30px 16px;
  color: var(--grey-600);
  font-size: 14px;
}

body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(5,166,95,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(7,201,111,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f7fbf8 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-header {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(27,94,32,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.home-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.home-brand-text h2 {
  font-size: 19px;
  font-weight: 800;
  color: #1B5E20;
  line-height: 1.15;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.home-brand-text p {
  font-size: 10.5px;
  font-weight: 600;
  color: #2E7D32;
  line-height: 1.25;
  letter-spacing: 1.5px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase;
}
.home-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(5, 166, 95, 0.08);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  position: relative;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.home-header-icon:hover {
  background: rgba(5, 166, 95, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 166, 95, 0.12);
}
.home-header-icon:active {
  transform: scale(0.96);
  background: rgba(5, 166, 95, 0.2);
}
.home-header-cart {
  position: relative;
}
#accountBtn {
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 12px rgba(5, 166, 95, 0.3);
}
#accountBtn:hover {
  background: var(--primaryDark, #1B5E20);
  box-shadow: 0 6px 16px rgba(5, 166, 95, 0.4);
}
.home-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #EF5350;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  line-height: 1.15;
  border: 2px solid #2E7D32;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.home-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(5, 166, 95, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-search-wrap {
  border: 1px solid rgba(5, 166, 95, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-search-wrap:focus-within {
  box-shadow: 0 0 0 4px rgba(5, 166, 95, 0.12), 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.home-search-icon,
.home-header-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero-banner-wrap {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 255, 248, 0.95));
}

.hero-banner-inner {
  height: 182px;
}

.hero-slide {
  backdrop-filter: blur(4px);
}

.hero-slide-title {
  font-size: 24px;
}

.home-section {
  margin: 18px 16px 0;
  padding: 16px 14px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(5, 166, 95, 0.08);
}

.home-section[id="freshArrivalsSection"],
.home-section[id="bulkSaverSection"],
.home-section[id="dealsSection"] {
  background: linear-gradient(180deg, rgba(232, 245, 233, 0.95), rgba(255, 255, 255, 0.95));
}

.home-section-header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(5, 166, 95, 0.08);
  margin-bottom: 14px;
}

.home-section-more {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 166, 95, 0.08);
}

.campaign-scroll {
  padding: 4px 2px 10px;
}

.web-product-card,
.web-product-card-grid {
  border: 1px solid rgba(5, 166, 95, 0.08);
  backdrop-filter: blur(8px);
}

.web-product-card .img-wrap,
.web-product-card-grid .img-wrap {
  background: linear-gradient(135deg, #f7fff9, #eef7ef);
}

.web-product-card:hover,
.web-product-card-grid:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.footer {
  margin-top: 32px;
  background: linear-gradient(135deg, #0a1f12 0%, #132e1e 50%, #1d3b2b 100%);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(5,166,95,0.5), transparent);
}

.bottom-nav {
  border-top: 1px solid rgba(5, 166, 95, 0.08);
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}

.nav-item {
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-item:active {
  transform: scale(0.94);
}

@media (max-width: 768px) {
  .home-header {
    padding: 12px;
  }

  .home-search-wrap {
    margin: 10px 12px;
  }

  .hero-banner-wrap {
    margin: 10px 12px 0;
  }

  .home-section {
    margin-left: 12px;
    margin-right: 12px;
    padding: 14px 12px 12px;
    border-radius: 22px;
  }

  .campaign-scroll {
    gap: 10px;
    padding: 2px 2px 10px;
  }

  .web-product-card {
    width: 154px;
    min-height: 288px;
  }

  .web-product-card .img-wrap {
    height: 122px;
  }

  .web-product-card .info {
    padding: 8px 9px 9px;
  }

  .web-product-card .name,
  .web-product-card-grid .name {
    font-size: 11px;
  }

  .web-product-card-grid {
    min-height: 288px;
  }

  .web-product-card-grid .img-wrap {
    height: 136px;
  }

  .product-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .web-product-card-grid .price-card,
  .web-product-card .price-card {
    padding: 0;
  }

  .web-product-card-grid .add-btn,
  .web-product-card .add-btn {
    min-height: 32px;
    font-size: 10px;
  }

  .web-product-card .product-head,
  .web-product-card-grid .product-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .web-product-card .info,
  .web-product-card-grid .info {
    padding-bottom: 0;
  }

  .web-product-card .product-title,
  .web-product-card-grid .product-title {
    min-width: 0;
    flex: 1 1 auto;
  }

  .web-product-card .price-pill,
  .web-product-card-grid .price-pill {
    margin-top: 0;
    align-self: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .home-section-title {
    font-size: 14px;
  }

  .web-product-card {
    width: 146px;
    min-height: 272px;
  }

  .web-product-card .img-wrap {
    height: 114px;
  }

  .web-product-card .name,
  .web-product-card-grid .name {
    font-size: 11px;
    line-height: 1.2;
  }

  .web-product-card .brand,
  .web-product-card-grid .brand {
    font-size: 9px;
  }

  .web-product-card-grid {
    min-height: 272px;
  }

  .web-product-card-grid .img-wrap {
    height: 128px;
  }

  .web-product-card-grid .price-card,
  .web-product-card .price-card {
    padding: 0;
  }

  .web-product-card-grid .add-btn,
  .web-product-card .add-btn {
    min-height: 30px;
    font-size: 10px;
    padding: 6px 8px;
  }

  .home-brand-text h2 {
    font-size: 15px;
  }

  .home-brand-text p {
    font-size: 10px;
  }
}

.cart-page {
  padding-bottom: 80px;
}

.about-hero {
  background: linear-gradient(135deg, rgba(5,166,95,0.08) 0%, rgba(7,201,111,0.12) 100%);
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(5,166,95,0.08);
}
.about-hero .hero-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(5,166,95,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.about-hero h1 em {
  color: var(--primary);
  font-style: normal;
}
.about-hero p {
  color: var(--grey-600);
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.about-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(5,166,95,0.1);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.about-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.about-card p {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.6;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.about-story h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin: 6px 0 12px;
  line-height: 1.25;
}
.about-story h2 em {
  color: var(--primary);
  font-style: normal;
}
.about-story p {
  color: var(--grey-600);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.about-story-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.visual-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 8px;
  text-align: center;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  font-size: 26px;
}
.visual-card span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-700);
}

.section-label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(5,166,95,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feature-item {
  text-align: center;
  padding: 24px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(5,166,95,0.1);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.6;
}

.about-stats-section {
  background: linear-gradient(135deg, rgba(5,166,95,0.08) 0%, rgba(7,201,111,0.12) 100%);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
}
.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}
.stat-label {
  font-size: 12px;
  color: var(--grey-600);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-800);
  text-decoration: none;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(5,166,95,0.25);
  transition: var(--transition);
}
.hero-btn:hover {
  background: #048a4d;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .about-hero h1 { font-size: 24px; }
  .about-hero p { font-size: 14px; }
  .about-story { grid-template-columns: 1fr; }
  .about-story-visual { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .about-hero { padding: 36px 0 32px; }
  .about-hero h1 { font-size: 21px; }
  .about-story-visual { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: 1fr; }
  .about-overview-grid { grid-template-columns: 1fr; }
  .category-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .overview-highlights { grid-template-columns: 1fr; }
}

.about-overview-section { background: var(--white); }
.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.about-overview-text .section-label { margin-bottom: 10px; }
.about-overview-text h2 { font-size: 26px; font-weight: 800; color: var(--black); margin: 6px 0 14px; line-height: 1.25; }
.about-overview-text h2 em { color: var(--primary); font-style: normal; }
.about-overview-text p { color: var(--grey-600); font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.overview-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-800);
  background: rgba(5,166,95,0.06);
  padding: 8px 12px;
  border-radius: 8px;
}
.highlight-icon { font-size: 16px; }

.about-overview-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.about-heritage-section { background: linear-gradient(135deg, rgba(5,166,95,0.05) 0%, rgba(7,201,111,0.08) 100%); }
.heritage-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
}
.heritage-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.heritage-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
.heritage-badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(5,166,95,0.2);
}
.heritage-badge-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}
.heritage-text h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.heritage-text p { color: var(--grey-600); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }

.about-journey-section { background: var(--white); }
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--grey-200);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
  position: absolute;
  left: -38px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.timeline-content {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--grey-200);
}
.timeline-content h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.timeline-content p { font-size: 13px; color: var(--grey-600); line-height: 1.6; }

.about-categories-section { background: linear-gradient(135deg, rgba(5,166,95,0.05) 0%, rgba(7,201,111,0.08) 100%); }
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.cat-showcase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.cat-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cat-showcase-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.cat-showcase-card h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.cat-showcase-card p { font-size: 12px; color: var(--grey-600); line-height: 1.5; }

.story-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.story-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--grey-800);
  font-weight: 500;
  border-bottom: 1px solid var(--grey-100);
}
.story-list li:last-child { border-bottom: none; }
.story-list li strong { color: var(--black); font-weight: 600; }

.about-features-section { background: var(--white); }
.about-stats-section { background: linear-gradient(135deg, rgba(5,166,95,0.08) 0%, rgba(7,201,111,0.12) 100%); }

.about-cta-section { background: var(--bg); }
.cta-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #10251d 0%, #1d3b2b 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
}
.cta-content .section-label { background: rgba(255,255,255,0.1); color: var(--secondary); }
.cta-content h2 { font-size: 26px; font-weight: 800; color: var(--white); margin: 10px 0 12px; line-height: 1.25; }
.cta-content h2 em { color: var(--secondary); font-style: normal; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: none;
}
.hero-btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.cta-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.cta-circle {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 56px;
}
.cta-sub-text { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.3px; }

@media (max-width: 768px) {
  .about-overview-grid { grid-template-columns: 1fr; }
  .heritage-content { flex-direction: column; align-items: center; text-align: center; }
  .heritage-icon-wrap { flex-direction: row; }
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-visual { display: none; }
  .category-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

