:root {
  --bg: #f6fbff;
  --bg-2: #eef7fb;
  --surface: #ffffff;
  --surface-2: #f7fbfd;
  --surface-soft: #eef7ee;
  --text: #173126;
  --muted: #597066;
  --green: #2f7d55;
  --green-dark: #1f5a3b;
  --flower: #ffbf47;
  --flower-2: #fff0c8;
  --accent-sky: #dff4ff;
  --accent-rose: #ffe0ee;
  --dark: #152018;
  --border: #dbe8df;
  --shadow: 0 18px 45px rgba(20, 63, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(20, 63, 42, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fdff 0%, #eef7fb 45%, #f6fbf7 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: linear-gradient(90deg, #1f5a3b, #2f7d55);
  color: #f7fffb;
  font-size: 0.88rem;
}
.topbar-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header, .admin-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 207, 188, 0.8);
}

.header-row, .admin-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px;
  box-shadow: var(--shadow-soft);
}
.brand strong {
  display: block;
  font-size: 1.12rem;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.main-nav a {
  font-weight: 700;
  color: var(--muted);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--flower);
  transition: 0.25s ease;
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a:hover::after { width: 100%; }

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mini-admin-login {
  display: grid;
  grid-template-columns: 108px 96px 40px;
  gap: 8px;
  align-items: center;
}
.mini-admin-login input {
  width: 100%;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.mini-admin-login input::placeholder {
  color: #7f9388;
}
.mini-admin-login button,
.cart-button,
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: 0.25s ease;
}
.mini-admin-login button {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}
.cart-button strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--flower);
  color: #2c2616;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.hero {
  padding: 34px 0 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy,
.hero-card,
.highlight-card,
.care-card,
.product-card,
.admin-card,
.drawer-panel,
.modal-panel {
  background: var(--surface);
  border: 1px solid rgba(217, 207, 188, 0.95);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 71, 0.18), transparent 24%),
    radial-gradient(circle at left bottom, rgba(47, 125, 85, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,251,255,0.98));
}
.hero-card {
  overflow: hidden;
  border-radius: 34px;
}
.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.hero-card-info {
  padding: 22px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
}
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--flower-2);
  color: #6a4e0c;
  font-weight: 800;
  font-size: 0.85rem;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.3vw, 4rem);
  line-height: 1.03;
  margin: 16px 0;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions, .admin-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-weight: 700;
}
.hero-premium-grid span {
  border: 1px solid var(--border);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.trust-strip div {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
}
.trust-strip strong {
  display: block;
  font-size: 1.1rem;
}
.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  padding: 12px 18px;
  font-weight: 800;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
}
.btn-soft {
  background: #fff7dd;
  color: #5c4a17;
  border: 1px solid #ead9a4;
}
.btn-secondary {
  background: #864444;
  color: #fff;
}
.btn.full { width: 100%; }
.btn.small { padding: 10px 14px; font-size: 0.9rem; }

.carousel-section { padding: 16px 0 22px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head.compact { margin-bottom: 12px; }
.section-head.left { justify-content: flex-start; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(1.5rem, 2.2vw, 2.3rem); }
.search-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.search-tools input,
.search-tools select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
}
.search-tools input { min-width: 340px; }
.search-section {
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.search-info {
  color: var(--muted);
  margin-bottom: 18px;
}

.cactus-marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 14px 20px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(244,250,252,0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.cactus-marquee::before,
.cactus-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
}
.cactus-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0));
}
.cactus-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0.96), rgba(255,255,255,0));
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: slideLeft 42s linear infinite;
  will-change: transform;
}
.marquee-item {
  width: 240px;
  height: 160px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
  background: #fff;
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03) brightness(1.02);
}
@keyframes slideLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}
.product-card {
  border-radius: 28px;
  overflow: hidden;
}
.premium-product-card {
  position: relative;
}
.premium-product-card::before { content: none; }
.product-image-wrap { height: 250px; overflow: hidden; background: linear-gradient(180deg, #edf8ff, #f7fbfd); }
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  filter: saturate(1.08) contrast(1.04);
}
.product-card:hover .product-image { transform: scale(1.04); }
.product-body { padding: 18px; }
.product-category {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: capitalize;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}
.product-body h3 { margin: 0 0 10px; font-size: 1.1rem; min-height: 52px; }
.product-body p { color: var(--muted); line-height: 1.6; min-height: 76px; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}
.premium-meta div { display: flex; flex-direction: column; gap: 4px; }
.product-meta strong { font-size: 1.06rem; }
.product-meta small { color: var(--muted); font-weight: 700; }
.product-meta span { color: var(--muted); font-size: 0.93rem; }
mark {
  background: #fff0a9;
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

.highlights {
  padding: 10px 0 14px;
}
.highlights-grid, .care-grid, .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.care-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.highlight-card, .care-card {
  border-radius: 24px;
  padding: 24px;
}
.highlight-card p, .care-card p, .site-footer p {
  color: var(--muted);
  line-height: 1.7;
}
.care-section { padding: 18px 0 34px; }

.site-footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(240,234,220,0.92));
}
.footer-grid { align-items: start; }
.footer-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--green-dark);
  font-weight: 800;
}

.drawer, .modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}
.drawer.active, .modal.active {
  opacity: 1;
  pointer-events: auto;
}
.drawer-overlay, .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 33, 25, 0.48);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  padding: 24px;
  border-radius: 28px 0 0 28px;
}
.modal-panel {
  position: relative;
  width: min(920px, calc(100% - 24px));
  max-height: min(92vh, 920px);
  margin: 4vh auto 0;
  padding: 20px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.drawer-header button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 230px);
  overflow: auto;
  padding-right: 4px;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}
.cart-item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
}
.cart-item h4 { margin: 0 0 8px; }
.cart-item p { margin: 0 0 10px; color: var(--muted); }
.cart-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qty-btn, .remove-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.remove-btn { color: #8b4d4d; }
.cart-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.checkout-form { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.checkout-scroll-area {
  overflow: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-actions-sticky {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.96) 35%, rgba(255,255,255,1));
}
.compact-grid { gap: 12px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checkout-form label, .admin-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}
.payment-box,
.checkout-summary-box,
.bank-box {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #ead9a4;
}
.payment-box,
.bank-box {
  background: #fbf6e8;
}
.checkout-summary-box {
  background: #f4f8f1;
  border-color: #cdddcf;
}
.payment-box p, .bank-box p { color: var(--muted); }
.payment-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.checkout-summary-row.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #cdddcf;
  font-size: 1.05rem;
}
.checkout-summary-row.usd {
  color: var(--muted);
}

.admin-body { background: linear-gradient(180deg, #f6fbff 0%, #edf6fb 100%); }
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 28px 0 40px;
}
.admin-card {
  border-radius: 28px;
  padding: 24px;
}
.admin-span-2 { grid-column: 1 / -1; }
.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-form {
  display: grid;
  gap: 14px;
}
.admin-products, .sales-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-product-card, .sale-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}
.admin-product-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
}
.admin-product-card h3 { margin: 0 0 8px; }
.admin-product-card p { margin: 0; color: var(--muted); }
.admin-product-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-weight: 800;
}
.admin-product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sale-card {
  grid-template-columns: 1fr;
}
.sale-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sale-card p { margin: 4px 0; }
.admin-note, .empty-state, .empty-state.small {
  color: var(--muted);
}
.empty-state {
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed var(--border);
  background: rgba(255,255,255,0.7);
}
.empty-state.small { padding: 16px; }

@media (max-width: 1080px) {
  .header-row {
    grid-template-columns: auto auto 1fr;
    gap: 14px;
  }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.active { display: flex; }
  .hero-grid, .admin-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights-grid, .care-grid, .footer-grid, .trust-strip { grid-template-columns: 1fr; }
  .admin-span-2 { grid-column: auto; }
}

@media (max-width: 900px) {
  .gateway-grid, .map-meta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 20px, 1240px); }
  .topbar-row { justify-content: flex-start; gap: 10px; padding: 8px 0; }
  .header-row {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    padding: 10px 0;
  }
  .brand { grid-column: 1 / 2; }
  .header-tools {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .mini-admin-login {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
  }
  .mini-admin-login input { width: 100%; }
  .cart-button { justify-content: center; }
  .hero-copy, .hero-card, .admin-card, .modal-panel, .drawer-panel { border-radius: 22px; }
  .hero-card img { min-height: 300px; }
  .search-tools { width: 100%; }
  .search-tools input, .search-tools select { width: 100%; min-width: 0; }
  .product-grid, .form-grid { grid-template-columns: 1fr; }
  .modal-panel { width: min(100% - 12px, 920px); max-height: 96vh; padding: 14px; margin-top: 1.5vh; }
  .checkout-scroll-area { padding-right: 0; }
  .delivery-map { height: 220px; }
  .admin-product-card {
    grid-template-columns: 1fr;
  }
  .admin-product-card img {
    width: 100%;
    height: 220px;
  }
  .admin-product-actions { flex-direction: row; }
  .marquee-item { width: 200px; height: 138px; }
  .brand-logo { width: 56px; height: 56px; }
  .main-nav { top: 84px; }
}

.location-box {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #d7e3ea;
  background: linear-gradient(180deg, #f6fbff, #eef6fb);
}
.location-box-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.location-box h3, .payment-box h3 { margin: 0 0 4px; }
.location-box p { margin: 0; color: var(--muted); }
.delivery-map {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cfe0e8;
  margin-bottom: 12px;
}
.map-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.map-help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.btn-small { padding: 10px 14px; font-size: 0.92rem; }
.payment-gateway-box {
  background: linear-gradient(180deg, #fff9ec, #fff7e0);
}
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e6dcb6;
  background: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.payment-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(84, 83, 41, 0.08);
}
.payment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.payment-option.active {
  border-color: #c7b25f;
  box-shadow: 0 0 0 3px rgba(199,178,95,0.12);
}
.payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
  background: #fff;
  border: 1px solid #eee2bb;
}
.payment-option span { display: flex; flex-direction: column; }
.payment-option strong { font-size: .98rem; }
.payment-option small { color: var(--muted); font-size: .82rem; }
.leaflet-container { font-family: inherit; }
