@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700&display=swap');

:root {
  --olive: #5C6B3A;
  --olive-light: #7A8C50;
  --olive-dark: #3E4A27;
  --teal: #2A7C7C;
  --teal-light: #3A9B9B;
  --teal-dark: #1E5A5A;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --border: #E0DDD6;
  --price-color: #2A7C7C;
  --star-color: #E8A020;
  --cart-badge: #C0392B;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 10px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, .site-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.subtitle, .section-subtitle {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
}

/* ─── HEADER ─── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--olive-dark);
  color: var(--white);
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  gap: 20px;
}

.logo-area {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-name {
  font-family: 'Georgia', serif;
  font-size: 26px;
  color: var(--olive-dark);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-tagline {
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.header-search input:focus {
  border-color: var(--teal);
}

.header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-btn {
  position: relative;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.cart-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

.cart-count {
  background: var(--cart-badge);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ─── NAV ─── */
.nav {
  background: var(--olive);
  padding: 0 40px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
  letter-spacing: 0.02em;
}

.nav a:hover, .nav a.active {
  color: var(--white);
  border-bottom-color: var(--cream);
  background: rgba(255,255,255,0.08);
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 40%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--white);
  color: var(--olive-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Figtree', sans-serif;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
  font-family: 'Figtree', sans-serif;
}

.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ─── CATEGORY STRIPS ─── */
.categories-strip {
  padding: 40px 40px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.categories-strip h2 {
  font-size: 22px;
  color: var(--olive-dark);
  margin-bottom: 20px;
}

.cat-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cat-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.cat-card:hover, .cat-card.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.cat-card .cat-icon { font-size: 18px; }

/* ─── SECTION ─── */
.section {
  padding: 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--olive-dark);
}

.section-header .view-all {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: #F0EDE6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #F8F6F2;
}

.product-info {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  flex: 1;
}

.stars {
  color: var(--star-color);
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--price-color);
  font-family: 'Figtree', sans-serif;
  margin-bottom: 12px;
}

.add-to-cart-btn {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.add-to-cart-btn:hover { background: var(--olive); }
.add-to-cart-btn:active { transform: scale(0.98); }

/* ─── SEARCH + FILTER BAR ─── */
.shop-controls {
  padding: 20px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.shop-controls input {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: var(--cream);
  outline: none;
  position: relative;
}

.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-light); }

.shop-controls input:focus { border-color: var(--teal); }

.filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: var(--cream);
  outline: none;
  cursor: pointer;
  color: var(--text-dark);
}

.filter-select:focus { border-color: var(--teal); }

/* ─── PAGE TITLE BANNER ─── */
.page-banner {
  background: linear-gradient(120deg, var(--olive-dark) 0%, var(--teal-dark) 100%);
  color: white;
  padding: 40px 40px;
  text-align: center;
}

.page-banner h1 { font-size: clamp(28px, 4vw, 44px); color: white; margin-bottom: 6px; }
.page-banner p { font-size: 15px; color: rgba(255,255,255,0.75); }

/* ─── CART SIDEBAR ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 { font-size: 20px; color: var(--olive-dark); }

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
  padding: 4px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #F8F6F2;
  border-radius: 8px;
  padding: 4px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.cart-item-price { color: var(--price-color); font-weight: 700; font-size: 15px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }

.remove-item {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s;
}
.remove-item:hover { color: #C0392B; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--olive-dark);
}

.checkout-btn {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.checkout-btn:hover { background: #128C7E; transform: translateY(-2px); }

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-cart-icon { font-size: 60px; margin-bottom: 12px; }
.empty-cart p { font-size: 16px; }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--olive-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  z-index: 3000;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── TRUST BADGES ─── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-icon { font-size: 30px; }
.trust-title { font-weight: 600; font-size: 14px; color: var(--olive-dark); }
.trust-desc { font-size: 12px; color: var(--text-light); }

/* ─── FOOTER ─── */
.footer {
  background: var(--olive-dark);
  color: rgba(255,255,255,0.85);
  padding: 50px 40px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-name { color: white; font-size: 28px; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 13px; margin-top: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; }

.footer-col h4 {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 1500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-size: 22px;
  color: var(--olive-dark);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-text h4 { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.contact-detail-text p, .contact-detail-text a {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-form-card h3 { font-size: 22px; color: var(--olive-dark); margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  color: var(--text-dark);
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }

.submit-btn {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: var(--olive); }

/* ─── ABOUT ─── */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.about-section h2 { font-size: 32px; color: var(--olive-dark); margin-bottom: 20px; }
.about-section p { font-size: 16px; line-height: 1.75; color: var(--text-mid); margin-bottom: 20px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.value-card .icon { font-size: 36px; margin-bottom: 12px; }
.value-card h4 { font-size: 16px; color: var(--olive-dark); margin-bottom: 8px; font-weight: 600; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ─── PRODUCT MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.25s;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 18px; color: var(--olive-dark); }

.modal-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.modal-img {
  background: #F8F6F2;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  aspect-ratio: 1;
}

.modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

.modal-details h2 { font-size: 22px; color: var(--olive-dark); margin-bottom: 8px; }
.modal-price { font-size: 28px; font-weight: 700; color: var(--price-color); margin-bottom: 12px; }
.modal-stars { color: var(--star-color); margin-bottom: 16px; }
.modal-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 20px; }

.modal-add-btn {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-add-btn:hover { background: var(--olive); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header-main { padding: 12px 16px; }
  .header-search { display: none; }
  .nav { padding: 0 16px; }
  .hero { padding: 50px 20px; }
  .section, .shop-controls { padding: 24px 16px; }
  .categories-strip { padding: 24px 16px 12px; }
  .page-banner { padding: 30px 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer { padding: 40px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-bar { padding: 20px 16px; }
  .cart-sidebar { width: 100vw; }
  .about-section { padding: 40px 16px; }
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}

.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #C0392B;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 700px) {
  .mobile-search-toggle { display: flex; align-items: center; }
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  grid-column: 1 / -1;
}

.no-results-icon { font-size: 50px; margin-bottom: 12px; }

/* ═══════════════════════════════════════════════
   MOBILE OPTIMISATION — COMPREHENSIVE OVERHAUL
   ═══════════════════════════════════════════════ */

/* ─── HAMBURGER MENU BUTTON ─── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger-btn:hover { background: var(--cream); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ─── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s;
}
.nav-mobile-overlay.open { opacity: 1; }

/* ─── MOBILE SEARCH BAR (below header) ─── */
.mobile-search-bar {
  display: none;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mobile-search-bar input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  background: var(--cream);
  outline: none;
}
.mobile-search-bar input:focus { border-color: var(--teal); }
.mobile-search-wrap { position: relative; }
.mobile-search-wrap .msearch-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

/* ─── STICKY MOBILE BOTTOM NAV ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 1200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 8px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
  min-height: 56px;
}
.mob-nav-item .mob-nav-icon { font-size: 22px; line-height: 1; }
.mob-nav-item.active, .mob-nav-item:hover { color: var(--teal); }
.mob-nav-item.cart-tab { position: relative; }
.mob-cart-badge {
  position: absolute;
  top: 8px;
  right: 50%;
  transform: translateX(8px);
  background: var(--cart-badge);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

/* ─── MOBILE RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop search */
  .hamburger-btn { display: flex; }
  .header-search { display: none !important; }
  .mobile-search-bar { display: block; }
  .mobile-bottom-nav { display: block; }

  /* Shift WhatsApp float up above bottom nav */
  .whatsapp-float {
    bottom: 72px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  /* Body padding for bottom nav */
  body { padding-bottom: 60px; }

  /* Header tweaks */
  .header-main { padding: 10px 14px; gap: 12px; }
  .header-top { font-size: 11px; padding: 6px 10px; line-height: 1.4; }
  .logo-name { font-size: 22px !important; }
  .logo-tagline { font-size: 10px !important; }

  /* Hide desktop nav entirely, replaced by bottom nav */
  .nav { display: none; }

  /* Hero */
  .hero { padding: 44px 16px; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero p { font-size: 15px; }
  .hero-cta { gap: 10px; }
  .btn-primary, .btn-secondary { padding: 13px 22px; font-size: 14px; }

  /* Sections */
  .section { padding: 24px 14px; }
  .categories-strip { padding: 20px 14px 12px; }
  .shop-controls { padding: 14px; gap: 10px; }
  .page-banner { padding: 28px 16px; }
  .page-banner h1 { font-size: 26px; }

  /* Product grid: 2 columns tight */
  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  /* Product card — compact for mobile */
  .product-card { border-radius: 10px; }
  .product-info { padding: 10px 10px 12px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 16px; margin-bottom: 8px; }
  .stars { font-size: 11px; }
  .add-to-cart-btn { padding: 9px; font-size: 12px; }

  /* Cart sidebar full width */
  .cart-sidebar { width: 100vw; border-radius: 0; }

  /* Footer */
  .footer { padding: 32px 14px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Trust bar */
  .trust-bar { padding: 18px 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-icon { font-size: 24px; }
  .trust-title { font-size: 12px; }
  .trust-desc { font-size: 11px; }

  /* Contact page */
  .contact-grid { padding: 20px 14px; gap: 20px; }
  .contact-info-card, .contact-form-card { padding: 20px; }

  /* About */
  .about-section { padding: 28px 14px; }
  .about-values { grid-template-columns: 1fr; gap: 14px; }
  .about-hero { padding: 40px 16px; }
  .about-hero h1 { font-size: 28px !important; }

  /* Modal full screen on mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: 20px 20px 0 0; width: 100%; }
  .modal-body { grid-template-columns: 1fr; gap: 16px; }
  .modal-img { max-width: 200px; margin: 0 auto; }

  /* Promo banner */
  .promo-banner { margin: 0 14px 28px; padding: 20px; text-align: center; }
  .promo-banner h3 { font-size: 19px; }

  /* Section headers */
  .section-header h2 { font-size: 20px; }

  /* Cat cards scroll on mobile */
  .cat-grid { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { white-space: nowrap; flex-shrink: 0; padding: 10px 16px; }

  /* Toast above bottom nav */
  .toast { bottom: 76px; font-size: 13px; padding: 12px 20px; }

  /* Filter / shop controls */
  .shop-controls { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: 0; }
  .filter-select { width: 100%; }

  /* Cart actions */
  .cart-header { padding: 16px 18px; }
  .cart-items { padding: 10px 18px; }
  .cart-footer { padding: 14px 18px; }
  .checkout-btn { padding: 14px; font-size: 15px; }
}

/* ─── SMALL PHONES (max 400px) ─── */
@media (max-width: 400px) {
  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .hero h1 { font-size: 24px; }
  .header-main { padding: 8px 12px; }
  .logo-name { font-size: 20px !important; }
}

/* ─── TOUCH IMPROVEMENTS ─── */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .cart-btn:hover { transform: none; }
  .add-to-cart-btn { min-height: 44px; }
  .cart-btn { min-height: 44px; }
  .mob-nav-item { min-height: 52px; }
  /* Remove hover effects that don't make sense on touch */
  .whatsapp-float:hover { transform: none; }
}

/* ─── SAFE AREA (notched phones) ─── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
