/* FreshKart — TargetSite-aligned styles (original teal brand) */
:root {
  --fk-brand: #0f766e;
  --fk-brand-dark: #0b4f4a;
  --fk-brand-soft: #e6f3f1;
  --fk-ink: #1f2a28;
  --fk-muted: #5c6b68;
  --fk-line: #d5e0dd;
  --fk-surface: #f5f8f7;
  --fk-cream: #f7f4ea;
}

body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, sans-serif;
  color: var(--fk-ink);
  background: #fff;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Product card — matches grocery TargetSite card chrome */
.fk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.fk-card:hover { box-shadow: 0 6px 20px rgba(15, 118, 110, 0.1); }

.fk-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--fk-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.fk-card-media {
  display: block;
  aspect-ratio: 1;
  background: #fafafa;
  padding: 12px;
}
.fk-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fk-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  flex: 1;
}

.fk-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--fk-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.fk-card-title:hover { color: var(--fk-brand); }

.fk-card-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.fk-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--fk-ink);
}
.fk-price-was {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

.fk-add-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--fk-brand-soft);
  color: var(--fk-brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.fk-add-btn:hover {
  background: var(--fk-brand);
  color: #fff;
}
.fk-add-plus {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

/* Category tile */
.fk-cat {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 6px;
  padding: 12px 10px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fk-cat:hover {
  border-color: var(--fk-brand);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.08);
}
.fk-cat img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  background: var(--fk-surface);
}
.fk-cat span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fk-ink);
}

/* Page title band (Shop / Offers) */
.fk-page-title {
  background: var(--fk-cream);
  text-align: center;
  padding: 2.25rem 1rem;
}
.fk-page-title h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fk-ink);
}

/* Variant chips */
.variant-chip {
  border: 1px solid var(--fk-line);
  background: #fff;
  color: var(--fk-ink);
  font-weight: 600;
  font-size: 13px;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
}
.variant-chip.is-active,
.variant-chip.active {
  background: var(--fk-brand);
  border-color: var(--fk-brand);
  color: #fff;
}

/* Cart drawer */
[data-cart-drawer] { will-change: transform; }
[data-cart-drawer].is-open { transform: translateX(0) !important; }
[data-drawer-overlay].is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fk-brand-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* storefront.js adds .revealed / .in-view; theme main.js uses .is-in */
[data-reveal].is-in,
[data-reveal].revealed,
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

.hero-slide {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.hero-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-on { background: #fff; width: 22px; }

/* Mobile menu open state (storefront.js toggles .is-open) */
.mobile-menu.is-open { transform: translateX(0) !important; }

/* Price: never split currency from digits; keep card rows aligned on phone */
.product-card-price,
.product-card .pc-price,
.product-card .pc-price-was,
.product-card .dn-price,
.product-card .dn-price-was,
.product-card .sh-price,
.product-card .sh-price-was,
.product-card .dm-price,
.product-card .dm-price-was,
.product-card .fk-price,
.product-card .fk-price-was,
.product-card .rw-price,
.product-card .rw-price-was,
.product-card .hl-price,
.product-card .hl-price-was,
.product-card .nr-price,
.product-card .nr-price-was,
.product-card .tz-price {
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
}
.product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.375rem;
  row-gap: 0.125rem;
  min-height: 1.5rem;
}
@media (max-width: 640px) {
  .product-card-price,
  .sh-card-price,
  .dm-card-price,
  .fk-card-price,
  .dn-card-price,
  .nr-card-price,
  .rw-card-price,
  .hl-card-price,
  .tz-price {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.125rem;
  }
  .product-card-price > span,
  .sh-card-price > span,
  .dm-card-price > span,
  .fk-card-price > span,
  .dn-card-price > span,
  .nr-card-price > span,
  .hl-card-price > span,
  .tz-price > span {
    white-space: nowrap !important;
    display: inline-block;
    max-width: 100%;
  }
  .product-card-price > span:first-child {
    font-size: 0.9rem;
  }
}

/* WaveSeller developer credit — high visibility strip */
.ws-dev-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.95rem 1rem;
  background: #020617;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 3px solid #38bdf8;
}
.ws-dev-credit strong {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  margin-left: 0.25rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .ws-dev-credit {
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
  }
  .ws-dev-credit strong {
    font-size: 1rem;
  }
}
