/* ─────────────────────────────────────────────
   Ledja Business — public storefront page.
   Redesigned toward a real e-commerce storefront feel (Jumia/Konga
   reference point): a real hero banner, proper product cards with price
   emphasis and availability badges, a sticky mobile action bar — not a
   plain info page with a product list bolted on. Reuses portal/
   tokens.css design tokens so it's still visibly "Ledja", not a
   disconnected microsite.
   ───────────────────────────────────────────── */

/* Wider than the shared portal .container (1120px) deliberately — a
   single-column signup/checkout page and a product-grid storefront
   want different widths, and the previous version used .container-narrow
   (480px) for the whole page body: on any normal desktop viewport that
   left the entire storefront stranded in a strip down the middle with
   huge dead margins either side — the opposite of what an e-commerce
   page (Jumia/Konga) actually looks like. */
.storefront-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Banner slider: a real multi-slide carousel (dots + arrows), but
   only the active <img> is ever in flow — others are display:none, not
   stacked/absolute — so the slider's height is just whatever that one
   slide's own aspect ratio needs at full width. No fixed crop box, so
   nothing is ever cropped or letterboxed regardless of what shape image
   a business uploads (a designed flyer as often as an ambient photo). */
.store-slider {
  position: relative; width: 100%; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
}
.store-slide { display: none; width: 100%; height: auto; max-height: 420px; margin: 0 auto; }
.store-slide.active { display: block; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(15,23,42,0.4); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer;
}
.slider-arrow:hover { background: rgba(15,23,42,0.6); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 6px;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: rgba(255,255,255,0.55); cursor: pointer;
}
.slider-dot.active { background: var(--white); width: 20px; }

.storefront-verified { color: #60A5FA; font-size: 14px; flex: none; }

.store-featured-strip {
  background: var(--accent); color: #1a1206;
  text-align: center; font-size: 12.5px; font-weight: 800;
  padding: 6px 0;
}

.storefront-body { background: var(--surface); }

.storefront-category-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.category-tab {
  width: auto; margin: 0; padding: 7px 16px;
  background: var(--white); color: var(--text-3);
  border: 1.5px solid var(--border);
  border-radius: 999px; font-size: 12.5px; font-weight: 700;
  box-shadow: none; text-transform: capitalize;
}
.category-tab:hover { background: var(--surface-2); }
.category-tab.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ── Products: real product-card treatment — bigger image area, hover
   lift, price as the dominant element, a coloured availability pill
   instead of plain grey text, a clear per-card action. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin: 8px 0 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-3);
}

.product-card-img {
  width: 100%; aspect-ratio: 1;
  background: var(--surface-2) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-4); font-size: 26px;
  position: relative;
}

.product-availability-pill {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.product-availability-pill.available    { background: var(--profit-100, #D1FAE5); color: #047857; }
.product-availability-pill.limited      { background: var(--warning-100, #FDE68A); color: #92400E; }
.product-availability-pill.out_of_stock { background: var(--loss-100, #FECACA); color: #991B1B; }

.product-card-body { padding: 12px 14px 14px; }

.product-card-name {
  font-size: 13.5px; font-weight: 700; color: var(--text-1);
  margin: 0 0 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: 16px; font-weight: 900; color: var(--primary);
}

.product-ask-link {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 11.5px; font-weight: 700; color: #16A34A;
}
.product-ask-link i { font-size: 13px; }

.storefront-section-title {
  font-size: 13px; font-weight: 800; color: var(--text-3);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin: 8px 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.storefront-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.storefront-info-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  color: var(--text-2); font-size: 14px;
}
.storefront-info-row:last-child { border-bottom: none; }
.storefront-info-row i { color: var(--text-4); width: 18px; text-align: center; }

/* ── Sticky mobile action bar — the single most Jumia/Konga-coded
   pattern: a persistent bottom CTA on mobile so the primary action
   (WhatsApp) is always one thumb-tap away, not something you scroll
   back up to find. */
.storefront-sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15,23,42,0.08);
  padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.storefront-sticky-bar .btn { width: 100%; margin: 0; }

@media (max-width: 640px) {
  .storefront-sticky-bar { display: block; }
  .storefront-body { padding-bottom: 76px; }
}

.storefront-footer {
  padding: 20px 0 40px; text-align: center;
  color: var(--text-4); font-size: 12.5px;
}
.storefront-footer a { color: var(--primary); font-weight: 700; }

/* ── Blog listing (/<slug>/blog/) */
.blog-container { max-width: 880px; }
.blog-index-head { margin: 22px 0 16px; }
.blog-index-title { font-size: 28px; font-weight: 900; color: var(--text-1); margin: 0 0 4px; }
.blog-index-sub { font-size: 14.5px; color: var(--text-3); margin: 0; }
a.category-tab { display: inline-block; text-decoration: none; }

.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-tile {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-3); }
.blog-tile-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.blog-tile-img {
  aspect-ratio: 16 / 9; background: var(--surface-2) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: var(--text-4); font-size: 28px;
}
.blog-tile-body { padding: 14px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.blog-tile-title {
  font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--text-1); margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.blog-tile-excerpt { font-size: 14px; line-height: 1.55; color: var(--text-3); margin: 0 0 12px; overflow-wrap: anywhere; }
.blog-tile-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.blog-tile-read { font-size: 13px; font-weight: 800; color: var(--primary); text-decoration: none; }
.blog-tile-likes { font-size: 13px; color: var(--text-4); }

.blog-pager {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin: 8px 0 32px; font-size: 13.5px;
}
.blog-pager .btn { width: auto; margin: 0; padding: 10px 16px; display: inline-flex; gap: 6px; align-items: center; }

/* Shared post metadata */
.blog-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-4); margin-bottom: 8px;
}
.blog-cadence-pill {
  font-size: 10px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; text-decoration: none;
  background: var(--primary-light); color: var(--primary);
}
.blog-cadence-pill.daily   { background: #FEF3C7; color: #92400E; }
.blog-cadence-pill.monthly { background: #EDE9FE; color: #5B21B6; }

/* ── Single post (/<slug>/blog/<id>/) — a readable article column. */
.blog-article {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 22px 18px; margin-bottom: 28px;
}
@media (max-width: 640px) { .blog-article { padding: 18px 16px 14px; } }
.blog-article-title {
  font-size: 28px; line-height: 1.25; font-weight: 900; color: var(--text-1);
  margin: 0 0 16px; overflow-wrap: anywhere;
}
@media (max-width: 640px) { .blog-article-title { font-size: 23px; } }
.blog-article-img {
  display: block; width: 100%; max-height: 520px; object-fit: cover;
  border-radius: var(--radius-md); margin: 0 0 18px; background: var(--surface-2);
}
.blog-article-body { font-size: 16.5px; line-height: 1.75; color: var(--text-2); overflow-wrap: anywhere; }
.blog-article-body p { margin: 0 0 16px; }

.blog-product-card {
  display: flex; gap: 14px; align-items: center;
  margin: 8px 0 18px; padding: 12px;
  border: 1.5px solid var(--primary-3); border-radius: var(--radius-md);
  background: var(--primary-light); color: inherit; text-decoration: none;
}
.blog-product-card:hover { border-color: var(--primary); }
.blog-product-img {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 10px;
  background: var(--white) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: var(--text-4); font-size: 22px;
}
.blog-product-info { min-width: 0; }
.blog-product-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-4); }
.blog-product-name { font-size: 15px; font-weight: 800; color: var(--text-1); overflow-wrap: anywhere; }
.blog-product-price { font-size: 15px; font-weight: 900; color: var(--primary); }
.blog-product-cta { font-size: 12.5px; font-weight: 800; color: var(--primary); }

.blog-article-actions {
  /* Like and Share are icon-sized; Book and Contact split the rest —
     four labelled buttons don't fit a 360px phone on one row. */
  display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.blog-action {
  width: auto; margin: 0; min-width: 0; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px; min-height: 40px;
  background: var(--white); color: var(--text-3);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: none; font-size: 13.5px; font-weight: 700; cursor: pointer;
  text-decoration: none;
}
.blog-action:hover { background: var(--surface-2); color: var(--text-1); }
.blog-action:disabled { opacity: 0.7; cursor: default; }
.blog-like.liked { color: #E11D48; border-color: #FECDD3; background: #FFF1F2; }
.blog-contact-wa { color: #16A34A; }

.blog-more { display: flex; flex-direction: column; gap: 8px; }
.blog-more-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 12px 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: inherit; text-decoration: none; font-size: 13px;
}
.blog-more-item:hover { border-color: var(--primary-3); }
.blog-more-title { font-weight: 700; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Booking dialog */
.book-dialog {
  width: min(420px, calc(100vw - 32px));
  border: none; border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-lg);
}
.book-dialog::backdrop { background: rgba(15, 23, 42, 0.5); }
.book-dialog p { margin: 0 0 10px; }
.book-dialog p[hidden], .book-dialog button[hidden] { display: none; }
.book-dialog input, .book-dialog textarea { width: 100%; box-sizing: border-box; }
.book-dialog-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.book-dialog-head > div { flex: 1; min-width: 0; }
.book-dialog-title { font-size: 16px; font-weight: 800; color: var(--text-1); }
.book-dialog-interest { font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.book-dialog-close {
  width: 32px; height: 32px; margin: 0; padding: 0; flex-shrink: 0;
  background: var(--surface-2); color: var(--text-3);
  border: none; border-radius: 50%; box-shadow: none; cursor: pointer;
}
.book-date-label { display: block; font-size: 12px; margin-bottom: 4px; }
.book-form-message { margin: 10px 0 0; font-size: 14px; }
.book-form-message.success { color: var(--profit, #10B981); }
.book-form-message.error { color: var(--loss, #EF4444); }

/* Product cards link to their own product page. */
.product-card-link { display: block; color: inherit; text-decoration: none; }
a.product-card-name { color: var(--text-1); text-decoration: none; }
a.product-card-name:hover { color: var(--primary); }

/* ── Product detail page — the landing page an ad/post links to. Photo
   and the "Order on WhatsApp" action are above the fold on a phone. */
.pd-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 16px 0 14px; font-size: 13px; font-weight: 700; color: var(--text-3); text-decoration: none;
}
.pd-back:hover { color: var(--primary); }

.pd-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
@media (min-width: 760px) { .pd-layout { grid-template-columns: 1.1fr 1fr; gap: 32px; } }

.pd-main-photo {
  position: relative; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.pd-main-photo img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.pd-main-photo .product-availability-pill { top: 12px; left: 12px; }
.pd-no-photo { color: var(--text-4); font-size: 40px; }

.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb {
  width: 64px; height: 64px; flex-shrink: 0; margin: 0; padding: 0;
  border: 2px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--white); box-shadow: none; cursor: pointer;
}
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-category {
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 6px;
}
.pd-name { font-size: 24px; line-height: 1.25; font-weight: 900; color: var(--text-1); margin: 0 0 8px; overflow-wrap: anywhere; }
.pd-price { font-size: 26px; font-weight: 900; color: var(--primary); margin-bottom: 10px; }
.pd-summary { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0 0 16px; }

.pd-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pd-cta-main {
  width: 100%; margin: 0; padding: 15px 20px; font-size: 16px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366;
}
.pd-cta-main:hover { background: #1EBE5A; }
.pd-cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.pd-cta-row .btn {
  width: auto; margin: 0; padding: 11px 10px; font-size: 13.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}

.pd-trust { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.pd-trust i { width: 18px; text-align: center; color: var(--text-4); }
.pd-trust .fa-circle-check { color: var(--profit, #10B981); }

.pd-details { padding: 16px 20px; margin-bottom: 24px; font-size: 15px; line-height: 1.65; color: var(--text-2); overflow-wrap: anywhere; }
.pd-details p { margin: 0 0 12px; }
.pd-details p:last-child { margin-bottom: 0; }

/* Anchor targets clear the top of the viewport instead of sitting flush. */
#videos, #products, #reviews, #faq, #enquiry { scroll-margin-top: 16px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Rating chip (under the description / product name) */
.store-rating-chip {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-50); border: 1px solid var(--accent-100);
  color: var(--text-2); font-size: 13.5px; text-decoration: none;
}
.store-rating-chip i { color: var(--accent); }
.store-rating-chip strong { color: var(--text-1); font-weight: 900; }
.store-rating-chip:hover { border-color: var(--accent); }

/* ── Videos (see _videos.html) */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px; margin: 8px 0 32px;
}
/* One video alone reads as a feature, not a lonely grid cell. */
.video-grid-single { grid-template-columns: minmax(0, 760px); }
.video-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.video-facade, .video-frame {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
}
.video-facade {
  position: relative; cursor: pointer;
  background: #0F172A center/cover no-repeat;
}
.video-facade::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0) 55%);
}
.video-play {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #DC2626; font-size: 22px;
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  box-shadow: var(--shadow-md); transition: transform 0.15s ease;
}
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.1); }
.video-facade:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.video-card-body { padding: 12px 14px 14px; }
.video-card-title { font-size: 14.5px; font-weight: 800; color: var(--text-1); line-height: 1.35; overflow-wrap: anywhere; }
.video-card-product, .testimonial-product {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--primary); text-decoration: none;
}
.video-card-product:hover, .testimonial-product:hover { text-decoration: underline; }

/* ── Testimonials (see _testimonials.html) */
.reviews-summary {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px;
}
.reviews-summary-score { font-size: 30px; font-weight: 900; color: var(--text-1); line-height: 1; }
.reviews-summary-stars, .testimonial-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.reviews-summary-stars .off, .testimonial-stars .off { color: var(--border); }
.reviews-summary-count { font-size: 13.5px; color: var(--text-3); }

.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin: 8px 0 16px;
}
.testimonial-card {
  margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.testimonial-quote {
  margin: 0; flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--text-2); overflow-wrap: anywhere;
}
.testimonial-person { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-light) center/cover no-repeat; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px;
}
.testimonial-person-text { min-width: 0; }
.testimonial-name { font-size: 14px; font-weight: 800; color: var(--text-1); overflow-wrap: anywhere; }
.testimonial-title { font-size: 12.5px; color: var(--text-4); overflow-wrap: anywhere; }
.testimonial-product { margin-top: 2px; }

.review-form-card, .faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.review-form-card { padding: 0 18px; margin: 0 0 32px; }
.review-form-card > summary, .faq-item > summary {
  cursor: pointer; list-style: none; padding: 14px 0;
  font-size: 14.5px; font-weight: 800; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
.review-form-card > summary { color: var(--primary); }
.review-form-card > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker { display: none; }
.review-form-card[open] { padding-bottom: 18px; }
.review-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.review-stars-input {
  display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 0 0 12px;
}
.review-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-stars-input label { cursor: pointer; font-size: 26px; color: var(--border); padding: 2px; }
.review-stars-input label:hover, .review-stars-input label:hover ~ label,
.review-stars-input input:checked ~ label { color: var(--accent); }
.review-stars-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }

/* ── FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 32px; }
.faq-item { padding: 0 18px; }
.faq-item > summary::after {
  content: '+'; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--text-4); line-height: 1;
}
.faq-item[open] > summary::after { content: '\2212'; }
.faq-answer { padding: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); overflow-wrap: anywhere; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Ordering: price modes, basket, checkout, order tracking ───────── */

/* "Price on request" is a label, not a figure, so it must not read
   like one. */
.product-card-price.on-request, .pd-price.pd-price-request, .basket-line-price.on-request {
  font-size: 13px; font-weight: 700; color: var(--text-3);
}
.pd-price.pd-price-request { font-size: 16px; }

.pd-buy-row { display: flex; gap: 10px; align-items: stretch; }
.pd-buy-row .pd-cta-main, .pd-buy-row .pd-cta-main:hover { background: var(--primary); flex: 1; width: auto; }
.pd-qty { display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.pd-qty input { width: 76px; margin: 0; text-align: center; font-weight: 800; }
.pd-quote-note { margin: 0; }
.pd-cta-alt {
  width: 100%; margin: 0; padding: 12px 20px; font-size: 14.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}

.basket-toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--text-1); color: var(--white); font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.basket-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.basket-toast-text { overflow-wrap: anywhere; }
.basket-toast-link { color: var(--accent-100); font-weight: 800; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .basket-toast { transition: none; } }

.basket-container { max-width: 640px; }
.basket-title { font-size: 24px; font-weight: 900; color: var(--text-1); margin: 4px 0 16px; }
.basket-empty { padding: 36px 20px; text-align: center; color: var(--text-3); }
.basket-empty[hidden] { display: none; }
.basket-empty i { font-size: 30px; color: var(--text-4); }
.basket-empty .btn { width: auto; display: inline-flex; }

.basket-lines { padding: 4px 16px; margin-bottom: 16px; }
.basket-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.basket-line:last-child { border-bottom: none; }
.basket-line-photo {
  width: 64px; height: 64px; flex: none; border-radius: var(--radius-sm);
  background: var(--surface-2) center/cover no-repeat;
}
.basket-line-info { flex: 1; min-width: 0; }
.basket-line-name { font-size: 14px; font-weight: 700; color: var(--text-1); overflow-wrap: anywhere; }
.basket-line-price { font-size: 15px; font-weight: 900; color: var(--primary); margin: 2px 0 8px; }
.basket-qty { display: inline-flex; align-items: center; gap: 4px; }
.basket-qty-btn, .basket-line-remove {
  width: 32px; height: 32px; margin: 0; padding: 0; flex: none;
  background: var(--surface-2); color: var(--text-2);
  border: none; border-radius: 50%; box-shadow: none; cursor: pointer; font-size: 16px; font-weight: 800;
}
.basket-qty-value { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.basket-line-remove { font-size: 13px; color: var(--text-3); }

.checkout-card { padding: 20px; margin-bottom: 24px; }
.checkout-card p { margin: 0 0 10px; }
.checkout-card input[type=text], .checkout-card input[type=tel], .checkout-card textarea { width: 100%; box-sizing: border-box; }
.checkout-label { font-size: 13px; font-weight: 800; color: var(--text-2); margin: 14px 0 8px; }
.checkout-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; margin: 0 0 8px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
}
.checkout-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.checkout-option input { width: auto; margin: 3px 0 0; flex: none; }
.checkout-option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; color: var(--text-1); }
.checkout-option-text .muted { overflow-wrap: anywhere; }
#delivery-fields[hidden], #partner-options[hidden], #basket-checkout[hidden] { display: none; }
#delivery-fields { margin-top: 10px; }

.basket-totals { margin: 16px 0; padding-top: 12px; border-top: 1px solid var(--border); }
.basket-total-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--text-2); padding: 4px 0; font-variant-numeric: tabular-nums;
}
.basket-total-row.grand { font-size: 16px; font-weight: 900; color: var(--text-1); padding-top: 10px; }
.basket-total-row span:last-child { text-align: right; }
.checkout-submit { width: 100%; margin: 0; }
.checkout-hint { margin: 10px 0 0; text-align: center; }
.checkout-message {
  margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--loss-bg); color: #B91C1C; font-size: 13.5px; font-weight: 600;
}
.checkout-message[hidden] { display: none; }

/* Order tracking */
.order-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.order-number { font-size: 26px; font-weight: 900; color: var(--text-1); margin: 0; letter-spacing: 0.5px; }
.order-keep-link { margin: 6px 0 18px; }
.order-status-pill {
  font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.3px;
  background: var(--neutral-bg); color: var(--neutral);
}
.order-status-pill.quoted, .order-status-pill.awaiting_payment { background: var(--accent-100); color: #92400E; }
.order-status-pill.paid, .order-status-pill.dispatched { background: var(--info-bg); color: var(--info); }
.order-status-pill.delivered { background: var(--profit-bg); color: #047857; }
.order-status-pill.cancelled { background: var(--loss-bg); color: #B91C1C; }

.order-steps {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
}
.order-steps li {
  position: relative; padding-top: 20px; text-align: center;
  font-size: 11px; font-weight: 700; color: var(--text-4); line-height: 1.25;
}
.order-steps li::before {
  content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--border);
}
.order-steps li:first-child::before { display: none; }
.order-step-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  background: var(--white); border: 2px solid var(--border);
}
.order-steps li.done, .order-steps li.current { color: var(--text-1); }
.order-steps li.done::before, .order-steps li.current::before { background: var(--primary); }
.order-steps li.done .order-step-dot { background: var(--primary); border-color: var(--primary); }
.order-steps li.current .order-step-dot { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }

.order-next { padding: 20px; margin-bottom: 20px; }
.order-next h2 { font-size: 17px; font-weight: 900; color: var(--text-1); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.order-next h2 i { color: var(--primary); }
.order-next p { margin: 0 0 14px; color: var(--text-2); line-height: 1.5; }
.order-next .btn { width: 100%; margin: 0 0 8px; }
.order-next .btn:last-child { margin-bottom: 0; }
.order-next-actions { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.order-next-actions .btn { margin: 0; }
.order-notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin: 0 0 14px; border-radius: var(--radius-sm);
  background: var(--accent-50); color: #92400E; font-size: 13.5px; line-height: 1.45;
}
.order-bank { margin: 0 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 14px; }
.order-bank summary { cursor: pointer; padding: 14px 0; font-weight: 800; color: var(--text-1); }
.order-bank form { padding-bottom: 14px; display: grid; gap: 8px; }
.order-bank input[type=file] { width: 100%; box-sizing: border-box; }
.order-bank-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 14px; }
.order-bank-details dt { color: var(--text-3); }
.order-bank-details dd { margin: 0; font-weight: 800; color: var(--text-1); overflow-wrap: anywhere; }
.order-copy {
  width: auto; margin: 0 0 0 6px; padding: 2px 10px; font-size: 11.5px; font-weight: 800;
  background: var(--primary-light); color: var(--primary); border: none; border-radius: 999px; box-shadow: none; cursor: pointer;
}
.order-waybill-photo { display: block; max-width: 100%; max-height: 260px; border-radius: var(--radius-sm); margin: 0 0 14px; }

.order-code { padding: 18px 20px; margin-bottom: 20px; text-align: center; }
.order-code-digits { font-size: 34px; font-weight: 900; letter-spacing: 8px; color: var(--primary); font-variant-numeric: tabular-nums; }
.order-code p { margin: 6px 0 0; }

.order-items { padding: 6px 18px; margin-bottom: 16px; }
.order-item { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.order-item:last-child { border-bottom: none; }
.order-item-name { overflow-wrap: anywhere; min-width: 0; }
.order-item-price { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-item-total { font-size: 16px; font-weight: 900; color: var(--text-1); }
.order-meta { padding: 6px 18px; margin-bottom: 16px; }
.order-help { margin-bottom: 20px; }
.order-help .btn { width: 100%; margin: 0; }
.order-problem textarea { width: 100%; box-sizing: border-box; }
.order-problem form { padding-bottom: 16px; }

.order-head { padding-top: 18px; }
.order-bank-details dd { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.order-copy { margin-left: 0; }
/* The browser's bare "Choose File" button, dressed to match. */
.order-bank input[type=file] { font-size: 14px; color: var(--text-3); font-family: inherit; }
.order-bank input[type=file]::file-selector-button {
  margin-right: 10px; padding: 10px 14px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--primary); font: inherit; font-weight: 700;
}

/* ── WhatsApp buttons are WhatsApp green everywhere. Only the header and
   the product page used to say so; every other one (sticky bar, order
   page, blog) fell back to the default amber button. */
.btn-whatsapp, .btn-whatsapp:hover { background: #25D366; color: var(--white); box-shadow: none; }
.btn-whatsapp:hover { background: #1EBE5A; }

/* ── Phones ────────────────────────────────────
   The same step up in text size the main site gets (see portal.css
   "Phones"), and two products per row instead of one screen-tall one. */
@media (max-width: 640px) {
  .storefront-container { padding: 0 14px; }

  .storefront-section-title { font-size: 14px; color: var(--text-2); }
  .storefront-category-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .storefront-category-tabs::-webkit-scrollbar { display: none; }
  .category-tab { flex: none; font-size: 14px; padding: 9px 16px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card:hover { transform: none; }
  .product-card-body { padding: 10px 10px 12px; }
  .product-card-name { font-size: 14px; }
  .product-card-price { font-size: 16px; }
  .product-card-price.on-request { font-size: 13.5px; color: var(--text-2); }
  .product-availability-pill { font-size: 9.5px; padding: 3px 7px; top: 6px; left: 6px; }
  .product-ask-link { font-size: 13px; padding-top: 10px; margin-top: 10px; justify-content: center; }

  .storefront-info-row { font-size: 15px; padding: 12px 0; }
  .storefront-footer { font-size: 13.5px; color: var(--text-3); padding: 20px 14px 40px; }
  .faq-item summary, .faq-answer { font-size: 15.5px; }
  .testimonial-quote { font-size: 15.5px; }

  .pd-name { font-size: 22px; font-weight: 800; }
  .pd-summary { font-size: 16px; }
  .pd-trust { font-size: 14.5px; }
  .pd-details { font-size: 15.5px; }

  .basket-line-name { font-size: 15px; }
  .checkout-option-text { font-size: 15.5px; }
  .checkout-label { font-size: 14.5px; }
  .basket-total-row { font-size: 15px; }
  .basket-total-row.grand { font-size: 17px; }
  .order-steps li { font-size: 12px; color: var(--text-3); }
  .order-next h2 { font-size: 18px; }
  .order-next p, .order-notice { font-size: 15.5px; }
  .order-bank-details, .order-item { font-size: 15px; }
  .order-item-total { font-size: 17px; }
}

/* ═════════════════════════════════════════════
   Marketplace layout (2026-10) — the storefront re-laid on the pattern
   large marketplaces use (AliExpress/Jumia), replacing the coloured
   header bar and boxed "info page" look:

     white header      shop mark · one wide search · labelled utilities
     category bar      the page's navigation; filters the grid in place
     promo band        headline + real products with prices + the banner
     info strip        delivery / pickup / payment / hours, one thin line
     product grid      quiet white cards; price is the loudest thing

   Declared after the base rules above, which it builds on.
   ═════════════════════════════════════════════ */

.sf-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.sf-header-row { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }

a.sf-brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; max-width: 420px; color: inherit; text-decoration: none; }
.sf-logo {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: var(--primary) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: var(--white);
}
.sf-brand-text { display: flex; flex-direction: column; min-width: 0; }
.sf-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.2px; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-brand-meta { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sf-search {
  flex: 1 1 280px; min-width: 0; max-width: 720px; margin: 0;
  display: flex; align-items: center;
  border: 2px solid var(--text-1); border-radius: 999px; background: var(--white);
  padding: 3px 3px 3px 18px;
}
.sf-search input[type=search] {
  flex: 1; min-width: 0; border: none; outline: none; box-shadow: none; background: transparent;
  padding: 7px 8px 7px 0; font-size: 15px; font-family: inherit; color: var(--text-1);
}
.sf-search button {
  flex: none; width: 52px; height: 36px; margin: 0; padding: 0;
  background: var(--text-1); color: var(--white); border-radius: 999px; box-shadow: none; font-size: 15px;
}
.sf-search button:hover { background: var(--primary-2); transform: none; }

.sf-utils { display: flex; align-items: center; gap: 22px; flex: none; margin-left: auto; }
a.sf-util { display: flex; align-items: center; gap: 9px; color: var(--text-1); text-decoration: none; }
.sf-util > i, .sf-cart-icon { font-size: 22px; width: 26px; text-align: center; }
.sf-util-text { display: flex; flex-direction: column; line-height: 1.2; }
.sf-util-text small { font-size: 11.5px; color: var(--text-3); }
.sf-util-text b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.sf-util-wa > i { color: #25D366; }
.sf-util:hover b { text-decoration: underline; }
.sf-cart-icon { position: relative; display: inline-block; }
.sf-cart-count {
  position: absolute; top: -9px; right: -11px;
  min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; background: var(--text-1); color: var(--white);
  font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}
.sf-cart-count[hidden] { display: none; }

.sf-nav-row {
  display: flex; align-items: center; gap: 6px; padding-bottom: 10px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.sf-nav-row::-webkit-scrollbar { display: none; }
.sf-nav a.sf-nav-all, .sf-nav a.sf-nav-link {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text-1); text-decoration: none;
}
.sf-nav a.sf-nav-all { background: var(--surface-2); font-weight: 700; padding: 9px 20px; margin-right: 6px; }
.sf-nav a:hover { background: var(--surface-2); }
.sf-nav a.sf-nav-link.active { color: #D92D20; font-weight: 700; }
.sf-nav a.sf-nav-all.active { background: var(--text-1); color: var(--white); }
.sf-nav-section i { font-size: 13px; color: var(--text-3); }
.sf-nav-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding-left: 16px; flex: none; }
a.sf-social {
  width: 30px; height: 30px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--text-2); font-size: 14px;
}
a.sf-social.platform-facebook  { background: #1877F2; color: var(--white); }
a.sf-social.platform-instagram { background: linear-gradient(45deg, #FEC53D 0%, #E1306C 45%, #5851DB 100%); color: var(--white); }
a.sf-social.platform-tiktok    { background: #000; color: var(--white); }
a.sf-social.platform-whatsapp  { background: #25D366; color: var(--white); }
.sf-nav a.sf-powered { display: inline-flex; align-items: center; gap: 5px; padding: 0 0 0 8px; font-size: 11.5px; color: var(--text-4); }
.sf-nav a.sf-powered:hover { background: none; color: var(--text-2); }
.sf-powered img { width: 13px; height: 13px; border-radius: 3px; }

/* Promo band */
.sf-hero { background: linear-gradient(120deg, var(--primary) 0%, #3B2F8F 60%, #5B45C9 100%); color: var(--white); }
.sf-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.sf-hero-nobanner { grid-template-columns: minmax(0, 1fr); }
.sf-hero-title { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 8px; overflow-wrap: anywhere; }
.sf-hero-text {
  font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0 0 14px; max-width: 640px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sf-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.sf-hero-btn, a.sf-hero-rating {
  width: auto; margin: 0; padding: 8px 16px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.14); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; box-shadow: none;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.sf-hero-btn:hover { background: rgba(255,255,255,0.24); transform: none; }
a.sf-hero-rating i { color: #FBBF24; }
a.sf-hero-rating span { font-weight: 400; color: rgba(255,255,255,0.8); }

.sf-deals { display: flex; gap: 12px; }
a.sf-deal {
  flex: 1 1 0; min-width: 0; max-width: 300px;
  display: flex; align-items: stretch; gap: 12px; padding: 8px;
  background: var(--white); color: var(--text-1); border-radius: 10px; text-decoration: none;
  transition: transform 0.15s ease;
}
a.sf-deal:hover { transform: translateY(-2px); }
.sf-deal-img { flex: none; width: 92px; height: 92px; border-radius: 7px; background: var(--surface-2) center/cover no-repeat; }
.sf-deal-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 2px 4px 2px 0; }
.sf-deal-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-deal-price { align-self: flex-start; padding: 3px 9px; border-radius: 5px; background: var(--text-1); color: var(--white); font-size: 15px; font-weight: 800; white-space: nowrap; }

.sf-hero .sf-hero-banner { width: fit-content; max-width: min(40vw, 520px); background: rgba(255,255,255,0.1); border-radius: 12px; }
.sf-hero .sf-hero-banner .store-slide { width: auto; max-width: 100%; height: auto; max-height: 250px; }

.sf-strip { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.sf-strip-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 32px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; color: var(--text-1); }
.sf-strip-row span { display: inline-flex; align-items: center; gap: 8px; }
.sf-strip-row i { color: #B45309; }

/* flow-root: keeps the heading's top margin inside the white body
   instead of letting it collapse out and show the grey page behind. */
.storefront-body { background: var(--white); display: flow-root; }
.sf-section-heading { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; text-align: center; color: var(--text-1); margin: 30px 0 20px; }

/* Product cards */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px 16px; }
.product-card { border: none; border-radius: 10px; overflow: visible; background: transparent; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card-media { position: relative; }
/* contain, not cover: a product photo is shown WHOLE on a white tile.
   Zooming it to fill the square cut the tops and sides off anything
   that was not itself square (bottles, boxes, tall packs). */
.product-card-img {
  border-radius: 10px; border: 1px solid var(--border);
  background-color: var(--white); background-size: contain; background-origin: content-box; padding: 8px; box-sizing: border-box;
  transition: filter 0.15s ease;
}
.sf-deal-img, .blog-product-img, .basket-line-photo { background-color: var(--white); background-size: contain; }
.product-card:hover .product-card-img { filter: brightness(0.96); }
.product-flag {
  position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 5px;
  font-size: 11.5px; font-weight: 700; background: var(--text-1); color: var(--white);
}
.product-flag.limited { background: #D92D20; }
.product-cart-btn {
  position: absolute; right: 8px; bottom: 8px;
  width: 40px; height: 40px; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--text-1);
  border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 2px 8px rgba(15,23,42,0.14);
  font-size: 16px;
}
.product-cart-btn:hover { background: var(--text-1); color: var(--white); transform: none; }
.product-card-body { padding: 10px 2px 0; }
a.product-card-name { display: -webkit-box; font-size: 14.5px; font-weight: 400; color: var(--text-1); line-height: 1.35; margin: 0 0 4px; text-decoration: none; }
a.product-card-name:hover { text-decoration: underline; }
.product-card-price { font-size: 19px; font-weight: 800; color: var(--text-1); letter-spacing: -0.2px; }
.product-card-price.on-request { font-size: 14px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
a.product-ask-link { border-top: none; margin-top: 4px; padding-top: 0; font-size: 12.5px; font-weight: 600; color: #15803D; justify-content: flex-start; }

/* Promos: offer countdown, coupon cards, sale prices, basket promo box. */
.sf-sale-ends { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.92); }
.sf-countdown { padding: 2px 10px; border-radius: 6px; background: rgba(0,0,0,0.3); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }
button.sf-coupon {
  flex: 0 0 auto; width: auto; min-width: 170px; margin: 0; padding: 10px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--white); color: #D92D20; text-align: center;
  border: 2px dashed #F04438; border-radius: 10px; box-shadow: none; position: relative;
}
button.sf-coupon:hover { background: #FFF5F4; transform: none; }
.sf-coupon-offer { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; white-space: nowrap; }
.sf-coupon-rule { font-size: 12.5px; font-weight: 500; color: #B42318; white-space: nowrap; }
.sf-coupon-code { font-size: 13px; font-weight: 500; margin-top: 4px; white-space: nowrap; }
button.sf-coupon.copied::after {
  content: "Code copied"; position: absolute; inset: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #D92D20; color: var(--white); font-size: 14px; font-weight: 800;
}
.sf-deal-price small { font-size: 11.5px; font-weight: 700; color: #FDA29B; }
.product-card-price.on-sale { color: #D92D20; }
.product-card-price s, .pd-price s { font-size: 13.5px; font-weight: 400; color: var(--text-4); margin-left: 6px; letter-spacing: 0; }
.pd-price s { font-size: 16px; }
.pd-off { font-size: 13px; font-weight: 800; color: var(--white); background: #D92D20; padding: 2px 8px; border-radius: 5px; vertical-align: middle; }
.promo-box { display: flex; gap: 8px; margin: 14px 0 0; }
.promo-box input { flex: 1; min-width: 0; margin: 0; text-transform: uppercase; }
.promo-box input::placeholder { text-transform: none; }
.promo-box .btn { width: auto; margin: 0; padding: 0 20px; flex: none; }
.promo-message { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #B42318; }
.promo-message.ok { color: #047857; }
.promo-message[hidden] { display: none; }

/* The shop's own sub-pages (videos, reviews, FAQ, contact) and the
   site footer that is the same on all of them. */
.sf-page { padding-top: 28px; padding-bottom: 40px; }
.sf-page-narrow { max-width: 820px; }
.sf-page-title { font-size: 30px; font-weight: 800; letter-spacing: -0.4px; color: var(--text-1); margin: 0 0 6px; }
.sf-page-sub { font-size: 16px; color: var(--text-2); margin: 0 0 24px; }
.sf-page-more { margin: 20px 0 0; font-size: 15.5px; color: var(--text-2); }
.sf-page-more a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.sf-page .video-grid, .sf-page .testimonial-grid { margin-top: 0; }
.sf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.sf-contact-card { padding: 22px; box-shadow: none; }
.sf-contact-head { font-size: 18px; font-weight: 800; color: var(--text-1); margin: 0 0 12px; }
.sf-contact-card form p { margin: 0 0 10px; }
.sf-contact-card input, .sf-contact-card textarea { width: 100%; box-sizing: border-box; }
.sf-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sf-contact-actions .btn { width: auto; flex: 1 1 auto; margin: 0; padding: 12px 16px; }
.sf-empty { text-align: center; padding: 56px 16px; color: var(--text-3); }
.sf-empty i { font-size: 34px; color: var(--text-4); }
.sf-empty p { font-size: 16px; margin: 12px 0 18px; }
.sf-empty .btn { width: auto; display: inline-flex; }

.sf-footer { background: var(--text-1); color: rgba(255,255,255,0.78); margin-top: 0; }
.sf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 32px; padding-top: 36px; padding-bottom: 32px; }
.sf-footer-name { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.sf-footer-about { font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 420px; }
.sf-footer-head { font-size: 13px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.sf-footer-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; margin-bottom: 9px; color: rgba(255,255,255,0.85); text-decoration: none; }
a.sf-footer-line:hover { color: var(--white); text-decoration: underline; }
.sf-footer-line i { width: 16px; text-align: center; margin-top: 3px; color: rgba(255,255,255,0.55); }
.storefront-footer { background: var(--text-1); color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 0 28px; margin: 0; }
.storefront-footer a { color: rgba(255,255,255,0.8); }
@media (max-width: 760px) {
  .sf-contact-grid { grid-template-columns: 1fr; }
  .sf-footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .sf-page { padding-top: 20px; }
  .sf-page-title { font-size: 24px; }
  .sf-page-sub { font-size: 15.5px; margin-bottom: 18px; }
  .storefront-footer { padding-bottom: 96px; }
}

/* Rest of the storefront, brought in line with the same look. */
.storefront-section-title {
  font-size: 20px; font-weight: 800; letter-spacing: -0.2px; text-transform: none;
  color: var(--text-1); margin: 28px 0 14px;
}
.storefront-section-title::after { display: none; }
/* "AVAILABLE" on every product said nothing; only exceptions are flagged. */
.product-availability-pill { border-radius: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 3px 9px; }
.product-availability-pill.available { display: none; }
.product-availability-pill.limited { background: #D92D20; color: var(--white); }
.product-availability-pill.out_of_stock { background: var(--text-1); color: var(--white); }
.pd-price { color: var(--text-1); font-weight: 800; }
.pd-name { font-weight: 800; letter-spacing: -0.3px; }
.pd-category { letter-spacing: 0.3px; color: var(--text-3); }
/* The label was dark-on-dark (the amber button's text colour on the
   indigo background) — unreadable. */
.pd-buy-row .pd-cta-main, .pd-buy-row .pd-cta-main:hover { background: var(--text-1); color: var(--white); box-shadow: none; }
.storefront-sticky-bar .btn:not(.btn-whatsapp) { background: var(--text-1); color: var(--white); box-shadow: none; }

@media (max-width: 900px) {
  .sf-util-call { display: none; }
  .sf-header-row { gap: 16px; }
}

@media (max-width: 640px) {
  .sf-header { position: static; }
  .sf-header-row { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 8px; }
  a.sf-brand { flex: 1 1 0; max-width: none; }
  .sf-logo { width: 38px; height: 38px; font-size: 16px; }
  .sf-brand-name { font-size: 16.5px; }
  .sf-brand-meta { font-size: 12.5px; }
  .sf-utils { gap: 16px; }
  .sf-util-text { display: none; }
  .sf-util > i, .sf-cart-icon { font-size: 23px; }
  .sf-search { order: 3; flex: 1 1 100%; max-width: none; padding-left: 16px; }
  .sf-search input[type=search] { font-size: 16px; padding: 6px 8px 6px 0; }
  .sf-nav-row { padding-bottom: 8px; gap: 2px; }
  .sf-nav a.sf-nav-all, .sf-nav a.sf-nav-link { font-size: 14.5px; padding: 8px 13px; }
  .sf-nav a.sf-powered { display: none; }

  .sf-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .sf-hero-title { font-size: 22px; letter-spacing: -0.2px; margin-bottom: 6px; }
  .sf-hero-text { font-size: 15px; margin-bottom: 10px; }
  .sf-hero-actions { gap: 8px; margin-bottom: 12px; }
  .sf-hero-btn, a.sf-hero-rating { font-size: 13.5px; padding: 7px 13px; }
  .sf-deals { overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; gap: 10px; }
  .sf-deals::-webkit-scrollbar { display: none; }
  a.sf-deal { flex: none; width: 236px; }
  .sf-deal-img { width: 76px; height: 76px; }
  /* The products in the band matter more than the flyer on a small
     screen; the banner follows them, kept short. */
  .sf-hero .sf-hero-banner { width: 100%; max-width: none; }
  .sf-hero .sf-hero-banner .store-slide { max-height: 120px; margin: 0 auto; }

  .sf-strip-row { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: 20px; font-size: 13.5px; }
  .sf-strip-row::-webkit-scrollbar { display: none; }
  .sf-section-heading { font-size: 22px; margin: 20px 0 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .product-card-body { padding: 8px 2px 0; }
  a.product-card-name { font-size: 14px; }
  .product-card-price { font-size: 17px; }
  .product-cart-btn { width: 38px; height: 38px; }
}

/* ── Finishing pass (2026-10) ────────────────────────────────── */

/* Anything given the `hidden` attribute stays hidden, whatever display
   its class sets (a .btn is inline-flex, which would otherwise win). */
.sf-header [hidden], .sf-hero [hidden], .storefront-body [hidden],
.storefront-sticky-bar [hidden], .storefront-sticky-bar[hidden] { display: none !important; }

/* Product photos are real images now (see _product_card.html): shown
   whole on the white tile, exactly as the background version was. */
.product-card-img { background-image: none; }
.product-card-img img {
  position: absolute; top: 8px; left: 8px; width: calc(100% - 16px); height: calc(100% - 16px);
  object-fit: contain;
}
.pd-main-photo > .fa-image { color: var(--text-4); font-size: 40px; }

/* While a search or category filter is on: how many matched, and the
   way back to everything. */
.sf-filter-note {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px;
  margin: -10px 0 18px; font-size: 15px; color: var(--text-2);
}
button.sf-filter-clear {
  width: auto; margin: 0; padding: 6px 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); color: var(--text-1);
  border: none; border-radius: 999px; box-shadow: none; font-size: 14px; font-weight: 600;
}
button.sf-filter-clear:hover { background: var(--border); transform: none; }
.product-grid { margin-bottom: 40px; }

/* Enquiry, contact and review forms — one look, no inline styles. */
.sf-form-card { padding: 20px; margin-bottom: 24px; }
.sf-form-card p { margin: 0 0 10px; }
.sf-form-card input, .sf-form-card textarea { width: 100%; box-sizing: border-box; }
.review-form-card.sf-form-card { padding: 0 18px; margin-bottom: 32px; }
.sf-form-message { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: #B42318; }
.sf-form-message.ok { color: #047857; }

/* Social icons in the footer — on a phone the header's row of them is
   scrolled off to the right of the category bar. */
.sf-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.sf-footer-social a.sf-social { width: 36px; height: 36px; font-size: 16px; }

/* Keyboard users can see where they are. */
.sf-header a:focus-visible, .sf-hero a:focus-visible, .sf-hero button:focus-visible,
.product-card a:focus-visible, .product-cart-btn:focus-visible, .sf-footer a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

@media (max-width: 640px) {
  /* The three hero buttons fit one row: the rating reads "4.5 (12)". */
  .sf-wide-only { display: none; }
  .sf-hero-actions { flex-wrap: nowrap; gap: 6px; }
  .sf-hero-btn, a.sf-hero-rating { padding: 7px 11px; white-space: nowrap; }

  /* The category bar scrolls sideways; a fade on its right edge says so. */
  .sf-nav { position: relative; }
  .sf-nav::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 8px; width: 28px; pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0), var(--white));
  }
  .sf-nav-row { padding-right: 28px; }

  /* Bottom bar: basket and WhatsApp side by side once there is a basket. */
  .storefront-sticky-bar { display: flex; gap: 8px; }
  .storefront-sticky-bar .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding-left: 10px; padding-right: 10px; }

  .sf-filter-note { margin: -6px 0 14px; font-size: 15px; }
  .product-grid { margin-bottom: 28px; }
  .sf-form-card { padding: 16px; }
  .review-form-card.sf-form-card { padding: 0 16px; }
}

/* ── Hearing back about an order ─────────────────────────────── */

/* Tracking page: how the customer will hear back, and two ways to keep
   the link (it is their only way to the order). */
.order-keep {
  margin: 10px 0 20px; padding: 14px 16px;
  background: var(--info-bg); border: 1px solid #BFDBFE; border-radius: var(--radius-sm);
}
.order-keep p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--text-1); }
.order-keep p i { color: var(--info); margin-right: 4px; }
.order-keep-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order-keep-btn, button.order-keep-btn {
  flex: 1 1 auto; width: auto; margin: 0; padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); color: var(--text-1);
  border: 1px solid #BFDBFE; border-radius: var(--radius-sm); box-shadow: none;
  font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.order-keep-btn:hover, button.order-keep-btn:hover { background: var(--primary-light); transform: none; }
.order-keep-btn .fa-whatsapp { color: #25D366; font-size: 17px; }

/* Shown instead of reloading under someone who is typing. */
button.order-updated {
  width: 100%; margin: 0 0 16px; padding: 12px 14px;
  background: var(--accent-100); color: #92400E;
  border: 1px solid var(--accent); border-radius: var(--radius-sm); box-shadow: none;
  font-size: 15px; font-weight: 700; text-align: center; cursor: pointer;
}

/* "Your order" bar under the header on the shop's other pages. */
a.sf-order-bar {
  display: block; background: var(--info-bg); border-bottom: 1px solid #BFDBFE;
  color: var(--text-1); text-decoration: none;
}
.sf-order-bar-row { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.sf-order-bar-row > i { flex: none; font-size: 17px; color: var(--info); }
.sf-order-bar-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 14.5px; line-height: 1.35; }
.sf-order-bar-text b { font-weight: 800; }
.sf-order-bar-go {
  flex: none; padding: 6px 14px; border-radius: 999px;
  background: var(--text-1); color: var(--white); font-size: 13.5px; font-weight: 700;
}
a.sf-order-bar.needs-you { background: var(--accent-100); border-bottom-color: var(--accent); }
a.sf-order-bar.needs-you .sf-order-bar-row > i { color: #B45309; }
a.sf-order-bar.needs-you .sf-order-bar-go { background: #B45309; }

@media (max-width: 640px) {
  .order-keep p { font-size: 15.5px; }
  .order-keep-btn, button.order-keep-btn { font-size: 15px; padding: 12px 12px; }
  .sf-order-bar-text { font-size: 15px; flex-direction: column; gap: 0; }
}

/* The order number now sits straight above the progress steps. */
.order-head { margin-bottom: 18px; }

/* Link from every shop to Ledja Market (apps/market). */
.sf-market-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; font-size: 15px; }

/* Ledja Verified Business: ops checked the owner's KYC (apps.market). */
.sf-verified { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font-size: 11.5px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #047857, #16A34A); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
