* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #1a6b3c;
  --green-light: #2d9e5f;
  --green-pale: #e8f5ee;
  --orange: #f47c2b;
  --orange-light: #fef3e8;
  --cream: #faf8f3;
  --brown: #5c3d1e;
  --text: #1c1c1c;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* HEADER */
header {
  background: var(--green);
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26,107,60,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}
.logo i {
  font-size: 1.5rem;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: 40px;
  padding: 0 18px;
  gap: 10px;
  height: 44px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.search-bar:focus-within {
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  background: white;
}
.search-bar i {
  color: var(--green);
  font-size: 1rem;
}
.search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-icon-btn, .cart-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-btn {
  background: var(--orange);
  border-radius: 30px;
  padding: 6px 14px;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.cart-count {
  background: #fff;
  color: var(--orange);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-icon-btn {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}
.search-icon-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.02);
}

.mobile-search-row {
  background: white;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: none;
}
.mobile-search-row.open {
  display: block;
}
.mobile-search-row input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--green-pale);
  border-radius: 40px;
  font-size: 1rem;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}
.mobile-search-row input:focus {
  border-color: var(--green);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* Category chips (horizontal scroll) */
.category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.cat-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cat-row::-webkit-scrollbar {
  height: 4px;
}
.cat-row::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.cat-row::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 10px;
}
.cat-chip {
  white-space: nowrap;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cat-chip.active, .cat-chip:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.arrow-more-btn {
  background: transparent;
  border: 1px solid var(--green);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green);
  flex-shrink: 0;
}
.arrow-more-btn:hover {
  background: var(--green);
  color: white;
}

/* General product card styling */
/* Normal grid mode (filtered view) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

/* Block mode for home layout – makes slideshow and category strip full width */
.products-grid.block {
  display: block;
}

/* Inner blocks inside block mode */
.products-grid.block .first-four-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.products-grid.block .home-slideshow {
  width: 100%;
  margin: 20px 0 24px;
}

.products-grid.block .category-strip {
  width: 100%;
  margin: 24px 0 20px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-img {
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, var(--green-pale), #fff);
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.organic-label, .cut-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 40px;
  backdrop-filter: blur(2px);
  z-index: 2;
  line-height: 1;
}
.organic-label {
  background: rgba(26,107,60,0.92);
  color: white;
}
.cut-label {
  background: rgba(244,124,43,0.92);
  color: white;
  left: auto;
  right: 8px;
}
.product-info {
  padding: 10px 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-name {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 6px;
}
.original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.discount-price {
  font-weight: 800;
  color: var(--orange);
  font-size: 1rem;
}
.single-price {
  font-weight: 800;
  color: var(--green);
  font-size: 0.95rem;
}
.add-button {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}
.add-button:hover {
  background: var(--green-light);
}
.square-qty-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-pale);
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(26,107,60,0.2);
  margin-top: 6px;
}
.qty-square-btn {
  background: white;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  cursor: pointer;
}
.qty-square-value {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========== SLIDESHOW (FIXED) ========== */
.home-slideshow {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin: 20px 0 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.home-slideshow .slide {
  display: none;
  width: 100%;
  text-align: center;
}
.home-slideshow .slide.active {
  display: block;
}
.home-slideshow .slide img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.slideshow-dots {
  text-align: center;
  padding: 12px 0;
  background: rgba(255,255,255,0.9);
}
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}
.dot.active, .dot:hover {
  background-color: var(--green);
}

/* Category strip - 3 items per row on all screen sizes */
.category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 20px;
}
.category-square {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.category-square:hover {
  transform: translateY(-4px);
}
.square-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e0f0e4;
}
.square-name {
  padding: 10px;
  font-weight: 700;
  background: white;
  color: var(--green);
}

/* Horizontal scrollable carousel */
.home-carousel-section {
  margin: 0 0 28px 0;
  padding: 0 4px;
}
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}
.carousel-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--green);
  margin: 0;
}
.carousel-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 40px;
}

.horizontal-scroll-wrapper {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 14px;
  padding: 8px 2px 16px 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 10px;
}

.horizontal-scroll-wrapper .product-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.horizontal-scroll-wrapper .product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Special grid for first 4 products (2 per row) */
.first-four-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

/* Highlighted search results container */
.search-results-highlight {
  background: #f0f9f0;
  border-radius: 24px;
  padding: 20px 16px;
  margin-bottom: 28px;
  border: 1px solid var(--green-pale);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Cart Panel, Modal, Footer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-panel.open {
  transform: translateX(0);
}
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
}
.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--cream);
  border-radius: 14px;
  padding: 10px;
}
.cart-item-emoji img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
}
.cart-item-price {
  font-weight: 700;
  color: var(--green);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cqty-btn {
  background: var(--green-pale);
  border: none;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  font-weight: bold;
  cursor: pointer;
}
.remove-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #e05c5c;
}
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cart-total.grand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.order-btn {
  width: 100%;
  background: linear-gradient(135deg,#25D366,#128C7E);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* Modal - Full Size */
#modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#modalOverlay.show {
  display: flex;
}
#modalBox {
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  padding: 20px;
  overflow-y: auto;
  box-shadow: none;
}
@media (min-width: 768px) {
  #modalBox {
    padding: 30px;
  }
  .modal-flex {
    max-width: 1200px;
    margin: 0 auto;
  }
}
.modal-flex {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.modal-left, .modal-right {
  flex: 1;
  min-width: 280px;
}
.modal-left h3, .modal-right h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 14px;
  color: var(--green);
}
.modal-left input, .modal-left textarea, .modal-left button {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1.5px solid #e2e2e2;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
}
.summary-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
  max-height: 250px;
  overflow-y: auto;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 0.9rem;
}
.price-total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  margin: 12px 0;
}
.delivery-warning {
  background: #fff3f3;
  border-left: 5px solid #d9534f;
  padding: 12px;
  border-radius: 12px;
  margin: 12px 0;
  color: #c9302c;
  font-size: 0.85rem;
}
.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cancel-btn, .send-btn {
  flex: 1;
  padding: 12px;
  border-radius: 40px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.cancel-btn { background: #eee; }
.send-btn { background: #25D366; color: white; }

/* Categories Modal - Full Size with Images */
.categories-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 10001;
  align-items: center;
  justify-content: center;
}
.categories-modal.open {
  display: flex;
}
.categories-modal-content {
  background: white;
  border-radius: 32px;
  width: 95%;
  max-width: 1200px;
  height: 90vh;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.categories-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.categories-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--green);
  margin: 0;
}
.close-categories-modal {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  line-height: 1;
}
.close-categories-modal:hover {
  color: var(--orange);
  transform: rotate(90deg);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px 16px;
  padding: 8px 0;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 16px 12px;
  border-radius: 24px;
  background: var(--cream);
  transition: all 0.25s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.category-item:hover {
  transform: translateY(-6px);
  background: white;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.category-image {
  width: 120px;          /* was 90px */
  height: 120px;         /* was 90px */
  object-fit: cover;
  border-radius: 50%;
  background: white;
  padding: 0;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.category-item:hover .category-image {
  transform: scale(1.05);
}
.category-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  margin-top: 8px;
  text-transform: capitalize;
}
@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .category-image {
    width: 90px;
    height: 90px;
  }
  .categories-modal-header h3 {
    font-size: 1.4rem;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green);
  color: white;
  border-radius: 40px;
  padding: 10px 20px;
  font-weight: 600;
  transition: transform 0.2s;
  z-index: 10000;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ========== FOOTER - ENHANCED ========== */
.app-footer {
  background: linear-gradient(135deg, var(--green) 0%, #145c32 100%);
  color: white;
  text-align: center;
  padding: 32px 20px 24px;
  margin-top: 60px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(2px);
}

.footer-tagline i {
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.footer-links a {
  color: #ffd966;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
}

.footer-links a:hover {
  color: white;
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.developer-credit {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
  width: 100%;
}

.developer-credit a {
  color: #ffd966;
  text-decoration: none;
  font-weight: 700;
}

.developer-credit a:hover {
  text-decoration: underline;
  color: white;
}

/* Responsive footer */
@media (max-width: 640px) {
  .app-footer {
    padding: 24px 16px 20px;
  }
  .footer-links {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  .footer-links a {
    width: auto;
    min-width: 180px;
    justify-content: center;
  }
  .footer-tagline {
    font-size: 1.1rem;
    padding: 6px 16px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .search-bar { display: none; }
  .cart-btn span:first-child { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img { height: 110px; }
  .horizontal-scroll-wrapper .product-card {
    flex: 0 0 140px;
  }
  .carousel-header h3 {
    font-size: 1.1rem;
  }
  .category-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .square-name {
    font-size: 0.7rem;
    padding: 6px;
  }
  .search-results-highlight {
    padding: 12px;
  }
}
@media (min-width: 769px) {
  .mobile-actions .search-icon-btn { display: none; }
  .mobile-search-row { display: none !important; }
}
.home-carousel-section {
  margin: 0 0 28px 0;
  padding: 0 4px;
}
/* Search suggestions with image */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}
.suggestions-dropdown.active {
  display: block;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}
.suggestion-item:hover {
  background: var(--green-pale);
}
.suggestion-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}
.suggestion-name {
  flex: 1;
  font-weight: 500;
  color: var(--text);
}
.search-clear-btn {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 8px;
  display: flex;
  align-items: center;
}
.search-clear-btn:hover {
  color: var(--orange);
}
.mobile-search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
}
.mobile-search-container i {
  color: var(--green);
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-search-container i:hover {
  color: var(--orange);
}
.mobile-search-container input {
  flex: 1;
  padding: 12px 8px;
  border: none;
  outline: none;
  font-size: 1rem;
}
.mobile-search-container .suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
}
/* Vision Modal */
.vision-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10002;
  align-items: center;
  justify-content: center;
}
.vision-modal.open {
  display: flex;
}
.vision-modal-content {
  background: white;
  border-radius: 28px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}
.vision-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.vision-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--green);
  margin: 0;
}
.close-vision-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  line-height: 1;
}
.close-vision-modal:hover {
  color: var(--orange);
  transform: rotate(90deg);
}
.vision-modal-body p {
  margin-bottom: 16px;
  line-height: 1.5;
  color: var(--text);
}
.vision-modal-body strong {
  color: var(--green);
}
/* Footer links */
.footer-links {
  margin: 8px 0;
}
.vision-link {
  color: #ffd966;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vision-link:hover {
  color: white;
  text-decoration: underline;
}
.developer-credit a {
  color: #ffd966;
  text-decoration: none;
}
.developer-credit a:hover {
  text-decoration: underline;
  color: white;
}
/* Cart item styles for savings */
.cart-item-price-original {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0;
}
.cart-item-price-original .original-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.cart-item-price-original .discount-price {
  font-weight: 700;
  color: var(--green);
}
.cart-item-saved {
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 2px;
}
.cart-total.saved {
  font-weight: bold;
  color: var(--orange);
  border-top: 1px dashed #ccc;
  padding-top: 8px;
  margin-top: 8px;
}