/* Sweet Vanilla — mobile-first storefront experience */
:root {
  --sv-soft: #fff7fb;
  --sv-pink: #f4d7e6;
  --sv-pink-strong: #c85f8c;
  --sv-blue: #5d83a8;
  --sv-dark: #2d2430;
  --sv-shadow: 0 12px 34px rgba(63, 42, 55, .10);
}

.store-body { padding-bottom: 82px; }
.store-header { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(16px); background: rgba(255,255,255,.92); }
.store-brand-button { border: 0; background: transparent; cursor: pointer; }
.store-notice-wrap { padding-top: 10px; }
.store-notice {
  border: 1px solid #efd59f;
  background: #fff9e9;
  color: #684c10;
  border-radius: 16px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(114, 87, 28, .08);
}
.store-notice.is-closed { border-color: #efb9b9; background: #fff0f0; color: #8b2727; }
.store-notice strong { display: block; margin-bottom: 2px; }

.store-hero { padding: 12px 0 6px; }
.store-hero-card {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(196, 132, 159, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 5%, rgba(237, 194, 214, .55), transparent 38%),
    linear-gradient(145deg, #fff 0%, #fff8fb 60%, #f8f4ff 100%);
  box-shadow: var(--sv-shadow);
}
.store-hero-copy h1 { margin: 5px 0 7px; font-size: clamp(24px, 7vw, 38px); line-height: 1.15; color: var(--sv-dark); }
.store-hero-copy p { margin: 0; color: #6b5d67; font-size: 14px; line-height: 1.7; }
.store-hero-logo { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; box-shadow: 0 10px 24px rgba(54,42,50,.10); }
.store-gf-badge { margin-top: 13px; padding: 9px 10px; border-radius: 16px; gap: 9px; }
.store-gf-badge .gf-mark { width: 38px; height: 38px; min-width: 38px; font-size: 14px; }
.store-gf-badge strong { font-size: 13px; }
.store-gf-badge small { font-size: 11px; }

.store-compact-section { padding: 8px 0 2px; }
.store-section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 5px 0 10px; }
.store-section-title h2 { margin: 1px 0 0; font-size: 21px; }
.store-mini-kicker { display: block; color: var(--sv-pink-strong); font-size: 11px; font-weight: 900; letter-spacing: .02em; }

.last-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #eadde5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(55,40,48,.06);
}
.last-order-card strong { display: block; margin: 2px 0; }
.last-order-card small { display: block; color: #766b72; font-size: 12px; }
.last-order-card .btn { min-height: 40px; padding: 8px 12px; white-space: nowrap; }

.featured-products-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 72vw);
  gap: 11px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 1px 9px;
  scrollbar-width: none;
}
.featured-products-rail::-webkit-scrollbar { display: none; }
.featured-products-rail .product-card { scroll-snap-align: start; }

.store-categories-section { padding: 8px 0 18px; }
.store-categories-section .categories.category-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
  margin: 0;
}
.store-categories-section .category-card { min-height: 118px; border-radius: 18px; padding: 12px; }
.store-categories-section .category-card-name { right: 12px; bottom: 12px; left: 38px; font-size: 17px; }
.store-categories-section .category-card-arrow { left: 11px; bottom: 11px; width: 28px; height: 28px; font-size: 15px; }

.store-catalog-view { padding: 12px 0 20px; min-height: 68vh; }
.catalog-product-toolbar { display: grid; gap: 10px; margin: 0 0 12px; position: sticky; top: 65px; z-index: 30; padding: 8px 0 10px; background: linear-gradient(to bottom, rgba(255,255,255,.98) 78%, rgba(255,255,255,0)); }
.catalog-toolbar-topline { display: flex; align-items: center; gap: 10px; }
.catalog-title-wrap { min-width: 0; }
.catalog-title-wrap h2 { margin: 0; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-icon-button {
  width: 42px; height: 42px; min-width: 42px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-size: 20px; cursor: pointer;
}
.catalog-search-field { width: 100%; }
.catalog-search-field .search-input-wrap { min-height: 44px; }

.smart-filter-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.smart-filter-rail::-webkit-scrollbar { display: none; }
.smart-filter {
  flex: 0 0 auto;
  border: 1px solid #eadfe5;
  background: #fff;
  color: #665a62;
  border-radius: 999px;
  min-height: 34px;
  padding: 6px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.smart-filter.is-active { border-color: #d69ab6; background: #fff0f6; color: #8e3d63; }

.store-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
.store-products-grid .product-card,
.featured-products-rail .product-card {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(53,39,47,.08);
}
.store-products-grid .product-image,
.featured-products-rail .product-image { aspect-ratio: 1 / .92; object-fit: cover; }
.store-products-grid .product-body,
.featured-products-rail .product-body { padding: 10px; }
.store-products-grid .product-category,
.featured-products-rail .product-category { font-size: 10px; margin-bottom: 4px; }
.store-products-grid h3,
.featured-products-rail h3 { font-size: 14px; line-height: 1.35; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.store-products-grid .product-desc,
.featured-products-rail .product-desc { font-size: 11px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 33px; }
.store-products-grid .product-footer,
.featured-products-rail .product-footer { gap: 7px; align-items: center; }
.store-products-grid .price,
.featured-products-rail .price { font-size: 15px; white-space: nowrap; }
.store-products-grid .product-footer .btn,
.featured-products-rail .product-footer .btn { min-height: 34px; padding: 6px 9px; font-size: 11px; border-radius: 10px; }

.product-favorite-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #7a6c75;
  box-shadow: 0 5px 14px rgba(44,29,39,.12);
  font-size: 19px;
  cursor: pointer;
}
.product-favorite-btn.is-favorite { background: #fff0f6; color: #b23d70; }
.product-gf-mini {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(72, 123, 92, .93);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(26,72,41,.15);
}
.product-featured-badge {
  width: fit-content;
  margin-bottom: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff0f6;
  color: #9c3e67;
  font-size: 10px;
  font-weight: 900;
}

.store-favorites-view { min-height: 72vh; padding-top: 14px; }
.favorites-heading { margin-bottom: 12px; }

.store-bottom-nav {
  position: fixed;
  right: 12px;
  bottom: 10px;
  left: 12px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(226,211,220,.95);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 35px rgba(52,38,47,.18);
  backdrop-filter: blur(18px);
}
.store-bottom-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #7a6f76;
  font: inherit;
  cursor: pointer;
}
.store-bottom-item > span { font-size: 20px; line-height: 1.2; }
.store-bottom-item small { font-size: 10px; font-weight: 800; }
.store-bottom-item.is-active { background: #fff0f6; color: #923f64; }
.bottom-nav-icon-wrap { position: relative; display: inline-grid; place-items: center; }
.bottom-nav-badge {
  position: absolute;
  top: -7px;
  right: -11px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ad3f68;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.store-footer { margin-bottom: 62px; }

@media (max-width: 620px) {
  .store-whatsapp-top { min-height: 38px; padding: 7px 11px; font-size: 12px; }
  .store-header .mobile-cart-shortcut { display: none !important; }
  .store-header .brand-mini span { font-size: 13px; }
  .store-header .brand-mini img { width: 34px; height: 34px; }
  .store-hero-card { grid-template-columns: 1fr 70px; padding: 15px; }
  .store-hero-logo { width: 70px; height: 70px; border-radius: 18px; }
  .store-gf-badge small { display: none; }
  .store-categories-section .category-card { min-height: 108px; }
  .shop-layout { display: block !important; }
  #cartPanel:not(.mobile-cart-open) { display: none !important; }
}

@media (min-width: 721px) {
  .store-body { padding-bottom: 0; }
  .store-bottom-nav { display: none; }
  .store-hero-card { grid-template-columns: 1fr 140px; padding: 28px; }
  .store-hero-logo { width: 140px; height: 140px; }
  .store-categories-section .categories.category-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .store-categories-section .category-card { min-height: 150px; }
  .featured-products-rail { grid-auto-columns: minmax(220px, 280px); }
  .store-products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 14px !important; }
  .store-footer { margin-bottom: 0; }
}


/* ===== 2026-10-11 checkout visual restore + polish ===== */
#cartPanel {
  --checkout-pink: #ef6f9a;
  --checkout-pink-soft: #fff1f6;
  --checkout-blue: #5aaed3;
  --checkout-blue-soft: #eff9fd;
}
#cartPanel > h3 {
  margin: 2px 0 14px;
  font-size: 22px;
  color: #28323a;
}
#cartPanel .cart-item {
  padding: 12px 0;
  gap: 12px;
}
#cartPanel .cart-item strong { font-size: 15px; line-height: 1.4; }
#cartPanel .cart-item small { display: block; margin-top: 3px; font-size: 12px; }
#cartPanel .qty { direction: ltr; gap: 8px; }
#cartPanel .qty button {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  border-color: #dfe5ea;
  background: #fff;
  color: #3476d9;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(42,58,72,.05);
}
#cartPanel .cart-summary {
  margin: 12px 0 14px;
  padding: 12px 13px;
  border: 1px solid #ece5e9;
  border-radius: 17px;
  background: linear-gradient(145deg, #fffafd, #f8fbfd);
}
#cartPanel .cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: #5f6870;
  font-size: 13px;
}
#cartPanel .cart-summary-total {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid #e8e1e5;
  color: #27323a;
  font-size: 17px;
  font-weight: 950;
}
#cartPanel .order-fields {
  gap: 14px;
  margin-top: 4px;
}
#cartPanel .field { gap: 7px; }
#cartPanel .field > label {
  color: #323b42;
  font-size: 13px;
  font-weight: 900;
}
#cartPanel .required-mark { color: #d94b70; }
#cartPanel .field input,
#cartPanel .field select,
#cartPanel .field textarea,
#cartPanel .search-input-wrap {
  min-height: 48px;
  border-radius: 15px;
  border-color: #dfe3e6;
  background: #fff;
}
#cartPanel .field input:focus,
#cartPanel .field select:focus,
#cartPanel .field textarea:focus,
#cartPanel .search-input-wrap:focus-within {
  border-color: #dda1b9;
  box-shadow: 0 0 0 3px rgba(222, 116, 158, .11);
}
.fulfillment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
}
.fulfillment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 44px 12px 12px;
  border: 1px solid #e4e7ea;
  border-radius: 17px;
  background: #fff;
  color: #303941;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fulfillment-option:hover { transform: translateY(-1px); }
.fulfillment-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.fulfillment-option::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border: 2px solid #bdc4ca;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.fulfillment-option:has(input:checked) {
  border-color: #e4a2bd;
  background: linear-gradient(145deg, #fff4f8, #fffafd);
  box-shadow: 0 8px 20px rgba(190,77,121,.09);
}
.fulfillment-option:has(input:checked)::before {
  border-color: var(--checkout-pink);
  background: var(--checkout-pink);
}
.fulfillment-option span { min-width: 0; }
.fulfillment-option strong { display: block; margin-bottom: 3px; font-size: 14px; }
.fulfillment-option small { display: block; color: #7a838a; font-size: 11px; line-height: 1.45; }
.delivery-fields {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dfeaf0;
  border-radius: 17px;
  background: linear-gradient(145deg, #fbfdff, #f4fbfe);
}
.delivery-fields.hidden { display: none !important; }
.delivery-area-results {
  display: grid;
  gap: 6px;
  margin-top: 7px;
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e1e6e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(44,55,63,.10);
}
.delivery-area-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #323b42;
  text-align: right;
  font: inherit;
}
.delivery-area-option:hover,
.delivery-area-option:focus-visible { background: #fff2f7; outline: none; }
.delivery-area-option strong { color: #a1456a; white-space: nowrap; }
.selected-delivery-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #bfe1ef;
  border-radius: 13px;
  background: #edf9fd;
  color: #285d74;
  font-size: 12px;
}
.selected-delivery-area > strong { white-space: nowrap; font-size: 14px; }
.delivery-unavailable {
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid #f0c8cc;
  border-radius: 14px;
  background: #fff4f5;
  color: #7e3440;
  font-size: 12px;
  line-height: 1.6;
}
.delivery-unavailable strong { display: block; margin-bottom: 3px; }
.delivery-unavailable-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
#sendOrder {
  min-height: 52px !important;
  border-radius: 17px !important;
  box-shadow: 0 10px 24px rgba(223,93,134,.18);
  font-size: 15px;
}

@media (max-width: 620px) {
  #cartPanel.mobile-cart-open {
    top: 72px;
    right: 8px;
    left: 8px;
    max-height: calc(100dvh - 90px);
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 22px 58px rgba(34,43,51,.20);
  }
  #cartPanel .mobile-cart-close {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #fff;
  }
  .fulfillment-options { grid-template-columns: 1fr; }
  .fulfillment-option { min-height: 66px; }
  #cartPanel .order-fields { gap: 12px; }
}


/* ===== 2026-10-11 clear-cart action ===== */
#cartPanel .cart-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px}
#cartPanel .cart-title-row h3{margin:0;font-size:22px;color:#28323a}
#cartPanel .clear-cart-btn{border:1px solid rgba(196,61,86,.18);background:#fff5f7;color:#a9344e;border-radius:12px;min-height:36px;padding:7px 11px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}
#cartPanel .clear-cart-btn:active{transform:scale(.97)}

/* ===== Sweet Vanilla Premium Storefront — 2026-10-12 ===== */
:root {
  --sv-primary: #5579a8;
  --sv-primary-deep: #3f608c;
  --sv-primary-soft: #eef4fb;
  --sv-rose: #d989a7;
  --sv-rose-soft: #fff3f7;
  --sv-ink: #283548;
  --sv-muted: #718096;
  --sv-canvas: #fbfcfe;
  --sv-line-soft: rgba(75, 96, 126, .12);
  --sv-premium-shadow: 0 16px 42px rgba(49, 67, 94, .10);
}

.store-body {
  background:
    radial-gradient(circle at 90% 0%, rgba(235, 244, 255, .8), transparent 29rem),
    radial-gradient(circle at 5% 18%, rgba(255, 239, 246, .62), transparent 26rem),
    var(--sv-canvas);
  color: var(--sv-ink);
}

.store-header {
  border-bottom: 1px solid rgba(68, 89, 119, .08);
  background: rgba(252, 253, 255, .88);
  box-shadow: 0 6px 24px rgba(52, 69, 94, .04);
}
.store-header .header-inner { min-height: 64px; }
.store-header .brand-mini { gap: 9px; color: var(--sv-ink); }
.store-header .brand-mini img {
  border: 1px solid rgba(89, 112, 144, .10);
  box-shadow: 0 7px 18px rgba(53, 70, 94, .09);
}
.store-header .brand-mini span { font-weight: 900; letter-spacing: -.02em; }
.store-whatsapp-top {
  border: 1px solid rgba(85, 121, 168, .12) !important;
  background: var(--sv-primary-soft) !important;
  color: var(--sv-primary-deep) !important;
  box-shadow: none !important;
}

.store-hero { padding: 14px 0 4px; }
.store-hero-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: 1fr 92px;
  gap: 18px;
  padding: 21px;
  border: 1px solid rgba(83, 110, 149, .11);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(218, 232, 251, .95), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(255, 233, 242, .78), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(249,251,255,.98));
  box-shadow: var(--sv-premium-shadow);
}
.store-hero-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  left: -74px;
  top: -92px;
  border-radius: 50%;
  border: 22px solid rgba(216, 137, 167, .06);
  pointer-events: none;
}
.store-hero-copy { position: relative; z-index: 2; }
.store-hero-copy .eyebrow {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(85, 121, 168, .08);
  color: var(--sv-primary-deep);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
}
.store-hero-copy h1 {
  max-width: 660px;
  margin: 8px 0 8px;
  color: var(--sv-ink);
  font-size: clamp(25px, 6.8vw, 42px);
  line-height: 1.22;
  letter-spacing: -.035em;
}
.store-hero-copy p {
  max-width: 610px;
  color: #64748a;
  font-size: 13px;
  line-height: 1.78;
}
.store-hero-logo {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  border: 5px solid rgba(255,255,255,.82);
  border-radius: 25px;
  box-shadow: 0 14px 30px rgba(48, 66, 91, .12);
}
.store-gf-badge {
  width: fit-content;
  margin-top: 14px;
  border: 1px solid rgba(75, 135, 96, .10);
  background: rgba(246, 251, 247, .92);
}
.store-gf-badge .gf-mark { background: #5d8f6e; }

.store-trust-strip { padding: 9px 0 1px; }
.store-trust-row {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 5px;
  scrollbar-width: none;
}
.store-trust-row::-webkit-scrollbar { display: none; }
.store-trust-row span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(79, 100, 130, .09);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #5c6b7e;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 6px 17px rgba(49,65,90,.04);
}
.store-trust-row b { color: var(--sv-primary); }

.store-compact-section { padding-top: 10px; }
.last-order-card {
  border-color: rgba(83, 110, 149, .10);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(48,65,90,.06);
}
.last-order-card .btn {
  border-color: rgba(85,121,168,.16);
  background: var(--sv-primary-soft);
  color: var(--sv-primary-deep);
}
.store-section-title { margin: 9px 0 11px; align-items: center; }
.store-section-title h2 {
  color: var(--sv-ink);
  font-size: 22px;
  letter-spacing: -.025em;
}
.store-mini-kicker { color: var(--sv-rose); letter-spacing: 0; }

/* Categories become a calm swipeable showcase on phones instead of a dense grid. */
.store-categories-section { padding-top: 10px; }
.store-categories-section .category-card {
  position: relative;
  min-height: 142px;
  border: 1px solid rgba(84, 101, 126, .10);
  border-radius: 22px;
  background-color: #edf2f8;
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 29px rgba(48,64,86,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-categories-section .category-card:active { transform: scale(.985); }
.store-categories-section .category-card-overlay {
  background: linear-gradient(to top, rgba(25, 36, 51, .68), rgba(31, 46, 65, .06) 70%);
}
.store-categories-section .category-card-name {
  right: 14px;
  bottom: 14px;
  left: 46px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(24,35,50,.22);
}
.store-categories-section .category-card-arrow {
  left: 13px;
  bottom: 13px;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.90);
  color: var(--sv-primary-deep);
  box-shadow: 0 6px 16px rgba(19,30,46,.13);
}
.category-card-live {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(247,255,250,.94);
  color: #3d7654;
  font-size: 10px;
  font-weight: 950;
  box-shadow: 0 6px 16px rgba(34,75,50,.11);
}
.category-card-live i,
.product-ready-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55a56d;
  box-shadow: 0 0 0 3px rgba(85,165,109,.13);
}
.category-card--instant { border-color: rgba(73, 144, 95, .24) !important; }

.featured-products-rail {
  gap: 12px;
  padding-bottom: 12px;
}

.store-catalog-view { padding-top: 8px; }
.catalog-product-toolbar {
  top: 63px;
  gap: 9px;
  margin-bottom: 13px;
  padding: 9px 0 12px;
  background: linear-gradient(to bottom, rgba(251,252,254,.98) 82%, rgba(251,252,254,0));
}
.catalog-icon-button {
  border-color: rgba(79,101,133,.12);
  border-radius: 14px;
  background: #fff;
  color: var(--sv-primary-deep);
  box-shadow: 0 7px 18px rgba(49,67,91,.05);
}
.catalog-title-wrap h2 { color: var(--sv-ink); }
.catalog-search-field .search-input-wrap {
  border-color: rgba(79,101,133,.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(49,66,89,.05);
}
.smart-filter {
  border-color: rgba(79,101,133,.10);
  color: #69768a;
  box-shadow: none;
}
.smart-filter.is-active {
  border-color: rgba(85,121,168,.18);
  background: var(--sv-primary-soft);
  color: var(--sv-primary-deep);
}

.store-products-grid { gap: 11px !important; }
.store-products-grid .product-card,
.featured-products-rail .product-card {
  border: 1px solid rgba(73, 91, 118, .09);
  border-radius: 21px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 11px 28px rgba(50,66,89,.075);
  transition: transform .18s ease, box-shadow .18s ease;
}
.store-products-grid .product-card:active,
.featured-products-rail .product-card:active { transform: translateY(1px); }
.store-products-grid .product-image,
.featured-products-rail .product-image {
  aspect-ratio: 1 / .94;
  background: #f0f3f7;
}
.store-products-grid .product-body,
.featured-products-rail .product-body { padding: 11px; }
.store-products-grid .product-category,
.featured-products-rail .product-category {
  color: #8893a3;
  font-size: 9.5px;
  font-weight: 800;
}
.store-products-grid h3,
.featured-products-rail h3 {
  color: var(--sv-ink);
  font-size: 14px;
  line-height: 1.42;
  min-height: 40px;
}
.store-products-grid .product-desc,
.featured-products-rail .product-desc {
  color: #7b8798;
  font-size: 10.5px;
  line-height: 1.55;
  -webkit-line-clamp: 1;
  min-height: 17px;
}
.store-products-grid .price,
.featured-products-rail .price {
  color: var(--sv-primary-deep);
  font-size: 15px;
  font-weight: 950;
}
.store-products-grid .product-footer .btn,
.featured-products-rail .product-footer .btn {
  border-radius: 11px;
  background: var(--sv-primary) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(85,121,168,.17);
}
.product-favorite-btn {
  border: 1px solid rgba(80,98,126,.08);
  background: rgba(255,255,255,.94);
  color: #78869a;
  box-shadow: 0 6px 16px rgba(38,52,72,.10);
}
.product-favorite-btn.is-favorite { background: var(--sv-rose-soft); color: #b6587c; }
.product-gf-mini {
  background: rgba(79,137,98,.92);
  box-shadow: 0 5px 15px rgba(42,91,58,.14);
}
.product-featured-badge,
.product-ready-badge {
  width: fit-content;
  margin-bottom: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 900;
}
.product-featured-badge { background: var(--sv-rose-soft); color: #a65172; }
.product-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: 5px;
  background: #f1faf4;
  color: #477a57;
}
.sold-out-badge { background: #fff0f2 !important; color: #a94457 !important; }

/* Loading placeholders keep the page visually stable while Supabase responds. */
.store-category-skeletons,
.store-product-skeletons {
  display: grid;
  gap: 10px;
  width: 100%;
}
.store-category-skeletons { grid-template-columns: repeat(3, minmax(210px, 1fr)); overflow: hidden; }
.store-product-skeletons { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; }
.store-category-skeletons i,
.store-product-skeletons i {
  display: block;
  border-radius: 21px;
  background: linear-gradient(105deg, #eef1f5 20%, #f8fafc 35%, #eef1f5 50%);
  background-size: 200% 100%;
  animation: svSkeleton 1.15s linear infinite;
}
.store-category-skeletons i { min-height: 140px; }
.store-product-skeletons i { min-height: 260px; }
@keyframes svSkeleton { to { background-position-x: -200%; } }

/* The cart is presented as a clean mobile sheet. */
body.cart-open { overflow: hidden; }
body.cart-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(30, 40, 55, .28);
  backdrop-filter: blur(2px);
}
#cartPanel { border-color: rgba(79,101,133,.10); }
#cartPanel .cart-title-row h3 { color: var(--sv-ink); }
#cartPanel .cart-summary {
  border-color: rgba(79,101,133,.09);
  background: linear-gradient(145deg, #fbfdff, #fff8fb);
}
#cartPanel .qty button { color: var(--sv-primary); }
#sendOrder {
  background: linear-gradient(135deg, var(--sv-primary), #6689b6) !important;
  box-shadow: 0 11px 25px rgba(85,121,168,.22) !important;
}
.fulfillment-option:has(input:checked) {
  border-color: rgba(85,121,168,.27);
  background: linear-gradient(145deg, #f3f7fc, #fff);
  box-shadow: 0 8px 20px rgba(85,121,168,.08);
}
.fulfillment-option:has(input:checked)::before {
  border-color: var(--sv-primary);
  background: var(--sv-primary);
}

/* Bottom navigation behaves like one quiet app dock. */
.store-bottom-nav {
  right: 13px;
  bottom: calc(9px + env(safe-area-inset-bottom));
  left: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 6px;
  border-color: rgba(77,98,128,.12);
  border-radius: 23px;
  background: rgba(252,253,255,.95);
  box-shadow: 0 15px 38px rgba(43,59,83,.16);
}
.store-bottom-nav:has(#ordersBottomShortcut:not(.hidden)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.store-bottom-item {
  min-width: 0;
  min-height: 50px;
  color: #7c899b;
  border-radius: 17px;
}
.store-bottom-item > span { font-size: 19px; }
.store-bottom-item small { font-size: 9.5px; font-weight: 900; }
.store-bottom-item.is-active {
  background: var(--sv-primary-soft);
  color: var(--sv-primary-deep);
}
.bottom-nav-badge { background: #d35f86; box-shadow: 0 4px 11px rgba(211,95,134,.24); }

#activeOrderShortcut { max-width: 640px; margin-inline: auto; }

@media (max-width: 720px) {
  .store-header .header-actions { gap: 6px; }
  #ordersTopShortcut { display: none !important; }
  .store-whatsapp-top { min-height: 37px; padding: 7px 11px; font-size: 11px; }
  .store-hero-card { grid-template-columns: 1fr 72px; gap: 12px; padding: 17px; border-radius: 24px; }
  .store-hero-logo { width: 72px; height: 72px; border-radius: 21px; }
  .store-hero-copy h1 { font-size: clamp(23px, 6.7vw, 31px); }
  .store-hero-copy p { font-size: 12px; line-height: 1.7; }
  .store-gf-badge { margin-top: 11px; }

  .store-categories-section .categories.category-card-grid {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(215px, 72vw);
    grid-template-columns: none !important;
    gap: 11px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 1px 12px;
    scrollbar-width: none;
  }
  .store-categories-section .categories.category-card-grid::-webkit-scrollbar { display: none; }
  .store-categories-section .category-card { min-height: 145px; scroll-snap-align: start; }
  .store-category-skeletons { grid-auto-flow: column; grid-auto-columns: minmax(215px,72vw); grid-template-columns: none; }

  .featured-products-rail { grid-auto-columns: minmax(184px, 68vw); }
  .store-products-grid .product-desc { display: -webkit-box; }
  .store-products-grid h3 { min-height: 40px; }

  #cartPanel.mobile-cart-open {
    z-index: 82;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100%;
    max-height: 89dvh;
    margin: 0;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -18px 54px rgba(28,39,55,.20);
  }
  #cartPanel .mobile-cart-close {
    width: 39px;
    height: 39px;
    margin-bottom: 6px;
    border-color: rgba(79,101,133,.10);
    color: var(--sv-primary-deep);
  }

  .store-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (min-width: 721px) {
  .store-hero-card { grid-template-columns: 1fr 132px; padding: 30px; }
  .store-hero-logo { width: 132px; height: 132px; border-radius: 30px; }
  .store-trust-row { justify-content: center; overflow: visible; }
  .store-categories-section .category-card { min-height: 170px; }
  .store-products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 15px !important; }
  .store-products-grid .product-card:hover,
  .featured-products-rail .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(50,66,89,.11);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-category-skeletons i,
  .store-product-skeletons i { animation: none; }
  .store-categories-section .category-card,
  .store-products-grid .product-card,
  .featured-products-rail .product-card { transition: none; }
}


/* =========================================================
   Sweet Vanilla — calm storefront v2
   ========================================================= */
:root {
  --sv-primary: #667b98;
  --sv-primary-deep: #41546f;
  --sv-primary-soft: #f2f5f8;
  --sv-rose: #c98b9e;
  --sv-rose-soft: #fff3f5;
  --sv-ink: #302d36;
  --sv-muted: #7b7580;
  --sv-canvas: #fffaf7;
  --sv-cream: #fff4ed;
  --sv-line-soft: rgba(69, 63, 72, .10);
  --sv-premium-shadow: 0 14px 34px rgba(50, 42, 48, .07);
  --sv-instant: #56745f;
  --sv-instant-soft: #eef5ef;
}

.store-body {
  background:
    radial-gradient(circle at 0 0, rgba(236, 217, 224, .20), transparent 25%),
    linear-gradient(180deg, #fffdfb 0, var(--sv-canvas) 54%, #fff 100%);
  color: var(--sv-ink);
}
.store-header {
  background: rgba(255, 253, 251, .94) !important;
  border-bottom-color: rgba(75, 65, 72, .08) !important;
}
.store-whatsapp-top {
  background: #fff !important;
  color: var(--sv-primary-deep) !important;
  border-color: rgba(65, 84, 111, .14) !important;
}

.store-hero { padding-top: 12px; }
.store-hero-card {
  background: #fff !important;
  border-color: rgba(70, 62, 69, .08) !important;
  box-shadow: 0 12px 32px rgba(53, 46, 50, .06) !important;
}
.store-hero-card::after { display: none !important; }
.store-hero-copy .eyebrow { color: var(--sv-rose) !important; }
.store-hero-copy h1 { color: var(--sv-ink) !important; }
.store-hero-copy p { color: var(--sv-muted) !important; }
.store-hero-logo { box-shadow: 0 9px 24px rgba(61, 52, 58, .08) !important; }
.store-clean-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(86,116,95,.14);
  border-radius: 999px;
  background: var(--sv-instant-soft);
  color: #486250;
  font-size: 12px;
  font-weight: 850;
}
.store-clean-note > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  color: var(--sv-instant);
  font-weight: 950;
}
.store-gf-badge,
.product-gf-mini { display: none !important; }

.instant-spotlight-section { padding: 11px 0 8px; }
.instant-spotlight-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) 124px;
  gap: 0;
  overflow: hidden;
  padding: 0;
  text-align: right;
  border: 1px solid rgba(73, 100, 80, .14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(54, 69, 58, .08);
  cursor: pointer;
}
.instant-spotlight-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 142px;
  padding: 18px 18px 17px;
  background: linear-gradient(135deg, #fff 0%, #fbf7f3 100%);
}
.instant-spotlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--sv-instant);
  font-size: 11px;
  font-weight: 950;
}
.instant-spotlight-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6e9a78;
  box-shadow: 0 0 0 5px rgba(110,154,120,.11);
}
.instant-spotlight-content strong {
  color: #2f3932;
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: 1.25;
}
.instant-spotlight-content small {
  max-width: 440px;
  margin-top: 5px;
  color: #77706f;
  font-size: 12px;
  line-height: 1.65;
}
.instant-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--sv-instant);
  font-size: 12px;
  font-weight: 950;
}
.instant-spotlight-cta b { font-size: 16px; }
.instant-spotlight-media {
  min-height: 142px;
  background:
    radial-gradient(circle at 70% 28%, rgba(255,255,255,.72), transparent 24%),
    linear-gradient(145deg, #e7f0e9, #d6e4d9);
  background-size: cover;
  background-position: center;
  position: relative;
}
.instant-spotlight-media:not(.has-image)::before {
  content: '🍰';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  filter: drop-shadow(0 8px 16px rgba(57,80,63,.12));
}
.instant-spotlight-card:active { transform: scale(.992); }

.store-section-title { margin-bottom: 10px; }
.store-section-title h2 { color: var(--sv-ink) !important; }
.store-mini-kicker { color: var(--sv-rose) !important; }

.store-categories-section { padding: 10px 0 14px !important; }
.store-categories-section .categories.category-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  gap: 10px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  padding: 0 !important;
}
.store-categories-section .category-card {
  min-width: 0 !important;
  min-height: 120px !important;
  border-radius: 20px !important;
  border-color: rgba(70, 63, 70, .09) !important;
  box-shadow: 0 10px 24px rgba(54, 47, 52, .06) !important;
  background-color: #eee8e5;
  background-position: center;
}
.store-categories-section .category-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 126px !important;
}
.store-categories-section .category-card-overlay {
  background: linear-gradient(180deg, rgba(31,29,32,.04) 8%, rgba(31,29,32,.62) 100%) !important;
}
.store-categories-section .category-card-name {
  right: 12px !important;
  left: 42px !important;
  bottom: 12px !important;
  color: #fff !important;
  font-size: 16px !important;
  text-shadow: 0 2px 9px rgba(0,0,0,.22);
}
.store-categories-section .category-card-arrow {
  left: 10px !important;
  bottom: 10px !important;
  width: 30px !important;
  height: 30px !important;
  background: rgba(255,255,255,.91) !important;
  color: #403942 !important;
}
.store-category-skeletons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  gap: 10px !important;
  overflow: hidden !important;
}
.store-category-skeletons i { min-height: 120px !important; border-radius: 20px !important; }

.store-products-grid .product-card,
.featured-products-rail .product-card {
  border-color: rgba(70, 63, 70, .08) !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(52, 46, 50, .055) !important;
}
.store-products-grid .product-category,
.featured-products-rail .product-category { color: #91878c !important; }
.product-featured-badge { background: #fff3f5 !important; color: #a35f73 !important; }
.product-ready-badge { background: var(--sv-instant-soft) !important; color: var(--sv-instant) !important; }
.product-add-btn { background: var(--sv-primary-deep) !important; }

.store-bottom-nav {
  background: rgba(255,253,251,.96) !important;
  border-top-color: rgba(71,64,70,.09) !important;
  box-shadow: 0 -8px 28px rgba(53,46,50,.06) !important;
}
.store-bottom-item.is-active { color: var(--sv-primary-deep) !important; }

@media (max-width: 720px) {
  .store-hero-card {
    grid-template-columns: 1fr 66px !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }
  .store-hero-logo { width: 66px !important; height: 66px !important; border-radius: 19px !important; }
  .store-hero-copy h1 { font-size: clamp(22px, 6.2vw, 29px) !important; }
  .store-hero-copy p { font-size: 12px !important; }
  .store-clean-note { font-size: 11px; padding: 7px 9px; }

  .instant-spotlight-card { grid-template-columns: minmax(0,1fr) 106px; border-radius: 21px; }
  .instant-spotlight-content { min-height: 132px; padding: 15px 14px; }
  .instant-spotlight-media { min-height: 132px; }
  .instant-spotlight-content strong { font-size: 20px; }
  .instant-spotlight-content small { font-size: 11px; line-height: 1.55; }
  .instant-spotlight-cta { margin-top: 8px; }

  .store-categories-section .category-card { min-height: 112px !important; }
  .store-categories-section .category-card:last-child:nth-child(odd) { min-height: 118px !important; }
  .store-category-skeletons i { min-height: 112px !important; }
}

@media (min-width: 721px) {
  .instant-spotlight-card { grid-template-columns: minmax(0,1fr) 230px; }
  .instant-spotlight-content,
  .instant-spotlight-media { min-height: 190px; }
  .store-categories-section .categories.category-card-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
  .store-categories-section .category-card:last-child:nth-child(odd) { grid-column: auto; }
  .store-categories-section .category-card { min-height: 155px !important; }
}

/* =========================================================
   Sweet Vanilla — boutique pink storefront v3
   Visual direction: logo-led pink, image-first, less text.
   ========================================================= */
:root {
  --sv-primary: #e86fa5;
  --sv-primary-deep: #b94e7b;
  --sv-primary-soft: #fff0f6;
  --sv-rose: #e86fa5;
  --sv-rose-soft: #fff4f8;
  --sv-blue: #78aed4;
  --sv-blue-soft: #eef7fd;
  --sv-ink: #352b32;
  --sv-muted: #80747b;
  --sv-canvas: #ffffff;
  --sv-line-soft: rgba(185, 78, 123, .11);
  --sv-premium-shadow: 0 13px 34px rgba(121, 59, 88, .09);
  --sv-instant: #b94e7b;
  --sv-instant-soft: #fff0f6;
}

.store-body {
  background: #fff !important;
  color: var(--sv-ink) !important;
}
.store-header {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(232,111,165,.09) !important;
  box-shadow: 0 5px 22px rgba(117,60,85,.04) !important;
}
.store-header .brand-mini img {
  border-radius: 15px !important;
  box-shadow: 0 5px 14px rgba(185,78,123,.08) !important;
}
.store-whatsapp-top {
  background: #fff !important;
  color: var(--sv-primary-deep) !important;
  border-color: rgba(232,111,165,.24) !important;
  box-shadow: none !important;
}
.store-whatsapp-top:active { background: var(--sv-primary-soft) !important; }

/* The home page starts with the thing customers can buy right now. */
.instant-spotlight-section { padding: 14px 0 5px !important; }
.instant-spotlight-card {
  position: relative !important;
  display: block !important;
  min-height: 204px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: linear-gradient(145deg, #f7c2d8, #f39abd) !important;
  box-shadow: 0 18px 40px rgba(194,83,128,.17) !important;
  isolation: isolate;
}
.instant-spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(47,18,31,.03) 12%, rgba(63,21,40,.70) 100%);
  pointer-events: none;
}
.instant-spotlight-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  min-height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  transform: scale(1.015);
}
.instant-spotlight-media:not(.has-image)::before {
  content: '🍰' !important;
  font-size: 74px !important;
  background: linear-gradient(145deg, #ffd8e8, #f4a8c7) !important;
}
.instant-spotlight-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  min-height: 204px !important;
  padding: 22px 20px 20px !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  background: transparent !important;
}
.instant-spotlight-kicker {
  margin: 0 0 7px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--sv-primary-deep) !important;
  font-size: 11px !important;
  box-shadow: 0 4px 15px rgba(52,22,36,.08);
}
.instant-spotlight-kicker i {
  width: 7px !important;
  height: 7px !important;
  background: var(--sv-primary) !important;
  box-shadow: 0 0 0 5px rgba(232,111,165,.14) !important;
}
.instant-spotlight-content strong {
  color: #fff !important;
  font-size: clamp(24px, 7vw, 34px) !important;
  line-height: 1.12 !important;
  text-shadow: 0 2px 14px rgba(44,17,30,.22);
}
.instant-spotlight-content small {
  max-width: 420px !important;
  margin-top: 5px !important;
  color: rgba(255,255,255,.91) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  text-shadow: 0 2px 10px rgba(44,17,30,.16);
}
.instant-spotlight-cta {
  margin-top: 11px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--sv-primary-deep) !important;
  font-size: 12px !important;
  box-shadow: 0 7px 18px rgba(45,18,31,.12);
}

.store-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 2px 0;
  min-height: 35px;
  color: #8e5871;
  font-size: 11px;
  text-align: center;
}
.store-trust-strip > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--sv-primary-soft);
  color: var(--sv-primary-deep);
  font-size: 15px;
}
.store-trust-strip strong { font-weight: 800; }

/* Categories are visual choices, not article sections. */
.store-categories-section { padding: 9px 0 16px !important; }
.boutique-section-title {
  align-items: center !important;
  margin: 2px 1px 11px !important;
}
.boutique-section-title h2 {
  margin: 0 !important;
  font-size: 20px !important;
  color: var(--sv-ink) !important;
}
.boutique-section-title > span {
  color: #a7909b;
  font-size: 11px;
  font-weight: 700;
}
.store-categories-section .categories.category-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  grid-auto-flow: row !important;
  gap: 11px !important;
  overflow: visible !important;
  padding: 0 !important;
}
.store-categories-section .category-card {
  min-width: 0 !important;
  min-height: 142px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(232,111,165,.08) !important;
  border-radius: 23px !important;
  background-color: #fceaf2 !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 11px 28px rgba(123,66,91,.09) !important;
}
.store-categories-section .category-card:last-child:nth-child(odd) {
  grid-column: 1 / -1 !important;
  min-height: 154px !important;
}
.store-categories-section .category-card-overlay {
  background: linear-gradient(180deg, rgba(62,31,45,.01) 36%, rgba(58,24,40,.48) 100%) !important;
}
.store-categories-section .category-card-name {
  right: 11px !important;
  bottom: 11px !important;
  left: 47px !important;
  width: fit-content;
  max-width: calc(100% - 59px);
  padding: 7px 10px !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.94) !important;
  color: #5f3448 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  box-shadow: 0 5px 16px rgba(49,21,34,.09);
}
.store-categories-section .category-card-arrow {
  left: 11px !important;
  bottom: 11px !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  background: var(--sv-primary) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(194,83,128,.22) !important;
}
.store-category-skeletons {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-auto-flow: row !important;
  gap: 11px !important;
  overflow: hidden !important;
}
.store-category-skeletons i {
  min-height: 142px !important;
  border-radius: 23px !important;
  background: linear-gradient(100deg,#fff1f7 20%,#ffe3ef 36%,#fff1f7 52%) !important;
  background-size: 200% 100% !important;
}

/* Product grid: image first, only useful shopping information. */
.store-catalog-view { background: #fff !important; }
.catalog-product-toolbar {
  background: linear-gradient(to bottom, rgba(255,255,255,.99) 78%, rgba(255,255,255,0)) !important;
}
.catalog-title-wrap .store-mini-kicker { display: none !important; }
.catalog-icon-button {
  border-color: rgba(232,111,165,.14) !important;
  color: var(--sv-primary-deep) !important;
  border-radius: 14px !important;
}
.smart-filter { border-color: rgba(185,78,123,.12) !important; }
.smart-filter.is-active {
  border-color: rgba(232,111,165,.28) !important;
  background: var(--sv-primary-soft) !important;
  color: var(--sv-primary-deep) !important;
}
.store-products-grid { gap: 11px !important; }
.store-products-grid .product-card,
.featured-products-rail .product-card {
  border: 1px solid rgba(232,111,165,.07) !important;
  border-radius: 21px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(116,61,86,.075) !important;
}
.store-products-grid .product-image,
.featured-products-rail .product-image {
  aspect-ratio: 1 / 1 !important;
  background: #fff5f9 !important;
}
.store-products-grid .product-body,
.featured-products-rail .product-body { padding: 10px 10px 11px !important; }
.store-products-grid .product-category,
.featured-products-rail .product-category,
.store-products-grid .product-desc,
.featured-products-rail .product-desc,
.product-gf-mini { display: none !important; }
.store-products-grid h3,
.featured-products-rail h3 {
  min-height: 38px !important;
  margin-bottom: 7px !important;
  color: #45323c !important;
  font-size: 14px !important;
}
.store-products-grid .price,
.featured-products-rail .price {
  color: var(--sv-primary-deep) !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}
.product-featured-badge {
  background: var(--sv-primary-soft) !important;
  color: var(--sv-primary-deep) !important;
}
.product-ready-badge {
  background: #fff0f6 !important;
  color: var(--sv-primary-deep) !important;
}
.product-add-btn,
.store-products-grid .product-footer .btn.btn-primary,
.featured-products-rail .product-footer .btn.btn-primary {
  border-color: var(--sv-primary) !important;
  background: var(--sv-primary) !important;
  color: #fff !important;
  box-shadow: 0 6px 15px rgba(232,111,165,.20) !important;
}
.product-favorite-btn.is-favorite {
  background: var(--sv-primary-soft) !important;
  color: var(--sv-primary-deep) !important;
}

/* Cart follows the same soft pink language. */
#cartPanel {
  --checkout-pink: #e86fa5 !important;
  --checkout-pink-soft: #fff0f6 !important;
  --checkout-blue: #78aed4 !important;
  --checkout-blue-soft: #eef7fd !important;
}
#cartPanel .cart-summary {
  border-color: rgba(232,111,165,.12) !important;
  background: #fff8fb !important;
}
#cartPanel .qty button { color: var(--sv-primary-deep) !important; }
#cartPanel .field input:focus,
#cartPanel .field select:focus,
#cartPanel .field textarea:focus,
#cartPanel .search-input-wrap:focus-within {
  border-color: rgba(232,111,165,.55) !important;
  box-shadow: 0 0 0 3px rgba(232,111,165,.10) !important;
}
.fulfillment-option:has(input:checked) {
  border-color: rgba(232,111,165,.42) !important;
  background: #fff5f9 !important;
  box-shadow: 0 7px 18px rgba(185,78,123,.08) !important;
}
.fulfillment-option:has(input:checked)::before {
  border-color: var(--sv-primary) !important;
  background: var(--sv-primary) !important;
}

/* One compact navigation dock. */
.store-bottom-nav {
  border-color: rgba(232,111,165,.12) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 13px 34px rgba(104,54,76,.14) !important;
}
.store-bottom-item { color: #9b8790 !important; }
.store-bottom-item.is-active {
  background: var(--sv-primary-soft) !important;
  color: var(--sv-primary-deep) !important;
}
.bottom-nav-badge { background: var(--sv-primary-deep) !important; }

.store-footer {
  border-top-color: rgba(232,111,165,.09) !important;
  background: #fffafd !important;
}

/* Old editorial-style home sections stay gone even if stale cached markup survives. */
#featuredSection,
#lastOrderSection,
.store-hero { display: none !important; }

@media (max-width: 720px) {
  .instant-spotlight-card { min-height: 198px !important; border-radius: 26px !important; }
  .instant-spotlight-content { min-height: 198px !important; padding: 20px 17px 17px !important; }
  .instant-spotlight-content strong { font-size: 26px !important; }
  .instant-spotlight-content small { max-width: 92% !important; }
  .store-categories-section .category-card { min-height: 136px !important; }
  .store-categories-section .category-card:last-child:nth-child(odd) { min-height: 148px !important; }
  .store-category-skeletons i { min-height: 136px !important; }
}

@media (min-width: 721px) {
  .instant-spotlight-card { min-height: 260px !important; }
  .instant-spotlight-content { min-height: 260px !important; padding: 34px !important; }
  .instant-spotlight-content strong { font-size: 38px !important; }
  .store-categories-section .categories.category-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .store-categories-section .category-card:last-child:nth-child(odd) { grid-column: auto !important; }
  .store-categories-section .category-card { min-height: 190px !important; }
}


/* ===== 2026-10-12 mobile cart: accessible checkout action ===== */
/* A short viewport must never place checkout underneath the bottom dock.
   The fields scroll independently and the send button stays in view. */
@media (max-width: 720px) {
  body.cart-open .store-bottom-nav {
    visibility: hidden;
    pointer-events: none;
  }

  #cartPanel.mobile-cart-open {
    position: fixed !important;
    z-index: 110;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    height: min(89vh, 760px);
    height: min(89dvh, 760px);
    max-height: 89dvh;
    overflow: hidden;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  #cartPanel.mobile-cart-open .mobile-cart-close,
  #cartPanel.mobile-cart-open .cart-title-row {
    flex-shrink: 0;
  }

  #cartPanel.mobile-cart-open .cart-scroll-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-inline: 2px;
    padding-bottom: 14px;
  }

  #cartPanel.mobile-cart-open #sendOrder {
    flex: 0 0 auto;
    margin-top: 9px !important;
    position: relative;
    z-index: 1;
    min-height: 52px;
    touch-action: manipulation;
  }
}

/* Sweet Vanilla: our story on the home page */
.sweet-story-section { padding-top: 8px; padding-bottom: 40px; }
.sweet-story-card { max-width: 860px; margin-inline: auto; padding: clamp(25px,5vw,52px); border-radius: 24px; background: #fff9f6; border: 1px solid #f1e2da; text-align: center; box-shadow: 0 10px 32px rgba(92,54,43,.05); }
.sweet-story-eyebrow { display: block; margin-bottom: 12px; color: #976d61; font-weight: 700; font-size: .9rem; }
.sweet-story-card h2 { margin: 0 0 18px; line-height: 1.5; font-size: clamp(1.35rem,3.5vw,2rem); }
.sweet-story-card p { max-width: 690px; margin: 0 auto 14px; line-height: 2; font-size: clamp(.95rem,2.4vw,1.07rem); }
.sweet-story-card .sweet-story-signoff { font-weight: 700; color: #8d514a; margin-bottom: 0; }
@media(max-width:600px){ .sweet-story-section {padding-bottom: 28px} .sweet-story-card {border-radius: 18px; padding: 25px 19px} }

/* وصف المنتجات ظاهر للزبون على كل الشاشات، مع الاحتفاظ بارتفاع مناسب للبطاقات. */
.store-products-grid .product-desc,
.featured-products-rail .product-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 0;
  margin: 3px 0 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #6d7586;
  white-space: normal;
  overflow-wrap: anywhere;
}
