/* Storefront icons (no Font Awesome) */
.sf-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.2em;
  flex-shrink: 0;
}
.sf-icon--heart { color: inherit; }
/* ============================================================
   Storefront /m — Fashion boutique customer catalog
   ============================================================ */

@font-face {
  font-family: 'AzarMehr-Regular';
  src: url('/static/fonts/AzarMehr-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AzarMehr-Bold';
  src: url('/static/fonts/AzarMehr-Bold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sf-primary: #ff4f9a;
  --sf-primary-dark: #7a183f;
  --sf-ink: #1a0a12;
  --sf-muted: #6b5e64;
  --sf-bg: #faf7f8;
  --sf-surface: #ffffff;
  --sf-border: #eadfe4;
  --sf-radius: 18px;
  --sf-shadow: 0 12px 40px rgba(26, 10, 18, 0.08);
  --sf-shadow-hover: 0 20px 50px rgba(122, 24, 63, 0.14);
  --font: "AzarMehr-Regular", Tahoma, sans-serif;
  --font-bold: "AzarMehr-Bold", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { height: 100%; }
body.sf-body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  background: var(--sf-bg);
  color: var(--sf-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.sf-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.sf-main {
  flex: 1 0 auto;
}
.sf-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.sf-body h1, .sf-body h2, .sf-body h3,
.sf-logo, .sf-btn, .sf-price, .sf-cat-section__title {
  font-family: var(--font-bold);
}

a { color: var(--sf-primary-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--sf-primary); }

/* ---- Topbar ---- */
.sf-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 228, 0.8);
}
.sf-topbar__inner {
  width: 100%;
  padding: 0.85rem clamp(0.75rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
}
.sf-logo {
  font-weight: 900; font-size: 1.2rem; color: var(--sf-ink);
  letter-spacing: -0.02em;
}
.sf-logo span { color: var(--sf-primary); }
.sf-topbar__nav a {
  font-family: var(--font-bold);
  font-size: 0.88rem;
  color: var(--sf-ink);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.sf-topbar__nav a:hover {
  background: #fff0f6;
  color: var(--sf-primary-dark);
}
/* brand + separator + maisons link (start side) */
.sf-topbar__start { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.sf-topbar__sep { color: var(--sf-border); font-size: 1.1rem; line-height: 1; user-select: none; }
.sf-topbar__maisons {
  font-family: var(--font-bold);
  font-size: 0.88rem;
  color: var(--sf-ink);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.sf-topbar__maisons:hover { background: #fff0f6; color: var(--sf-primary-dark); }
/* account link: profile icon only, inside a circle */
.sf-topbar__nav a.sf-topbar__account {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; padding: 0;
  border: 1.5px solid var(--sf-primary); border-radius: 50%;
  color: var(--sf-primary-dark);
}
.sf-topbar__nav a.sf-topbar__account[hidden] { display: none; }
.sf-topbar__account .sf-icon { width: 1.3rem; height: 1.3rem; vertical-align: 0; }

/* ---- Notifications (bell next to the account icon) ---- */
.sf-topbar__nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sf-notifications { position: relative; }
.sf-notifications[hidden] { display: none; }
.sf-notifications__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--sf-ink);
  cursor: pointer;
}
.sf-notifications__trigger:hover,
.sf-notifications__trigger[aria-expanded="true"] {
  background: #fff0f6;
  color: var(--sf-primary-dark);
}
.sf-notifications__trigger .sf-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sf-primary);
}
.sf-notifications__badge {
  position: absolute;
  top: -0.12rem;
  inset-inline-end: -0.15rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.2rem;
  border: 2px solid #fff;
  border-radius: 99px;
  background: var(--sf-primary);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 0.62rem;
  line-height: 0.85rem;
}
.sf-notifications__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  inset-inline-end: 0;
  z-index: 60;
  width: min(23rem, calc(100vw - 1.5rem));
  overflow: hidden;
  border: 1px solid var(--sf-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(26, 10, 18, 0.16);
}
.sf-notifications__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sf-border);
}
.sf-notifications__head strong {
  font-family: var(--font-bold);
  font-size: 0.92rem;
}
.sf-notifications__read-all {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sf-primary-dark);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}
.sf-notifications__hint {
  margin: 0;
  padding: 0.55rem 1rem 0;
  color: var(--sf-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}
.sf-notifications__hint:empty { display: none; }
.sf-notifications__list { max-height: 22rem; overflow-y: auto; }
.sf-notification {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--sf-border);
  background: #fff;
  color: var(--sf-ink);
  text-align: right;
  cursor: pointer;
}
.sf-notification:hover { background: #fff7fa; }
.sf-notification--unread { background: #fff3f8; }
.sf-notification__title,
.sf-notification__body,
.sf-notification__time { display: block; }
.sf-notification__title {
  margin-bottom: 0.18rem;
  font-family: var(--font-bold);
  font-size: 0.86rem;
}
.sf-notification__body {
  color: var(--sf-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}
.sf-notification__time {
  margin-top: 0.3rem;
  color: var(--sf-muted);
  font-size: 0.7rem;
}
.sf-notifications__empty {
  margin: 0;
  padding: 2rem 1rem;
  color: var(--sf-muted);
  text-align: center;
  font-size: 0.84rem;
}

.sf-main {
  width: 100%;
  margin: 0;
  padding: 1.5rem clamp(0.75rem, 3vw, 2.5rem) 4rem;
  flex: 1 0 auto;
}

.sf-footer {
  border-top: 1px solid var(--sf-border);
  background: var(--sf-surface);
  padding: 1.35rem 0;
}
.sf-footer__inner {
  width: 100%;
  padding: 0 clamp(0.75rem, 3vw, 2.5rem);
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: space-between;
  color: var(--sf-muted); font-size: 0.85rem;
}

/* ---- Hero / list ---- */
.sf-hero { text-align: center; margin: 1.5rem 0 2.25rem; }
.sf-hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.sf-hero p { margin: 0; color: var(--sf-muted); font-size: 0.95rem; }

.sf-maison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.sf-maison-card {
  background: var(--sf-surface);
  border: 1px solid transparent;
  border-radius: var(--sf-radius);
  overflow: hidden;
  box-shadow: var(--sf-shadow);
  color: inherit;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sf-maison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sf-shadow-hover);
  color: inherit;
}
.sf-maison-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #fce7f3, #fff);
  overflow: hidden;
  max-width: 160px;
  margin: 1.25rem auto 0;
  border-radius: 20px;
}
.sf-maison-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-maison-card__placeholder,
.sf-product-card__placeholder {
  width: 100%; height: 100%; min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  color: #db2777; font-size: 2rem;
  background: linear-gradient(145deg, #fce7f3, #fff5f9);
}
.sf-product-card__placeholder--lg { min-height: 280px; font-size: 3rem; }
.sf-maison-card__body { padding: 1rem 1.1rem 1.35rem; }
.sf-maison-card__body h2 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.sf-maison-card__body p { margin: 0; font-size: 0.82rem; color: var(--sf-muted); }

/* ---- Banner 16:6 ---- */
.sf-banner {
  position: relative;
  border-radius: calc(var(--sf-radius) + 4px);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #1a0a12;
  aspect-ratio: 16 / 6;
  width: 100%;
  box-shadow: var(--sf-shadow);
}
.sf-banner__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-banner__fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0a12 0%, #3d1428 45%, #6b2042 100%);
}
.sf-banner__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 3vw, 2rem);
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}
.sf-banner__logo {
  width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.9);
  margin-bottom: 0.65rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.sf-banner__overlay h1 {
  margin: 0; font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.sf-banner__overlay p {
  margin: 0.4rem 0 0; font-size: 0.9rem;
  opacity: 0.92; max-width: 36rem;
}

.sf-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  font-size: 0.8rem; color: var(--sf-muted); margin-bottom: 1.15rem;
}
.sf-breadcrumb a { color: var(--sf-primary-dark); }

/* ---- Branch section ---- */
.sf-branch {
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--sf-shadow);
}
.sf-branch__head {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.sf-branch__head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.sf-branch__meta { display: grid; gap: 0.4rem; margin-bottom: 0.85rem; }
.sf-meta-row { font-size: 0.9rem; }
.sf-meta-row i { color: var(--sf-primary); width: 1.2rem; margin-left: 0.35rem; }

.sf-hours h3, .sf-cats h3 {
  margin: 0.85rem 0 0.55rem; font-size: 0.92rem;
  letter-spacing: 0.02em; text-transform: none;
}
.sf-hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.sf-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; padding: 0.3rem 0;
  border-bottom: 1px dashed var(--sf-border);
}
.sf-hours .is-closed { color: #b42318; font-weight: 700; }

.sf-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.sf-social a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: #fff0f6; border: 1px solid var(--sf-border);
  font-size: 0.82rem; color: var(--sf-primary-dark);
}
.sf-social a:hover { background: #ffe4f0; }

.sf-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.9rem;
}
.sf-cat-card {
  display: block; text-align: center; color: inherit;
  border-radius: 16px; overflow: hidden;
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sf-cat-card:hover {
  color: inherit; border-color: #f9a8d4;
  transform: translateY(-3px);
  box-shadow: var(--sf-shadow);
}
.sf-cat-card__media {
  aspect-ratio: 1 / 1;
  background: #fce7f3;
  overflow: hidden;
}
.sf-cat-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-cat-card__placeholder {
  width: 100%; height: 100%; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: #db2777; font-size: 1.5rem; background: #fce7f3;
}
.sf-cat-card__title {
  padding: 0.5rem 0.4rem 0.65rem;
  font-size: 0.8rem; font-family: var(--font-bold);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- Buttons ---- */
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.35rem; border-radius: 999px;
  font-weight: 900; font-size: 0.88rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sf-btn--primary {
  background: linear-gradient(135deg, #ff4f9a 0%, #e83a84 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 79, 154, 0.28);
}
.sf-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 79, 154, 0.36);
}
.sf-btn--outline {
  background: transparent;
  color: var(--sf-primary, #ff4f9a);
  border: 1.5px solid var(--sf-primary, #ff4f9a);
  box-shadow: none;
}
.sf-btn--outline:hover {
  background: rgba(255, 79, 154, 0.08);
  color: var(--sf-primary-dark, #e0367e);
  border-color: var(--sf-primary-dark, #e0367e);
}
.sf-btn--ghost {
  background: transparent; border-color: var(--sf-border); color: var(--sf-ink);
}
.sf-btn--ghost:hover { border-color: var(--sf-primary); color: var(--sf-primary-dark); }
.sf-btn--block { width: 100%; }
.sf-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.sf-badge {
  font-size: 0.78rem; font-weight: 700; color: var(--sf-muted);
  background: #f3f0f1; padding: 0.3rem 0.7rem; border-radius: 999px;
}

.sf-page-head { margin-bottom: 1.5rem; }
.sf-page-head h1 {
  margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
}
.sf-muted { color: var(--sf-muted); font-size: 0.9rem; }

/* ---- Category sections on branch page ---- */
.sf-cat-section { margin-bottom: 2.25rem; }
.sf-cat-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; margin-bottom: 0.9rem;
}
.sf-cat-section__head h2 { margin: 0; font-size: 1.15rem; }
.sf-cat-section__title {
  color: var(--sf-ink);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.sf-cat-section__title:hover {
  color: var(--sf-primary-dark);
  border-bottom-color: var(--sf-primary);
}
.sf-link {
  font-size: 0.85rem; font-family: var(--font-bold);
  white-space: nowrap;
}

.sf-swiper { padding: 0.25rem 2.25rem 1rem; position: relative; }
.sf-swiper .swiper-slide { width: 200px; }
.sf-swiper .swiper-button-prev,
.sf-swiper .swiper-button-next {
  color: var(--sf-primary-dark);
  --swiper-navigation-size: 18px;
}

/* Product card — 4:5 */
.sf-product-card {
  display: block; background: var(--sf-surface);
  border: 1px solid transparent; border-radius: 16px;
  overflow: hidden; color: inherit; height: 100%;
  box-shadow: 0 4px 16px rgba(26, 10, 18, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sf-product-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--sf-shadow-hover);
}
.sf-product-card__media {
  aspect-ratio: 4 / 5;
  background: #f8f0f3;
  overflow: hidden;
}
.sf-product-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.sf-product-card:hover .sf-product-card__media img {
  transform: scale(1.04);
}
.sf-product-card__body { padding: 0.7rem 0.8rem 0.9rem; }
.sf-product-card__body h3 {
  margin: 0 0 0.25rem; font-size: 0.88rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-product-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  font-size: 0.72rem; color: var(--sf-muted); margin-bottom: 0.25rem;
}
.sf-price { font-weight: 900; color: var(--sf-primary-dark); font-size: 0.92rem; }
.sf-price small { font-weight: 600; font-size: 0.72rem; }
.sf-price--lg { font-size: 1.3rem; margin: 0.85rem 0; }

/* Category grid: 2 / 4 / 6 / 8 */
.sf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (min-width: 576px) {
  .sf-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .sf-product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
  .sf-product-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

.sf-pagination {
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center;
  margin-top: 1.75rem;
}
.sf-pagination a, .sf-pagination span {
  min-width: 2.15rem; height: 2.15rem; display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--sf-border);
  font-size: 0.85rem; background: #fff;
}
.sf-pagination .is-active {
  background: var(--sf-primary); color: #fff; border-color: var(--sf-primary);
}

/* ---- Product detail ---- */
.sf-product-detail {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  background: var(--sf-surface);
  border-radius: var(--sf-radius);
  padding: 1.15rem;
  box-shadow: var(--sf-shadow);
}
@media (min-width: 900px) {
  .sf-product-detail {
    grid-template-columns: minmax(280px, 440px) 1fr;
    align-items: start;
    padding: 1.5rem;
  }
}
.sf-product-detail__media {
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f0f3;
}
@media (min-width: 900px) {
  .sf-product-detail__media { margin: 0; max-width: none; }
}
.sf-product-detail__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-zoom-trigger {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: zoom-in;
}
.sf-zoom-trigger__hint {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(26, 10, 18, 0.55);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; pointer-events: none;
  opacity: 0.85; transition: opacity 0.2s ease;
}
.sf-zoom-trigger:hover .sf-zoom-trigger__hint { opacity: 1; }

.sf-product-detail__info h1 {
  margin: 0 0 0.35rem; font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
}
.sf-specs { list-style: none; margin: 0.85rem 0; padding: 0; }
.sf-specs li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--sf-border); font-size: 0.92rem;
}
.sf-desc { margin: 0.85rem 0; font-size: 0.92rem; }
.sf-product-actions {
  display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.35rem;
}

.sf-similar {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sf-border);
}
.sf-similar__title {
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.sf-empty {
  text-align: center; padding: 2.25rem 1rem; color: var(--sf-muted);
  background: var(--sf-surface); border: 1px dashed var(--sf-border);
  border-radius: var(--sf-radius);
}
.sf-empty[hidden] { display: none !important; }
.sf-empty--sm { padding: 1rem; font-size: 0.88rem; }

/* علاقه‌مندی‌ها: دکمه حذف داخل کارت */
.sf-fav-remove {
  display: flex;
  width: calc(100% - 1.6rem);
  margin: 0 0.8rem 0.9rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
}
.sf-empty--page { padding: 3.5rem 1rem; }
.sf-empty--page h1 { margin: 0 0 0.5rem; color: var(--sf-primary-dark); }

/* ---- Lightbox + zoom (pinch / wheel / double-tap) ---- */
.sf-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.sf-lightbox[hidden] { display: none !important; }
.sf-lightbox:not([hidden]) { animation: sfLbFade 0.22s ease-out; }
@keyframes sfLbFade { from { opacity: 0; } to { opacity: 1; } }
.sf-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 4, 8, 0.92);
}
/* لودینگ تا آماده شدن عکس */
.sf-lightbox.is-loading .sf-lightbox__stage::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sfLbSpin 0.8s linear infinite;
}
@keyframes sfLbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sf-lightbox:not([hidden]),
  .sf-lightbox.is-loading .sf-lightbox__stage::after { animation: none; }
}
.sf-lightbox__close {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.sf-lightbox__close:hover { background: rgba(255,255,255,0.22); }
.sf-lightbox__stage {
  position: relative; z-index: 1;
  width: min(96vw, 900px);
  height: min(82vh, 1100px);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.sf-lightbox__stage.is-dragging { cursor: grabbing; }
.sf-lightbox__img {
  position: absolute;
  left: 50%; top: 50%;
  max-width: none;
  max-height: none;
  width: auto; height: auto;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease; /* فقط fade؛ روی transform نه، تا pan/zoom روان بماند */
}
.sf-lightbox__img.is-ready { opacity: 1; }
.sf-lightbox__tip {
  position: relative; z-index: 1;
  margin: 0.85rem 1rem 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  text-align: center;
}
body.sf-lightbox-open { overflow: hidden; }

.sf-footer__muted a { color: var(--sf-primary-dark); text-decoration: none; }
.sf-footer__muted a:hover { text-decoration: underline; }

/* Terms / legal page */
.sf-legal {
  max-width: 820px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  line-height: 1.95;
  color: var(--sf-ink);
}
.sf-legal h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.05rem;
}
.sf-legal p { margin: 0 0 0.6rem; }
.sf-legal ul { margin: 0 0 0.6rem; padding-inline-start: 1.25rem; }
.sf-legal li { margin-bottom: 0.3rem; }
.sf-legal__actions { margin-top: 2rem; text-align: center; }
@media (max-width: 576px) {
  .sf-legal { padding: 1.1rem 1rem 1.3rem; border-radius: 12px; }
}

.sf-footer__brand { font-family: var(--font-bold); color: var(--sf-ink); }
.sf-footer__brand span { color: var(--sf-primary); }
.sf-topbar__login {
  background: #fff0f6 !important;
  color: var(--sf-primary-dark) !important;
}

/* ========== Maison hero (full-bleed fashion) ========== */
.sf-hero-maison {
  position: relative;
  margin: -1.5rem calc(-1 * clamp(0.75rem, 3vw, 2.5rem)) 1.5rem;
  overflow: hidden;
  background: #1a0a12;
  /* ارتفاع از خود بنر می‌آید — بدون برش */
}
.sf-hero-maison__media {
  position: relative;
  width: 100%;
  line-height: 0;
}
.sf-hero-maison__media img {
  width: 100%;
  height: auto;
  display: block;
  /* همان نسبت آپلود پنل (۱۶:۶) بدون object-fit: cover */
}
.sf-hero-maison__fallback {
  width: 100%;
  aspect-ratio: 3 / 1;
  background: linear-gradient(135deg, #1a0a12 0%, #3d1428 40%, #6b2042 100%);
}
.sf-hero-maison__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,4,8,0.88) 0%, rgba(10,4,8,0.35) 45%, rgba(10,4,8,0.15) 100%);
  pointer-events: none;
}
.sf-hero-maison__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(0.75rem, 3vw, 2.5rem);
  color: #fff;
  box-sizing: border-box;
}
.sf-hero-maison__logo {
  width: 72px; height: 72px; border-radius: 18px;
  object-fit: cover; border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  margin-bottom: 0.85rem;
}
.sf-hero-maison__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
}
.sf-hero-maison__kicker {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--sf-primary, #ff4f9a);
  font-family: var(--font-bold);
  opacity: 1;
}
.sf-hero-maison h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: inline;
}
.sf-hero-maison__desc {
  margin: 0.45rem 0 0;
  max-width: 28rem;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-hero-maison__logo {
  display: none; /* لوگو فقط برای فاکتور — روی بنر نشان داده نمی‌شود */
}
.sf-hero-maison__pills { display: none; }
.sf-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff !important;
  font-size: 0.8rem;
  font-family: var(--font-bold);
  backdrop-filter: blur(8px);
}
.sf-pill:hover {
  background: rgba(255,255,255,0.22);
  color: #fff !important;
}
.sf-breadcrumb--tight { margin-top: 0.25rem; }

/* Location card (maison branches) — single source of truth */
.sf-branch-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sf-loc {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(26, 10, 18, 0.07);
  box-shadow: 0 8px 28px rgba(26, 10, 18, 0.05);
  padding: 1.35rem 1.4rem;
  overflow: hidden;
}
.sf-loc__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: 1.25rem 0;
  align-items: stretch;
}
.sf-loc__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-inline-end: 1.25rem;
}
.sf-loc__head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.sf-loc__head-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
}
.sf-loc__tag {
  font-size: 0.75rem;
  color: var(--sf-primary);
  font-family: var(--font-bold);
  letter-spacing: 0.04em;
}
.sf-loc__name {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-family: var(--font-bold);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #1a0a12;
}
.sf-loc__head-cta.sf-btn--outline {
  padding: 0.4rem 1.05rem;
  font-size: 0.84rem;
  border-radius: 999px;
  flex-shrink: 0;
}

/* دسته‌ها — هر ردیف حداکثر ۴؛ ردیف ناقص وسط‌چین (flex) */
.sf-loc__looks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0.9rem;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  flex: 0 1 680px;
}
.sf-loc__looks .sf-look {
  flex: 0 0 calc((100% - 2.7rem) / 4);
  max-width: calc((100% - 2.7rem) / 4);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.sf-loc__looks .sf-look {
  transition: transform 0.18s ease;
}
.sf-loc__looks .sf-look:hover {
  transform: translateY(-2px);
  color: inherit;
}
.sf-loc__looks .sf-look__img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f3eef0;
}
.sf-loc__looks .sf-look__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sf-loc__looks .sf-look__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b4bc;
}
.sf-loc__looks .sf-look__name {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  font-family: var(--font-bold);
  color: #2a1a22;
}

/* ستون کناری: آدرس، تلفن، ساعات، سوشال — خط عمودی جداکننده از محصولات */
.sf-loc__side {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0.15rem 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid rgba(26, 10, 18, 0.08);
  align-self: stretch;
}
.sf-loc__side-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 10, 18, 0.08);
}
.sf-loc__addr {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4a3a42;
}
.sf-loc__addr .sf-icon {
  color: var(--sf-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.sf-loc__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-family: var(--font-bold);
  color: var(--sf-primary-dark);
  text-decoration: none;
  align-self: flex-start;
}
.sf-loc__map-link .sf-icon { color: var(--sf-primary); }
.sf-loc__map-link:hover { text-decoration: underline; }
.sf-loc__phones {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  margin-top: 0.15rem;
}
.sf-loc__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #2a1a22;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}
.sf-loc__tel .sf-icon { color: var(--sf-primary); }
.sf-loc__tel:hover { color: var(--sf-primary-dark); }

.sf-loc__hours {
  padding-bottom: 0.55rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid rgba(26, 10, 18, 0.08);
}
.sf-loc__hours-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: var(--font-bold);
  color: #9a8a92;
  text-align: center;
}
.sf-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.sf-hours-table thead th {
  font-size: 0.68rem;
  color: #9a8a92;
  font-family: var(--font-bold);
  font-weight: normal;
  text-align: center;
  padding: 0 0.25rem 0.4rem;
  border-bottom: 1px solid rgba(26, 10, 18, 0.06);
}
.sf-hours-table thead th:first-child {
  text-align: right;
  width: 3.5rem;
}
.sf-hours-table tbody th {
  text-align: right;
  font-weight: normal;
  padding: 0.3rem 0.25rem;
  color: #3a2a32;
  white-space: nowrap;
}
.sf-hours-table td {
  text-align: center;
  padding: 0.3rem 0.2rem;
  color: #4a3a42;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 0.76rem;
}
.sf-hours-table td.is-closed,
.sf-hours-table .is-closed {
  color: #c45c5c;
  font-family: var(--font-bold);
  direction: rtl;
}
.sf-hours-table tr.is-today th,
.sf-hours-table tr.is-today td {
  background: #faf5f7;
}
.sf-hours-table tr.is-today th {
  font-family: var(--font-bold);
}

.sf-loc__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding-top: 0.45rem;
  margin-top: 0;
}
.sf-loc__social a {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #faf5f7;
  color: #8a6b78;
  border: 1px solid rgba(26, 10, 18, 0.05);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.sf-loc__social a:hover {
  transform: translateY(-1px);
}
/* رنگ برند */
.sf-loc__social a.sf-social--instagram { color: #E1306C; background: rgba(225, 48, 108, 0.1); border-color: rgba(225, 48, 108, 0.15); }
.sf-loc__social a.sf-social--telegram { color: #2AABEE; background: rgba(42, 171, 238, 0.12); border-color: rgba(42, 171, 238, 0.18); }
.sf-loc__social a.sf-social--whatsapp { color: #25D366; background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.18); }
.sf-loc__social a.sf-social--bale {
  color: #00C9A7;
  background: rgba(0, 201, 167, 0.1);
  border-color: rgba(0, 201, 167, 0.16);
}
/* روبیکا: فقط خود آیکون رنگی — بدون بک‌گراند آبی/نارنجی قوی */
.sf-loc__social a.sf-social--robika {
  color: inherit;
  background: #f4f5f7;
  border-color: rgba(26, 10, 18, 0.06);
}
.sf-loc__social a.sf-social--youtube { color: #FF0000; background: rgba(255, 0, 0, 0.1); border-color: rgba(255, 0, 0, 0.15); }
.sf-loc__social a.sf-social--twitter { color: #1D9BF0; background: rgba(29, 155, 240, 0.12); border-color: rgba(29, 155, 240, 0.18); }
.sf-loc__social a.sf-social--facebook { color: #1877F2; background: rgba(24, 119, 242, 0.12); border-color: rgba(24, 119, 242, 0.18); }

@media (max-width: 900px) {
  .sf-loc__body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .sf-loc__main {
    padding-inline-end: 0;
  }
  .sf-loc__side {
    border-inline-start: none;
    padding-inline-start: 0;
    border-top: 1px solid rgba(26, 10, 18, 0.08);
    padding-top: 1rem;
  }
  /* دو شماره: یکی چسبیده به راست، دیگری به چپ */
  .sf-loc__phones {
    width: 100%;
    justify-content: space-between;
  }
  .sf-loc__mid {
    flex-wrap: wrap;
  }
  .sf-loc__looks {
    max-width: none;
    margin-inline: 0;
  }
  .sf-loc__looks .sf-look {
    flex: 0 0 calc((100% - 0.9rem) / 2);
    max-width: calc((100% - 0.9rem) / 2);
  }
  .sf-loc__head-cta.sf-btn--outline {
    width: auto;
  }
}



/* ========== Auth / login ========== */
.sf-auth {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 2rem;
  min-height: min(70vh, 560px);
}
.sf-auth__card {
  width: 100%;
  max-width: 420px;
  background: var(--sf-surface);
  border-radius: 24px;
  padding: 1.75rem 1.5rem 1.85rem;
  box-shadow: 0 16px 48px rgba(26, 10, 18, 0.1);
  border: 1px solid var(--sf-border);
}
.sf-auth__brand {
  font-family: var(--font-bold);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.sf-auth__brand span { color: var(--sf-primary); }
.sf-auth__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.sf-auth__sub {
  margin: 0 0 1.35rem;
  color: var(--sf-muted);
  font-size: 0.9rem;
}
.sf-auth__form { display: flex; flex-direction: column; gap: 0.85rem; }
.sf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.sf-field span {
  font-size: 0.82rem;
  font-family: var(--font-bold);
  color: var(--sf-muted);
}
.sf-field input {
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--sf-border);
  padding: 0 0.95rem;
  font-family: var(--font);
  font-size: 1rem;
  background: #fff;
  color: var(--sf-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-field input:focus {
  outline: none;
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.15);
}
.sf-auth__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sf-muted);
}
.sf-auth__back {
  border: 0; background: none; cursor: pointer;
  color: var(--sf-muted); font-size: 0.85rem;
  font-family: var(--font);
  margin-top: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sf-auth__alert {
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-size: 0.88rem;
  background: #fff5f5;
  color: #b42318;
  border: 1px solid #f5c2c7;
}
.sf-auth__alert.is-ok {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

/* ========== Large button ========== */
.sf-btn--lg {
  height: 52px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ========== Login (split professional) ========== */
.sf-login {
  display: grid;
  grid-template-columns: 1fr;
  margin: -1.5rem calc(-1 * clamp(0.75rem, 3vw, 2.5rem)) -4rem;
  min-height: calc(100dvh - 3.5rem);
  background: #fff;
}
@media (min-width: 900px) {
  .sf-login {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.sf-login__visual {
  display: none;
  position: relative;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 900px) {
  .sf-login__visual { display: flex; align-items: flex-end; }
}
.sf-login__visual-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(26,10,18,0.25) 0%, rgba(26,10,18,0.75) 100%),
    linear-gradient(135deg, #1a0a12 0%, #5c1a38 45%, #ff4f9a 140%);
}
.sf-login__visual-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,79,154,0.35) 0%, transparent 45%);
}
.sf-login__visual-content {
  position: relative; z-index: 1;
  padding: 3rem 2.75rem 3.25rem;
  max-width: 28rem;
}
.sf-login__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  font-family: var(--font-bold);
}
.sf-login__headline {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.sf-login__lead {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}
.sf-login__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
  background: #fff;
}
.sf-login__panel-inner {
  width: 100%;
  max-width: 380px;
}
.sf-login__logo {
  display: inline-block;
  font-family: var(--font-bold);
  font-size: 1.15rem;
  color: var(--sf-ink);
  margin-bottom: 2rem;
}
.sf-login__logo span { color: var(--sf-primary); }
.sf-login__steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.sf-login__step {
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-bold);
  background: #f3eef0;
  color: var(--sf-muted);
}
.sf-login__step.is-active {
  background: var(--sf-primary);
  color: #fff;
}
.sf-login__step-line {
  flex: 0 0 2rem;
  height: 2px;
  background: #eadfe4;
  border-radius: 2px;
}
.sf-login__title {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}
.sf-login__sub {
  margin: 0 0 1.5rem;
  color: var(--sf-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.sf-login__form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.sf-login-field { display: flex; flex-direction: column; gap: 0.4rem; }
.sf-login-field__label {
  font-size: 0.8rem;
  font-family: var(--font-bold);
  color: var(--sf-muted);
}
.sf-login-field__control {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--sf-border);
  border-radius: 14px;
  overflow: hidden;
  background: #faf7f8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-login-field__control:focus-within {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.14);
  background: #fff;
}
.sf-login-field__prefix {
  display: flex; align-items: center;
  padding: 0 0.75rem;
  font-size: 0.88rem;
  color: var(--sf-muted);
  background: #f3eef0;
  border-left: 1px solid var(--sf-border);
  font-family: var(--font-bold);
}
.sf-login-field__control input {
  flex: 1;
  border: 0;
  background: transparent;
  height: 50px;
  padding: 0 0.9rem;
  font-size: 1.05rem;
  font-family: var(--font);
  color: var(--sf-ink);
  direction: ltr;
  text-align: left;
}
.sf-login-field__control input:focus { outline: none; }
.sf-login-field__otp {
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--sf-border);
  background: #faf7f8;
  font-size: 1.45rem;
  letter-spacing: 0.45em;
  text-align: center;
  font-family: var(--font-bold);
  direction: ltr;
  padding: 0 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-login-field__otp:focus {
  outline: none;
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.14);
  background: #fff;
}
.sf-login__sent {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sf-muted);
  line-height: 1.6;
}
.sf-login__link {
  border: 0; background: none; padding: 0;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sf-login__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.86rem;
  background: #fff5f5;
  color: #b42318;
  border: 1px solid #f5c2c7;
}
.sf-login__alert.is-ok {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.sf-login__legal {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  color: var(--sf-muted);
  text-align: center;
  line-height: 1.5;
}

/* ========== PDP full-bleed ========== */
.sf-pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: -1.5rem calc(-1 * clamp(0.75rem, 3vw, 2.5rem)) 0;
  background: #fff;
  min-height: min(88vh, 920px);
}
@media (min-width: 900px) {
  .sf-pdp {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: stretch;
  }
}
.sf-pdp__gallery {
  background: #f6f0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
@media (min-width: 900px) {
  .sf-pdp__gallery {
    position: sticky;
    top: 3.25rem;
    align-self: start;
    min-height: calc(100dvh - 3.25rem);
    padding: 1.5rem;
  }
}
/* Product PhotoConfig aspectRatio 4:5 — never stretch */
.sf-pdp__frame {
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #efe6ea;
  box-shadow: 0 12px 40px rgba(26,10,18,0.1);
}
.sf-pdp__shot {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.sf-pdp__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.sf-pdp__shot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c02674;
  font-size: 3rem;
  cursor: default;
  min-height: 420px;
}
.sf-pdp__zoom {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(26, 10, 18, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  pointer-events: none;
}
.sf-pdp__aside {
  padding: clamp(1.35rem, 3vw, 2.5rem) clamp(1.15rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
@media (min-width: 900px) {
  .sf-pdp__aside {
    max-width: none;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
.sf-pdp__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--sf-muted);
  margin-bottom: 1.15rem;
}
.sf-pdp__crumb a { color: var(--sf-muted); }
.sf-pdp__crumb a:hover { color: var(--sf-primary-dark); }
.sf-pdp__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.sf-pdp__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.45rem;
}
.sf-pdp__sku {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sf-muted);
}
.sf-pdp__price {
  margin: 1.25rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.sf-pdp__price-num {
  font-family: var(--font-bold);
  font-size: 1.55rem;
  color: var(--sf-primary-dark);
  letter-spacing: -0.02em;
}
.sf-pdp__price-unit {
  font-size: 0.88rem;
  color: var(--sf-muted);
}
.sf-pdp__price-unit small { font-size: 0.75rem; }
.sf-pdp__attrs {
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--sf-border);
}
.sf-pdp__attr {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sf-border);
  margin: 0;
}
.sf-pdp__attr dt {
  margin: 0;
  color: var(--sf-muted);
  font-size: 0.88rem;
}
.sf-pdp__attr dd {
  margin: 0;
  font-family: var(--font-bold);
  font-size: 0.92rem;
}
.sf-pdp__desc {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: #3d2a33;
  line-height: 1.75;
}
.sf-pdp__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sf-pdp__back {
  text-align: center;
  font-size: 0.88rem;
  color: var(--sf-muted);
  font-family: var(--font-bold);
}
.sf-pdp__back:hover { color: var(--sf-primary-dark); }

.sf-similar--pdp {
  margin-top: 0;
  padding: 2.5rem clamp(0.75rem, 3vw, 2.5rem) 1rem;
  border-top: 1px solid var(--sf-border);
  background: var(--sf-bg);
}
.sf-similar__head {
  margin-bottom: 1.25rem;
}

/* OTP digit cells */
.sf-otp {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.25rem 0 0.5rem;
}
.sf-otp__cell {
  width: 2.75rem;
  height: 3.15rem;
  border-radius: 12px;
  border: 1.5px solid var(--sf-border);
  background: #faf7f8;
  text-align: center;
  font-size: 1.35rem;
  font-family: var(--font-bold);
  color: var(--sf-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-otp__cell:focus {
  outline: none;
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.16);
  background: #fff;
}
@media (max-width: 380px) {
  .sf-otp__cell { width: 2.4rem; height: 2.85rem; font-size: 1.15rem; }
}

/* Favorite button */
.sf-pdp__title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: space-between;
}
.sf-pdp__title-row .sf-pdp__title { flex: 1; }
.sf-fav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--sf-border);
  background: #fff;
  color: var(--sf-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.sf-fav:hover { color: var(--sf-primary); border-color: #f9a8d4; }
.sf-fav.is-on {
  color: #e11d48;
  background: #fff1f2;
  border-color: #fecdd3;
}
.sf-pdp__visits {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(26, 10, 18, 0.55);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
  pointer-events: none;
}
.sf-pdp__visits:empty { display: none; }

/* ========== Login: Clean Light Theme ========== */
.sf-login-page {
  position: relative;
  overflow: hidden;
  margin: -1.5rem calc(-1 * clamp(0.75rem, 3vw, 2.5rem)) -4rem;
  min-height: calc(100dvh - 3.25rem);
  display: grid;
  grid-template-columns: 1fr;
  background: #fdfbfb;
}

.sf-login-page::before,
.sf-login-page__ribbons {
  display: none !important;
}

@media (min-width: 900px) {
  .sf-login-page {
    grid-template-columns: 1fr 1fr;
  }
  .sf-login-page__panel {
    grid-column: 1;
  }
  .sf-login-page__visual {
    grid-column: 2;
  }
}

/* پنل فرم */
.sf-login-page__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.75rem 1.5rem 3rem;
  background: #ffffff;
  box-shadow: 0 0 40px rgba(26, 10, 18, 0.04);
}

@media (min-width: 900px) {
  .sf-login-page__panel {
    padding: 3rem;
    border-radius: 0 0 0 40px;
  }
}

.sf-login-page__panel-inner {
  width: 100%;
  max-width: 360px;
}

.sf-login-page__heading {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: var(--sf-muted);
}

.sf-login-page__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}
.sf-login-page__form[hidden] { display: none !important; }

.sf-login-page__label {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-bold);
  color: var(--sf-ink);
  margin-bottom: 0.35rem;
}

.sf-login-page__input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1.5px solid var(--sf-border);
  background: #faf7f8;
  color: var(--sf-ink);
  padding: 0 1.1rem;
  font-size: 1.05rem;
  font-family: var(--font);
  direction: ltr;
  text-align: left;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sf-login-page__input::placeholder { color: #a89fa3; }
.sf-login-page__input:focus {
  outline: none;
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.15);
  background: #fff;
}

.sf-login-page__btn {
  height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff4f9a 0%, #d6266f 100%);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(216, 39, 112, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.sf-login-page__btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(216, 39, 112, 0.35); }
.sf-login-page__btn:active { transform: translateY(0); }
.sf-login-page__btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

.sf-login-page__sent {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  color: var(--sf-muted);
  line-height: 1.7;
}
.sf-login-page__sent strong {
  color: var(--sf-ink);
  font-family: var(--font-bold);
}

.sf-login-page__link {
  display: inline-block;
  border: 0;
  background: none;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sf-login-page__timer {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: var(--sf-muted);
}

.sf-login-page__otp {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  direction: ltr;
  margin-bottom: 0.25rem;
}
.sf-login-page__otp .sf-otp__cell {
  flex: 1;
  min-width: 0;
  height: 3.4rem;
  border-radius: 12px;
  border: 1.5px solid var(--sf-border);
  background: #faf7f8;
  color: var(--sf-ink);
  font-size: 1.3rem;
  font-family: var(--font-bold);
  text-align: center;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sf-login-page__otp .sf-otp__cell:focus {
  outline: none;
  border-color: var(--sf-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.15);
}

.sf-login-page__resend {
  border: 0;
  background: none;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sf-login-page__resend:disabled { opacity: 0.4; cursor: not-allowed; }

/* ورود با Google */
.sf-login-page__google { margin-top: 1.25rem; }
.sf-login-page__google[hidden] { display: none !important; }
.sf-login-page__or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--sf-muted);
}
.sf-login-page__or::before,
.sf-login-page__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sf-border);
}
.sf-login-page__google-btn {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.sf-login-page__legal {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  color: var(--sf-muted);
  line-height: 1.7;
  text-align: center;
}
.sf-login-page__legal a {
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
}

/* بخش تصویرسازی (سمت چپ) */
/* موبایل: SVG بالای فرم (order:-1)، جمع‌وجور و بدون کپشن */
.sf-login-page__visual {
  display: flex;
  order: -1;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f6 0%, #faf7f8 100%);
}
@media (max-width: 899.98px) {
  .sf-login-page { grid-template-rows: auto 1fr; }
  .sf-login-page__panel {
    margin-top: -1.5rem;
    padding-top: 1.75rem;
    border-radius: 28px 28px 0 0;
  }
  .sf-login-page__caption { display: none; }
}
@media (min-width: 900px) {
  .sf-login-page__visual { order: 0; }
}

.sf-login-page__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 2.25rem;
}
@media (min-width: 900px) {
  .sf-login-page__illustration { padding: 2rem 1rem 5rem; }
}

/* SVG عروس: هم ارتفاع با پنل، با نسبت تصویر اصلی */
.sf-login-page__svg {
  width: auto;
  height: 190px;
  max-width: 85%;
  filter: drop-shadow(0 12px 24px rgba(255, 79, 154, 0.18));
}
@media (min-width: 900px) {
  .sf-login-page__svg {
    height: 100%;
    max-height: min(75vh, 620px);
    filter: drop-shadow(0 20px 40px rgba(255, 79, 154, 0.18));
  }
}

.sf-login-page__caption {
  position: absolute;
  bottom: 2.25rem;
  right: 0;
  left: 0;
  text-align: center;
  padding: 0 1.5rem;
  pointer-events: none;
}
.sf-login-page__caption strong {
  display: block;
  font-family: var(--font-bold);
  font-size: 1.15rem;
  color: var(--sf-ink);
  margin-bottom: 0.35rem;
}
.sf-login-page__caption span {
  display: block;
  font-size: 0.88rem;
  color: var(--sf-muted);
}

/* ========== Reviews (Play Store style) ========== */
.sf-pdp__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: auto;
  color: inherit;
  text-decoration: none;
}
.sf-pdp__rating-num {
  font-family: var(--font-bold);
  font-size: 0.95rem;
  color: var(--sf-ink);
}
.sf-pdp__rating-count {
  font-size: 0.82rem;
  color: var(--sf-muted);
}
.sf-stars {
  display: inline-flex;
  gap: 0.08rem;
  color: #e5e0e2;
  letter-spacing: 0;
  font-size: 0.95rem;
  line-height: 1;
}
.sf-stars--lg { font-size: 1.15rem; }
.sf-stars::before {
  content: "★★★★★";
  background: linear-gradient(
    90deg,
    #f5a623 0 calc(var(--pct, 0) * 1%),
    #e5e0e2 calc(var(--pct, 0) * 1%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sf-reviews {
  margin: 0;
  padding: 2.25rem clamp(0.75rem, 3vw, 2.5rem);
  background: #fff;
  border-top: 1px solid var(--sf-border);
}
.sf-reviews__title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.sf-reviews__summary {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
  padding: 1.15rem;
  background: #faf7f8;
  border-radius: 16px;
}
@media (min-width: 640px) {
  .sf-reviews__summary {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }
}
.sf-reviews__score { text-align: center; }
.sf-reviews__score-num {
  font-family: var(--font-bold);
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sf-ink);
}
.sf-reviews__score-count {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--sf-muted);
}
.sf-reviews__bars { display: grid; gap: 0.35rem; }
.sf-reviews__bar-row {
  display: grid;
  grid-template-columns: 1.2rem 1fr 2rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--sf-muted);
}
.sf-reviews__bar-track {
  height: 8px;
  border-radius: 999px;
  background: #efe6ea;
  overflow: hidden;
}
.sf-reviews__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5a623, #ffb84d);
  min-width: 0;
}
.sf-reviews__compose {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px dashed var(--sf-border);
  border-radius: 16px;
  background: #fff;
}
.sf-reviews__hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sf-muted);
}
.sf-review-form { display: flex; flex-direction: column; gap: 0.75rem; }
.sf-review-form__label {
  margin: 0;
  font-size: 0.88rem;
  font-family: var(--font-bold);
}
.sf-star-input {
  display: flex;
  gap: 0.2rem;
  direction: ltr;
  justify-content: flex-start;
}
.sf-star-input__btn {
  border: 0;
  background: none;
  font-size: 1.75rem;
  color: #e5e0e2;
  cursor: pointer;
  padding: 0.1rem;
  line-height: 1;
}
.sf-star-input__btn.is-on,
.sf-star-input__btn.is-hover { color: #f5a623; }
.sf-review-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--sf-muted);
}
.sf-review-form__field input,
.sf-review-form__field textarea {
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--sf-ink);
  background: #faf7f8;
}
.sf-review-form__field input:focus,
.sf-review-form__field textarea:focus {
  outline: none;
  border-color: var(--sf-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.12);
}
.sf-review-form__msg {
  margin: 0;
  font-size: 0.86rem;
  color: #166534;
}
.sf-review-form__msg.is-err { color: #b42318; }

/* فرم نظر: در دسکتاپ جمع‌وجور (امتیاز کنار متن) */
@media (min-width: 768px) {
  .sf-reviews__compose {
    padding: 0.9rem 1.1rem;
  }
  /* راست به چپ: کادر نظر ← امتیاز ← دکمه ثبت؛ یک ردیف کامل */
  .sf-review-form:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "field rating btn"
      "msg   msg    msg";
    column-gap: 1.25rem;
    row-gap: 0.4rem;
    align-items: center;
  }
  .sf-review-form__field { grid-area: field; }
  .sf-review-form__field textarea {
    min-height: 84px;
    padding: 0.55rem 0.75rem;
    resize: vertical;
  }
  .sf-review-form__rating {
    grid-area: rating;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  .sf-review-form__rating .sf-review-form__label { text-align: center; }
  .sf-review-form #sfReviewSubmit {
    grid-area: btn;
    white-space: nowrap;
    padding-block: 0.6rem;
  }
  .sf-review-form__msg { grid-area: msg; }
  .sf-star-input__btn { font-size: 1.5rem; }
}
.sf-reviews__list { display: grid; gap: 1rem; }

/* Swiper صفحه محصول (نظرات + مشابه) */
.sf-pdp-swiper {
  position: relative;
  padding: 0.25rem 2.25rem 1rem;
}
.sf-pdp-swiper .swiper-slide { height: auto; }
.sf-pdp-swiper .swiper-button-prev,
.sf-pdp-swiper .swiper-button-next {
  color: var(--sf-primary-dark);
  --swiper-navigation-size: 18px;
}
@media (max-width: 576px) {
  .sf-pdp-swiper { padding-inline: 0.25rem; }
  .sf-pdp-swiper .swiper-button-prev,
  .sf-pdp-swiper .swiper-button-next { display: none; }
}
.sf-pdp-swiper--reviews .sf-review-item {
  height: 100%;
  min-height: 210px;
  padding: 1.25rem 1.3rem;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(26, 10, 18, 0.06);
}
.sf-pdp-swiper--reviews .sf-review-item:last-child { border-bottom: 1px solid var(--sf-border); }
.sf-pdp-swiper--reviews .sf-review-item__body {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-reviews__empty {
  margin: 0;
  color: var(--sf-muted);
  font-size: 0.9rem;
}
.sf-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sf-border);
}
.sf-review-item:last-child { border-bottom: 0; }
.sf-review-item__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.sf-review-item__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3e9ee;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--sf-border);
}
.sf-review-item__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}
.sf-review-item__author {
  font-family: var(--font-bold);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-review-item__date {
  font-size: 0.78rem;
  color: var(--sf-muted);
}
.sf-review-item__stars {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.sf-review-item__body {
  margin: 0;
  font-size: 0.95rem;
  color: #3d2a33;
  line-height: 1.7;
}
.sf-review-item__reply {
  margin-top: 0.7rem;
  padding: 0.55rem 0.75rem;
  background: #fff5f9;
  border-inline-start: 3px solid var(--sf-primary);
  border-radius: 8px;
}
.sf-review-item__reply-label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-bold);
  font-size: 0.78rem;
  color: var(--sf-primary-dark);
}
.sf-review-item__reply-body {
  margin: 0;
  font-size: 0.85rem;
  color: #3d2a33;
  line-height: 1.65;
}
.sf-pdp-swiper--reviews .sf-review-item__reply-body {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Try-on booking ========== */
.sf-tryon__head { margin-bottom: 1.25rem; }
.sf-tryon__head h1 { margin: 0 0 0.35rem; font-size: 1.4rem; }
.sf-tryon__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
  background: #fff5f5;
  color: #b42318;
  border: 1px solid #f5c2c7;
}
.sf-tryon__alert.is-ok {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.sf-tryon__layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sf-tryon__layout { grid-template-columns: 280px 1fr; align-items: start; }
}
.sf-tryon__product {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--sf-border);
  overflow: hidden;
  box-shadow: var(--sf-shadow);
}
.sf-tryon__product-ph,
.sf-tryon__product-img {
  aspect-ratio: 4 / 5;
  background: #f8f0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #db2777;
  font-size: 2rem;
}
.sf-tryon__product-img { width: 100%; object-fit: cover; display: block; }
.sf-tryon__product-meta { padding: 1rem 1.1rem 1.25rem; }
.sf-tryon__product-meta h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.sf-tryon__book {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--sf-border);
  padding: 1.25rem;
  box-shadow: var(--sf-shadow);
}
.sf-tryon__step { margin-bottom: 1.35rem; }
.sf-tryon__step h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.sf-tryon__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.sf-tryon__date {
  border: 1px solid var(--sf-border);
  background: #faf7f8;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  min-width: 4.5rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--sf-ink);
  text-align: center;
}
.sf-tryon__date:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sf-tryon__date.is-active {
  border-color: var(--sf-primary);
  background: #fff0f6;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
}
.sf-tryon__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2.5rem;
}
.sf-tryon__slot {
  border: 1px solid var(--sf-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font);
  direction: ltr;
}
.sf-tryon__slot.is-active {
  border-color: var(--sf-primary);
  background: linear-gradient(135deg, #ff4f9a 0%, #e83a84 100%);
  color: #fff;
  font-family: var(--font-bold);
}
.sf-tryon__picked {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--sf-muted);
}
.sf-tryon__picked strong { color: var(--sf-ink); font-family: var(--font-bold); }

.sf-tryons__list { display: grid; gap: 0.85rem; }
.sf-tryon-card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 16px rgba(26,10,18,0.05);
}
.sf-tryon-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.sf-tryon-card__title {
  margin: 0;
  font-size: 1rem;
}
.sf-tryon-card__badge {
  font-size: 0.75rem;
  font-family: var(--font-bold);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f3f0f1;
  color: var(--sf-muted);
}
.sf-tryon-card__badge.is-pending { background: #fff7ed; color: #c2410c; }
.sf-tryon-card__badge.is-confirmed { background: #f0fdf4; color: #166534; }
.sf-tryon-card__badge.is-canceled { background: #fff5f5; color: #b42318; }
.sf-tryon-card__badge.is-done { background: #eff6ff; color: #1d4ed8; }
.sf-tryon-card__meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sf-muted);
  line-height: 1.7;
}
.sf-tryon-card__actions { margin-top: 0.75rem; }

/* ========== Phase 2: trust / bookability / favorites ========== */
.sf-bookability {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-bold);
}
.sf-bookability--available { background: #f0fdf4; color: #166534; }
.sf-bookability--on_rent { background: #fff7ed; color: #c2410c; }
.sf-bookability--blocked { background: #f8fafc; color: #475569; }
.sf-bookability--retired,
.sf-bookability--sold { background: #fff5f5; color: #b42318; }
.sf-pdp__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 0.5rem;
}
.sf-pdp__trust-detail { font-size: 0.82rem; color: var(--sf-muted); }
.sf-pdp__branch-trust {
  margin: 0.85rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #faf7f8;
  border: 1px solid var(--sf-border);
  display: grid;
  gap: 0.4rem;
}
.sf-pdp__branch-trust-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-bold);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}
.sf-pdp__branch-line {
  font-size: 0.86rem;
  color: var(--sf-muted);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}
.sf-pdp__branch-line .sf-icon { color: var(--sf-primary); margin-top: 0.15rem; }
.sf-pdp__branch-trust-title .sf-icon { color: var(--sf-primary); }
a.sf-pdp__branch-line:hover { color: var(--sf-primary-dark); }
.sf-open-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-bold);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.sf-open-pill.is-open { background: #f0fdf4; color: #166534; }
.sf-open-pill.is-closed { background: #f3f0f1; color: #6b5e64; }
.sf-empty--rich {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2.75rem 1.25rem;
}
.sf-empty__icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #fff0f6;
  color: var(--sf-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.sf-empty__title {
  margin: 0;
  font-family: var(--font-bold);
  font-size: 1.05rem;
  color: var(--sf-ink);
}
.sf-loc__name { display: inline; margin-left: 0.35rem; }

/* ========== Phase 3: filters / search / rich maison cards / SEO helpers ========== */
.sf-filters {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(26,10,18,0.04);
}
.sf-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.sf-filters__search {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #faf7f8;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 0 0.75rem;
  min-height: 44px;
}
.sf-filters__search i { color: var(--sf-muted); font-size: 0.85rem; }
.sf-filters__search input {
  border: 0;
  background: transparent;
  flex: 1;
  height: 42px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--sf-ink);
}
.sf-filters__search input:focus { outline: none; }
.sf-filters__select,
.sf-filters__price {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--sf-border);
  background: #faf7f8;
  padding: 0 0.75rem;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--sf-ink);
  min-width: 7rem;
}
.sf-filters__price { width: 6.5rem; direction: ltr; }
.sf-search-results { margin-bottom: 1.75rem; }
.sf-search-results__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.sf-maison-card--rich {
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}
.sf-maison-card__cover {
  height: 88px;
  background: linear-gradient(135deg, #1a0a12, #6b2042);
  overflow: hidden;
}
.sf-maison-card__cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-maison-card__cover-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0a12 0%, #6b2042 100%);
}
.sf-maison-card--rich .sf-maison-card__media {
  margin-top: -36px;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(26,10,18,0.12);
}
.sf-maison-card__cities {
  margin: 0 0 0.35rem !important;
  font-size: 0.8rem !important;
  color: var(--sf-primary-dark) !important;
  font-family: var(--font-bold);
}
.sf-maison-card__stats {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: var(--sf-muted);
}
.sf-readiness {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.88rem;
  border: 1px solid #fed7aa;
}
.sf-readiness i { margin-top: 0.15rem; }

/* ========== Phase 4: account / profile / rentals / reminders ========== */
.sf-account__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .sf-account__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sf-stat {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 14px;
  padding: 0.9rem 0.75rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(26,10,18,0.04);
}
.sf-stat strong {
  display: block;
  font-family: var(--font-bold);
  font-size: 1.35rem;
  color: var(--sf-primary-dark);
}
.sf-stat span { font-size: 0.78rem; color: var(--sf-muted); }
.sf-account__links {
  display: grid;
  gap: 0.55rem;
}
.sf-account__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 14px;
  color: var(--sf-ink);
  font-family: var(--font-bold);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-account__link i { color: var(--sf-primary); width: 1.2rem; text-align: center; }
.sf-account__link:hover {
  border-color: #f9a8d4;
  box-shadow: 0 8px 20px rgba(122,24,63,0.08);
  color: var(--sf-ink);
}
.sf-reminders {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: #fff0f6;
  border: 1px solid #fbcfe8;
}
.sf-reminders__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.sf-reminder-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-top: 1px dashed #f9a8d4;
  font-size: 0.88rem;
}
.sf-reminder-card:first-of-type { border-top: 0; }
.sf-reminder-card a { color: var(--sf-primary-dark); font-family: var(--font-bold); }
.sf-profile__form {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--sf-border);
}
.sf-rentals__list { display: grid; gap: 0.85rem; }
.sf-rental-card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.sf-rental-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.sf-rental-card__top h3 { margin: 0; font-size: 1rem; }
.sf-rental-card__meta {
  margin: 0.25rem 0;
  font-size: 0.88rem;
  color: var(--sf-muted);
  line-height: 1.65;
}
.sf-rental-card__links {
  margin-top: 0.55rem;
  font-size: 0.85rem;
}
.sf-rental-card__links a:not(.sf-btn) { color: var(--sf-primary-dark); font-family: var(--font-bold); }

.sf-account__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.sf-account__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--sf-muted);
}
.sf-account__link span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.sf-account__link strong {
  font-family: var(--font-bold);
  font-size: 0.95rem;
}
.sf-account__link small {
  font-size: 0.78rem;
  color: var(--sf-muted);
  font-family: var(--font);
}

/* ========== Account shell (right nav) ========== */
.sf-account-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  /* RTL: first column is on the right → nav stays right, content left */
  .sf-account-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    direction: rtl;
  }
  .sf-account-nav {
    grid-column: 1;
  }
  .sf-account-main {
    grid-column: 2;
  }
}
.sf-account-nav__card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(26,10,18,0.05);
  position: sticky;
  top: 1rem;
}
.sf-account-nav__user {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--sf-border);
}
.sf-account-nav__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #faf7f8;
}
.sf-account-nav__user strong { display: block; font-size: 0.92rem; }
.sf-account-nav__user .sf-muted { font-size: 0.78rem; }
.sf-account-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sf-account-nav__links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--sf-ink);
  font-size: 0.9rem;
}
.sf-account-nav__links a i { width: 1.1rem; color: var(--sf-primary); text-align: center; }
.sf-account-nav__links a:hover,
.sf-account-nav__links a.is-active {
  background: #fff0f6;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
}
.sf-account-nav__divider {
  height: 1px;
  background: var(--sf-border);
  margin: 0.75rem 0;
}
.sf-account-nav__logout {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: #b42318;
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
}
.sf-account-nav__logout:hover { background: #fff5f5; }

.sf-tryons__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sf-tryons__grid { grid-template-columns: 1fr 1fr; }
}
.sf-tryon-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.sf-tryon-card__media {
  width: 72px; height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f0f3;
}
.sf-tryon-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sf-tryon-card__body { min-width: 0; }

.sf-rental-card__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0;
}
.sf-rental-card__thumbs img {
  width: 44px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8f0f3;
}
.sf-rental-card__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0;
}
.sf-rental-card__flag {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-family: var(--font-bold);
}
.sf-rental-card__flag.is-damage { background: #fff5f5; color: #b42318; }

.sf-rental-detail__products {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
.sf-rental-detail__product {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: #fff;
}
.sf-rental-detail__product img {
  width: 64px; height: 80px; object-fit: cover; border-radius: 8px;
}
/* product without photo (rental list + rental detail) */
.sf-photo-ph {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 8px;
  color: #db2777;
  background: linear-gradient(145deg, #fce7f3, #fff5f9);
}
.sf-photo-ph--thumb { width: 44px; height: 56px; }
.sf-photo-ph--detail { width: 64px; height: 80px; }
.sf-price-was {
  text-decoration: line-through;
  color: var(--sf-muted);
  font-size: 0.85rem;
  margin-left: 0.35rem;
}
.sf-price-now { font-family: var(--font-bold); color: var(--sf-primary-dark); }
.sf-rental-detail__section {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: #faf7f8;
  border: 1px solid var(--sf-border);
}
.sf-rental-detail__section h3 { margin: 0 0 0.65rem; font-size: 0.95rem; }
.sf-rental-detail__section ul { margin: 0; padding: 0; list-style: none; }
.sf-rental-detail__section li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--sf-border);
  font-size: 0.88rem;
}
.sf-rental-detail__section li:last-child { border-bottom: 0; }

.sf-profile__avatar-preview {
  text-align: center;
  margin-bottom: 0.5rem;
}
.sf-profile__avatar-preview img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(26,10,18,0.12);
}
.sf-profile__avatar-label {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-family: var(--font-bold);
}
.sf-avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  max-height: 220px;
  overflow: auto;
  padding: 0.35rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: #faf7f8;
}
@media (min-width: 480px) {
  .sf-avatar-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
.sf-avatar-opt {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}
.sf-avatar-opt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-avatar-opt.is-selected {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 2px rgba(255, 79, 154, 0.25);
}

a.sf-rental-detail__product--link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.sf-rental-detail__product--link:hover {
  border-color: #f9a8d4;
  box-shadow: 0 6px 18px rgba(122,24,63,0.08);
  color: inherit;
}
.sf-rental-card__thumb-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
}
.sf-rental-card__thumb-link:hover {
  outline: 2px solid var(--sf-primary);
  outline-offset: 1px;
}

/* Mobile account tabs */
.sf-account-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0 0.75rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--sf-border);
  scrollbar-width: none;
}
.sf-account-tabs::-webkit-scrollbar { display: none; }
.sf-account-tabs a {
  flex: 1 0 auto;
  min-width: 3.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  font-size: 0.7rem;
  color: var(--sf-muted);
  text-decoration: none;
}
.sf-account-tabs a i { font-size: 1rem; }
.sf-account-tabs a.is-active {
  background: #fff0f6;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
}
@media (min-width: 900px) {
  .sf-account-tabs { display: none; }
}
@media (max-width: 899px) {
  .sf-account-nav { display: none; }
}

.sf-stat--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.sf-stat--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,10,18,0.08);
  color: inherit;
}

.sf-account-next {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff0f6, #fff);
  border: 1px solid #f9a8d4;
}
.sf-account-next__label {
  font-size: 0.75rem;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
  margin-bottom: 0.25rem;
}
.sf-account-next__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-bold);
}
.sf-account-next__meta {
  font-size: 0.85rem;
  color: var(--sf-muted);
  margin-bottom: 0.75rem;
}
.sf-account-next__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Profile card redesign */
.sf-profile-card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.5rem;
  max-width: 420px;
  box-shadow: 0 8px 28px rgba(26,10,18,0.05);
}
.sf-profile-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--sf-border);
}
.sf-profile-card__avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.sf-profile-card__avatar-wrap img {
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(26,10,18,0.12);
  background: #faf7f8;
}
.sf-profile-card__change-av {
  border: 1px solid var(--sf-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font);
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--sf-primary-dark);
}
.sf-profile-card__change-av:hover { background: #fff0f6; }
.sf-profile-card__locked {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.sf-profile-card__locked-label {
  font-size: 0.75rem;
  color: var(--sf-muted);
}
.sf-profile-card__locked-value {
  font-family: var(--font-bold);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.sf-profile-card__hint { margin: 0.35rem 0 0; font-size: 0.78rem; }
.sf-profile-card .sf-login-field { margin-bottom: 1rem; }

/* Modal */
.sf-modal[hidden] { display: none !important; }
.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 640px) {
  .sf-modal { align-items: center; }
}
.sf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 18, 0.45);
}
.sf-modal__sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}
@media (min-width: 640px) {
  .sf-modal__sheet {
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  }
}
.sf-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.sf-modal__head h2 { margin: 0; font-size: 1.05rem; }
.sf-modal__close {
  border: 0; background: transparent;
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--sf-muted);
}
.sf-modal__preview {
  text-align: center;
  margin-bottom: 0.75rem;
}
.sf-modal__preview img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(26,10,18,0.1);
}
.sf-avatar-grid--modal {
  max-height: 240px;
  margin-bottom: 0.85rem;
}
.sf-avatar-opt[hidden] { display: none; }
/* female / male tabs above the avatar grid */
.sf-seg.sf-seg--avatar { display: flex; margin-bottom: 0.75rem; }
.sf-seg--avatar .sf-seg__btn { flex: 1; padding-inline: 0.4rem; white-space: nowrap; }
.sf-modal__foot {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Segmented control */
.sf-seg {
  display: inline-flex;
  background: #faf7f8;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 0.2rem;
  margin-bottom: 1rem;
  gap: 0.15rem;
}
.sf-seg__btn {
  border: 0;
  background: transparent;
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--sf-muted);
}
.sf-seg__btn.is-active {
  background: #fff;
  color: var(--sf-primary-dark);
  font-family: var(--font-bold);
  box-shadow: 0 2px 8px rgba(26,10,18,0.06);
}

.sf-tryon-card--upcoming {
  border-color: #f9a8d4;
}
.sf-tryon-card__when {
  font-family: var(--font-bold);
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

.sf-rental-card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}
.sf-rental-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.sf-rental-card__top h3 { margin: 0; font-size: 1rem; }
.sf-rental-card__total {
  font-family: var(--font-bold);
  font-size: 0.95rem;
  margin: 0.35rem 0;
  color: var(--sf-primary-dark);
}
/* labelled dates on the rental card */
.sf-rental-card__dates {
  display: grid;
  gap: 0.3rem;
  margin: 0.55rem 0;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: #faf7f8;
}
.sf-rental-card__date {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.75rem; font-size: 0.85rem;
}
.sf-rental-card__date span { color: var(--sf-muted); }
.sf-rental-card__date strong { font-family: var(--font-bold); color: var(--sf-ink); font-weight: 700; }
.sf-rental-detail__summary {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff0f6, #fff);
  border: 1px solid #f9a8d4;
  margin-bottom: 1.15rem;
}
.sf-rental-detail__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.sf-rental-detail__money {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--sf-border);
  background: #fff;
}
.sf-rental-detail__money h3 { margin: 0 0 0.65rem; font-size: 0.95rem; }
.sf-rental-detail__money-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--sf-border);
}
.sf-rental-detail__money-row:last-child {
  border-bottom: 0;
  font-family: var(--font-bold);
  padding-top: 0.55rem;
}
.sf-badge-status {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-bold);
  background: #f4f4f5;
  color: #52525b;
}
.sf-badge-status.is-active { background: #ecfdf5; color: #047857; }
.sf-badge-status.is-done { background: #f4f4f5; color: #52525b; }
.sf-badge-status.is-cancel { background: #fef2f2; color: #b91c1c; }

a.sf-tryon-card__media {
  display: block;
  color: inherit;
}
a.sf-tryon-card__title-link {
  color: inherit;
  text-decoration: none;
}
a.sf-tryon-card__title-link:hover .sf-tryon-card__title {
  color: var(--sf-primary-dark);
}

.sf-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 2000;
  max-width: min(92vw, 360px);
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  background: #1a0a12;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  text-align: center;
}
.sf-toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.sf-toast.is-ok { background: #047857; }
.sf-toast.is-err { background: #b91c1c; }

/* ============================================================
   Collection page (/m/.../col/...)
   Hero = همان زبان بصری بنر شعبه (sf-col-banner)
   Minimal = عنوان روی عکس + گرادیان نرم پایین
   Editorial = عنوان زیر عکس + استروک
   Luxury / Modern = کارت سفید
   ============================================================ */

.sf-collection {
  --col-bg: #F8F6F2;
  background: var(--col-bg);
  /* فقط پایین و چپ/راست برای گرید محصولات — بنر full-bleed می‌شود */
  padding: 0 1rem 2.5rem;
  border-radius: 20px;
  margin-top: 0.5rem;
  overflow: hidden;
}

/* —— Hero: تمام‌عرض (بدون فاصله چپ/راست) —— */
.sf-collection__hero {
  position: relative;
  overflow: hidden;
  /* خنثی کردن padding افقی والد */
  margin: 0 -1rem 1.75rem;
  width: calc(100% + 2rem);
  max-width: none;
  border-radius: 0;
  background: #1a0a12;
}
.sf-collection__hero--plain {
  background: var(--col-bg, #F8F6F2);
  min-height: auto;
}
.sf-collection__hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 450;
  overflow: hidden;
  background: #1a0a12;
}
.sf-collection__hero-media .sf-collection__hero-img,
.sf-collection__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.sf-collection__hero--plain .sf-collection__hero-img {
  position: static;
  aspect-ratio: 1200 / 450;
  height: auto;
}

/* متن روی بنر: همان کلاس‌های صفحه شعبه (sf-col-banner__*) */
.sf-collection__hero--plain .sf-col-banner__title {
  color: inherit;
  text-shadow: none;
}
.sf-collection__hero--plain .sf-col-banner__meta {
  color: inherit;
  opacity: 0.75;
}
/* دکمه آلبوم: گوشه پایین-چپ بنر */
.sf-collection__album-btn {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.45rem 1.05rem;
  font-size: 0.84rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}
.sf-collection__album-btn:hover {
  background: #fff;
}
.sf-collection__album-btn--plain {
  left: 0.25rem;
  bottom: 0.5rem;
}
/* آلبوم فقط برای دسکتاپ؛ روی موبایل دکمه نمایش داده نمی‌شود */
@media (max-width: 767px) {
  .sf-collection__album-btn {
    display: none;
  }
}

.sf-collection__hero-text--plain {
  position: relative;
  padding: 1.25rem 0.25rem 0.5rem;
  text-align: right;
}

.sf-collection[data-bg-tone="dark"] .sf-empty {
  color: rgba(245, 240, 232, 0.85);
}

/* —— Product grid —— */
.sf-collection__grid {
  display: grid;
  gap: 1rem 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .sf-collection__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}
@media (min-width: 1100px) {
  .sf-collection__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Luxury / Modern: کارت سفید */
.sf-collection .sf-collection__card.sf-product-card,
.sf-collection .sf-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  color: #1a0a12;
}
.sf-collection .sf-product-card__body h3 {
  color: #1a0a12 !important;
}
.sf-collection .sf-product-card__meta,
.sf-collection .sf-product-card__meta span {
  color: #6b6560 !important;
}
.sf-collection .sf-product-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0ebe6;
}
.sf-collection .sf-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— Minimal: بدون کارت سفید؛ عنوان روی عکس + گرادیان نرم —— */
.sf-collection--minimal .sf-collection__grid {
  gap: 1rem 0.85rem;
}
.sf-collection--minimal .sf-collection__card--minimal {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.sf-collection--minimal .sf-collection__card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a0a12;
}
.sf-collection--minimal .sf-collection__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.sf-collection--minimal .sf-collection__card--minimal:hover .sf-collection__card-media img {
  transform: scale(1.04);
}
.sf-collection--minimal .sf-collection__card-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(
    to top,
    rgba(10, 4, 8, 0.55) 0%,
    rgba(10, 4, 8, 0.22) 45%,
    transparent 100%
  );
  pointer-events: none;
}
/* caption بیرون media است؛ absolute روی خود کارت = روی پایین عکس */
.sf-collection--minimal .sf-collection__card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.85rem 0.6rem 0.35rem;
  text-align: center;
  direction: rtl;
}
.sf-collection--minimal .sf-collection__card-title {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 0.82rem;
  font-family: var(--font-bold);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* —— Editorial: بدون کارت؛ عنوان زیر عکس + استروک —— */
.sf-collection--editorial .sf-collection__grid {
  gap: 1.2rem 1rem;
}
.sf-collection--editorial .sf-collection__card--editorial {
  display: block;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  color: inherit;
}
.sf-collection--editorial .sf-collection__card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e2dc;
  border-radius: 2px;
}
.sf-collection--editorial .sf-collection__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.sf-collection--editorial .sf-collection__card--editorial:hover .sf-collection__card-media img {
  transform: scale(1.03);
}
.sf-collection--editorial .sf-collection__card-scrim {
  display: none !important;
}
.sf-collection--editorial .sf-collection__card-caption {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.25rem 0;
  text-align: center;
  direction: rtl;
}
.sf-collection--editorial .sf-collection__card-title {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 0.88rem;
  font-family: var(--font-bold);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  /* متن زیر عکس روی bg مشخص — بدون stroke/multi-shadow */
  color: #1a0a12;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.45),
    1px 0 0 rgba(255, 255, 255, 0.3),
    -1px 0 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sf-collection--editorial[data-bg-tone="dark"] .sf-collection__card-title {
  color: #f7f2ec;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.55);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.45);
}
/* —— Luxury: قاب طلایی ملایم، سایه نرم، عنوان وسط‌چین، فاصله باز —— */
.sf-collection--luxury .sf-collection__grid {
  gap: 1.5rem 1.2rem;
}
.sf-collection--luxury .sf-product-card {
  background: #faf8f5;
  border: 1px solid rgba(184, 155, 114, 0.55);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(26, 10, 18, 0.1);
  outline: 1px solid rgba(184, 155, 114, 0.22);
  outline-offset: 4px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sf-collection--luxury .sf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 10, 18, 0.14);
}
.sf-collection--luxury .sf-product-card__media {
  border-radius: 0;
  margin: 0.45rem 0.45rem 0;
  width: calc(100% - 0.9rem);
  box-sizing: border-box;
}
.sf-collection--luxury .sf-product-card__body {
  text-align: center;
  padding: 1rem 0.85rem 1.15rem;
  background: transparent;
}
.sf-collection--luxury .sf-product-card__body h3 {
  font-size: 0.9rem !important;
  letter-spacing: 0.03em;
  font-weight: 700;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.sf-collection--luxury .sf-product-card__meta {
  justify-content: center;
  margin-top: 0.35rem;
  font-size: 0.68rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a8560 !important;
}
.sf-collection--luxury .sf-product-card__meta span {
  color: #9a8560 !important;
}
.sf-collection--luxury[data-bg-tone="dark"] .sf-product-card {
  background: #1c1814;
  border-color: rgba(201, 168, 108, 0.4);
  outline-color: rgba(201, 168, 108, 0.18);
  color: #f5f0e8;
}
.sf-collection--luxury[data-bg-tone="dark"] .sf-product-card__body h3 {
  color: #f5f0e8 !important;
}
.sf-collection--luxury[data-bg-tone="dark"] .sf-product-card__meta,
.sf-collection--luxury[data-bg-tone="dark"] .sf-product-card__meta span {
  color: #c9a86c !important;
}

/* —— Modern: گوشه صفر، بدون سایه، نوار مشکی پایین، تایپ فشرده و تیز —— */
.sf-collection--modern .sf-collection__grid {
  gap: 0.55rem 0.55rem;
}
.sf-collection--modern .sf-collection__hero {
  border-radius: 0;
}
.sf-collection--modern .sf-product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid #1a0a12;
  box-shadow: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.sf-collection--modern .sf-product-card:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.92;
}
.sf-collection--modern .sf-product-card__media {
  border-radius: 0;
  background: #111;
}
.sf-collection--modern .sf-product-card__media img {
  transition: filter 0.25s ease;
}
.sf-collection--modern .sf-product-card:hover .sf-product-card__media img {
  filter: contrast(1.05) saturate(1.05);
}
/* رنگ عنوان/کد ثابت است و به روشن/تیره بودن پس‌زمینه کالکشن وابسته نیست:
   بدنه کارت همیشه سفید با متن تیره */
.sf-collection--modern .sf-product-card__body {
  padding: 0.55rem 0.5rem 0.45rem;
  background: #fff;
}
.sf-collection--modern .sf-product-card__body {
  text-align: center;
}
.sf-collection--modern .sf-product-card__body h3 {
  text-align: center;
  color: #1a0a12 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.sf-collection--modern .sf-product-card__meta {
  justify-content: center;
  margin-top: 0.2rem;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #1a0a12 !important;
}
.sf-collection--modern .sf-product-card__meta span {
  color: #1a0a12 !important;
}

/* Branch page — collection banner cards */
.sf-branch-collections {
  margin: 0 0 2rem;
}
.sf-branch-collections__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sf-branch-collections--two .sf-branch-collections__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sf-branch-collections--three .sf-branch-collections__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sf-branch-collections--three .sf-branch-col:first-child {
    grid-column: 1 / -1;
  }
  .sf-branch-collections--four .sf-branch-collections__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sf-branch-collections--one .sf-branch-collections__grid {
    grid-template-columns: 1fr;
  }
}
.sf-branch-col {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.sf-branch-col__media {
  position: relative;
  aspect-ratio: 16 / 6;
  min-height: 140px;
  background: #2a2420;
}
.sf-branch-col__media img,
.sf-branch-col__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sf-branch-col__ph { background: linear-gradient(135deg, #3a322c, #1a1614); }
.sf-branch-col__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0.05) 80%,
    transparent 100%
  );
  pointer-events: none;
}
.sf-branch-col__text {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.15rem;
  max-width: min(34rem, 92%);
  z-index: 1;
  text-align: start;
}
.sf-branch-col__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.sf-branch-col__text h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.sf-branch-col__desc {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Filters — RTL clean (Phase B fix) */
.sf-filters {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  background: #faf8f5;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
}
.sf-filters__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
}
.sf-filters__search {
  position: relative;
  flex: 1 1 220px;
  min-width: min(100%, 200px);
}
.sf-filters__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 2.4rem 0.6rem 0.85rem;
  border: 1px solid #e5e0d8;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: #1a0a12;
}
.sf-filters__search input:focus {
  outline: none;
  border-color: #c4a35a;
  box-shadow: 0 0 0 3px rgba(196,163,90,0.15);
}
.sf-filters__search-ico {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  color: #9a928a;
  pointer-events: none;
  display: flex;
  line-height: 0;
}
.sf-filters__search-ico .sf-icon {
  width: 1em;
  height: 1em;
}
.sf-filters__select {
  padding: 0.55rem 0.85rem;
  border: 1px solid #e5e0d8;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  min-width: 7.5rem;
}
.sf-filters__submit {
  border-radius: 999px !important;
  padding: 0.55rem 1.15rem !important;
}
.sf-filters__reset {
  font-size: 0.85rem;
  color: #8a827a;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}
.sf-filters__reset:hover { color: #1a0a12; }
.sf-filters__more {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #6b6560;
}
.sf-filters__more summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.sf-filters__more summary::-webkit-details-marker { display: none; }
.sf-filters__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.sf-filters__price-row input {
  width: 8.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  font: inherit;
  direction: ltr;
  text-align: left;
}
.sf-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.sf-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0d8ce;
  color: #4a433c;
  font-size: 0.8rem;
  text-decoration: none;
}
.sf-chip:hover { border-color: #b89b72; }


/* Category layout: sidebar filters + toolbar */
.sf-cat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .sf-cat-layout { grid-template-columns: 1fr; }
  /* bottom-sheet در بلوک پایین‌تر تعریف شده — اینجا static نگذار */
}
.sf-cat-sidebar {
  position: sticky;
  top: 5.5rem;
}
.sf-side-filters {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
}
.sf-side-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.sf-side-filters__head .sf-side-filters__title {
  margin: 0;
}
.sf-side-filters__head .sf-side-filters__clear {
  flex-shrink: 0;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.sf-side-filters__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #1a0a12;
}
.sf-side-filters__block {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sf-side-filters__block:last-of-type { border-bottom: 0; }
.sf-side-filters__label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a433c;
}
.sf-side-filters__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  font: inherit;
  background: #faf8f5;
}
.sf-side-filters__input:focus {
  outline: none;
  border-color: #c4a35a;
  background: #fff;
}
.sf-side-filters__checks {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 12rem;
  overflow: auto;
}
.sf-side-filters__check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #3d3832;
  cursor: pointer;
}
.sf-side-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.sf-side-filters__apply { width: 100%; border-radius: 10px !important; }
/* clear دکمه outline در head — استایل اصلی از sf-btn--outline */

.sf-price-range__values {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.sf-price-range__val {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  direction: rtl;
  width: 100%;
}
/* راست‌ترین: از/تا — وسط: عدد — چپ‌ترین: تومان */
.sf-price-range__hint {
  color: #8a827a;
  font-size: 0.85rem;
  flex: 0 0 auto;
  min-width: 1.4rem;
  text-align: right;
}
.sf-price-range__num {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 0.95rem;
  font-family: var(--font-bold);
  color: #2c2a40;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(26, 10, 18, 0.12);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  background: #fff;
  direction: ltr;
}
.sf-price-range__num:focus {
  outline: none;
  border-color: var(--sf-primary, #ff4f9a);
  box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.12);
}
.sf-price-range__unit {
  font-size: 0.75rem;
  color: #9a928a;
  flex: 0 0 auto;
  text-align: left;
}
.sf-price-range__slider {
  position: relative;
  height: 28px;
  direction: ltr;
}
.sf-price-range__slider input[type="range"] {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  pointer-events: none;
  appearance: none;
  background: transparent;
  height: 28px;
  direction: ltr;              /* ← تضمین LTR برای خودِ range */
}
.sf-price-range__slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #3b82f6;
  /* فقط لایه hitEl درگ می‌کند تا در RTL معکوس نشود */
  pointer-events: none;
  cursor: pointer;
}
.sf-price-range__slider input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #fff;
  pointer-events: none;
  cursor: pointer;
}
.sf-price-range__track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #3b82f6;
  border-radius: 2px;
  z-index: 0;
}
.sf-price-range__slider::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
}
.sf-price-range__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #9a928a;
  direction: ltr;              /* ← تغییر مهم: هم‌راستا با اسلایدر */
}

.sf-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sf-cat-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.9rem;
}
.sf-cat-sort__label { color: #6b6560; margin-left: 0.25rem; }
.sf-cat-sort__item {
  color: #8a827a;
  text-decoration: none;
  padding: 0.15rem 0;
}
.sf-cat-sort__item:hover { color: #1a0a12; }
.sf-cat-sort__item.is-active {
  color: #e11d48;
  font-weight: 600;
}
.sf-cat-toolbar__count {
  color: #6b6560;
  font-size: 0.9rem;
  white-space: nowrap;
}
.sf-cat-toolbar__divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0.75rem 0 1.25rem;
}


/* Category product grid: 4 columns desktop */
.sf-cat-main .sf-product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
/* کارت دسته: عنوان و قیمت وسط‌چین؛ کد سمت راست و سایز سمت چپ همان خط */
.sf-cat-main .sf-product-card__body h3,
.sf-cat-main .sf-product-card__body .sf-price {
  text-align: center;
}
.sf-cat-main .sf-product-card__meta {
  justify-content: space-between;
  align-items: center;
}
.sf-cat-main .sf-product-card__meta .sf-product-card__size {
  margin-inline-start: auto;
}
@media (max-width: 1100px) {
  .sf-cat-main .sf-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .sf-cat-main .sf-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  /* موبایل: همچنان دو محصول در هر ردیف */
  .sf-cat-main .sf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
}

/* Color swatches (sidebar) */
.sf-color-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem 0.4rem;
}
.sf-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  margin: 0;
}
.sf-color-swatch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.sf-color-swatch__chip {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  display: block;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.sf-color-swatch__chip--all {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f3f4f6 !important;
  font-size: 0.65rem;
  color: #6b7280;
}
.sf-color-swatch.is-active .sf-color-swatch__chip,
.sf-color-swatch:has(input:checked) .sf-color-swatch__chip {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3b82f6;
  transform: scale(1.04);
}
.sf-color-swatch__name {
  font-size: 0.72rem;
  color: #5b564f;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Collapsible filter rows */
.sf-side-filters__search {
  margin-bottom: 0.75rem;
}
.sf-filter-acc {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.sf-filter-acc__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c2a40;
  user-select: none;
}
.sf-filter-acc__sum::-webkit-details-marker { display: none; }
.sf-filter-acc__sum::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-right: 0.15rem;
  flex-shrink: 0;
}
.sf-filter-acc[open] > .sf-filter-acc__sum::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.sf-filter-acc__body {
  padding: 0 0 1rem;
}



/* —— Collection portrait slideshow (height capped to branch card) —— */
.sf-loc__mid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  width: 100%;
}
/* عنوان کوچک بخش‌ها: «کالکشن‌ها» و «دسته‌بندی محصولات» */
.sf-loc__label {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-family: var(--font-bold);
  color: var(--sf-primary-dark);
  text-align: right;
}
.sf-loc__cats {
  flex: 0 1 680px;
  width: 100%;
  max-width: 680px;
  min-width: 0;
}
.sf-loc__cats .sf-loc__looks {
  max-width: none;
  margin-inline: 0;
}
.sf-loc__mid.has-cols .sf-loc__cats {
  flex: 0 1 680px;
}
.sf-col-slide {
  flex: 0 0 auto;
  width: 260px;
}
.sf-col-slide__track {
  position: relative;
  width: 260px;
  height: 360px; /* ≈ ارتفاع دو ردیف دسته */
  overflow: hidden;
  border-radius: 18px;
  background: #f3eef0;
  box-shadow: 0 6px 20px rgba(26, 10, 18, 0.1);
}
.sf-col-slide__item {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  border-radius: 16px;
  overflow: hidden;
}
.sf-col-slide__item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.sf-col-slide__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
}
.sf-col-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sf-col-slide__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b4bc;
  background: #f3eef0;
}
.sf-col-slide__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 1.85rem 0.5rem 0.55rem;
  text-align: center;
  font-size: 0.95rem;
  font-family: var(--font-bold);
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(to top, rgba(10, 4, 8, 0.88) 0%, rgba(10, 4, 8, 0.45) 50%, transparent 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.sf-col-slide__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0;
}
.sf-col-slide__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d4c4cc;
  cursor: pointer;
}
.sf-col-slide__dot.is-active {
  background: var(--sf-primary, #ff4f9a);
  transform: scale(1.2);
}
/* رسپانسیو: اسلایدشو کالکشن با عکس بنر (افقی، تمام‌عرض) */
@media (max-width: 900px) {
  .sf-col-slide {
    width: 100%;
  }
  .sf-col-slide__track {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 450;
  }
  .sf-loc__cats,
  .sf-loc__mid.has-cols .sf-loc__cats {
    flex: 1 1 100%;
    max-width: none;
  }
}


/* Placeholders + empty branch state */
.sf-ph {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, #f7f2f4 0%, #efe8eb 50%, #faf6f7 100%);
  color: #c4b0ba;
}
.sf-ph[hidden] {
  display: none !important;
}
.sf-ph .sf-icon {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.55;
}
.sf-ph--cat {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}
.sf-ph--col {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  flex-direction: column;
  gap: 0.55rem;
  background:
    linear-gradient(165deg, #f0e8ec 0%, #e8dfe4 45%, #f5eef2 100%);
  border: 1px solid rgba(26, 10, 18, 0.06);
}
.sf-ph--col .sf-ph__icon {
  display: flex;
  opacity: 0.45;
}
.sf-ph--col .sf-ph__icon .sf-icon {
  width: 2rem;
  height: 2rem;
}
.sf-ph--col .sf-ph__label {
  font-size: 0.78rem;
  font-family: var(--font-bold);
  letter-spacing: 0.06em;
  color: #9a8a92;
}
.sf-look__img {
  position: relative;
  background: #f3eef0;
}
.sf-look__img .sf-ph--cat {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.sf-loc__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 2rem 1.25rem;
  min-height: 160px;
  border-radius: 16px;
  background: linear-gradient(180deg, #faf7f8 0%, #f5f0f2 100%);
  border: 1px dashed rgba(26, 10, 18, 0.08);
}
.sf-loc__empty-icon {
  display: flex;
  color: var(--sf-primary, #ff4f9a);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}
.sf-loc__empty-icon .sf-icon {
  width: 1.75rem;
  height: 1.75rem;
}
.sf-loc__empty-title {
  margin: 0;
  font-size: 0.95rem;
  font-family: var(--font-bold);
  color: #2a1a22;
}
.sf-loc__empty-text {
  margin: 0;
  font-size: 0.84rem;
  color: #8a7a82;
  max-width: 22rem;
  line-height: 1.5;
}


/* Social brand logos (PNG) */
.sf-loc__social a .sf-icon--img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  display: block;
}
.sf-loc__social a.sf-social--bale,
.sf-loc__social a.sf-social--robika {
  background: #f4f5f7;
  border-color: rgba(26, 10, 18, 0.06);
  padding: 0.35rem;
  box-sizing: border-box;
}


/* Branch page — collection banner slideshow */
.sf-branch-col-slide {
  margin: 0 0 1.75rem;
}
.sf-col-banner-swiper {
  border-radius: 18px;
  overflow: hidden;
  background: #1a0a12;
}
.sf-col-banner {
  display: block;
  text-decoration: none;
  color: #fff;
}
.sf-col-banner__media {
  position: relative;
  width: 100%;
  /* card بنر کالکشن: 1200×450 — همان نسبت آپلود پنل */
  aspect-ratio: 1200 / 450;
  overflow: hidden;
  background: #1a0a12;
}
.sf-col-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.sf-col-banner__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a1a22, #4a2a38);
}
.sf-col-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 4, 8, 0.82) 0%, rgba(10, 4, 8, 0.25) 45%, transparent 70%);
  pointer-events: none;
}
.sf-col-banner__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.25rem 1.2rem;
  text-align: right;
}
.sf-col-banner__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-family: var(--font-bold);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.sf-col-banner__tag {
  color: var(--sf-primary, #ff4f9a);
  font-size: 0.85em;
  text-shadow: none;
}
.sf-col-banner__meta {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  opacity: 0.9;
  color: #fff;
}
.sf-col-banner-swiper__pag {
  bottom: 0.65rem !important;
}
.sf-col-banner-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
}
.sf-col-banner-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--sf-primary, #ff4f9a);
}
.sf-col-banner-swiper__nav {
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 4, 8, 0.35);
  border-radius: 50%;
}
.sf-col-banner-swiper__nav::after {
  font-size: 0.85rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .sf-col-banner-swiper__nav {
    display: none;
  }
}


/* Branch page — contact footer */
.sf-branch-contact {
  margin: 2.5rem 0 1rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.sf-branch-contact__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem 1.15rem;
  max-width: 720px;
  margin-inline: auto;
}
.sf-branch-contact__card {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 10, 18, 0.07);
  box-shadow: 0 6px 22px rgba(26, 10, 18, 0.04);
  box-sizing: border-box;
}
.sf-branch-contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  /* سوشال چسبیده به پایین کارت */
  min-height: 100%;
}
.sf-branch-contact__info .sf-branch-contact__social {
  margin-top: auto;
  padding-top: 0.85rem;
  justify-content: center;
  width: 100%;
}
.sf-branch-contact__hours {
  display: flex;
  flex-direction: column;
}
.sf-branch-contact__addr {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a3a42;
}
.sf-branch-contact__addr .sf-icon { color: var(--sf-primary); flex-shrink: 0; margin-top: 0.15rem; }
.sf-branch-contact__map {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-family: var(--font-bold);
  color: var(--sf-primary-dark);
  text-decoration: none;
}
.sf-branch-contact__map .sf-icon {
  color: var(--sf-primary);
  flex-shrink: 0;
}
.sf-branch-contact__map:hover { text-decoration: underline; }
.sf-branch-contact__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.sf-branch-contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #2a1a22;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}
.sf-branch-contact__tel .sf-icon { color: var(--sf-primary); }
.sf-branch-contact__tel:hover { color: var(--sf-primary-dark); }
.sf-branch-contact__social {
  margin-top: 0.35rem;
  justify-content: center;
}
.sf-branch-contact__hours .sf-loc__hours-title {
  text-align: center;
  width: 100%;
}
@media (max-width: 640px) {
  .sf-branch-contact__info,
  .sf-branch-contact__hours {
    flex: 1 1 100%;
  }
}

/* ============================================================
   Category: mobile filter bottom-sheet + sticky breadcrumb
   ============================================================ */

/* دکمه فیلتر موبایل — پیش‌فرض مخفی */
.sf-cat-filter-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid #e5e0d8;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  color: #1a0a12;
  cursor: pointer;
  margin: 0 0 0.85rem;
}
.sf-cat-filter-btn:hover { border-color: #c4a35a; }
.sf-cat-filter-btn .sf-icon { color: var(--sf-primary, #ff4f9a); }
.sf-cat-filter-btn__badge {
  background: var(--sf-primary, #ff4f9a);
  color: #fff;
  font-size: 0.68rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-bold);
}

/* سرِ شیت موبایل — پیش‌فرض مخفی در دسکتاپ */
.sf-side-filters__mobile-head { display: none; }

@media (max-width: 900px) {
  .sf-cat-filter-btn { display: inline-flex; }

  /* سایدبار → Bottom-Sheet Modal */
  .sf-cat-layout { grid-template-columns: 1fr; }
  .sf-cat-sidebar {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    z-index: 1100;
    background: rgba(26, 10, 18, 0.5);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    order: 0 !important;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .sf-cat-sidebar.is-open { display: flex; }
  body.sf-filter-open { overflow: hidden; }

  .sf-side-filters {
    background: #fff;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    overflow-y: auto;
    padding: 0 1.1rem 1.1rem;
    position: relative;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    -webkit-overflow-scrolling: touch;
    animation: sfSheetUp 0.22s ease;
  }
  @keyframes sfSheetUp {
    from { transform: translateY(24px); opacity: 0.4; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .sf-side-filters__mobile-head {
    display: flex;
    position: sticky;
    top: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 0.75rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
    z-index: 2;
  }
  .sf-side-filters__mobile-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #1a0a12;
  }
  .sf-side-filters__mobile-close {
    width: 2rem;
    height: 2rem;
    border: 0;
    background: #f3f0f1;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    color: #6b5e64;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* هدر دسکتاپ داخل شیت مخفی شود */
  .sf-side-filters > .sf-side-filters__head { display: none; }

  /* دکمه اعمال چسبیده به پایین شیت */
  .sf-side-filters__actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 0.75rem 0 0.35rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* ========== دسکتاپ: Breadcrumb چسبان ========== */
@media (min-width: 901px) {
  .sf-breadcrumb {
    position: sticky;
    top: 3.5rem;
    z-index: 30;
    background: var(--sf-bg);
    padding: 0.6rem 0;
    margin: -0.6rem 0 0.75rem;
  }
  .sf-cat-sidebar { top: 6.1rem; }
}

/* PDP multi-photo thumbs */
.sf-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: flex-start;
}
.sf-pdp__thumb {
  width: 4.25rem;
  height: 5.3rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f0f3;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sf-pdp__thumb.is-active {
  border-color: var(--sf-primary, #ff4f9a);
}
.sf-pdp__thumb:hover {
  border-color: rgba(255, 79, 154, 0.45);
}

/* ============================================================
   Collection album — overlay تمام‌صفحه، دو صفحه کنار هم
   ============================================================ */
body.sf-album-open { overflow: hidden; }

.sf-album {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: #1b1b1f;
  color: #f5f0e8;
}
.sf-album[hidden] { display: none; }

.sf-album__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  flex-shrink: 0;
}
.sf-album__bar-title {
  flex: 1;
  font-family: var(--font-bold);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-album__bar-meta {
  font-size: 0.85rem;
  opacity: 0.75;
  direction: ltr;
}
.sf-album__close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.sf-album__close:hover { background: rgba(255, 255, 255, 0.22); }

.sf-album__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 0.75rem;
}
.sf-album__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.sf-album__nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.26); }
.sf-album__nav:disabled { opacity: 0.25; cursor: default; }

.sf-album__spread {
  flex: 1;
  min-width: 0;
  max-width: 980px;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0.5rem 0 1rem;
}
.sf-album__page {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #000;
  color: #f5f0e8;
  padding: 1.75rem 1.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
/* صفحه سیاه؛ با بردر روشن، هاله نور بیرونی و سایه داخلی کنار شیار جدا دیده می‌شود */
.sf-album__page--right {
  border-radius: 3px 12px 12px 3px;
  border-left: 0;
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.10),
    inset 14px 0 18px -12px rgba(255, 255, 255, 0.16);
}
.sf-album__page--left {
  border-radius: 12px 3px 3px 12px;
  border-right: 0;
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.10),
    inset -14px 0 18px -12px rgba(255, 255, 255, 0.16);
}
.sf-album__gutter {
  width: 3px;
  background: linear-gradient(to right, #3a3a3a, #777, #3a3a3a);
  flex-shrink: 0;
}
.sf-album__frame {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-album__frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.sf-album__frame.is-empty img { display: none; }
.sf-album__caption {
  flex-shrink: 0;
  min-height: 2.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sf-album__name {
  color: inherit;
  font-family: var(--font-bold);
  font-size: 0.9rem;
  text-decoration: none;
}
.sf-album__name:hover { color: var(--sf-primary-dark, #e0367e); }
.sf-album__code { font-size: 0.75rem; opacity: 0.6; }

.sf-album__hint {
  margin: 0;
  padding: 0.4rem 1rem 0.8rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.55;
  flex-shrink: 0;
}

/* آلبوم فقط دسکتاپ: روی موبایل دکمه باز کردنش مخفی است */
@media (max-width: 767px) {
  .sf-album { display: none !important; }
}

/* ============================================================
   Account area - one visual language for all tabs
   (summary / profile / tryons / favorites / rentals)
   ============================================================ */
.sf-account-main { min-width: 0; }

/* same header height on every tab so content starts at the same y */
.sf-account-main .sf-page-head {
  margin-bottom: 1.25rem;
  min-height: 3.6rem;
}
.sf-account-main .sf-page-head h1 {
  font-size: 1.4rem;
  line-height: 1.35;
}
.sf-account-main .sf-page-head .sf-muted {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

/* cards: same radius, border and shadow */
.sf-account-main :is(.sf-stat, .sf-tryon-card, .sf-rental-card, .sf-profile-card, .sf-rental-detail__product) {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(26, 10, 18, 0.05);
}
.sf-account-main .sf-tryon-card--upcoming { border-color: #f9a8d4; }

/* spacing: list gap only (no extra card margin) */
.sf-account-main .sf-rentals__list .sf-rental-card { margin-bottom: 0; }
.sf-account-main .sf-rentals__list,
.sf-account-main .sf-tryons__grid { gap: 0.85rem; }

/* buttons inside cards: one size */
.sf-account-main :is(.sf-tryon-card, .sf-rental-card, .sf-product-card) .sf-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

/* favorites: column count fitted to the account content width */
.sf-account-main .sf-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .sf-account-main .sf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .sf-account-main .sf-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* profile: full content width like the other tabs, fields stay narrow */
.sf-account-main .sf-profile-card {
  max-width: none;
  padding: 1.25rem 1.35rem 1.5rem;
}
.sf-account-main .sf-profile-card .sf-login-field { max-width: 420px; }
@media (min-width: 640px) {
  .sf-account-main .sf-profile-card__identity {
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 1.5rem;
  }
}
/* ============================================================
   Product gallery: thumbs column (desktop) / row under image (mobile)
   + lightbox prev/next
   ============================================================ */
.sf-pdp__stage {
  display: flex; flex-direction: column; gap: 0.75rem;
  width: min(100%, 520px);
}
.sf-pdp__stage .sf-pdp__frame { width: 100%; }
/* mobile: all (max 4) photos in one row right under the main image */
.sf-pdp__stage .sf-pdp__thumbs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem; margin-top: 0;
}
.sf-pdp__stage .sf-pdp__thumb {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
}
@media (min-width: 900px) {
  /* thumbs column on the right side of the image (RTL: row-reverse puts 2nd child at the right) */
  .sf-pdp__stage {
    flex-direction: row-reverse; align-items: flex-start;
    width: min(100%, 620px); gap: 1rem;
  }
  .sf-pdp__stage .sf-pdp__frame { flex: 1 1 auto; min-width: 0; width: auto; }
  .sf-pdp__stage .sf-pdp__thumbs {
    display: flex; flex-direction: column; flex: 0 0 4.5rem; gap: 0.6rem;
  }
  .sf-pdp__stage .sf-pdp__thumb { width: 4.5rem; }
}

.sf-lightbox__nav {
  position: absolute; top: 50%; z-index: 3;
  width: 3rem; height: 3rem; margin-top: -1.5rem;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff;
  font-size: 2rem; line-height: 1; padding: 0 0 0.25rem;
  cursor: pointer; transition: background 0.2s ease;
}
.sf-lightbox__nav[hidden] { display: none; }
.sf-lightbox__nav:hover { background: rgba(255,255,255,0.28); }
.sf-lightbox__nav--prev { right: 0.75rem; }
.sf-lightbox__nav--next { left: 0.75rem; }
.sf-lightbox__count {
  position: relative; z-index: 1;
  margin: 0.6rem 0 0; color: #fff;
  font-size: 0.85rem; font-family: var(--font-bold);
}
.sf-lightbox__count[hidden] { display: none; }
@media (max-width: 640px) {
  .sf-lightbox__nav { width: 2.5rem; height: 2.5rem; margin-top: -1.25rem; font-size: 1.7rem; }
  .sf-lightbox__nav--prev { right: 0.35rem; }
  .sf-lightbox__nav--next { left: 0.35rem; }
}