/*
 * Storefront design layer (customer-facing pages only; admin keeps store-theme.css).
 * Clean, airy retail layout: white space, compact product cards, one accent
 * colour (brand blue), red reserved for discounts, yellow for the $1 Store.
 */
:root {
  --sf-brand: #0050aa;
  --sf-brand-dark: #003a7e;
  --sf-brand-soft: #eef4fb;
  --sf-accent: #ffd200;
  --sf-sale: #e5484d;
  --sf-ink: #172b4d;
  --sf-muted: #6b7a8c;
  --sf-line: #e3e8ef;
  --sf-bg: #f7f9fc;
  --sf-radius: 10px;
}

.storefront { color: var(--sf-ink); background: #fff; }
.storefront h1, .storefront h2, .storefront h3 { font-family: 'DM Sans', Arial, sans-serif; letter-spacing: -.03em; }
.storefront h1 { font-weight: 800; }
.storefront .brand { font-family: 'DM Sans', Arial, sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: -.05em; color: var(--sf-brand); }
.storefront .site-main { max-width: 1280px; margin: 0 auto; padding: 24px 24px 56px; }
.storefront .page-heading h1 { font-size: 1.9rem; }

/* ---------- Announcement bar & service strip: original theme styles (store-theme.css) ---------- */
.storefront .service-strip { margin-bottom: 28px; }

/* (unused) icon trust bar */
.sf-trustbar { color: #fff; background: var(--sf-brand-dark); font-size: .78rem; font-weight: 600; }
.sf-trustbar__inner { display: flex; justify-content: space-between; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 8px 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.sf-trustbar__inner::-webkit-scrollbar { display: none; }
.sf-trustbar i { margin-right: 6px; color: var(--sf-accent); }

/* ---------- Header ---------- */
.sf-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--sf-line); }
.sf-header__inner { display: flex; align-items: center; gap: 28px; max-width: 1280px; margin: 0 auto; padding: 14px 24px; }
.sf-search { display: flex; flex: 1; max-width: 640px; margin: 0 auto; overflow: hidden; border: 1.5px solid var(--sf-line); border-radius: 8px; transition: border-color .15s; }
.sf-search:focus-within { border-color: var(--sf-brand); }
.sf-search input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; border-radius: 0; box-shadow: none; }
.sf-search input:focus { box-shadow: none; }
.sf-search button { width: 52px; padding: 0; color: #fff; background: var(--sf-brand); border: 0; border-radius: 0; font-size: 1rem; }
.sf-search button:hover { background: var(--sf-brand-dark); }
.sf-actions { display: flex; align-items: center; gap: 4px; }
.sf-actions form { margin: 0; }
.sf-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 56px; padding: 6px 8px; color: var(--sf-ink); background: transparent; border: 0; border-radius: 8px; font-size: .74rem; font-weight: 600; }
.sf-action i { font-size: 1.15rem; color: var(--sf-ink); }
.sf-action:hover { color: var(--sf-brand); background: var(--sf-brand-soft); }
.sf-action:hover i { color: var(--sf-brand); }
.sf-action--signup { justify-content: center; margin-left: 6px; padding: 10px 16px; color: #fff; background: var(--sf-brand); font-size: .82rem; }
.sf-action--signup:hover { color: #fff; background: var(--sf-brand-dark); }
.sf-action .cart-count, .sf-tabbar .cart-count { top: 0; right: 8px; }

/* Category menu */
.sf-nav { border-top: 1px solid #f0f3f7; }
.sf-nav__inner { display: flex; justify-content: safe center; align-items: center; gap: 4px; max-width: 1280px; margin: 0 auto; padding: 0 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.sf-nav__inner::-webkit-scrollbar { display: none; }
.sf-nav a { padding: 12px 14px; color: var(--sf-ink); font-size: .88rem; font-weight: 600; box-shadow: inset 0 -2px 0 transparent; }
.sf-nav a:hover { color: var(--sf-brand); }
.sf-nav a.is-active { color: var(--sf-brand); box-shadow: inset 0 -2px 0 var(--sf-brand); }
.sf-nav a.sf-nav__pill { margin-left: 8px; padding: 6px 14px; color: #15375f; background: var(--sf-accent); border-radius: 999px; font-weight: 800; box-shadow: none; }
.sf-nav a.sf-nav__pill:hover, .sf-nav a.sf-nav__pill.is-active { background: #f0c500; }

/* ---------- Buttons ---------- */
.sf-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1.5px solid var(--sf-brand); border-radius: 8px; font-size: .92rem; font-weight: 700; transition: background .15s, color .15s; }
.sf-btn--solid { color: #fff; background: var(--sf-brand); }
.sf-btn--solid:hover { color: #fff; background: var(--sf-brand-dark); border-color: var(--sf-brand-dark); }
.sf-btn--outline { color: var(--sf-brand); background: #fff; }
.sf-btn--outline:hover { color: #fff; background: var(--sf-brand); }

/* ---------- Home: hero ---------- */
.sf-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; min-height: 360px; margin-bottom: 22px; padding: 40px 48px; overflow: hidden; background: linear-gradient(120deg, var(--sf-brand-soft) 0%, #f7fbff 55%, #fff8d6 100%); border-radius: 16px; }
.sf-hero h1 { margin: 0 0 14px; color: var(--sf-ink); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.05em; }
.sf-hero h1 em { color: var(--sf-brand); font-style: normal; }
.sf-hero__copy > p { max-width: 440px; margin: 0 0 24px; color: #4a5b70; font-size: 1.02rem; }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: #4a5b70; font-size: .8rem; font-weight: 600; }
.sf-hero__points li::before { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 2px solid var(--sf-brand); border-radius: 50%; content: ''; }
.sf-hero__art { display: grid; place-items: center; height: 100%; }
.sf-hero__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 440px; }
.sf-hero__collage img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(21,45,83,.12); }
.sf-hero__collage--3 img:first-child { grid-row: span 2; height: 100%; aspect-ratio: auto; }
.sf-hero__emoji { font-size: 8rem; filter: drop-shadow(0 14px 10px rgba(21,45,83,.15)); }

/* Collection chips */
.sf-chips { display: flex; gap: 12px; margin: 0 0 34px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.sf-chips::-webkit-scrollbar { display: none; }
.sf-chip { flex: 1 0 auto; padding: 9px 20px; color: var(--sf-brand); background: #fff; border: 1.5px solid #b9cfea; border-radius: 999px; font-size: .86rem; font-weight: 700; text-align: center; white-space: nowrap; }
.sf-chip:hover { color: #fff; background: var(--sf-brand); border-color: var(--sf-brand); }
.sf-chip--sale { color: var(--sf-sale); border-color: #f6b8ba; }
.sf-chip--sale:hover { color: #fff; background: var(--sf-sale); border-color: var(--sf-sale); }
.sf-chip--dollar { color: #15375f; background: #fff6c7; border-color: var(--sf-accent); }
.sf-chip--dollar:hover { color: #15375f; background: var(--sf-accent); border-color: var(--sf-accent); }

/* ---------- Sections ---------- */
.sf-section { margin: 0 0 44px; }
.sf-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sf-section__head h2 { margin: 0; color: var(--sf-ink); font-size: 1.4rem; font-weight: 800; }
.sf-section__head p { margin: 3px 0 0; color: var(--sf-muted); font-size: .86rem; }
.sf-view-all { flex-shrink: 0; color: var(--sf-ink); font-size: .86rem; font-weight: 700; }
.sf-view-all i { margin-left: 4px; font-size: .7rem; }
.sf-view-all:hover { color: var(--sf-brand); }

/* ---------- Product grid & card ---------- */
.storefront .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.storefront .product-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); box-shadow: none; transition: box-shadow .2s, border-color .2s; }
.storefront .product-card:hover { border-color: #cfd9e6; box-shadow: 0 10px 24px rgba(21,45,83,.1); transform: none; }
.storefront .product-card__image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sf-bg); border: 0; }
.storefront .product-card__image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.storefront .product-card:hover .product-card__image > img { transform: scale(1.04); }
.product-card__no-image { display: grid; height: 100%; place-items: center; color: #b4c0ce; font-size: 2rem; }
.storefront .product-card__offer { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 8px; color: #fff; background: var(--sf-sale); border-radius: 6px; font-size: .72rem; font-weight: 800; text-transform: none; }
.storefront .product-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.product-card__name { display: -webkit-box; min-height: 2.6em; overflow: hidden; color: var(--sf-ink); font-size: .96rem; font-weight: 500; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__name:hover { color: var(--sf-brand); }
.product-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.product-card__bottom form { margin: 0; }
.storefront .product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0; color: var(--sf-ink); font-size: 1.08rem; font-weight: 800; }
.product-card__now.is-sale { color: var(--sf-sale); }
.storefront .product-card__was { color: #8a97a8; font-size: .78rem; font-weight: 500; }
.storefront .product-card__from { width: 100%; color: var(--sf-muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.product-card__add { display: grid; flex-shrink: 0; width: 36px; height: 36px; padding: 0; place-items: center; color: #fff; background: var(--sf-brand); border: 0; border-radius: 50%; font-size: .85rem; transition: background .15s, transform .15s; }
.product-card__add:hover { color: #fff; background: var(--sf-brand-dark); transform: scale(1.08); }

/* ---------- Home: categories as outlined icon tiles ---------- */
.sf-departments { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 12px; }
.sf-department { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.sf-department__icon { display: grid; width: 76px; height: 76px; place-items: center; overflow: hidden; background: #fff; border: 1.5px solid #b9cfea; border-radius: 14px; font-size: 2.1rem; transition: background .15s, border-color .15s, transform .15s; }
.sf-department__icon img { width: 100%; height: 100%; object-fit: cover; }
.sf-department:hover .sf-department__icon { background: var(--sf-brand-soft); border-color: var(--sf-brand); transform: translateY(-2px); }
.sf-department__name { color: var(--sf-ink); font-size: .84rem; font-weight: 600; line-height: 1.25; }

/* ---------- Home: $1 Store promo ---------- */
.sf-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 44px; padding: 32px 40px; color: #15375f; background: linear-gradient(110deg, #ffd200 0 62%, #ffe15a 62% 100%); border-radius: 16px; }
.sf-promo h2 { margin: 2px 0 6px; color: #15375f; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.sf-promo p { margin: 0 0 18px; color: #2c4a6e; }
.sf-promo .sf-promo__eyebrow { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sf-promo__badge { display: grid; flex-shrink: 0; width: 120px; height: 120px; place-items: center; color: #fff; background: var(--sf-brand); border: 6px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; }
.sf-promo:hover .sf-btn--solid { background: var(--sf-brand-dark); }

/* ---------- Home: benefits ---------- */
.sf-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 0; }
.sf-benefits > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #cfdcec; border-radius: 12px; }
.sf-benefits i { color: var(--sf-brand); font-size: 1.4rem; }
.sf-benefits span { color: var(--sf-muted); font-size: .78rem; line-height: 1.35; }
.sf-benefits strong { display: block; color: var(--sf-ink); font-size: .9rem; }

/* ---------- Footer ---------- */
.sf-footer { margin-top: 24px; color: #cfe0f5; background: var(--sf-brand-dark); }
.sf-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; padding: 44px 24px 32px; }
.sf-footer .brand { color: #fff; }
.sf-footer__brand p { max-width: 320px; margin: 12px 0 0; font-size: .88rem; }
.sf-footer h3 { margin: 0 0 12px; color: #fff; font-size: .95rem; font-weight: 800; }
.sf-footer__inner > div:not(.sf-footer__brand) { display: flex; flex-direction: column; gap: 8px; font-size: .86rem; }
.sf-footer a:hover { color: #fff; text-decoration: underline; }
.sf-footer__copy { margin: 0; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; text-align: center; }

/* ---------- Phone tab bar (hidden on larger screens) ---------- */
.sf-tabbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sf-header__inner { flex-wrap: wrap; gap: 10px 16px; padding: 10px 16px; }
  .sf-search { order: 3; flex-basis: 100%; max-width: none; }
  .sf-actions { margin-left: auto; }
  .sf-hero { grid-template-columns: 1fr; padding: 32px; }
  .sf-hero__art { display: none; }
  .sf-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-footer__inner { grid-template-columns: 1fr 1fr; }
  .sf-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .storefront { padding-bottom: 64px; }
  .storefront .site-main { padding: 16px 16px 32px; }
  .sf-trustbar__inner { padding: 7px 16px; }
  .sf-header .brand { font-size: 1.2rem; }
  .sf-action { min-width: 40px; padding: 6px; }
  .sf-action span { display: none; }
  .sf-action--signup span { display: inline; }
  .sf-action--cart { display: none; } /* the tab bar has the cart */
  .sf-nav__inner { justify-content: flex-start; padding: 0 8px; }
  .sf-nav a { padding: 10px 10px; font-size: .84rem; }

  .sf-hero { min-height: 0; padding: 26px 20px; border-radius: 14px; }
  .sf-hero__copy > p { margin-bottom: 18px; font-size: .95rem; }
  .sf-hero .sf-btn { padding: 10px 16px; font-size: .86rem; }
  .sf-chips { gap: 8px; margin-bottom: 26px; }
  .sf-chip { flex: 0 0 auto; padding: 7px 14px; font-size: .8rem; }

  .sf-section { margin-bottom: 32px; }
  .sf-section__head h2 { font-size: 1.15rem; }
  .storefront .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* "Featured offers" becomes a swipeable row on phones. */
  .storefront .product-grid--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 54%; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .storefront .product-grid--row::-webkit-scrollbar { display: none; }
  .storefront .product-grid--row > * { scroll-snap-align: start; }
  .product-card__name { font-size: .88rem; }
  .storefront .product-card__price { font-size: .98rem; }
  .product-card__add { width: 30px; height: 30px; font-size: .78rem; }

  .sf-departments { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86px; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .sf-departments::-webkit-scrollbar { display: none; }
  .sf-department__icon { width: 68px; height: 68px; font-size: 1.8rem; }
  .sf-department__name { font-size: .76rem; }

  .sf-promo { padding: 24px 20px; gap: 14px; }
  .sf-promo__badge { width: 76px; height: 76px; font-size: 1.6rem; border-width: 4px; }
  .sf-benefits { gap: 10px; }
  .sf-benefits > div { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }

  .sf-footer__inner { gap: 24px; padding: 32px 16px 24px; }

  .sf-tabbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sf-line); box-shadow: 0 -4px 16px rgba(21,45,83,.08); }
  .sf-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; color: var(--sf-muted); border-radius: 10px; font-size: .68rem; font-weight: 600; }
  .sf-tabbar a i { font-size: 1.1rem; }
  .sf-tabbar a.is-active { color: var(--sf-brand); background: var(--sf-brand-soft); }
  .sf-tabbar__dollar { display: grid; width: 22px; height: 18px; place-items: center; color: #15375f; background: var(--sf-accent); border-radius: 5px; font-size: .66rem; font-weight: 800; }
  .sf-tabbar .cart-count { right: 18%; }
}

/* ---------- Ratings & reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: #f5a623; font-size: .85rem; }
.product-card__rating { display: flex; align-items: center; gap: 4px; margin: -4px 0 0; color: var(--sf-ink); font-size: .8rem; font-weight: 700; }
.product-card__rating i { color: #f5a623; font-size: .75rem; }
.product-card__rating span { color: var(--sf-muted); font-weight: 500; }
.product-info__rating { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--sf-muted); font-size: .85rem; }
.product-info__rating:hover span { color: var(--sf-brand); text-decoration: underline; }

.reviews { margin-top: 36px; padding: 26px 30px; background: #fff; border: 1px solid #e0e6ed; }
.reviews__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.reviews__summary { padding: 20px; background: var(--sf-bg); border-radius: var(--sf-radius); }
.reviews__average { margin: 0; color: var(--sf-ink); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.reviews__average small { color: var(--sf-muted); font-size: 1rem; font-weight: 600; }
.reviews__summary .stars { margin: 8px 0 4px; font-size: 1.05rem; }
.reviews__count { margin: 0; color: var(--sf-muted); font-size: .84rem; }
.reviews__empty-title { margin: 0 0 4px; color: var(--sf-ink); font-size: 1.05rem; font-weight: 800; }
.reviews__bars { margin: 16px 0 0; padding: 0; list-style: none; }
.reviews__bars li { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; padding: 3px 0; color: var(--sf-muted); font-size: .8rem; }
.reviews__bars li i { color: #f5a623; font-size: .7rem; }
.reviews__bars li > span:last-child { text-align: right; }
.reviews__bar { height: 8px; overflow: hidden; background: #e3e8ef; border-radius: 999px; }
.reviews__bar i { display: block; height: 100%; background: #f5a623; border-radius: 999px; }
.reviews__notice { margin: 0 0 18px; padding: 12px 14px; color: #3d5674; background: var(--sf-brand-soft); border-radius: 8px; font-size: .88rem; }
.reviews__notice i { margin-right: 6px; color: var(--sf-brand); }
.reviews__notice a { color: var(--sf-brand); font-weight: 700; text-decoration: underline; }
.reviews__more { margin-top: 16px; }

.review-form { padding: 18px 20px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); scroll-margin-top: 140px; }
.review-form h3 { margin: 0 0 10px; color: var(--sf-ink); font-size: 1.05rem; font-weight: 800; }
.review-form__label { display: block; margin: 14px 0 6px; color: #3d5674; font-size: .84rem; font-weight: 700; }
.review-form__label small { color: var(--sf-muted); font-weight: 500; }
.review-form textarea { width: 100%; resize: vertical; }
.review-form__error { margin: 6px 0 0; color: var(--sf-sale); font-size: .82rem; }
.review-form__actions { margin-top: 12px; }
.review-form__delete { margin: 8px 0 0; }
.review-form__delete button { padding: 4px 0; color: var(--sf-sale); background: none; border: 0; font-size: .82rem; font-weight: 700; text-decoration: underline; }

/* Clickable stars: inputs are in DOM order 5→1, shown 1→5 via row-reverse,
   so "this star and all before it" = this label and its following siblings. */
.star-input { margin: 0; padding: 0; border: 0; }
.star-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input legend { margin-bottom: 4px; padding: 0; color: #3d5674; font-size: .84rem; font-weight: 700; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { color: #d3dbe5; font-size: 1.7rem; cursor: pointer; transition: color .1s, transform .1s; }
.star-input input:checked ~ label { color: #f5a623; }
/* While hovering, the hover preview replaces the saved choice. */
.star-input__stars:hover label, .star-input__stars:hover input:checked ~ label { color: #d3dbe5; }
.star-input__stars:hover input + label:hover, .star-input__stars:hover input + label:hover ~ label { color: #f5a623; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--sf-brand); outline-offset: 2px; border-radius: 4px; }

.review-list { margin: 22px 0 0; padding: 0; list-style: none; }
.review { padding: 16px 0; border-top: 1px solid #edf0f3; }
.review:first-child { border-top: 0; }
.review__head { display: flex; gap: 12px; align-items: center; }
.review__avatar { display: grid; flex-shrink: 0; width: 38px; height: 38px; place-items: center; color: var(--sf-brand); background: var(--sf-brand-soft); border-radius: 50%; font-weight: 800; }
.review__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; color: var(--sf-ink); font-size: .92rem; font-weight: 700; }
.review__verified { color: #198754; font-size: .74rem; font-weight: 600; }
.review__meta { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; color: var(--sf-muted); font-size: .78rem; }
.review__meta .stars { font-size: .78rem; }
.review__comment { margin: 10px 0 0 50px; color: #3d5674; font-size: .9rem; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }

.order-item__review { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--sf-brand); font-size: .8rem; font-weight: 700; }
.order-item__review:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .reviews { margin-top: 26px; padding: 18px 16px; }
  .reviews__layout { grid-template-columns: 1fr; gap: 18px; }
  .review__comment { margin-left: 0; }
}

/* ---------- Error messages & stock warnings ---------- */
.status-message--error { color: #9b1c22; background: #fdecee; border-color: #f5c2c6; }
.status-message--error i { margin-right: 6px; }
.cart-item__stock { color: #a5620b; font-size: .78rem; font-weight: 700; }
.cart-item__stock--out { color: var(--sf-sale); }
.cart-blocked { margin: 12px 0 0; color: var(--sf-sale); font-size: .84rem; font-weight: 600; }
.cart-checkout.is-disabled { color: #fff; background: #a9b6c6; border-color: #a9b6c6; cursor: not-allowed; }

/* Logo */
.sf-header .brand { gap: 10px; }
.sf-footer .brand-logo { width: 64px; height: 64px; border: 2px solid rgba(255,255,255,.25); border-radius: 10px; }
@media (max-width: 767px) { .sf-header .brand-logo { width: 50px; height: 50px; } }
