/* ====================================================================
   Faida360 - Public Storefront Styles
   File: /assets/css/storefront.css
   Mobile-first, no admin chrome. Loaded on all /shop/{slug}/... pages.
   ==================================================================== */

:root {
  --f-green:        #1a7a4a;
  --f-green-dark:   #145f39;
  --f-green-soft:   #e8f5ee;
  --f-gold:         #f5a623;
  --f-dark:         #1a1a2e;
  --f-body:         #374151;
  --f-muted:        #6b7280;
  --f-border:       #e5e7eb;
  --f-bg:           #f9fafb;
  --f-wa-green:     #25D366;
  --shadow-sm:      0 1px 2px rgba(0,0,0,.05);
  --shadow-md:      0 4px 12px rgba(0,0,0,.08);
  --radius:         8px;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--f-body);
  background: var(--f-bg);
  margin: 0;
  padding: 0;
  padding-bottom: 80px; /* room for mobile bottom bar */
  line-height: 1.5;
}

/* Every flex/grid child gets min-width: 0 so long names don't push layout wide */
.row > *, .d-flex > * { min-width: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ====================================================================
   HEADER
   ==================================================================== */
.sf-header {
  background: #ffffff;
  border-bottom: 1px solid var(--f-border);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.sf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--f-dark);
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.sf-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--f-green-soft);
}
.sf-brand-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--f-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-brand-tagline {
  font-size: 11px;
  color: var(--f-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-cart-btn {
  background: var(--f-green);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
  transition: background .15s;
}
.sf-cart-btn:hover { background: var(--f-green-dark); color: #fff; }
.sf-cart-badge {
  background: var(--f-gold);
  color: var(--f-dark);
  font-weight: 800;
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
  display: inline-block;
}
.sf-cart-badge.is-empty { display: none; }

/* ====================================================================
   HERO
   Big attention-grabbing section on the home page.
   Green gradient background with decorative shapes echoing the logo.
   ==================================================================== */
.sf-hero {
  position: relative;
  background: linear-gradient(135deg, var(--f-green) 0%, var(--f-green-dark) 100%);
  color: #ffffff;
  padding: 40px 20px 48px;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative background layer */
.sf-hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Soft circular blobs */
.sf-hero-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.sf-hero-blob-1 {
  width: 320px; height: 320px;
  top: -120px; right: -100px;
  background: rgba(255, 255, 255, 0.06);
}
.sf-hero-blob-2 {
  width: 200px; height: 200px;
  bottom: -80px; left: -60px;
  background: rgba(255, 255, 255, 0.05);
}
/* Gold accent glow */
.sf-hero-blob-gold {
  width: 260px; height: 260px;
  top: -40px; left: 15%;
  background: var(--f-gold);
  opacity: 0.20;
  filter: blur(60px);
}

/* Bottom swoosh curves */
.sf-hero-swoosh {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 80px;
}

/* Content sits above decor */
.sf-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.sf-hero-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.sf-hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 16px;
  line-height: 1.4;
  font-weight: 400;
}

.sf-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.sf-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.sf-hero-meta svg { opacity: 0.9; }

/* Integrated search bar */
.sf-hero-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.sf-hero-search input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  background: #ffffff;
  color: var(--f-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: box-shadow .2s, border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.sf-hero-search input::placeholder {
  color: var(--f-muted);
}
.sf-hero-search input:focus {
  outline: none;
  border-color: var(--f-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 0 0 4px rgba(245, 166, 35, 0.25);
}
.sf-hero-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--f-muted);
  z-index: 2;
  pointer-events: none;
}

/* Tablet & up */
@media (min-width: 640px) {
  .sf-hero { padding: 56px 24px 64px; }
  .sf-hero-title { font-size: 40px; }
  .sf-hero-subtitle { font-size: 17px; margin-bottom: 20px; }
  .sf-hero-meta { font-size: 13px; margin-bottom: 28px; }
  .sf-hero-swoosh { height: 100px; }
}

/* Desktop */
@media (min-width: 960px) {
  .sf-hero { padding: 72px 24px 84px; }
  .sf-hero-title { font-size: 48px; }
}

/* ====================================================================
   PAGE WRAPPER
   ==================================================================== */
.sf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 16px;
}

/* Category chips (horizontal scroll on mobile) */
.sf-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sf-chips::-webkit-scrollbar { display: none; }
.sf-chip {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--f-border);
  color: var(--f-body);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.sf-chip:hover { border-color: var(--f-green); color: var(--f-green); }
.sf-chip.is-active {
  background: var(--f-green);
  border-color: var(--f-green);
  color: #fff;
}

/* Search bar */
.sf-search {
  margin-bottom: 16px;
  position: relative;
}
.sf-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff;
  transition: border-color .15s;
}
.sf-search input:focus {
  outline: none;
  border-color: var(--f-green);
}
.sf-search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ====================================================================
   PRODUCT GRID (desktop) / LIST (mobile)
   ==================================================================== */

/* Mobile default: single-column list layout */
.sf-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.sf-product {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, transform .15s;
  min-width: 0;
}
.sf-product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.sf-product-thumb {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--f-green-soft);
  position: relative;
}
.sf-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sf-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.sf-product-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.sf-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--f-dark);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.sf-product-brand {
  font-size: 11px;
  color: var(--f-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.sf-product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--f-green);
  line-height: 1;
}
.sf-product-stock {
  font-size: 10px;
  color: var(--f-muted);
  margin-top: 4px;
}
.sf-product-stock.is-low { color: #b45309; }
.sf-product-stock.is-out { color: #9b2335; }
.sf-product-add {
  background: var(--f-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.sf-product-add:hover { background: var(--f-green-dark); }
.sf-product-add:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* Desktop / tablet: grid layout */
@media (min-width: 640px) {
  .sf-products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  .sf-product {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .sf-product-thumb {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
  }
  .sf-product-info { width: 100%; }
  .sf-product-name {
    font-size: 15px;
    -webkit-line-clamp: 2;
    min-height: 40px;
  }
  .sf-product-price { font-size: 17px; }
  .sf-product-add {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
  }
  .sf-product-add::before {
    content: "Add to cart";
    font-size: 13px;
  }
  .sf-product-add span { display: none; }
}

/* Empty state */
.sf-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--f-muted);
}
.sf-empty h3 {
  color: var(--f-dark);
  font-size: 18px;
  margin: 12px 0 6px 0;
}
.sf-empty p { margin: 0; font-size: 14px; }

/* ====================================================================
   PRODUCT DETAIL
   ==================================================================== */
.sf-breadcrumb {
  font-size: 12px;
  color: var(--f-muted);
  margin-bottom: 14px;
}
.sf-breadcrumb a {
  color: var(--f-muted);
  text-decoration: none;
}
.sf-breadcrumb a:hover { color: var(--f-green); }
.sf-breadcrumb .sep { margin: 0 6px; opacity: .5; }

.sf-detail {
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .sf-detail {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 28px;
  }
}
.sf-detail-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--f-green-soft);
  max-height: 500px;
}
.sf-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.sf-detail-image .sf-placeholder { font-size: 72px; }

.sf-detail-info { display: flex; flex-direction: column; }
.sf-detail-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--f-muted);
  margin-bottom: 6px;
}
.sf-detail-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--f-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  word-break: break-word;
}
.sf-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--f-green);
  margin-bottom: 6px;
}
.sf-detail-stock {
  font-size: 13px;
  color: var(--f-muted);
  margin-bottom: 20px;
}
.sf-detail-stock.is-low { color: #b45309; }
.sf-detail-stock.is-out { color: #9b2335; font-weight: 600; }
.sf-detail-desc {
  font-size: 14px;
  color: var(--f-body);
  line-height: 1.6;
  margin-bottom: 20px;
  white-space: pre-wrap;
}
.sf-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--f-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
  align-self: flex-start;
}
.sf-qty button {
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  color: var(--f-dark);
}
.sf-qty button:hover { background: var(--f-green-soft); }
.sf-qty input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--f-dark);
  -moz-appearance: textfield;
}
.sf-qty input::-webkit-outer-spin-button,
.sf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .15s;
  gap: 8px;
}
.sf-btn-primary {
  background: var(--f-green);
  color: #fff;
}
.sf-btn-primary:hover { background: var(--f-green-dark); color: #fff; }
.sf-btn-outline {
  background: #fff;
  color: var(--f-green);
  border: 1.5px solid var(--f-green);
}
.sf-btn-outline:hover { background: var(--f-green-soft); }
.sf-btn-wa {
  background: var(--f-wa-green);
  color: #fff;
}
.sf-btn-wa:hover { background: #1EBE57; color: #fff; }
.sf-btn-block { width: 100%; }
.sf-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Section title */
.sf-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--f-green);
  margin: 28px 0 14px 0;
}

/* ====================================================================
   CART PAGE
   ==================================================================== */
.sf-cart-body {
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sf-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--f-border);
  min-width: 0;
}
.sf-cart-item:last-child { border-bottom: none; }
.sf-cart-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--f-green-soft);
}
.sf-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-cart-thumb .sf-placeholder { font-size: 18px; }
.sf-cart-info { flex: 1; min-width: 0; overflow: hidden; }
.sf-cart-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--f-dark);
  word-break: break-word;
  margin-bottom: 3px;
}
.sf-cart-price {
  font-size: 12px;
  color: var(--f-muted);
}
.sf-cart-line {
  font-size: 14px;
  font-weight: 700;
  color: var(--f-green);
  margin-top: 3px;
}
.sf-cart-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sf-qty-mini {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--f-border);
  border-radius: 4px;
  overflow: hidden;
}
.sf-qty-mini button {
  background: #fff;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 14px;
  cursor: pointer;
  color: var(--f-dark);
}
.sf-qty-mini button:hover { background: var(--f-green-soft); }
.sf-qty-mini .sf-qty-val {
  width: 32px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--f-dark);
}
.sf-cart-remove {
  background: transparent;
  border: none;
  color: #9b2335;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

.sf-cart-summary {
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}
.sf-cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--f-body);
}
.sf-cart-summary-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--f-dark);
  border-top: 1.5px solid var(--f-dark);
  margin-top: 6px;
  padding-top: 12px;
}

.sf-cart-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .sf-cart-ctas { grid-template-columns: 1fr 1fr; }
}

/* ====================================================================
   CHECKOUT PAGE
   ==================================================================== */
.sf-checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .sf-checkout { grid-template-columns: 1.4fr 1fr; }
}
.sf-form-card {
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  padding: 20px;
}
.sf-form-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--f-dark);
  margin: 0 0 14px 0;
}
.sf-field {
  margin-bottom: 14px;
}
.sf-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--f-body);
  margin-bottom: 6px;
}
.sf-field .req { color: #9b2335; }
.sf-field input[type=text],
.sf-field input[type=tel],
.sf-field input[type=email],
.sf-field input[type=number],
.sf-field textarea,
.sf-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--f-border);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: var(--f-dark);
  transition: border-color .15s;
  font-family: inherit;
}
.sf-field input:focus, .sf-field textarea:focus, .sf-field select:focus {
  outline: none;
  border-color: var(--f-green);
}
.sf-field textarea { resize: vertical; min-height: 70px; }
.sf-field .hint {
  font-size: 11px;
  color: var(--f-muted);
  margin-top: 4px;
}

.sf-radio-group { display: grid; gap: 8px; }
.sf-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--f-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
  min-width: 0;
}
.sf-radio:hover { border-color: var(--f-green); }
.sf-radio.is-selected {
  border-color: var(--f-green);
  background: var(--f-green-soft);
}
.sf-radio input { margin: 0; accent-color: var(--f-green); flex-shrink: 0; }
.sf-radio-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--f-dark);
  flex: 1;
  min-width: 0;
}
.sf-radio-desc {
  font-size: 11px;
  color: var(--f-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* honeypot - hidden but not display:none (bots skip that) */
.sf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.sf-footer {
  background: var(--f-dark);
  color: #d4d7de;
  padding: 24px 16px 20px 16px;
  margin-top: 40px;
  text-align: center;
}
.sf-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.sf-footer-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.sf-footer-line {
  font-size: 12px;
  color: #9ca3af;
  margin: 3px 0;
}
.sf-footer-line a { color: var(--f-gold); text-decoration: none; }
.sf-footer-powered {
  font-size: 10px;
  color: #6b7280;
  margin-top: 14px;
}

/* Floating WhatsApp button */
.sf-wa-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  background: var(--f-wa-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  z-index: 200;
  transition: transform .2s;
}
.sf-wa-float:hover { transform: scale(1.06); color: #fff; }
.sf-wa-float svg { width: 26px; height: 26px; fill: #fff; }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}
.sf-wa-float.bounce { animation: waBounce 2s ease-in-out infinite; }

/* ====================================================================
   MOBILE BOTTOM BAR (cart quick-access on small screens)
   ==================================================================== */
.sf-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--f-border);
  padding: 10px 14px;
  display: none;
  z-index: 150;
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.sf-mobile-bar.is-visible { display: flex; align-items: center; gap: 10px; }
.sf-mobile-bar .sf-mobile-count {
  font-size: 12px;
  color: var(--f-muted);
  flex: 1;
  min-width: 0;
}
.sf-mobile-bar .sf-mobile-count strong { color: var(--f-dark); }
@media (min-width: 640px) {
  .sf-mobile-bar { display: none !important; }
  body { padding-bottom: 0; }
}