/* ===== CSS VARIABLES ===== */
:root {
  --green: #1a7a3e;
  --green-light: #2ca35a;
  --green-dark: #145c2e;
  --red: #e63232;
  --orange: #f07b2a;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #888;
  --border: #e5e5e5;
  --bg: #f7f8f5;
  --white: #ffffff;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --radius: 10px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--bg); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* ===== TOP BANNER ===== */
.top-banner {
  background: white;
  color: var(--green-dark);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-fresh { color: white; }
.logo-one { color: #a8f5c8; }
.logo-day { color: #ffdd57; }

.nav-delivery {
  display: flex;
  flex-direction: column;
  color: white;
  min-width: 120px;
  display: none;
}
@media(min-width: 900px) { .nav-delivery { display: flex; } }
.delivery-label { font-size: 11px; opacity: 0.8; }
.delivery-address { font-size: 13px; font-weight: 600; color: #a8f5c8; border-bottom: 1px solid #a8f5c8; cursor: pointer; }

.nav-search {
  flex: 1;
  display: flex;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  min-width: 0;
}
.nav-search input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  font-size: 14px;
  min-width: 0;
}
.search-btn {
  background: var(--green-dark);
  color: white;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}
.search-btn:hover { background: #0e4020; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 768px) {
  .nav-search,
  .nav-actions {
    display: none;
  }
}
.cart-btn {
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(255,255,255,0.25); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
@media(max-width: 768px) { .hamburger { display: flex; margin-left: auto; } }

/* NAV BOTTOM */
.nav-bottom {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 0 24px;
  scrollbar-width: none;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.nav-bottom::-webkit-scrollbar { display: none; }
.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  white-space: nowrap;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: white;
  border-bottom-color: #ffdd57;
  background: rgba(255,255,255,0.08);
}

@media(max-width: 768px) {
  .nav-bottom {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 0;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-bottom.open { display: flex; }
  .nav-link { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); border-left: 3px solid transparent; }
  .nav-link.active { border-left-color: #ffdd57; border-bottom-color: transparent; }
}

/* STORM ALERT */
.storm-alert {
  background: #fff3cd;
  color: #856404;
  font-size: 12.5px;
  padding: 7px 24px;
  text-align: center;
}

/* ===== SEARCH RESULTS ===== */
.search-results {
  position: fixed;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  z-index: 2000;
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover { background: #f0f7f2; }
.search-result-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.search-result-info { flex: 1; }
.search-result-info strong { display: block; font-size: 13px; }
.search-result-info span { color: var(--green); font-size: 12px; font-weight: 600; }
@media (max-width: 768px) {
  .search-results {
    display: none !important;
  }
}
/* ===== PAGES ===== */
.page { display: none; padding-bottom: 60px; }
.page.active { display: block; }
.hidden { display: none !important; }

/* ===== PAGE HEADER BAR ===== */
.page-header-bar {
  background: white;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.page-header-bar h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.page-header-bar h1 u { text-decoration: underline; text-decoration-color: var(--green); }

/* ===== SECTIONS ===== */
.section {
  padding: 28px 32px 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
}
.view-all {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.view-all:hover { color: var(--green-dark); }

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 16px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  z-index: 2;
}
.product-badge.express { background: var(--red); }
.product-badge.sale { background: var(--green); }

.product-img-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.bookmark-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  color: #aaa;
  z-index: 2;
  transition: all 0.2s;
}
.bookmark-btn:hover { color: var(--green); border-color: var(--green); }

.product-info { padding: 10px 12px 12px; }
.product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-weight { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }

.product-pricing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.product-price-per { font-size: 11px; color: var(--text-muted); }
.product-original { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.product-save { font-size: 11px; color: var(--red); font-weight: 600; }

.add-to-cart-btn {
  width: 100%;
  background: var(--green);
  color: white;
  border-radius: 20px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-to-cart-btn:hover { background: var(--green-dark); }
.add-to-cart-btn:active { transform: scale(0.97); }
.add-to-cart-btn.added { background: var(--green-dark); }

.qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  border-radius: 20px;
  overflow: hidden;
}
.qty-btn {
  background: none;
  color: white;
  width: 34px;
  height: 34px;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: rgba(0,0,0,0.2); }
.qty-num {
  color: white;
  font-weight: 700;
  font-size: 14px;
  min-width: 24px;
  text-align: center;
}

/* ===== HERO ===== */
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4a24 0%, #1a7a3e 50%, #2ca35a 100%);
  padding: 60px 32px;
  gap: 120px;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}
.hero-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -100px;
  right: 200px;
}

.hero-content { flex: 1; max-width: 560px; z-index: 1; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 52px);
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.brand-name { color: #ffdd57; }
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-btn {
  display: inline-block;
  background: #ffdd57;
  color: var(--green-dark);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.hero-image {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-image img { width: 100%; height: 280px; object-fit: cover; }
@media(max-width: 768px) { .hero-image { display: none; } }

/* ===== FEATURES BAR ===== */
.features-bar {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  gap: 24px;
}
.feature { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 160px; }
.feature-icon {
  width: 38px; height: 38px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.feature div { font-size: 12px; line-height: 1.5; color: var(--text-light); }
.feature div strong { display: block; color: var(--text); font-size: 13px; }

/* ===== PROMO SECTION ===== */
.promo-box {
  background: linear-gradient(135deg, #e8f7ee, #c8f0da);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
}
.promo-text { flex: 1; }
.promo-text h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 12px; }
.promo-text p { color: var(--text-light); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.promo-btn {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 11px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.promo-btn:hover { background: var(--green-dark); }
.promo-image { flex: 0 0 280px; border-radius: 12px; overflow: hidden; }
.promo-image img { width: 100%; height: 200px; object-fit: cover; }
@media(max-width: 768px) { .promo-image { display: none; } .promo-box { padding: 24px; } }

/* ===== CELEBRATE BANNER ===== */
.celebrate-banner { display: flex; gap: 32px; flex-wrap: wrap; }
.celebrate-text { flex: 1; min-width: 250px; color: var(--text-light); line-height: 1.7; font-size: 15px; background: white; padding: 24px; border-radius: 12px; }
.celebrate-products { flex: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

/* ===== DELIVERY PROMO ===== */
.delivery-promo {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--green);
  border-radius: 16px;
  padding: 32px 40px;
  color: white;
}
.delivery-promo-content { flex: 1; }
.delivery-promo-content h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 10px; }
.delivery-promo-content p { opacity: 0.85; margin-bottom: 20px; font-size: 15px; }
.delivery-promo-content .promo-btn { background: white; color: var(--green-dark); }
.delivery-promo-img { flex: 0 0 240px; border-radius: 12px; overflow: hidden; }
.delivery-promo-img img { width: 100%; height: 160px; object-fit: cover; }
@media(max-width: 768px) { .delivery-promo { padding: 24px; } .delivery-promo-img { display: none; } }

/* ===== PAGE FILTERS ===== */
.page-filters { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--border);
  background: white;
  color: var(--text);
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--green); color: white; border-color: var(--green); }

/* ===== CATEGORY TABS ===== */
.category-tabs, .category-tabs-scroll {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cat-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: color 0.2s;
}
.cat-tab:hover { color: var(--green-dark); }

.bakery-categories { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.bakery-categories a { color: var(--green); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.bakery-categories a:hover { color: var(--green-dark); text-decoration: underline; }

/* ===== DAIRY PROMO ===== */
.promo-ice-cream {
  background: linear-gradient(135deg, #ff9ecf, #ffb347);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 700;
  color: white;
  font-size: 14px;
}
.shop-now-btn {
  background: white;
  color: #ff6b9d;
  padding: 6px 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 12px;
}

/* ===== CART PAGE ===== */
.cart-layout {
  display: flex;
  gap: 32px;
  padding: 32px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: flex-start;
}

.cart-main { flex: 1; }
.cart-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 24px;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--card-shadow);
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cart-item-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item-weight { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-size: 16px; font-weight: 700; color: var(--green); }

.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.item-qty-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: white;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.item-qty-btn:hover { background: var(--green); color: white; }
.item-qty-num { font-weight: 700; min-width: 20px; text-align: center; }

.remove-item-btn {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  background: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.remove-item-btn:hover { background: #fff0f0; }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-bag-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.cart-empty h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: #999; margin-bottom: 8px; }
.cart-empty p { font-size: 15px; margin-bottom: 24px; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar { width: 340px; flex-shrink: 0; }

.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.cart-summary h2 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
}
.summary-row.total { font-weight: 700; font-size: 18px; }
.summary-divider { border: none; border-top: 2px solid var(--border); margin: 8px 0; }
.green { color: var(--green); font-weight: 600; }

.checkout-btn {
  width: 100%;
  background: var(--green);
  color: white;
  padding: 14px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 16px;
  transition: background 0.2s, transform 0.1s;
}
.checkout-btn:hover { background: var(--green-dark); }
.checkout-btn:active { transform: scale(0.98); }

.promo-code-section { display: flex; gap: 8px; }
.promo-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  transition: border-color 0.2s;
}
.promo-input:focus { border-color: var(--green); }
.apply-promo {
  background: var(--green);
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.apply-promo:hover { background: var(--green-dark); }
.promo-msg { font-size: 13px; margin-top: 8px; font-weight: 600; }
.promo-msg.success { color: var(--green); }
.promo-msg.error { color: var(--red); }

.cart-suggestions { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); }
.cart-suggestions h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.suggestions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestion-card {
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
  padding-bottom: 8px;
}
.suggestion-card:hover { transform: translateY(-2px); }
.suggestion-card img { width: 100%; height: 70px; object-fit: cover; margin-bottom: 6px; }
.suggestion-card span { font-size: 11px; font-weight: 600; display: block; padding: 0 4px; }
.suggestion-card .s-price { color: var(--green); font-size: 12px; font-weight: 700; }

@media(max-width: 900px) {
  .cart-layout { flex-direction: column; }
  .cart-sidebar { width: 100%; }
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: flex;
  gap: 48px;
  padding: 48px 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info { flex: 1; }
.contact-info h1 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 12px; }
.contact-sub { color: var(--text-light); font-size: 16px; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item strong { display: block; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.contact-item a, .contact-item p { color: var(--text); font-size: 15px; line-height: 1.7; }
.contact-item a { color: var(--green); }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a { color: var(--green); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.social-links a:hover { color: var(--green-dark); }

/* CONTACT FORM */
.contact-form-wrap {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.contact-signin-note {
  text-align: right;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-light);
}
.contact-signin-note a { color: var(--green); font-weight: 600; }

.contact-required-note {
  background: #f0f9f4;
  border: 1px solid #c8e8d4;
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 24px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.form-group { position: relative; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  transition: border-color 0.2s;
  background: white;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
.form-group textarea {
  border-radius: 12px;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.textarea-label { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.5px; padding-left: 4px; display: block; margin-bottom: 4px; }

.optional-label {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  background: white;
  color: var(--text-muted);
  padding: 0 6px;
  letter-spacing: 0.5px;
}

.submit-btn {
  background: var(--green);
  color: white;
  padding: 15px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  transition: background 0.2s, transform 0.1s;
}
.submit-btn:hover { background: var(--green-dark); }
.submit-btn:active { transform: scale(0.98); }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--text-light); font-size: 15px; }

@media(max-width: 768px) {
  .contact-layout { flex-direction: column; padding: 24px 16px; }
  .form-row { flex-direction: column; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 32px 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.app-badges { display: flex; flex-direction: column; gap: 8px; }
.app-badge {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; font-size: 12px; }
.footer-links a:hover { color: white; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green-dark);
  color: white;
  padding: 13px 22px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 5000;
  pointer-events: none;
  max-width: 300px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-box h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 24px; }
.modal-box h3 { font-size: 17px; font-weight: 700; margin: 20px 0 12px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }

.modal-box .form-group { margin-bottom: 12px; }
.modal-box input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.modal-box input:focus { border-color: var(--green); }
.modal-box .form-row { display: flex; gap: 12px; }
.modal-box .form-row .form-group { flex: 1; }

/* ===== RESPONSIVE ===== */
@media(max-width: 600px) {
  .section { padding: 20px 16px 8px; }
  .page-header-bar { padding: 20px 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-banner { padding: 40px 20px; }
  .features-bar { padding: 12px 16px; gap: 12px; }
  .nav-top { padding: 8px 16px; gap: 10px; }
  .footer { padding: 32px 16px 20px; }
  .cart-layout { padding: 16px; }
  .modal-box { padding: 24px; }
}

@media(max-width: 380px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-img-wrap { height: 120px; }
}

/* Stars rating */
.stars { color: #f5a623; font-size: 11px; margin-bottom: 4px; }
.star-label { font-size: 10px; font-weight: 700; color: #f5a623; border: 1px solid #f5a623; border-radius: 3px; padding: 1px 4px; }
