/*
 * ShopOneTime Immersive Visual System v3
 * One visual language for the storefront, reading experience, account, tools,
 * checkout and the shared shell. Motion is enhancement-only and performance-safe.
 */

:root {
  color-scheme: light;
  --sot-black: #03050b;
  --sot-ink-950: #07101e;
  --sot-ink-900: #0a1424;
  --sot-ink-850: #101c31;
  --sot-ink-800: #17263d;
  --sot-cyan-500: #18d8ee;
  --sot-cyan-400: #54e9f8;
  --sot-cyan-300: #8bf2fb;
  --sot-magenta-500: #ee33b1;
  --sot-magenta-400: #ff62c7;
  --sot-violet-500: #7157ff;
  --sot-text: #101b2d;
  --sot-text-soft: #31415a;
  --sot-muted: #65748a;
  --sot-muted-light: #a9b9cd;
  --sot-canvas: #edf3f8;
  --sot-canvas-2: #f7f9fc;
  --sot-surface: #ffffff;
  --sot-surface-2: #f4f8fb;
  --sot-line: #d8e3ed;
  --sot-line-strong: #b9c9d8;
  --sot-success: #0b8e63;
  --sot-warning: #a9690f;
  --sot-danger: #c63d50;
  --sot-font: "Inter var", "Segoe UI Variable", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sot-font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sot-content-max: 1440px;
  --sot-reader-max: 780px;
  --sot-page-pad: clamp(18px, 3vw, 42px);
  --sot-radius-xs: 10px;
  --sot-radius-sm: 14px;
  --sot-radius-md: 20px;
  --sot-radius-lg: 28px;
  --sot-radius-xl: 38px;
  --sot-radius-pill: 999px;
  --sot-control-height: 48px;
  --sot-fast: 150ms;
  --sot-motion: 240ms;
  --sot-slow: 520ms;
  --sot-ease: cubic-bezier(.2, .78, .22, 1);
  --sot-shadow-1: 0 1px 2px rgba(5, 13, 27, .06), 0 8px 24px rgba(13, 31, 51, .07);
  --sot-shadow-2: 0 18px 48px rgba(9, 27, 48, .13), 0 2px 8px rgba(9, 27, 48, .08);
  --sot-shadow-3d: 0 34px 72px rgba(4, 18, 37, .19), 0 9px 18px rgba(4, 18, 37, .12);
  --sot-neon-shadow: 0 0 32px rgba(24, 216, 238, .24), 0 0 64px rgba(238, 51, 177, .12);
  --sot-brand-gradient: linear-gradient(118deg, var(--sot-cyan-400), var(--sot-cyan-500) 44%, var(--sot-magenta-400));
  --sot-night-gradient: linear-gradient(135deg, #030713 0%, #081629 50%, #18132f 100%);

  /* Compatibility aliases retained for page JavaScript and saved settings. */
  --bg: var(--sot-canvas);
  --bg2: var(--sot-canvas-2);
  --surface: var(--sot-surface);
  --surface-2: var(--sot-surface-2);
  --card-bg: var(--sot-surface);
  --card-bg2: var(--sot-surface-2);
  --text: var(--sot-text);
  --muted: var(--sot-muted);
  --brand: var(--sot-cyan-500);
  --brand-2: var(--sot-magenta-500);
  --accent: var(--sot-cyan-500);
  --line: var(--sot-line);
  --line-strong: var(--sot-line-strong);
  --font-sans: var(--sot-font);
  --font-display: var(--sot-font);
  --container: var(--sot-content-max);
  --radius: var(--sot-radius-md);
  --radius-sm: var(--sot-radius-sm);
  --shadow-card: var(--sot-shadow-1);
  --shadow-card-hover: var(--sot-shadow-2);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  min-width: 320px;
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background: var(--sot-canvas);
}
body.site-shell-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--sot-text);
  background:
    radial-gradient(900px 520px at -10% -10%, rgba(24, 216, 238, .13), transparent 64%),
    radial-gradient(760px 480px at 110% 8%, rgba(238, 51, 177, .075), transparent 62%),
    linear-gradient(180deg, var(--sot-canvas-2), var(--sot-canvas));
  font-family: var(--sot-font);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.64;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.site-shell-page :where(a) { color: inherit; text-decoration: none; }
body.site-shell-page :where(img, svg) { display: block; max-width: 100%; }
body.site-shell-page :where(button, input, select, textarea) { font: inherit; color: inherit; }
body.site-shell-page :where(button) { cursor: pointer; }
body.site-shell-page :where([hidden], .hidden, .outHidden) { display: none !important; }
body.site-shell-page :where(h1, h2, h3, h4, p, figure, dl, dd) { margin-top: 0; }
body.site-shell-page :where(h1, h2, h3, h4) {
  color: var(--sot-text);
  line-height: 1.08;
  letter-spacing: -.035em;
}
body.site-shell-page :where(p) { color: var(--sot-muted); }
body.site-shell-page .container {
  width: min(100%, var(--sot-content-max));
  margin-inline: auto;
  padding-inline: var(--sot-page-pad);
}

#site-shell { min-height: 100vh; display: flex; flex-direction: column; }
#site-main { width: 100%; min-width: 0; flex: 1 0 auto; }
.page-view-host { width: 100%; min-width: 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 14px;
  transform: translateY(-180%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 2px solid var(--sot-cyan-500);
  border-radius: var(--sot-radius-sm);
  color: #fff;
  background: var(--sot-ink-950);
  box-shadow: var(--sot-shadow-2);
  font-weight: 760;
  transition: transform var(--sot-fast) ease;
}
.skip-link:focus-visible { transform: translateY(0); }
body.site-shell-page :where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(24, 216, 238, .88);
}

/* Shared depth and reveal primitives. */
.sot-depth-card,
.sot-tilt {
  --sot-rx: 0deg;
  --sot-ry: 0deg;
  --sot-lift: 0px;
  transform: perspective(1000px) rotateX(var(--sot-rx)) rotateY(var(--sot-ry)) translate3d(0, var(--sot-lift), 0);
  transform-style: preserve-3d;
  transition: transform var(--sot-motion) var(--sot-ease), box-shadow var(--sot-motion) var(--sot-ease), border-color var(--sot-fast) ease;
}
.sot-tilt.is-pointer-active { --sot-lift: -7px; }
.sot-tilt > * { transform: translateZ(1px); }
[data-sot-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity var(--sot-slow) ease, transform var(--sot-slow) var(--sot-ease);
}
[data-sot-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.sot-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(24, 216, 238, .28);
  border-radius: 16px;
  color: var(--sot-cyan-500);
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(230, 250, 253, .82));
  box-shadow: 0 12px 26px rgba(5, 34, 56, .12), inset 0 1px 0 #fff;
  transform: translateZ(18px);
  transition: transform var(--sot-motion) var(--sot-ease), color var(--sot-fast) ease, border-color var(--sot-fast) ease;
}
.sot-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:where(a, button, article):hover .sot-icon { color: var(--sot-magenta-500); border-color: rgba(238, 51, 177, .35); transform: translateZ(26px) rotate(-4deg) scale(1.05); }

/* Unified header. */
body.site-shell-page .site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  color: #fff;
}
body.site-shell-page .nav-shell {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(360px 120px at 15% -40%, rgba(24, 216, 238, .24), transparent 70%),
    radial-gradient(360px 120px at 88% -40%, rgba(238, 51, 177, .2), transparent 70%),
    rgba(3, 7, 17, .94);
  border-bottom: 1px solid rgba(117, 231, 246, .16);
  box-shadow: 0 18px 42px rgba(2, 7, 16, .24);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
body.site-shell-page .nav-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sot-cyan-500), var(--sot-magenta-500), transparent);
  opacity: .55;
}
body.site-shell-page .nav-shell > .container { padding-block: 9px; }
body.site-shell-page .top-nav {
  min-height: 70px;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
body.site-shell-page .logo {
  width: 176px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  transform: perspective(500px) rotateY(0);
  transition: transform var(--sot-motion) var(--sot-ease), filter var(--sot-motion) ease;
}
body.site-shell-page .logo:hover { transform: perspective(500px) rotateY(-5deg) translateY(-1px); filter: drop-shadow(0 0 14px rgba(24, 216, 238, .35)); }
body.site-shell-page .logo .site-logo-image {
  width: 176px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
body.site-shell-page .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn) {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: var(--sot-radius-pill);
  color: #d9eaf4;
  background: transparent;
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--sot-fast) ease, background var(--sot-fast) ease, border-color var(--sot-fast) ease, transform var(--sot-motion) var(--sot-ease), box-shadow var(--sot-motion) ease;
}
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn)::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--sot-brand-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--sot-motion) var(--sot-ease);
}
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn):hover,
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn):focus-visible {
  color: #fff;
  border-color: rgba(108, 232, 248, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px rgba(0, 0, 0, .16);
  transform: translateY(-2px);
}
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn):hover::after,
body.site-shell-page :where(.nav-links a.is-active, .nav-links a[aria-current="page"], .nav-dropdown__toggle.is-active)::after { transform: scaleX(1); }
body.site-shell-page :where(.nav-links a.is-active, .nav-links a[aria-current="page"], .nav-dropdown__toggle.is-active) { color: #fff; background: rgba(255, 255, 255, .07); }
body.site-shell-page :where(.nav-action svg, .icon-btn svg) { width: 19px; height: 19px; flex: 0 0 19px; fill: currentColor; transition: transform var(--sot-motion) var(--sot-ease); }
body.site-shell-page :where(.nav-action, .icon-btn):hover svg { transform: rotate(-7deg) scale(1.08); }
body.site-shell-page .desktop-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
body.site-shell-page .nav-dropdown { position: relative; }
body.site-shell-page .nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  min-width: 220px;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(112, 227, 242, .2);
  border-radius: 18px;
  background: rgba(7, 16, 30, .98);
  box-shadow: 0 26px 60px rgba(2, 7, 16, .4), inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: 0;
  visibility: hidden;
  transform: perspective(700px) rotateX(-8deg) translateY(8px);
  transform-origin: top center;
  transition: opacity var(--sot-fast) ease, visibility var(--sot-fast) ease, transform var(--sot-motion) var(--sot-ease);
}
body.site-shell-page .nav-dropdown:hover .nav-dropdown__menu,
body.site-shell-page .nav-dropdown:focus-within .nav-dropdown__menu,
body.site-shell-page .nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: perspective(700px) rotateX(0) translateY(0); }
body.site-shell-page .nav-dropdown__menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #dcebf4;
  font-size: 12.5px;
  font-weight: 680;
}
body.site-shell-page .nav-dropdown__menu a:hover,
body.site-shell-page .nav-dropdown__menu a:focus-visible,
body.site-shell-page .nav-dropdown__menu a.is-active { color: #fff; border-color: rgba(24, 216, 238, .24); background: linear-gradient(100deg, rgba(24, 216, 238, .14), rgba(238, 51, 177, .08)); }
body.site-shell-page .mobile-toggle { display: none; }
body.site-shell-page :where(.mobile-nav-wrap[hidden], .search-panel[hidden]) { display: none !important; }
body.site-shell-page .mobile-nav-wrap,
body.site-shell-page .search-panel {
  position: relative;
  background: rgba(7, 15, 28, .98);
  border-bottom: 1px solid rgba(90, 226, 243, .18);
  box-shadow: 0 24px 50px rgba(2, 8, 17, .32);
  backdrop-filter: blur(18px);
}
body.site-shell-page .mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-block: 14px 18px;
}
body.site-shell-page .mobile-nav :where(a, .mobile-search-btn) {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  color: #eaf5fb;
  background: rgba(255, 255, 255, .04);
}
body.site-shell-page .search-panel-inner { padding-block: 18px 22px; }
body.site-shell-page .search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
body.site-shell-page .search-head strong { color: #fff; }
body.site-shell-page .search-close { width: 44px; padding: 0; color: #fff; font-size: 24px; }
body.site-shell-page .search-field-wrap input { color: #fff; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
body.site-shell-page .search-results { display: grid; gap: 8px; margin-top: 12px; }
body.site-shell-page .search-results a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; color: #ecf8fd; background: rgba(255, 255, 255, .04); }
body.site-shell-page .search-results a:hover { border-color: rgba(24, 216, 238, .32); background: rgba(24, 216, 238, .08); }
body.site-shell-page .search-results small { color: var(--sot-muted-light); }
body.site-shell-page .cart-count { min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 999px; color: var(--sot-ink-950); background: var(--sot-cyan-400); font-size: 10px; font-weight: 850; box-shadow: 0 0 14px rgba(24, 216, 238, .5); }

/* Shared footer. */
body.site-shell-page .site-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: 72px;
  padding: 70px 0 26px;
  color: #a9bacd;
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    radial-gradient(520px 260px at 12% 0%, rgba(24, 216, 238, .16), transparent 70%),
    radial-gradient(520px 260px at 92% 0%, rgba(238, 51, 177, .12), transparent 72%),
    #030711;
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  border-top: 1px solid rgba(24, 216, 238, .18);
}
body.site-shell-page .site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--sot-cyan-500), var(--sot-magenta-500), transparent); opacity: .75; }
body.home-shell-page .site-footer { margin-top: 0; }
body.site-shell-page .footer-grid { display: grid; grid-template-columns: minmax(260px, 1.45fr) repeat(3, 1fr); gap: clamp(30px, 5vw, 68px); }
body.site-shell-page .footer-grid > div > img { width: 190px; height: 62px; object-fit: contain; object-position: left center; filter: drop-shadow(0 0 16px rgba(24, 216, 238, .2)); }
body.site-shell-page .footer-grid p { max-width: 330px; margin: 12px 0 0; color: #8fa1b5; font-size: 13px; line-height: 1.75; }
body.site-shell-page .footer-grid nav { display: grid; align-content: start; gap: 11px; }
body.site-shell-page .footer-grid strong { margin-bottom: 5px; color: #fff; font-size: 13px; font-weight: 760; }
body.site-shell-page .footer-grid a { width: fit-content; min-height: 28px; display: inline-flex; align-items: center; color: #b9c9d8; font-size: 12.5px; font-weight: 620; transition: color var(--sot-fast) ease, transform var(--sot-motion) var(--sot-ease); }
body.site-shell-page .footer-grid a:hover,
body.site-shell-page .footer-grid a:focus-visible { color: var(--sot-cyan-300); transform: translateX(4px); }
body.site-shell-page .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: #718297; font-size: 12px; }

/* Shared page intros and controls. */
body.site-shell-page :where(.page-intro-band, .content-page-top, .prompt-page-top, .photo-page-top) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f7fbff;
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    radial-gradient(460px 280px at 86% 2%, rgba(238, 51, 177, .17), transparent 72%),
    radial-gradient(520px 300px at 10% 110%, rgba(24, 216, 238, .22), transparent 72%),
    var(--sot-night-gradient);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  border-bottom: 1px solid rgba(24, 216, 238, .18);
}
body.site-shell-page :where(.page-intro-band, .content-page-top, .prompt-page-top, .photo-page-top)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: 6%;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(24, 216, 238, .03), 0 0 0 70px rgba(238, 51, 177, .025);
}
body.site-shell-page :where(.page-intro-band, .content-page-top, .prompt-page-top, .photo-page-top) :where(h1, h2, .section-title) { color: #fff; }
body.site-shell-page :where(.page-intro-band, .content-page-top, .prompt-page-top, .photo-page-top) :where(p, a, span, time) { color: #c4d8e7; }
body.site-shell-page :where(.kicker, .eyebrow, .page-kicker, .section-kicker, .ui, .meta-label, .product-section-kicker) { color: #067f98; font-size: 11px; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
body.site-shell-page :where(.page-intro-band, .content-page-top, .prompt-page-top, .photo-page-top) :where(.kicker, .eyebrow, .page-kicker, .section-kicker, .ui, .meta-label) { color: var(--sot-cyan-300); }
body.site-shell-page :where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], input[type="date"], select, textarea) {
  width: 100%;
  min-height: var(--sot-control-height);
  padding: 0 14px;
  border: 1px solid var(--sot-line-strong);
  border-radius: 13px;
  color: var(--sot-text);
  background: rgba(255, 255, 255, .96);
  outline: 0;
  box-shadow: inset 0 1px 2px rgba(8, 23, 42, .035);
  transition: border-color var(--sot-fast) ease, box-shadow var(--sot-fast) ease, background var(--sot-fast) ease;
}
body.site-shell-page :where(textarea) { min-height: 124px; padding-block: 12px; resize: vertical; }
body.site-shell-page :where(input, select, textarea)::placeholder { color: #8b99aa; }
body.site-shell-page :where(input, select, textarea):focus { border-color: var(--sot-cyan-500); background: #fff; box-shadow: 0 0 0 4px rgba(24, 216, 238, .13), inset 0 1px 2px rgba(8, 23, 42, .02); }
body.site-shell-page .field { display: grid; gap: 7px; min-width: 0; }
body.site-shell-page .field > label,
body.site-shell-page label.field > span { color: var(--sot-text-soft); font-size: 12px; font-weight: 730; }
body.site-shell-page :where(.button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn, .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn, .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a, .actions button) {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid var(--sot-line-strong);
  border-radius: 14px;
  color: var(--sot-text);
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 25, 44, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 790;
  line-height: 1;
  transition: transform var(--sot-motion) var(--sot-ease), border-color var(--sot-fast) ease, box-shadow var(--sot-motion) ease, color var(--sot-fast) ease;
}
body.site-shell-page :where(.button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn, .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn, .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a, .actions button)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, .5) 48%, transparent 74%);
  transform: translateX(-140%);
  transition: transform 600ms ease;
}
body.site-shell-page :where(.button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn, .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn, .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a, .actions button):hover::before { transform: translateX(140%); }
body.site-shell-page :where(.button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn, .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn, .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a, .actions button):hover { transform: translateY(-3px); border-color: rgba(24, 216, 238, .46); box-shadow: 0 16px 30px rgba(7, 28, 50, .14); }
body.site-shell-page :where(.button--primary, .primary-btn, .prompt-primary-btn, .state-btn, .account-btn-accent, .summary-btn--primary, .photo-convert-btn, .composerActions .primary, .actions .primary) { color: #03121b; border-color: rgba(80, 235, 249, .85); background: var(--sot-brand-gradient); box-shadow: 0 12px 28px rgba(24, 216, 238, .2), inset 0 1px 0 rgba(255, 255, 255, .7); }
body.site-shell-page :where(.secondary-btn) { color: #fff; border-color: rgba(238, 51, 177, .38); background: linear-gradient(125deg, var(--sot-ink-900), #28132c); }
body.site-shell-page :where(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .58; transform: none !important; }
body.site-shell-page :where(.empty-state, .loading-state, .admin-empty-state) { padding: 24px; border: 1px dashed var(--sot-line-strong); border-radius: var(--sot-radius-md); color: var(--sot-muted); background: rgba(255, 255, 255, .64); text-align: center; }
body.site-shell-page :where(.skeleton-box, .skeleton-line) { position: relative; overflow: hidden; background: #dfe8ef; }
body.site-shell-page :where(.skeleton-box, .skeleton-line)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-100%); animation: sot-shimmer 1.35s infinite; }
.skeleton-line { height: 12px; margin: 9px 0; border-radius: 999px; }
.skeleton-line.short { width: 60%; }
@keyframes sot-shimmer { to { transform: translateX(100%); } }

/* Homepage: immersive but light enough to stay fast. */
.home-shell-page #site-main { background: transparent; }
.commerce-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    radial-gradient(620px 460px at 78% 25%, rgba(24, 216, 238, .18), transparent 68%),
    radial-gradient(560px 420px at 88% 82%, rgba(238, 51, 177, .15), transparent 68%),
    var(--sot-night-gradient);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  border-bottom: 1px solid rgba(24, 216, 238, .2);
}
.commerce-hero::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; top: -260px; left: -160px; border: 1px solid rgba(24, 216, 238, .15); border-radius: 50%; box-shadow: 0 0 0 50px rgba(24, 216, 238, .025), 0 0 0 110px rgba(238, 51, 177, .018); }
.commerce-hero__grid { min-height: min(760px, calc(100vh - 88px)); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr); align-items: center; gap: clamp(46px, 7vw, 110px); padding-block: clamp(64px, 8vw, 110px); }
.commerce-hero__copy { position: relative; z-index: 3; max-width: 720px; }
.commerce-hero .eyebrow { margin: 0 0 18px; color: var(--sot-cyan-300); }
.commerce-hero h1 { max-width: 730px; margin: 0; color: #fff; font-size: clamp(50px, 6.3vw, 92px); font-weight: 720; line-height: .94; letter-spacing: -.062em; }
.commerce-hero h1 span { color: transparent; background: var(--sot-brand-gradient); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 20px rgba(24, 216, 238, .16)); }
.commerce-hero__lede { max-width: 650px; margin: 28px 0 0; color: #bdd2e1; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.78; }
.hero-search { max-width: 690px; display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 32px; padding: 7px; border: 1px solid rgba(127, 230, 244, .24); border-radius: 18px; background: rgba(255, 255, 255, .075); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px rgba(2, 7, 16, .22); backdrop-filter: blur(14px); }
.hero-search input { min-height: 52px; border: 0; color: #fff; background: transparent; box-shadow: none; }
.hero-search input::placeholder { color: #91a9bb; }
.hero-search button { min-width: 116px; border: 0; border-radius: 13px; color: #03121b; background: var(--sot-brand-gradient); font-weight: 820; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.commerce-hero .button--quiet { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .045); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; color: #9fb4c5; font-size: 12px; font-weight: 650; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sot-cyan-400); box-shadow: 0 0 12px rgba(24, 216, 238, .72); }
.commerce-hero__media { position: relative; z-index: 2; margin: 0; perspective: 1200px; }
.hero-visual-card { position: relative; padding: 12px; border: 1px solid rgba(105, 229, 244, .28); border-radius: 36px; background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)); box-shadow: 0 46px 100px rgba(0, 5, 14, .45), 0 0 60px rgba(24, 216, 238, .09), inset 0 1px 0 rgba(255, 255, 255, .12); transform-style: preserve-3d; }
.hero-visual-card::before { content: ""; position: absolute; inset: 9% -7% -8% 8%; z-index: -1; border-radius: 38px; background: linear-gradient(140deg, rgba(24, 216, 238, .22), rgba(238, 51, 177, .15)); filter: blur(24px); transform: translateZ(-60px); }
.hero-visual-card img { width: 100%; aspect-ratio: 1.06 / 1; object-fit: cover; border-radius: 27px; }
.hero-float-card { position: absolute; z-index: 4; min-width: 150px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 17px; color: #fff; background: rgba(5, 13, 26, .78); box-shadow: 0 20px 40px rgba(0, 5, 14, .34), inset 0 1px 0 rgba(255, 255, 255, .1); backdrop-filter: blur(16px); transform: translateZ(70px); }
.hero-float-card strong { display: block; font-size: 15px; }
.hero-float-card span { display: block; margin-top: 3px; color: #a9bdce; font-size: 11px; }
.hero-float-card--top { top: 8%; right: 1%; max-width: 230px; }
.hero-float-card--bottom { bottom: 8%; left: -4%; max-width: 240px; }
.hero-orbit { position: absolute; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(24, 216, 238, .28); border-radius: 24px; color: var(--sot-cyan-300); background: rgba(5, 13, 26, .74); box-shadow: var(--sot-neon-shadow); backdrop-filter: blur(14px); }
.hero-orbit svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-orbit--one { top: -22px; left: 15%; animation: sot-float 6s ease-in-out infinite; }
.hero-orbit--two { right: 10%; bottom: -25px; color: var(--sot-magenta-400); animation: sot-float 7s ease-in-out -2s infinite; }
@keyframes sot-float { 50% { transform: translate3d(0, -10px, 0) rotate(3deg); } }

.category-section, .editorial-section { padding-block: clamp(72px, 8vw, 108px); }
.section-heading, .catalog-highlights__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .catalog-highlights__head h2 { max-width: 760px; margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 730; }
.section-heading > a, .catalog-highlights__head > a { min-height: 44px; display: inline-flex; align-items: center; color: #087f98; font-size: 13px; font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; perspective: 1200px; }
.category-card { position: relative; isolation: isolate; min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 26px; overflow: hidden; border: 1px solid rgba(185, 204, 219, .9); border-radius: 25px; background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 247, 251, .92)); box-shadow: var(--sot-shadow-1); }
.category-card::before { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; top: -80px; right: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(24, 216, 238, .18), transparent 70%); transition: transform var(--sot-slow) var(--sot-ease); }
.category-card:nth-child(even)::before { background: radial-gradient(circle, rgba(238, 51, 177, .12), transparent 70%); }
.category-card:hover { border-color: rgba(24, 216, 238, .48); box-shadow: var(--sot-shadow-3d); }
.category-card:hover::before { transform: scale(1.25) translate(-10px, 15px); }
.category-card .sot-icon, .category-card__icon { margin-bottom: auto; }
.category-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(24, 216, 238, .26); border-radius: 16px; color: #087f98; background: #e9fbfd; font-weight: 850; }
.category-card h3 { margin: 28px 0 8px; font-size: 21px; font-weight: 760; }
.category-card p { margin: 0; font-size: 13px; line-height: 1.7; }

.featured-section { padding-block: clamp(72px, 8vw, 108px); border-block: 1px solid rgba(183, 202, 218, .65); background: linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(240, 246, 250, .82)); }
.dynamic-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.commerce-product-card { position: relative; overflow: hidden; border: 1px solid var(--sot-line); border-radius: 25px; background: #fff; box-shadow: var(--sot-shadow-1); }
.commerce-product-card:hover { border-color: rgba(24, 216, 238, .4); box-shadow: var(--sot-shadow-3d); }
.commerce-product-card__image { position: relative; display: block; overflow: hidden; background: #dfe9f0; }
.commerce-product-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 50%, rgba(24, 216, 238, .13)); pointer-events: none; }
.commerce-product-card__image img { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; transition: transform 650ms var(--sot-ease); }
.commerce-product-card:hover .commerce-product-card__image img { transform: scale(1.045); }
.commerce-product-card__body { padding: 21px; }
.commerce-product-card__type { color: #087f98; font-size: 10.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.commerce-product-card h3 { margin: 8px 0 20px; font-size: 18px; font-weight: 750; }
.commerce-product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.commerce-product-card__price { color: var(--sot-text); font-size: 16px; font-weight: 830; }
.commerce-product-card__foot a { color: #087f98; font-size: 12px; font-weight: 800; }

.catalog-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-block: clamp(72px, 8vw, 104px); }
.catalog-highlights > article { padding: 25px; border: 1px solid var(--sot-line); border-radius: 25px; background: rgba(255, 255, 255, .88); box-shadow: var(--sot-shadow-1); }
.catalog-highlights__head h2 { font-size: 24px; }
.compact-product-list { display: grid; gap: 10px; }
.compact-product { min-height: 80px; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 8px; border: 1px solid transparent; border-radius: 16px; transition: transform var(--sot-motion) var(--sot-ease), border-color var(--sot-fast) ease, background var(--sot-fast) ease; }
.compact-product:hover { transform: translateX(3px); border-color: var(--sot-line); background: var(--sot-surface-2); }
.compact-product img { width: 64px; height: 64px; object-fit: cover; border-radius: 13px; }
.compact-product span { min-width: 0; }
.compact-product strong { display: block; overflow: hidden; color: var(--sot-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.compact-product small { color: #087f98; font-size: 11px; font-weight: 760; }

.promise-section { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(24, 216, 238, .16); border-radius: 25px; color: #fff; background: rgba(255, 255, 255, .12); box-shadow: var(--sot-shadow-2); }
.promise-section article { min-height: 140px; display: grid; align-content: center; gap: 8px; padding: 26px; background: var(--sot-ink-900); }
.promise-section article:nth-child(2) { background: #101a31; }
.promise-section strong { font-size: 16px; }
.promise-section span { color: #9eb3c5; font-size: 12.5px; line-height: 1.7; }

.editorial-feature { display: grid; grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--sot-line); border-radius: 32px; background: rgba(255, 255, 255, .86); box-shadow: var(--sot-shadow-2); }
.editorial-feature img { width: 100%; aspect-ratio: 1.22 / 1; object-fit: cover; border-radius: 23px; box-shadow: var(--sot-shadow-2); }
.editorial-feature h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 54px); font-weight: 720; }
.editorial-feature p:not(.eyebrow) { max-width: 630px; line-height: 1.8; }
.dynamic-article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.commerce-article-card { min-height: 210px; padding: 24px; border: 1px solid var(--sot-line); border-radius: 22px; background: rgba(255, 255, 255, .88); box-shadow: var(--sot-shadow-1); }
.commerce-article-card time { color: #087f98; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.commerce-article-card h3 { margin: 16px 0 10px; font-size: 18px; }
.commerce-article-card p { margin: 0; font-size: 13px; line-height: 1.7; }

.final-cta { position: relative; overflow: hidden; padding-block: clamp(84px, 10vw, 138px); color: #fff; text-align: center; background: var(--sot-night-gradient); }
.final-cta::before { content: ""; position: absolute; width: 620px; height: 620px; inset: 50% auto auto 50%; border: 1px solid rgba(24, 216, 238, .17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(24, 216, 238, .025), 0 0 0 150px rgba(238, 51, 177, .02); transform: translate(-50%, -50%); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { margin: 0 auto 30px; color: #fff; font-size: clamp(42px, 6vw, 78px); font-weight: 710; line-height: .98; letter-spacing: -.055em; }

/* Product archive. */
.products-intro,
.articles-intro,
.account-intro { min-height: 270px; display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-block: 58px; }
.page-head__text { max-width: 760px; }
.page-head__text .section-title,
.article-hero .article-title,
.auth-title,
.cart-title { margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 710; }
.section-subtitle { max-width: 760px; margin: 16px 0 0; color: #bfd3e2 !important; font-size: 15px; line-height: 1.75; }
.products-toolbar { min-width: min(100%, 540px); display: grid; grid-template-columns: minmax(220px, 1fr) 210px; gap: 12px; padding: 12px; border: 1px solid rgba(105, 229, 244, .2); border-radius: 20px; background: rgba(255, 255, 255, .065); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 46px rgba(0, 5, 14, .18); backdrop-filter: blur(16px); }
.products-toolbar input,
.products-toolbar select { color: #fff; border-color: rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .07); }
.products-toolbar option { color: var(--sot-text); background: #fff; }
.products-section { padding-block: clamp(64px, 7vw, 96px); }
.products-section-bar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.products-count { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--sot-line); border-radius: var(--sot-radius-pill); color: #087f98; background: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 800; box-shadow: var(--sot-shadow-1); }
.products-grid { --sot-product-columns: 3; display: grid; grid-template-columns: repeat(var(--sot-product-columns), minmax(0, 1fr)); gap: 24px; perspective: 1200px; }
:root[data-product-columns="1"] .products-grid { --sot-product-columns: 1; }
:root[data-product-columns="2"] .products-grid { --sot-product-columns: 2; }
:root[data-product-columns="3"] .products-grid { --sot-product-columns: 3; }
:root[data-product-columns="4"] .products-grid { --sot-product-columns: 4; }
:root[data-product-columns="5"] .products-grid { --sot-product-columns: 5; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--sot-line); border-radius: 25px; background: #fff; box-shadow: var(--sot-shadow-1); }
.product-card:hover { border-color: rgba(24, 216, 238, .42); box-shadow: var(--sot-shadow-3d); }
.product-card__inner { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.product-card__media { position: relative; overflow: hidden; background: #dbe7ef; }
.product-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 55%, rgba(24, 216, 238, .13), rgba(238, 51, 177, .09)); pointer-events: none; }
.product-card__media img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; transition: transform 650ms var(--sot-ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__content { display: flex; flex-direction: column; padding: 21px; }
.product-title { margin: 0 0 10px; font-size: 19px; font-weight: 760; }
.product-excerpt { display: -webkit-box; margin: 0 0 22px; overflow: hidden; font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sot-line); }
.product-price { color: var(--sot-text); font-size: 18px; font-weight: 830; }
.product-currency { color: #087f98; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
:root[data-product-card-shape="square"] .product-card { border-radius: 8px; }
:root[data-product-card-shape="oval"] .product-card { border-radius: 38px; }
:root[data-product-motion="static"] .product-card { transform: none !important; transition: border-color var(--sot-fast) ease, box-shadow var(--sot-fast) ease; }
.products-empty { padding: 40px; border: 1px dashed var(--sot-line-strong); border-radius: 24px; background: rgba(255, 255, 255, .72); text-align: center; }

/* Product detail. */
.product-hero-band { min-height: 170px; display: grid; align-items: center; }
.product-hero-inner { padding-block: 42px; }
.product-breadcrumbs,
.auth-breadcrumbs,
.cart-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 10px; color: #a9bdce; font-size: 12px; }
.product-breadcrumbs a:hover,
.auth-breadcrumbs a:hover,
.cart-breadcrumbs a:hover { color: var(--sot-cyan-300); }
.product-main-section { padding-block: clamp(58px, 7vw, 94px); }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); align-items: start; gap: clamp(26px, 4vw, 58px); perspective: 1400px; }
.product-gallery-card,
.product-summary-card,
.product-content-block { position: relative; border: 1px solid var(--sot-line); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: var(--sot-shadow-2); }
.product-gallery-card { padding: 14px; }
.product-main-image-wrap { overflow: hidden; border-radius: 20px; background: #e2ebf2; }
.product-main-image-wrap img { width: 100%; max-height: 640px; aspect-ratio: 1.12 / 1; object-fit: contain; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 9px; padding: 12px 2px 0; }
.product-thumbs button { width: 68px; height: 68px; padding: 3px; overflow: hidden; border: 1px solid var(--sot-line); border-radius: 12px; background: #fff; }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.product-summary-card { position: sticky; top: 106px; padding: clamp(26px, 4vw, 42px); overflow: hidden; }
.product-summary-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(24, 216, 238, .16), transparent 70%); }
.product-top-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-type-chip,
.featured-badge { min-height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: var(--sot-radius-pill); color: #087f98; background: #e8fafc; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.featured-badge { color: #9b1974; background: #fff0fa; }
.product-summary-card .product-title { position: relative; margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.product-summary-text { position: relative; margin: 20px 0 0; font-size: 14px; line-height: 1.78; }
.product-price-block { position: relative; display: grid; gap: 4px; margin: 30px 0 18px; padding: 20px; border: 1px solid rgba(24, 216, 238, .2); border-radius: 19px; background: linear-gradient(135deg, rgba(24, 216, 238, .08), rgba(238, 51, 177, .045)); }
.product-price-block .meta-label { color: #087f98; }
.summary-price { color: var(--sot-text); font-size: clamp(28px, 3.5vw, 42px); line-height: 1; }
.product-buy-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-purchase-note { margin: 14px 0 0; font-size: 11.5px; text-align: center; }
.product-quick-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; }
.product-quick-facts > div { padding: 14px; border: 1px solid var(--sot-line); border-radius: 14px; background: var(--sot-surface-2); }
.product-quick-facts dt { color: var(--sot-muted); font-size: 10px; font-weight: 740; text-transform: uppercase; letter-spacing: .06em; }
.product-quick-facts dd { margin-top: 4px; color: var(--sot-text); font-size: 12.5px; font-weight: 730; overflow-wrap: anywhere; }
.product-description-section { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: start; gap: 22px; margin-top: 28px; }
.product-description-section > :only-child { grid-column: 1 / -1; }
.product-content-block { padding: clamp(26px, 4vw, 46px); }
.product-content-block h2 { margin: 9px 0 22px; font-size: clamp(25px, 3vw, 38px); }
.product-description-content { max-width: 880px; color: var(--sot-text-soft); font-size: 15px; line-height: 1.84; overflow-wrap: anywhere; }
.product-description-content :where(h2, h3, h4) { margin-top: 1.8em; }
.product-description-content img { height: auto; margin-block: 26px; border-radius: 18px; box-shadow: var(--sot-shadow-2); }
.product-technical-list { display: grid; gap: 12px; margin: 0; }
.product-technical-list > div { padding: 14px; border: 1px solid var(--sot-line); border-radius: 14px; background: var(--sot-surface-2); }
.product-technical-list dt { color: var(--sot-muted); font-size: 11px; font-weight: 750; }
.product-technical-list dd { margin-top: 5px; color: var(--sot-text); overflow-wrap: anywhere; }
.product-feedback-section { padding-bottom: 60px; }

/* Article archive and reader. */
.articles-section { padding-block: clamp(64px, 7vw, 96px); }
.articles-grid { --sot-article-columns: 4; display: grid; grid-template-columns: repeat(var(--sot-article-columns), minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
:root[data-article-columns="1"] .articles-grid { --sot-article-columns: 1; }
:root[data-article-columns="2"] .articles-grid { --sot-article-columns: 2; }
:root[data-article-columns="3"] .articles-grid { --sot-article-columns: 3; }
:root[data-article-columns="4"] .articles-grid { --sot-article-columns: 4; }
:root[data-article-columns="5"] .articles-grid { --sot-article-columns: 5; }
.article-card { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--sot-line); border-radius: 22px; background: #fff; box-shadow: var(--sot-shadow-1); }
.article-card:hover { border-color: rgba(24, 216, 238, .4); box-shadow: var(--sot-shadow-3d); }
.article-card-cover-wrap { position: relative; overflow: hidden; background: linear-gradient(145deg, #0b1729, #1b1932); }
.article-card-cover-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 48%, rgba(24, 216, 238, .18), rgba(238, 51, 177, .12)); pointer-events: none; }
.article-card-cover,
.article-card-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.article-card-placeholder { background: radial-gradient(circle at 28% 30%, rgba(24, 216, 238, .3), transparent 32%), radial-gradient(circle at 76% 72%, rgba(238, 51, 177, .25), transparent 34%), linear-gradient(145deg, #07111f, #18132c); }
.article-card-cover { transition: transform 650ms var(--sot-ease); }
.article-card:hover .article-card-cover { transform: scale(1.05); }
.article-card-body { display: flex; flex-direction: column; padding: 19px; }
.article-card-meta { color: #087f98; font-size: 10px; font-weight: 830; letter-spacing: .07em; text-transform: uppercase; }
.article-card-title { display: -webkit-box; margin: 10px 0 9px; overflow: hidden; font-size: 17px; font-weight: 750; line-height: 1.22; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.article-card-excerpt { display: -webkit-box; margin: 0 0 18px; overflow: hidden; font-size: 12.5px; line-height: 1.68; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.article-card-actions { margin-top: auto; }
.article-card-link { min-height: 38px; display: inline-flex; align-items: center; color: #087f98; font-size: 12px; font-weight: 820; }
.article-card-link::after { content: "→"; margin-left: 6px; transition: transform var(--sot-motion) var(--sot-ease); }
.article-card:hover .article-card-link::after { transform: translateX(4px); }
:root[data-article-card-shape="square"] .article-card { border-radius: 8px; }
:root[data-article-card-shape="oval"] .article-card { border-radius: 36px; }
:root[data-article-motion="static"] .article-card { transform: none !important; transition: border-color var(--sot-fast) ease, box-shadow var(--sot-fast) ease; }
.articles-empty { padding: 42px; border: 1px dashed var(--sot-line-strong); border-radius: 24px; background: rgba(255, 255, 255, .76); text-align: center; }

.article-hero__inner { max-width: 1050px; padding-block: clamp(72px, 9vw, 120px); }
.article-hero .article-title { max-width: 1000px; margin: 14px 0 0; font-size: clamp(42px, 6vw, 80px); line-height: .98; }
.article-subtitle { max-width: 820px; margin: 24px 0 0; color: #bdd2e1 !important; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.78; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: #9db3c4; font-size: 12px; }
.article-byline strong { color: #fff; }
.article-content-section { padding-block: clamp(56px, 7vw, 92px); }
.article-reader { max-width: var(--sot-reader-max); margin-inline: auto; }
.article-back-link { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 30px; color: #087f98; font-size: 12.5px; font-weight: 800; }
.article-body { color: var(--sot-text-soft); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.88; }
.article-body > :first-child { margin-top: 0; }
.article-body p { color: inherit; }
.article-body :where(h2, h3, h4) { margin: 2em 0 .72em; scroll-margin-top: 120px; }
.article-body h2 { font-size: clamp(28px, 3.6vw, 42px); }
.article-body h3 { font-size: clamp(22px, 2.8vw, 31px); }
.article-body :where(ul, ol) { padding-left: 1.35em; }
.article-body li { margin-block: .55em; }
.article-body blockquote { margin: 1.8em 0; padding: 20px 24px; border-left: 4px solid var(--sot-cyan-500); border-radius: 0 16px 16px 0; color: var(--sot-text-soft); background: rgba(24, 216, 238, .07); }
.article-body :where(img, video, iframe) { max-width: 100%; height: auto; margin-block: 28px; border-radius: 20px; box-shadow: var(--sot-shadow-2); }
.article-body table { width: 100%; margin-block: 26px; border-collapse: collapse; font-size: 14px; }
.article-body th,
.article-body td { padding: 12px; border: 1px solid var(--sot-line); text-align: left; }
.article-body th { background: var(--sot-surface-2); }
.article-body pre { max-width: 100%; overflow: auto; padding: 18px; border-radius: 16px; color: #d9f6fb; background: var(--sot-ink-950); font: 13px/1.7 var(--sot-font-mono); }

/* Authentication. */
.auth-hero__inner,
.cart-hero__inner { max-width: 980px; padding-block: clamp(60px, 7vw, 90px); }
.auth-title,
.cart-title { margin-top: 16px; }
.auth-section { min-height: 560px; display: grid; align-items: center; padding-block: clamp(58px, 7vw, 92px); }
.auth-message { max-width: 640px; margin: 0 auto 14px; }
.auth-layout--centered { max-width: 640px; margin-inline: auto; perspective: 1200px; }
.auth-panel { position: relative; overflow: hidden; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--sot-line); border-radius: 30px; background: rgba(255, 255, 255, .93); box-shadow: var(--sot-shadow-3d); }
.auth-panel::before { content: ""; position: absolute; width: 260px; height: 260px; right: -145px; top: -145px; border-radius: 50%; background: radial-gradient(circle, rgba(24, 216, 238, .17), transparent 70%); }
.auth-brand-lockup { position: relative; display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.auth-brand-lockup img { width: 168px; height: auto; border-radius: 8px; background: #02050b; }
.auth-brand-lockup p { margin: 0; font-size: 12.5px; line-height: 1.6; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 6px; border: 1px solid var(--sot-line); border-radius: 16px; background: var(--sot-surface-2); }
.auth-tab { min-height: 44px; border: 0; border-radius: 11px; color: var(--sot-muted); background: transparent; font-size: 12.5px; font-weight: 770; }
.auth-tab.active { color: var(--sot-text); background: #fff; box-shadow: var(--sot-shadow-1); }
.auth-form { display: none; padding-top: 25px; }
.auth-form.active { display: block; }
.auth-form .form-grid { display: grid; gap: 16px; }
.auth-form .form-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

/* Account and purchase vault. */
.account-toolbar { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 10px; }
.account-stat-panel { min-width: 145px; padding: 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.account-stat-panel span { display: block; color: #98adbe !important; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.account-stat-panel strong { display: block; margin-top: 4px; color: #fff; font-size: 20px; }
.account-main-section { padding-block: clamp(58px, 7vw, 94px); }
.account-layout { display: grid; grid-template-columns: minmax(250px, .31fr) minmax(0, .69fr); align-items: start; gap: 24px; }
.account-sidebar { position: sticky; top: 106px; }
.account-user-card,
.account-products-shell,
.account-orders-shell { border: 1px solid var(--sot-line); border-radius: 25px; background: rgba(255, 255, 255, .9); box-shadow: var(--sot-shadow-2); }
.account-user-card { padding: 24px; overflow: hidden; }
.section-head h2 { margin: 0; font-size: clamp(22px, 2.5vw, 32px); }
.section-head p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; }
.profile-list { display: grid; gap: 9px; margin-top: 22px; }
.profile-item { display: grid; gap: 3px; padding: 13px; border: 1px solid var(--sot-line); border-radius: 13px; background: var(--sot-surface-2); }
.profile-item span { color: var(--sot-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.profile-item strong { color: var(--sot-text); font-size: 12.5px; overflow-wrap: anywhere; }
.account-side-actions { display: grid; gap: 9px; margin-top: 18px; }
.account-content { display: grid; gap: 24px; min-width: 0; }
.account-products-shell,
.account-orders-shell { padding: clamp(22px, 3vw, 32px); }
.account-products-list,
.account-orders-list { display: grid; gap: 14px; }
.account-product-card { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 14px; border: 1px solid var(--sot-line); border-radius: 19px; background: #fff; box-shadow: var(--sot-shadow-1); }
.account-product-image { overflow: hidden; border-radius: 14px; background: #e1eaf1; }
.account-product-image img { width: 100%; height: 100%; min-height: 138px; object-fit: cover; }
.account-product-body { min-width: 0; padding: 4px 4px 4px 0; }
.account-product-top { display: flex; justify-content: space-between; gap: 16px; }
.account-product-title { margin: 0; font-size: 18px; }
.account-product-price { color: #087f98; font-weight: 830; white-space: nowrap; }
.account-product-description { margin: 9px 0; font-size: 12.5px; }
.account-product-meta,
.account-product-dates,
.account-order-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.account-product-meta span,
.account-product-dates span,
.account-order-chip { min-height: 28px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: var(--sot-radius-pill); color: var(--sot-text-soft); background: var(--sot-surface-2); font-size: 10.5px; font-weight: 680; }
.account-product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.account-product-actions :where(a, button) { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--sot-line); border-radius: 11px; color: #087f98; background: #fff; font-size: 11px; font-weight: 780; }
.account-order-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--sot-line); border-radius: 17px; background: #fff; }
.account-order-total { color: var(--sot-text); font-size: 17px; white-space: nowrap; }
.account-empty { padding: 42px; border: 1px dashed var(--sot-line-strong); border-radius: 20px; text-align: center; }
.account-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* Cart. */
.cart-count-chip { width: fit-content; min-height: 34px; display: inline-flex; align-items: center; margin-top: 18px; padding: 0 12px; border: 1px solid rgba(24, 216, 238, .28); border-radius: var(--sot-radius-pill); color: var(--sot-cyan-300); background: rgba(24, 216, 238, .07); font-size: 11px; font-weight: 800; }
.cart-section { padding-block: clamp(58px, 7vw, 94px); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); align-items: start; gap: 24px; }
.cart-panel,
.cart-state-card { border: 1px solid var(--sot-line); border-radius: 25px; background: rgba(255, 255, 255, .92); box-shadow: var(--sot-shadow-2); }
.cart-panel { padding: clamp(22px, 3vw, 32px); }
.panel-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-head h2 { margin: 0; font-size: 26px; }
.panel-head p { margin: 6px 0 0; font-size: 12px; }
.cart-items-list { display: grid; gap: 14px; }
.cart-item-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 17px; padding: 13px; border: 1px solid var(--sot-line); border-radius: 18px; background: #fff; }
.cart-item-image { overflow: hidden; border-radius: 13px; background: #e1eaf1; }
.cart-item-image img { width: 100%; height: 100%; min-height: 122px; object-fit: cover; }
.cart-item-body { min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; gap: 14px; }
.cart-item-title { margin: 0; font-size: 18px; }
.cart-item-price { color: #087f98; font-size: 16px; font-weight: 830; white-space: nowrap; }
.cart-item-desc { margin: 8px 0; font-size: 12.5px; }
.cart-item-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.cart-item-meta span { min-height: 27px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: var(--sot-radius-pill); background: var(--sot-surface-2); font-size: 10px; }
.cart-item-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.cart-item-actions button { min-height: 38px; padding: 0 11px; border: 1px solid #efc2cb; border-radius: 11px; color: var(--sot-danger); background: #fff7f8; font-size: 11px; font-weight: 760; }
.cart-summary-column { position: sticky; top: 106px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary-card { padding: 15px; border: 1px solid var(--sot-line); border-radius: 14px; background: var(--sot-surface-2); }
.summary-card--wide { grid-column: 1 / -1; }
.summary-label { display: block; color: var(--sot-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.summary-card strong { display: block; margin-top: 5px; }
.summary-total { font-size: 26px; }
.summary-actions { display: grid; gap: 9px; margin-top: 18px; }
.cart-state-card { max-width: 650px; margin-inline: auto; padding: 42px; text-align: center; }
.cart-state-card h2 { margin: 0 0 10px; font-size: 30px; }
.cart-state-card .state-btn { margin-top: 18px; }
.cart-feedback,
.auth-message:not(:empty),
.account-feedback { margin-bottom: 16px; padding: 13px 15px; border: 1px solid var(--sot-line); border-radius: 13px; background: #fff; }

/* Checkout result. */
body.site-shell-page:has(.status-card) main { min-height: 72vh; display: grid; place-items: center; padding: 40px var(--sot-page-pad); }
.status-card { position: relative; max-width: 680px; width: 100%; padding: clamp(30px, 6vw, 58px); overflow: hidden; border: 1px solid var(--sot-line); border-radius: 31px; background: rgba(255, 255, 255, .94); box-shadow: var(--sot-shadow-3d); text-align: center; }
.status-card::before { content: ""; position: absolute; width: 300px; height: 300px; top: -210px; left: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(24, 216, 238, .2), transparent 70%); transform: translateX(-50%); }
.status-icon { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; border: 1px solid rgba(24, 216, 238, .34); border-radius: 24px; color: #087f98; background: #e9fbfd; box-shadow: 0 18px 40px rgba(24, 216, 238, .15); font-size: 26px; font-weight: 850; }
.status-card h1 { margin: 10px 0 15px; font-size: clamp(32px, 5vw, 52px); }
.status-card > p { max-width: 530px; margin-inline: auto; }
.order-reference { padding: 10px 12px; border-radius: 12px; background: var(--sot-surface-2); font-family: var(--sot-font-mono); font-size: 12px; }
.status-card .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }

/* AI utilities and converter. */
.prompt-page-shell { padding-block: clamp(50px, 6vw, 84px); }
.prompt-page-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 52px); border-radius: 29px; box-shadow: var(--sot-shadow-3d); }
.prompt-page-copy h1,
.content-page-copy h1,
.photo-page-copy h1 { margin: 8px 0 0; font-size: clamp(34px, 5vw, 64px); }
.prompt-meta-strip,
.content-meta-strip,
.chat-meta-strip { display: flex; flex-wrap: wrap; gap: 9px; }
.prompt-meta-item,
.content-meta-item,
.chat-meta-item { min-width: 102px; padding: 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; background: rgba(255, 255, 255, .055); }
.prompt-meta-item span,
.content-meta-item span,
.chat-meta-item span { display: block; color: #91a8ba !important; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; }
.prompt-meta-item strong,
.content-meta-item strong,
.chat-meta-item strong { display: block; margin-top: 4px; color: #fff; font-size: 13px; }
.prompt-editor-section,
.prompt-output-section,
.content-editor-column,
.chat-editor-section,
.photo-section { position: relative; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--sot-line); border-radius: 25px; background: rgba(255, 255, 255, .91); box-shadow: var(--sot-shadow-2); }
.prompt-editor-section { margin-top: 22px; }
.prompt-output-section { margin-top: 22px; }
.prompt-section-head,
.content-section-head,
.photo-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.prompt-section-head h2,
.content-section-head h2,
.photo-section-head h2 { margin: 6px 0 0; font-size: 28px; }
.prompt-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.field-span-2 { grid-column: span 2; }
.field-span-3 { grid-column: span 3; }
.nested-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.field-help { color: var(--sot-muted); font-size: 10.5px; }
.prompt-toolbar-row,
.prompt-main-actions,
.photo-top-controls,
.photo-action-row { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.prompt-random-actions { margin-bottom: 18px; }
.prompt-main-actions { margin-top: 22px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-grid :where(label, button) { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--sot-line); border-radius: var(--sot-radius-pill); background: #fff; font-size: 10.5px; }
.msgline,
.tinyState,
.hint { min-height: 22px; margin-top: 10px; color: var(--sot-muted); font-size: 11px; }
.hint.err { color: var(--sot-danger); }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.tab { min-height: 40px; padding: 0 13px; border: 1px solid var(--sot-line); border-radius: 12px; color: var(--sot-muted); background: #fff; font-size: 11.5px; font-weight: 760; }
.tab.active { color: #05212a; border-color: rgba(24, 216, 238, .48); background: #e9fbfd; }
.out,
.outBlock textarea { width: 100%; min-height: 240px; margin: 0; overflow: auto; padding: 18px; border: 1px solid #17243a; border-radius: 17px; color: #d9f6fb; background: #07101e; font: 13px/1.72 var(--sot-font-mono); white-space: pre-wrap; }

.content-page-top { padding-block: clamp(56px, 7vw, 90px); }
.content-page-top > .container { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.content-editorial-section { padding-block: clamp(50px, 6vw, 84px); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: start; gap: 22px; }
.content-side-column { display: grid; gap: 22px; }
.content-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.progressWrap { margin-top: 18px; padding: 14px; border: 1px solid var(--sot-line); border-radius: 14px; background: var(--sot-surface-2); }
.progressTop { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 11px; }
.progressBarTrack,
.photo-progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: #dfe9f0; }
.progressBarFill,
.photo-progress-fill { height: 100%; width: 0; border-radius: inherit; background: var(--sot-brand-gradient); transition: width var(--sot-motion) ease; }
.tw-article { min-height: 240px; color: var(--sot-text-soft); line-height: 1.78; }

.chat-head-band { padding-block: clamp(52px, 6vw, 82px); }
.chat-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.chat-head h1 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 64px); }
.chat-main-section { padding-block: clamp(50px, 6vw, 82px); }
.chat-main-layout { max-width: 1040px; }
.chatWindow { min-height: 460px; max-height: 68vh; overflow: auto; padding: 18px; border: 1px solid var(--sot-line); border-radius: 19px; background: linear-gradient(180deg, #f8fbfd, #eef4f8); }
.msg { display: grid; gap: 5px; margin: 14px 0; }
.msgRole { color: var(--sot-muted); font-size: 10px; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.msgBubble { width: fit-content; max-width: min(84%, 720px); padding: 13px 15px; border: 1px solid var(--sot-line); border-radius: 16px 16px 16px 5px; color: var(--sot-text-soft); background: #fff; box-shadow: var(--sot-shadow-1); }
.msg-user { justify-items: end; }
.msg-user .msgBubble { color: #fff; border-color: rgba(24, 216, 238, .2); border-radius: 16px 16px 5px 16px; background: var(--sot-ink-900); }
.composerBox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 14px; }
.composerBox textarea { min-height: 52px; max-height: 180px; }
.composerActions { display: flex; gap: 8px; }

.photo-converter-main { width: min(100%, var(--sot-content-max)); margin-inline: auto; padding: clamp(32px, 5vw, 72px) var(--sot-page-pad); }
.photo-page-top { padding: clamp(30px, 5vw, 52px); border-radius: 29px; box-shadow: var(--sot-shadow-3d); }
.photo-page-copy { max-width: 780px; }
.photo-page-copy p { max-width: 650px; margin: 16px 0 0; }
.photo-section { margin-top: 22px; }
.photo-top-controls { display: grid; grid-template-columns: repeat(3, auto) repeat(3, minmax(150px, 1fr)); }
.photo-inline-field { min-width: 150px; }
.photo-selection-note { margin-top: 16px; padding: 13px; border: 1px dashed var(--sot-line-strong); border-radius: 13px; color: var(--sot-muted); background: var(--sot-surface-2); }
.photo-progress-wrap { margin-top: 22px; }
.photo-progress-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 11px; }
.photo-operations-wrap { margin-top: 22px; }
.photo-operations-box { min-height: 130px; max-height: 300px; overflow: auto; padding: 14px; border: 1px solid var(--sot-line); border-radius: 15px; background: var(--sot-surface-2); }
.photo-operation-empty { color: var(--sot-muted); text-align: center; }
.photo-download-row { margin-top: 16px; }

/* Legal and support pages. */
.legal-main { width: min(100% - (2 * var(--sot-page-pad)), 900px); margin: clamp(58px, 7vw, 94px) auto; padding: clamp(26px, 5vw, 52px); border: 1px solid var(--sot-line); border-radius: 28px; background: rgba(255, 255, 255, .92); box-shadow: var(--sot-shadow-2); }
.legal-main > h1 { margin: 8px 0 18px; font-size: clamp(38px, 5vw, 62px); }
.legal-main .lead { font-size: 16px; line-height: 1.8; }
.legal-main article { margin-top: 30px; color: var(--sot-text-soft); line-height: 1.82; }
.legal-main article h2 { margin: 1.8em 0 .6em; font-size: 25px; }
.legal-main article :where(a) { color: #087f98; text-decoration: underline; text-underline-offset: 3px; }
.legal-main article li { margin-block: .5em; }

/* Responsive composition. */
@media (max-width: 1240px) {
  body.site-shell-page .top-nav { grid-template-columns: 168px minmax(0, 1fr) auto; }
  body.site-shell-page .logo,
  body.site-shell-page .logo .site-logo-image { width: 160px; }
  body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn) { padding-inline: 9px; font-size: 11.5px; }
  .commerce-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 46px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-article-columns="5"] .articles-grid { --sot-article-columns: 4; }
  :root[data-product-columns="5"] .products-grid { --sot-product-columns: 4; }
  .photo-top-controls { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1060px) {
  body.site-shell-page .desktop-nav { display: none; }
  body.site-shell-page .top-nav { grid-template-columns: 1fr auto; }
  body.site-shell-page .mobile-toggle { display: inline-flex; }
  .commerce-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 72px 92px; }
  .commerce-hero__copy { max-width: 820px; }
  .commerce-hero__media { width: min(760px, 90%); margin-inline: auto; }
  .hero-float-card--top { right: 1%; }
  .hero-float-card--bottom { left: -2%; }
  .catalog-highlights { grid-template-columns: 1fr 1fr; }
  .catalog-highlights > article:last-child { grid-column: 1 / -1; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-summary-card { position: relative; top: auto; }
  .product-description-section { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: relative; top: auto; }
  .account-user-card { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .account-user-card .section-head { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-column { position: relative; top: auto; }
  .content-layout { grid-template-columns: 1fr; }
  .prompt-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-span-3 { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --sot-page-pad: 20px; }
  body.site-shell-page .site-header { position: relative; }
  body.site-shell-page .footer-grid { grid-template-columns: 1fr 1fr; }
  body.site-shell-page .footer-grid > div { grid-column: 1 / -1; }
  .commerce-hero h1 { font-size: clamp(48px, 13vw, 74px); }
  .hero-float-card { position: relative; inset: auto; display: inline-block; margin: 12px 6px 0 0; transform: none; }
  .hero-orbit { width: 58px; height: 58px; border-radius: 18px; }
  .hero-orbit--one { left: 4%; }
  .hero-orbit--two { right: 4%; }
  .dynamic-card-grid,
  .dynamic-article-list,
  .promise-section { grid-template-columns: 1fr; }
  .promise-section { gap: 1px; }
  .editorial-feature { grid-template-columns: 1fr; }
  .editorial-feature img { max-height: 420px; }
  .products-intro,
  .articles-intro,
  .account-intro { align-items: stretch; flex-direction: column; padding-block: 50px; }
  .products-toolbar { width: 100%; min-width: 0; }
  .products-grid { --sot-product-columns: 2 !important; }
  .articles-grid { --sot-article-columns: 2 !important; }
  .account-toolbar { width: 100%; }
  .prompt-page-top,
  .content-page-top > .container,
  .chat-head { align-items: stretch; flex-direction: column; }
  .prompt-form-grid,
  .content-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-span-3 { grid-column: span 2; }
  .nested-grid { grid-template-columns: 1fr; }
  .composerBox { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --sot-page-pad: 16px; }
  body.site-shell-page { font-size: 14px; }
  body.site-shell-page .nav-shell > .container { padding-block: 6px; }
  body.site-shell-page .top-nav { min-height: 64px; }
  body.site-shell-page .logo,
  body.site-shell-page .logo .site-logo-image { width: 148px; height: 46px; }
  body.site-shell-page .nav-action__text { display: none; }
  body.site-shell-page .desktop-actions { gap: 2px; }
  body.site-shell-page .mobile-nav { grid-template-columns: 1fr; }
  body.site-shell-page .footer-grid { grid-template-columns: 1fr; }
  body.site-shell-page .footer-grid > div { grid-column: auto; }
  body.site-shell-page .footer-bottom { flex-direction: column; }
  .commerce-hero__grid { padding-block: 56px 74px; }
  .commerce-hero h1 { font-size: clamp(43px, 14vw, 64px); }
  .commerce-hero__lede { margin-top: 20px; }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search button { min-height: 48px; }
  .commerce-hero__media { width: 100%; }
  .hero-visual-card { padding: 8px; border-radius: 25px; }
  .hero-visual-card img { border-radius: 19px; }
  .hero-orbit { display: none; }
  .category-grid,
  .catalog-highlights { grid-template-columns: 1fr; }
  .catalog-highlights > article:last-child { grid-column: auto; }
  .category-card { min-height: 200px; }
  .section-heading,
  .catalog-highlights__head { align-items: flex-start; flex-direction: column; }
  .promise-section article { min-height: 120px; }
  .products-toolbar { grid-template-columns: 1fr; }
  .products-grid,
  .articles-grid { --sot-product-columns: 1 !important; --sot-article-columns: 1 !important; }
  .product-buy-panel__actions,
  .product-quick-facts { grid-template-columns: 1fr; }
  .article-hero .article-title { font-size: clamp(38px, 12vw, 58px); }
  .article-byline__separator { display: none; }
  .article-byline { flex-direction: column; }
  .auth-brand-lockup { align-items: flex-start; flex-direction: column; }
  .auth-brand-lockup p { max-width: 300px; }
  .account-toolbar { grid-template-columns: 1fr; }
  .account-user-card { grid-template-columns: 1fr; }
  .account-user-card .section-head { grid-column: auto; }
  .account-product-card,
  .cart-item-card { grid-template-columns: 1fr; }
  .account-product-image img,
  .cart-item-image img { max-height: 230px; }
  .account-product-top,
  .cart-item-top,
  .account-order-card { align-items: flex-start; flex-direction: column; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card--wide { grid-column: auto; }
  .prompt-form-grid,
  .content-form-grid { grid-template-columns: 1fr; }
  .field-span-2,
  .field-span-3 { grid-column: auto; }
  .prompt-meta-strip,
  .content-meta-strip,
  .chat-meta-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .photo-top-controls { grid-template-columns: 1fr; }
  .composerActions { display: grid; grid-template-columns: 1fr 1fr; }
  .status-card .actions { display: grid; }
}

/* Visual calibration v4 — consolidated, cache-busted, and intentionally restrained.
   Replaces the former v3.1/v3.2/v3.3 append-only patches with one final contract. */
:root {
  --sot-density-ratio: .72;
  --sot-fast: 120ms;
  --sot-motion: 180ms;
  --sot-slow: 280ms;
  --sot-shadow-hover-calm: 0 10px 26px rgba(9, 27, 48, .10), 0 2px 6px rgba(9, 27, 48, .06);
}

body.site-shell-page :where(
  .category-card, .commerce-product-card, .product-card, .article-card,
  .product-gallery-card, .product-summary-card, .product-content-block,
  .auth-panel, .account-user-card, .account-orders-shell, .account-product-card,
  .cart-panel, .cart-item-card, .status-card, .prompt-section, .content-section,
  .photo-section, .legal-main
) { min-width: 0; max-width: 100%; }

body.site-shell-page :where(
  .category-card, .commerce-product-card, .product-card, .article-card,
  .product-summary-card, .product-content-block, .auth-panel, .account-user-card,
  .account-orders-shell, .account-product-card, .cart-panel, .cart-item-card,
  .status-card, .prompt-section, .content-section, .photo-section, .legal-main
) :where(h1, h2, h3, h4, p, li, dd, dt, strong, span, a) {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Keep the homepage identity, but remove needless visual bulk from supporting sections. */
.commerce-hero__grid {
  min-height: min(620px, calc(100vh - 88px));
  gap: clamp(36px, 5vw, 78px);
  padding-block: clamp(48px, 6vw, 80px);
}
.commerce-hero h1 { font-size: clamp(44px, 5.2vw, 74px); }
.commerce-hero__lede { margin-top: 22px; }
.hero-search { margin-top: 24px; }
.hero-proof { margin-top: 18px; }

.category-section,
.editorial-section,
.featured-section,
.catalog-highlights,
.products-section,
.articles-section { padding-block: clamp(44px, 5vw, 66px); }
.section-heading,
.catalog-highlights__head { gap: 14px; margin-bottom: 18px; }
.section-heading h2,
.catalog-highlights__head h2 { font-size: clamp(23px, 2.2vw, 32px); }

.category-grid,
.dynamic-card-grid,
.catalog-highlights,
.products-grid,
.articles-grid { gap: 14px; }
.category-card { min-height: 148px; padding: 16px; border-radius: 17px; }
.category-card h3 { margin: 16px 0 5px; font-size: 18px; }
.category-card p { line-height: 1.55; }
.commerce-product-card,
.product-card,
.article-card { border-radius: 17px; }
.commerce-product-card__image img { aspect-ratio: 1.9 / 1; }
.commerce-product-card__body { padding: 14px; }
.commerce-product-card h3 { margin: 6px 0 12px; font-size: 17px; }
.product-card__media img { aspect-ratio: 1.62 / 1; }
.product-card__content { padding: 14px; }
.product-title { margin-bottom: 7px; font-size: 17px; }
.product-excerpt { margin-bottom: 13px; line-height: 1.55; -webkit-line-clamp: 2; }
.product-price-row { gap: 8px; padding-top: 10px; }
.product-price { font-size: 17px; }
.article-card-cover,
.article-card-placeholder { aspect-ratio: 1.3 / 1; }
.article-card-body { padding: 13px; }
.article-card-title { margin: 7px 0 6px; font-size: 16px; -webkit-line-clamp: 2; }
.article-card-excerpt { margin-bottom: 10px; line-height: 1.55; -webkit-line-clamp: 2; }
.article-card-link { min-height: 32px; }
.catalog-highlights > article { padding: 16px; border-radius: 17px; }
.compact-product-list { gap: 7px; }
.compact-product { min-height: 66px; grid-template-columns: 54px 1fr; gap: 10px; padding: 6px; border-radius: 12px; }

/* Large page intros: materially smaller without touching the homepage brand headline. */
.page-intro-band .page-head__text .section-title,
.auth-title,
.cart-title { font-size: clamp(29px, 3.5vw, 46px); }

/* Product detail: large cards are reduced ~20% and do not depend on transform scaling. */
.product-main-section { padding-block: clamp(24px, 3.2vw, 38px); }
.product-detail-layout { gap: clamp(12px, 1.8vw, 23px); }
.product-gallery-card { padding: 6px; border-radius: 14px; }
.product-main-image-wrap { border-radius: 11px; }
.product-main-image-wrap img {
  max-height: min(46vh, 300px);
  aspect-ratio: 1.5 / 1;
  object-fit: contain;
}
.product-thumbs { gap: 6px; padding-top: 7px; }
.product-thumbs button { width: 50px; height: 50px; border-radius: 9px; }
.product-summary-card { padding: clamp(12px, 1.8vw, 18px); border-radius: 14px; }
.product-summary-card .product-title { font-size: clamp(25px, 2.55vw, 34px); line-height: 1.04; }
.product-top-meta { margin-bottom: 10px; }
.product-summary-text { margin-top: 10px; line-height: 1.62; }
.product-price-block { margin: 13px 0 9px; padding: 10px 12px; border-radius: 12px; }
.summary-price { font-size: clamp(22px, 2.2vw, 29px); }
.product-purchase-note { margin-top: 8px; }
.product-quick-facts { gap: 6px; margin-top: 11px; }
.product-quick-facts > div { padding: 8px; border-radius: 10px; }
.product-description-section {
  width: min(100%, 780px);
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 12px auto 0;
}
.product-description-section > * { grid-column: 1; width: 100%; }
.product-content-block { padding: clamp(12px, 1.8vw, 19px); border-radius: 14px; }
.product-content-block h2 { margin: 5px 0 11px; font-size: clamp(21px, 2vw, 27px); }
.product-description-content { max-width: none; font-size: 15px; line-height: 1.7; }
.product-description-content :where(h2, h3, h4) { margin-top: 1.45em; }

/* Article reading: SSR content is visible immediately, and the title band is deliberately compact. */
.article-hero__inner { max-width: 820px; padding-block: clamp(30px, 4vw, 48px); }
.article-hero .article-title {
  max-width: 790px;
  margin-top: 9px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.article-subtitle {
  max-width: 760px;
  margin-top: 13px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}
.article-byline { margin-top: 13px; }
.article-content-section { padding-block: clamp(26px, 3.5vw, 42px); }
.article-reader { max-width: 720px; }
.article-back-link { min-height: 34px; margin-bottom: 14px; }
.article-body { font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.74; }
.article-body :where(h2, h3, h4) { margin-top: 1.45em; }
.article-body h2 { font-size: clamp(22px, 2.3vw, 28px); }
.article-body h3 { font-size: clamp(18px, 1.9vw, 22px); }
.article-body blockquote { margin-block: 1.35em; padding: 15px 18px; }
.article-body :where(img, video, iframe) { margin-block: 20px; }

/* SSR priority: never hide article/product core content behind reveal JavaScript. */
.article-content-section[data-sot-reveal],
.product-main-section[data-sot-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Rich links remain visibly interactive. */
.product-description-content a,
.article-body a,
.legal-main a {
  color: #087f98;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: .09em;
  text-decoration-color: rgba(8, 127, 152, .46);
  text-underline-offset: .18em;
  border-radius: 4px;
  background: linear-gradient(180deg, transparent 72%, rgba(24, 216, 238, .13) 72%);
  transition: color var(--sot-fast) ease, text-decoration-color var(--sot-fast) ease, background var(--sot-fast) ease;
}
.product-description-content a:hover,
.product-description-content a:focus-visible,
.article-body a:hover,
.article-body a:focus-visible,
.legal-main a:hover,
.legal-main a:focus-visible {
  color: #9b1974;
  text-decoration-color: rgba(238, 51, 177, .62);
  background: linear-gradient(180deg, transparent 66%, rgba(238, 51, 177, .11) 66%);
}
.product-description-content a[target="_blank"]::after,
.article-body a[target="_blank"]::after,
.legal-main a[target="_blank"]::after {
  content: " ↗";
  display: inline;
  font-size: .78em;
  font-weight: 800;
  text-decoration: none;
}

/* Motion contract: subtle depth only. Large functional surfaces stay stationary. */
.sot-tilt.is-pointer-active { --sot-lift: -1px; }
[data-sot-reveal] { transform: translate3d(0, 4px, 0); }
:where(a, button, article):hover .sot-icon { transform: translateZ(8px) rotate(-1deg) scale(1.012); }
.commerce-product-card:hover .commerce-product-card__image img,
.product-card:hover .product-card__media img { transform: scale(1.01); }
.article-card:hover .article-card-cover { transform: scale(1.012); }
.category-card:hover,
.commerce-product-card:hover,
.product-card:hover,
.article-card:hover { box-shadow: var(--sot-shadow-hover-calm); }
body.site-shell-page :where(.button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn, .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn, .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a, .actions button):hover { transform: translateY(-1px); }
body.site-shell-page .logo:hover { transform: perspective(500px) rotateY(-1.5deg); }
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action, .icon-btn, .mobile-search-btn):hover,
body.site-shell-page :where(.nav-links a.is-active, .nav-links a[aria-current="page"], .nav-dropdown__toggle.is-active) { transform: translateY(-1px); }

/* Other large public surfaces are moderately tighter; admin geometry is intentionally untouched. */
.editorial-feature { gap: clamp(26px, 4vw, 56px); padding: clamp(16px, 2vw, 24px); border-radius: 23px; }
.promise-section article { min-height: 108px; padding: 18px; }
.auth-section { min-height: 360px; padding-block: clamp(28px, 3.5vw, 44px); }
.auth-panel { padding: clamp(13px, 2.3vw, 21px); border-radius: 16px; }
.account-main,
.cart-main { padding-block: clamp(34px, 4vw, 52px); }
.account-user-card,
.account-orders-shell,
.cart-panel { border-radius: 15px; }
.account-orders-shell,
.cart-panel { padding: clamp(12px, 1.6vw, 17px); }
.prompt-page-top,
.photo-page-top { padding: clamp(14px, 2.2vw, 23px); border-radius: 16px; }
.prompt-main,
.content-main,
.photo-converter-main { padding-block: clamp(17px, 2.3vw, 32px); }
.prompt-editor-section,
.prompt-output-section,
.content-editor-column,
.chat-editor-section,
.photo-section { padding: clamp(12px, 1.55vw, 17px); border-radius: 15px; }
.legal-main { margin-block: clamp(27px, 3.5vw, 44px); padding: clamp(13px, 2.3vw, 23px); border-radius: 16px; }
.status-card { max-width: 520px; padding: clamp(22px, 4vw, 40px); border-radius: 23px; }

@media (max-width: 760px) {
  .commerce-hero__grid { padding-block: 44px 56px; }
  .commerce-hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .category-section,
  .editorial-section,
  .featured-section,
  .catalog-highlights,
  .products-section,
  .articles-section { padding-block: 40px; }
  .category-grid,
  .dynamic-card-grid,
  .catalog-highlights,
  .products-grid,
  .articles-grid { gap: 12px; }
  .product-main-section { padding-block: 26px; }
  .product-main-image-wrap img { max-height: 280px; aspect-ratio: 1.2 / 1; }
  .product-summary-card,
  .product-content-block,
  .auth-panel,
  .cart-panel,
  .account-orders-shell { padding: 14px; }
  .article-hero__inner { padding-block: 26px 32px; }
  .article-hero .article-title { font-size: clamp(29px, 9vw, 42px); }
  .article-content-section { padding-block: 26px 36px; }
  .article-reader { max-width: 100%; }
}

@media (max-width: 430px) {
  .section-heading h2,
  .catalog-highlights__head h2 { font-size: 25px; }
  .commerce-product-card__body,
  .product-card__content,
  .article-card-body { padding: 13px; }
  .product-summary-card,
  .product-content-block,
  .auth-panel,
  .cart-panel,
  .account-orders-shell { padding: 13px; }
}

/* Accessibility and capability fallbacks. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-sot-reveal] { opacity: 1; transform: none; }
  .sot-depth-card,
  .sot-tilt,
  .sot-tilt.is-pointer-active { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  body.site-shell-page :where(.nav-shell, .mobile-nav-wrap, .search-panel, .hero-search, .hero-float-card) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.site-shell-page .nav-shell { background: #030711; }
  body.site-shell-page :where(.mobile-nav-wrap, .search-panel) { background: #07101e; }
}

@media (forced-colors: active) {
  body.site-shell-page :where(.sot-icon, .category-card, .product-card, .article-card, .commerce-product-card, .auth-panel, .cart-panel, .account-user-card) { border: 1px solid CanvasText; }
  body.site-shell-page :where(button, a, input, select, textarea):focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}

/* BEGIN BUNDLED PUBLIC LAYOUT */
/* ShopOneTime Layout System v5
   Structural redesign based on the approved reference layouts.
   Deliberately scoped away from /admin and independent of the admin stylesheet. */

:root {
  --layout-max: 1480px;
  --layout-gutter: clamp(18px, 3vw, 48px);
  --layout-gap: clamp(16px, 2vw, 28px);
  --layout-panel: color-mix(in srgb, var(--sot-surface, #fff) 92%, transparent);
  --layout-line: color-mix(in srgb, var(--sot-line, #d7e1e9) 80%, transparent);
}

body.site-shell-page:not(.admin-shell-page) .container {
  width: min(var(--layout-max), calc(100% - (var(--layout-gutter) * 2)));
}

/* Homepage: central marketplace hub */
.marketplace-hub {
  min-height: auto;
  padding: clamp(28px, 4vw, 58px) 0 22px;
  overflow: clip;
}

.marketplace-hub__stage {
  position: relative;
  min-height: clamp(620px, 72vw, 820px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.marketplace-hub__stage::before {
  content: "";
  position: absolute;
  inset: 7% 10%;
  z-index: -4;
  border-radius: 50%;
  background:
    linear-gradient(var(--layout-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--layout-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 74%);
  opacity: .32;
}

.marketplace-hub__ring {
  position: absolute;
  z-index: -2;
  border: 1px solid color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 40%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.marketplace-hub__ring--outer {
  width: min(1040px, 78vw);
  aspect-ratio: 1.82;
}

.marketplace-hub__ring--inner {
  width: min(800px, 59vw);
  aspect-ratio: 1.75;
  border-style: dashed;
  opacity: .55;
}

.marketplace-hub__core {
  width: min(650px, 46vw);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(34px, 5vw, 68px);
  text-align: center;
  border: 1px solid var(--layout-line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--sot-surface, #fff) 84%, transparent);
  box-shadow: 0 28px 80px rgba(2, 15, 28, .14);
  backdrop-filter: blur(18px);
}

.marketplace-hub__core h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.06em;
}

.marketplace-hub__core .commerce-hero__lede {
  max-width: 520px;
  margin: 0;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.65;
}

.marketplace-hub__core .hero-search {
  width: 100%;
  margin: 4px 0 0;
}

.hub-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.hub-popular a {
  padding: 6px 10px;
  border: 1px solid var(--layout-line);
  border-radius: 999px;
}

.hub-node {
  position: absolute;
  z-index: 4;
  width: 150px;
  min-height: 112px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 14px;
  border: 1px solid var(--layout-line);
  border-radius: 20px;
  background: var(--layout-panel);
  box-shadow: 0 16px 38px rgba(2, 15, 28, .1);
  transition: translate 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hub-node:hover {
  translate: 0 -3px;
  border-color: var(--sot-cyan-500, #18d8ee);
  box-shadow: 0 18px 44px rgba(2, 15, 28, .16);
}

.hub-node__icon {
  grid-row: 1 / 3;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 55%, transparent);
  border-radius: 50%;
  font: 800 18px/1 var(--sot-font-mono, monospace);
}

.hub-node strong { align-self: end; font-size: 14px; }
.hub-node small { align-self: start; font-size: 10px; opacity: .72; }
.hub-node--shop { inset: 9% auto auto 18%; }
.hub-node--software { inset: 9% 18% auto auto; }
.hub-node--books { inset: 39% auto auto 5%; }
.hub-node--digital { inset: 39% 5% auto auto; }
.hub-node--tools { inset: auto auto 18% 17%; }
.hub-node--articles { inset: auto 17% 18% auto; }

.hub-assurances {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 1%;
  translate: -50% 0;
  width: min(720px, 68vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 13px;
  border: 1px solid var(--layout-line);
  border-radius: 17px;
  background: var(--layout-panel);
  box-shadow: 0 18px 46px rgba(2, 15, 28, .1);
}

.hub-assurances > span {
  display: grid;
  gap: 3px;
  padding: 5px 14px;
  border-inline-end: 1px solid var(--layout-line);
}

.hub-assurances > span:last-child { border-inline-end: 0; }
.hub-assurances strong { font-size: 11px; }
.hub-assurances small { font-size: 9.5px; opacity: .7; }

/* Product catalogue: fixed category rail + dense results */
.products-shell-page .page-intro-band {
  min-height: auto;
}

.products-shell-page .products-intro {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(420px, .65fr);
  align-items: center;
  gap: var(--layout-gap);
  padding-block: 30px;
}

.products-shell-page .products-intro .section-title {
  font-size: clamp(30px, 3.5vw, 48px);
}

.products-shell-page .products-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.catalog-workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.catalog-sidebar__group {
  padding: 17px;
  border: 1px solid var(--layout-line);
  border-radius: 17px;
  background: var(--layout-panel);
}

.catalog-sidebar__title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-category-nav,
.catalog-sidebar__promise {
  display: grid;
  gap: 5px;
}

.catalog-category-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
}

.catalog-category-nav a::after { content: "›"; opacity: .5; }
.catalog-category-nav a:hover,
.catalog-category-nav a.active { background: color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 10%, transparent); }
.catalog-sidebar__promise span { padding: 8px 0; border-bottom: 1px solid var(--layout-line); font-size: 11px; }
.catalog-sidebar__promise span:last-child { border-bottom: 0; }
.catalog-results { min-width: 0; }

.catalog-results .products-grid {
  grid-template-columns: repeat(var(--sot-product-columns, 4), minmax(0, 1fr));
  gap: 15px;
}

.catalog-results .product-card { border-radius: 15px; }
.catalog-results .product-card__content { padding: 14px; }
.catalog-results .product-title { font-size: 15px; }
.catalog-results .product-excerpt { margin-bottom: 13px; font-size: 11.5px; -webkit-line-clamp: 2; }
.catalog-results .product-price { font-size: 15px; }

/* Product detail: gallery, purchase decision, assurance rail */
.product-shell-page .product-main-section { padding-block: 34px 70px; }
.product-shell-page .product-detail-layout {
  grid-template-columns: minmax(340px, 1.05fr) minmax(330px, .9fr) minmax(210px, .48fr);
  gap: 20px;
}

.product-shell-page .product-gallery-card,
.product-shell-page .product-summary-card,
.product-shell-page .product-content-block { border-radius: 18px; }
.product-shell-page .product-summary-card { padding: 26px; }
.product-shell-page .product-summary-card .product-title { font-size: clamp(30px, 3vw, 46px); }
.product-shell-page .product-main-image-wrap img { max-height: 520px; }

.product-assurance-rail {
  display: grid;
  gap: 10px;
}

.product-assurance-rail article {
  min-height: 88px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--layout-line);
  border-radius: 15px;
  background: var(--layout-panel);
}

.product-assurance-rail article > span {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 55%, transparent);
  border-radius: 10px;
  font-weight: 850;
}

.product-assurance-rail article div { display: grid; gap: 4px; }
.product-assurance-rail strong { font-size: 12px; }
.product-assurance-rail small { font-size: 9.5px; line-height: 1.45; opacity: .7; }

.product-section-tabs {
  position: sticky;
  top: 72px;
  z-index: 25;
  display: flex;
  gap: 26px;
  margin-top: 24px;
  padding: 0 10px;
  border-block: 1px solid var(--layout-line);
  background: color-mix(in srgb, var(--sot-surface, #fff) 92%, transparent);
  backdrop-filter: blur(16px);
}

.product-section-tabs a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 760;
}

.product-section-tabs a.active,
.product-section-tabs a:hover { border-color: var(--sot-cyan-500, #18d8ee); }

.product-shell-page .product-description-section {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  margin-top: 22px;
}

/* Article reader: action rail + reading column + table of contents */
.article-shell-page .reading-progress {
  position: fixed;
  inset: 72px 0 auto;
  z-index: 88;
  height: 2px;
  background: var(--layout-line);
}

.article-shell-page .reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sot-brand-gradient, linear-gradient(90deg, #18d8ee, #ee33b1));
}

.article-shell-page .article-hero__inner {
  max-width: 940px;
  padding-block: 46px 34px;
}

.article-shell-page .article-hero .article-title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.article-reading-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 780px) minmax(190px, 250px);
  justify-content: center;
  align-items: start;
  gap: 28px;
}

.article-action-rail,
.article-toc { position: sticky; top: 110px; }
.article-action-rail { display: grid; gap: 8px; }
.article-action-rail button {
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
}
.article-action-rail button:hover { background: color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 9%, transparent); }
.article-action-rail button span { font-size: 21px; }
.article-action-rail button small { font-size: 9.5px; }
.article-toc {
  max-height: calc(100vh - 135px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--layout-line);
  border-radius: 16px;
  background: var(--layout-panel);
}
.article-toc > strong { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.article-toc nav { display: grid; gap: 5px; }
.article-toc a { padding: 7px 8px; border-inline-start: 2px solid transparent; font-size: 11px; line-height: 1.35; }
.article-toc a:hover,
.article-toc a.active { border-color: var(--sot-cyan-500, #18d8ee); background: color-mix(in srgb, var(--sot-cyan-500, #18d8ee) 8%, transparent); }
.article-shell-page .article-content-section { padding-block: 32px 70px; }
.article-shell-page .article-reader { max-width: none; margin: 0; }
.article-shell-page .article-body { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.84; }
.article-shell-page .article-body h2 { font-size: clamp(25px, 2.8vw, 36px); }

/* Article catalogue */
.articles-shell-page .page-intro-band { min-height: auto; }
.articles-shell-page .articles-intro { padding-block: 30px; }
.articles-shell-page .articles-intro .section-title { font-size: clamp(30px, 3.5vw, 48px); }
.articles-shell-page .articles-grid { gap: 15px; }
.articles-shell-page .article-card { border-radius: 15px; }
.articles-shell-page .article-card-body { padding: 14px; }
.articles-shell-page .article-card-title { font-size: 15px; }
.articles-shell-page .article-card-excerpt { font-size: 11.5px; -webkit-line-clamp: 2; }

/* Authentication: illustration column + focused form */
.auth-shell-page .auth-hero { min-height: auto; }
.auth-shell-page .auth-hero__inner { padding-block: 26px 12px; }
.auth-shell-page .auth-title { font-size: clamp(28px, 3.4vw, 44px); }
.auth-shell-page .auth-layout--split {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 20px;
  margin-inline: auto;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--layout-line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--sot-ink-950, #07111f) 94%, var(--sot-cyan-500, #18d8ee));
  color: #fff;
}
.auth-visual__symbol {
  position: absolute;
  inset: 42px 50% auto;
  translate: 50% 0;
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.03), 0 0 0 64px rgba(255,255,255,.02);
}
.auth-visual__symbol span { font-size: 88px; }
.auth-visual h2 { max-width: 390px; margin: 8px 0 18px; color: #fff; font-size: 30px; line-height: 1.08; }
.auth-visual ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.auth-visual li::before { content: "✓"; margin-inline-end: 8px; }
.auth-shell-page .auth-panel { border-radius: 20px; }

/* Account: dashboard-like composition without changing account logic */
.account-shell-page .account-intro {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr);
  align-items: end;
  gap: var(--layout-gap);
  padding-block: 32px;
}
.account-shell-page .account-intro .section-title { font-size: clamp(30px, 3.5vw, 48px); }
.account-shell-page .account-toolbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.account-shell-page .account-stat-panel { min-height: 86px; padding: 14px; border-radius: 14px; }
.account-shell-page .account-layout { grid-template-columns: 230px minmax(0, 1fr); }
.account-shell-page .account-sidebar { position: sticky; top: 92px; }
.account-shell-page .account-user-card,
.account-shell-page .account-products-shell,
.account-shell-page .account-orders-shell { border-radius: 17px; }

/* Responsive collapse */
@media (max-width: 1180px) {
  .hub-node { width: 132px; min-height: 96px; grid-template-columns: 40px 1fr; padding: 11px; }
  .hub-node__icon { width: 40px; }
  .product-shell-page .product-detail-layout { grid-template-columns: minmax(330px, 1fr) minmax(320px, .9fr); }
  .product-assurance-rail { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .article-reading-layout { grid-template-columns: 70px minmax(0, 760px) 210px; gap: 18px; }
}

@media (max-width: 960px) {
  .marketplace-hub__stage { min-height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-block: 18px; }
  .marketplace-hub__ring { display: none; }
  .marketplace-hub__core { grid-column: 1 / -1; grid-row: 1; width: 100%; border-radius: 28px; padding: 38px; }
  .hub-node { position: static; width: auto; min-height: 92px; }
  .hub-assurances { position: static; grid-column: 1 / -1; width: 100%; translate: none; }
  .catalog-workspace { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-category-nav { grid-template-columns: repeat(3, 1fr); }
  .article-reading-layout { grid-template-columns: 1fr; }
  .article-action-rail { position: static; display: flex; }
  .article-action-rail button { min-height: 48px; grid-template-columns: auto auto; }
  .article-toc { position: static; grid-row: 2; max-height: none; }
  .auth-shell-page .auth-layout--split { grid-template-columns: 1fr; }
  .auth-visual { min-height: 330px; }
  .auth-visual__symbol { inset-block-start: 20px; width: 150px; }
}

@media (max-width: 720px) {
  .marketplace-hub__stage { grid-template-columns: 1fr 1fr; }
  .marketplace-hub__core { padding: 30px 20px; }
  .marketplace-hub__core h1 { font-size: clamp(44px, 15vw, 68px); }
  .hub-assurances { grid-template-columns: 1fr 1fr; }
  .hub-assurances > span:nth-child(2) { border-inline-end: 0; }
  .hub-assurances > span { border-bottom: 1px solid var(--layout-line); }
  .hub-assurances > span:nth-last-child(-n+2) { border-bottom: 0; }
  .products-shell-page .products-intro,
  .account-shell-page .account-intro { grid-template-columns: 1fr; }
  .products-shell-page .products-toolbar { grid-template-columns: 1fr; }
  .catalog-sidebar { grid-template-columns: 1fr; }
  .catalog-category-nav { grid-template-columns: 1fr 1fr; }
  .product-shell-page .product-detail-layout { grid-template-columns: 1fr; }
  .product-assurance-rail { grid-template-columns: 1fr 1fr; }
  .product-section-tabs { overflow-x: auto; gap: 18px; }
  .account-shell-page .account-toolbar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .marketplace-hub__stage { grid-template-columns: 1fr; }
  .marketplace-hub__core,
  .hub-assurances { grid-column: 1; }
  .hub-node { grid-template-columns: 42px 1fr; }
  .hub-assurances,
  .product-assurance-rail { grid-template-columns: 1fr; }
  .hub-assurances > span { border-inline-end: 0; }
  .catalog-category-nav { grid-template-columns: 1fr; }
  .auth-visual { min-height: 290px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-node { transition: none; }
}


/* ShopOneTime Reference Fidelity v6
   Dark technical storefront treatment matching the approved concept art.
   Public pages only; admin remains isolated and unchanged. */

:root {
  color-scheme: dark;
  --sot-black: #01040b;
  --sot-ink-950: #030814;
  --sot-ink-900: #06101f;
  --sot-ink-850: #0a1729;
  --sot-ink-800: #102039;
  --sot-text: #f4f8ff;
  --sot-text-soft: #c7d5e8;
  --sot-muted: #8fa2bb;
  --sot-muted-light: #6f829c;
  --sot-canvas: #020712;
  --sot-canvas-2: #050c19;
  --sot-surface: #07111f;
  --sot-surface-2: #0a1627;
  --sot-line: #18314c;
  --sot-line-strong: #285071;
  --sot-shadow-1: 0 12px 34px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .025);
  --sot-shadow-2: 0 20px 56px rgba(0, 0, 0, .38), 0 0 24px rgba(24, 216, 238, .035);
  --sot-shadow-3d: 0 30px 80px rgba(0, 0, 0, .48), 0 0 30px rgba(24, 216, 238, .08), 0 0 26px rgba(238, 51, 177, .05);
  --layout-panel: linear-gradient(145deg, rgba(10, 24, 42, .94), rgba(4, 11, 24, .97));
  --layout-line: rgba(79, 141, 184, .25);
}

html { background: var(--sot-canvas); }

body.site-shell-page:not(.admin-shell-page) {
  color: var(--sot-text);
  background:
    radial-gradient(900px 560px at 8% 18%, rgba(0, 187, 255, .11), transparent 68%),
    radial-gradient(820px 580px at 96% 82%, rgba(238, 51, 177, .105), transparent 70%),
    linear-gradient(rgba(32, 104, 146, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 104, 146, .055) 1px, transparent 1px),
    linear-gradient(180deg, #020711 0%, #040b17 46%, #020711 100%);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  background-attachment: fixed;
}

body.site-shell-page:not(.admin-shell-page)::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(24, 216, 238, .018), transparent 38%, rgba(238, 51, 177, .02));
}

body.site-shell-page:not(.admin-shell-page) :where(h1, h2, h3, h4) { color: var(--sot-text); }
body.site-shell-page:not(.admin-shell-page) :where(p) { color: var(--sot-muted); }

/* Consistent dark glass surfaces */
body.site-shell-page:not(.admin-shell-page) :where(
  .category-card, .commerce-product-card, .commerce-article-card, .product-card,
  .article-card, .product-gallery-card, .product-summary-card, .product-content-block,
  .product-feedback-card, .auth-panel, .account-user-card, .account-products-shell,
  .account-orders-shell, .account-product-card, .account-order-card, .cart-panel,
  .cart-item-card, .legal-card, .support-card, .tool-panel, .catalog-sidebar__group,
  .article-toc, .product-assurance-rail article, .account-stat-panel
) {
  color: var(--sot-text);
  border-color: rgba(71, 129, 170, .26);
  background: linear-gradient(145deg, rgba(10, 23, 40, .94), rgba(4, 11, 23, .98));
  box-shadow: var(--sot-shadow-1);
}

body.site-shell-page:not(.admin-shell-page) :where(
  .category-card, .commerce-product-card, .commerce-article-card, .product-card,
  .article-card, .product-gallery-card, .product-summary-card, .product-content-block,
  .auth-panel, .account-user-card, .account-product-card, .cart-panel, .cart-item-card
):hover {
  border-color: rgba(24, 216, 238, .52);
  box-shadow: var(--sot-shadow-3d);
}

body.site-shell-page:not(.admin-shell-page) :where(input, select, textarea) {
  color: #edf8ff;
  border-color: rgba(77, 140, 181, .36);
  background: #0a182a;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, .26);
}

body.site-shell-page:not(.admin-shell-page) :where(input, select, textarea)::placeholder { color: #7288a4; }

/* Homepage orbital scene */
.marketplace-hub {
  position: relative;
  z-index: 0;
  isolation: isolate;
  border-bottom: 1px solid rgba(69, 135, 178, .18);
  background:
    radial-gradient(ellipse at center, rgba(9, 50, 80, .52) 0%, rgba(2, 9, 21, .22) 46%, transparent 74%);
}

.marketplace-hub::before,
.marketplace-hub::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(34px);
  opacity: .34;
}
.marketplace-hub::before { width: 360px; height: 220px; left: 12%; top: 22%; background: #00c9ff; }
.marketplace-hub::after { width: 330px; height: 250px; right: 13%; bottom: 16%; background: #f22ab5; }

.marketplace-hub__stage {
  z-index: 1;
  min-height: clamp(610px, 56vw, 780px);
}
.marketplace-hub__stage::before {
  z-index: 0;
  opacity: .48;
  background-size: 40px 40px;
}

.marketplace-hub__ring {
  z-index: 1;
  border-color: rgba(56, 211, 255, .32);
  box-shadow: 0 0 36px rgba(24, 216, 238, .08), inset 0 0 32px rgba(238, 51, 177, .04);
  animation: sot-orbit-breathe 5.6s ease-in-out infinite;
}
.marketplace-hub__ring--inner {
  border-color: rgba(238, 51, 177, .26);
  animation-delay: -2.8s;
}

.marketplace-hub__core {
  position: relative;
  z-index: 3;
  isolation: isolate;
  border-color: rgba(70, 194, 232, .48);
  background:
    radial-gradient(circle at 18% 12%, rgba(24, 216, 238, .105), transparent 35%),
    radial-gradient(circle at 82% 86%, rgba(238, 51, 177, .115), transparent 38%),
    rgba(3, 10, 23, .9);
  box-shadow:
    0 0 0 1px rgba(238, 51, 177, .1),
    0 0 34px rgba(24, 216, 238, .2),
    0 0 62px rgba(238, 51, 177, .12),
    inset 0 0 54px rgba(18, 94, 130, .08);
}

.marketplace-hub__core::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  border: 1px solid rgba(40, 229, 255, .74);
  background: transparent;
  box-shadow: 18px 18px 40px -34px rgba(250, 58, 188, .95);
  pointer-events: none;
}

.marketplace-hub__core > * {
  position: relative;
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.marketplace-hub__core h1 span,
.section-title span {
  color: transparent;
  background: linear-gradient(105deg, #25ddf5, #70baff 54%, #ff52c6);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 16px rgba(24, 216, 238, .16));
}

.hero-search {
  border-color: rgba(57, 214, 247, .58);
  background: #071426;
  box-shadow: 0 0 22px rgba(24, 216, 238, .12), 0 0 20px rgba(238, 51, 177, .07), inset 0 0 18px rgba(0, 0, 0, .24);
}
.hero-search input { color: #f4fbff; background: transparent !important; box-shadow: none !important; }
.hero-search button,
.primary-btn,
.button--primary {
  color: #02101a !important;
  background: linear-gradient(105deg, #2fe3f4 5%, #54b6ff 58%, #f23bb5 100%) !important;
  box-shadow: 0 0 22px rgba(24, 216, 238, .18), 0 0 18px rgba(238, 51, 177, .13);
}

.hub-popular a { color: #b9cae0; background: rgba(8, 22, 39, .74); }
.hub-node {
  z-index: 4;
  visibility: visible;
  opacity: 1;
  color: #f4f8ff;
  border-color: rgba(74, 143, 189, .34);
  background: linear-gradient(145deg, rgba(10, 27, 47, .96), rgba(3, 11, 23, .98));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .025);
  animation: sot-node-float 5s ease-in-out infinite;
}
.hub-node:nth-of-type(even) { animation-delay: -2.4s; }
.hub-node:hover {
  border-color: rgba(43, 226, 247, .7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42), 0 0 22px rgba(24, 216, 238, .16), 0 0 18px rgba(238, 51, 177, .1);
}
.hub-node__icon {
  color: #5feaff;
  border-color: rgba(63, 221, 245, .48);
  background: radial-gradient(circle at 35% 30%, rgba(29, 218, 239, .16), rgba(8, 19, 37, .94));
  box-shadow: 0 0 20px rgba(24, 216, 238, .12);
}
.hub-node__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hub-node small { color: #8298b3; }
.hub-assurances {
  z-index: 5;
  visibility: visible;
  opacity: 1;
  color: #edf7ff;
  border-color: rgba(76, 143, 184, .32);
  background: linear-gradient(145deg, rgba(9, 26, 45, .94), rgba(4, 12, 24, .98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .36), 0 0 22px rgba(24, 216, 238, .045);
}
.hub-assurances > * {
  position: relative;
  z-index: 1;
  visibility: visible;
  opacity: 1;
}

/* Catalogue and cards */
.page-intro-band,
.product-hero-band,
.article-hero {
  background:
    radial-gradient(600px 240px at 12% 0%, rgba(24, 216, 238, .09), transparent 70%),
    radial-gradient(520px 230px at 88% 0%, rgba(238, 51, 177, .07), transparent 70%),
    rgba(3, 10, 22, .84);
  border-bottom-color: rgba(69, 133, 178, .2);
}
.products-grid,
.articles-grid { perspective: none; }
.product-card,
.article-card { overflow: hidden; }
.product-card::before,
.article-card::before,
.product-gallery-card::before,
.product-summary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(24, 216, 238, .045), transparent 42%, rgba(238, 51, 177, .035));
}
.product-card > *, .article-card > *, .product-gallery-card > *, .product-summary-card > * { position: relative; z-index: 1; }
.product-card__media,
.article-card-cover-wrap,
.product-main-image-wrap,
.account-product-image { background: #07111f; }
.product-card__media img,
.article-card-cover { filter: saturate(1.08) contrast(1.04); }
.product-title,
.article-card-title,
.commerce-product-card h3,
.commerce-article-card h3 { color: #f2f7ff; }
.product-excerpt,
.article-card-excerpt,
.product-summary-text,
.product-description-content { color: #9aacc2; }
.product-price-row { border-top-color: rgba(72, 132, 172, .22); }
.product-price,
.summary-price { color: #55e7f7; }
.catalog-category-nav a { color: #aabbd0; }
.catalog-category-nav a:hover,
.catalog-category-nav a.active { color: #f4fbff; background: linear-gradient(90deg, rgba(24, 216, 238, .13), rgba(238, 51, 177, .06)); }
.catalog-sidebar__promise span { border-bottom-color: rgba(75, 133, 172, .2); }

/* Product detail */
.product-gallery-card,
.product-summary-card,
.product-content-block { position: relative; }
.product-thumbs button {
  border-color: rgba(77, 140, 181, .28);
  background: #071426;
}
.product-thumbs button:hover,
.product-thumbs button.active { border-color: #42dff3; box-shadow: 0 0 16px rgba(24, 216, 238, .16); }
.product-type-chip,
.featured-badge { color: #60e8f5; background: rgba(24, 216, 238, .09); border-color: rgba(24, 216, 238, .26); }
.product-price-block {
  border-color: rgba(61, 214, 239, .28);
  background: linear-gradient(135deg, rgba(24, 216, 238, .08), rgba(238, 51, 177, .055));
}
.product-quick-facts > div,
.product-technical-list > div {
  border-color: rgba(72, 134, 174, .23);
  background: rgba(8, 22, 39, .82);
}
.product-section-tabs { background: rgba(3, 10, 21, .9); border-color: rgba(70, 132, 175, .22); }
.product-section-tabs a { color: #95a8c0; }
.product-section-tabs a:hover,
.product-section-tabs a.active { color: #eefaff; }
.secondary-btn { color: #e5eff9; border-color: rgba(73, 139, 181, .4); background: rgba(9, 23, 40, .9); }

/* Reader */
.article-shell-page .article-body { color: #afbdd0; }
.article-shell-page .article-body :where(h2, h3, h4) { color: #f3f8ff; }
.article-shell-page .article-body blockquote {
  color: #c9d8e8;
  border-color: #2be0f2;
  background: linear-gradient(90deg, rgba(24, 216, 238, .1), rgba(238, 51, 177, .045));
  box-shadow: inset 0 0 20px rgba(24, 216, 238, .025);
}
.article-shell-page .article-body pre {
  border: 1px solid rgba(68, 137, 180, .28);
  background: #020813;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, .45), 0 0 18px rgba(24, 216, 238, .04);
}
.article-action-rail button { color: #96a8bd; }
.article-action-rail button:hover,
.article-action-rail button.active { color: #5be8f7; background: rgba(24, 216, 238, .08); }
.article-toc a { color: #91a3ba; }
.article-toc a:hover,
.article-toc a.active { color: #f2f8ff; }

.skeleton-line,
.skeleton-box {
  background: linear-gradient(100deg, #0b192a 18%, #132943 38%, #0b192a 62%);
  background-size: 220% 100%;
  border-color: rgba(71, 132, 172, .16);
}

/* Authentication and account */
.auth-visual {
  background:
    radial-gradient(circle at 50% 28%, rgba(24, 216, 238, .19), transparent 32%),
    radial-gradient(circle at 50% 30%, rgba(238, 51, 177, .12), transparent 47%),
    linear-gradient(150deg, #071426, #030916 72%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), 0 0 26px rgba(24, 216, 238, .07);
}
.auth-visual__symbol {
  border-color: rgba(69, 223, 244, .46);
  box-shadow: 0 0 0 32px rgba(24, 216, 238, .025), 0 0 0 64px rgba(238, 51, 177, .018), 0 0 34px rgba(24, 216, 238, .13);
}
.auth-tabs { border-color: rgba(72, 136, 176, .24); background: #071426; }
.auth-tab { color: #8ea2bb; }
.auth-tab.active { color: #f4fbff; background: linear-gradient(105deg, rgba(24, 216, 238, .17), rgba(238, 51, 177, .1)); }
.profile-item,
.account-products-shell .products-section-bar,
.account-orders-shell .products-section-bar { border-color: rgba(72, 132, 172, .22); }
.account-btn-light { color: #c8d6e8; border-color: rgba(73, 139, 181, .34); background: #081629; }

@keyframes sot-orbit-breathe {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.012); }
}
@keyframes sot-node-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -5px; }
}

@media (max-width: 960px) {
  .marketplace-hub__core { border-radius: 28px; }
  .marketplace-hub__core::before { border-radius: 28px; }
  .hub-node { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-hub__ring,
  .hub-node { animation: none !important; }
}


/* ShopOneTime Refinement v7
   Final public density, contrast, and reading-width calibration.
   Loaded after every earlier visual layer so old layout rules cannot re-inflate the UI. */

:root {
  --sot-canvas: #020711;
  --sot-surface: #071321;
  --sot-surface-2: #0a192a;
  --sot-surface-3: #0d1e31;
  --sot-text: #eef5fc;
  --sot-text-soft: #c5d3e3;
  --sot-muted: #98abc1;
  --sot-line: rgba(91, 142, 179, .25);
  --sot-line-strong: rgba(89, 170, 214, .42);
  --sot-shadow-1: 0 8px 24px rgba(0, 0, 0, .22);
  --sot-shadow-2: 0 14px 34px rgba(0, 0, 0, .28);
  --sot-shadow-3d: 0 18px 46px rgba(0, 0, 0, .34), 0 0 20px rgba(24, 216, 238, .045);
}

/* Compact global shell. */
body.site-shell-page .site-header { position: sticky; top: 0; }
body.site-shell-page .nav-shell > .container { padding-block: 3px; }
body.site-shell-page .top-nav {
  min-height: 66px;
  grid-template-columns: 174px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 34px);
}
body.site-shell-page .site-logo-image { width: 166px; height: auto; }
body.site-shell-page .desktop-nav { gap: 3px; }
body.site-shell-page :where(.nav-links a, .nav-dropdown__toggle, .nav-action) {
  min-height: 38px;
  padding-inline: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 670;
}
body.site-shell-page :where(.nav-action svg, .icon-btn svg) { width: 18px; height: 18px; }

body.site-shell-page:not(.admin-shell-page) {
  font-size: 14px;
  color: var(--sot-text);
}

body.site-shell-page:not(.admin-shell-page) :where(
  .featured-section, .category-section, .catalog-highlights, .promise-section,
  .editorial-section, .products-section, .articles-section, .content-editorial-section,
  .chat-main-section, .product-main-section
) { background-color: transparent; }

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column,
  .chat-editor-section, .photo-section, .catalog-highlights > article,
  .promise-section > article, .editorial-feature, .products-empty,
  .loading-state, .empty-state
) {
  color: var(--sot-text);
  border-color: var(--sot-line);
  background: linear-gradient(145deg, rgba(10, 25, 42, .97), rgba(5, 13, 25, .985));
  box-shadow: var(--sot-shadow-1);
}

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column,
  .chat-editor-section, .photo-section
) {
  padding: clamp(16px, 1.6vw, 22px);
  border-radius: 16px;
}

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column,
  .chat-editor-section, .photo-section, .catalog-highlights > article,
  .promise-section > article
) :where(h1, h2, h3) { color: var(--sot-text); }

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column,
  .chat-editor-section, .photo-section, .catalog-highlights > article,
  .promise-section > article
) :where(p, label, small) { color: var(--sot-muted); }

body.site-shell-page:not(.admin-shell-page) :where(input, select, textarea) {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--sot-text);
  border-color: var(--sot-line-strong);
  border-radius: 10px;
  background: #09192b;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .24);
  font-size: 14px;
}

body.site-shell-page:not(.admin-shell-page) :where(input, textarea)::placeholder { color: #71869f; }
body.site-shell-page:not(.admin-shell-page) :where(.field > label, .meta-label) {
  color: #a9bdd3;
  font-size: 11px;
  font-weight: 700;
}

body.site-shell-page:not(.admin-shell-page) :where(
  .button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn,
  .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn,
  .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a,
  .actions button
) {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12.5px;
  box-shadow: none;
}

body.site-shell-page:not(.admin-shell-page) :where(
  .button, .primary-btn, .secondary-btn, .prompt-primary-btn, .prompt-action-btn,
  .prompt-small-btn, .state-btn, .account-btn, .summary-btn, .photo-btn,
  .photo-convert-btn, .photo-download-btn, .composerActions button, .actions a,
  .actions button
):hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }

body.site-shell-page:not(.admin-shell-page) :where(
  .secondary-btn, .prompt-action-btn, .prompt-small-btn, .photo-btn,
  .photo-download-btn, .composerActions button:not(.primary)
) {
  color: #b8c9da !important;
  border-color: var(--sot-line-strong) !important;
  background: #0b1b2d !important;
}

/* Homepage: compact cards and no pale bands. */
.category-section, .featured-section, .editorial-section { padding-block: clamp(38px, 4.5vw, 62px); }
.featured-section { border-block: 1px solid rgba(76, 133, 174, .16); }
.category-grid { gap: 14px; }
.category-card {
  min-height: 132px;
  padding: 16px;
  border-radius: 15px;
}
.category-card .sot-icon { width: 42px; height: 42px; border-radius: 12px; }
.category-card h3 { margin: 14px 0 4px; font-size: 17px; }
.category-card p { font-size: 12.5px; line-height: 1.5; }
.catalog-highlights { gap: 14px; padding-block: clamp(38px, 4.5vw, 58px); }
.catalog-highlights > article { min-height: 330px; padding: 18px; border-radius: 16px; }
.catalog-highlights__head { margin-bottom: 16px; }
.catalog-highlights__head h2 { font-size: clamp(22px, 2vw, 30px); }
.compact-product { color: var(--sot-text); background: rgba(11, 28, 47, .72); }
.compact-product strong { color: var(--sot-text); }
.loading-state, .empty-state { color: var(--sot-muted) !important; }

/* Product archive. */
.products-shell-page .products-intro { padding-block: 20px; }
.catalog-workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
.catalog-sidebar { top: 82px; gap: 10px; }
.catalog-sidebar__group { padding: 14px; border-radius: 14px; }
.catalog-results .products-grid { gap: 12px; }
.products-empty { padding: 30px; border-radius: 15px; }

/* Product detail: balanced decision area and a true reading column. */
.product-hero-band { min-height: 112px; }
.product-hero-inner { padding-block: 24px; }
.product-shell-page .product-main-section { padding-block: 24px 46px; }
.product-shell-page .product-detail-layout {
  grid-template-columns: minmax(300px, 1.08fr) minmax(330px, .92fr) minmax(188px, .42fr);
  gap: 14px;
}
.product-shell-page .product-gallery-card,
.product-shell-page .product-summary-card,
.product-shell-page .product-content-block { border-radius: 15px; }
.product-shell-page .product-gallery-card { padding: 8px; }
.product-shell-page .product-main-image-wrap img { max-height: 420px; }
.product-shell-page .product-summary-card { top: 80px; padding: 18px; }
.product-shell-page .product-summary-card .product-title { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.08; }
.product-shell-page .product-summary-text { margin-top: 10px; font-size: 13px; line-height: 1.58; }
.product-shell-page .product-price-block { margin: 14px 0 10px; padding: 11px 13px; }
.product-shell-page .summary-price { font-size: clamp(23px, 2.2vw, 30px); }
.product-shell-page .product-quick-facts { gap: 7px; margin-top: 12px; }
.product-shell-page .product-quick-facts > div { padding: 9px; border-radius: 10px; }
.product-assurance-rail { gap: 8px; }
.product-assurance-rail article { min-height: 72px; grid-template-columns: 30px 1fr; padding: 10px; border-radius: 12px; }
.product-assurance-rail article > span { width: 30px; border-radius: 9px; }
.product-section-tabs { top: 72px; margin-top: 16px; gap: 22px; }
.product-section-tabs a { min-height: 46px; }
.product-shell-page .product-description-section {
  width: min(100%, 1120px);
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 18px auto 0;
}
.product-shell-page .product-description-section > * { grid-column: 1 / -1; width: 100%; }
.product-shell-page .product-content-block { padding: clamp(20px, 2.5vw, 30px); }
.product-shell-page .product-content-block h2 { margin: 5px 0 14px; font-size: clamp(22px, 2vw, 29px); }
.product-shell-page .product-description-content {
  width: 100%;
  max-width: 980px;
  color: var(--sot-text-soft);
  font-size: 14.5px;
  line-height: 1.76;
}

/* AI tools: dense workspaces with calm dark surfaces. */
.prompt-page-shell { padding-block: 18px 34px; }
.prompt-page-top, .content-page-top, .photo-page-top { padding: 20px; border-radius: 16px; }
.prompt-editor-section, .prompt-output-section { margin-top: 14px; }
.prompt-form-grid { gap: 11px; }
.prompt-random-actions, .prompt-main-actions { gap: 8px; }
.content-editorial-section { padding-block: 28px 44px; }
.content-layout { grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 14px; }
.content-side-column { gap: 14px; }
.content-form-grid { gap: 10px; }
.content-section-head h2, .prompt-section-head h2, .photo-section-head h2 { font-size: clamp(21px, 2vw, 28px); }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.tabs .tab {
  min-height: 38px;
  padding: 0 12px;
  color: #a9bdd2;
  border: 1px solid var(--sot-line-strong);
  border-radius: 9px;
  background: #0a1b2d;
  box-shadow: none;
  font-size: 12px;
}
.tabs .tab.active {
  color: #dffbff;
  border-color: rgba(55, 218, 239, .58);
  background: rgba(24, 216, 238, .13);
}
body.site-shell-page:not(.admin-shell-page) :where(button, input, select, textarea):disabled {
  color: #667b93 !important;
  border-color: rgba(76, 111, 141, .22) !important;
  background: #0c1928 !important;
  box-shadow: none !important;
  opacity: .72;
}
.chat-head-band { padding-block: 30px; }
.chat-main-section { padding-block: 28px 44px; }
.chat-main-layout { max-width: 1180px; }
.chatWindow {
  min-height: 360px;
  max-height: 56vh;
  padding: 16px;
  border-radius: 14px;
  color: var(--sot-text);
  border-color: var(--sot-line);
  background: linear-gradient(180deg, #071421, #09192a);
}
.message.assistant, .assistant-message { color: var(--sot-text-soft); background: #0d2034; }
.photo-converter-main { padding-block: 24px 44px; }
.photo-section { margin-top: 14px; }
.photo-section-head { margin-bottom: 15px; }
.photo-progress-track { background: #10243a; }
.photo-operations-box, .photo-selection-note { color: var(--sot-muted); background: #09192a; }

/* Typography rhythm. */
body.site-shell-page:not(.admin-shell-page) :where(.section-heading h2, .catalog-highlights__head h2) {
  font-weight: 670;
  letter-spacing: -.025em;
}
.page-intro-band .page-head__text .section-title,
.content-page-top .section-title,
.prompt-page-top .section-title,
.photo-page-top .section-title,
.chat-head .section-title { font-size: clamp(27px, 3vw, 40px); line-height: 1.08; font-weight: 680; }

@media (max-width: 1180px) {
  body.site-shell-page .top-nav { grid-template-columns: 158px minmax(0, 1fr) auto; }
  body.site-shell-page .site-logo-image { width: 150px; }
  .product-shell-page .product-detail-layout { grid-template-columns: minmax(300px, 1fr) minmax(320px, .9fr); }
  .product-assurance-rail { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body.site-shell-page .top-nav { min-height: 60px; grid-template-columns: 1fr auto; }
  body.site-shell-page .site-logo-image { width: 142px; }
  .catalog-workspace, .product-shell-page .product-detail-layout { grid-template-columns: 1fr; }
  .product-assurance-rail { grid-template-columns: 1fr 1fr; }
  .product-shell-page .product-summary-card { position: relative; top: auto; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .category-grid, .product-assurance-rail { grid-template-columns: 1fr; }
  .product-shell-page .product-buy-panel__actions { grid-template-columns: 1fr; }
  .product-section-tabs { gap: 14px; overflow-x: auto; }
}


/* ShopOneTime Density v8
   Strong final lock for slim page ribbons, compact supporting cards, and brand-only dark surfaces. */

:root {
  --sot-v8-panel: linear-gradient(145deg, rgba(9, 25, 43, .98), rgba(4, 12, 24, .99));
  --sot-v8-panel-soft: linear-gradient(135deg, rgba(10, 29, 48, .96), rgba(12, 17, 39, .98));
  --sot-v8-line: rgba(72, 150, 194, .28);
}

/* Remove every remaining pale/beige public surface and keep the site identity continuous. */
body.site-shell-page:not(.admin-shell-page) :where(
  .featured-section, .category-section, .editorial-section, .products-section,
  .articles-section, .content-editorial-section, .promise-section
) {
  color: var(--sot-text);
  background: transparent !important;
}

body.site-shell-page:not(.admin-shell-page) :where(
  .category-card, .catalog-highlights > article, .editorial-feature,
  .commerce-article-card, .product-card, .article-card, .products-empty,
  .empty-state, .loading-state, .prompt-chip, .products-count,
  .compact-product, .photo-selection-note, .photo-operations-box
) {
  color: var(--sot-text);
  border-color: var(--sot-v8-line) !important;
  background: var(--sot-v8-panel) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22) !important;
}

body.site-shell-page:not(.admin-shell-page) :where(
  .category-card, .catalog-highlights > article, .editorial-feature,
  .commerce-article-card, .product-card, .article-card, .products-empty,
  .empty-state, .loading-state, .compact-product
) :where(h1, h2, h3, h4, strong) { color: var(--sot-text) !important; }

body.site-shell-page:not(.admin-shell-page) :where(
  .category-card, .catalog-highlights > article, .editorial-feature,
  .commerce-article-card, .product-card, .article-card, .products-empty,
  .empty-state, .loading-state, .compact-product
) :where(p, small, time) { color: var(--sot-muted) !important; }

/* Product and article archive ribbons: 270px -> about 82px (roughly 70% less). */
.products-shell-page .page-intro-band,
.articles-shell-page .page-intro-band {
  min-height: 82px !important;
  height: auto !important;
}

.products-shell-page .products-intro,
.articles-shell-page .articles-intro {
  min-height: 82px !important;
  height: auto !important;
  padding-block: 9px !important;
  gap: 14px !important;
}

.products-shell-page .products-intro {
  grid-template-columns: minmax(145px, .28fr) minmax(360px, .72fr) !important;
}

.products-shell-page .products-intro .section-title,
.articles-shell-page .articles-intro .section-title {
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em;
}

.products-shell-page .products-toolbar {
  min-width: 0;
  gap: 6px !important;
  padding: 5px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.products-shell-page .products-toolbar :where(input, select) {
  min-height: 36px !important;
  height: 36px;
  padding-block: 0 !important;
  border-radius: 8px !important;
  font-size: 11px !important;
}

/* Tool title ribbons: compact identifier, not a second hero. */
body.site-shell-page:not(.admin-shell-page) :where(.photo-page-top, .prompt-page-top, .content-page-top) {
  min-height: 82px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2) !important;
}

body.site-shell-page:not(.admin-shell-page) :where(.photo-page-top, .prompt-page-top, .content-page-top) :where(h1, .section-title) {
  margin-block: 3px !important;
  font-size: clamp(19px, 1.6vw, 24px) !important;
  line-height: 1.05 !important;
}

body.site-shell-page:not(.admin-shell-page) :where(.photo-page-top, .prompt-page-top, .content-page-top) p {
  margin: 3px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

body.site-shell-page:not(.admin-shell-page) :where(.page-kicker, .section-kicker) {
  font-size: 8px !important;
  letter-spacing: .1em !important;
}

/* Homepage featured band: retain content but remove the oversized pale block. */
body.site-shell-page:not(.admin-shell-page) .featured-section {
  min-height: 0 !important;
  padding-block: 14px !important;
  border-block-color: rgba(72, 150, 194, .18) !important;
  background: linear-gradient(90deg, rgba(5, 19, 33, .9), rgba(12, 15, 38, .82)) !important;
}

.featured-section .section-heading {
  margin-bottom: 8px !important;
}

.featured-section .section-heading h2 {
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.1 !important;
}

.featured-section .eyebrow { font-size: 8px !important; }
.featured-section .section-heading > a {
  min-height: 26px !important;
  font-size: 10px !important;
}
.featured-section :where(.loading-state, .empty-state) {
  min-height: 42px !important;
  width: min(100%, 440px);
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 10.5px !important;
}

/* Dense archive body begins immediately after the slim ribbon. */
.products-shell-page .products-section,
.articles-shell-page .articles-section { padding-block: 24px 44px !important; }
.products-shell-page .products-section-bar { margin-bottom: 10px !important; }
.products-count {
  min-height: 30px !important;
  padding-inline: 10px !important;
  color: #6ceaf6 !important;
  font-size: 9.5px !important;
}

/* Prompt negative presets: never render as white/beige pills. */
body.site-shell-page:not(.admin-shell-page) .chip-grid .prompt-chip {
  min-height: 28px !important;
  padding: 0 9px !important;
  color: #afc2d6 !important;
  border: 1px solid var(--sot-v8-line) !important;
  border-radius: 8px !important;
  background: #0a1b2d !important;
  box-shadow: none !important;
  font-size: 9.5px !important;
}
body.site-shell-page:not(.admin-shell-page) .chip-grid .prompt-chip:is(:hover, :focus-visible, .is-active) {
  color: #e8fcff !important;
  border-color: rgba(44, 218, 239, .58) !important;
  background: linear-gradient(90deg, rgba(24, 216, 238, .16), rgba(238, 51, 177, .1)) !important;
}

@media (max-width: 720px) {
  .products-shell-page .products-intro {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    padding-block: 10px !important;
  }
  .products-shell-page .products-toolbar { grid-template-columns: 1fr 132px !important; }
}

@media (max-width: 520px) {
  .products-shell-page .products-toolbar { grid-template-columns: 1fr !important; }
  .products-shell-page .page-intro-band,
  .products-shell-page .products-intro,
  .articles-shell-page .page-intro-band,
  .articles-shell-page .articles-intro { min-height: 0 !important; }
}

/* END BUNDLED PUBLIC LAYOUT */
