/* =========================================================================
   SD FRAMEWORKS — PAGE BUILDER SECTIONS
   One block per section layout (templates/sections/*.html). Builds on the
   storefront tokens in base.css. Themes: .sx--light / .sx--tint / .sx--dark
   ========================================================================= */

:root {
  --sx-tint: #f3f6fc;
  --sx-navy: #0b1424;
  --sx-navy-2: #14213a;
  --sx-gold: #c8a46a;
  --sx-radius: 22px;
  --sx-gap: clamp(20px, 2.4vw, 32px);
  --sx-pad: clamp(64px, 8vw, 112px);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---- Announcement bar + fixed header offset ---- */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 36px;
  display: flex; align-items: center; justify-content: center; padding: 0 16px;
  background: var(--sx-navy); color: #e6ecf8; font-size: 12.5px; letter-spacing: .03em; text-align: center;
}
.announce-bar a { color: #fff; font-weight: 600; }
.announce-bar a:hover { color: #9cc0ff; }
.navbar.has-announce { top: 36px; }
.navbar.has-announce + main .sx-hero, .navbar.has-announce + main .sx-page-header { margin-top: 36px; }

/* ---- Toasts ---- */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 14px 18px; border-radius: 14px;
  background: #fff; color: var(--text-0); font-size: 14px; line-height: 1.5;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .18); border-left: 4px solid #22a861;
  animation: sx-toast-in .4s var(--ease-premium) both;
}
.toast-error { border-left-color: #d93a45; }
.toast-warning { border-left-color: #e0a100; }
.toast-info { border-left-color: var(--blue-500); }
.toast span { flex: 1; }
.toast button { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 2px; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: all .3s ease; }
@keyframes sx-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Section shell & themes ---- */
.sx { padding: var(--sx-pad) 0; position: relative; }
.sx--tint { background: var(--sx-tint); }
.sx--dark { background: var(--sx-navy); color: #c9d3e6; }
.sx--dark .sx-title, .sx--dark h3 { color: #fff; }
.sx--dark .sx-sub, .sx--dark p { color: #aab6cc; }
.sx + .sx--light, .sx--light + .sx--light { padding-top: calc(var(--sx-pad) * .55); }

.sx-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.sx-head--left { margin-left: 0; text-align: left; }
.sx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.sx-head-row .sx-head { margin-bottom: 0; }
.sx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 16px;
}
.sx-eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; opacity: .7; }
.sx-head:not(.sx-head--left) .sx-eyebrow::after { content: ""; width: 24px; height: 1.5px; background: currentColor; opacity: .7; }
.sx-title { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; }
.sx-title em, .sx-hero-title em, .sx-page-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-500) 0%, #5aa2ff 60%, var(--blue-700) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sx--dark .sx-title em, .sx-cta--dark .sx-title em { background: linear-gradient(120deg, #8fb8ff, #c9dcff); -webkit-background-clip: text; background-clip: text; }
.sx-sub { margin-top: 18px; font-size: 1.08rem; line-height: 1.7; color: var(--text-1); }
.sx-head:not(.sx-head--left) .sx-sub { margin-left: auto; margin-right: auto; max-width: 620px; }
.sx-body { color: var(--text-1); line-height: 1.75; }
.sx-body p + p { margin-top: 14px; }
.sx-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.sx-actions.is-center { justify-content: center; margin-top: clamp(36px, 4vw, 52px); }

.sx-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-glow-soft); color: var(--blue-500);
}
.sx-icon--lg { width: 58px; height: 58px; border-radius: 18px; }
.sx--dark .sx-icon { background: rgba(143, 184, 255, .12); color: #9cc0ff; }

/* ---- Hero ---- */
.sx-hero { position: relative; overflow: hidden; padding: clamp(130px, 13vw, 170px) 0 clamp(70px, 8vw, 110px); }
.sx-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(47, 107, 255, .13), transparent 60%),
    radial-gradient(700px 480px at 5% 90%, rgba(200, 164, 106, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f6f8fd 100%);
}
.sx-hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(16,24,40,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,40,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.sx-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.sx-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(16,24,40,.06);
  font-size: 13px; font-weight: 500; color: var(--text-1); margin-bottom: 26px;
  animation: sx-rise .8s var(--ease-premium) both;
}
.sx-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a861; box-shadow: 0 0 0 4px rgba(34,168,97,.15); }
.sx-hero-title {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.035em;
  animation: sx-rise .9s .08s var(--ease-premium) both;
}
.sx-hero-sub { max-width: 520px; margin-top: 26px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; color: var(--text-1); animation: sx-rise .9s .16s var(--ease-premium) both; }
.sx-hero .sx-actions { animation: sx-rise .9s .24s var(--ease-premium) both; margin-top: 36px; }
.sx-hero-stats { display: flex; gap: clamp(22px, 3.5vw, 48px); margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--border); animation: sx-rise .9s .32s var(--ease-premium) both; flex-wrap: wrap; }
.sx-hero-stats dt { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; color: var(--text-0); letter-spacing: -.02em; }
.sx-hero-stats dd { margin: 4px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }

.sx-hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; animation: sx-fade 1.2s .2s ease both; }
.sx-hero-card--back {
  position: absolute; right: 2%; top: 4%; width: 46%; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  transform: rotate(6deg); box-shadow: 0 30px 60px rgba(16,24,40,.18); border: 8px solid #fff;
}
.sx-hero-card--back img { width: 100%; height: 100%; object-fit: cover; }
.sx-hero-frame { position: relative; z-index: 2; width: min(380px, 78%); }
.sx-hero-frame .frame-3d { max-width: 100%; }
.sx-hero-badge {
  position: absolute; left: 0; bottom: 8%; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 40px rgba(16,24,40,.12);
  animation: sx-float 6s ease-in-out infinite;
}
.sx-hero-badge img { width: 40px; height: 40px; object-fit: contain; }
.sx-hero-badge span { font-size: 12px; color: var(--text-2); line-height: 1.35; }
.sx-hero-badge strong { display: block; font-size: 14px; color: var(--text-0); }
@keyframes sx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Inner page header ---- */
.sx-page-header {
  position: relative; overflow: hidden; text-align: center; padding: clamp(140px, 14vw, 180px) 0 clamp(56px, 6vw, 80px);
  background: radial-gradient(800px 400px at 50% 0%, rgba(47,107,255,.10), transparent 70%), linear-gradient(180deg, #fff, #f6f8fd);
}
.sx-page-header.has-image { background: linear-gradient(180deg, rgba(11,20,36,.55), rgba(11,20,36,.75)), var(--sx-bg) center/cover; color: #fff; }
.sx-page-header.has-image .sx-page-title, .sx-page-header.has-image .sx-sub { color: #fff; }
.sx-page-header .sx-eyebrow::after { content: ""; width: 24px; height: 1.5px; background: currentColor; opacity: .7; }
.sx-page-title { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.03em; line-height: 1.05; max-width: 900px; margin: 0 auto; animation: sx-rise .8s var(--ease-premium) both; }
.sx-page-header .sx-sub { max-width: 640px; margin: 20px auto 0; animation: sx-rise .8s .1s var(--ease-premium) both; }

/* ---- Trust bar ---- */
.sx-trust { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sx-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.sx-trust-item { display: flex; align-items: center; gap: 14px; }
.sx-trust-item strong { display: block; color: var(--text-0); font-size: 14.5px; }
.sx-trust-item span:not(.sx-icon) { display: block; font-size: 13px; color: var(--text-2); }
.sx-trust.sx--dark { border: 0; }
.sx-trust.sx--dark strong { color: #fff; }

/* ---- Categories ---- */
.sx-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sx-gap); }
.sx-cat-card { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--sx-radius); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.sx-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-premium); }
.sx-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,14,26,.85)); z-index: 1; }
.sx-cat-card:hover img { transform: scale(1.07); }
.sx-cat-copy { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.sx-cat-copy h3 { color: #fff; font-size: 1.3rem; }
.sx-cat-copy span { display: inline-flex; gap: 6px; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); transition: gap .3s ease; }
.sx-cat-card:hover .sx-cat-copy span { gap: 10px; color: #fff; }

/* ---- Product cards ---- */
.sx-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sx-gap); }
.sx-product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-product { display: flex; flex-direction: column; }
.sx-product-media { position: relative; display: block; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.sx-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-premium); }
.sx-product:hover .sx-product-media img { transform: scale(1.05); }
.sx-product-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.sx-tag { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; background: #fff; color: var(--text-0); }
.sx-tag--sale { background: #e5394a; color: #fff; }
.sx-tag--warn { background: #fff4dc; color: #8a5a00; }
.sx-tag--muted { background: rgba(16,24,40,.75); color: #fff; }
.sx-product-cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 12px; text-align: center;
  background: rgba(255,255,255,.95); color: var(--text-0); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transform: translateY(12px); opacity: 0; transition: all .35s var(--ease-premium);
}
.sx-product:hover .sx-product-cta, .sx-product-media:focus-visible .sx-product-cta { transform: none; opacity: 1; }
.sx-product-body { padding: 16px 4px 0; }
.sx-product-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sx-product-body h3 { font-size: 1.05rem; margin-top: 6px; line-height: 1.3; }
.sx-product-body h3 a { color: var(--text-0); }
.sx-product-body h3 a:hover { color: var(--blue-500); }
.sx-product-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.sx-price { font-family: var(--font-display); font-weight: 700; color: var(--text-0); font-size: 1.05rem; }
.sx-price s { font-family: var(--font-body); font-weight: 400; color: var(--text-3); font-size: .85rem; margin-left: 4px; }
.sx-rating { font-size: 12.5px; color: #b98500; font-weight: 600; }
.sx-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--border-bright); border-radius: var(--sx-radius); }
.sx-empty h3 { margin-bottom: 8px; }
.sx-empty a { color: var(--blue-500); font-weight: 600; }
.sx-catalog { padding-top: 0; }

/* ---- Split (image + text) ---- */
.sx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sx-split.is-reversed .sx-split-media { order: 2; }
.sx-split-media { position: relative; }
.sx-split-media > img:first-child { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--sx-radius); box-shadow: 0 40px 80px rgba(16,24,40,.14); }
.sx-split-inset { position: absolute; right: -6%; bottom: -8%; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 8px solid #fff; box-shadow: 0 20px 50px rgba(16,24,40,.18); }
.sx-split-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 40%; height: 40%; border-radius: var(--sx-radius); background: repeating-linear-gradient(45deg, var(--blue-glow-soft) 0 2px, transparent 2px 10px); z-index: -1; }
.sx-checklist { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.sx-checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-0); font-weight: 500; }
.sx-checklist svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-500); color: #fff; margin-top: 1px; }
.sx-checklist small { display: block; color: var(--text-2); font-weight: 400; font-size: 13.5px; }

/* ---- Features ---- */
.sx-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sx-gap); }
.sx-feature {
  padding: 30px 28px; border-radius: var(--sx-radius); background: #fff; border: 1px solid var(--border);
  transition: transform .4s var(--ease-premium), box-shadow .4s ease, border-color .3s;
}
.sx-feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(16,24,40,.08); border-color: transparent; }
.sx-feature h3 { font-size: 1.15rem; margin: 20px 0 10px; }
.sx-feature p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.sx-feature .btn-ghost-link { margin-top: 16px; }
.sx-feature-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--blue-500); opacity: .35; }
.sx-feature-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.sx--dark .sx-feature { background: var(--sx-navy-2); border-color: rgba(255,255,255,.06); }
.sx--tint .sx-feature { border-color: transparent; }

/* ---- Steps ---- */
.sx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(min(var(--steps, 4), 6), minmax(0, 1fr)); gap: var(--sx-gap); counter-reset: step; position: relative; }
.sx-steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-bright) 0 8px, transparent 8px 16px); }
.sx-steps li { position: relative; text-align: center; padding: 0 6px; }
.sx-step-num {
  position: relative; z-index: 1; display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700)); box-shadow: 0 12px 30px rgba(47,107,255,.3), 0 0 0 8px #fff;
}
.sx--tint .sx-step-num { box-shadow: 0 12px 30px rgba(47,107,255,.3), 0 0 0 8px var(--sx-tint); }
.sx-steps h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.sx-steps p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ---- Stats ---- */
.sx-stats { padding: clamp(56px, 7vw, 90px) 0; position: relative; overflow: hidden; }
.sx-stats.sx--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(47,107,255,.25), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(200,164,106,.15), transparent 70%); }
.sx-stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; margin: 0; text-align: center; }
.sx-stats-grid dt { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; color: var(--text-0); }
.sx-stats.sx--dark dt { color: #fff; }
.sx-stats-grid dd { margin: 6px 0 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.sx-stats.sx--dark dd { color: #93a3c0; }

/* ---- Before/after & wall (reuse frame-visuals widgets) ---- */
.sx-ba { max-width: 860px; margin: 0 auto; }
.sx-ba .ba-slider { border-radius: var(--sx-radius); box-shadow: 0 40px 80px rgba(16,24,40,.14); }
.sx-wall { border-radius: var(--sx-radius); }
.wall-preview-picker .wall-swatch { border: 0; padding: 0; background: none; cursor: pointer; }

/* ---- Reviews ---- */
.sx-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sx-gap); }
.sx-review { margin: 0; padding: 30px; border-radius: var(--sx-radius); background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; }
.sx--tint .sx-review { border-color: transparent; box-shadow: 0 10px 30px rgba(16,24,40,.04); }
.sx-stars { color: #f2b01e; letter-spacing: 3px; font-size: 15px; }
.sx-stars .off { color: #dde2ea; }
.sx-review blockquote { margin: 16px 0 24px; color: var(--text-0); font-size: 15.5px; line-height: 1.7; flex: 1; }
.sx-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.sx-review figcaption img, .sx-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sx-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--blue-glow-soft); color: var(--blue-500); font-weight: 700; }
.sx-review strong { display: block; color: var(--text-0); font-size: 14px; }
.sx-review small { color: var(--text-3); font-size: 12.5px; }

/* ---- FAQ ---- */
.sx-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sx-faq-layout .faq-list { max-width: none; margin: 0; }
.sx-faq-help { color: var(--text-2); }
.sx-faq-help a { color: var(--blue-500); font-weight: 600; }
.sx--tint .faq-item { border-color: transparent; }

/* ---- Quote ---- */
.sx-quote { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sx-quote-text { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.35; color: var(--text-0); letter-spacing: -.01em; padding-left: 28px; border-left: 3px solid var(--blue-500); }
.sx-quote-side .sx-body { margin-bottom: 8px; }

/* ---- Tags ---- */
.sx-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.sx-chip { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--border-bright); color: var(--text-0); font-size: 14px; font-weight: 500; transition: all .3s ease; }
a.sx-chip:hover, .sx-chip:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }

/* ---- Newsletter ---- */
.sx-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: linear-gradient(135deg, #eef3ff, #f8f5ef); }
.sx-newsletter .sx-head { margin-bottom: 0; }
.sx-newsletter-form { display: flex; gap: 10px; }
.sx-newsletter-form .field-input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 22px; }

/* ---- CTA ---- */
.sx-cta-wrap { padding: calc(var(--sx-pad) * .6) 0 var(--sx-pad); }
.sx-cta {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 60px);
  background: radial-gradient(700px 360px at 80% 0%, rgba(79,139,255,.45), transparent 70%), linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
}
.sx-cta[style*="--sx-bg"] { background: linear-gradient(135deg, rgba(11,20,36,.82), rgba(26,68,196,.7)), var(--sx-bg) center/cover; }
.sx-cta--dark { background: radial-gradient(700px 360px at 80% 0%, rgba(47,107,255,.35), transparent 70%), var(--sx-navy); }
.sx-cta--tint, .sx-cta--light { background: linear-gradient(135deg, #eef3ff, #f8f5ef); color: var(--text-0); }
.sx-cta .sx-eyebrow { color: rgba(255,255,255,.85); }
.sx-cta .sx-eyebrow::after { content: ""; width: 24px; height: 1.5px; background: currentColor; opacity: .7; }
.sx-cta .sx-title { color: #fff; max-width: 760px; margin: 0 auto; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.sx-cta .sx-title em { background: linear-gradient(120deg, #bcd3ff, #fff); -webkit-background-clip: text; background-clip: text; }
.sx-cta .sx-sub { color: rgba(255,255,255,.8); max-width: 560px; margin-left: auto; margin-right: auto; }
.sx-cta--tint .sx-title, .sx-cta--light .sx-title { color: var(--text-0); }
.sx-cta--tint .sx-eyebrow, .sx-cta--light .sx-eyebrow { color: var(--blue-300); }
.sx-cta--tint .sx-sub, .sx-cta--light .sx-sub { color: var(--text-1); }
.sx-cta:not(.sx-cta--tint):not(.sx-cta--light) .btn-primary { background: #fff; color: var(--blue-700); }
.sx-cta:not(.sx-cta--tint):not(.sx-cta--light) .btn-outline { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }
.sx-cta-mark { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .08; pointer-events: none; }
.sx-cta .sx-actions { position: relative; }

/* ---- Promo slider ---- */
.sx-promo-track { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 21/8; background: var(--sx-navy); }
.sx-promo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.sx-promo-slide.is-active { opacity: 1; pointer-events: auto; }
.sx-promo-slide img { width: 100%; height: 100%; object-fit: cover; }
.sx-promo-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,36,.8), transparent 70%); }
.sx-promo-copy { position: absolute; z-index: 1; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); max-width: 480px; color: #fff; }
.sx-promo-copy h3 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.sx-promo-copy p { color: rgba(255,255,255,.82); margin: 12px 0 22px; }
.sx-promo-dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.sx-promo-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s; padding: 0; }
.sx-promo-dots button.is-active { width: 28px; background: #fff; }

/* ---- Text block ---- */
.sx-prose { max-width: 820px; }

/* ---- Footer ---- */
.sx-footer { padding-top: clamp(48px, 6vw, 72px); }
.sx-footer-news {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 34px 40px; border-radius: 24px;
  background: var(--sx-navy); color: #c9d3e6; margin-bottom: 56px;
}
.sx-footer-news h3 { color: #fff; font-size: 1.4rem; }
.sx-footer-news p { color: #93a3c0; font-size: 14px; margin-top: 6px; }
.sx-footer-news .field-input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.sx-footer-news .field-input::placeholder { color: #8f9bb3; }
.sx-footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
.sx-footer-social { display: flex; gap: 10px; margin-top: 22px; }
.sx-footer-social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text-1); transition: all .3s; }
.sx-footer-social a:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); }
.sx-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.sx-footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--blue-400); }
.sx-pay-badges { display: flex; gap: 8px; }
.sx-pay-badges span { padding: 4px 10px; border: 1px solid var(--border-bright); border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--text-2); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .sx-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sx-footer-grid .footer-brand { grid-column: 1 / -1; }
  .sx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .sx-steps::before { display: none; }
}
@media (max-width: 900px) {
  .sx-hero-grid, .sx-split, .sx-quote, .sx-faq-layout, .sx-newsletter, .sx-footer-news { grid-template-columns: 1fr; }
  .sx-split.is-reversed .sx-split-media { order: 0; }
  .sx-hero-visual { min-height: 420px; }
  .sx-product-grid, .sx-product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-promo-track { aspect-ratio: 4/3; }
  .sx-split-inset { right: 4%; }
}
@media (max-width: 560px) {
  .sx-steps { grid-template-columns: 1fr 1fr; }
  .sx-product-grid, .sx-product-grid--3 { gap: 14px; }
  .sx-product-cta { display: none; }
  .sx-hero-badge { display: none; }
  .sx-hero-card--back { width: 52%; right: 0; }
  .sx-newsletter-form { flex-direction: column; }
  .sx-footer-grid { grid-template-columns: 1fr 1fr; }
  .sx-footer-news { padding: 26px 22px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .announce-bar { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-pill, .sx-hero-title, .sx-hero-sub, .sx-hero .sx-actions, .sx-hero-stats, .sx-hero-visual, .sx-page-title, .sx-page-header .sx-sub, .sx-hero-badge { animation: none; }
}

/* ---- Mobile header: logo + cart + menu only (Login / CTA live in the mobile menu) ---- */
@media (max-width: 720px) {
  .nav-actions .nav-cta, .nav-actions .nav-account-link { display: none; }
  .navbar-inner { gap: 12px; }
  .brand-logo { height: 30px; }
}

/* ---- Compact shop filters on phones ---- */
@media (max-width: 900px) {
  .filter-panel { position: static; padding: 18px; }
  .filter-panel .filter-group { margin-bottom: 16px; }
  .filter-panel .cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter-panel .cat-list label { padding: 6px 12px; border: 1px solid var(--border-bright); border-radius: 999px; font-size: 13px; }
  .filter-panel .cat-list label:has(input:checked) { border-color: var(--blue-500); background: var(--blue-glow-soft); color: var(--blue-700); }
  .filter-panel .cat-list input { display: none; }
}

/* ---- Logo sizing (cropped transparent PNGs from scripts/build_logo_assets.py) ---- */
.navbar .brand-logo { height: 44px; width: auto; }
.navbar.is-scrolled .brand-logo { height: 38px; }
.brand-logo { transition: height .3s ease; }
.footer-logo { height: 64px; width: auto; }
@media (max-width: 720px) { .navbar .brand-logo, .navbar.is-scrolled .brand-logo { height: 34px; } }
.announce-bar > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 560px) { .announce-bar { font-size: 11px; letter-spacing: 0; } }

/* =========================================================================
   CREATE YOUR FRAME — configurator (templates/custom_frame.html)
   ========================================================================= */
.cf { padding: 0 0 var(--sx-pad); }
.cf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cf-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }

.cf-stage {
  position: relative; border-radius: 28px; overflow: hidden; padding: clamp(36px, 5vw, 64px) 24px 84px;
  background: linear-gradient(180deg, #eef1f6, #e4e8ef); min-height: 470px; display: flex; align-items: center; justify-content: center;
}
.cf-stage-wall { position: absolute; inset: 0; background:
  radial-gradient(420px 260px at 50% 30%, rgba(255,255,255,.9), transparent 70%),
  repeating-linear-gradient(90deg, rgba(16,24,40,.025) 0 1px, transparent 1px 90px); }
.cf-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, #d9dee7, #cfd5df); border-top: 1px solid rgba(16,24,40,.06); }
.cf-frame-wrap { position: relative; z-index: 1; width: clamp(220px, calc(var(--cf-ratio) * 300px + 70px), 100%); transition: width .5s var(--ease-premium); }
.cf-frame { transform: none !important; max-width: none; }
.cf-frame .frame-outer-edge { transition: background .4s ease, padding .4s ease; }
.cf-frame .frame-photo-window { aspect-ratio: var(--cf-ratio); transition: aspect-ratio .5s var(--ease-premium); overflow: hidden; }
.cf-frame .frame-photo-window img { width: 100%; height: 100%; object-fit: cover; }
.cf-frame::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 26px; background: radial-gradient(ellipse at center, rgba(16,24,40,.28), transparent 70%); filter: blur(4px); }
.cf-stage-bar { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.cf-orient { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.85); border-radius: 12px; box-shadow: 0 6px 18px rgba(16,24,40,.08); }
.cf-orient button { width: 38px; height: 34px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cf-orient button.is-active { background: var(--blue-500); }
.cf-orient span { display: block; border: 2px solid var(--text-1); border-radius: 2px; }
.cf-orient button.is-active span { border-color: #fff; }
.o-portrait { width: 12px; height: 16px; } .o-landscape { width: 18px; height: 12px; } .o-square { width: 14px; height: 14px; }
.cf-size-chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; color: var(--text-0); box-shadow: 0 6px 18px rgba(16,24,40,.08); }

.cf-summary { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(16,24,40,.06); }
.cf-summary-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cf-summary-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cf-summary-head strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-0); }
.cf-breakdown { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.cf-breakdown li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-1); }
.cf-breakdown li span:last-child { color: var(--text-0); font-weight: 600; white-space: nowrap; }
.cf-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--border-bright); }
.cf-total span { font-weight: 600; color: var(--text-0); }
.cf-total small { color: var(--text-3); font-weight: 400; }
.cf-total strong { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.02em; color: var(--text-0); }
.cf-total strong.is-bump { animation: cf-bump .35s ease; }
@keyframes cf-bump { 50% { transform: scale(1.06); color: var(--blue-500); } }
.cf-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cf-buy[hidden], .cf-soldout[hidden], .cf-size-field[hidden] { display: none; }
.cf-soldout { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fdedee; color: #a3242e; font-size: 13.5px; }
.cf-quote-link { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--blue-500); }
.cf-assure { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.cf-assure li { display: flex; gap: 8px; align-items: center; }
.cf-assure svg { color: var(--blue-500); flex-shrink: 0; }

.cf-steps { display: flex; flex-direction: column; gap: 18px; }
.cf-step { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.cf-step > header, .cf-step > summary { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.cf-step h2 { font-size: 1.2rem; margin-bottom: 4px; }
.cf-step header p, .cf-step summary p { font-size: 14px; color: var(--text-2); margin: 0; }
.cf-step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--blue-700)); box-shadow: 0 8px 20px rgba(47,107,255,.25); }

.cf-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border: 2px dashed var(--border-bright); border-radius: 18px; cursor: pointer; transition: all .25s ease; background: var(--sx-tint); }
.cf-drop:hover, .cf-drop.is-over { border-color: var(--blue-400); background: var(--blue-glow-soft); }
.cf-drop.has-file { border-style: solid; border-color: #9fd9b8; background: #f1fbf5; }
.cf-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cf-drop-icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--blue-500); box-shadow: 0 6px 16px rgba(16,24,40,.06); }
.cf-drop-text { flex: 1; min-width: 0; }
.cf-drop-text strong { display: block; color: var(--text-0); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-drop-text small { color: var(--text-2); font-size: 13px; }
.cf-drop-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(16,24,40,.12); }
.cf-drop-thumb[hidden] { display: none; }

.cf-frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cf-frame-card { position: relative; display: flex; flex-direction: column; border: 2px solid var(--border); border-radius: 18px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; background: #fff; }
.cf-frame-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,24,40,.08); }
.cf-frame-card input { position: absolute; opacity: 0; pointer-events: none; }
.cf-frame-card:has(input:checked) { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-glow-soft); }
.cf-frame-card:has(input:focus-visible) { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.cf-frame-thumb { position: relative; aspect-ratio: 4/3; background: var(--bg-2); }
.cf-frame-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cf-swatch { position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); background: linear-gradient(135deg, var(--frame-edge-a), var(--frame-edge-b) 55%, var(--frame-edge-c)); }
.cf-frame-info { padding: 10px 12px 12px; }
.cf-frame-info strong { display: block; font-size: 13.5px; color: var(--text-0); line-height: 1.3; }
.cf-frame-info small { font-size: 12px; color: var(--text-2); }
.cf-frame-flag { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(16,24,40,.8); color: #fff; font-size: 10.5px; font-weight: 700; }
.cf-frame-card:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-500); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.cf-option { border: 0; padding: 0; margin: 0 0 20px; }
.cf-option legend { float: left; width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-1); margin-bottom: 10px; }
.cf-option legend em { font-style: normal; font-size: 10.5px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--blue-glow-soft); color: var(--blue-700); margin-left: 6px; vertical-align: 1px; }
.cf-option legend em.opt { background: var(--bg-2); color: var(--text-2); }
.cf-choices { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cf-choice { position: relative; cursor: pointer; }
.cf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cf-choice > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--border-bright); border-radius: 14px; transition: all .2s ease; background: #fff; }
.cf-choice strong { font-size: 14px; color: var(--text-0); }
.cf-choice small { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.cf-choice:hover > span { border-color: var(--blue-300); }
.cf-choice input:checked + span { border-color: var(--blue-500); background: var(--blue-glow-soft); box-shadow: inset 0 0 0 1px var(--blue-500); }
.cf-choice input:checked + span small { color: var(--blue-700); }
.cf-choice input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.cf-size-field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-1); margin-bottom: 10px; }
.cf-size-field .field-input { max-width: 280px; }

.cf-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border-bright); border-radius: 999px; overflow: hidden; }
.cf-qty button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--text-0); }
.cf-qty button:hover { background: var(--bg-2); }
.cf-qty input { width: 64px; height: 48px; border: 0; text-align: center; font-size: 17px; font-weight: 700; color: var(--text-0); -moz-appearance: textfield; }
.cf-qty input::-webkit-outer-spin-button, .cf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cf-quote > summary { list-style: none; cursor: pointer; margin-bottom: 0; }
.cf-quote > summary::-webkit-details-marker { display: none; }
.cf-quote > summary > div { flex: 1; }
.cf-quote > summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue-500); }
.cf-quote[open] > summary::after { content: "−"; }
.cf-quote[open] > summary { margin-bottom: 20px; }
.cf-quote .cf-step-num { background: var(--bg-2); color: var(--text-1); box-shadow: none; }

@media (max-width: 980px) {
  .cf-grid { grid-template-columns: 1fr; }
  .cf-aside { position: static; }
  .cf-stage { min-height: 380px; }
}
@media (max-width: 560px) {
  .cf-step { padding: 20px; }
  .cf-buy { grid-template-columns: 1fr; }
  .cf-frames { grid-template-columns: 1fr 1fr; }
  .cf-choices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .cf-aside { display: contents; }
  .cf-stage { order: 0; }
  .cf-steps { order: 1; }
  .cf-summary { order: 2; position: sticky; bottom: 12px; z-index: 5; }
}
.cf-frame-thumb { overflow: hidden; flex-shrink: 0; }
.cf-frame-thumb img { position: absolute; inset: 0; }
.cf-frame-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cf-frame-info b { margin-top: auto; padding-top: 4px; font-family: var(--font-display); font-size: 14px; color: var(--text-0); }
@media (max-width: 980px) {
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-summary { position: static; }
  .cf-frame-wrap { width: min(calc(var(--cf-ratio) * 260px + 60px), 100%); }
  .cf-stage { padding-left: 16px; padding-right: 16px; }
}

/* ---- Configurator: frame types, colour swatches, picture tiles ---- */
.cf-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cf-types button { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border-bright); background: #fff; font-size: 13px; font-weight: 600; color: var(--text-1); cursor: pointer; transition: all .2s; }
.cf-types button:hover { border-color: var(--blue-300); color: var(--blue-500); }
.cf-types button.is-active { background: var(--text-0); border-color: var(--text-0); color: #fff; }
.cf-frame-card[hidden] { display: none; }
.cf-option-help { clear: both; margin: -4px 0 10px; font-size: 13px; color: var(--text-2); }
.cf-picked { margin-left: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-0); }
.cf-option--swatches .cf-choices { display: flex; flex-wrap: wrap; gap: 14px; }
.cf-option--swatches .cf-choice { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; text-align: center; }
.cf-swatch-dot {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--border-bright), 0 6px 14px rgba(16,24,40,.12);
  background: conic-gradient(from 210deg, var(--frame-edge-a), var(--frame-edge-b) 40%, var(--frame-edge-c) 70%, var(--frame-edge-a));
  transition: box-shadow .2s, transform .2s;
}
.cf-choice:hover .cf-swatch-dot { transform: scale(1.06); }
.cf-choice input:checked + .cf-swatch-dot { box-shadow: 0 0 0 2.5px var(--blue-500), 0 8px 18px rgba(47,107,255,.25); }
.cf-choice input:focus-visible + .cf-swatch-dot { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.cf-swatch-label { font-size: 12px; line-height: 1.3; color: var(--text-1); font-weight: 600; }
.cf-swatch-label small { display: block; font-weight: 600; color: var(--text-3); }
.cf-choice input:checked ~ .cf-swatch-label { color: var(--blue-700); }
.cf-choice-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.cf-color-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; color: var(--text-0); box-shadow: 0 6px 18px rgba(16,24,40,.08); margin-left: auto; margin-right: 8px; }
.cf-color-chip i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 210deg, var(--frame-edge-a), var(--frame-edge-b) 40%, var(--frame-edge-c) 70%, var(--frame-edge-a)); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border-bright); }
.cf-swatch { background: conic-gradient(from 210deg, var(--frame-edge-a), var(--frame-edge-b) 40%, var(--frame-edge-c) 70%, var(--frame-edge-a)); border-radius: 50%; }
@media (max-width: 560px) { .cf-color-chip span { display: none; } .cf-color-chip { padding: 6px; } }
.cf-option--swatches .cf-choice > span { border: 0; padding: 0; height: auto; box-shadow: none; border-radius: 0; background: none; }
.cf-option--swatches .cf-choice > .cf-swatch-dot {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff;
  background: conic-gradient(from 210deg, var(--frame-edge-a), var(--frame-edge-b) 40%, var(--frame-edge-c) 70%, var(--frame-edge-a));
  box-shadow: 0 0 0 1.5px var(--border-bright), 0 6px 14px rgba(16,24,40,.12);
}
.cf-option--swatches .cf-choice input:checked + .cf-swatch-dot { box-shadow: 0 0 0 3px var(--blue-500), 0 8px 18px rgba(47,107,255,.3); }
.cf-option--swatches .cf-choice > .cf-swatch-label { display: block; background: none; }

.cf-frame-thumb > img { object-fit: cover; }

.cf-frame-thumb { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f1f3f7, #e6eaf0); }

/* ---- Empty preview until the customer uploads ---- */
.cf-frame .frame-photo-window { background: linear-gradient(160deg, #e4e9f1, #ccd4e0); }
.cf-photo-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #6b7688; text-align: center; padding: 12px; }
.cf-photo-empty[hidden], [data-cf-photo][hidden] { display: none; }
.cf-photo-empty strong { font-size: 15px; color: #3d4757; }
.cf-photo-empty small { font-size: 12px; }
