/* Source module: shoponetime-visual-system-v4.css */
/*
 * Hyper Logic component styles
 * 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-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 rgb(0 0 0 / .1), 0 8px 24px rgb(0 0 0 / .1);
  --sot-shadow-2: 0 18px 48px rgb(0 0 0 / .1), 0 2px 8px rgb(0 0 0 / .1);
  --sot-shadow-3d: 0 34px 72px rgb(0 0 0 / .1), 0 9px 18px rgb(0 0 0 / .1);
  --sot-neon-shadow: 0 0 32px rgb(0 0 0 / .1), 0 0 64px rgb(0 0 0 / .1);
  --sot-night-gradient: linear-gradient(135deg, var(--hl-primary) 0%, var(--hl-primary) 50%, var(--hl-primary) 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: 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: var(--sot-link);
  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 var(--hl-focus);
  outline-offset: 3px;
  box-shadow: none;
}

/* 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); }

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 rgb(0 0 0 / .10)); }
body.site-shell-page .logo .site-logo-image {
  width: 176px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

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: var(--sot-card-text); }

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: none; }

/* Shared page intros and controls. */
body.site-shell-page :where(.page-intro-band, .prompt-page-top) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--sot-card-text);
  background: var(--sot-admin-panel);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  border-bottom: 1px solid var(--sot-line-strong);
}
body.site-shell-page :where(.page-intro-band, .prompt-page-top)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: 6%;
  top: -190px;
  border: 1px solid var(--sot-line);
  border-radius: 50%;
  box-shadow: none;
}
body.site-shell-page :where(.page-intro-band, .prompt-page-top) :where(h1, h2, .section-title) { color: var(--sot-heading); }
body.site-shell-page :where(.page-intro-band, .prompt-page-top) :where(p, a, span, time) { color: var(--sot-card-text); }
body.site-shell-page :where(.kicker, .eyebrow, .page-kicker, .section-kicker, .ui, .meta-label, .product-section-kicker) { color: var(--sot-muted); font-size: 11px; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
body.site-shell-page :where(.page-intro-band, .prompt-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: var(--sot-input);
  outline: 0;
  box-shadow: none;
  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: var(--sot-input-text); }
body.site-shell-page :where(input, select, textarea):focus { border-color: var(--sot-cyan-500); background: var(--sot-input); box-shadow: none; }
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, .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: var(--hl-action);
  box-shadow: none;
  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, .actions a, .actions button)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hl-action);
  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, .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, .actions a, .actions button):hover { transform: translateY(-3px); border-color: var(--sot-line-strong); box-shadow: none; }
body.site-shell-page :where(.button--primary, .primary-btn, .prompt-primary-btn, .state-btn, .account-btn-accent, .summary-btn--primary, .actions .primary) { color: var(--hl-on-action); border-color: var(--sot-line); background: var(--sot-brand-gradient); box-shadow: none; }
body.site-shell-page :where(.secondary-btn) { color: var(--sot-card-text); border-color: var(--sot-line-strong); background: var(--sot-surface); }
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: var(--sot-surface-2); text-align: center; }
body.site-shell-page :where(.skeleton-box, .skeleton-line) { position: relative; overflow: hidden; background: var(--sot-surface); }
body.site-shell-page :where(.skeleton-box, .skeleton-line)::after { content: ""; position: absolute; inset: 0; background: var(--sot-surface); 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; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@keyframes sot-float { 50% { transform: translate3d(0, -10px, 0) rotate(3deg); } }

.editorial-section { padding-block: clamp(72px, 8vw, 108px); }

.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 var(--sot-line); border-radius: 25px; background: var(--sot-surface); 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: var(--sot-surface); transition: transform var(--sot-slow) var(--sot-ease); }
.category-card:nth-child(even)::before { background: var(--sot-surface-2); }
.category-card:hover { border-color: var(--sot-line-strong); box-shadow: var(--sot-shadow-3d); }
.category-card:hover::before { transform: scale(1.25) translate(-10px, 15px); }
.category-card__icon { margin-bottom: auto; }
.category-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--sot-line-strong); border-radius: 16px; color: var(--sot-link); background: var(--sot-surface); 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 var(--sot-line); background: var(--sot-surface); }

.commerce-product-card { position: relative; overflow: hidden; border: 1px solid var(--sot-line); border-radius: 25px; background: var(--sot-surface); box-shadow: var(--sot-shadow-1); }
.commerce-product-card:hover { border-color: var(--sot-line-strong); box-shadow: var(--sot-shadow-3d); }
.commerce-product-card__image { position: relative; display: block; overflow: hidden; background: var(--sot-surface); }
.commerce-product-card__image::after { content: ""; position: absolute; inset: 0; background: var(--sot-surface); 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: var(--sot-link); 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: var(--sot-link); font-size: 12px; font-weight: 800; }

.commerce-article-card { min-height: 210px; padding: 24px; border: 1px solid var(--sot-line); border-radius: 22px; background: var(--sot-surface); box-shadow: var(--sot-shadow-1); }
.commerce-article-card time { color: var(--sot-link); 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; }

/* 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: var(--sot-muted) !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 var(--sot-line); border-radius: 20px; background: var(--sot-surface-2); box-shadow: none; backdrop-filter: blur(16px); }
.products-toolbar input,
.products-toolbar select { color: var(--sot-input-text); border-color: var(--sot-line); background: var(--sot-input); }
.products-toolbar option { color: var(--sot-text); background: var(--sot-surface-2); }
.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: var(--sot-link); background: var(--sot-surface); 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: var(--sot-surface); box-shadow: var(--sot-shadow-1); }
.product-card:hover { border-color: var(--sot-line-strong); 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: var(--sot-surface-2); }
.product-card__media::after { content: ""; position: absolute; inset: 0; background: var(--sot-surface-2); 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: var(--sot-link); 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: var(--sot-surface); 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: var(--sot-link); 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: var(--sot-surface); box-shadow: var(--sot-shadow-2); }
.product-gallery-card { padding: 14px; }
.product-main-image-wrap { overflow: hidden; border-radius: 20px; background: var(--sot-surface); }
.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: var(--sot-surface); }
.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: var(--sot-surface); }
.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: var(--sot-link); background: var(--sot-surface-2); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.featured-badge { color: var(--sot-card-text); background: var(--sot-surface-2); }
.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 var(--sot-line-strong); border-radius: 19px; background: var(--sot-surface); }
.product-price-block .meta-label { color: var(--sot-muted); }
.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: var(--sot-surface); box-shadow: var(--sot-shadow-1); }
.article-card:hover { border-color: var(--sot-line-strong); box-shadow: var(--sot-shadow-3d); }
.article-card-cover-wrap { position: relative; overflow: hidden; background: var(--sot-surface-2); }
.article-card-cover-wrap::after { content: ""; position: absolute; inset: 0; background: var(--sot-surface-2); pointer-events: none; }
.article-card-cover,
.article-card-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.article-card-placeholder { background: var(--sot-surface); }
.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: var(--sot-muted); 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: var(--sot-link); 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: var(--sot-surface); 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: var(--sot-muted) !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: var(--sot-card-text); font-size: 12px; }
.article-byline strong { color: var(--sot-card-text); }
.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: var(--sot-link); 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: var(--sot-surface); }
.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: var(--sot-card-text); background: var(--sot-ink-950); font: 13px/1.7 var(--sot-font-mono); }
.article-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-block: 28px; overflow: hidden; border-radius: 20px; background: var(--sot-surface); box-shadow: var(--sot-shadow-2); }
.article-video iframe { width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; }

/* 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: var(--sot-surface-2); box-shadow: var(--sot-shadow-3d); }
.auth-panel::before { content: ""; position: absolute; width: 260px; height: 260px; right: -145px; top: -145px; border-radius: 50%; background: var(--sot-surface-2); }
.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: var(--sot-surface-2); }
.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: var(--sot-surface-2); 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 var(--sot-line); border-radius: 16px; background: var(--sot-surface); box-shadow: none; }
.account-stat-panel span { display: block; color: var(--sot-card-text) !important; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.account-stat-panel strong { display: block; margin-top: 4px; color: var(--sot-card-text); 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: var(--sot-surface); 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: var(--sot-surface); box-shadow: var(--sot-shadow-1); }
.account-product-image { overflow: hidden; border-radius: 14px; background: var(--sot-surface); }
.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: var(--sot-link); 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: var(--sot-link); background: var(--sot-surface); 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: var(--sot-surface); }
.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 var(--sot-line-strong); border-radius: var(--sot-radius-pill); color: var(--sot-cyan-300); background: var(--sot-surface-2); 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: var(--sot-surface); 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: var(--sot-surface); }
.cart-item-image { overflow: hidden; border-radius: 13px; background: var(--sot-surface); }
.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: var(--sot-link); 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 var(--sot-line); border-radius: 11px; color: var(--sot-danger); background: var(--sot-surface); 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: var(--sot-surface-2); }

/* 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: var(--sot-surface); 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: var(--sot-surface); transform: translateX(-50%); }
.status-icon { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; border: 1px solid var(--sot-line-strong); border-radius: 24px; color: var(--sot-link); background: var(--sot-surface); box-shadow: none; 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{ margin: 8px 0 0; font-size: clamp(34px, 5vw, 64px); }
.prompt-meta-strip { display: flex; flex-wrap: wrap; gap: 9px; }
.prompt-meta-item { min-width: 102px; padding: 12px; border: 1px solid var(--sot-line); border-radius: 14px; background: var(--sot-surface); }
.prompt-meta-item span { display: block; color: var(--sot-muted) !important; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; }
.prompt-meta-item strong { display: block; margin-top: 4px; color: var(--sot-muted); font-size: 13px; }
.prompt-editor-section,
.prompt-output-section,
.content-editor-column{ position: relative; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--sot-line); border-radius: 25px; background: var(--sot-surface); box-shadow: var(--sot-shadow-2); }
.prompt-editor-section { margin-top: 22px; }
.prompt-output-section { margin-top: 22px; }
.prompt-section-head{ display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.prompt-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{ 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: var(--sot-surface-2); 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: var(--sot-surface); font-size: 11.5px; font-weight: 760; }
.tab.active { color: var(--sot-card-text); border-color: var(--sot-line-strong); background: var(--sot-surface-2); }
.out,
.outBlock textarea { width: 100%; min-height: 240px; margin: 0; overflow: auto; padding: 18px; border: 1px solid var(--sot-line); border-radius: 17px; color: var(--sot-input-text); background: var(--sot-input); font: 13px/1.72 var(--sot-font-mono); white-space: pre-wrap; }

.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{ height: 10px; overflow: hidden; border-radius: 999px; background: var(--sot-surface); }
.progressBarFill{ 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; }


.msg { display: grid; gap: 5px; margin: 14px 0; }































/* 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: var(--sot-surface); 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: var(--sot-link); text-decoration: underline; text-underline-offset: 3px; }
.legal-main article li { margin-block: .5em; }

/* Responsive composition. */
@media (max-width: 1240px) {

  body.site-shell-page .logo,
  body.site-shell-page .logo .site-logo-image { width: 160px; }

  :root[data-article-columns="5"] .articles-grid { --sot-article-columns: 4; }
  :root[data-product-columns="5"] .products-grid { --sot-product-columns: 4; }
  
}

@media (max-width: 700px) {
  
  
  
}

@media (max-width: 1060px) {

  .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; }

  .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; }

  .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 { align-items: stretch; flex-direction: column; }
  .prompt-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-span-3 { grid-column: span 2; }
  .nested-grid { grid-template-columns: 1fr; }

}

@media (max-width: 620px) {
  :root { --sot-page-pad: 16px; }
  body.site-shell-page { font-size: 14px; }

  body.site-shell-page .logo,
  body.site-shell-page .logo .site-logo-image { width: 148px; height: 46px; }

  .category-card { min-height: 200px; }

  .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 { grid-template-columns: 1fr; }
  .field-span-2,
  .field-span-3 { grid-column: auto; }
  .prompt-meta-strip { 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 rgb(0 0 0 / .1), 0 2px 6px rgb(0 0 0 / .1);
}

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, .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, .legal-main
) :where(h1, h2, h3, h4, p, li, dd, dt, strong, span, a) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.editorial-section,
.featured-section,
.products-section,
.articles-section { padding-block: clamp(44px, 5vw, 66px); }

.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; }

/* 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: var(--sot-muted);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: .09em;
  text-decoration-color: var(--sot-line-strong);
  text-underline-offset: .18em;
  border-radius: 4px;
  background: var(--sot-surface);
  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: var(--sot-muted);
  text-decoration-color: var(--hl-focus);
  background: var(--sot-surface-2);
}
.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); }

.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, .actions a, .actions button):hover { transform: translateY(-1px); }
body.site-shell-page .logo:hover { transform: perspective(500px) rotateY(-1.5deg); }

.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{ padding: clamp(14px, 2.2vw, 23px); border-radius: 16px; }
.prompt-main{ padding-block: clamp(17px, 2.3vw, 32px); }
.prompt-editor-section,
.prompt-output-section,
.content-editor-column{ 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) {

  .editorial-section,
.featured-section,
.products-section,
.articles-section { padding-block: 40px; }
  .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) {

  .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 (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 */
/* Ghalia AI 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) 92%, transparent);
  --layout-line: color-mix(in srgb, var(--sot-line) 80%, transparent);
}

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

/* 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) 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) 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) 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); }

.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-surface);
}

.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) 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); background: color-mix(in srgb, var(--sot-cyan-500) 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) 94%, var(--sot-cyan-500));
  color: var(--sot-card-text);
}
.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 var(--sot-line);
  border-radius: 50%;
  box-shadow: none;
}
.auth-visual__symbol span { font-size: 88px; }
.auth-visual h2 { max-width: 390px; margin: 8px 0 18px; color: var(--sot-heading); 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) {

  .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) {

  .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) {

  .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) {

  .product-assurance-rail { grid-template-columns: 1fr; }

  .catalog-category-nav { grid-template-columns: 1fr; }
  .auth-visual { min-height: 290px; padding: 24px; }
}



/* Ghalia AI 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-shadow-1: 0 12px 34px rgb(0 0 0 / .1), inset 0 1px 0 rgb(0 0 0 / .1);
  --sot-shadow-2: 0 20px 56px rgb(0 0 0 / .1), 0 0 24px rgb(0 0 0 / .1);
  --sot-shadow-3d: 0 30px 80px rgb(0 0 0 / .1), 0 0 30px rgb(0 0 0 / .1), 0 0 26px rgb(0 0 0 / .1);
  --layout-panel: linear-gradient(145deg, var(--sot-surface), var(--sot-surface));
  --layout-line: var(--sot-line);
}

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

body.site-shell-page:not(.admin-shell-page) {
  color: var(--sot-text);
  background: var(--sot-surface);
  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: var(--sot-surface);
}

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: var(--sot-line);
  background: var(--sot-surface-2);
  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: var(--sot-line-strong);
  box-shadow: var(--sot-shadow-3d);
}

body.site-shell-page:not(.admin-shell-page) :where(input, select, textarea) {
  color: var(--sot-input-text);
  border-color: var(--sot-line);
  background: var(--sot-input);
  box-shadow: none;
}

body.site-shell-page:not(.admin-shell-page) :where(input, select, textarea)::placeholder { color: var(--sot-input-text); }

.section-title span {
  color: transparent;
  background: var(--sot-surface);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 16px rgb(0 0 0 / .10));
}

.primary-btn,
.button--primary {
  color: var(--hl-on-action) !important;
  background: var(--hl-action) !important;
  box-shadow: none;
}

/* Catalogue and cards */
.page-intro-band,
.product-hero-band,
.article-hero {
  background: var(--sot-surface-2);
  border-bottom-color: var(--sot-line);
}
.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: var(--sot-surface);
}
.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: var(--sot-surface-2); }
.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: var(--sot-heading); }
.product-excerpt,
.article-card-excerpt,
.product-summary-text,
.product-description-content { color: var(--sot-muted); }
.product-price-row { border-top-color: var(--sot-line); }
.product-price,
.summary-price { color: var(--sot-card-text); }
.catalog-category-nav a { color: var(--sot-link); }
.catalog-category-nav a:hover,
.catalog-category-nav a.active { color: var(--sot-link); background: var(--sot-surface-2); }
.catalog-sidebar__promise span { border-bottom-color: var(--sot-line); }

/* Product detail */
.product-gallery-card,
.product-summary-card,
.product-content-block { position: relative; }
.product-thumbs button {
  border-color: var(--sot-line);
  background: var(--sot-surface);
}
.product-thumbs button:hover,
.product-thumbs button.active { border-color: var(--sot-line-strong); box-shadow: none; }
.product-type-chip,
.featured-badge { color: var(--sot-card-text); background: var(--sot-surface-2); border-color: var(--sot-line-strong); }
.product-price-block {
  border-color: var(--sot-line);
  background: var(--sot-surface);
}
.product-quick-facts > div,
.product-technical-list > div {
  border-color: var(--sot-line);
  background: var(--sot-surface);
}
.product-section-tabs { background: var(--sot-surface); border-color: var(--sot-line); }
.product-section-tabs a { color: var(--sot-link); }
.product-section-tabs a:hover,
.product-section-tabs a.active { color: var(--sot-link); }
.secondary-btn { color: var(--sot-card-text); border-color: var(--sot-line); background: var(--sot-surface); }

/* Reader */
.article-shell-page .article-body { color: var(--sot-card-text); }
.article-shell-page .article-body :where(h2, h3, h4) { color: var(--sot-heading); }
.article-shell-page .article-body blockquote {
  color: var(--sot-card-text);
  border-color: var(--sot-line);
  background: var(--sot-surface);
  box-shadow: none;
}
.article-shell-page .article-body pre {
  border: 1px solid var(--sot-line);
  background: var(--sot-surface);
  box-shadow: none;
}
.article-action-rail button { color: var(--sot-card-text); }
.article-action-rail button:hover,
.article-action-rail button.active { color: var(--sot-card-text); background: var(--sot-surface-2); }
.article-toc a { color: var(--sot-link); }
.article-toc a:hover,
.article-toc a.active { color: var(--sot-link); }

.skeleton-line,
.skeleton-box {
  background: var(--sot-surface);
  background-size: 220% 100%;
  border-color: var(--sot-line);
}

/* Authentication and account */
.auth-visual {
  background: var(--sot-surface-2);
  box-shadow: none;
}
.auth-visual__symbol {
  border-color: var(--sot-line);
  box-shadow: none;
}
.auth-tabs { border-color: var(--sot-line); background: var(--sot-surface-2); }
.auth-tab { color: var(--sot-card-text); }
.auth-tab.active { color: var(--sot-card-text); background: var(--sot-surface-2); }
.profile-item,
.account-products-shell .products-section-bar,
.account-orders-shell .products-section-bar { border-color: var(--sot-line); }
.account-btn-light { color: var(--sot-card-text); border-color: var(--sot-line); background: var(--sot-surface); }

@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; }
}



/* Ghalia AI 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-shadow-1: 0 8px 24px rgb(0 0 0 / .1);
  --sot-shadow-2: 0 14px 34px rgb(0 0 0 / .1);
  --sot-shadow-3d: 0 18px 46px rgb(0 0 0 / .1), 0 0 20px rgb(0 0 0 / .1);
}

body.site-shell-page .site-logo-image { width: 166px; height: auto; }

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, .product-main-section
) { background-color: transparent; }

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column, .catalog-highlights > article,
  .promise-section > article, .editorial-feature, .products-empty,
  .loading-state, .empty-state
) {
  color: var(--sot-text);
  border-color: var(--sot-line);
  background: var(--sot-surface-2);
  box-shadow: var(--sot-shadow-1);
}

body.site-shell-page:not(.admin-shell-page) :where(
  .prompt-editor-section, .prompt-output-section, .content-editor-column) {
  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, .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, .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: var(--sot-input);
  box-shadow: none;
  font-size: 14px;
}

body.site-shell-page:not(.admin-shell-page) :where(input, textarea)::placeholder { color: var(--sot-input-text); }
body.site-shell-page:not(.admin-shell-page) :where(.field > label, .meta-label) {
  color: var(--sot-muted);
  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, .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, .actions a,
  .actions button
):hover { transform: translateY(-1px); box-shadow: none; }

/* Homepage: compact cards and no pale bands. */
.featured-section,
.editorial-section { padding-block: clamp(38px, 4.5vw, 62px); }
.featured-section { border-block: 1px solid var(--sot-line); }

.category-card {
  min-height: 132px;
  padding: 16px;
  border-radius: 15px;
}

.category-card h3 { margin: 14px 0 4px; font-size: 17px; }
.category-card p { font-size: 12.5px; line-height: 1.5; }

.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{ 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; }

.prompt-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: var(--sot-card-text);
  border: 1px solid var(--sot-line-strong);
  border-radius: 9px;
  background: var(--sot-surface);
  box-shadow: none;
  font-size: 12px;
}
.tabs .tab.active {
  color: var(--sot-card-text);
  border-color: var(--sot-line);
  background: var(--sot-surface-2);
}
body.site-shell-page:not(.admin-shell-page) :where(button, input, select, textarea):disabled {
  color: var(--sot-input-text) !important;
  border-color: var(--sot-line) !important;
  background: var(--sot-input) !important;
  box-shadow: none !important;
  opacity: .72;
}


.message.assistant, .assistant-message { color: var(--sot-text-soft); background: var(--sot-surface); }






.page-intro-band .page-head__text .section-title,
.prompt-page-top .section-title{ font-size: clamp(27px, 3vw, 40px); line-height: 1.08; font-weight: 680; }

@media (max-width: 1180px) {

  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); }

}

@media (max-width: 860px) {

  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; }

}

@media (max-width: 560px) {
  .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; }
}


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

:root {
}

/* 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) {
  color: var(--sot-text);
  border-color: var(--sot-v8-line) !important;
  background: var(--sot-v8-panel) !important;
  box-shadow: none !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( .prompt-page-top) {
  min-height: 82px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.site-shell-page:not(.admin-shell-page) :where( .prompt-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( .prompt-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: var(--sot-line) !important;
  background: var(--sot-surface) !important;
}

.featured-section .eyebrow { font-size: 8px !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: var(--sot-card-text) !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: var(--sot-admin-text) !important;
  border: 1px solid var(--sot-v8-line) !important;
  border-radius: 8px !important;
  background: var(--sot-surface-2) !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: var(--hl-on-action) !important;
  border-color: var(--hl-focus) !important;
  background: var(--sot-surface-2) !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 */

/* Photo Converter 2.9 — compact production workspace. */





















@media (max-width: 1080px) {   }
@media (max-width: 720px) {     }

/* V2 operational usability closure: centralized palette bridge, readable AI chat, compact home, commerce controls. */
body.site-shell-page:not(.admin-shell-page) { background: var(--sot-canvas) !important; color: var(--sot-text); }

/* Cart/account: high contrast and explicit controls. */
body.cart-shell-page :where(.cart-item-card,.cart-summary-card,.cart-empty,.cart-auth-prompt),
body.account-shell-page :where(.account-user-card,.account-product-card,.account-order-card,.account-products-shell,.account-orders-shell) {
  color: var(--sot-text) !important; border-color: var(--sot-line) !important; background: var(--sot-surface) !important; box-shadow: none !important;
}
body.cart-shell-page :where(.cart-item-desc,.cart-unit-price,.cart-quantity-label,.cart-chip),
body.account-shell-page :where(.account-product-description,.account-product-dates,.account-meta-chip,.profile-item span,.account-order-card p) { color: var(--sot-text-soft) !important; }
body.cart-shell-page :where(.cart-quantity-input),
body.account-shell-page .account-library-controls :where(input,select) { color: var(--sot-text) !important; border: 1px solid var(--sot-line-strong) !important; background: var(--sot-canvas-2) !important; }
body.cart-shell-page :where(.cart-quantity-btn,.cart-remove-btn,.cart-open-link),
body.account-shell-page :where(.account-btn,.account-download-btn) { border-color: var(--sot-line-strong) !important; }
body.cart-shell-page .cart-remove-btn { color: var(--sot-text) !important; background: color-mix(in srgb, var(--sot-magenta-500) 16%, var(--sot-surface)) !important; }
body.cart-shell-page .cart-open-link { color: var(--sot-text) !important; background: var(--sot-surface-2) !important; }
body.cart-shell-page .cart-quantity-btn { color: var(--sot-text) !important; background: var(--sot-surface-2) !important; }
body.account-shell-page .account-download-btn { color: var(--sot-canvas) !important; background: var(--sot-cyan-500) !important; }
.account-library-controls { display: grid; grid-template-columns: minmax(220px,1fr) minmax(170px,240px) auto; align-items:end; gap:9px; margin: 0 0 12px; padding: 11px; border:1px solid var(--sot-line); border-radius:11px; background:var(--sot-surface); }
.account-library-controls label { display:grid; gap:5px; color:var(--sot-text-soft); font-size:11px; font-weight:700; }
.account-library-controls .account-btn { min-height:44px; }
@media (max-width:720px) { .account-library-controls { grid-template-columns:1fr; } }

/* Ghalia AI product page layout closure 2.9.9
   Final product-scoped lock inside the canonical shared stylesheet.
   It removes the old three-column/sticky composition that could overlap after
   product data hydration and enforces one deterministic hierarchy:
   decision grid -> assurance row -> navigation -> reading content. */

body.product-shell-page .product-main-section {
  padding-block: 28px 58px;
}

body.product-shell-page .product-main-section > .container {
  width: min(1320px, calc(100% - (var(--layout-gutter) * 2)));
}

body.product-shell-page .product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: start;
  gap: clamp(20px, 2.6vw, 34px);
  perspective: none;
}

body.product-shell-page .product-gallery-card,
body.product-shell-page .product-summary-card {
  min-width: 0;
  height: auto;
  align-self: start;
}

body.product-shell-page .product-gallery-card {
  padding: 12px;
  border-radius: 18px;
}

body.product-shell-page .product-main-image-wrap {
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  border-radius: 14px;
}

body.product-shell-page .product-main-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

body.product-shell-page .product-thumbs {
  min-height: 64px;
  align-items: center;
  gap: 8px;
  padding: 10px 2px 0;
}

body.product-shell-page .product-thumbs button {
  width: 58px;
  height: 58px;
  border-radius: 10px;
}

body.product-shell-page .product-summary-card {
  position: relative;
  top: auto;
  padding: clamp(22px, 2.3vw, 30px);
  overflow: hidden;
  border-radius: 18px;
}

body.product-shell-page .product-summary-card .product-title {
  max-width: 20ch;
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

body.product-shell-page .product-summary-text {
  max-width: 68ch;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.68;
}

body.product-shell-page .product-price-block {
  margin: 18px 0 12px;
  padding: 14px 16px;
  border-radius: 13px;
}

body.product-shell-page .summary-price {
  font-size: clamp(25px, 2.25vw, 32px);
}

body.product-shell-page .product-buy-panel__actions {
  gap: 10px;
}

body.product-shell-page .product-buy-panel__actions > * {
  min-height: 44px;
}

body.product-shell-page .product-purchase-note {
  margin-top: 9px;
  line-height: 1.45;
}

body.product-shell-page .product-quick-facts {
  gap: 8px;
  margin-top: 15px;
}

body.product-shell-page .product-quick-facts > div {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 11px;
}

body.product-shell-page .product-assurance-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

body.product-shell-page .product-assurance-rail article {
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
}

body.product-shell-page .product-assurance-rail article > span {
  width: 32px;
  border-radius: 9px;
}

body.product-shell-page .product-assurance-rail strong {
  font-size: 12px;
}

body.product-shell-page .product-assurance-rail small {
  font-size: 10px;
  line-height: 1.45;
}

body.product-shell-page .product-section-tabs {
  position: relative;
  top: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 0 4px;
  overflow-x: auto;
  border-top: 1px solid var(--layout-line);
  border-bottom: 1px solid var(--layout-line);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.product-shell-page .product-section-tabs a {
  min-height: 46px;
  flex: 0 0 auto;
}

body.product-shell-page .product-description-section {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 20px auto 0;
}

body.product-shell-page .product-description-section > * {
  width: 100%;
  min-width: 0;
  grid-column: 1;
}

body.product-shell-page .product-content-block {
  padding: clamp(22px, 2.7vw, 34px);
  border-radius: 16px;
}

body.product-shell-page .product-description-content {
  width: 100%;
  max-width: none;
  color: var(--sot-text-soft);
  font-size: 15px;
  line-height: 1.78;
}

body.product-shell-page #productDescriptionContent,
body.product-shell-page #productTechnicalDetails,
body.product-shell-page #productFeedbackSection {
  scroll-margin-top: 92px;
}

@media (max-width: 980px) {
  body.product-shell-page .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body.product-shell-page .product-main-image-wrap {
    min-height: 320px;
  }

  body.product-shell-page .product-summary-card {
    position: relative;
    top: auto;
  }

  body.product-shell-page .product-assurance-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.product-shell-page .product-main-section {
    padding-block: 20px 40px;
  }

  body.product-shell-page .product-main-section > .container {
    width: min(100% - 28px, 1320px);
  }

  body.product-shell-page .product-main-image-wrap {
    min-height: 240px;
  }

  body.product-shell-page .product-main-image-wrap img {
    max-height: 330px;
  }

  body.product-shell-page .product-summary-card {
    padding: 18px;
  }

  body.product-shell-page .product-summary-card .product-title {
    font-size: clamp(24px, 8vw, 31px);
  }

  body.product-shell-page .product-buy-panel__actions,
  body.product-shell-page .product-quick-facts,
  body.product-shell-page .product-assurance-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  body.product-shell-page .product-section-tabs {
    gap: 16px;
  }
}

/* Ghalia AI 2.9.10 — account/cart density + readability closure.
   This block is intentionally last so older public density rules cannot
   re-expand the highlighted cards or reintroduce pale low-contrast surfaces. */

/* Account intro: approximately half the previous visual height. */
body.account-shell-page .page-intro-band {
  min-height: 136px !important;
  height: auto !important;
}
body.account-shell-page .account-intro {
  min-height: 136px !important;
  padding-block: 14px !important;
  align-items: center !important;
  gap: 18px !important;
}
body.account-shell-page .account-intro .section-title {
  font-size: clamp(24px, 2.35vw, 32px) !important;
  line-height: 1.04 !important;
}
body.account-shell-page .account-intro .section-subtitle {
  max-width: 520px;
  margin-top: 5px !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}
body.account-shell-page .account-intro .kicker { font-size: 9px !important; }
body.account-shell-page .account-toolbar { gap: 7px !important; }
body.account-shell-page .account-stat-panel {
  min-height: 48px !important;
  padding: 7px 10px !important;
  border-radius: 10px !important;
  background: var(--sot-surface) !important;
  border-color: var(--sot-line) !important;
  box-shadow: none !important;
}
body.account-shell-page .account-stat-panel span {
  color: var(--sot-card-text) !important;
  font-size: 8.5px !important;
}
body.account-shell-page .account-stat-panel strong {
  margin-top: 2px !important;
  color: var(--sot-card-text) !important;
  font-size: 15px !important;
}

/* Account body: remove the large dead gap and compact only the highlighted controls. */
body.account-shell-page .account-main-section { padding-block: 28px 46px !important; }
body.account-shell-page .account-user-card { padding: 16px !important; }
body.account-shell-page .account-user-card .section-head h2,
body.account-shell-page .account-products-shell .section-head h2,
body.account-shell-page .account-orders-shell .section-head h2 {
  font-size: clamp(18px, 1.65vw, 22px) !important;
  line-height: 1.08 !important;
}
body.account-shell-page .account-user-card .section-head p,
body.account-shell-page .account-products-shell .section-head p,
body.account-shell-page .account-orders-shell .section-head p {
  margin-top: 4px !important;
  color: var(--sot-card-text) !important;
  font-size: 10.5px !important;
  line-height: 1.45 !important;
}
body.account-shell-page .profile-list { gap: 6px !important; margin-top: 12px !important; }
body.account-shell-page .profile-item { padding: 9px 10px !important; border-radius: 10px !important; }
body.account-shell-page .profile-item span { color: var(--sot-card-text) !important; font-size: 8.5px !important; }
body.account-shell-page .profile-item strong { color: var(--sot-card-text) !important; font-size: 11px !important; }
body.account-shell-page .account-side-actions { gap: 6px !important; margin-top: 10px !important; }
body.account-shell-page .account-side-actions .account-btn,
body.account-shell-page .account-empty-actions .account-btn,
body.account-shell-page .account-library-controls .account-btn {
  min-height: 34px !important;
  height: 34px !important;
  padding-inline: 11px !important;
  border-radius: 9px !important;
  font-size: 10.5px !important;
}
body.account-shell-page .account-btn-light {
  color: var(--sot-card-text) !important;
  border-color: var(--sot-line) !important;
  background: var(--sot-surface) !important;
  box-shadow: none !important;
}
body.account-shell-page .account-btn-light:hover,
body.account-shell-page .account-btn-light:focus-visible {
  color: var(--sot-card-text) !important;
  background: var(--sot-surface-2) !important;
}
body.account-shell-page .account-btn:disabled {
  color: var(--sot-card-text) !important;
  background: var(--sot-surface) !important;
  border-color: var(--sot-line) !important;
  opacity: .72 !important;
}
body.account-shell-page .account-products-shell,
body.account-shell-page .account-orders-shell { padding: 16px !important; }
body.account-shell-page .products-section-bar {
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}
body.account-shell-page .products-count {
  min-height: 26px !important;
  padding-inline: 9px !important;
  color: var(--sot-card-text) !important;
  border-color: var(--sot-line) !important;
  background: var(--sot-surface) !important;
  box-shadow: none !important;
  font-size: 9px !important;
}
body.account-shell-page .account-library-controls {
  gap: 7px !important;
  margin-bottom: 10px !important;
  padding: 8px !important;
  background: var(--sot-surface) !important;
  border-color: var(--sot-line) !important;
}
body.account-shell-page .account-library-controls label { color: var(--sot-card-text) !important; font-size: 9.5px !important; }
body.account-shell-page .account-library-controls :where(input, select) {
  min-height: 34px !important;
  height: 34px !important;
  padding-inline: 10px !important;
  color: var(--sot-input-text) !important;
  background: var(--sot-input) !important;
}
body.account-shell-page .account-empty {
  padding: 24px !important;
  border-color: var(--sot-line) !important;
  background: var(--sot-surface) !important;
}
body.account-shell-page .account-empty h3 { color: var(--sot-heading) !important; font-size: 17px !important; }
body.account-shell-page .account-empty p { color: var(--sot-card-text) !important; font-size: 11px !important; }
body.account-shell-page .account-empty-actions { gap: 7px !important; margin-top: 12px !important; }
body.account-shell-page .account-orders-shell .products-section-bar {
  min-height: 44px !important;
  padding-block: 2px !important;
}

/* Cart intro: approximately half height, no oversized empty ribbon. */
body.cart-shell-page .cart-hero {
  min-height: 150px !important;
  height: auto !important;
}
body.cart-shell-page .cart-hero__inner {
  max-width: 840px !important;
  padding-block: 22px !important;
}
body.cart-shell-page .cart-title {
  margin-top: 7px !important;
  font-size: clamp(25px, 2.5vw, 32px) !important;
  line-height: 1.04 !important;
}
body.cart-shell-page .cart-breadcrumbs { gap: 7px !important; margin-top: 5px !important; font-size: 10px !important; }
body.cart-shell-page .cart-subtitle { margin-top: 5px !important; font-size: 11.5px !important; line-height: 1.45 !important; }
body.cart-shell-page .cart-count-chip {
  min-height: 27px !important;
  margin-top: 10px !important;
  padding-inline: 9px !important;
  font-size: 9px !important;
}
body.cart-shell-page .cart-section { padding-block: 30px 50px !important; }

/* Empty/auth cart cards: dark, compact, readable. */
body.cart-shell-page :where(.cart-empty, .cart-auth-prompt) {
  padding: 0 !important;
  color: var(--sot-text) !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cart-shell-page .cart-state-card {
  max-width: 620px !important;
  padding: 22px !important;
  color: var(--sot-card-text) !important;
  border: 1px solid var(--sot-line) !important;
  border-radius: 16px !important;
  background: var(--sot-surface) !important;
  box-shadow: none !important;
}
body.cart-shell-page .cart-state-card h2 {
  margin-bottom: 6px !important;
  color: var(--sot-heading) !important;
  font-size: 21px !important;
  line-height: 1.08 !important;
}
body.cart-shell-page .cart-state-card p {
  margin: 0 !important;
  color: var(--sot-card-text) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}
body.cart-shell-page .cart-state-card .state-btn {
  min-height: 36px !important;
  height: 36px !important;
  margin-top: 12px !important;
  padding-inline: 14px !important;
  border-radius: 9px !important;
  font-size: 10.5px !important;
}

@media (max-width: 960px) {
  body.account-shell-page .account-intro { grid-template-columns: 1fr !important; min-height: auto !important; }
  body.account-shell-page .account-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  body.account-shell-page .account-toolbar { grid-template-columns: 1fr !important; }
  body.account-shell-page .page-intro-band,
  body.cart-shell-page .cart-hero { min-height: auto !important; }
  body.account-shell-page .account-intro,
  body.cart-shell-page .cart-hero__inner { padding-block: 16px !important; }
}

/* Extended theme roles: colors change without altering component geometry. */
body.site-shell-page{color:var(--sot-page-text,var(--sot-text))}body.site-shell-page :where(h1,h2,h3,h4){color:var(--sot-heading,var(--sot-text))}

body.site-shell-page :where(input,textarea,select){background-color:var(--sot-input,var(--sot-surface-2));color:var(--sot-input-text,var(--sot-text))}body.site-shell-page :where(.button--primary,.theme-preview-primary){color:var(--sot-button-text)!important}body.site-shell-page .button--secondary{color:var(--sot-button-secondary-text,var(--sot-text))!important}

/* Homepage sketch implementation. */
/* The content regions follow the supplied three-column sketch; colors remain theme tokens. */
.home-shell-page{background:var(--sot-canvas)!important;color:var(--sot-text)}
.home-shell-page .home-layout{padding:32px 0 48px;font-size:15px;line-height:1.6}
.home-layout *{box-sizing:border-box}
.home-layout__grid{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2.15fr) minmax(210px,1fr);gap:20px;align-items:stretch;max-width:1440px}
.home-column,.home-feature,.home-promo,.home-updates{background:var(--sot-home-panel,var(--sot-surface));border:1px solid var(--sot-home-border,var(--sot-line));border-radius:18px;box-shadow: none}
.home-column{padding:20px;min-width:0}.home-panel-head{border-bottom:1px solid var(--sot-line);padding-bottom:14px;margin-bottom:14px}

.home-layout h1,.home-layout h2,.home-layout h3{color:var(--sot-text)!important;line-height:1.25;margin:8px 0 10px}
.home-layout h1{font-size:clamp(26px,3.2vw,46px)!important;letter-spacing:-.025em}.home-layout h2{font-size:clamp(18px,1.6vw,23px)!important}.home-layout h3{font-size:16px!important}
.home-layout p,.home-layout a{font-size:15px!important}.home-layout p{color:var(--sot-text-soft);margin:0 0 15px}.home-layout a{color:var(--sot-text);text-decoration:none}.home-layout a:hover{color:var(--sot-cyan-500)}.home-layout a:focus-visible{outline:3px solid var(--sot-cyan-500);outline-offset:4px}
.home-panel-head>a{font-size:13px!important;color:var(--sot-cyan-500)}.home-feature{overflow:hidden}

.home-story{padding:28px 34px 34px}.home-story p{white-space:pre-line}.home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.home-actions .button{font-size:14px!important;min-height:42px;display:inline-flex;align-items:center}
.home-product-list{display:grid;gap:10px}.home-product-list .commerce-product-card{display:grid;grid-template-columns:70px 1fr;gap:10px;padding:9px;background:var(--sot-home-highlight,var(--sot-surface-2));border:1px solid var(--sot-home-border,var(--sot-line));border-radius:12px;min-width:0;box-shadow:none}
.home-product-list .commerce-product-card__image{width:70px;height:72px;min-height:0}.home-product-list .commerce-product-card__image img{width:100%;height:100%;object-fit:cover;border-radius:8px}.home-product-list .commerce-product-card__body{min-width:0;padding:0}.home-product-list .commerce-product-card__body h3{font-size:13px!important;margin:2px 0 5px}.home-product-list .commerce-product-card__body h3 a{font-size:13px!important}.home-product-list .commerce-product-card__type,.home-product-list .commerce-product-card__meta,.home-product-list .commerce-product-card__actions{display:none}.home-product-list .commerce-product-card__foot{border:0;padding:0;margin:0}.home-product-list .commerce-product-card__price{font-size:12px;color:var(--sot-cyan-500)}
.home-link-list{display:grid;gap:8px}.home-link-list a{display:flex;justify-content:space-between;gap:10px;align-items:center;background:var(--sot-home-highlight,var(--sot-surface-2));border:1px solid var(--sot-home-border,var(--sot-line));border-radius:10px;padding:12px 13px;font-weight:650}.home-link-list a span{color:var(--sot-cyan-500)}.home-release-head{margin-top:28px}
.home-article-list{display:grid;gap:10px}.home-article-list .commerce-article-card{padding:14px;background:var(--sot-home-highlight,var(--sot-surface-2));border:1px solid var(--sot-home-border,var(--sot-line));border-radius:10px}.home-article-list .commerce-article-card time{font-size:11px;color:var(--sot-muted)}.home-article-list .commerce-article-card p{font-size:13px!important;margin:0}.home-article-list .commerce-article-card h3 a{font-size:15px!important}
.home-lower{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1440px;margin-top:20px}.home-promo,.home-updates{padding:27px 32px}.home-promo a,.home-updates a{font-weight:750;color:var(--sot-cyan-500)}
@media(max-width:1080px){.home-layout__grid{grid-template-columns:minmax(200px,1fr) minmax(0,2fr)}.home-discover{grid-column:1/-1}.home-link-list{grid-template-columns:repeat(3,1fr)}.home-article-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.home-shell-page .home-layout{padding-top:14px}.home-layout__grid,.home-lower{grid-template-columns:1fr;gap:14px}.home-products{order:2}.home-center{order:1}.home-discover{order:3}.home-discover{grid-column:auto}.home-story {padding:22px}
.home-link-list,.home-article-list{grid-template-columns:1fr}.home-promo,.home-updates{padding:22px}}
.home-video-play{position:absolute;inset:0;width:100%;border:0;background:var(--sot-surface);color:var(--sot-card-text);font:700 18px system-ui;cursor:pointer}.home-video-play:hover,.home-video-play:focus-visible{background:var(--sot-surface-2);outline:3px solid var(--sot-cyan-500);outline-offset:-4px}

.home-product-list .commerce-product-card[hidden]{display:none}

.home-layout h1,.home-layout h2,.home-layout h3{color:var(--sot-heading,var(--sot-text))!important}.home-layout p{color:var(--sot-page-text,var(--sot-text-soft))}.home-layout a:not(.button):hover{color:var(--sot-link,var(--sot-cyan-500))}.home-layout .commerce-product-card__body h3 a{color:var(--sot-card-text,var(--sot-text))}.home-layout .commerce-article-card p{color:var(--sot-card-muted,var(--sot-muted))}

.home-news-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:12px}

/* Role colors override the older brand layer without changing its spacing or shape. */
body.site-shell-page{background:linear-gradient(180deg,var(--sot-canvas),var(--sot-canvas-2),var(--sot-canvas))!important;color:var(--sot-page-text,var(--sot-text))!important}
body.site-shell-page :where(h1,h2,h3,h4,strong,.section-title){color:var(--sot-heading,var(--sot-text))!important}
body.site-shell-page :where(p,small,.section-subtitle,.muted){color:var(--sot-page-text,var(--sot-text-soft))!important}

body.site-shell-page :where(.button--primary,.primary-btn,.state-btn,.summary-btn--primary){background:var(--sot-cyan-500)!important;color:var(--sot-button-text)!important}
body.site-shell-page .button--secondary{background:var(--sot-magenta-500)!important;color:var(--sot-button-secondary-text,var(--sot-text))!important}
body.site-shell-page:not(.admin-shell-page) :where(.commerce-product-card,.product-card,.article-card,.commerce-article-card,.surface-card,.cart-panel,.auth-panel,.product-summary-card,.product-content-block){background:var(--sot-surface)!important;border-color:var(--sot-line)!important;color:var(--sot-card-text,var(--sot-text))!important}
body.site-shell-page:not(.admin-shell-page) :where(.commerce-product-card,.product-card,.article-card,.commerce-article-card,.surface-card,.cart-panel,.auth-panel,.product-summary-card,.product-content-block) :where(h1,h2,h3,h4,strong,dt,dd){color:var(--sot-card-text,var(--sot-text))!important}
body.site-shell-page:not(.admin-shell-page) :where(.commerce-product-card,.product-card,.article-card,.commerce-article-card,.surface-card,.cart-panel,.auth-panel,.product-summary-card,.product-content-block) :where(p,small,time,span){color:var(--sot-card-muted,var(--sot-muted))!important}
body.site-shell-page:not(.admin-shell-page) :where(input,select,textarea){background:var(--sot-input,var(--sot-surface-2))!important;color:var(--sot-input-text,var(--sot-text))!important;border-color:var(--sot-line)!important}
body.site-shell-page .home-layout :where(.home-column,.home-feature,.home-promo,.home-updates){background:var(--sot-home-panel,var(--sot-surface))!important;border-color:var(--sot-home-border,var(--sot-line))!important}
body.site-shell-page .home-layout :where(.home-product-list .commerce-product-card,.home-link-list a,.home-article-list .commerce-article-card){background:var(--sot-home-highlight,var(--sot-surface-2))!important;border-color:var(--sot-home-border,var(--sot-line))!important}
body.site-shell-page .home-layout :where(p,.commerce-article-card p){color:var(--sot-page-text,var(--sot-text-soft))!important}
body.site-shell-page .home-layout :where(h1,h2,h3){color:var(--sot-heading,var(--sot-text))!important}

.home-promo-logo{display:block;max-width:min(100%,230px);max-height:85px;object-fit:contain;object-position:left center;margin:0 0 14px}

body.home-shell-page .home-layout{font-size:15px;line-height:1.6;padding:32px 0 50px}
body.site-shell-page.home-shell-page:not(.admin-shell-page) .home-layout>.container{width:min(calc(100% - 36px),1656px)!important;max-width:1656px!important}
body.home-shell-page .home-layout__grid{max-width:1656px;grid-template-columns:minmax(230px,1fr) minmax(0,2.65fr) minmax(230px,1fr);gap:23px}
body.home-shell-page .home-layout p,body.home-shell-page .home-layout a{font-size:15px!important}
body.home-shell-page .home-layout h1{font-size:clamp(26px,3.2vw,46px)!important}
body.home-shell-page .home-layout h2{font-size:clamp(18px,1.6vw,23px)!important}
body.home-shell-page .home-layout h3{font-size:16px!important}

body.home-shell-page .home-column{padding:23px}

body.home-shell-page .home-story{padding:32px 39px 39px}
body.home-shell-page .home-link-list a{padding:14px 15px}
body.home-shell-page .home-lower{max-width:1656px;gap:23px;margin-top:23px}
body.home-shell-page .home-promo,body.home-shell-page .home-updates{padding:31px 37px}
/* The media occupies its own row above the editorial title. */
body.home-shell-page .home-gallery{margin-bottom:23px;overflow:hidden;background:var(--sot-home-panel,var(--sot-surface));border:1px solid var(--sot-home-border,var(--sot-line));border-radius:18px;box-shadow: none}
.home-gallery-stage{position:relative;width:100%;aspect-ratio:2.55;min-height:290px;max-height:620px;background:var(--sot-home-highlight,var(--sot-surface-2));overflow:hidden}
.home-gallery-stage>img,.home-gallery-stage>iframe{display:block;width:100%;height:100%;object-fit:cover;border:0}
.home-gallery-stage>.home-video-play{z-index:1;background: var(--sot-surface-2);font-size:19px}
.home-gallery-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:64px;padding:10px 24px}
.home-gallery-caption{min-width:0;color:var(--sot-page-text,var(--sot-text));font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-gallery-controls{display:flex;align-items:center;gap:9px;flex-shrink:0}.home-gallery-count{font-variant-numeric:tabular-nums;font-size:13px;color:var(--sot-muted)}
.home-gallery-controls>button{width:40px;height:40px;border:1px solid var(--sot-home-border,var(--sot-line));border-radius:10px;background:var(--sot-home-highlight,var(--sot-surface-2));color:var(--sot-heading,var(--sot-text));font-size:27px;line-height:1;cursor:pointer}
.home-gallery-dots{display:flex;gap:6px;align-items:center;flex-wrap:wrap;max-width:230px}.home-gallery-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:var(--sot-muted);opacity:.55;cursor:pointer}.home-gallery-dots button[aria-current="true"]{width:21px;border-radius:6px;background:var(--sot-cyan-500);opacity:1}
.home-gallery :where(button):focus-visible{outline:3px solid var(--sot-cyan-500);outline-offset:2px}
@media(max-width:1080px){body.home-shell-page .home-layout__grid{grid-template-columns:minmax(220px,1fr) minmax(0,2fr)}.home-gallery-stage{aspect-ratio:16/9}}
@media(max-width:700px){body.site-shell-page.home-shell-page:not(.admin-shell-page) .home-layout>.container{width:min(calc(100% - 24px),1656px)!important}body.home-shell-page .home-layout__grid{grid-template-columns:1fr;gap:16px}body.home-shell-page .home-story {padding:24px}body.home-shell-page .home-column{padding:20px}body.home-shell-page .home-layout h1{font-size:clamp(29px,8vw,42px)!important}.home-gallery-stage{aspect-ratio:16/10;min-height:220px}.home-gallery-bar{padding:12px 16px;align-items:flex-start;flex-direction:column}.home-gallery-controls{width:100%;justify-content:flex-end}body.home-shell-page .home-promo,body.home-shell-page .home-updates{padding:24px}}

/* Gallery stays inside the central column while both sidebars remain beside it. */
body.home-shell-page .home-center{min-width:0;display:grid;gap:20px;align-content:start}
body.home-shell-page .home-center .home-gallery{width:100%;max-width:none;margin:0;min-width:0}
body.home-shell-page .home-center .home-gallery-stage{aspect-ratio:16/9;min-height:260px;max-height:530px}
@media(max-width:1080px){body.home-shell-page .home-center .home-gallery-stage{min-height:220px}}
@media(max-width:700px){body.home-shell-page .home-center{gap:14px}body.home-shell-page .home-center .home-gallery-stage{min-height:210px}}

/* Wide three-column page and admin-controlled headline scale. */
body.site-shell-page.home-shell-page:not(.admin-shell-page) .home-layout>.container{width:min(calc(100% - 36px),1656px)!important;max-width:1656px!important}
body.home-shell-page .home-layout #marketplaceTitle{font-size:var(--home-title-size,34px)!important;line-height:1.18}
@media(max-width:700px){body.home-shell-page .home-layout #marketplaceTitle{font-size:min(var(--home-title-size,34px),42px)!important}}

@media (min-width:981px) and (max-width:1080px){body.home-shell-page .home-layout__grid{grid-template-columns:minmax(200px,1fr) minmax(0,2.4fr) minmax(200px,1fr)}body.home-shell-page .home-discover{grid-column:auto}body.home-shell-page .home-link-list,body.home-shell-page .home-article-list{grid-template-columns:1fr}}
/* Long stories are readable as separate articles; their length and count are content decisions. */
body.home-shell-page .home-stories{display:grid;gap:28px}
body.home-shell-page .home-story-article{min-width:0;overflow-wrap:anywhere}
body.home-shell-page .home-story-article+.home-story-article{padding-top:28px;border-top:1px solid var(--sot-home-border,var(--sot-line))}
body.home-shell-page .home-story-article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px}
body.home-shell-page .home-story-article p:last-child{margin-bottom:0}
body.home-shell-page .home-story-article h2{margin:9px 0 16px}

/* V9 admin typography controls: opt-in per text region; original styles remain until enabled. */
html[data-typo-page-body="on"] body.site-shell-page:not(.admin-shell-page) #site-main,
html[data-typo-page-body="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(p,li,dd,dt) {
  font-family: var(--sot-type-page-body-family) !important;
  font-size: var(--sot-type-page-body-size) !important;
  color: var(--sot-type-page-body-color) !important;
  font-weight: var(--sot-type-page-body-weight) !important;
  line-height: var(--sot-type-page-body-line) !important;
  letter-spacing: var(--sot-type-page-body-tracking) !important;
  font-style: var(--sot-type-page-body-style) !important;
}
html[data-typo-main-heading="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(h1,.section-title) {
  font-family: var(--sot-type-main-heading-family) !important;
  font-size: var(--sot-type-main-heading-size) !important;
  color: var(--sot-type-main-heading-color) !important;
  font-weight: var(--sot-type-main-heading-weight) !important;
  line-height: var(--sot-type-main-heading-line) !important;
  letter-spacing: var(--sot-type-main-heading-tracking) !important;
  font-style: var(--sot-type-main-heading-style) !important;
}
html[data-typo-sub-heading="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(h2,h3,h4) {
  font-family: var(--sot-type-sub-heading-family) !important;
  font-size: var(--sot-type-sub-heading-size) !important;
  color: var(--sot-type-sub-heading-color) !important;
  font-weight: var(--sot-type-sub-heading-weight) !important;
  line-height: var(--sot-type-sub-heading-line) !important;
  letter-spacing: var(--sot-type-sub-heading-tracking) !important;
  font-style: var(--sot-type-sub-heading-style) !important;
}
html[data-typo-article-title="on"] body.site-shell-page.article-shell-page:not(.admin-shell-page) #site-main .article-title {
  font-family: var(--sot-type-article-title-family) !important;
  font-size: var(--sot-type-article-title-size) !important;
  color: var(--sot-type-article-title-color) !important;
  font-weight: var(--sot-type-article-title-weight) !important;
  line-height: var(--sot-type-article-title-line) !important;
  letter-spacing: var(--sot-type-article-title-tracking) !important;
  font-style: var(--sot-type-article-title-style) !important;
}
html[data-typo-article-heading="on"] body.site-shell-page.article-shell-page:not(.admin-shell-page) #site-main .article-body :is(h2,h3,h4) {
  font-family: var(--sot-type-article-heading-family) !important;
  font-size: var(--sot-type-article-heading-size) !important;
  color: var(--sot-type-article-heading-color) !important;
  font-weight: var(--sot-type-article-heading-weight) !important;
  line-height: var(--sot-type-article-heading-line) !important;
  letter-spacing: var(--sot-type-article-heading-tracking) !important;
  font-style: var(--sot-type-article-heading-style) !important;
}
html[data-typo-article-body="on"] body.site-shell-page.article-shell-page:not(.admin-shell-page) #site-main .article-body,
html[data-typo-article-body="on"] body.site-shell-page.article-shell-page:not(.admin-shell-page) #site-main .article-body :is(p,li,blockquote,figcaption,td,th) {
  font-family: var(--sot-type-article-body-family) !important;
  font-size: var(--sot-type-article-body-size) !important;
  color: var(--sot-type-article-body-color) !important;
  font-weight: var(--sot-type-article-body-weight) !important;
  line-height: var(--sot-type-article-body-line) !important;
  letter-spacing: var(--sot-type-article-body-tracking) !important;
  font-style: var(--sot-type-article-body-style) !important;
}
html[data-typo-product-title="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main .product-title {
  font-family: var(--sot-type-product-title-family) !important;
  font-size: var(--sot-type-product-title-size) !important;
  color: var(--sot-type-product-title-color) !important;
  font-weight: var(--sot-type-product-title-weight) !important;
  line-height: var(--sot-type-product-title-line) !important;
  letter-spacing: var(--sot-type-product-title-tracking) !important;
  font-style: var(--sot-type-product-title-style) !important;
}
html[data-typo-product-heading="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main .product-content-block :is(h2,h3,h4) {
  font-family: var(--sot-type-product-heading-family) !important;
  font-size: var(--sot-type-product-heading-size) !important;
  color: var(--sot-type-product-heading-color) !important;
  font-weight: var(--sot-type-product-heading-weight) !important;
  line-height: var(--sot-type-product-heading-line) !important;
  letter-spacing: var(--sot-type-product-heading-tracking) !important;
  font-style: var(--sot-type-product-heading-style) !important;
}
html[data-typo-product-description="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main :is(#productShortDescription,#productDescriptionContent,.product-description-content),
html[data-typo-product-description="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main .product-description-content :is(p,li,dd,dt) {
  font-family: var(--sot-type-product-description-family) !important;
  font-size: var(--sot-type-product-description-size) !important;
  color: var(--sot-type-product-description-color) !important;
  font-weight: var(--sot-type-product-description-weight) !important;
  line-height: var(--sot-type-product-description-line) !important;
  letter-spacing: var(--sot-type-product-description-tracking) !important;
  font-style: var(--sot-type-product-description-style) !important;
}
html[data-typo-card-title="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(.article-card-title,.product-card h3,.commerce-product-card h3,.commerce-article-card h3,.home-flex-card h2,.home-mini-card h3),
html[data-typo-card-title="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(.article-card-title,.product-card h3,.commerce-product-card h3,.commerce-article-card h3,.home-flex-card h2,.home-mini-card h3) a {
  font-family: var(--sot-type-card-title-family) !important;
  font-size: var(--sot-type-card-title-size) !important;
  color: var(--sot-type-card-title-color) !important;
  font-weight: var(--sot-type-card-title-weight) !important;
  line-height: var(--sot-type-card-title-line) !important;
  letter-spacing: var(--sot-type-card-title-tracking) !important;
  font-style: var(--sot-type-card-title-style) !important;
}
html[data-typo-card-body="on"] body.site-shell-page:not(.admin-shell-page) #site-main :is(.article-card-excerpt,.product-card p,.article-card p,.commerce-product-card p,.commerce-article-card p,.home-flex-card p,.home-mini-card p) {
  font-family: var(--sot-type-card-body-family) !important;
  font-size: var(--sot-type-card-body-size) !important;
  color: var(--sot-type-card-body-color) !important;
  font-weight: var(--sot-type-card-body-weight) !important;
  line-height: var(--sot-type-card-body-line) !important;
  letter-spacing: var(--sot-type-card-body-tracking) !important;
  font-style: var(--sot-type-card-body-style) !important;
}


/* Source module: navigation.css */
/* Shared navigation and footer. The color roles follow the published site design. */
#site-header, #site-footer { --sh-axis: min(var(--hl-width, 1320px), calc(100% - 2 * var(--hl-gutter, 4vw))); }
#site-header [hidden], #site-footer [hidden] { display: none !important; }
#site-header .sh-inner, #site-footer .sh-inner { width: var(--sh-axis); margin-inline: auto; }
html { scroll-padding-block-start: 86px; }
#site-header { --sh-bar-height: 76px; position: sticky; top: 0; z-index: 30; color: var(--sot-nav-text); }
#site-header .sh-bar { background: var(--sot-theme-header); border-block-end: 1px solid var(--sot-line); }
#site-header .sh-row { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); min-height: var(--sh-bar-height); }
.sh-icon { display: block; flex: none; width: 20px; height: 20px; }
#site-header :is(a, button), #site-footer :is(a, button) { font-family: inherit; text-decoration: none; }
#site-header button, #site-footer .sh-footer-toggle { appearance: none; cursor: pointer; background: transparent; box-shadow: none; border: 0; border-radius: 0; margin: 0; }
#site-header .sh-brand, #site-footer .sh-brand { display: inline-flex; flex: none; align-items: center; gap: 10px; max-width: 100%; text-decoration: none; }
.sh-logo-plate { display: grid; flex: none; place-items: center; padding: 3px; background: #fff; }
#site-header .sh-logo-plate > img, #site-footer .sh-logo-plate > img { display: block; width: 46px !important; height: auto !important; max-width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; filter: none; object-fit: contain !important; }
.sh-brand-name { display: block; white-space: nowrap; text-align: left; font-size: 21px; line-height: 1.1; font-weight: 760; letter-spacing: -.045em; }
.sh-brand-caption { display: block; margin-top: 3px; font-size: 9px; line-height: 1.2; font-weight: 570; letter-spacing: .012em; }
#site-header .sh-navigation, #site-header .sh-actions { display: flex; align-items: center; }
#site-header .sh-navigation { align-self: stretch; gap: clamp(2px, .6vw, 12px); }
#site-header :is(.sh-nav-link, .sh-language, .sh-account, .sh-icon-button) { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 10px; color: var(--sot-nav-text) !important; border-radius: 0; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
#site-header .sh-nav-link { position: relative; height: 100%; padding-inline: clamp(6px, .7vw, 14px); }
#site-header .sh-nav-link::after { position: absolute; inset-inline: 7px; inset-block-end: 0; content: ''; height: 3px; background: transparent; }
#site-header .sh-nav-link:is(:hover, [aria-expanded="true"], [aria-current="page"])::after { background: var(--hl-primary); }
#site-header .sh-icon--down, #site-footer .sh-icon--down { width: 15px; height: 15px; }
#site-header [aria-expanded="true"] > .sh-icon--down, #site-footer [aria-expanded="true"] > .sh-icon--down { transform: rotate(180deg); }
#site-header .sh-actions { position: relative; margin-inline-start: auto; gap: 2px; }
#site-header .sh-icon-button { min-width: 44px; padding-inline: 8px; }
#site-header :is(.sh-language, .sh-account, .sh-icon-button):hover { background: color-mix(in srgb, var(--sot-nav-text) 8%, var(--sot-theme-header)); }
#site-header .sh-account { border-inline-start: 1px solid var(--sot-line); margin-inline-start: 4px; }
#site-header #cartIconLink { position: relative; }
#site-header .cart-count { position: absolute; inset-inline-end: 0; inset-block-start: 0; display: grid; place-content: center; height: auto; min-width: 16px; min-height: 16px; padding-inline: 3px; border-radius: 12px; background: var(--hl-action); color: var(--hl-on-action); font: 700 10px/1.2 system-ui, sans-serif; }
#site-header #mobileToggle, #site-header #mobileToggle .sh-icon--close { display: none; }
#site-header .sh-layer, #site-header .sh-account-menu { position: absolute; inset-inline: 0; top: 100%; z-index: 10; background: var(--sot-theme-header); color: var(--sot-nav-text); border-block-end: 2px solid color-mix(in srgb, var(--hl-secondary) 55%, var(--sot-line)); box-shadow: 0 16px 26px color-mix(in srgb, var(--sot-nav-text) 12%, transparent); }
#site-header .sh-layer { max-height: calc(100vh - var(--sh-bar-height)); max-height: calc(100dvh - var(--sh-bar-height)); overflow-y: auto; overscroll-behavior: contain; }
#site-header .sh-mega-grid { display: grid; grid-template-columns: minmax(185px,.8fr) minmax(270px,1.22fr) minmax(180px,.9fr); gap: clamp(24px, 4vw, 80px); padding-block: 32px 36px; }
#site-header .sh-mega-grid section { min-width: 0; }
#site-header .sh-menu-intro { border-inline-end: 1px solid var(--sot-line); padding-inline-end: 22px; }
#site-header .sh-menu-intro h2, #site-header .sh-search-heading { color: var(--sot-nav-text); margin: 0 0 12px; font-weight: 650; font-size: clamp(24px, 2.65vw, 42px); line-height: 1.12; letter-spacing: -.032em; }
#site-header .sh-menu-heading, #site-header .sh-results h3 { color: var(--sot-nav-text); margin: 0 0 10px; font-weight: 725; font-size: 16px; line-height: 1.4; }
#site-header :is(.sh-mega-grid, .sh-mobile, .sh-results, .sh-account-menu) a, #site-header .sh-account-menu button { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 36px; padding: 5px 0; color: var(--sot-nav-text) !important; font-size: 14px; line-height: 1.45; text-align: start; overflow-wrap: anywhere; }
#site-header :is(.sh-mega-grid, .sh-mobile, .sh-results, .sh-account-menu) a:hover, #site-header .sh-account-menu button:hover { text-decoration: underline; text-decoration-color: var(--hl-primary); text-decoration-thickness: 2px; text-underline-offset: 4px; }
#site-header .sh-published-product { gap: 9px; }
#site-header .sh-published-product .sh-icon { width: 17px; height: 17px; }
#site-header .sh-published-product strong { display: block; font-weight: 630; }
#site-header .sh-published-product small { display: -webkit-box; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#site-header .sh-mega-grid .sh-more { margin-block-start: 8px; font-weight: 680; text-decoration: underline; text-decoration-color: var(--hl-secondary); text-underline-offset: 4px; }
#site-header .sh-mega-grid .sh-feature { position: relative; width: 100%; gap: 11px; margin-block: 2px; padding: 10px 12px; background: color-mix(in srgb, var(--hl-secondary) 9%, var(--sot-theme-header)); }
#site-header .sh-feature small, #site-header .sh-feature strong { display: block; }
#site-header .sh-feature small { font-size: 12px; line-height: 1.45; }
#site-header .sh-feature .sh-icon--arrow { width: 16px; height: 16px; margin-inline-start: auto; }
[dir="rtl"] #site-header .sh-feature .sh-icon--arrow { transform: scaleX(-1); }
#site-header .sh-account-menu { inset-inline: auto 0; top: calc(100% + 8px); min-width: 175px; border: 1px solid var(--sot-line); padding: 8px 16px; }
#site-header .sh-account-menu :is(a,button) { width: 100%; min-height: 40px; }
#site-header .sh-search-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 6px 12px; padding-block: 28px; }
#site-header .sh-search-heading { margin: 0; font-size: clamp(22px, 2.15vw, 32px); }
#site-header .sh-input-wrap, #site-header .sh-status, #site-header .sh-results { grid-column: 1 / -1; }
#site-header .sh-input-wrap { display: flex; gap: 12px; align-items: center; margin-block-start: 10px; padding: 6px 12px; border: 1px solid var(--sot-line-strong); background: var(--sot-input, var(--sot-surface)); color: var(--sot-input-text); }
#site-header .sh-input-wrap:focus-within { outline: 2px solid var(--hl-focus); outline-offset: 1px; }
#site-header #siteSearchInput { flex: 1; width: 100%; min-width: 0; height: 38px; min-height: 38px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none !important; box-shadow: none; background: transparent; font: inherit; color: var(--sot-input-text); }
#site-header .sh-status { margin: 6px 0 0; color: var(--sot-nav-text); font-size: 13px; }
#site-header .sh-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; }
#site-header .sh-results section { padding-block-start: 12px; }
#site-header .sh-results h3 { margin-block-end: 3px; }
html.sh-drawer-open { overflow: hidden; }
#site-footer { background: var(--sot-theme-footer); color: var(--sot-footer-text); }
#site-footer .sh-footer-body { display: grid; grid-template-columns: minmax(175px, .78fr) minmax(0, 2fr); gap: clamp(35px, 6vw, 90px); padding-block: clamp(38px, 5vw, 74px); }
#site-footer .sh-brand .sh-logo-plate { padding: 5px; }
#site-footer .sh-logo-plate > img { width: 61px !important; }
#site-footer .sh-brand-name { font-size: 24px; }
#site-footer .sh-brand-caption { font-size: 9px; }
#site-footer .sh-footer-brand p { max-width: 35ch; margin: 17px 0 0; font-size: 14px; line-height: 1.6; }
#site-footer .sh-footer-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); align-content: start; gap: 24px; }
#site-footer .sh-footer-group h2 { margin: 0 0 8px; }
#site-footer .sh-footer-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 32px; padding: 0; color: var(--sot-footer-text); opacity: 1; font-size: 16px; font-weight: 730; line-height: 1.35; text-align: start; }
#site-footer .sh-footer-toggle:disabled { cursor: default; }
#site-footer .sh-footer-toggle .sh-icon--down { display: none; }
#site-footer .sh-footer-links { display: grid; justify-items: start; }
#site-footer .sh-footer-links a, #site-footer .sh-footer-base nav a { display: inline-flex; align-items: center; color: var(--sot-footer-text) !important; padding-block: 4px; min-height: 33px; font-size: 14px; line-height: 1.45; }
#site-footer :is(.sh-footer-links, .sh-footer-base) a:hover { text-decoration: underline; text-decoration-color: var(--hl-secondary); text-underline-offset: 4px; }
#site-footer .sh-footer-base { border-top: 1px solid color-mix(in srgb, var(--sot-footer-text) 24%, transparent); }
#site-footer .sh-footer-base-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding-block: 15px; font-size: 12px; line-height: 1.5; }
#site-footer .sh-footer-base nav { display: flex; flex-wrap: wrap; gap: 2px 20px; }
#site-footer .sh-footer-base nav a { min-height: 26px; font-size: 12px; }
@media (max-width: 1050px) {
  html { scroll-padding-block-start: 75px; }
  #site-header { --sh-bar-height: 65px; }
  #site-header .sh-navigation { display: none; }
  #site-header #mobileToggle { display: inline-flex; }
  #site-header #mobileToggle[aria-expanded="true"] .sh-icon--menu { display: none; }
  #site-header #mobileToggle[aria-expanded="true"] .sh-icon--close { display: block; }
  #site-header .sh-mobile nav { display: grid; gap: 12px; padding-block: 16px 28px; }
  #site-header .sh-mobile-group { border-block-start: 1px solid var(--sot-line); padding-block-start: 12px; }
  #site-header .sh-mobile-group .sh-menu-heading { margin-bottom: 3px; }
  #site-header .sh-mobile-group a { min-height: 40px; }
  #site-header #mobileSearchToggle { justify-content: start; gap: 12px; width: 100%; border: 1px solid var(--sot-line-strong); padding-inline: 12px; }
}
@media (max-width: 700px) {
  #site-header .sh-row { gap: 4px; }
  #site-header .sh-actions { gap: 0; }
  #site-header .sh-logo-plate > img { width: 39px !important; }
  #site-header .sh-brand { gap: 6px; }
  #site-header .sh-brand-name { font-size: 17px; }
  #site-header .sh-brand-caption, #site-header .sh-account > span, #site-header #searchToggle { display: none; }
  #site-header .sh-account { min-width: 44px; padding-inline: 5px; margin: 0; border: 0; }
  #site-header .sh-language { padding-inline: 6px; }
  #site-header .sh-language .sh-icon { display: none; }
  #site-header .sh-search-inner { padding-block: 16px; }
  #site-footer .sh-footer-body { grid-template-columns: 1fr; gap: 26px; padding-block: 32px 22px; }
  #site-footer .sh-footer-brand p { max-width: 52ch; }
  #site-footer .sh-footer-groups { display: block; }
  #site-footer .sh-footer-group { border-block-start: 1px solid color-mix(in srgb, var(--sot-footer-text) 26%, transparent); }
  #site-footer .sh-footer-group h2 { margin: 0; }
  #site-footer .sh-footer-toggle { min-height: 48px; font-size: 15px; }
  #site-footer .sh-footer-toggle .sh-icon--down { display: block; }
  #site-footer .sh-footer-links { padding-block-end: 14px; }
  #site-footer .sh-footer-links a { min-height: 39px; }
  #site-footer .sh-footer-base-row { flex-direction: column; align-items: start; padding-block: 16px; }
}
@media (max-width: 385px) {
  #site-header .sh-brand-name { display: none; }
}

html[data-typo-header-nav="on"] body:not(.admin-shell-page) #site-header :is(.sh-nav-link,.sh-account,.sh-language,.sh-mega-grid a,.sh-mobile a,.sh-mobile button,.sh-account-menu a,.sh-account-menu button) {
  font-family: var(--sot-type-header-nav-family) !important;
  font-size: var(--sot-type-header-nav-size) !important;
  color: var(--sot-type-header-nav-color) !important;
  font-weight: var(--sot-type-header-nav-weight) !important;
  line-height: var(--sot-type-header-nav-line) !important;
  letter-spacing: var(--sot-type-header-nav-tracking) !important;
  font-style: var(--sot-type-header-nav-style) !important;
}

html[data-typo-footer-heading="on"] body:not(.admin-shell-page) #site-footer .sh-footer-toggle, html[data-typo-footer-heading="on"] body:not(.admin-shell-page) #site-footer .sh-footer-toggle > span {
  font-family: var(--sot-type-footer-heading-family) !important;
  font-size: var(--sot-type-footer-heading-size) !important;
  color: var(--sot-type-footer-heading-color) !important;
  font-weight: var(--sot-type-footer-heading-weight) !important;
  line-height: var(--sot-type-footer-heading-line) !important;
  letter-spacing: var(--sot-type-footer-heading-tracking) !important;
  font-style: var(--sot-type-footer-heading-style) !important;
}

html[data-typo-footer-body="on"] body:not(.admin-shell-page) #site-footer :is(.sh-footer-links a,.sh-footer-base span,.sh-footer-base a,.sh-footer-brand p) {
  font-family: var(--sot-type-footer-body-family) !important;
  font-size: var(--sot-type-footer-body-size) !important;
  color: var(--sot-type-footer-body-color) !important;
  font-weight: var(--sot-type-footer-body-weight) !important;
  line-height: var(--sot-type-footer-body-line) !important;
  letter-spacing: var(--sot-type-footer-body-tracking) !important;
  font-style: var(--sot-type-footer-body-style) !important;
}

#site-header [data-student-offer][hidden],#site-footer [data-student-offer][hidden]{display:none!important}

#site-footer .sh-footer-group h2, #site-footer .sh-footer-group .sh-footer-toggle {background:transparent!important;box-shadow:none!important}
html:not([data-typo-footer-heading="on"]) #site-footer .sh-footer-toggle, html:not([data-typo-footer-heading="on"]) #site-footer .sh-footer-toggle span {color:var(--sot-footer-text)!important}
html:not([data-typo-footer-body="on"]) #site-footer .sh-footer-brand p, html:not([data-typo-footer-body="on"]) #site-footer .sh-footer-base p {color:var(--sot-footer-text)!important}

/* Compact shell. Existing transparent PSD renditions keep the same identity. */
#site-header {--sh-bar-height:60px;}
#site-header .sh-row {gap:clamp(10px,1.75vw,23px);}
#site-header .sh-logo-plate {padding:1px;background:transparent;}
#site-header .sh-logo-plate > img {width:37px!important;}
#site-header .sh-brand-name {font-size:19px;}
#site-header .sh-brand-caption {font-size:9px;}
#site-footer .sh-footer-body {
  grid-template-columns:minmax(160px,.8fr) minmax(0,2fr);
  gap:clamp(13px,2vw,28px);padding-block:14px 10px;
}
#site-footer .sh-brand .sh-logo-plate {padding:2px;}
#site-footer .sh-logo-plate > img {width:31px!important;}
#site-footer .sh-brand-name {font-size:16px;}
#site-footer .sh-footer-brand p {margin:6px 0 0;line-height:1.38;}
#site-footer .sh-footer-groups {gap:10px 18px;}
#site-footer .sh-footer-group h2 {margin:0;}
#site-footer .sh-footer-toggle {min-height:28px;}
#site-footer .sh-footer-links a {min-height:29px;padding-block:2px;}
#site-footer .sh-footer-base-row {padding-block:4px;}
@media (max-width:700px) {
  #site-header {--sh-bar-height:54px;}
  #site-header .sh-logo-plate > img {width:31px!important;}
  #site-footer .sh-footer-body {grid-template-columns:minmax(0,1fr);gap:8px;padding-block:10px 7px;}
  #site-footer .sh-footer-toggle {min-height:36px;}
  #site-footer .sh-footer-links {padding-block-end:4px;}
  #site-footer .sh-footer-links a {min-height:34px;}
}

/* Source module: hyperlogic-scs.css */
/* Hyper Logic SCS: site identity layer over V9's page and Admin contracts. */
/* First-paint design tokens. The site-settings API and the admin editor use
   these same roles. Stored owner choices replace the custom properties at runtime. */
:root {
  color-scheme: light;
  --hl-font: Inter, "Segoe UI", Arial, sans-serif;
  --hl-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --hl-width: 1320px;
  --hl-gutter: clamp(16px,4vw,62px);
  --sot-font: var(--hl-font);
  --sot-canvas: #f9fcfd;
  --sot-canvas-2: #ffffff;
  --sot-surface: #ffffff;
  --sot-surface-2: #f2f8fb;
  --sot-text: #081317;
  --sot-text-soft: #193b49;
  --sot-muted: #24556a;
  --sot-cyan-500: #d52197;
  --sot-magenta-500: #429bc0;
  --sot-line: #d2e7f0;
  --sot-line-strong: #347a98;
  --sot-theme-header: #ffffff;
  --sot-theme-footer: #0f222a;
  --sot-page-text: #081317;
  --sot-heading: #000000;
  --sot-link: #9e1870;
  --sot-card-text: #081317;
  --sot-card-muted: #24556a;
  --sot-nav-text: #081317;
  --sot-footer-text: #ffffff;
  --sot-button-text: #ffffff;
  --sot-button-secondary-text: #081317;
  --sot-input: #ffffff;
  --sot-input-text: #081317;
  --sot-home-panel: #ffffff;
  --sot-home-highlight: #f2f8fb;
  --sot-home-border: #d2e7f0;
  --sot-admin-panel: #ffffff;
  --sot-admin-text: #081317;
  --hl-primary: var(--sot-cyan-500);
  --hl-secondary: var(--sot-magenta-500);
  --hl-brand-magenta: var(--hl-primary);
  --hl-brand-blue: var(--hl-secondary);
  --hl-ink: var(--sot-text);
  --hl-action: var(--hl-primary);
  --hl-on-action: var(--sot-button-text);
  --hl-focus: var(--sot-link);
  --sot-cyan-300: var(--hl-primary);
  --sot-cyan-400: var(--hl-primary);
  --sot-magenta-400: var(--hl-secondary);
  --sot-violet-500: var(--hl-secondary);
  --sot-black: var(--sot-canvas);
  --sot-ink-950: var(--sot-canvas);
  --sot-ink-900: var(--sot-canvas-2);
  --sot-ink-850: var(--sot-surface);
  --sot-ink-800: var(--sot-surface-2);
  --sot-surface-1: var(--sot-surface);
  --sot-surface-3: var(--sot-surface-2);
  --sot-muted-light: var(--sot-text-soft);
  --gh-black: var(--sot-canvas);
  --gh-black-2: var(--sot-canvas-2);
  --gh-navy: var(--sot-surface);
  --gh-navy-2: var(--sot-surface-2);
  --gh-blue: var(--hl-secondary);
  --gh-blue-deep: var(--hl-secondary);
  --gh-orange: var(--hl-primary);
  --gh-orange-2: var(--sot-link);
  --gh-orange-soft: var(--sot-link);
  --gh-orange-bright: var(--sot-link);
  --gh-gold: var(--hl-primary);
  --gh-text: var(--sot-text);
  --gh-soft: var(--sot-text-soft);
  --gh-muted: var(--sot-muted);
  --gh-line: var(--sot-line);
  --gh-line-blue: var(--sot-line);
  --sot-v8-line: var(--sot-line);
  --sot-v8-panel: var(--sot-surface);
  --sot-v8-panel-soft: var(--sot-surface-2);
  --sot-success: #19643b;
  --sot-warning: #795400;
  --sot-danger: #a32035;
  --sot-brand-gradient: var(--hl-action);
}
body.site-shell-page{background:var(--sot-canvas)!important;color:var(--sot-page-text)!important}
body.site-shell-page .container{max-width:var(--hl-width);width:calc(100% - var(--hl-gutter)*2);margin-inline:auto;padding-inline:0}
body.site-shell-page :focus-visible{outline:3px solid var(--hl-focus)!important;outline-offset:4px}

body.site-shell-page .hl-home{padding:0!important;margin:0;max-width:none;background:var(--sot-canvas)!important}
.hl-home :is(#editions,#pro-edition,#resources){scroll-margin-top:20px}
.hl-hero{background:var(--sot-theme-footer);color:var(--sot-footer-text);border-bottom:4px solid color-mix(in srgb, var(--hl-secondary) 25%, var(--sot-theme-footer))}
.hl-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr);gap:clamp(26px,4.5vw,70px);min-height:480px;align-items:center;padding-block:clamp(28px,4vw,64px)}
body.site-shell-page .hl-home .hl-hero-copy.home-feature{display:block;min-width:0;padding:0;border:0!important;border-radius:0;box-shadow:none;background:transparent!important;overflow:visible}
.hl-kicker{font-family:var(--hl-mono);font-size:11px;font-weight:760;letter-spacing:.13em;line-height:1.45;margin:0 0 17px;color:var(--sot-link)!important}
.hl-hero .hl-kicker{color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important;display:flex;align-items:center;gap:9px}
.hl-hero .hl-kicker::before{content:"";width:11px;height:11px;background:var(--hl-primary);flex:none}
body.site-shell-page .hl-home .hl-hero h1{font-size:clamp(40px,5.05vw,76px)!important;font-weight:790;letter-spacing:-.056em;line-height:1.025;margin:0;color:var(--sot-footer-text)!important;overflow-wrap:anywhere}
body.site-shell-page .hl-home .hl-hero h1.hl-custom-title{font-size:clamp(22px,9vw,var(--home-title-size,56px))!important;letter-spacing:-.04em}
body.site-shell-page .hl-home .hl-hero h1 em{display:block;color:color-mix(in srgb, var(--hl-primary) 53%, var(--sot-footer-text));font-style:normal}
body.site-shell-page .hl-home .hl-hero #homeIntroduction{margin:23px 0 27px;color:var(--sot-footer-text)!important;font-size:clamp(16px,1.49vw,21px);max-width:32ch;line-height:1.52}
body.site-shell-page .hl-home .hl-hero-actions{margin:0;display:flex;flex-wrap:wrap;gap:10px}
body.site-shell-page .hl-home .hl-hero-actions .button{padding:0 15px;min-height:48px;justify-content:space-between;gap:11px;font-size:14px!important;font-weight:750;letter-spacing:0;border-radius:0!important;box-shadow:none!important;transform:none}
body.site-shell-page .hl-home .hl-hero-actions .button--primary{background:var(--sot-cyan-500)!important;color:var(--sot-button-text)!important;border:1px solid var(--sot-cyan-500)!important}
body.site-shell-page .hl-home .hl-hero-actions .button--primary:hover{filter:brightness(1.15)}
body.site-shell-page .hl-home .hl-hero-actions .button--secondary{background:transparent!important;color:var(--sot-footer-text)!important;border:1px solid var(--hl-secondary)!important}
body.site-shell-page .hl-home .hl-hero-actions .button--secondary:hover{background:color-mix(in srgb, var(--hl-secondary) 25%, var(--sot-theme-footer))!important}
.hl-hero :focus-visible{outline-color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important}
.hl-hero-rule{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:34px;font:650 10px/1.5 var(--hl-mono);letter-spacing:.12em;color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery.home-gallery{max-width:none;width:100%;margin:0;min-width:0;border:1px solid var(--sot-line-strong)!important;border-radius:0!important;box-shadow:none!important;background:var(--sot-theme-footer)!important}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-stage{min-height:0;aspect-ratio:790/555;background:var(--sot-theme-footer)!important}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-stage img{object-fit:contain;max-height:none}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-bar{min-height:49px;gap:12px;padding:6px 13px;border-top:1px solid var(--sot-line-strong);background:var(--sot-theme-footer)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-caption{font:600 11px/1.4 var(--hl-mono);color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-count{color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-controls>button{width:30px;height:31px;color:var(--sot-footer-text);border-color:var(--hl-secondary);border-radius:0;background:var(--sot-theme-footer)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-controls>button:disabled{opacity:.45;cursor:default}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-dots button[aria-current="true"]{background:color-mix(in srgb, var(--hl-primary) 53%, var(--sot-footer-text))}
.hl-jump-band{background:var(--sot-surface);border-bottom:1px solid var(--sot-line)}
.hl-jump{display:flex;flex-wrap:wrap;gap:8px clamp(15px,4vw,46px);align-items:center;min-height:60px;padding-block:8px}
.hl-jump>span{font:700 11px/1.35 var(--hl-mono);letter-spacing:.13em;color:var(--sot-muted)}
.hl-jump a{font-size:13px;font-weight:690;color:var(--sot-nav-text);text-decoration:none}.hl-jump a:hover{text-decoration:underline}
body.site-shell-page.home-shell-page .hl-home>.hl-editions.container{width:calc(100% - var(--hl-gutter)*2)!important}
.hl-editions{padding-block:clamp(35px,5.4vw,76px)}
.hl-section-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:end;gap:12px 44px;margin:0 0 25px}
.hl-section-head .hl-kicker{margin:0 0 8px}.hl-section-head h2{font-size:clamp(29px,4.2vw,51px);line-height:1.05;letter-spacing:-.05em;margin:0}
body.site-shell-page .hl-home .hl-section-head>p{margin:0;font-size:15px;line-height:1.57;max-width:42ch;color:var(--sot-text-soft)}
.hl-edition-grid{display:grid;grid-template-columns:minmax(0,1.23fr) minmax(0,1fr);gap:16px}
.hl-edition{padding:25px clamp(19px,3vw,37px) 29px;border:1px solid var(--sot-line);min-width:0}
.hl-edition-student{background:var(--sot-surface);border-top:3px solid var(--hl-primary)}
.hl-edition-pro{background:var(--sot-surface-2);border-top:3px solid var(--hl-secondary)}
.hl-edition-top{display:flex;min-height:31px;justify-content:space-between;align-items:center;gap:10px;color:var(--sot-muted);font:650 11px/1.35 var(--hl-mono);letter-spacing:.09em}
.hl-tag{display:inline-block;max-width:100%;padding:5px 8px;background:color-mix(in srgb, var(--hl-primary) 10%, var(--sot-surface));color:var(--sot-link)}.hl-edition-pro .hl-tag{background:var(--sot-surface-2);color:var(--sot-muted)}
.hl-edition h3{font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;line-height:1.05;margin:16px 0 8px}
body.site-shell-page .hl-home .hl-edition p{margin:0 0 19px;max-width:55ch;color:var(--sot-text-soft)}
.hl-link-arrow{color:var(--sot-link);font-size:14px;font-weight:750;text-decoration:none}.hl-link-arrow:hover{text-decoration:underline}.hl-link-arrow span{padding-inline-start:5px}
.hl-resources{padding-block:clamp(35px,5vw,65px);background:var(--sot-surface-2);border-top:1px solid var(--sot-line)}
.hl-resource-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 23px}
.hl-resource-index a{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;min-height:63px;padding:12px;background:var(--sot-surface);border:1px solid var(--sot-line);color:var(--sot-heading);text-decoration:none;font-size:14px}
.hl-resource-index a strong{min-width:0;overflow-wrap:anywhere}.hl-resource-index a span{color:var(--sot-link);font:700 12px/1.4 var(--hl-mono)}.hl-resource-index a:hover{border-color:var(--sot-link)}
body.site-shell-page .hl-home .home-layout__grid{max-width:var(--hl-width);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,2fr);align-items:start;gap:14px;margin-block:0 14px;padding:0}
body.site-shell-page .hl-home .home-center{display:grid;grid-template-columns:1fr;width:100%;min-width:0;gap:14px;padding:0;margin:0}
body.site-shell-page .hl-home :is(.home-column,.home-story,.home-center-extras>div:not(:empty),.home-flex-card,.home-promo,.home-updates){background:var(--sot-home-panel)!important;border:1px solid var(--sot-home-border)!important;border-radius:0!important;padding:18px;box-shadow:none!important;min-width:0}
body.site-shell-page .hl-home .home-center-extras{display:grid;gap:14px;margin:0}
body.site-shell-page .hl-home .home-center-extras>:empty{display:none}
body.site-shell-page .hl-home .home-story-article{padding:0;border:0;background:transparent}
body.site-shell-page .hl-home .home-story-article p{margin:8px 0 0;line-height:1.65}

body.site-shell-page .hl-home .home-panel-head{margin:0 0 13px;padding:0 0 11px}
body.site-shell-page .hl-home .home-lower{max-width:var(--hl-width);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-block:0;padding:0}
body.site-shell-page .hl-home .home-lower:empty{display:none}
body.site-shell-page .hl-home :is(.home-product-list .commerce-product-card,.home-link-list a,.home-article-list .commerce-article-card){border-radius:0!important;box-shadow:none!important;background:var(--sot-home-highlight)!important}
body.site-shell-page .hl-home :is(.home-product-list .commerce-product-card__image img,.home-mini-card img){border-radius:0}
body.site-shell-page .hl-home .home-mini-card h3 a{color:var(--sot-card-text)}
/* Interior views use the same palette, retaining Admin typography and card shape settings. */
body.site-shell-page :is(.page-intro-band,.prompt-page-top,.cart-hero){background:var(--sot-surface-2)!important;border-color:var(--sot-line)!important;box-shadow:none!important}
body.site-shell-page :where(.commerce-product-card,.product-card,.commerce-article-card,.article-card,.surface-card,.cart-panel,.account-user-card,.account-stat-panel,.auth-panel,.auth-visual){background:var(--sot-surface)!important;color:var(--sot-card-text)!important;border-color:var(--sot-line)!important;box-shadow:none!important}
body.site-shell-page :where(.product-card__media,.commerce-product-card__image,.article-card-cover-wrap)::after{opacity:0!important}
body.site-shell-page :where(.product-card__media,.article-card-cover-wrap){background:var(--sot-surface-2)!important}
body.site-shell-page :where(.button,.btn,.auth-btn,.checkout-btn,.product-button):not(.hl-hero-actions .button){box-shadow:none!important}
body.site-shell-page :where(.product-availability-note,.hl-local-note){padding:13px 15px;margin:12px 0;border-left:3px solid var(--hl-brand-blue);background:var(--sot-surface-2);color:var(--sot-text)}
body.site-shell-page [hidden]{display:none!important}
html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero h1{font-size:var(--sot-type-main-heading-size)!important;color:var(--sot-type-main-heading-color)!important;letter-spacing:var(--sot-type-main-heading-tracking)!important}
@media(max-width:1050px){

 .hl-hero-grid{min-height:390px}
}
@media(max-width:759px){
 .hl-hero-grid{grid-template-columns:minmax(0,1fr);gap:26px;padding-block:30px}.hl-hero-rule{margin-top:24px}
 .hl-edition-grid,.hl-section-head{grid-template-columns:minmax(0,1fr)}
 .hl-resource-index{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-jump-band .hl-jump{gap:8px 15px}
 body.site-shell-page .hl-home .home-layout__grid:not(.home-grid-managed),body.site-shell-page .hl-home .home-lower{grid-template-columns:minmax(0,1fr)}

}
@media(max-width:540px){

 body.site-shell-page .hl-home .hl-hero h1:not(.hl-custom-title){font-size:clamp(38px,11vw,60px)!important}
 .hl-jump>span{width:100%}.hl-jump a{font-size:12px}.hl-resource-index a{font-size:12px;padding:8px;gap:6px}

}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.hl-home *{animation-duration:.001ms!important;transition-duration:.001ms!important}}

body.site-shell-page .hl-home .hl-hero #homeEyebrow{font-size:11px!important;color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important;margin:0 0 17px}
body.site-shell-page .hl-home .hl-hero #marketplaceTitle{font-size:clamp(40px,4.25vw,64px)!important;line-height:1.03}
body.site-shell-page .hl-home .hl-hero #marketplaceTitle.hl-custom-title{font-size:clamp(22px,9vw,var(--home-title-size,56px))!important;line-height:1.16}
body.site-shell-page .hl-home .hl-hero #homeIntroduction{font-size:clamp(16px,1.49vw,21px)!important}
body.site-shell-page .hl-home .hl-section-head .hl-kicker{font-size:11px!important;color:var(--sot-link)!important}
body.site-shell-page .hl-home :is(#hlEditionsTitle,#hlResourcesTitle){font-size:clamp(28px,3.35vw,48px)!important;line-height:1.05}
body.site-shell-page .hl-home .hl-edition h3{font-size:clamp(22px,2.33vw,34px)!important;line-height:1.05}
body.site-shell-page .hl-home .hl-link-arrow{color:var(--sot-link)!important}
.hl-arrow{display:inline-block;width:12px;height:12px;vertical-align:-1px;flex:none}
body.site-shell-page .hl-home [data-single-slide="true"] .home-gallery-controls{display:none}
body.site-shell-page .hl-home [data-single-slide="true"] .home-gallery-bar{flex-direction:row;align-items:center}
html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero #marketplaceTitle{font-family:var(--sot-type-main-heading-family)!important;font-size:var(--sot-type-main-heading-size)!important;color:var(--sot-type-main-heading-color)!important;font-weight:var(--sot-type-main-heading-weight)!important;line-height:var(--sot-type-main-heading-line)!important;letter-spacing:var(--sot-type-main-heading-tracking)!important;font-style:var(--sot-type-main-heading-style)!important}
body.product-shell-page #site-main :is(.product-gallery-card,.product-summary-card,.product-content-block,.product-feedback-card){background:var(--sot-surface)!important;border:1px solid var(--sot-line)!important;border-radius:0!important;box-shadow:none!important}
body.product-shell-page #site-main :is(.product-gallery-card,.product-summary-card,.product-content-block)::before,body.product-shell-page #site-main .product-summary-card::after{display:none!important}
body.product-shell-page #site-main .product-main-image-wrap{background:var(--sot-theme-footer);border-radius:0;min-height:0}
body.product-shell-page #site-main #productMainImage{max-height:none;aspect-ratio:790/555;object-fit:contain}
body.product-shell-page #site-main #productTitle{max-width:25ch;margin:13px 0;line-height:1.08;font-size:clamp(26px,3.1vw,43px)!important;letter-spacing:-.04em}
body.product-shell-page #site-main .product-summary-text{font-size:16px!important;line-height:1.6}
body.product-shell-page #site-main :is(.product-price-block,.product-quick-facts>div,.product-assurance-rail article){background:var(--sot-surface-2)!important;border:1px solid var(--sot-line)!important;border-radius:0!important;box-shadow:none!important}
body.product-shell-page #site-main .product-quick-facts :is(dt,dd){text-align:left}
body.product-shell-page #site-main .product-quick-facts dd{margin-inline:0}
body.site-shell-page #site-main :is(.breadcrumbs,.breadcrumbs a,.product-breadcrumbs,.product-breadcrumbs a,.product-section-tabs a){color:var(--sot-text-soft)!important}
body.site-shell-page #site-main .product-section-tabs a.active{color:var(--sot-link)!important}
body.product-shell-page #site-main .product-buy-panel__actions button{border-radius:0!important;min-height:48px;box-shadow:none!important}
body.product-shell-page #site-main #addToCartBtn{background:var(--sot-cyan-500)!important;color:var(--sot-button-text)!important}
body.product-shell-page #site-main #buyNowBtn{background:transparent!important;color:var(--sot-button-secondary-text)!important;border:1px solid var(--sot-line-strong)!important}
body.site-shell-page #site-main :is(.primary-btn,.prompt-primary-btn,.summary-btn--primary,.account-btn-accent,.state-btn){box-shadow:none!important;color:var(--sot-button-text)!important;background:var(--sot-cyan-500)!important}
body.site-shell-page :is(.page-intro-band,.prompt-page-top)::after{display:none!important}
html[data-typo-product-title="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main #productTitle{font-size:var(--sot-type-product-title-size)!important;line-height:var(--sot-type-product-title-line)!important;letter-spacing:var(--sot-type-product-title-tracking)!important}
@media(max-width:540px){

 body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title){font-size:clamp(34px,9.1vw,46px)!important}
 html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title){font-size:var(--sot-type-main-heading-size)!important}
}

/* Form and account surfaces share the editable public design settings. */
body.site-shell-page #site-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),select,textarea) {
  color: var(--sot-input-text);
  background-color: var(--sot-input);
}
body.site-shell-page #site-main :where(input,textarea)::placeholder { color: var(--sot-muted); opacity:1; }
body.auth-shell-page .auth-brand-lockup .hl-auth-logo {
  width:64px!important; height:auto!important; max-width:100%; object-fit:contain;
  padding:3px; background:white; border-radius:3px; box-sizing:content-box;
}
body.account-shell-page .account-layout > *,
body.account-shell-page .account-library-controls > * { min-width:0; }
@media (max-width:840px) {
  body.account-shell-page #site-main .account-layout { grid-template-columns:minmax(0,1fr); }
  body.account-shell-page .account-library-controls { grid-template-columns:minmax(0,1fr); }
  body.account-shell-page .account-library-controls :where(input,select,button) { width:100%; max-width:100%; }
}

/* Compact storefront defaults, in typographic points (10pt = 13.33 CSS pixels).
   Explicit typography sizes set in Admin can still override their respective role. */
:root {
  --hl-width: 1840px;
  --hl-gutter: clamp(12px,2.2vw,40px);
  --hl-reading-size: 10pt;
  --hl-heading-size: 14pt;
  --hl-subheading-size: 12pt;
  --hl-legal-footer-size: 7pt;
}
@layer hl-compact-default {
  html:not([data-typo-page-body="on"]) body.site-shell-page:not(.admin-shell-page)
    :is(#site-main, #site-main p, #site-main li, #site-main td, #site-main th, #site-main label,
        #site-main summary, #site-main input, #site-main select, #site-main textarea, #site-main button,
        #site-main .button, #site-main .btn) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-main-heading="on"]) body.site-shell-page:not(.admin-shell-page) #site-main h1:not(.hl-custom-title):not(.article-title):not(#productTitle) {
    font-size:var(--hl-heading-size)!important;
  }
  html:not([data-typo-sub-heading="on"]) body.site-shell-page:not(.admin-shell-page) #site-main :is(h2,h3,h4,h5,h6) {
    font-size:var(--hl-subheading-size)!important;
  }
  html:not([data-typo-article-title="on"]) body.article-shell-page #site-main .article-title,
  html:not([data-typo-product-title="on"]) body.product-shell-page #site-main #productTitle {
    font-size:var(--hl-heading-size)!important;
  }
  html:not([data-typo-article-body="on"]) body.article-shell-page #site-main .article-body,
  html:not([data-typo-product-description="on"]) body.product-shell-page #site-main .product-description-content {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-header-nav="on"]) #site-header :is(.sh-nav-link,.sh-layer a,.sh-signin) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-footer-body="on"]) #site-footer :is(.sh-footer-links a,.sh-footer-brand p) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-footer-heading="on"]) #site-footer .sh-footer-toggle {
    font-size:var(--hl-subheading-size)!important;
  }
  body.site-shell-page #site-footer .sh-footer-base,
  body.site-shell-page #site-footer .sh-footer-base :is(a,span) {
    font-size:var(--hl-legal-footer-size)!important;
  }
}
@layer hl-compact-default {
  html[data-typo-article-body="on"] body.article-shell-page #site-main .article-body :is(p,li,td,th),
  html[data-typo-product-description="on"] body.product-shell-page #site-main .product-description-content :is(p,li,td,th) {
    font-size:inherit!important;
  }
  html[data-typo-article-heading="on"] body.article-shell-page #site-main .article-body :is(h2,h3,h4,h5,h6) {
    font-size:var(--sot-type-article-heading-size)!important;
  }
  html[data-typo-product-heading="on"] body.product-shell-page #site-main .product-description-content :is(h2,h3,h4,h5,h6) {
    font-size:var(--sot-type-product-heading-size)!important;
  }
}
#site-footer .sh-footer-base a { display:inline-flex; min-block-size:28px; align-items:center; }
body.site-shell-page:not(.admin-shell-page) :is(.pro-container, .legal-main) {
  width:calc(100% - var(--hl-gutter)*2);
  max-width:var(--hl-width);
  margin-inline:auto;
}
body.site-shell-page .legal-main article { max-inline-size:96ch; }
body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title) {max-inline-size:none;}
body.site-shell-page .hl-company {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(12px,2vw,32px);
  padding-block:clamp(18px,2.3vw,36px);
  border-block-end:1px solid var(--sot-line);
}
.hl-company h2, .hl-company p { margin:0; }
.hl-company h2 { margin-block-end:.4em; color:var(--sot-heading); }
.hl-company p { max-inline-size:72ch; line-height:1.65; color:var(--sot-text-soft); }
.hl-company nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 20px; }
.hl-company nav a { display:inline-flex; align-items:center; min-block-size:40px; }
@media(max-width:700px){
  body.site-shell-page .hl-company {grid-template-columns:minmax(0,1fr);}
  .hl-company nav {justify-content:flex-start;}
}

/* 4.3 rhythm for utility and catalog pages; account and editorial use their own grids. */
body.site-shell-page:not(.admin-shell-page) .legal-main {
  margin-block:clamp(15px,2.2vw,28px);padding:clamp(14px,2.3vw,28px);
  border-radius:10px;
}
body.site-shell-page .legal-main :is(.lead,article) {max-inline-size:100ch;}
body.site-shell-page .legal-main article :is(h2,h3) {margin-block:1.15em .4em;}
body.site-shell-page .legal-main article :is(p,ul,ol) {margin-block:.4em .85em;line-height:1.65;}
body.site-shell-page .products-page .page-head {padding-block:16px!important;}
body.site-shell-page .products-page .products-section {padding-block:14px 23px!important;}
body.site-shell-page .cart-main {padding-block:clamp(16px,2.5vw,29px)!important;}
