@font-face {
  font-family: "Neo Sans Std";
  src: url("../fonts/NeoSans-Regular.woff2?v=ZKDJS3Kx_oBdv5C7Xlv3amGfIXefAllB305lZtTkn7c") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Shipment tracking */
.shipment-summary { margin: 1.5rem 0; overflow: hidden; }
.shipment-summary-header > div { min-width: 0; }
.shipment-summary-list { display: grid; }
.shipment-summary-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 44px minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 1.3rem;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.shipment-summary-row:last-of-type { border-bottom: 0; }
.shipment-summary-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.shipment-summary-main { display: grid; min-width: 0; gap: .26rem; }
.shipment-summary-main > span, .shipment-summary-timing > span { color: var(--muted); font-size: .76rem; font-weight: 700; line-height: 1.25; letter-spacing: .025em; }
.shipment-summary-main > strong { overflow: hidden; font-size: 1rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.shipment-summary-main > small { overflow: hidden; color: var(--muted); font-size: .82rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.shipment-summary-main > small.shipment-summary-details { display: flex; overflow: visible; flex-wrap: wrap; gap: .38rem .9rem; margin-top: .1rem; text-overflow: clip; white-space: normal; }
.shipment-summary-details > span { display: inline-flex; min-width: 0; align-items: center; gap: .35rem; }
.shipment-summary-details > span + span::before { width: 1px; height: .85rem; margin-right: .05rem; background: var(--line-strong); content: ""; }
.shipment-summary-details i { color: var(--accent); font-size: .72rem; }
.shipment-summary-status { display: flex; min-width: 0; align-items: center; gap: 1.15rem; padding-left: 1.35rem; border-left: 1px solid var(--line); }
.shipment-summary-timing { display: grid; min-width: 140px; gap: .22rem; }
.shipment-summary-timing > strong { font-size: .9rem; white-space: nowrap; }
.shipment-summary-action { min-height: 42px; padding: .58rem .9rem; white-space: nowrap; }
.shipment-summary-action i { font-size: .72rem; }
.shipment-summary-row.is-customer { grid-template-areas: "icon main status" "icon main action"; grid-template-columns: 42px minmax(220px, 1fr) auto; grid-template-rows: auto auto; gap: .55rem 1.1rem; padding: 1rem 1.15rem; }
.shipment-summary-row.is-customer .shipment-summary-icon { grid-area: icon; }
.shipment-summary-row.is-customer .shipment-summary-main { grid-area: main; align-self: center; gap: .32rem; }
.shipment-summary-row.is-customer .shipment-summary-details { gap: .45rem 1rem; margin-top: .14rem; }
.shipment-summary-row.is-customer .shipment-summary-status { grid-area: status; justify-self: end; gap: .9rem; padding: 0; border-left: 0; }
.shipment-summary-row.is-customer .shipment-summary-timing { min-width: 126px; text-align: right; }
.shipment-summary-row.is-customer .shipment-summary-action { grid-area: action; justify-self: end; }
.tracking-drawer { width: min(640px, 100%); }
.tracking-drawer-content { overflow-y: auto; overscroll-behavior: contain; padding: 0 1.5rem 2rem; }
.tracking-drawer-status { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 1rem; margin: 1.5rem 0 1.25rem; padding: 1.15rem 1.2rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: linear-gradient(110deg, var(--accent-soft), transparent 52%), var(--surface-2); }
.tracking-drawer-status-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); }
.tracking-drawer-status.success { border-left-color: var(--success); background: linear-gradient(110deg, color-mix(in srgb, var(--success) 10%, transparent), transparent 52%), var(--surface-2); }
.tracking-drawer-status.success .tracking-drawer-status-icon { border-color: color-mix(in srgb, var(--success) 28%, var(--line)); background: color-mix(in srgb, var(--success) 10%, var(--surface)); color: var(--success); }
.tracking-drawer-status.warning { border-left-color: var(--warning); background: linear-gradient(110deg, color-mix(in srgb, var(--warning) 10%, transparent), transparent 52%), var(--surface-2); }
.tracking-drawer-status.warning .tracking-drawer-status-icon { border-color: color-mix(in srgb, var(--warning) 28%, var(--line)); background: color-mix(in srgb, var(--warning) 10%, var(--surface)); color: var(--warning); }
.tracking-drawer-status.danger { border-left-color: var(--danger); background: linear-gradient(110deg, color-mix(in srgb, var(--danger) 10%, transparent), transparent 52%), var(--surface-2); }
.tracking-drawer-status.danger .tracking-drawer-status-icon { border-color: color-mix(in srgb, var(--danger) 28%, var(--line)); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); }
.tracking-drawer-status .eyebrow { color: var(--muted); }
.tracking-drawer-status h3 { margin: .18rem 0 0; font-size: 1.28rem; line-height: 1.18; }
.tracking-drawer-status p { margin: .32rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.tracking-drawer-status .tracking-drawer-current-location { display: flex; align-items: center; gap: .38rem; }
.tracking-drawer-status p i { color: var(--accent); }
.shipment-facts { display: grid; width: 100%; height: auto; grid-auto-rows: minmax(74px, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.shipment-facts div { min-width: 0; min-height: 74px; padding: .9rem 1rem; background: var(--surface-2); }
.shipment-facts .shipment-fact-wide { grid-column: 1 / -1; }
.shipment-facts > div:not(:first-child) { border-top: 1px solid var(--line); }
.shipment-facts > div:not(.shipment-fact-wide):nth-child(odd):not(:last-child) { border-right: 1px solid var(--line); }
.shipment-facts > div:last-child:nth-child(odd):not(.shipment-fact-wide) { grid-column: 1 / -1; }
.shipment-facts dt { color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shipment-facts dd { margin: .22rem 0 0; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.shipment-tracking-number-fact dd { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 1rem; }
.shipment-tracking-number-fact code { min-width: 0; color: var(--text); font: 700 .9rem/1.35 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; letter-spacing: .025em; overflow-wrap: anywhere; }
.tracking-copy-button { display: inline-flex; min-height: 34px; flex: 0 0 auto; align-items: center; gap: .4rem; padding: .35rem .58rem; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); font: 700 .75rem/1 "Neo Sans Std", sans-serif; cursor: pointer; }
.tracking-copy-button:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.tracking-copy-button.is-copied { border-color: color-mix(in srgb, var(--success) 45%, var(--line)); color: var(--success); }
.tracking-drawer-alert { display: grid; gap: .3rem; margin-top: 1rem; }
.tracking-drawer-history { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tracking-drawer-history > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.tracking-drawer-history h3 { margin: .18rem 0 0; font-size: 1.25rem; }
.tracking-drawer-history > header > span { padding: .25rem .48rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.shipment-history-list { display: grid; gap: 0; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.shipment-history-list li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .9rem; min-height: 78px; }
.shipment-history-list li:not(:last-child)::before { position: absolute; top: 11px; bottom: 0; left: 3px; width: 2px; background: var(--line); content: ""; }
.shipment-history-marker { position: relative; z-index: 1; display: block; width: 8px; height: 8px; margin-top: .3rem; border-radius: 50%; background: var(--accent); }
.shipment-history-event { min-width: 0; padding: 0 0 1.45rem; }
.shipment-history-event > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1.25rem; }
.shipment-history-event strong { min-width: 0; font-size: .93rem; line-height: 1.3; }
.shipment-history-event time { flex: 0 0 auto; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.shipment-history-event small { display: block; margin-top: .42rem; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.tracking-drawer-empty-history { color: var(--muted); font-size: .82rem; }
.tracking-drawer-footer { display: flex; justify-content: flex-end; gap: .65rem; }
.tracking-drawer-footer .button { min-width: 0; flex: 0 1 220px; white-space: nowrap; }
.tracking-page-container { max-width: 900px; }
.tracking-empty { padding: 3rem; text-align: center; }
.tracking-empty i { color: var(--accent); font-size: 2rem; }
.tracking-support { margin-top: 2rem; color: var(--muted); text-align: center; }
@media (max-width: 820px) {
  .shipment-summary-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: .9rem; }
  .shipment-summary-timing { display: none; }
  .shipment-summary-status { grid-column: 2; width: fit-content; padding-left: 0; border-left: 0; }
  .shipment-summary-action { grid-row: 1 / span 2; grid-column: 3; }
  .shipment-summary-row.is-customer { grid-template-areas: "icon main" "status status" "action action"; grid-template-columns: 42px minmax(0, 1fr); gap: .75rem .9rem; }
  .shipment-summary-row.is-customer .shipment-summary-status { grid-area: status; width: 100%; justify-self: stretch; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--line); }
  .shipment-summary-row.is-customer .shipment-summary-timing { display: grid; min-width: 0; text-align: left; }
  .shipment-summary-row.is-customer .shipment-summary-action { grid-area: action; justify-self: end; }
}
@media (max-width: 560px) {
  .shipment-summary-row { grid-template-columns: 36px minmax(0, 1fr) auto; padding: .9rem; }
  .shipment-summary-icon { width: 36px; height: 36px; }
  .shipment-summary-main > strong { white-space: normal; }
  .shipment-summary-main > small { max-width: 100%; }
  .shipment-summary-action { width: 42px; padding: 0; font-size: 0; }
  .shipment-summary-action i { font-size: .78rem; }
  .shipment-summary-row.is-customer { grid-template-columns: 36px minmax(0, 1fr); padding: .9rem; }
  .shipment-summary-row.is-customer .shipment-summary-icon { width: 36px; height: 36px; }
  .shipment-summary-row.is-customer .shipment-summary-details { display: grid; grid-template-columns: 1fr; gap: .3rem; }
  .shipment-summary-row.is-customer .shipment-summary-details > span + span::before { display: none; }
  .shipment-summary-row.is-customer .shipment-summary-action { width: 100%; justify-self: stretch; justify-content: center; padding: .58rem .9rem; font-size: inherit; }
  .tracking-drawer-content { padding-inline: 1rem; }
}
@media (max-width: 440px) {
  .shipment-facts { grid-template-columns: 1fr; }
  .shipment-facts .shipment-fact-wide, .shipment-facts > div:last-child:nth-child(odd):not(.shipment-fact-wide) { grid-column: auto; }
  .shipment-facts > div:not(.shipment-fact-wide):nth-child(odd):not(:last-child) { border-right: 0; }
  .shipment-history-event > div { grid-template-columns: 1fr; gap: .2rem; }
  .shipment-history-event time { grid-row: 1; }
  .shipment-history-event strong { grid-row: 2; }
  .tracking-drawer-footer { flex-wrap: wrap; }
  .tracking-drawer-footer .button { flex: 1 1 calc(50% - .35rem); }
  .tracking-drawer-footer.has-two-providers .button:last-child { flex-basis: 100%; }
}
@font-face {
  font-family: "Neo Sans Std";
  src: url("../fonts/NeoSans-Light.woff2?v=DZDYrVUODeGSBr6k7l9a8xO8x7uJ0DpWPD6fiOth_eA") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neo Sans Std";
  src: url("../fonts/NeoSans-Bold.woff2?v=PVcqMYkz9Xo31njO61XF5qioJqI1aVVfyI3WcBLmun8") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #eb1c22;
  --accent-bright: #ff343a;
  --accent-dark: #b91117;
  --accent-soft: rgba(235, 28, 34, .09);
  --bg: #f4f5f6;
  --shell: #fff;
  --surface: #fff;
  --surface-2: #f6f6f6;
  --surface-3: #ebedef;
  --line: #d5d8db;
  --line-strong: #abb0b5;
  --text: #202124;
  --muted: #64696e;
  --success: #167447;
  --warning: #8a5a00;
  --danger: #b51e24;
  --checkout-error: #b5151b;
  --info: #23628e;
  --shadow-color: rgba(20, 23, 26, .12);
  --header-bg: rgba(255, 255, 255, .96);
  --grid-line: rgba(25, 29, 32, .045);
  --panel-overlay: rgba(255, 255, 255, .55);
  --hover-fill: rgba(20, 23, 26, .035);
  --radius: 5px;
  --control: 40px;
  --container: 1180px;
  --shadow: 0 18px 50px var(--shadow-color);
  --focus: 0 0 0 3px rgba(235, 28, 34, .3);
  --tooltip-bg: #202124;
  --tooltip-text: #fff;
  --tooltip-border: rgba(255, 255, 255, .14);
  --tooltip-shadow: 0 9px 24px rgba(20, 23, 26, .2);
  --floating-edge: 8px;
  --floating-gap: 10px;
  font-family: "Neo Sans Std", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  color-scheme: light;
}

html[data-theme="dark"] {
  --accent-soft: rgba(235, 28, 34, .13);
  --bg: #212121;
  --shell: #2b2b2b;
  --surface: #333;
  --surface-2: #3d3d3d;
  --surface-3: #242424;
  --line: #505050;
  --line-strong: #686868;
  --text: #f7f7f7;
  --muted: #aaa;
  --success: #73d69f;
  --warning: #ffc661;
  --danger: #ff777b;
  --checkout-error: #ff454b;
  --info: #8ab9e8;
  --shadow-color: rgba(0, 0, 0, .3);
  --header-bg: rgba(43, 43, 43, .96);
  --grid-line: rgba(255, 255, 255, .025);
  --panel-overlay: rgba(0, 0, 0, .18);
  --hover-fill: rgba(255, 255, 255, .025);
  --tooltip-bg: #f5f5f5;
  --tooltip-text: #202124;
  --tooltip-border: rgba(0, 0, 0, .16);
  --tooltip-shadow: 0 10px 28px rgba(0, 0, 0, .38);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: var(--line-strong) var(--surface-3); scrollbar-width: thin; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(circle at 85% 10%, rgba(235, 28, 34, .075), transparent 28rem), var(--bg);
}
body.cart-drawer-open, body.tracking-drawer-open { overflow: hidden; }
body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { background: var(--surface-3); }
body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 9px; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--accent-bright); }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
.visually-hidden { 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; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: 0; left: -9999px; z-index: 100; padding: .75rem 1rem; background: var(--accent); color: #fff; }
.skip-link:focus { left: 1rem; }

.app-tooltip {
  visibility: hidden;
  position: absolute;
  z-index: 100;
  top: calc(100% + var(--floating-gap));
  left: 50%;
  width: max-content;
  max-width: min(220px, calc(100vw - (var(--floating-edge) * 2)));
  padding: .46rem .62rem;
  border: 1px solid var(--tooltip-border);
  border-radius: 4px;
  background: var(--tooltip-bg);
  box-shadow: var(--tooltip-shadow);
  color: var(--tooltip-text);
  font: 700 .8rem/1.2 "Neo Sans Std", sans-serif;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -3px);
  transition: opacity .14s ease, transform .14s ease, visibility 0s;
}
.app-tooltip[data-placement="top"] { top: auto; bottom: calc(100% + var(--floating-gap)); transform: translate(-50%, 3px); }
.app-tooltip.align-left { right: auto; left: 0; transform: translateY(-3px); }
.app-tooltip.align-right { right: 0; left: auto; transform: translateY(-3px); }
.app-tooltip[data-placement="top"].align-left, .app-tooltip[data-placement="top"].align-right { transform: translateY(3px); }
.app-tooltip.is-visible { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
.app-tooltip.is-visible.align-left, .app-tooltip.is-visible.align-right { transform: translateY(0); }
.app-tooltip-arrow {
  position: absolute;
  left: var(--floating-arrow-x, 50%);
  width: .7rem;
  height: .7rem;
  background: var(--tooltip-bg);
  transform: translateX(-50%) rotate(45deg);
}
.app-tooltip.align-left .app-tooltip-arrow { left: 22px; }
.app-tooltip.align-right .app-tooltip-arrow { right: 15px; left: auto; }
.app-tooltip[data-placement="bottom"] .app-tooltip-arrow {
  top: -.38rem;
  border-top: 1px solid var(--tooltip-border);
  border-left: 1px solid var(--tooltip-border);
}
.app-tooltip[data-placement="top"] .app-tooltip-arrow {
  bottom: -.38rem;
  border-right: 1px solid var(--tooltip-border);
  border-bottom: 1px solid var(--tooltip-border);
}
@media (prefers-reduced-motion: reduce) {
  .app-tooltip { transition-property: opacity, visibility; }
}

.container-narrow { max-width: 760px; }
.form-width-compact { max-width: 560px; }
.form-width-medium { max-width: 620px; }
.form-width-profile { max-width: 650px; }
.form-centered { margin-inline: auto; }
.product-image-admin-grid { margin-top: 1rem; }
.product-image-admin-preview { aspect-ratio: 4 / 3; object-fit: contain; }

.site-header { position: sticky; top: 0; z-index: 40; transform: translateY(0); border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(16px); box-shadow: 0 5px 22px var(--shadow-color); transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease; will-change: transform; }
.site-header.is-hidden { transform: translateY(calc(-100% - 4px)); box-shadow: none; pointer-events: none; }
.pending-email-change-rail {
  position: fixed;
  z-index: 39;
  top: var(--site-header-height, 96px);
  right: 0;
  left: 0;
  display: grid;
  min-height: 5.25rem;
  place-items: center;
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-3) 93%, var(--accent) 7%);
  box-shadow: 0 7px 20px var(--shadow-color);
  backdrop-filter: blur(18px);
  transition: top .28s cubic-bezier(.22, 1, .36, 1);
}
.pending-email-change-banner {
  display: grid;
  width: min(44rem, calc(100vw - 2rem));
  min-height: 3.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .65rem .7rem .65rem .8rem;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 18px var(--shadow-color);
}
.pending-email-change-icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1rem;
}
.pending-email-change-copy { display: grid; min-width: 0; gap: .08rem; line-height: 1.2; }
.pending-email-change-copy strong { color: var(--text); font-size: .95rem; }
.pending-email-change-copy span { overflow: hidden; color: var(--muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.pending-email-change-banner > a {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
body.site-header-hidden .pending-email-change-rail { top: 0; }
body:has(> .pending-email-change-rail) > main { margin-top: 5.25rem; }
body:has(> .checkout-site-header) .pending-email-change-rail { top: 81px; }
@media (hover: hover) and (pointer: fine) {
  .pending-email-change-banner > a:hover { border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); color: var(--accent); box-shadow: 0 6px 18px var(--shadow-color); }
}
@media (max-width: 520px) {
  .pending-email-change-rail { top: var(--site-header-height, 80px); min-height: 4.35rem; padding: .4rem .5rem; }
  .pending-email-change-banner { width: 100%; min-height: 3.5rem; gap: .65rem; padding: .5rem; }
  .pending-email-change-icon { width: 2.35rem; height: 2.35rem; }
  .pending-email-change-copy span { display: none; }
  .pending-email-change-banner > a { min-height: 2.35rem; padding: .45rem .6rem; }
  body.site-header-hidden .pending-email-change-rail { top: 0; }
  body:has(> .pending-email-change-rail) > main { margin-top: 4.35rem; }
}
.header-aware-sticky { --sticky-scroll-gap: 1rem; }
body.has-scroll-header :is(.header-aware-sticky, .summary) { top: calc(var(--site-header-height, 96px) + var(--sticky-scroll-gap, 1rem)); transition: top .28s cubic-bezier(.22, 1, .36, 1); }
body.has-scroll-header.site-header-hidden :is(.header-aware-sticky, .summary) { top: var(--sticky-scroll-gap, 1rem); }
.checkout-site-header { position: relative; z-index: 40; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); background: var(--header-bg); box-shadow: 0 5px 22px var(--shadow-color); backdrop-filter: blur(16px); }
.checkout-header-shell { display: grid; width: 100%; min-height: 78px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; padding-inline: clamp(1rem, 3vw, 3.5rem); }
.checkout-header-brand { display: block; width: clamp(150px, 16vw, 205px); justify-self: start; }
.checkout-header-brand img { display: block; width: 100%; height: auto; }
.checkout-secure-label { display: inline-flex; align-items: center; gap: .55rem; justify-self: center; color: var(--text); font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.checkout-secure-label i { color: var(--success); }
.checkout-header-cart { position: relative; display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; justify-self: end; padding: .55rem .7rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.checkout-header-cart:hover { border-color: var(--line-strong); color: var(--accent); }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.badge.success .status-dot { color: var(--success); }
.nav-shell { display: flex; width: 100%; min-height: 82px; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); padding-inline: clamp(1rem, 3vw, 3.5rem); }
.brand { display: block; flex: 0 0 auto; width: clamp(185px, 17vw, 238px); text-decoration: none; }
.brand-logo { width: 100%; height: auto; object-fit: contain; object-position: left center; }
.site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100dvh - 76px); overflow-y: auto; padding: .75rem clamp(1rem, 4vw, 2rem) 1.25rem; border-bottom: 1px solid var(--line); background: var(--shell); box-shadow: 0 18px 38px var(--shadow-color); }
.site-nav.open { display: grid; }
.site-nav-backdrop { position: fixed; z-index: 39; inset: var(--site-header-height, 76px) 0 0; width: 100%; padding: 0; border: 0; background: rgba(10, 11, 12, .44); cursor: default; backdrop-filter: blur(2px); }
.site-nav-backdrop[hidden] { display: none; }
body.site-nav-open { overflow: hidden; }
.site-nav-primary { display: grid; }
.site-nav-mobile-utilities { display: grid; gap: .15rem; margin-top: .5rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.site-nav .mobile-nav-utility { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: .55rem; }
.site-nav .mobile-nav-utility > i { width: 28px; text-align: center; }
.mobile-nav-avatar { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
.mobile-nav-utility-count { display: grid; min-width: 22px; height: 22px; place-items: center; padding-inline: .35rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; line-height: 1; }
.site-nav .mobile-nav-theme-toggle { width: 100%; min-height: 46px; justify-content: flex-start; padding: .72rem .8rem; border: 0; background: transparent; color: var(--text); box-shadow: none; font: 700 .96rem/1.2 inherit; letter-spacing: .01em; }
.site-nav .mobile-nav-theme-toggle:hover { border: 0; background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.site-nav .mobile-nav-theme-toggle > i { width: 28px; color: var(--muted); text-align: center; }
.site-nav .mobile-nav-theme-toggle:hover > i { color: var(--accent); }
.site-nav a, .link-button { position: relative; min-height: 46px; padding: .72rem .8rem; border: 0; border-radius: var(--radius); background: none; color: var(--text); font: 700 .96rem/1.2 inherit; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.site-nav a, .link-button { display: inline-flex; align-items: center; gap: .45rem; }
.site-nav i { color: var(--muted); transition: color .18s ease; }
.site-nav a:hover i, .link-button:hover i { color: var(--accent); }
.site-nav a:hover, .link-button:hover, .site-nav a.is-current { background: var(--accent-soft); color: var(--accent); }
.site-nav a.is-current::before { content: ""; position: absolute; top: .65rem; bottom: .65rem; left: 0; width: 3px; border-radius: 2px; background: var(--accent); }
.site-nav form { display: contents; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .5rem; margin-left: auto; }
.header-control { position: relative; display: inline-flex; width: 44px; height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--text); font: 700 .88rem/1 "Neo Sans Std", sans-serif; text-decoration: none; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease; }
.header-control:hover, .header-control.is-current, .account-menu[open] .account-trigger { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.header-control > i:first-child { text-align: center; }
.header-notification-count { position: absolute; top: -5px; right: -5px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border: 2px solid var(--shell); border-radius: 999px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; line-height: 1; }
.header-profile-avatar, .header-profile-fallback { display: grid; place-items: center; overflow: hidden; border-radius: 4px; }
.header-profile-avatar { width: 30px; height: 30px; object-fit: cover; }
.header-profile-fallback { width: 34px; height: 34px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.header-cart { position: relative; }
.header-cart-count { position: absolute; top: -6px; right: -6px; display: grid; min-width: 19px; height: 19px; place-items: center; padding-inline: 4px; border: 2px solid var(--shell); border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; line-height: 1; }
.theme-toggle { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--text); font: 700 .88rem/1 "Neo Sans Std", sans-serif; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.theme-toggle .theme-icon { font-size: 1rem; line-height: 1; }
.header-theme-toggle { padding: 0; }
.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu-panel { position: absolute; z-index: 60; top: calc(100% + var(--floating-gap)); left: 50%; display: grid; width: min(310px, calc(100vw - (var(--floating-edge) * 2))); padding: .45rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 44px rgba(0, 0, 0, .2); transform: translateX(-50%); }
.account-menu-panel.align-left { left: 0; transform: none; }
.account-menu-panel.align-right { right: 0; left: auto; transform: none; }
.account-menu-panel.is-positioning { visibility: hidden; }
.account-menu-panel::before { content: ""; position: absolute; top: -.4rem; left: var(--floating-arrow-x, 50%); width: .7rem; height: .7rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); transform: translateX(-50%) rotate(45deg); }
.account-menu-panel.align-left::before { left: 22px; }
.account-menu-panel.align-right::before { right: 15px; left: auto; }
.account-menu-link, .account-menu-signout button { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: .6rem; width: 100%; min-height: 54px; padding: .55rem .65rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.account-menu-link:hover, .account-menu-signout button:hover { background: var(--accent-soft); color: var(--accent); }
.account-menu-link > i, .account-menu-signout button > i { color: var(--muted); text-align: center; }
.account-menu-link:hover > i, .account-menu-signout button:hover > i { color: var(--accent); }
.account-menu-link span { display: grid; gap: .12rem; }
.account-menu-link strong { font-size: .94rem; line-height: 1.15; }
.account-menu-link small { color: var(--muted); font-size: .82rem; line-height: 1.2; }
.account-menu-signout { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--line); }
.account-menu-signout button { display: flex; font-weight: 700; }
.header-actions .nav-toggle { min-height: 42px; padding: .55rem .75rem; border-color: var(--line); background: var(--surface-3); color: var(--text); box-shadow: none; }
.header-actions .nav-toggle:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

.cart-drawer-root { visibility: hidden; position: fixed; z-index: 70; inset: 0; pointer-events: none; transition: visibility 0s linear .3s; }
.cart-drawer-root.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cart-drawer-backdrop { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: rgba(10, 11, 12, .58); opacity: 0; cursor: default; transition: opacity .24s ease; backdrop-filter: blur(3px); }
.cart-drawer-root.is-open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer { position: absolute; top: 0; right: 0; display: flex; width: min(440px, 100%); height: 100dvh; flex-direction: column; overflow: hidden; border-left: 1px solid var(--line); background: var(--surface); box-shadow: -20px 0 55px rgba(0, 0, 0, .24); outline: 0; transform: translateX(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.cart-drawer-root.is-open .cart-drawer { transform: translateX(0); }
.cart-drawer-content { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.cart-drawer-loading { display: flex; flex: 1; align-items: center; justify-content: center; gap: .65rem; padding: 2rem; color: var(--muted); font-weight: 700; }
.cart-drawer-loading i { color: var(--accent); }
.cart-drawer-header { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.35rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cart-drawer-eyebrow { display: block; margin-bottom: .15rem; color: var(--accent); font-size: .84rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cart-drawer .cart-drawer-header h2 { margin: 0; font-size: 1.65rem; line-height: 1; letter-spacing: normal; }
.cart-drawer-close { display: grid; width: 46px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 1.15rem; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.cart-drawer-close:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.cart-drawer-items { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: .25rem 1.35rem; }
.commerce-product-summary {
  --commerce-product-media-size: 86px;
  display: grid;
  min-width: 0;
  grid-template-columns: var(--commerce-product-media-size) minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
}
.commerce-product-media-link,
.commerce-product-media-static {
  display: block;
  width: var(--commerce-product-media-size);
  height: var(--commerce-product-media-size);
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius);
}
.commerce-product-copy { min-width: 0; }
.commerce-product-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
.commerce-product-name { min-width: 0; margin: 0; color: var(--text); font-size: 1rem; line-height: 1.3; }
.commerce-product-name a { color: var(--text); }
.commerce-product-total { flex: 0 0 auto; color: var(--text); white-space: nowrap; }
.commerce-product-options { display: grid; gap: .26rem; margin: .4rem 0 .55rem; }
.commerce-product-options > div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem; align-items: baseline; }
.commerce-product-options dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.commerce-product-options dt::after { content: ":"; }
.commerce-product-options dd { min-width: 0; margin: 0; color: var(--text); font-size: .88rem; line-height: 1.32; overflow-wrap: anywhere; }
.commerce-product-meta { display: flex; flex-wrap: wrap; gap: .2rem .35rem; color: var(--muted); font-size: .9rem; }
.commerce-product-access { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin-top: .5rem; padding: .32rem .55rem; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--accent) 9%, var(--surface-2)); color: var(--text); font-size: .78rem; font-weight: 800; letter-spacing: .01em; }
.commerce-product-access i { color: var(--accent); font-size: .72rem; }
[data-header-cart-count], [data-cart-page-count], [data-cart-line-total], [data-cart-line-quantity],
[data-cart-drawer-line-total], [data-cart-drawer-line-quantity], [data-cart-subtotal], [data-cart-drawer-subtotal] {
  font-variant-numeric: tabular-nums;
}
[data-cart-page-count], [data-cart-line-total], [data-cart-line-quantity],
[data-cart-drawer-line-total], [data-cart-drawer-line-quantity], [data-cart-subtotal], [data-cart-drawer-subtotal] {
  display: inline-block;
}
.cart-number-transitioning {
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}
@media (hover: hover) and (pointer: fine) {
  .commerce-product-name a:hover { color: var(--accent); }
}

.cart-drawer-line { display: grid; gap: .35rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-drawer-product-summary { --commerce-product-media-size: 104px; gap: 1rem; }
.cart-drawer-media { --product-media-padding: .28rem; width: 100%; height: 100%; }
.cart-drawer-line-copy { min-width: 0; }
.cart-drawer-line-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
.cart-drawer-line-copy h3 { min-width: 0; margin: .05rem 0 .25rem; font-size: 1rem; line-height: 1.25; }
.cart-drawer-line-copy h3 a { color: var(--text); text-decoration: none; }
.cart-drawer-line-copy h3 a:hover { color: var(--accent); }
.cart-drawer-line-copy > span { color: var(--muted); font-size: .9rem; }
.cart-option-list { display: grid; gap: .26rem; margin: .35rem 0 .55rem; }
.cart-option-list > div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem; align-items: baseline; }
.cart-option-list dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.cart-option-list dt::after { content: ":"; }
.cart-option-list dd { min-width: 0; margin: 0; color: var(--text); font-size: .88rem; line-height: 1.32; overflow-wrap: anywhere; }
.cart-line-quantity { display: block; }
.cart-drawer-unavailable { display: block; margin-top: .25rem; color: var(--danger); font-size: .88rem; }
.cart-drawer-line-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .55rem; }
.cart-drawer-line-actions form { margin: 0; }
.quantity-stepper.cart-drawer-stepper { --purchase-control-height: 40px; width: 126px; grid-template-columns: 38px minmax(48px, 1fr) 38px; }
.cart-drawer-stepper .quantity-stepper-button { width: 100%; min-width: 0; }
.cart-drawer-stepper .quantity-stepper-button i { display: block; width: 1em; line-height: 1; text-align: center; }
.cart-drawer-remove { min-height: 40px; padding-inline: .65rem; background: transparent; }
.cart-drawer-update { min-height: 40px; margin-left: .4rem; }
.cart-drawer-line-status { min-height: 1.15rem; color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.15rem; }
.cart-drawer-line-status:empty { min-height: 0; }
.cart-drawer-line-status.is-saving { color: var(--muted); }
.cart-drawer-line-status.is-saved { color: var(--muted); }
.cart-drawer-line-status.is-error { color: var(--danger); }
.cart-drawer-line-total { flex: 0 0 auto; padding-top: .05rem; color: var(--text); white-space: nowrap; }
.cart-drawer-footer { flex: 0 0 auto; padding: 1.15rem 1.35rem max(1.25rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface-2); box-shadow: 0 -12px 30px var(--shadow-color); }
.cart-drawer-subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; font-size: 1.05rem; }
.cart-drawer-subtotal strong { font-size: 1.45rem; }
.cart-drawer-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: .65rem; }
.cart-drawer-empty { display: grid; flex: 1; place-content: center; justify-items: center; padding: 2rem; text-align: center; }
.cart-drawer-empty-icon { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-3); color: var(--accent); font-size: 1.45rem; }
.cart-drawer-empty h3 { margin: 0; font-size: 1.35rem; }
.cart-drawer-empty p { margin: .35rem 0 1.2rem; color: var(--muted); }

.nav-toggle, .button {
  min-height: var(--control);
  padding: .6rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(#f42a30, #d5151b);
  color: #fff;
  font: 700 .94rem/1 "Neo Sans Std", sans-serif;
  letter-spacing: .025em;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 8px 22px rgba(235, 28, 34, .15);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.button:hover, .nav-toggle:hover { border-color: var(--accent-bright); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 10px 25px rgba(235, 28, 34, .24); }
.button:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.button.secondary { border-color: var(--line-strong); background: linear-gradient(#474747, #393939); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.button.ghost { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--text); box-shadow: none; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.button.ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; box-shadow: var(--focus); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 80% 45%, rgba(235, 28, 34, .14), transparent 29rem),
    var(--surface-3);
  background-size: 32px 32px, 32px 32px, auto, auto;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--accent); font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: .7rem 0 1.35rem; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .92; letter-spacing: -.055em; }
.hero h1 span { color: var(--muted); }
.hero p { max-width: 650px; margin: 0 0 1.6rem; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-console { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface), var(--surface-3)); box-shadow: 0 28px 70px var(--shadow-color), inset 0 1px rgba(255,255,255,.2); }
.hero-console::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.console-mark { display: flex; align-items: center; gap: 1.15rem; padding: 1.7rem; }
.console-mark img { width: 78px; filter: drop-shadow(0 10px 24px rgba(235,28,34,.22)); }
.console-mark strong { font-size: clamp(1.25rem, 3vw, 1.7rem); letter-spacing: -.025em; }
.console-mark p { margin: .45rem 0 0; color: var(--muted); }
.console-readout { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.console-readout strong { min-width: 0; padding: 1rem; border-right: 1px solid var(--line); color: var(--text); font-size: .92rem; line-height: 1.3; }
.console-readout strong:last-child { border-right: 0; }

.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.section-head > a { color: var(--muted); font-size: .95rem; font-weight: 700; text-decoration: none; }
.section h1, .section h2, .page-header h1 { line-height: 1.05; letter-spacing: -.035em; }
.section h2 { margin: .35rem 0; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.grid { display: grid; gap: 1rem; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.035); }
.card:has(.search-select) { overflow: visible; }
.card-body { padding: 1.15rem; }
.product-card { position: relative; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.product-media {
  --product-media-padding: .75rem;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: var(--surface-3);
  isolation: isolate;
}
.image-load-target { transition: opacity .24s ease; }
.image-load-target.image-is-loading { opacity: .18; background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--accent) 14%, var(--surface-2)) 48%, transparent 66%) var(--surface-3); background-size: 220% 100%; animation: image-load-shimmer 1.25s ease-in-out infinite; }
.image-load-target.image-load-failed { opacity: .18; }
.image-load-indicator {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: flex;
  max-width: calc(100% - 1rem);
  align-items: center;
  gap: .55rem;
  padding: .5rem .68rem;
  transform: translate(-50%, -46%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.image-load-spinner { width: .85rem; height: .85rem; flex: 0 0 auto; border: 2px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-top-color: var(--accent); border-radius: 50%; animation: image-load-spin .72s linear infinite; }
.image-load-label { overflow: hidden; font-size: .7rem; font-weight: 800; letter-spacing: .045em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
[data-image-load-state="loading"][data-image-load-indicator="visible"] > .image-load-indicator,
[data-image-load-state="error"] > .image-load-indicator { opacity: 1; transform: translate(-50%, -50%); }
[data-image-load-state="error"] > .image-load-indicator { border-color: color-mix(in srgb, var(--warning) 42%, var(--line)); }
[data-image-load-state="error"] > .image-load-indicator .image-load-spinner { display: grid; place-items: center; border: 0; line-height: 1; animation: none; }
[data-image-load-state="error"] > .image-load-indicator .image-load-spinner::before { color: var(--warning); content: "!"; font-weight: 900; }
.gallery-thumb > .image-load-indicator { padding: .36rem; }
.gallery-thumb > .image-load-indicator .image-load-label,
.cart-drawer-media > .image-load-indicator .image-load-label,
.cart-page-media > .image-load-indicator .image-load-label,
.checkout-media > .image-load-indicator .image-load-label,
.confirmation-product-media > .image-load-indicator .image-load-label,
.account-order-product-media > .image-load-indicator .image-load-label,
.admin-product-media > .image-load-indicator .image-load-label { display: none; }
@keyframes image-load-shimmer { to { background-position: -220% 0; } }
@keyframes image-load-spin { to { transform: rotate(360deg); } }
.product-media::after { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(255,255,255,.14); pointer-events: none; }
html[data-theme="dark"] .product-media::after { background: rgba(0,0,0,.22); }
.product-media-backdrop { position: absolute; z-index: 0; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; object-position: center; opacity: .52; filter: blur(18px) saturate(.8); transform: scale(1.08); pointer-events: none; }
.product-media-image { position: relative; z-index: 2; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; padding: var(--product-media-padding); object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.22)); }
.product-media-placeholder { position: relative; z-index: 2; display: grid; place-items: center; gap: .55rem; color: var(--muted); }
.product-media-placeholder img { width: 64px; filter: drop-shadow(0 8px 16px rgba(235,28,34,.2)); }
.product-media-placeholder small { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .05em; }
.product-image {
  aspect-ratio: 4/3;
  border-bottom: 1px solid var(--line);
}
.product-card h3 { margin: .55rem 0 .4rem; font-size: 1.06rem; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card .muted { min-height: 3em; }
.price { margin-top: .85rem; color: var(--text); font-size: 1.3rem; font-weight: 700; }
.price del { margin-right: .45rem; color: var(--muted); font-size: .9em; font-weight: 400; }
.price ins { color: var(--accent); text-decoration: none; }
.price .woocommerce-Price-amount { white-space: nowrap; }
.product-excerpt { display: -webkit-box; min-height: 4.8em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-excerpt > :first-child { margin-top: 0; }
.product-excerpt > :last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .52rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-3); color: var(--text); font-size: .78rem; font-weight: 700; }
.badge.success { border-color: rgba(115,214,159,.28); background: rgba(115,214,159,.1); color: var(--success); }
.badge.warning { border-color: rgba(255,198,97,.28); background: rgba(255,198,97,.1); color: var(--warning); }
.badge.danger { border-color: rgba(255,119,123,.28); background: rgba(255,119,123,.1); color: var(--danger); }
.trust { border-block: 1px solid var(--line); background: var(--shell); }
.category-card { position: relative; padding: 1.5rem; border-left: 3px solid var(--accent); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.category-card:hover { transform: translateY(-3px); border-color: var(--accent-bright); background: var(--surface-2); }
.category-index { position: absolute; top: 1rem; right: 1rem; color: var(--line-strong); font-size: 1.6rem; font-weight: 700; }
.category-card h3 { margin: 0 2rem .5rem 0; }
.category-card p { color: var(--muted); }
.category-card a { color: var(--text); font-size: .95rem; font-weight: 700; text-decoration: none; }
.trust-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.trust-item { position: relative; padding: 1rem 1rem 1rem 1.25rem; border-left: 2px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 42%); }
.trust-item p { margin-bottom: 0; }

.home-hero { padding-block: clamp(3rem, 5.5vw, 5rem); }
.home-hero h1 { max-width: 680px; font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: .98; }
.home-hero .hero-copy > p { max-width: 700px; margin-bottom: 1.25rem; }
.home-capabilities { display: grid; max-width: 720px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.25rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.home-capabilities li { position: relative; padding-left: 1.2rem; color: var(--text); font-size: .94rem; font-weight: 700; line-height: 1.35; }
.home-capabilities li::before { position: absolute; top: .5em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent); content: ""; }
.home-hero-product { position: relative; align-self: stretch; overflow: hidden; border-color: var(--line-strong); background: linear-gradient(145deg, var(--surface), var(--surface-3)); box-shadow: 0 28px 70px var(--shadow-color), inset 0 1px rgba(255,255,255,.12); }
.home-hero-product-media { display: block; color: inherit; text-decoration: none; }
.home-hero-image { aspect-ratio: 16/11; border-bottom: 1px solid var(--line); }
.home-hero-product-copy { display: grid; gap: 1.15rem; padding: 1.35rem; }
.home-hero-product-copy h2 { margin: .35rem 0 0; font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.08; letter-spacing: -.025em; }
.home-hero-product-copy h2 a { color: var(--text); text-decoration: none; }
.home-hero-product-copy p { margin: .45rem 0 0; font-size: .95rem; }
.home-hero-product-action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.home-hero-product-action .price { margin: 0; }

.home-category-nav { border-bottom: 1px solid var(--line); background: var(--shell); }
.home-category-nav .container { display: flex; gap: .3rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: thin; }
.home-category-nav a { display: inline-flex; min-height: 40px; flex: 1 0 auto; align-items: center; justify-content: center; gap: .55rem; padding: .55rem .85rem; border-right: 1px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
.home-category-nav a:last-child { border-right: 0; }
.home-category-nav a:hover { color: var(--text); }
.home-category-nav a span { color: var(--accent); }

.home-collection { border-bottom: 1px solid var(--line); }
.home-collection:nth-of-type(odd) { background: color-mix(in srgb, var(--shell) 68%, transparent); }
.home-section-head { align-items: end; margin-bottom: 1.75rem; }
.home-section-head > div { max-width: 760px; }
.home-section-head h2 { text-transform: none; }
.home-section-head p { max-width: 680px; margin: .55rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.home-section-head > a { flex: 0 0 auto; }
.home-section-head > a:hover, .home-product-link:hover { color: var(--accent); }
.home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.home-product-grid.has-featured-product { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-product-card { min-width: 0; }
.home-product-card.is-featured { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
.home-product-media-link { display: block; min-width: 0; color: inherit; text-decoration: none; }
.home-product-card.is-featured .home-product-media-link { min-height: 100%; border-right: 1px solid var(--line); }
.home-product-card.is-featured .home-product-image { height: 100%; min-height: 390px; aspect-ratio: auto; border-bottom: 0; }
.home-product-card .card-body { display: flex; min-width: 0; flex-direction: column; }
.home-product-card.is-featured .card-body { justify-content: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.home-product-card.is-featured h3 { max-width: 22ch; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.06; }
.home-product-card.is-featured .product-excerpt { min-height: 0; -webkit-line-clamp: 6; font-size: 1rem; line-height: 1.6; }
.home-product-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.home-product-footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.home-product-footer .price { margin: 0; }
.home-product-link { flex: 0 0 auto; color: var(--muted); font-size: .85rem; font-weight: 700; text-decoration: none; }

.home-catalog-cta { background: linear-gradient(125deg, var(--accent-soft), transparent 48%), var(--surface-3); }
.home-catalog-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-left: 4px solid var(--accent); }
.home-catalog-cta-card > div { max-width: 740px; }
.home-catalog-cta-card h2 { margin: .35rem 0 0; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; }
.home-catalog-cta-card p { margin: .65rem 0 0; color: var(--muted); line-height: 1.55; }
.home-catalog-cta-card > .button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .home-product-grid.has-featured-product { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .home-hero h1 { font-size: clamp(2.1rem, 9vw, 2.5rem); }
  .home-capabilities { grid-template-columns: 1fr; }
  .home-hero-product-action, .home-section-head, .home-catalog-cta-card { align-items: stretch; flex-direction: column; }
  .home-section-head > a { margin-top: .35rem; }
  .home-product-grid, .home-product-grid.has-featured-product { grid-template-columns: 1fr; }
  .home-product-card.is-featured { display: block; grid-column: auto; }
  .home-product-card.is-featured .home-product-media-link { min-height: 0; border-right: 0; }
  .home-product-card.is-featured .home-product-image { min-height: 0; aspect-ratio: 4/3; border-bottom: 1px solid var(--line); }
  .home-catalog-cta-card > .button { width: 100%; }
}

@media (max-width: 460px) {
  .home-hero-product-action, .home-product-footer { align-items: stretch; flex-direction: column; }
  .home-product-link { align-self: flex-start; }
}

.page-header {
  padding: 2.6rem 0 1.8rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--surface-3);
  background-size: 28px 28px;
}
.page-header h1 { margin: .35rem 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.filters, .form-grid { display: grid; gap: 1rem; }
.filters { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.category-links { display: flex; flex-wrap: wrap; gap: .55rem; margin: -0.25rem 0 1.5rem; }
.category-links a { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--text); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .category-links a:hover { border-color: var(--accent); color: var(--accent); } }

.catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--surface-3);
  background-size: auto, 28px 28px, 28px 28px, auto;
}
.catalog-hero::after { position: absolute; right: -8rem; bottom: -12rem; width: 26rem; height: 26rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 10%, transparent); filter: blur(32px); content: ""; pointer-events: none; }
.catalog-hero-inner { display: flex; position: relative; z-index: 1; align-items: end; justify-content: space-between; gap: clamp(2rem, 6vw, 6rem); }
.catalog-hero-copy { max-width: 850px; }
.catalog-hero h1 { max-width: 17ch; margin: .45rem 0 .8rem; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em; }
.catalog-hero-copy > p { max-width: 730px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; }
.catalog-hero-summary { display: flex; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 18px 40px var(--shadow-color); backdrop-filter: blur(12px); }
.catalog-hero-summary span { display: grid; min-width: 112px; gap: .1rem; padding: 1rem 1.15rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.catalog-hero-summary span + span { border-left: 1px solid var(--line); }
.catalog-hero-summary strong { color: var(--text); font-size: 1.55rem; line-height: 1; letter-spacing: -.03em; }

.catalog-page { background: linear-gradient(130deg, transparent 55%, color-mix(in srgb, var(--accent) 4%, transparent)); }
.catalog-controls { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, 280px) auto; align-items: end; gap: 1rem; margin-bottom: 1rem; padding: 1rem; overflow: visible; }
.catalog-controls .field { margin: 0; }
.catalog-search-input { position: relative; }
.catalog-search-input > i { position: absolute; z-index: 1; top: 50%; left: .85rem; color: var(--muted); font-size: .82rem; transform: translateY(-50%); pointer-events: none; }
.catalog-search-input input[type="search"] { padding-left: 2.5rem; }
.catalog-filter-actions { display: flex; gap: .55rem; }
.catalog-filter-actions .button { min-height: var(--control); }

.catalog-category-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); padding: .75rem 0; border-block: 1px solid var(--line); }
.catalog-category-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.catalog-categories { display: flex; min-width: 0; gap: .25rem; overflow-x: auto; scrollbar-width: thin; }
.catalog-categories a { display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; padding: .48rem .7rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.catalog-categories a:hover { border-color: var(--line); color: var(--text); }
.catalog-categories a.is-current { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); background: var(--accent-soft); color: var(--text); }
.catalog-categories a.is-current::before { width: 5px; height: 5px; margin-right: .48rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 65%, transparent); content: ""; }

.catalog-results-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.catalog-results-toolbar h2 { margin: .3rem 0 0; font-size: clamp(1.7rem, 3.5vw, 2.55rem); line-height: 1.05; letter-spacing: -.035em; }
.catalog-results-toolbar h2 small { display: block; margin-top: .38rem; color: var(--muted); font-size: .85rem; font-weight: 400; letter-spacing: 0; }
.catalog-view-toggle { display: inline-flex; flex: 0 0 auto; padding: .25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.catalog-view-toggle button { display: inline-flex; min-height: 38px; align-items: center; gap: .45rem; padding: .45rem .7rem; border: 1px solid transparent; border-radius: calc(var(--radius) - 2px); background: transparent; color: var(--muted); font: 700 .8rem/1 "Neo Sans Std", sans-serif; cursor: pointer; }
.catalog-view-toggle button:hover { color: var(--text); }
.catalog-view-toggle button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 36%, var(--line)); background: var(--accent-soft); color: var(--text); }
.catalog-view-toggle button[aria-pressed="true"] i { color: var(--accent); }

.catalog-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.catalog-product-card { display: flex; min-width: 0; flex-direction: column; }
.catalog-product-media-link { display: block; min-width: 0; color: inherit; text-decoration: none; }
.catalog-product-image { aspect-ratio: 4 / 3; }
.catalog-product-card .card-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; padding: 1.2rem; }
.catalog-product-badges { display: flex; min-height: 28px; flex-wrap: wrap; gap: .4rem; }
.catalog-product-card h2 { margin: .65rem 0 .45rem; font-size: 1.18rem; line-height: 1.22; letter-spacing: -.015em; }
.catalog-product-card h2 a { color: var(--text); text-decoration: none; }
.catalog-product-card h2 a:hover { color: var(--accent); }
.catalog-product-rating { display: flex; align-items: center; gap: .35rem; margin-bottom: .65rem; color: var(--muted); font-size: .78rem; }
.catalog-product-rating i { color: var(--accent); font-size: .72rem; }
.catalog-product-rating strong { color: var(--text); }
.catalog-product-card .product-excerpt { min-height: 4.65em; margin-top: .15rem; font-size: .9rem; line-height: 1.55; }
.catalog-product-footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.15rem; }
.catalog-product-footer .price { margin: 0; }
.catalog-product-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.catalog-product-link i { color: var(--accent); font-size: .7rem; transition: transform .18s ease; }
.catalog-product-link:hover { color: var(--text); }
.catalog-product-link:hover i { transform: translateX(3px); }

.catalog-product-grid[data-view="list"] { grid-template-columns: minmax(0, 1fr); }
.catalog-product-grid[data-view="list"] .catalog-product-card { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
.catalog-product-grid[data-view="list"] .catalog-product-media-link { min-height: 100%; border-right: 1px solid var(--line); }
.catalog-product-grid[data-view="list"] .catalog-product-image { height: 100%; min-height: 230px; aspect-ratio: auto; border-bottom: 0; }
.catalog-product-grid[data-view="list"] .catalog-product-card .card-body { justify-content: center; padding: clamp(1.25rem, 3vw, 2rem); }
.catalog-product-grid[data-view="list"] .catalog-product-card h2 { max-width: 34ch; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.catalog-product-grid[data-view="list"] .product-excerpt { max-width: 760px; min-height: 0; -webkit-line-clamp: 4; }
.catalog-product-grid[data-view="list"] .catalog-product-footer { align-items: center; }

.catalog-empty { padding-block: clamp(3rem, 8vw, 5rem); }
.catalog-empty > i { margin-bottom: .85rem; color: var(--accent); font-size: 1.75rem; }
.catalog-empty h2 { margin: 0; }
.catalog-empty p { margin: .45rem 0 1.25rem; color: var(--muted); }
.catalog-pagination { align-items: center; justify-content: center; margin-top: 2rem; }
.catalog-pagination [aria-current="page"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.catalog-pagination .pagination-direction { display: inline-flex; align-items: center; gap: .4rem; }

@media (max-width: 1000px) {
  .catalog-hero-inner { align-items: start; flex-direction: column; gap: 1.75rem; }
  .catalog-controls { grid-template-columns: minmax(0, 1fr) minmax(210px, .45fr); }
  .catalog-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .catalog-hero { padding-block: 2.75rem; }
  .catalog-hero h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .catalog-hero-summary { width: 100%; }
  .catalog-hero-summary span { min-width: 0; flex: 1 1 50%; }
  .catalog-controls { grid-template-columns: 1fr; }
  .catalog-filter-actions { grid-column: auto; }
  .catalog-filter-actions .button { flex: 1 1 auto; }
  .catalog-category-bar { grid-template-columns: 1fr; gap: .35rem; }
  .catalog-results-toolbar { align-items: center; }
  .catalog-product-grid { grid-template-columns: 1fr; }
  .catalog-product-grid[data-view="list"] .catalog-product-card { grid-template-columns: minmax(125px, 34%) minmax(0, 1fr); }
  .catalog-product-grid[data-view="list"] .catalog-product-image { min-height: 100%; }
  .catalog-product-grid[data-view="list"] .catalog-product-card .card-body { padding: 1rem; }
  .catalog-product-grid[data-view="list"] .catalog-product-card h2 { margin-top: .5rem; font-size: 1.08rem; }
  .catalog-product-grid[data-view="list"] .product-excerpt { display: none; }
  .catalog-product-grid[data-view="list"] .catalog-product-footer { align-items: flex-start; flex-direction: column; gap: .55rem; padding-top: .8rem; }
}

@media (max-width: 460px) {
  .catalog-results-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-view-toggle { align-self: stretch; }
  .catalog-view-toggle button { flex: 1 1 50%; justify-content: center; }
  .catalog-product-grid[data-view="list"] .catalog-product-card { grid-template-columns: 112px minmax(0, 1fr); }
  .catalog-product-grid[data-view="list"] .catalog-product-badges .badge.sale { display: none; }
  .catalog-product-grid[data-view="list"] .catalog-product-card h2 { font-size: 1rem; }
  .catalog-product-grid[data-view="list"] .catalog-product-link { font-size: .76rem; }
}

.field { display: grid; gap: .35rem; }
.field label { color: var(--text); font-size: .92rem; font-weight: 700; }
.search-select { position: relative; min-width: 0; }
.search-select.is-open { z-index: 50; }
.search-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.search-select-trigger {
  display: grid;
  width: 100%;
  min-height: var(--control);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .58rem .7rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--text);
  font: inherit;
  text-align: left;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.16);
  cursor: pointer;
}
.search-select-trigger:hover { border-color: var(--line-strong); }
.search-select-trigger:focus-visible, .search-select.is-open .search-select-trigger { border-color: var(--accent); box-shadow: var(--focus); outline: 0; }
.search-select-trigger[aria-invalid="true"] { border-color: var(--danger); }
.search-select-trigger > i { color: var(--muted); font-size: .8rem; transition: rotate .18s ease; }
.search-select.is-open .search-select-trigger > i { rotate: 180deg; }
.search-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-select-panel {
  position: absolute;
  z-index: 35;
  top: calc(100% + .4rem);
  right: 0;
  left: 0;
  max-height: var(--search-select-available, 340px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px var(--shadow-color);
}
.search-select-panel[hidden] { display: none; }
.search-select[data-placement="top"] .search-select-panel { top: auto; bottom: calc(100% + .4rem); }
.search-select-search { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem; padding: .6rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.search-select-search > i { color: var(--muted); }
.search-select-search input[type="search"] {
  width: 100%;
  min-height: 40px;
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--text);
  font: inherit;
  outline: 0;
  appearance: none;
}
.search-select-search input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.search-select-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.search-select-options { max-height: calc(var(--search-select-available, 340px) - 62px); overflow-y: auto; padding: .35rem; overscroll-behavior: contain; }
.search-select-option {
  display: grid;
  width: 100%;
  min-height: 42px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .55rem .65rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.search-select-option > i { color: var(--accent); opacity: 0; }
.search-select-option[aria-selected="true"] { background: var(--accent-soft); font-weight: 700; }
.search-select-option[aria-selected="true"] > i { opacity: 1; }
.search-select-option.is-active { border-color: var(--line-strong); background: var(--surface-3); }
.search-select-option[aria-selected="true"].is-active { border-color: rgba(235,28,34,.45); background: var(--accent-soft); }
.search-select-empty { margin: 0; padding: 1rem; color: var(--muted); text-align: center; }
.input, select, textarea, input:not([type]), input[type=text], input[type=search], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=date] {
  width: 100%;
  min-height: var(--control);
  padding: .58rem .7rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.2);
}
.input:hover, select:hover, textarea:hover, input:hover { border-color: var(--line-strong); }
.input:focus, select:focus, textarea:focus, input:focus { border-color: var(--accent); }
select option { background: var(--surface-3); color: var(--text); }
textarea { min-height: 120px; resize: vertical; }
.validation-summary-errors, .field-validation-error, .error { color: var(--danger); }
.validation-summary-errors { padding: .75rem 1rem; border: 1px solid rgba(255,119,123,.3); border-left: 3px solid var(--danger); border-radius: var(--radius); background: rgba(255,119,123,.08); }
.validation-summary-errors > ul, .alert > ul, [role="alert"] > ul, [role="status"] > ul { margin: 0; padding: 0; list-style: none; }
.validation-summary-errors > ul > li + li, .alert > ul > li + li, [role="alert"] > ul > li + li, [role="status"] > ul > li + li { margin-top: .35rem; }
.alert { margin: 1rem 0; padding: 1rem; border: 1px solid rgba(138,185,232,.25); border-left: 3px solid var(--info); border-radius: var(--radius); background: rgba(138,185,232,.08); }
.alert.warning { border-color: rgba(255,198,97,.25); border-left-color: var(--warning); background: rgba(255,198,97,.08); }
.mfa-step-up-dialog { width: min(calc(100% - 2rem), 500px); }
.mfa-step-up-body { display: grid; gap: 1rem; }
.mfa-step-up-body > p { margin: 0; color: var(--muted); line-height: 1.55; }
.mfa-step-up-body .field { margin: 0; }
.mfa-step-up-body .field-validation-error:empty { display: none; }
.empty { padding: 3rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-3); text-align: center; }
.empty img { width: 56px; margin: 0 auto 1rem; opacity: .8; }
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.pagination a, .pagination span { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); text-decoration: none; }
.pagination a:hover { border-color: var(--accent); background: var(--accent-soft); }
.detail-grid { display: grid; gap: 2rem; }
.product-gallery { min-width: 0; }
.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 4/3;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface-3);
  box-shadow: 0 18px 48px var(--shadow-color);
  isolation: isolate;
}
.gallery-stage::after { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(255,255,255,.16); pointer-events: none; }
html[data-theme="dark"] .gallery-stage::after { background: rgba(0,0,0,.24); }
.gallery-backdrop { position: absolute; z-index: 0; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; object-position: center; opacity: .58; filter: blur(26px) saturate(.82); transform: scale(1.08); pointer-events: none; transition: opacity .2s ease; }
.gallery-open { position: relative; z-index: 2; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; place-items: center; padding: 1.25rem; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.gallery-open img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 12px 17px rgba(0,0,0,.2)); transition: opacity .2s ease, transform .2s ease; }
.gallery-open img.is-changing { opacity: .22; transform: translateX(calc(var(--gallery-direction, 1) * -18px)) scale(.985); }
.gallery-backdrop.is-changing { opacity: .18; }
.gallery-open img.is-entering { animation: gallery-image-enter .24s ease-out; }
.gallery-placeholder img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-placeholder { position: relative; z-index: 2; display: grid; place-items: center; gap: 1rem; color: var(--muted); }
.gallery-placeholder img { width: 90px; }
.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 56px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--radius);
  background: rgba(24,24,24,.78);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color .16s ease, border-color .16s ease;
}
.gallery-arrow:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(235,28,34,.42), 0 8px 24px rgba(0,0,0,.24); }
.gallery-previous { left: .8rem; }
.gallery-next { right: .8rem; }
.gallery-thumbs {
  display: flex;
  gap: .65rem;
  margin-top: .8rem;
  padding: .2rem .2rem .65rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}
.gallery-thumb {
  position: relative;
  flex: 0 0 92px;
  aspect-ratio: 1;
  overflow: hidden;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  scroll-snap-align: start;
  isolation: isolate;
}
.gallery-thumb[hidden] { display: none; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb .gallery-thumb-backdrop { position: absolute; z-index: 0; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; opacity: .48; filter: blur(10px) saturate(.78); transform: scale(1.08); pointer-events: none; }
.gallery-thumb .gallery-thumb-image { position: relative; z-index: 1; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.2)); }
.gallery-thumb::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; transform: scaleX(0); background: var(--accent); transition: transform .18s ease; }
.gallery-thumb.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.gallery-thumb.selected::after { transform: scaleX(1); }
.gallery-lightbox {
  width: 100vw;
  width: var(--gallery-viewport-width, 100dvw);
  max-width: none;
  height: 100vh;
  height: var(--gallery-viewport-height, 100dvh);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(12,12,12,.96);
  color: #fff;
  overscroll-behavior: contain;
}
.gallery-lightbox[open] { display: grid; }
.gallery-lightbox::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(7px); }
.lightbox-shell { display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-toolbar { position: relative; z-index: 10; display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: max(.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .6rem max(1rem, env(safe-area-inset-left)); border-bottom: 1px solid rgba(255,255,255,.15); }
.lightbox-counter { font-weight: 700; }
.lightbox-close, .lightbox-arrow { display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(24,24,24,.72); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.24); backdrop-filter: blur(10px); cursor: pointer; font-size: 1rem; transition: background-color .16s ease, border-color .16s ease; }
.lightbox-close { width: 52px; height: 44px; }
.lightbox-arrow { width: 48px; height: 64px; }
.lightbox-close:focus-visible, .lightbox-arrow:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(235,28,34,.42), 0 8px 24px rgba(0,0,0,.24); }
.lightbox-stage { position: relative; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: center; overflow: hidden; padding: 0; isolation: isolate; touch-action: none; }
.lightbox-stage::before { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(8,8,8,.5); pointer-events: none; }
.lightbox-backdrop { position: absolute; z-index: 0; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; opacity: .5; filter: blur(42px) saturate(.78); transform: scale(1.08); pointer-events: none; transition: opacity .2s ease; }
.lightbox-image-viewport { position: relative; z-index: 2; grid-area: 1 / 1; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lightbox-image-viewport:focus { outline: 0; }
.lightbox-image-viewport[data-zoomed="true"] { cursor: grab; }
.lightbox-image-viewport[data-panning="true"] { cursor: grabbing; }
.lightbox-image { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 35px rgba(0,0,0,.35)); transform: translate3d(0, 0, 0) scale(1); transform-origin: center; transition: opacity .2s ease, transform .2s ease; will-change: transform; -webkit-user-drag: none; }
.lightbox-image.is-zoom-animating { transition: opacity .16s ease, transform .18s ease; }
.lightbox-image.is-changing { opacity: .18; transform: translate3d(calc(var(--gallery-direction, 1) * -22px), 0, 0) scale(.985); }
.lightbox-backdrop.is-changing { opacity: .12; }
.lightbox-image.is-entering { animation: gallery-lightbox-image-enter .24s ease-out; }
.lightbox-stage .lightbox-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.lightbox-stage .lightbox-previous { left: 1rem; }
.lightbox-stage .lightbox-next { right: 1rem; }
.gallery-lightbox[data-source-viewer="true"][data-source-count="1"] .lightbox-arrow { display: none; }
.lightbox-thumbnail-band { position: relative; z-index: 10; min-width: 0; padding: .65rem max(clamp(.75rem, 3vw, 2rem), env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(clamp(.75rem, 3vw, 2rem), env(safe-area-inset-left)); overflow-x: auto; border-top: 1px solid rgba(255,255,255,.15); background: rgba(18,18,18,.94); box-shadow: 0 -12px 30px rgba(0,0,0,.24); scrollbar-color: rgba(255,255,255,.28) transparent; scrollbar-width: thin; }
.lightbox-thumbnail-band[hidden] { display: none; }
.lightbox-thumbnails { display: flex; width: max-content; min-width: 100%; justify-content: center; gap: .7rem; }
.lightbox-thumb.gallery-thumb { flex-basis: 76px; border-color: rgba(255,255,255,.24); background: rgba(52,52,52,.9); }
.lightbox-thumb.gallery-thumb.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(235,28,34,.28); }
.lightbox-thumb:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(235,28,34,.42); }
@keyframes gallery-image-enter { from { opacity: .3; transform: translateX(calc(var(--gallery-direction, 1) * 18px)) scale(.985); } }
@keyframes gallery-lightbox-image-enter { from { opacity: .25; transform: translate3d(calc(var(--gallery-direction, 1) * 22px), 0, 0) scale(.985); } }

@media (any-hover: hover) and (any-pointer: fine) {
  .gallery-arrow:hover, .lightbox-close:hover, .lightbox-arrow:hover { border-color: var(--accent); background: rgba(235,28,34,.88); }
  .gallery-thumb:hover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .95rem; }
.breadcrumb a { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.breadcrumb > i { font-size: .7rem; }
.product-detail { align-items: start; }
.product-detail-section { padding-top: 0; }
.product-detail-header {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 88% 50%, rgba(235,28,34,.09), transparent 24rem),
    var(--surface-3);
  background-size: 28px 28px, 28px 28px, auto, auto;
}
.product-detail-header > .container { width: min(calc(100% - 2rem), 1320px); padding: 1rem 0; }
.product-detail-header .breadcrumb { min-height: 30px; margin: 0; }
.product-detail-section > .container { width: min(calc(100% - 2rem), 1320px); }
.product-detail-content { padding-top: 1.25rem; }
.product-purchase { position: static; align-self: start; }
.purchase-card-body { padding: clamp(1.25rem, 3vw, 1.8rem); }
.product-purchase h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1; letter-spacing: -.04em; }
.product-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; width: fit-content; margin: .7rem 0; color: var(--text); font-weight: 700; text-decoration: none; }
.product-rating:hover { color: var(--accent); }
.rating-review-count { padding-left: .65rem; border-left: 1px solid var(--line); color: var(--muted); font-weight: 400; }
.rating-stars { display: inline-flex; gap: .15rem; color: var(--accent); }
.product-lead { color: var(--muted); font-size: 1.08rem; }
.product-lead > :first-child { margin-top: 0; }
.availability { display: flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); font-weight: 700; }
.product-account-access { display: flex; align-items: flex-start; gap: .75rem; margin-top: .75rem; padding: .8rem .9rem; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface-2)), var(--surface-2)); }
.product-account-access > i { margin-top: .15rem; color: var(--accent); }
.product-account-access > span { display: grid; gap: .18rem; }
.product-account-access strong { color: var(--text); }
.product-account-access small { color: var(--muted); line-height: 1.45; }
.availability.available { color: var(--success); }
.availability.unavailable { color: var(--danger); }
.product-form { margin-top: 1.25rem; }
.quantity-field { width: 166px; }
.purchase-actions { --purchase-control-height: 48px; display: grid; grid-template-columns: 166px minmax(0, 1fr); align-items: end; gap: .7rem; }
.purchase-actions .add-to-cart { width: 100%; height: var(--purchase-control-height); }
.quantity-stepper {
  display: grid;
  height: var(--purchase-control-height);
  grid-template-columns: 44px minmax(48px, 1fr) 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-3);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.12);
}
.quantity-stepper:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.quantity-stepper input[type=number] {
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0 .25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-weight: 700;
  appearance: textfield;
  -moz-appearance: textfield;
}
.quantity-stepper input[type=number]::-webkit-inner-spin-button,
.quantity-stepper input[type=number]::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
.quantity-stepper input[type=number]:focus { box-shadow: none; }
.quantity-stepper-button {
  display: grid;
  width: 44px;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.quantity-stepper-button:first-child { border-right: 1px solid var(--line); }
.quantity-stepper-button:last-child { border-left: 1px solid var(--line); }
.quantity-stepper-button:disabled { color: var(--muted); cursor: default; opacity: .45; }
@media (any-hover: hover) and (any-pointer: fine) {
  .quantity-stepper-button:not(:disabled):hover { background: var(--accent-soft); color: var(--accent); }
}
.purchase-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin-top: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.purchase-fact { display: grid; min-width: 0; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: .65rem; padding-right: 1rem; }
.purchase-fact + .purchase-fact { padding-right: 0; padding-left: 1rem; border-left: 1px solid var(--line); }
.purchase-fact.tax-fact { grid-column: 1 / -1; margin-top: .85rem; padding: .85rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
.purchase-fact.california-shipping-fact { grid-column: 1 / -1; margin-top: .85rem; padding: .85rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
.purchase-fact.california-shipping-fact > i,
.purchase-fact.california-shipping-fact strong { color: var(--accent); }
.purchase-fact > i { display: grid; width: 28px; height: 28px; place-items: center; color: var(--accent); font-size: 1rem; }
.purchase-fact div { display: grid; gap: .15rem; min-width: 0; }
.purchase-fact strong { color: var(--text); line-height: 1.25; }
.purchase-fact:first-child strong { white-space: nowrap; }
.purchase-fact span { color: var(--muted); line-height: 1.4; }
.purchase-fact a { color: var(--text); font-weight: 700; }
.estimated-ship-date { display: inline; padding: 0; border: 0; background: transparent; color: var(--success); font: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.estimated-ship-date:focus-visible { border-radius: 2px; box-shadow: var(--focus); }
.app-dialog { width: min(calc(100% - 2rem), 570px); max-height: min(680px, calc(100dvh - 2rem)); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 26px 80px rgba(0,0,0,.36); }
.app-dialog::backdrop { background: rgba(12,13,14,.68); backdrop-filter: blur(5px); }
.app-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.app-dialog-header h2 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.app-dialog-close { display: grid; width: 46px; height: 42px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 1.05rem; cursor: pointer; transition: border-color .16s ease, color .16s ease, background-color .16s ease; }
.app-dialog-body { padding: 1.2rem; color: var(--muted); line-height: 1.6; }
.app-dialog-body > :first-child { margin-top: 0; }
.app-dialog-body > :last-child { margin-bottom: 0; }
.app-dialog-body strong { color: var(--text); }
.app-dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-3); }
.confirm-dialog { width: min(calc(100% - 2rem), 490px); }
.confirm-dialog-body p { font-size: 1.05rem; }
.shipping-schedule-body { display: grid; padding: .35rem 1.2rem 1.2rem; }
.shipping-schedule-intro { margin: 0; padding: .9rem 0 .2rem; color: var(--muted); }
.shipping-schedule-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr); align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.shipping-schedule-row:last-child { border-bottom: 0; }
.shipping-schedule-row span { color: var(--muted); }
.shipping-schedule-row strong { color: var(--text); }
.shipping-schedule-footer { margin: 0; padding: .85rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-3); color: var(--muted); font-size: .95rem; }
@media (any-hover: hover) and (any-pointer: fine) {
  .estimated-ship-date:hover { color: var(--accent); }
  .app-dialog-close:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
}
.mobile-purchase-bar {
  position: fixed;
  z-index: 19;
  right: max(1rem, calc((100vw - 1320px) / 2));
  bottom: 1rem;
  left: max(1rem, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--header-bg);
  box-shadow: 0 14px 38px var(--shadow-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 2rem));
  transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
  backdrop-filter: blur(16px);
}
.mobile-purchase-bar.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-purchase-summary { display: grid; min-width: 0; gap: .1rem; }
.mobile-purchase-summary strong, .mobile-purchase-summary small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-purchase-summary strong { color: var(--text); }
.mobile-purchase-summary small { color: var(--muted); }
.mobile-purchase-price { color: var(--text); font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.mobile-purchase-submit { min-height: 46px; padding-inline: 1.25rem; }
.purchase-help { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: .65rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.purchase-help > i { display: grid; width: 28px; height: 28px; place-items: center; color: var(--accent); }
.purchase-context { display: grid; gap: .55rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.purchase-context p { margin: 0; }
.purchase-context > div { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.purchase-context a, .purchase-context-link { color: var(--text); font-weight: 700; }
.purchase-context-link { padding: 0; border: 0; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.product-overview { max-width: none; margin-top: 0; }
.product-description { max-width: none; margin-top: 1.35rem; }
.flagship-builder h2 { margin: .45rem 0 .8rem; color: var(--text); font-size: clamp(1.65rem, 3.4vw, 2.55rem); line-height: 1.06; letter-spacing: -.025em; }
.flagship-builder { margin-top: 1.35rem; }
.flagship-builder .card-body { display: grid; gap: 1.35rem; padding: clamp(1.35rem, 3vw, 2rem); }
.flagship-builder-copy { max-width: 760px; }
.flagship-builder h2 { font-size: clamp(1.55rem, 2.7vw, 2.05rem); }
.flagship-builder-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.flagship-builder-actions { display: grid; align-content: start; gap: .8rem; }
.flagship-builder-actions > .button { justify-self: start; }
.flagship-builder-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flagship-builder-details summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--text); font-weight: 700; cursor: pointer; list-style: none; }
.flagship-builder-details summary::-webkit-details-marker { display: none; }
.flagship-builder-details summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.flagship-builder-details[open] summary::after { content: "−"; }
.flagship-builder-details div { padding: 0 0 .9rem; color: var(--muted); line-height: 1.6; }
.flagship-builder-details p { margin: .35rem 0 0; }
.original-description { margin-top: 1.35rem; }
.original-description-disclosure { padding: 0 clamp(1.25rem, 4vw, 2.2rem); }
.original-description-disclosure > summary {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.original-description-disclosure > summary::-webkit-details-marker { display: none; }
.original-description-disclosure > summary > span { display: grid; gap: .25rem; }
.original-description-disclosure > summary strong { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.15; }
.original-description-disclosure > summary > i { color: var(--muted); transition: transform .18s ease, color .18s ease; }
.original-description-disclosure > summary:focus { outline: none; }
.original-description-disclosure > summary:focus-visible { border-radius: 3px; box-shadow: var(--focus); }
.original-description-disclosure[open] > summary > i { transform: rotate(180deg); color: var(--accent); }
.original-description-content { padding: 1.35rem 0 1.8rem; border-top: 1px solid var(--line); }
.original-description-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.original-description-videos a { display: flex; min-height: 58px; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--text); font-weight: 700; text-decoration: none; transition: border-color .16s ease, color .16s ease, background-color .16s ease; }
.original-description-videos i { color: var(--accent); font-size: 1.35rem; }
.original-product-copy { max-width: 920px; color: var(--muted); }
.original-product-copy > .row:first-child { display: none; }
.original-product-copy > :first-child:not(.row) { margin-top: 0; }
.original-product-copy h3 { color: var(--text); font-size: clamp(1.2rem, 2vw, 1.45rem); }
.original-product-copy strong { color: var(--text); }
.original-product-copy hr { margin: 1.5rem 0; border: 0; border-top: 1px solid var(--line); }
.original-product-copy a { font-weight: 700; }
html[data-theme="dark"] .original-product-copy a { color: var(--accent-bright); }
@media (any-hover: hover) and (any-pointer: fine) {
  .original-description-videos a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
}
.product-content-body { display: grid; gap: 1.2rem; padding: clamp(1.25rem, 4vw, 2.2rem); }
.product-description .product-content-body { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.product-description .product-content-heading { position: static; }
.product-content-heading h2 { margin: .45rem 0 0; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.05; }
.product-content-heading .eyebrow { display: flex; align-items: center; gap: .45rem; }
.product-content-heading .eyebrow i { font-size: .9rem; }
.product-description h2 { margin: .45rem 0 0; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.product-copy { color: var(--text); }
.imported-content { line-height: 1.7; }
.imported-content h2, .imported-content h3, .imported-content h4 { margin: 2rem 0 .65rem; color: var(--text); line-height: 1.15; }
.imported-content ul, .imported-content ol { padding-left: 1.3rem; }
.imported-content li { margin: .35rem 0; }
.imported-content a { color: var(--accent-dark); }
.product-disclosures { display: grid; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.product-disclosure { border-bottom: 1px solid var(--line); }
.product-disclosure summary, .product-policy summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.product-disclosure summary::-webkit-details-marker, .product-policy summary::-webkit-details-marker { display: none; }
.product-disclosure summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transition: transform .18s ease, border-color .18s ease;
}
.product-disclosure[open] summary::after { transform: rotate(225deg); border-color: var(--accent); }
.product-disclosure-panel { padding: 0 0 1.4rem; }
.product-disclosure-panel > :first-child { margin-top: 0; }
.product-reviews, .product-disclaimer { margin-top: 1.35rem; }
.review-section-body { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 4vw, 2.2rem); }
.review-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.review-section-heading h2 { margin: .35rem 0 0; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1; }
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.customer-review { display: grid; align-content: start; gap: 1rem; min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.customer-review-heading, .customer-review footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; }
.verified-owner { padding: .25rem .5rem; border: 1px solid var(--line); border-radius: 3px; color: var(--success); font-weight: 700; }
.review-content { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.65; white-space: pre-line; }
.customer-review footer { align-self: end; color: var(--muted); }
.customer-review footer strong { color: var(--text); }
.review-action { display: flex; align-items: center; justify-content: flex-end; min-height: 2.25rem; }
.review-action p, .review-loading { margin: 0; color: var(--muted); }
.customer-photos { display: grid; gap: .8rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.customer-photos-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.customer-photos-heading h3, .customer-review h3 { margin: 0; }
.customer-photo-strip, .review-photo-list, .review-upload-previews { display: flex; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain; }
.customer-photo, .review-photo { flex: 0 0 auto; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: zoom-in; }
.customer-photo { width: 112px; height: 112px; }
.review-photo { width: 82px; height: 82px; }
.customer-photo img, .review-photo img, .review-upload-previews > img, .review-upload-existing img { width: 100%; height: 100%; object-fit: cover; }
.review-helpful { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); }
.review-helpful form { margin: 0; }
.review-helpful-toggle { gap: .45rem; min-width: 9.25rem; justify-content: center; transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.review-helpful-toggle .fa-thumbs-up { transition: transform .16s ease; }
.review-helpful-toggle-check { width: 0; overflow: hidden; opacity: 0; transform: scale(.7); transition: width .16s ease, opacity .16s ease, transform .16s ease; }
.review-helpful-toggle[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 72%, var(--line)); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent); }
.review-helpful-toggle[aria-pressed="true"] .fa-thumbs-up { transform: translateY(-1px); }
.review-helpful-toggle[aria-pressed="true"] .review-helpful-toggle-check { width: .8rem; opacity: 1; transform: scale(1); }
.review-load-more { justify-self: center; }
.review-photo-browser { width: min(900px, calc(100% - 1rem)); }
.review-photo-browser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .75rem; }
.review-photo-browser-grid .customer-photo { width: 100%; height: auto; aspect-ratio: 1; }
.review-photo-browser [data-review-photo-more] { margin: 1rem auto 0; }
.review-editor-section {
  min-height: calc(100vh - var(--header-height, 80px));
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(235, 28, 34, .09), transparent 30rem),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
}
.review-editor-shell { max-width: 980px; }
.review-editor-breadcrumb { margin-bottom: 1rem; }
.review-editor-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(250px, 276px); grid-template-areas: "form context"; align-items: start; gap: 24px; }
.review-editor-card { min-width: 0; grid-area: form; }
.review-editor-main { min-width: 0; padding: clamp(1.35rem, 3vw, 2.25rem); }
.review-product-context { display: grid; min-width: 0; grid-area: context; gap: 1rem; padding: 1.1rem; }
.review-product-summary { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: .8rem; }
.review-product-summary.has-no-image { grid-template-columns: 1fr; }
.review-product-summary img { width: 88px; height: 88px; padding: .25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); object-fit: contain; }
.review-product-summary h2 { margin: 0 0 .45rem; font-size: 1.05rem; line-height: 1.25; }
.review-product-verified { display: inline-flex; align-items: center; gap: .35rem; color: var(--success); font-size: .76rem; font-weight: 700; }
.review-product-configuration { margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--text); font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.review-product-purchase { margin: 0; }
.review-product-purchase > div { display: grid; gap: .2rem; }
.review-product-purchase dt { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.review-product-purchase dd { margin: 0; color: var(--text); font-size: .86rem; }
.review-product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--text); font-size: .84rem; font-weight: 700; }
.review-product-link:hover { color: var(--accent); }
.review-editor-header { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.review-editor-mark { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 1.15rem; box-shadow: inset 0 1px rgba(255,255,255,.05); }
.review-editor-heading { min-width: 0; }
.review-editor-heading h1 { margin: .3rem 0 .25rem; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .98; letter-spacing: -.045em; }
.review-editor-heading p { margin: 0; color: var(--muted); line-height: 1.45; }
.review-status-pill { align-self: start; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.review-editor-alert { margin: 1.25rem 0 0; }
.review-editor-alert p { margin: .35rem 0 0; }
.review-editor-form { display: grid; gap: 0; }
.review-editor-validation.validation-summary-valid { display: none; }
.review-editor-validation { margin: 1.25rem 0 0; }
.review-form-section { display: grid; gap: 1.1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.review-form-section-heading { display: block; }
.review-form-section-heading h2 { margin: 0; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; }
.review-form-section-heading h2 > span { margin-left: .35rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.review-form-section-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.review-rating-fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin: 0; padding: 0; border: 0; }
.review-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.review-rating-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.review-rating-input label { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); cursor: pointer; font-size: 1.65rem; transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease; }
.review-rating-input input:checked ~ label { color: var(--accent); }
.review-rating-input input:focus-visible + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: var(--focus); }
.review-form-fields { display: grid; gap: 1.1rem; }
.review-form-fields .field { gap: .42rem; }
.review-form-fields input, .review-form-fields textarea { min-height: 50px; }
.review-form-fields textarea { min-height: 160px; line-height: 1.55; }
.review-current-photos { display: grid; gap: .65rem; margin: 0; padding: 0; border: 0; }
.review-current-photos legend { margin-bottom: .65rem; color: var(--text); font-size: .88rem; font-weight: 700; }
.review-photo-picker { display: grid; gap: .5rem; }
.review-photo-picker-button { display: grid; min-height: 82px; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-3); cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.review-photo-picker-button:hover, .review-photo-picker:focus-within .review-photo-picker-button, .review-photo-picker-button.is-dragging { border-color: var(--accent); background: var(--accent-soft); }
.review-photo-picker-button.is-dragging { border-style: solid; box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px var(--accent-soft); }
.review-photo-picker:focus-within .review-photo-picker-button { box-shadow: var(--focus); }
.review-photo-picker-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 1rem; }
.review-photo-picker-button > span:nth-child(2) { display: grid; min-width: 0; gap: .25rem; }
.review-photo-picker-button strong { color: var(--text); font-size: .95rem; }
.review-photo-picker-button small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.review-photo-picker-button > i { color: var(--muted); }
.review-photo-status { color: var(--muted); font-size: .8rem; }
.review-photo-status.is-error { color: var(--danger); }
.review-upload-previews { flex-wrap: wrap; overflow: visible; }
.review-upload-previews:empty { display: none; }
.review-upload-previews[data-review-previews] { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); align-items: start; gap: .8rem; }
.review-upload-previews > img, .review-upload-existing { width: 120px; min-height: 120px; border: 1px solid var(--line); border-radius: var(--radius); object-fit: cover; }
.review-upload-existing { display: grid; overflow: hidden; background: var(--surface-2); }
.review-upload-existing img { aspect-ratio: 1; }
.review-upload-actions, .review-upload-preview > div { display: flex; min-height: 48px; align-items: center; gap: .4rem; padding: .4rem; border-top: 1px solid var(--line); background: var(--surface-3); }
.review-upload-actions .text-button, .review-upload-preview .text-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, opacity .16s ease;
}
.review-upload-actions .text-button:disabled, .review-upload-preview .text-button:disabled { opacity: .35; cursor: default; }
.review-upload-actions .text-button:not(:disabled):hover, .review-upload-preview .text-button:not(:disabled):hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.review-upload-preview { display: grid; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.review-upload-preview-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: var(--surface-3); cursor: zoom-in; }
.review-upload-preview-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .16s ease; }
.review-upload-preview-image:hover img { transform: scale(1.025); }
.review-upload-preview-view { position: absolute; right: .55rem; bottom: .55rem; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .5rem; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; background: rgba(20,20,20,.82); color: #fff; font: 700 .72rem/1 "Neo Sans Std", sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.review-upload-preview-view i { font-size: .68rem; }
.review-upload-preview-copy { display: grid; min-width: 0; gap: .18rem; padding: .65rem .7rem; border-top: 1px solid var(--line); }
.review-upload-preview-copy strong { overflow: hidden; color: var(--text); font-size: .82rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.review-upload-preview-copy small { color: var(--muted); font-size: .72rem; }
.review-upload-preview .text-button:last-child, .review-upload-actions .text-button:last-child { margin-left: auto; border-color: color-mix(in srgb, var(--danger) 32%, var(--line)); background: color-mix(in srgb, var(--danger) 7%, transparent); color: var(--danger); }
.review-upload-preview .text-button:last-child:not(:disabled):hover, .review-upload-actions .text-button:last-child:not(:disabled):hover { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.review-upload-viewer { width: min(900px, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-3); box-shadow: 0 28px 80px rgba(0,0,0,.65); }
.review-upload-viewer::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.review-upload-viewer > img { display: block; width: 100%; max-height: calc(100dvh - 2rem); object-fit: contain; }
.review-upload-viewer-close { position: absolute; z-index: 1; top: .7rem; right: .7rem; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(20,20,20,.82); color: #fff; cursor: pointer; }
.review-editor-actions { display: grid; gap: 1rem; padding-top: 1.35rem; }
.review-editor-action-buttons { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.review-editor-actions .button { min-height: 48px; min-width: 120px; }
.review-submit-button { min-width: 190px !important; justify-content: space-between; }
@media (hover: hover) and (pointer: fine) {
  .review-rating-input label:hover, .review-rating-input label:hover ~ label { color: var(--accent); transform: translateY(-1px); }
}
@media (max-width: 900px) {
  .review-editor-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "context" "form"; }
}
@media (max-width: 620px) {
  .review-editor-section { padding-block: .75rem 1.5rem; background-size: 24px 24px, 24px 24px, auto, auto; }
  .review-editor-shell { width: min(calc(100% - 1rem), 980px); }
  .review-editor-main { padding: 1.15rem; }
  .review-editor-layout { gap: .75rem; }
  .review-product-context { gap: .8rem; padding: 1rem; }
  .review-editor-header { grid-template-columns: 42px minmax(0, 1fr); gap: .8rem; }
  .review-editor-mark { width: 42px; height: 42px; }
  .review-status-pill { grid-column: 2; justify-self: start; }
  .review-form-section { padding-block: 1.25rem; }
  .review-rating-fieldset, .review-form-fields, .review-current-photos, .review-photo-picker, .review-upload-previews { margin-left: 0; }
  .review-upload-previews[data-review-previews] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-rating-fieldset { align-items: flex-start; flex-direction: column; }
  .review-editor-action-buttons { align-items: stretch; flex-direction: column-reverse; }
  .review-editor-action-buttons .button { width: 100%; }
}
@media (max-width: 420px) {
  .review-rating-input { width: 100%; justify-content: space-between; gap: 0; }
  .review-rating-input label { width: 42px; height: 42px; font-size: 1.5rem; }
  .review-photo-picker-button { grid-template-columns: 40px minmax(0, 1fr) auto; padding-inline: .75rem; }
  .review-photo-picker-icon { width: 40px; height: 40px; }
  .review-upload-previews[data-review-previews] { grid-template-columns: 1fr; }
}
.account-review-list { display: grid; }
.account-review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1.25rem; border-top: 1px solid var(--line); }
.account-review-row[id] { scroll-margin-top: calc(var(--site-header-height, 96px) + 1rem); }
.account-review-row:target { background: color-mix(in srgb, var(--accent) 5%, transparent); box-shadow: inset 3px 0 var(--accent); }
.account-review-row h3 { margin: .55rem 0 .3rem; }
.account-review-row p { white-space: pre-wrap; }
.account-review-row > div:last-child { display: flex; align-items: start; flex-wrap: wrap; gap: .55rem; }
.review-technical-metadata { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
.review-technical-metadata > div { display: flex; gap: .35rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface-3); font-size: .85rem; }
.review-technical-metadata dt { color: var(--muted); }
.review-technical-metadata dd { margin: 0; color: var(--text); font-weight: 700; }
.review-update { display: grid; gap: .25rem; padding: .8rem; border-left: 3px solid var(--accent); background: var(--surface-3); }
.review-update > strong { color: var(--text); }
.review-update > span { color: var(--muted); font-size: .9rem; }
.review-update p { margin: .25rem 0 0; line-height: 1.55; }
.product-policy { padding: 0 clamp(1.25rem, 4vw, 2.2rem); scroll-margin-top: 1rem; }
.product-policy summary i { color: var(--muted); transition: transform .18s ease; }
.product-policy[open] summary i { transform: rotate(180deg); color: var(--accent); }
.product-policy-content { padding: 0 0 1.6rem; color: var(--muted); }
.product-policy-content > :first-child { margin-top: .35rem; }
.product-policy-content h3 { font-size: 1.15rem; }
.product-builder-content { margin-top: 1.35rem; overflow: hidden; }
.diy-technical-summary { margin: .8rem 0 0; color: var(--muted); font-size: 1.04rem; line-height: 1.55; }
.diy-proof-callout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: .6rem 1rem;
  margin-top: .8rem;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--surface-2)), var(--surface-2));
  color: var(--text);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.diy-proof-callout[hidden] { display: none; }
.diy-proof-callout > span:not(.diy-proof-callout-link) { display: grid; gap: .15rem; }
.diy-proof-callout small { color: var(--muted); line-height: 1.25; }
.diy-proof-callout strong { color: var(--text); font-size: 1.03rem; line-height: 1.25; }
.diy-proof-callout > span:first-child strong { color: var(--accent); font-size: 1.45rem; }
.diy-proof-callout-link { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: .6rem; border-top: 1px solid var(--line); font-weight: 700; }
@media (any-hover: hover) and (any-pointer: fine) {
  .diy-proof-callout:hover { border-color: var(--accent); transform: translateY(-1px); }
}
.diy-technical-pdp { display: grid; min-width: 0; gap: 1.35rem; margin-top: 1.35rem; }
.diy-technical-pdp > *, .diy-proof-grid > *, .diy-kit-grid > * { min-width: 0; }
.diy-technical-pdp section { scroll-margin-top: calc(var(--site-header-height, 96px) + 1rem); }
.diy-proof-section, .diy-content-section { padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.diy-proof-section { overflow: hidden; border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--accent) 5%, var(--surface-2))); }
.diy-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.3rem, 3vw, 2rem); }
.diy-section-heading > div { min-width: 0; }
.diy-section-heading h2, .diy-content-section h2 { margin: .35rem 0 0; color: var(--text); font-size: clamp(1.75rem, 4vw, 2.8rem); line-height: 1.02; letter-spacing: -.035em; }
.diy-section-heading > p { max-width: 660px; margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.65; }
.diy-section-heading.compact h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
.diy-proof-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; }
.diy-proof-visual { min-width: 0; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.diy-proof-result { display: grid; gap: .25rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.diy-proof-result span { color: var(--muted); }
.diy-proof-result strong { color: var(--text); font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.diy-proof-result small { font-size: .34em; letter-spacing: -.02em; }
.diy-donor-pump-context { display: flex; flex-wrap: wrap; gap: .25rem .4rem; margin: .75rem 0 1rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.diy-donor-pump-context strong { color: var(--text); }
.diy-donor-pump-details { display: inline-flex; flex-wrap: wrap; gap: 0 .2rem; }
.diy-metadata-separator { margin-inline: .1rem; color: var(--line-strong); }
.diy-flow-bars { display: grid; gap: 1rem; }
.diy-flow-row { display: grid; gap: .35rem; }
.diy-flow-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .88rem; }
.diy-flow-row > div strong { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.diy-flow-track { display: block; width: 100%; height: 9px; overflow: hidden; border: 0; border-radius: 999px; background: var(--line); appearance: none; }
.diy-flow-track::-webkit-progress-bar { border-radius: inherit; background: var(--line); }
.diy-flow-track::-webkit-progress-value { border-radius: inherit; background: var(--line-strong); }
.diy-flow-track::-moz-progress-bar { border-radius: inherit; background: var(--line-strong); }
.diy-flow-row.is-result .diy-flow-track::-webkit-progress-value { background: var(--accent); }
.diy-flow-row.is-result .diy-flow-track::-moz-progress-bar { background: var(--accent); }
.diy-flow-row.is-result > div { color: var(--text); font-weight: 700; }
.diy-proof-data { display: grid; gap: 1rem; }
.diy-test-metadata { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.diy-test-metadata > span { display: grid; gap: .2rem; padding: .9rem; }
.diy-test-metadata > span + span { border-left: 1px solid var(--line); }
.diy-test-metadata small { color: var(--muted); }
.diy-test-metadata strong { color: var(--text); line-height: 1.25; }
.diy-proof-section > .diy-test-metadata { margin-top: clamp(1.2rem, 3vw, 2rem); }
.diy-proof-deltas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.diy-proof-deltas > span { display: grid; gap: .25rem; padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.diy-proof-deltas strong { color: var(--accent); font-size: 1.22rem; line-height: 1.1; }
.diy-proof-deltas small { color: var(--muted); line-height: 1.35; }
.diy-table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.diy-results-table, .diy-fitment-table { width: 100%; border-collapse: collapse; color: var(--text); }
.diy-results-table-wrap { overflow: hidden; }
.diy-results-table { min-width: 0; table-layout: fixed; }
.diy-results-flow-column { width: clamp(6.5rem, 28%, 9rem); }
.diy-results-table caption { padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface-3); color: var(--muted); text-align: left; font-size: .9rem; }
.diy-results-table th, .diy-results-table td, .diy-fitment-table th, .diy-fitment-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.diy-results-table tr:last-child > *, .diy-fitment-table tr:last-child > * { border-bottom: 0; }
.diy-results-table thead, .diy-fitment-table thead { background: var(--surface-3); }
.diy-results-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.diy-results-table th { overflow-wrap: anywhere; }
.diy-results-table tbody th, .diy-fitment-table tbody th { font-weight: 500; }
.diy-results-table .is-result > * { color: var(--accent); font-weight: 800; }
.diy-fitment-note { margin: 0; color: var(--muted); line-height: 1.55; }
.diy-proof-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.diy-flow-comparison-section { --chart-stock: #74787d; --chart-exergy: #2474bc; --chart-ss: #ad6500; }
html[data-theme="dark"] .diy-flow-comparison-section { --chart-stock: #a5a7aa; --chart-exergy: #70afe9; --chart-ss: #f4b44c; }
.diy-flow-chart { display: grid; min-width: 0; gap: .85rem; margin: 0; }
.diy-flow-chart-inspector { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.diy-flow-chart-inspector strong { color: var(--text); }
.diy-flow-chart-rpm-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.diy-flow-chart-rpm-button { min-height: 44px; padding: .6rem .9rem; font-size: .78rem; touch-action: manipulation; }
.diy-flow-chart-rpm-button.is-active, .diy-flow-chart-rpm-button.is-active:is(:hover, :focus-visible) { border-color: var(--accent); background: linear-gradient(#f42a30, #d5151b); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 8px 22px rgba(235, 28, 34, .15); }
.diy-flow-chart-stage { position: relative; min-width: 0; overflow: hidden; cursor: crosshair; }
.diy-flow-chart-svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 520; }
.diy-flow-chart-grid line { stroke: color-mix(in srgb, var(--line) 72%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.diy-flow-chart-grid line:first-child { stroke: var(--line-strong); }
.diy-flow-chart-axes line { stroke: var(--line-strong); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.diy-flow-chart-axes text { fill: var(--muted); font-family: inherit; font-size: 14px; font-variant-numeric: tabular-nums; }
.diy-flow-chart-axes .diy-flow-chart-axis-title { fill: var(--text); font-size: 16px; font-weight: 700; }
.diy-flow-chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .16s ease; }
.diy-flow-chart-line.is-stock { stroke: var(--chart-stock); stroke-width: 2.25; }
.diy-flow-chart-line.is-exergy10 { stroke: var(--chart-exergy); stroke-width: 2.5; }
.diy-flow-chart-line.is-ss10 { stroke: var(--chart-ss); stroke-width: 2.5; }
.diy-flow-chart-line.is-motorsport10_6 { stroke: var(--accent); stroke-width: 3.25; }
.diy-flow-chart-inspection-column { opacity: 0; transition: opacity .12s ease; }
.diy-flow-chart-inspection-column.is-active { opacity: 1; }
.diy-flow-chart-inspection-column line { stroke: color-mix(in srgb, var(--muted) 72%, transparent); stroke-width: 1.25; stroke-dasharray: 6 5; pointer-events: none; }
.diy-flow-chart-readout { min-height: 0; padding: .2rem 0; border-block: 1px solid var(--line); }
.diy-flow-chart-readout-panel[hidden] { display: none; }
.diy-flow-chart-readout-panel > header { padding: .65rem 0 .35rem; }
.diy-flow-chart-readout-panel > header strong { color: var(--text); font-size: 1.05rem; }
.diy-flow-chart-readout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1.5rem; }
.diy-flow-chart-readout-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-width: 0; padding: .55rem 0; }
.diy-flow-chart-readout-item > i { width: 30px; border-top: 3px solid currentColor; }
.diy-flow-chart-readout-item.is-stock > i { color: var(--chart-stock); }
.diy-flow-chart-readout-item.is-exergy10 > i { color: var(--chart-exergy); }
.diy-flow-chart-readout-item.is-ss10 > i { color: var(--chart-ss); }
.diy-flow-chart-readout-item.is-motorsport10_6 > i { color: var(--accent); }
.diy-flow-chart-readout-item > strong { min-width: 0; overflow-wrap: anywhere; color: var(--text); font-size: .85rem; }
.diy-flow-chart-readout-item > b { color: var(--text); font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.diy-flow-chart-readout-item > b small { color: var(--muted); font-size: .68em; }
.diy-flow-chart-approximation-key { margin: .25rem 0 .65rem; color: var(--muted); font-size: .76rem; }
.diy-flow-chart figcaption { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.diy-flow-chart figcaption p { margin: 0; }
.diy-flow-chart-data { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; }
.diy-flow-chart-data summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; color: var(--text); font-weight: 800; cursor: pointer; list-style: none; }
.diy-flow-chart-data summary::-webkit-details-marker { display: none; }
.diy-flow-chart-data summary i { color: var(--muted); transition: transform .16s ease; }
.diy-flow-chart-data[open] summary i { transform: rotate(180deg); }
.diy-flow-chart-data .diy-table-wrap { border-width: 1px 0 0; border-radius: 0; }
.diy-flow-chart-data table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
.diy-flow-chart-data caption { padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; }
.diy-flow-chart-data th, .diy-flow-chart-data td { padding: .7rem .55rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; text-align: right; overflow-wrap: anywhere; }
.diy-flow-chart-data th:first-child { text-align: left; }
.diy-flow-chart-data tr > *:last-child { border-right: 0; }
.diy-flow-chart-data tbody tr:last-child > * { border-bottom: 0; }
.diy-engineering-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.diy-engineering-grid article { min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.diy-engineering-grid article > span { color: var(--accent); font-weight: 800; }
.diy-engineering-grid h3 { margin: .85rem 0 .45rem; color: var(--text); font-size: 1.15rem; }
.diy-engineering-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.diy-kit-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr); gap: 1rem; }
.diy-kit-grid:has(> .diy-tool-note[hidden]) { grid-template-columns: 1fr; }
.diy-check-list, .diy-plain-list { margin: 0; padding: 0; list-style: none; }
.diy-check-list { display: grid; gap: .65rem; }
.diy-check-list li { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; gap: .65rem; color: var(--text); line-height: 1.5; }
.diy-check-list li[hidden] { display: none; }
.diy-check-list i { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .75rem; }
.diy-tool-note { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.diy-tool-note[hidden] { display: none; }
.diy-tool-note p { margin: .4rem 0 .7rem; color: var(--muted); line-height: 1.5; }
.diy-tool-note p strong { color: var(--text); }
.diy-tool-note a { font-weight: 700; }
.diy-fitment-table { min-width: 620px; }
.diy-fitment-table td { color: var(--muted); }
.diy-fitment-note { margin-top: 1rem; }
.pump-identification-list { display: grid; gap: .75rem; margin: 1rem 0; }
.pump-identification-list > div { padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.pump-identification-list dt { color: var(--text); font-weight: 800; }
.pump-identification-list dd { margin: .2rem 0 0; }
.pump-identification-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.pump-identification-dialog .app-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.diy-purchase-terms-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.diy-purchase-terms-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.diy-purchase-terms-body p { margin: 0 0 1rem; }
.pump-identification-reference { margin: 1rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pump-identification-reference img { display: block; width: 100%; height: auto; }
.pump-identification-reference figcaption { padding: .7rem .8rem; border-top: 1px solid var(--line); background: var(--surface-3); color: var(--muted); font-size: .9rem; line-height: 1.45; }
.diy-installation-section, .diy-donor-section, .diy-terms-summary { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.2rem, 4vw, 3rem); }
.diy-installation-copy, .diy-donor-section > div, .diy-terms-summary > div { max-width: 820px; }
.diy-installation-copy > p, .diy-donor-section p, .diy-terms-summary p { color: var(--muted); line-height: 1.6; }
.diy-plain-list { display: grid; gap: .35rem; color: var(--text); }
.diy-plain-list li { position: relative; padding-left: 1rem; }
.diy-plain-list li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.diy-installation-actions, .diy-donor-section > .button, .diy-terms-summary > .button { flex: 0 0 auto; }
.diy-installation-actions { display: grid; width: min(100%, 370px); gap: .55rem; }
.diy-installation-actions-label { color: var(--text); font-size: .85rem; font-weight: 800; }
.diy-installation-actions .button { width: 100%; justify-content: flex-start; }
.diy-faq-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.diy-faq-list details + details { border-top: 1px solid var(--line); }
.diy-faq-list summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; color: var(--text); font-weight: 800; cursor: pointer; list-style: none; }
.diy-faq-list summary::-webkit-details-marker { display: none; }
.diy-faq-list summary i { color: var(--muted); transition: transform .16s ease; }
.diy-faq-list details[open] summary i { transform: rotate(180deg); color: var(--accent); }
.diy-faq-list details > div { padding: 0 1rem 1rem; color: var(--muted); line-height: 1.6; }
.diy-faq-list details > div p { margin: 0; }

@media (max-width: 900px) {
  .diy-proof-grid { grid-template-columns: 1fr; }
  .diy-flow-chart-inspector { align-items: stretch; flex-direction: column; }
  .diy-flow-chart-rpm-controls { justify-content: flex-start; }
  .diy-engineering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diy-installation-section, .diy-donor-section, .diy-terms-summary { align-items: stretch; flex-direction: column; }
  .diy-installation-actions .button, .diy-donor-section > .button, .diy-terms-summary > .button { align-self: start; }
}
@media (max-width: 520px) {
  .diy-flow-chart-rpm-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diy-flow-chart-rpm-button { min-width: 0; padding-inline: .3rem; font-size: .7rem; }
  .diy-flow-chart-axes text { font-size: 28px; }
  .diy-flow-chart-axes .diy-flow-chart-axis-title { display: none; }
  .diy-flow-chart-readout-grid { grid-template-columns: 1fr; }
  .diy-flow-chart-data th, .diy-flow-chart-data td { padding: .5rem .25rem; font-size: .67rem; }
  .diy-donor-pump-context { display: grid; gap: .15rem; }
  .diy-donor-pump-details { display: grid; gap: .05rem; }
  .diy-metadata-separator { display: none; }
  .diy-fitment-table-wrap { overflow: hidden; }
  .diy-fitment-table { display: block; min-width: 0; }
  .diy-fitment-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .diy-fitment-table tbody { display: grid; }
  .diy-fitment-table tr { display: grid; gap: .35rem; padding: .8rem; border-bottom: 1px solid var(--line); }
  .diy-fitment-table tr:last-child { border-bottom: 0; }
  .diy-fitment-table th, .diy-fitment-table td { display: block; padding: 0; border: 0; overflow-wrap: anywhere; text-align: left; }
  .diy-fitment-table tbody th { background: transparent; color: var(--text); font-size: .84rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; text-transform: none; }
  .diy-fitment-table td { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem; align-items: baseline; font-size: .8rem; line-height: 1.4; }
  .diy-fitment-table td::before { content: attr(data-label) ":"; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
}
.product-builder-content > .content-builder-render { padding: clamp(1.2rem, 4vw, 2.5rem); }
.content-builder-render { display: grid; min-width: 0; gap: clamp(1.25rem, 3vw, 2.25rem); color: var(--text); }
.content-builder-render > * { width: min(100%, 900px); margin-inline: auto; }
.content-builder-render > .is-wide { width: 100%; max-width: 1180px; }
.content-builder-heading { display: grid; gap: .35rem; }
.content-builder-heading.is-center { text-align: center; }
.content-builder-heading h2, .content-builder-heading h3, .content-builder-section-heading h2, .content-builder-copy h2, .content-builder-callout h2, .content-builder-faq h2, .content-builder-cta h2 { margin: 0; letter-spacing: -.035em; line-height: 1.05; }
.content-builder-heading h2, .content-builder-section-heading h2, .content-builder-copy h2, .content-builder-callout h2, .content-builder-faq h2, .content-builder-cta h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); }
.content-builder-heading h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.content-builder-rich-text { font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.72; }
.content-builder-rich-text.is-center { text-align: center; }
.content-builder-rich-text > :first-child, .content-builder-copy .imported-content > :first-child, .content-builder-callout .imported-content > :first-child, .content-builder-cta .imported-content > :first-child { margin-top: 0; }
.content-builder-rich-text > :last-child, .content-builder-copy .imported-content > :last-child, .content-builder-callout .imported-content > :last-child, .content-builder-cta .imported-content > :last-child { margin-bottom: 0; }
.content-builder-rich-text blockquote { margin: 1.2rem 0; padding: .2rem 0 .2rem 1rem; border-left: 4px solid var(--accent); color: var(--muted); font-size: 1.08em; }
.content-builder-eyebrow { width: fit-content; }
.content-builder-button-wrap { display: flex; }
.content-builder-button-wrap.is-center { justify-content: center; }
.content-builder-button-wrap.is-wide .button { width: 100%; justify-content: space-between; }
.content-builder-image { display: grid; gap: .65rem; }
.content-builder-product-media { --product-media-padding: clamp(.7rem, 2vw, 1.4rem); width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); }
.content-builder-image:not(.is-wide) .content-builder-product-media { aspect-ratio: 3 / 2; }
.content-builder-image figcaption { color: var(--muted); font-size: .9rem; line-height: 1.45; text-align: center; }
.content-builder-media-text { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-builder-media-text.is-image-right .content-builder-media { order: 2; }
.content-builder-media-text .content-builder-product-media { height: 100%; min-height: 340px; border: 0; border-radius: 0; }
.content-builder-copy { display: grid; align-content: center; gap: .65rem; padding: clamp(1.25rem, 4vw, 2.4rem); }
.content-builder-copy .imported-content { color: var(--muted); line-height: 1.65; }
.content-builder-features { display: grid; gap: 1rem; }
.content-builder-section-heading { display: grid; gap: .35rem; }
.content-builder-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .85rem; }
.content-builder-feature { display: grid; min-width: 0; align-content: start; gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-builder-feature h3 { margin: 0; font-size: 1.15rem; }
.content-builder-feature .imported-content { color: var(--muted); line-height: 1.55; }
.content-builder-feature .imported-content > :first-child { margin-top: 0; }
.content-builder-feature .imported-content > :last-child { margin-bottom: 0; }
.content-builder-feature-single { grid-template-columns: auto minmax(0, 1fr); }
.content-builder-feature-single:has(.content-builder-feature-media) { grid-template-columns: 1fr; }
.content-builder-feature-media { --product-media-padding: .55rem; width: 100%; aspect-ratio: 16 / 9; margin-bottom: .2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.content-builder-callout { padding: clamp(1.15rem, 3vw, 1.7rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-builder-callout.is-accent, .content-builder-cta.is-accent { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: var(--accent-soft); }
.content-builder-callout.is-muted, .content-builder-cta.is-muted { background: var(--surface-3); }
.content-builder-callout.is-center { text-align: center; }
.content-builder-callout h2 { margin-block: .35rem .55rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.content-builder-callout .imported-content { color: var(--muted); line-height: 1.6; }
.content-builder-faq { display: grid; gap: 1rem; }
.content-builder-faq > .eyebrow + h2 { margin-top: -.55rem; }
.content-builder-faq-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-builder-faq-list details + details { border-top: 1px solid var(--line); }
.content-builder-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding: .85rem 1rem; color: var(--text); font-weight: 800; cursor: pointer; }
.content-builder-faq-list summary i { color: var(--muted); transition: rotate .16s ease; }
.content-builder-faq-list details[open] summary i { rotate: 180deg; color: var(--accent); }
.content-builder-faq-list details > .imported-content { padding: 0 1rem 1rem; color: var(--muted); line-height: 1.6; }
.content-builder-faq-list details > .imported-content > :first-child { margin-top: 0; }
.content-builder-faq-list details > .imported-content > :last-child { margin-bottom: 0; }
.content-builder-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-builder-cta > div { display: grid; gap: .35rem; }
.content-builder-cta .imported-content { color: var(--muted); line-height: 1.55; }
.content-builder-cta > .button { flex: 0 0 auto; }
.content-builder-cta.is-center { align-items: center; flex-direction: column; text-align: center; }
.content-builder-divider { height: 1px; margin-block: .25rem; border: 0; background: var(--line); }

@media (max-width: 700px) {
  .content-builder-media-text { grid-template-columns: minmax(0, 1fr); }
  .content-builder-media-text.is-image-right .content-builder-media { order: 0; }
  .content-builder-media-text .content-builder-product-media { min-height: 0; aspect-ratio: 4 / 3; }
  .content-builder-copy { padding: 1.15rem; }
  .content-builder-cta { align-items: stretch; flex-direction: column; }
  .content-builder-cta > .button { width: 100%; justify-content: space-between; }
}
.product-options { display: grid; gap: 1.15rem; margin: 1.25rem 0; padding: 1.1rem; scroll-margin-top: calc(var(--site-header-height, 96px) + 1rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.variation-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.variation-header strong { color: var(--text); font-size: 1.12rem; }
.variant-reset { display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: .45rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: 700 .9rem/1 "Neo Sans Std", sans-serif; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.variant-reset:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.variant-reset:disabled { opacity: .45; cursor: default; }
.variant-group { min-width: 0; margin: 0; padding: 0; border: 0; scroll-margin-top: 1rem; }
.variant-group legend { display: flex; width: 100%; min-width: 0; align-items: center; gap: .5rem; margin-bottom: .65rem; color: var(--text); font-weight: 700; }
.variant-group legend.has-fitment-link { flex-wrap: wrap; }
.option-name { min-width: 0; }
.option-step { display: inline-grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border: 1px solid var(--text); border-radius: 50%; background: var(--text); color: var(--surface); font-size: .82rem; line-height: 1; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.configuration-fitment-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .35rem; margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: color .16s ease; }
.configuration-fitment-link:hover { color: var(--accent); }
.configuration-fitment-link:focus-visible { border-radius: 2px; color: var(--accent); outline: 0; box-shadow: var(--focus); }
.option-swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.option-swatch { position: relative; display: inline-flex; }
.option-swatch input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.option-swatch > span { display: inline-flex; min-height: 38px; align-items: center; gap: .45rem; padding: .5rem .72rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.option-swatch > span::before { content: ""; display: none; width: 15px; height: 15px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2); }
.option-swatch[data-value="Ashline Edition"] > span::before { display: inline-block; background: #b7b7b4; }
.option-swatch[data-value="Blackout Series"] > span::before { display: inline-block; background: #1a1a1a; }
.option-swatch[data-value="Ironhide"] > span::before { display: inline-block; background: #805b40; }
.option-swatch[data-value="Redline Classic"] > span::before { display: inline-block; background: #eb1c22; }
.option-swatch input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); box-shadow: 0 0 0 2px rgba(235,28,34,.12); }
.option-swatch input:focus-visible + span { box-shadow: var(--focus); }
.option-swatch.requires-adjustment > span { border-style: dashed; color: var(--muted); background: transparent; }
.option-swatch.requires-adjustment > span:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.option-swatch.unavailable > span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.variant-error {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: .2rem;
  padding-left: .7rem;
  border-left: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
}
.variant-form-error { margin: 0; padding: .7rem .8rem; border: 1px solid rgba(181,30,36,.28); border-radius: 4px; background: rgba(181,30,36,.08); color: var(--danger); font-weight: 700; line-height: 1.4; }
.configuration-note { display: grid; gap: .3rem; margin-top: .1rem; padding: .9rem 1rem; border: 1px solid rgba(138,90,0,.3); border-radius: var(--radius); background: rgba(255,198,97,.12); }
.configuration-note.configuration-note-positive { border-color: color-mix(in srgb, var(--success) 38%, var(--line)); background: color-mix(in srgb, var(--success) 10%, var(--surface-2)); }
.configuration-note [data-configuration-note-content] { display: grid; gap: .3rem; }
.configuration-note strong { color: var(--text); font-size: 1rem; }
.configuration-note p { margin: 0; color: var(--muted); line-height: 1.55; }
.configuration-note a { color: var(--text); font-weight: 700; }
.configuration-note [hidden] { display: none; }
.variant-error[hidden], .variant-form-error[hidden], .configuration-note[hidden] { display: none; }
.variant-group.has-error .option-step { border-color: var(--accent); background: var(--accent); color: #fff; }
html[data-theme="dark"] .variant-error { color: var(--accent-bright); }
.cart-page-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.cart-page-count { padding: .48rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-weight: 700; }
.cart-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.cart-layout { display: grid; gap: 1.25rem; align-items: start; }
.cart-items-panel { min-width: 0; }
.cart-items-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cart-items-header h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.cart-items-header a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; color: var(--text); font-weight: 700; white-space: nowrap; }
.cart-continue-compact { display: none; }
.cart-list { display: grid; align-content: start; }
.cart-line { display: grid; min-width: 0; gap: 1rem; align-items: start; padding: 1.15rem; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-page-product-summary { --commerce-product-media-size: 108px; gap: 1rem; }
.cart-line-media-link { display: block; align-self: start; border-radius: var(--radius); }
.cart-page-media { --product-media-padding: .32rem; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line-details { min-width: 0; }
.cart-line-details h3 { margin: 0 0 .45rem; font-size: 1.1rem; line-height: 1.25; }
.cart-line-details h3 a { color: var(--text); }
.cart-page-options { max-width: 620px; margin-block: .45rem .6rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.cart-page-product-summary .commerce-product-options { max-width: 620px; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.cart-line-meta { display: block; color: var(--muted); font-size: .9rem; }
.cart-line-error { margin-bottom: 0; }
.cart-line-commerce { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto; justify-content: start; gap: .65rem; align-items: center; }
.cart-line-price { justify-self: end; color: var(--text); font-size: 1.22rem; white-space: nowrap; }
.cart-line-update { display: flex; align-items: center; gap: .55rem; }
.cart-line-stepper { --purchase-control-height: 42px; width: 132px; flex: 0 0 auto; grid-template-columns: 38px minmax(48px, 1fr) 38px; }
.cart-line-stepper .quantity-stepper-button { width: 38px; }
.cart-update { height: 42px; min-height: 42px; padding: 0 .85rem; }
.cart-save-status { display: none; grid-column: 1 / -1; min-width: 0; align-items: center; gap: .55rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--muted); font-size: .9rem; font-weight: 700; line-height: 1.4; }
.cart-save-status.is-saving, .cart-save-status.is-saved, .cart-save-status.is-error, .cart-save-status.is-rejected { display: flex; }
.cart-save-status.is-saving i { animation: cart-saving-spin .8s linear infinite; }
.cart-save-status.is-saved { border-color: rgba(30,132,82,.32); background: rgba(30,132,82,.08); color: var(--success); }
.cart-save-status.is-error, .cart-save-status.is-rejected { border-color: rgba(181,30,36,.32); background: rgba(181,30,36,.09); color: var(--danger); }
.cart-save-status span { min-width: 0; flex: 1 1 auto; }
.cart-save-status button { min-height: 34px; padding: .3rem .45rem; border: 1px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.cart-save-status button:focus-visible { box-shadow: var(--focus); outline: 0; }
@keyframes cart-saving-spin { to { transform: rotate(360deg); } }
.cart-line-commerce > form:last-child { justify-self: start; }
.cart-remove {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: .45rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font: 700 .9rem/1 "Neo Sans Std", sans-serif;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .cart-remove:hover { border-color: var(--accent); color: var(--accent); }
}
.cart-remove:focus-visible { border-color: var(--accent); outline: 0; box-shadow: var(--focus); color: var(--accent); }
.cart-summary { position: sticky; top: 6.5rem; padding: 1.25rem; }
.cart-summary .eyebrow { margin-bottom: .2rem; }
.cart-summary h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.05; letter-spacing: -.035em; }
.cart-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-summary-row strong { font-size: 1.3rem; }
.cart-summary-facts { border-bottom: 1px solid var(--line); }
.cart-summary-fact { display: grid; grid-template-columns: 20px max-content minmax(0, 1fr); align-items: center; gap: .55rem; padding: .78rem 0; }
.cart-summary-fact + .cart-summary-fact { border-top: 1px solid var(--line); }
.cart-summary-fact > i { width: 20px; color: var(--accent); text-align: center; }
.cart-summary-fact > span { color: var(--text); font-weight: 700; }
.cart-summary-fact > button, .cart-summary-fact > strong { min-width: 0; justify-self: end; text-align: right; }
.cart-summary-fact > strong { color: var(--text); line-height: 1.3; }
.cart-checkout { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 1rem; }
.cart-checkout.is-syncing { cursor: wait; filter: saturate(.5); opacity: .68; }
.cart-summary-help { margin: .85rem 0 0; color: var(--muted); line-height: 1.45; text-align: center; }
.cart-summary-help a { color: var(--text); font-weight: 700; }
.cart-empty { min-height: 360px; }
.cart-empty-icon { display: grid; width: 64px; height: 64px; place-items: center; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--accent); font-size: 1.35rem; }
.checkout-page-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.checkout-page-title > a { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); font-weight: 700; }
.checkout-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.checkout-layout { display: grid; gap: 1.25rem; align-items: start; }
.checkout-form { position: relative; z-index: 2; min-width: 0; overflow: visible; }
.checkout-validation-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: 1rem clamp(1.1rem, 3vw, 1.6rem);
  border-bottom: 1px solid color-mix(in srgb, var(--checkout-error) 32%, var(--line));
  background: color-mix(in srgb, var(--checkout-error) 7%, var(--surface));
  color: var(--text);
}
.checkout-validation-summary[hidden] { display: none; }
.checkout-validation-summary:focus { outline: 0; }
.checkout-validation-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--checkout-error) 35%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--checkout-error) 11%, var(--surface));
  color: var(--checkout-error);
}
.checkout-validation-summary strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.checkout-validation-summary p { margin: .15rem 0 0; color: var(--muted); line-height: 1.4; }
.checkout-form.is-validation-enhanced .checkout-server-errors { display: none; }
.checkout-form-section { padding: clamp(1.1rem, 3vw, 1.6rem); }
.checkout-form-section + .checkout-form-section { border-top: 1px solid var(--line); }
.checkout-step {
  transition: background-color .18s ease, opacity .18s ease;
}
.checkout-step.is-active {
  position: relative;
  z-index: 3;
  background: var(--surface);
}
.checkout-step.is-locked {
  background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
}
.checkout-step.is-locked .checkout-section-heading {
  opacity: .66;
}
.checkout-step:not(.is-active) .checkout-section-heading {
  align-items: center;
  margin-bottom: 0;
}
.checkout-step.is-complete:not(.is-active) .checkout-section-heading > span {
  background: var(--success);
  color: #fff;
}
.checkout-step-content[hidden], .checkout-step-summary[hidden], .checkout-step-edit[hidden] { display: none; }
.checkout-step-content:not([hidden]) {
  animation: checkout-step-enter .18s ease both;
}
@keyframes checkout-step-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.checkout-section-heading { display: flex; align-items: start; gap: .8rem; margin-bottom: 1.25rem; }
.checkout-section-heading > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: var(--text); color: var(--surface); font-weight: 700; }
.checkout-form-section.has-errors .checkout-section-heading > span { background: var(--checkout-error); color: #fff; }
.checkout-step-heading-copy { min-width: 0; flex: 1; }
.checkout-section-heading h2 { margin: .05rem 0 0; font-size: 1.3rem; letter-spacing: -.02em; }
.checkout-section-heading p { margin: .25rem 0 0; color: var(--muted); line-height: 1.4; }
.checkout-section-heading > div { display: grid; }
.checkout-section-heading > div > h2 { order: 1; }
.checkout-section-heading > div > p:not(.checkout-signin-prompt):not(.checkout-account-state) { order: 2; }
.checkout-signin-prompt, .checkout-account-state { order: 3; }
.checkout-step.is-complete:not(.is-active) .checkout-step-heading-copy > p,
.checkout-step.is-complete:not(.is-active) .checkout-signin-prompt,
.checkout-step.is-complete:not(.is-active) .checkout-account-state,
.checkout-step.is-locked .checkout-step-heading-copy > p {
  display: none;
}
.checkout-step-summary {
  display: grid;
  order: 4;
  gap: .12rem;
  margin-top: .35rem;
}
.checkout-step-summary strong {
  overflow-wrap: anywhere;
  color: var(--text);
  line-height: 1.3;
}
.checkout-step-summary span {
  overflow-wrap: anywhere;
  color: var(--muted);
  line-height: 1.4;
}
.checkout-step-edit {
  min-width: 44px;
  min-height: 40px;
  margin-left: auto;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .checkout-step-edit:hover { border-color: var(--line-strong); color: var(--accent); }
}
.checkout-step-edit:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: 2px;
}
.checkout-step-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.checkout-step-continue {
  display: inline-flex;
  min-width: 150px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.checkout-step-continue.is-loading { cursor: wait; }
.checkout-signin-prompt { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem; }
.checkout-signin-prompt button, .postpurchase-existing button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .16em;
  cursor: pointer;
}
.checkout-account-state { display: inline-flex; align-items: center; gap: .4rem; color: var(--success) !important; font-weight: 700; }
.checkout-draft-controls {
  display: flex;
  align-items: center;
  margin: -.45rem 0 1rem;
  padding-left: 2.4rem;
}
.checkout-draft-controls label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.checkout-draft-controls input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
.checkout-signin-form { margin: 0; }
.checkout-signin-intro { margin: 0 0 1rem; }
.checkout-signin-error, .postpurchase-account-error {
  margin-bottom: 1rem;
  padding: .75rem .85rem;
  border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
  color: var(--danger);
  font-weight: 700;
  line-height: 1.4;
}
.checkout-remember { display: flex; align-items: center; gap: .55rem; margin-top: .9rem; color: var(--text); }
.checkout-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.checkout-signin-actions .button { min-height: 44px; }
.checkout-form .field.has-error label { color: var(--checkout-error); }
.checkout-form .field.has-error input,
.checkout-form .field.has-error select,
.checkout-form .field.has-error .search-select-trigger {
  border-color: var(--checkout-error);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--checkout-error) 24%, transparent), inset 0 2px 5px rgba(0,0,0,.14);
}
.checkout-form .field.has-error input:focus,
.checkout-form .field.has-error select:focus,
.checkout-form .field.has-error .search-select-trigger:focus-visible {
  border-color: var(--checkout-error);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--checkout-error) 22%, transparent);
}
.checkout-form .field-validation-error {
  display: block;
  color: var(--checkout-error);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}
.checkout-region-restriction {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: .7rem;
  padding: .8rem .9rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}
.checkout-region-restriction > i { color: var(--accent); }
.address-verification-notice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--checkout-error) 34%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--checkout-error) 7%, var(--surface));
}
.address-verification-notice[hidden] { display: none; }
.address-verification-notice > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--checkout-error);
}
.address-verification-notice strong { color: var(--text); }
.address-verification-notice p { margin: .15rem 0 0; color: var(--muted); line-height: 1.45; }
.address-confirmation-dialog { width: min(calc(100% - 2rem), 690px); }
.address-confirmation-body > p { margin-bottom: 1rem; }
.address-confirmation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.address-confirmation-options section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.address-confirmation-options section.is-recommended {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.address-confirmation-options section > span {
  display: block;
  margin-bottom: .45rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.address-confirmation-options address {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre-line;
}
.address-confirmation-actions { flex-wrap: wrap; }
.address-confirmation-actions .button { min-height: 44px; }
.field-optional { margin-left: .3rem; color: var(--muted); font-weight: 400; }
.checkout-summary { min-width: 0; }
.checkout-summary-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.checkout-summary-heading .eyebrow { margin-bottom: .2rem; }
.checkout-summary-heading h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.025em; }
.checkout-summary-actions { display: grid; justify-items: end; gap: .25rem; }
.checkout-summary-actions > span { padding: .35rem .5rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-weight: 700; white-space: nowrap; }
.checkout-summary-actions > a { color: var(--text); font-weight: 700; }
.checkout-item-list { display: grid; }
.checkout-item { padding: 1rem 1.15rem; }
.checkout-item + .checkout-item { border-top: 1px solid var(--line); }
.checkout-product-summary { --commerce-product-media-size: 86px; }
.checkout-item > a { align-self: start; border-radius: var(--radius); }
.checkout-media { --product-media-padding: .3rem; width: 86px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); }
.checkout-item-details { min-width: 0; }
.checkout-item-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
.checkout-item-heading h3 { min-width: 0; margin: 0; font-size: 1rem; line-height: 1.3; }
.checkout-item-heading h3 a { color: var(--text); }
.checkout-item-heading > strong { white-space: nowrap; }
.checkout-options { margin-block: .35rem; }
.checkout-options dt, .checkout-options dd { font-size: .86rem; }
.checkout-item-quantity { color: var(--muted); }
.checkout-total { display: grid; gap: .55rem; padding: 1rem 1.15rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.checkout-total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.checkout-total > div[hidden] { display: none; }
.checkout-total strong { color: var(--text); }
.checkout-total .checkout-grand-total { margin-top: .15rem; padding-top: .7rem; border-top: 1px solid var(--line); font-weight: 700; }
.checkout-grand-total strong { font-size: 1.35rem; }
.checkout-order-action { display: grid; gap: .85rem; padding: 1.15rem; border-bottom: 1px solid var(--line); }
.checkout-payment { position: relative; background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.checkout-payment-heading { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .75rem; }
.checkout-payment-heading > div { display: grid; gap: .12rem; min-width: 0; }
.checkout-payment-heading .eyebrow { margin: 0 0 .05rem; color: var(--accent); font-size: .7rem; }
.checkout-payment-heading strong { color: var(--text); font-size: 1.05rem; line-height: 1.25; }
.checkout-payment-heading > div > span:last-child { color: var(--muted); font-size: .83rem; line-height: 1.4; }
.checkout-payment-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: .65rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.checkout-payment-locked, .checkout-payment-unavailable, .checkout-payment-status, .checkout-payment-error {
  display: flex; align-items: flex-start; gap: .55rem; border: 1px solid var(--line); border-radius: .55rem; padding: .75rem .8rem; font-size: .88rem; line-height: 1.45;
}
.checkout-payment-locked { color: var(--muted); background: var(--surface-soft); }
.checkout-payment-locked i { margin-top: .15rem; color: var(--success); }
.checkout-payment-unavailable, .checkout-payment-error { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.checkout-payment-status { color: var(--text); background: var(--surface-soft); }
.checkout-payment-status[hidden], .checkout-payment-error[hidden], .checkout-payment-locked[hidden], .checkout-payment-method[hidden] { display: none; }
.checkout-payment-surface { overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) + .2rem); background: var(--surface); box-shadow: 0 .6rem 1.8rem rgba(15, 23, 42, .055); }
.checkout-payment-method { display: grid; gap: 1rem; padding: 1.15rem; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
.checkout-payment-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-payment-choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-payment-choice { position: relative; display: block; cursor: pointer; }
.checkout-payment-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkout-payment-choice + .checkout-payment-choice { border-left: 1px solid var(--line); }
.checkout-payment-choice-card { display: grid; min-height: 86px; grid-template-columns: 2.55rem minmax(0, 1fr); align-items: center; gap: .75rem; padding: .9rem 1rem; color: var(--text); background: var(--surface); transition: background-color .15s ease, box-shadow .15s ease; }
.checkout-payment-choice:hover .checkout-payment-choice-card { background: var(--surface-2); }
.checkout-payment-choice input:checked + .checkout-payment-choice-card { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: inset 0 -3px 0 var(--accent); }
.checkout-payment-choice input:focus-visible + .checkout-payment-choice-card { outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent); outline-offset: -3px; }
.checkout-payment-choice-icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: .7rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: 1.05rem; }
.checkout-payment-choice-icon-paypal { border-color: color-mix(in srgb, #009cde 25%, var(--line)); color: #0070ba; background: color-mix(in srgb, #009cde 8%, var(--surface)); }
.checkout-payment-choice-copy { display: grid; min-width: 0; gap: .15rem; }
.checkout-payment-choice-copy strong { line-height: 1.25; }
.checkout-payment-choice-copy small { color: var(--muted); font-size: .76rem; font-weight: 500; line-height: 1.35; }
.checkout-payment-method-intro { max-width: 54ch; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.checkout-paypal-buttons { width: 100%; min-height: 50px; overflow: hidden; border-radius: .5rem; }
.checkout-paypal-buttons iframe { display: block !important; }
.checkout-paypal-button { display: inline-flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: .65rem; }
.checkout-paypal-button[hidden] { display: none; }
.checkout-payment-section .checkout-step-content { display: grid; gap: .85rem; }
.checkout-stripe-stage { position: relative; }
.checkout-stripe-skeleton { display: grid; gap: 1rem; min-height: 190px; padding: .1rem; overflow: hidden; }
.checkout-stripe-skeleton[hidden] { display: none; }
.checkout-stripe-skeleton-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.checkout-stripe-skeleton-tabs > span, .checkout-stripe-skeleton-label, .checkout-stripe-skeleton-input {
  position: relative; display: block; overflow: hidden; background: color-mix(in srgb, var(--surface-3) 78%, var(--line));
}
.checkout-stripe-skeleton-tabs > span::after, .checkout-stripe-skeleton-label::after, .checkout-stripe-skeleton-input::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-110%); background: linear-gradient(90deg, transparent, color-mix(in srgb, white 10%, transparent), transparent); animation: checkout-stripe-skeleton-shimmer 1.35s ease-in-out infinite;
}
.checkout-stripe-skeleton-tabs > span { height: 2.65rem; border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent); border-radius: .5rem; }
.checkout-stripe-skeleton-tabs > span:first-child { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--surface-3)); }
.checkout-stripe-skeleton-field { display: grid; min-width: 0; gap: .45rem; }
.checkout-stripe-skeleton-label { width: 38%; height: .65rem; border-radius: 999px; }
.checkout-stripe-skeleton-label-wide { width: 24%; }
.checkout-stripe-skeleton-input { height: 3rem; border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent); border-radius: .5rem; }
.checkout-stripe-skeleton-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@keyframes checkout-stripe-skeleton-shimmer { to { transform: translateX(110%); } }
.checkout-payment-actions { margin-top: .15rem; }
.checkout-pay-button { display: inline-flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: .65rem; }
.checkout-pay-button[aria-busy="true"] { cursor: wait; }
.checkout-payment-surface > .checkout-payment-error { margin: .85rem 1.15rem 0; }
body.checkout-payment-transition-open { overflow: hidden; }
.checkout-payment-transition { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 2rem); overflow: hidden; border: 0; background: transparent; color: var(--text); }
.checkout-payment-transition[open] { display: grid; place-items: center; animation: checkout-payment-transition-in .18s ease-out both; }
.checkout-payment-transition::backdrop { background: rgba(12,13,14,.68); backdrop-filter: blur(5px); }
.checkout-payment-transition-card { width: min(100%, 440px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: 0 26px 80px rgba(0,0,0,.36); text-align: left; }
.checkout-payment-transition-card:focus { outline: none; }
.checkout-payment-transition-header { padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.checkout-payment-transition-copy { display: grid; min-width: 0; gap: .25rem; }
.checkout-payment-transition-copy .eyebrow { margin: 0; font-size: .7rem; }
.checkout-payment-transition-copy h2 { margin: 0; color: var(--text); font-size: 1.22rem; letter-spacing: -.015em; }
.checkout-payment-transition-copy p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.checkout-payment-transition-footer { display: grid; gap: .65rem; padding: .85rem 1.15rem 1rem; }
.checkout-payment-transition-progress { position: relative; width: 100%; height: 3px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, var(--surface-3)); }
.checkout-payment-transition-progress > span { position: absolute; inset-block: 0; left: -38%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent) 24%, var(--accent) 55%, color-mix(in srgb, var(--accent) 55%, transparent) 76%, transparent); box-shadow: 0 0 .55rem color-mix(in srgb, var(--accent) 32%, transparent); animation: checkout-payment-transition-progress 1.55s cubic-bezier(.45, 0, .55, 1) infinite; }
.checkout-payment-transition-footer small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
@keyframes checkout-payment-transition-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes checkout-payment-transition-progress { from { transform: translateX(0); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) {
  .checkout-payment-transition, .checkout-payment-transition-progress > span, .checkout-stripe-skeleton-tabs > span::after, .checkout-stripe-skeleton-label::after, .checkout-stripe-skeleton-input::after { animation-duration: .01ms; animation-iteration-count: 1; }
  .checkout-payment-transition-progress > span { left: 0; width: 100%; }
}
@media (max-width: 620px) {
  .checkout-payment-choice-list { grid-template-columns: 1fr; }
  .checkout-payment-choice + .checkout-payment-choice { border-top: 1px solid var(--line); border-left: 0; }
  .checkout-payment-choice input:checked + .checkout-payment-choice-card { box-shadow: inset 3px 0 0 var(--accent); }
  .checkout-stripe-skeleton-tabs { grid-template-columns: 1.3fr 1fr; }
  .checkout-stripe-skeleton-tabs > span:last-child { display: none; }
}
.checkout-submit { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; }
.checkout-submit:disabled {
  border-color: var(--line);
  background: var(--surface-3);
  box-shadow: none;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 1;
}
.checkout-terms { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .5rem; margin: 0; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.45; text-align: left; }
.checkout-terms > i { margin-top: .18rem; color: var(--success); }
.checkout-terms a { color: var(--text); font-weight: 700; }
.checkout-facts { padding: 0 1.15rem; }
.checkout-facts > div { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: .55rem; padding: .8rem 0; color: var(--text); font-weight: 700; }
.checkout-facts > div + div { border-top: 1px solid var(--line); }
.checkout-facts i { width: 20px; color: var(--accent); text-align: center; }
.checkout-facts button { justify-self: end; }
.checkout-facts > div:not(:first-child) span { grid-column: 2 / -1; }
.checkout-help { margin: 0; padding: .9rem 1.15rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.45; }
.checkout-help a { color: var(--text); font-weight: 700; }
.checkout-shipping-section { outline: 0; }
.shipping-rate-state {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  line-height: 1.4;
}
.shipping-rate-state[hidden] { display: none; }
.shipping-rate-state i { width: 20px; color: var(--accent); text-align: center; }
.shipping-rate-state.is-loading i { color: var(--muted); }
.shipping-rate-state.is-error {
  border-color: color-mix(in srgb, var(--checkout-error) 35%, var(--line));
  background: color-mix(in srgb, var(--checkout-error) 6%, var(--surface));
  color: var(--text);
}
.shipping-rate-state.is-error i { color: var(--checkout-error); }
.shipping-rate-list { display: grid; gap: .65rem; }
.shipping-rate-option {
  display: grid;
  min-height: 70px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.shipping-rate-option[hidden] { display: none; }
.shipping-rate-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
}
.shipping-rate-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
.shipping-rate-main, .shipping-rate-identity { display: grid; min-width: 0; }
.shipping-rate-identity { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .45rem; }
.shipping-rate-identity strong { color: var(--text); }
.shipping-rate-identity span, .shipping-rate-delivery { color: var(--muted); }
.shipping-rate-delivery { margin-top: .18rem; font-size: .9rem; line-height: 1.35; }
.shipping-rate-price { color: var(--text); white-space: nowrap; }
.shipping-rate-retry { margin-top: .75rem; }
.shipping-rate-retry[hidden] { display: none; }
.shipping-rate-show-more {
  justify-self: start;
  padding: .35rem .15rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.shipping-rate-show-more:hover { color: var(--accent); }
.shipping-rate-validation { display: block; margin-top: .65rem; color: var(--checkout-error); font-weight: 700; }
.shipping-rate-validation:empty { display: none; }
.checkout-resale-card { margin-top: 1rem; overflow: visible; border: 1px solid var(--line); border-radius: calc(var(--radius) + .1rem); background: var(--surface); }
.checkout-resale-heading { display: grid; grid-template-columns: 2.55rem minmax(0, 1fr); align-items: center; gap: .75rem; padding: .9rem 1rem; border-radius: calc(var(--radius) + .05rem) calc(var(--radius) + .05rem) 0 0; background: color-mix(in srgb, var(--surface-2) 72%, var(--surface)); }
.checkout-resale-icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: .7rem; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); }
.checkout-resale-heading-copy { display: grid; min-width: 0; gap: .12rem; }
.checkout-resale-heading-copy strong { color: var(--text); line-height: 1.3; }
.checkout-resale-heading-copy small, .checkout-resale-help, .checkout-resale-attestation small { color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.4; }
.checkout-resale-fields { display: grid; gap: .8rem; padding: 1rem; border-top: 1px solid var(--line); }
.checkout-resale-fields > .field { margin: 0; }
.checkout-resale-help { display: block; margin-top: .4rem; }
.checkout-resale-attestation { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: .7rem; padding: .8rem .9rem; border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); cursor: pointer; }
.checkout-resale-attestation[hidden] { display: none; }
.checkout-resale-attestation input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--accent); }
.checkout-resale-attestation > span { display: grid; min-width: 0; gap: .12rem; }
.checkout-resale-attestation strong { color: var(--text); line-height: 1.35; }
.confirmation-section { min-height: 60vh; padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.confirmation-card { max-width: 1080px; margin-inline: auto; padding: clamp(1.4rem, 4vw, 2.75rem); }
.confirmation-hero { display: block; }
.confirmation-card h1 { margin: .2rem 0 .35rem; font-size: clamp(2rem, 5vw, 3.25rem); }
.confirmation-intro { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.confirmation-reference {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.confirmation-reference > div { display: grid; min-width: 0; gap: .18rem; }
.confirmation-reference span { color: var(--muted); }
.confirmation-reference strong { overflow-wrap: anywhere; color: var(--text); }
.confirmation-details { display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin-top: 1.5rem; }
.confirmation-details h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.015em; }
.confirmation-section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.confirmation-section-title > span { color: var(--muted); font-weight: 700; white-space: nowrap; }
.confirmation-items { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.confirmation-item { padding: 1rem; background: var(--surface); }
.confirmation-item + .confirmation-item { border-top: 1px solid var(--line); }
.confirmation-product-summary { --commerce-product-media-size: 104px; }
.confirmation-product-media { --product-media-padding: .32rem; width: 100%; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.confirmation-item-copy { display: grid; min-width: 0; gap: .28rem; }
.confirmation-item h3 { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.35; }
.confirmation-item p { margin: 0; color: var(--muted); line-height: 1.45; }
.confirmation-item span { color: var(--muted); }
.confirmation-item > strong { color: var(--text); white-space: nowrap; }
.confirmation-totals { max-width: 440px; margin: .8rem 0 0 auto; }
.confirmation-total { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.confirmation-total strong { color: var(--text); white-space: nowrap; }
.confirmation-total.is-grand-total { align-items: baseline; margin-top: .25rem; padding-top: .85rem; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 700; }
.confirmation-total.is-grand-total strong { font-size: 1.45rem; }
.confirmation-total small { color: var(--muted); font-size: .75rem; }
.confirmation-fulfillment { display: grid; align-content: start; gap: .75rem; }
.confirmation-address,
.confirmation-shipping {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.confirmation-address h2,
.confirmation-shipping h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; }
.confirmation-address h2 i,
.confirmation-shipping h2 i { width: 18px; color: var(--accent); text-align: center; }
.confirmation-address address { color: var(--muted); font-style: normal; line-height: 1.65; }
.confirmation-address address strong, .confirmation-shipping > strong { color: var(--text); }
.confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.25rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.confirmation-actions > a:not(.button) { color: var(--muted); font-weight: 700; }
.confirmation-account-success {
  display: flex;
  max-width: 1080px;
  align-items: center;
  gap: .65rem;
  margin: 0 auto 1rem;
  padding: .85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--success) 35%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--success) 9%, var(--surface));
  color: var(--text);
}
.confirmation-account-success i { color: var(--success); }
.confirmation-account-success a { margin-left: auto; color: var(--text); font-weight: 700; }
.postpurchase-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  max-width: 1080px;
  margin: 1.25rem auto 0;
  overflow: hidden;
  background: var(--surface-2);
}
.postpurchase-account-copy, .postpurchase-account-action { padding: clamp(1.15rem, 2.5vw, 1.6rem); }
.postpurchase-account-copy { border-right: 1px solid var(--line); }
.postpurchase-account-copy h2 { margin: .2rem 0 .5rem; font-size: clamp(1.4rem, 2.5vw, 1.7rem); letter-spacing: -.025em; }
.postpurchase-account-copy > p { margin: 0; color: var(--muted); line-height: 1.55; }
.postpurchase-account-action { align-self: stretch; background: var(--surface-3); }
.postpurchase-account-action > form { display: grid; gap: 1rem; margin: 0; }
.postpurchase-account-action > form .field { gap: .45rem; }
.password-field { position: relative; }
.password-field input { width: 100%; padding-right: 3rem; }
.password-field input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
}
.password-field input[type="password"]::-ms-reveal,
.password-field input[type="password"]::-ms-clear { display: none; }
.password-field button {
  position: absolute;
  top: 50%;
  right: .35rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .password-field button:hover { color: var(--text); }
}
.password-field button:focus-visible { outline: 0; box-shadow: var(--focus); color: var(--text); }
.account-auth-section {
  display: grid;
  min-height: clamp(500px, 60vh, 690px);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 76% 35%, rgba(235, 28, 34, .11), transparent 24rem),
    var(--surface-2);
  background-size: 32px 32px, 32px 32px, auto, auto;
}
.account-auth-shell { max-width: 900px; }
.account-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr);
  box-shadow: 0 22px 58px var(--shadow-color), inset 0 1px rgba(255,255,255,.06);
}
.account-auth-form-pane { padding: clamp(1.5rem, 4vw, 2.5rem); }
.account-auth-form-pane h1 { margin: .45rem 0 .55rem; font-size: clamp(2.15rem, 5vw, 3.15rem); line-height: .98; letter-spacing: -.045em; }
.account-auth-intro { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.account-auth-form { display: grid; gap: 1rem; margin-top: 1.65rem; }
.account-auth-form .field { gap: .45rem; }
.account-auth-form input[type="email"],
.account-auth-form input[type="password"],
.account-auth-form .password-field input { min-height: 50px; }
.account-auth-errors.validation-summary-valid { display: none; }
.account-auth-errors.validation-summary-errors { margin: 0; border-left-width: 1px; border-radius: var(--radius); }
.account-auth-errors.validation-summary-errors ul { margin: 0; padding-left: 1.15rem; }
.account-auth-remember { display: inline-flex; width: fit-content; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; cursor: pointer; }
.account-auth-remember input { width: 19px; height: 19px; margin: 0; accent-color: var(--accent); }
.account-auth-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.account-auth-options > a { font-weight: 700; }
.account-auth-submit { width: 100%; min-height: 50px; justify-content: space-between; padding-inline: 1.15rem; }
.account-onboarding-callout { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .85rem; margin-top: 1.25rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); }
.account-onboarding-callout > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; }
.account-onboarding-callout h2 { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.3; letter-spacing: 0; }
.account-onboarding-callout p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.account-onboarding-callout a { display: inline-block; margin-top: .55rem; font-weight: 800; }
.account-confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.account-auth-new {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 1px solid var(--line);
  background: var(--surface-3);
}
.account-auth-aside-content { width: 100%; }
.account-auth-new h2 { max-width: 15ch; margin: .45rem 0 .7rem; font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.08; letter-spacing: -.025em; }
.account-auth-new p { margin: 0; color: var(--muted); line-height: 1.6; }
.account-auth-aside-footer { width: 100%; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.account-auth-aside-footer .button { width: 100%; min-height: 46px; justify-content: space-between; }
.account-auth-aside-mark { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 1.2rem; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; box-shadow: inset 0 1px rgba(255,255,255,.05); }
.account-register-shell { max-width: 1040px; }
.account-register-card { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); }
.account-register-form { gap: .9rem; }
.account-register-fields { gap: .9rem 1rem; }
.account-register-fields input,
.account-register-fields .password-field input { min-height: 50px; }
.password-guidance {
  margin-top: .25rem;
  padding: .75rem 0 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 0;
  background: transparent;
}
.password-guidance-summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.password-strength-label { flex: 0 0 auto; color: var(--text); font-weight: 800; }
.password-strength { height: 4px; margin-top: .55rem; overflow: hidden; border-radius: 999px; background: var(--line); }
.password-strength-value { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--line-strong); transition: width .18s ease, background-color .18s ease; }
.password-guidance[data-password-strength-state="short"] .password-strength-value { width: 14%; background: var(--danger); }
.password-guidance[data-password-strength-state="weak"] .password-strength-value { width: 32%; background: var(--danger); }
.password-guidance[data-password-strength-state="fair"] .password-strength-value { width: 62%; background: var(--warning); }
.password-guidance[data-password-strength-state="strong"] .password-strength-value { width: 100%; background: var(--success); }
.password-guidance[data-password-strength-state="short"] .password-strength-label,
.password-guidance[data-password-strength-state="weak"] .password-strength-label { color: var(--danger); }
.password-guidance[data-password-strength-state="fair"] .password-strength-label { color: var(--warning); }
.password-guidance[data-password-strength-state="strong"] .password-strength-label { color: var(--success); }
.password-match-status { display: flex; align-items: center; gap: .45rem; margin: .65rem 0 0; color: var(--muted); font-size: .84rem; font-weight: 700; }
.password-match-status::before { width: 18px; text-align: center; font-size: 1rem; font-weight: 900; line-height: 1; }
.password-match-status.is-match { color: var(--success); }
.password-match-status.is-match::before { content: "\2713"; }
.password-match-status.is-mismatch { color: var(--danger); }
.password-match-status.is-mismatch::before { content: "\00d7"; }
.account-register-benefit-list { display: grid; gap: .9rem; margin: 1.45rem 0 0; padding: 0; list-style: none; }
.account-register-benefit-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: .65rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.account-register-benefit-list i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: var(--radius); background: var(--surface); color: var(--accent); font-size: .74rem; }
.account-register-signin > span { display: block; margin-bottom: .75rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.account-recovery-aside-note { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: .7rem; color: var(--muted); font-size: .9rem; font-weight: 700; line-height: 1.45; }
.account-recovery-aside-note i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: var(--radius); background: var(--surface); color: var(--accent); font-size: .72rem; }
.account-recovery-actions { display: grid; gap: .7rem; margin-top: 1.65rem; }
.account-recovery-actions .button { width: 100%; }
.account-auth-secondary-action { min-height: 46px; justify-content: center; gap: .55rem; }
.account-recovery-alert { margin-top: 1.4rem; }
.two-factor-login-shell { max-width: 620px; }
.two-factor-login-card { display: block; }
.two-factor-recovery-trigger { display: block; margin: .9rem auto 0; padding: .2rem; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font: inherit; font-size: .92rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.two-factor-recovery-trigger:focus-visible { outline: 0; box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .two-factor-recovery-trigger:hover { color: var(--accent); }
}
.two-factor-recovery-dialog { width: min(calc(100% - 2rem), 500px); }
.two-factor-recovery-form { margin: 0; }
.two-factor-recovery-form .app-dialog-body { display: grid; gap: 1rem; }
.two-factor-recovery-intro { margin: 0; }
.admin-security-steps { display: grid; gap: 1rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.admin-security-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: .8rem; }
.admin-security-step-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--text); color: var(--surface); font-weight: 800; }
.admin-security-steps strong { display: block; margin-top: .18rem; font-size: 1rem; }
.admin-security-steps p { margin: .25rem 0 0; color: var(--muted); line-height: 1.45; }
.admin-security-enrollment { display: grid; width: 200px; gap: .35rem; margin-top: .75rem; }
.admin-security-qr { padding: .45rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-security-qr img { display: block; width: 100%; aspect-ratio: 1; image-rendering: pixelated; }
.admin-security-key-trigger { justify-self: center; padding: .2rem; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.admin-security-key-trigger:focus-visible { outline: 0; box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .admin-security-key-trigger:hover { color: var(--accent); }
}
.admin-security-key-dialog { width: min(calc(100% - 2rem), 460px); }
.admin-security-key-dialog-body { display: grid; gap: 1rem; }
.admin-security-key-dialog-body > p { margin: 0; }
.admin-security-key { display: grid; gap: .55rem; padding: .75rem .8rem; }
.admin-security-key-dialog .admin-security-key { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.admin-security-key-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.admin-security-key-heading > span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.admin-security-key-heading button { display: inline-flex; min-height: 34px; align-items: center; gap: .4rem; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--text); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .admin-security-key-heading button:hover { border-color: var(--line-strong); }
}
.admin-security-key-heading button:focus-visible { outline: 0; box-shadow: var(--focus); }
.admin-security-key-heading button.is-copied { border-color: color-mix(in srgb, var(--success) 45%, var(--line)); color: var(--success); }
.admin-security-key code { display: grid; grid-template-columns: repeat(4, max-content); gap: .3rem .55rem; color: var(--text); font-size: .88rem; font-weight: 800; letter-spacing: .09em; line-height: 1.45; }
.admin-security-key code span { white-space: nowrap; }
.admin-security-form { width: 100%; margin-top: 0; }
.admin-security-errors.validation-summary-valid { display: none; }
.admin-security-errors.validation-summary-errors { margin: 0; border-left-width: 1px; border-radius: var(--radius); }
.admin-security-errors.validation-summary-errors ul { margin: 0; padding-left: 1.15rem; }
.admin-security-code { min-height: 50px; font-size: 1.15rem; font-weight: 800; letter-spacing: .14em; }
.admin-security-primary { text-align: left; }
.admin-security-note { margin: 1rem 0 0 !important; font-size: .88rem; }
.admin-recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.admin-recovery-codes code { display: block; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--text); font-size: 1rem; letter-spacing: .08em; text-align: center; }
.admin-security-recovery-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.admin-security-download, .admin-security-recovery-actions .admin-security-primary { width: 100%; min-height: 48px; justify-content: space-between; padding-inline: 1rem; text-align: left; }
.recovery-codes-shell { max-width: 720px; }
.recovery-codes-complete { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.25rem; padding: clamp(1.4rem, 4vw, 2rem); box-shadow: 0 22px 58px var(--shadow-color), inset 0 1px rgba(255,255,255,.06); }
.recovery-codes-complete-icon { display: grid; width: 58px; height: 58px; grid-row: span 2; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; }
.recovery-codes-complete h1 { margin: .35rem 0 .5rem; font-size: clamp(1.9rem, 5vw, 2.65rem); line-height: 1; letter-spacing: -.04em; }
.recovery-codes-complete p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.55; }
.recovery-codes-complete-actions { display: flex; grid-column: 2; flex-wrap: wrap; gap: .7rem; margin-top: .2rem; }
.recovery-codes-dialog { display: none; width: min(calc(100% - 2rem), 680px); grid-template-rows: auto minmax(0, 1fr) auto; }
.recovery-codes-dialog[open] { display: grid; }
.recovery-codes-dialog-body { display: grid; gap: 1rem; overflow-y: auto; }
.recovery-codes-dialog .admin-recovery-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recovery-codes-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .7rem; padding: .85rem .9rem; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); }
.recovery-codes-notice i { margin-top: .23rem; color: var(--accent); }
.recovery-codes-notice p { margin: 0; line-height: 1.5; }
.recovery-codes-list-heading { display: flex; min-height: 1.3rem; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.recovery-codes-copy-status { color: var(--success); font-size: .78rem; letter-spacing: 0; text-align: right; text-transform: none; }
.recovery-codes-actions { justify-content: stretch; }
.recovery-codes-actions .button { min-height: 46px; flex: 1 1 auto; justify-content: space-between; gap: .75rem; }
.recovery-codes-actions [data-recovery-codes-copy].is-copied { border-color: color-mix(in srgb, var(--success) 45%, var(--line)); color: var(--success); }
.admin-security-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.admin-security-actions form { margin: 0; }
.account-security-confirmation-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.account-security-content .app-dialog-actions form { margin: 0; }
.account-page-header p { max-width: 650px; margin: .35rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.account-page-header .account-back-link { margin-bottom: .9rem; }
.account-section { padding-top: clamp(1.5rem, 4vw, 3rem); background: var(--surface-2); }
.account-layout { display: grid; align-items: start; gap: 1.25rem; }
.account-navigation { min-width: 0; padding: .55rem; }
.account-navigation-title { padding: .5rem .6rem .65rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-navigation nav { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .2rem; }
.account-navigation-link { display: flex; min-width: 0; min-height: 62px; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .55rem .35rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: .78rem; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; }
.account-navigation-link i { color: var(--muted); font-size: 1rem; }
.account-navigation-link.is-current { border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); background: var(--accent-soft); color: var(--accent); }
.account-navigation-link.is-current i { color: var(--accent); }
.account-navigation-link-danger:not(.is-current) { color: var(--muted); }
.account-navigation-link:focus-visible { outline: 0; box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .account-navigation-link:hover { border-color: var(--line); background: var(--surface-3); color: var(--text); }
  .account-navigation-link.is-current:hover { border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); background: var(--accent-soft); color: var(--accent); }
}
.account-content { display: grid; min-width: 0; gap: 1.25rem; }
.account-alert { margin: 0; }
.account-overview-grid { display: grid; gap: 1rem; }
.account-overview-card { display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: 1.1rem; color: var(--text); text-decoration: none; }
.account-overview-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 1.05rem; }
.profile-avatar { display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-weight: 800; letter-spacing: .04em; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-button { padding: 0; font: inherit; cursor: zoom-in; transition: border-color .16s ease, box-shadow .16s ease; }
.profile-avatar-button:disabled { cursor: default; }
.profile-avatar-overview { width: 44px; height: 44px; font-size: .82rem; }
.profile-avatar-large { width: 76px; height: 76px; font-size: 1.35rem; }
.account-overview-card > span:nth-child(2) { display: grid; min-width: 0; gap: .12rem; }
.account-overview-card small { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.account-overview-card strong { font-size: 1.45rem; line-height: 1.1; }
.account-overview-card > span:nth-child(2) > span { overflow: hidden; color: var(--muted); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.account-overview-card > i { color: var(--muted); }
.account-overview-card-wide { grid-column: 1 / -1; }
.account-access-history-list { display: grid; }
.account-access-history-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.account-access-history-row + .account-access-history-row { border-top: 1px solid var(--line); }
.account-access-history-row > span { display: grid; min-width: 0; gap: .15rem; }
.account-access-history-row small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.account-access-history-row a { flex: 0 0 auto; font-weight: 800; }
.access-video-library { overflow: hidden; }
.access-video-list { display: grid; }
.access-video-item { border-bottom: 1px solid var(--line); background: var(--surface); }
.access-video-item:last-child { border-bottom: 0; }
.access-video-item summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.access-video-item summary::-webkit-details-marker { display: none; }
.access-video-item summary > span { display: grid; min-width: 0; gap: .2rem; }
.access-video-item summary small { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-video-item summary strong { font-size: 1rem; line-height: 1.35; }
.access-video-item summary > i { color: var(--muted); transition: transform .18s ease, color .18s ease; }
.access-video-item[open] summary { background: var(--surface-3); }
.access-video-item[open] summary > i { color: var(--accent); transform: rotate(180deg); }
.access-video-body { padding: 0 1.2rem 1.2rem; background: var(--surface-3); }
.access-video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); background: #080808; box-shadow: 0 16px 40px var(--shadow-color); }
.access-video-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
@media (hover: hover) and (pointer: fine) {
  .profile-avatar-button:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
  .account-overview-card:hover { border-color: var(--line-strong); }
  .account-overview-card:hover > i { color: var(--accent); }
  .access-video-item summary:hover { background: var(--surface-3); }
  .access-video-item summary:hover > i { color: var(--accent); }
}
.account-panel { min-width: 0; }
.account-panel-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.account-panel:has(.search-select) .account-panel-header { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.account-panel-header.compact { min-height: 68px; }
.account-panel-header h2 { margin: .2rem 0 0; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.1; letter-spacing: -.025em; }
.account-panel-header.compact h2 { margin: 0; font-size: 1.25rem; }
.account-panel-header > span { color: var(--muted); font-size: .9rem; font-weight: 700; }
.account-panel-body { padding: 1.2rem; }
.file-picker { display: grid; gap: .65rem; min-width: 0; }
.file-picker-zone { position: relative; display: grid; min-width: 0; min-height: 10rem; padding: 1.3rem; border: 1px dashed color-mix(in srgb, var(--accent) 42%, var(--line-strong)); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; }
.file-picker-zone:focus-within, .file-picker-zone.is-dragging { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.file-picker-zone.has-error { border-color: var(--danger); }
.file-picker-zone:has(input:disabled) { cursor: wait; opacity: .65; }
.file-picker-empty { display: grid; align-content: center; justify-items: center; gap: .55rem; text-align: center; }
.file-picker-empty > i { color: var(--accent); font-size: 1.5rem; }
.file-picker-empty > span { color: var(--muted); font-weight: 400; }
.file-picker-browse { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.file-picker-selected { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; }
.file-picker-selected > i { color: var(--accent); font-size: 1.4rem; }
.file-picker-selected > span { min-width: 0; }
.file-picker-selected strong, .file-picker-selected small { display: block; overflow-wrap: anywhere; }
.file-picker-selected small { margin-top: .3rem; color: var(--muted); font-weight: 400; }
.file-picker-zone.has-file { min-height: 5rem; border-style: solid; }
.file-picker-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--muted); }
.file-picker-footer .button { min-height: 40px; padding: .4rem .65rem; }
.file-upload-status { display: grid; gap: .65rem; color: var(--muted); }
.file-upload-status progress { width: 100%; height: .5rem; accent-color: var(--accent); }
.file-upload-status .button { justify-self: start; }
.file-upload-status.has-error { color: var(--danger); }
.file-picker [hidden], .file-upload-status[hidden], .file-upload-status [hidden] { display: none; }
@media (max-width: 600px) {
  .file-picker-selected { grid-template-columns: auto minmax(0, 1fr); }
  .file-picker-selected > .file-picker-browse { grid-column: 2; }
  .file-picker-footer { flex-wrap: wrap; }
}
.account-certificate-list { display: grid; }
.account-certificate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 1.2rem; }
.account-certificate-row + .account-certificate-row { border-top: 1px solid var(--line); }
.account-certificate-details { display: grid; min-width: 0; gap: .3rem; overflow-wrap: anywhere; }
.account-certificate-details > span { color: var(--muted); font-size: .85rem; }
.account-certificate-decision { display: grid; grid-column: 1 / -1; gap: .3rem; padding: .85rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--info); border-radius: var(--radius); background: var(--surface-2); }
.account-certificate-decision.is-negative { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 5%, var(--surface-2)); }
.account-certificate-decision strong { color: var(--text); font-size: .82rem; }
.account-certificate-decision p { margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; line-height: 1.5; white-space: pre-line; }
@media (max-width: 600px) {
  .account-certificate-row { grid-template-columns: minmax(0, 1fr) auto; }
  .account-certificate-row > .button { grid-column: 1 / -1; }
}
.notification-panel { overflow: hidden; }
.notification-panel-header form { flex: 0 0 auto; }
.notification-toolbar { display: flex; gap: .45rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.notification-toolbar a { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .4rem .75rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: .86rem; font-weight: 800; text-decoration: none; }
.notification-toolbar a span { display: grid; min-width: 22px; height: 22px; place-items: center; padding: 0 .35rem; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: .72rem; }
.notification-toolbar a.is-current { border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); background: var(--accent-soft); color: var(--accent); }
.notification-toolbar a.is-current span { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.notification-list { display: grid; }
.notification-row { position: relative; display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: .85rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.notification-row:last-child { border-bottom: 0; }
.notification-row.is-unread { background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.notification-row-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: var(--radius); background: var(--surface-3); color: var(--muted); }
.notification-row.is-unread .notification-row-icon { background: var(--accent-soft); color: var(--accent); }
.notification-row-copy { display: grid; min-width: 0; gap: .18rem; }
.notification-row-copy > span:first-child { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 1rem; }
.notification-row-copy strong { overflow: hidden; font-size: .98rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.notification-row.is-unread .notification-row-copy strong { font-weight: 800; }
.notification-row-copy time { flex: 0 0 auto; color: var(--muted); font-size: .76rem; font-weight: 700; }
.notification-row-copy small { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.notification-row-copy > span:last-child { overflow: hidden; color: var(--muted); font-size: .86rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.notification-unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.notification-row-arrow { color: var(--muted); font-size: .8rem; }
.notification-empty { display: grid; min-height: 280px; place-items: center; align-content: center; text-align: center; }
.notification-empty h3 { margin: 0 0 .35rem; }
.notification-empty p { margin: 0; color: var(--muted); }
.notification-detail-header { align-items: flex-start; }
.notification-detail-header p { margin: .4rem 0 0; color: var(--muted); font-size: .84rem; }
.notification-message-frame-shell { padding: 1rem; background: var(--surface-2); }
.notification-message-frame { display: block; width: 100%; min-height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: #eeeeef; }
.notification-detail-footer { display: flex; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }

@media (hover: hover) and (pointer: fine) {
  .notification-row:hover { background: var(--surface-3); }
  .notification-row:hover .notification-row-arrow { color: var(--accent); }
}
.account-session-list { display: grid; }
.account-session-row { display: grid; min-width: 0; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.15rem 1.2rem; border-bottom: 1px solid var(--line); }
.account-session-row.is-current { background: color-mix(in srgb, var(--accent-soft) 48%, var(--surface)); }
.account-session-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--muted); font-size: 1.05rem; }
.account-session-row.is-current .account-session-icon { border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); background: var(--accent-soft); color: var(--accent); }
.account-session-main { display: grid; min-width: 0; gap: .42rem; }
.account-session-title { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: .5rem; }
.account-session-title strong { font-size: 1rem; line-height: 1.25; }
.account-session-current { padding: .2rem .45rem; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: .72rem; font-weight: 800; }
.account-session-details { display: flex; min-width: 0; flex-wrap: wrap; gap: .25rem .8rem; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.account-session-details span + span::before { content: "·"; margin-right: .8rem; color: var(--line-strong); }
.account-session-action { margin: 0; }
.account-session-action .button { min-height: 40px; padding: .55rem .8rem; }
.account-session-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: var(--surface-3); }
.account-session-footer > div { display: grid; gap: .15rem; }
.account-session-footer span { color: var(--muted); font-size: .85rem; }
.account-session-footer form { margin: 0; }
.account-session-footer .button.danger { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); color: var(--danger); }
.account-sessions-empty { color: var(--muted); }
.account-sessions-empty p { margin: 0; }
.account-deletion-body { display: grid; padding: 0; }
.account-deletion-item { display: grid; min-width: 0; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; }
.account-deletion-item + .account-deletion-item { border-top: 1px solid var(--line); }
.account-deletion-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); color: var(--muted); }
.account-deletion-item > div, .account-deletion-footer > div { display: grid; min-width: 0; gap: .18rem; }
.account-deletion-item strong, .account-deletion-footer strong { line-height: 1.3; }
.account-deletion-item span, .account-deletion-footer span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.account-deletion-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-3); }
.account-deletion-footer .button.danger { flex: 0 0 auto; border-color: color-mix(in srgb, var(--danger) 38%, var(--line)); color: var(--danger); }
.account-deletion-admin-block { width: 100%; padding-left: .8rem; border-left: 3px solid var(--warning); }
.account-deletion-dialog .app-dialog-body { display: grid; gap: 1rem; }
.account-deletion-dialog .app-dialog-body > p { margin: 0; }
.account-deletion-form .field { gap: .4rem; }
@media (hover: hover) and (pointer: fine) {
  .account-session-footer .button.danger:hover { border-color: var(--danger); color: var(--danger); }
  .account-deletion-footer .button.danger:hover { border-color: var(--danger); color: var(--danger); }
}
.account-profile-photo-body { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.2rem; }
.account-username-form { display: grid; }
.account-username-field { max-width: 520px; }
.account-username-field small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.account-username-actions { display: flex; justify-content: flex-end; padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-3); }
.account-username-actions .button { min-width: 150px; }
.account-profile-photo-copy { display: grid; min-width: 0; gap: .35rem; }
.account-profile-photo-copy h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.05; }
.account-profile-photo-copy > p { margin: 0; color: var(--muted); line-height: 1.45; }
.account-profile-photo-actions { display: flex; flex-wrap: wrap; align-items: start; gap: .65rem; margin-top: .5rem; }
.account-profile-photo-actions form { margin: 0; }
.profile-photo-upload { display: flex; min-width: 0; flex: 1 1 420px; flex-wrap: wrap; align-items: center; gap: .65rem; }
.profile-photo-upload .button { min-height: 44px; }
.profile-photo-file { flex: 1 1 100%; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.profile-photo-file:empty { display: none; }
.profile-photo-file.is-error { color: var(--danger); font-weight: 700; white-space: normal; }
.profile-photo-zoom-label .button-link { align-self: center; padding: .3rem .1rem; border: 0; background: transparent; color: var(--muted); font: 700 .88rem/1.2 "Neo Sans Std", sans-serif; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .profile-photo-zoom-label .button-link:hover { color: var(--accent); }
}
.profile-photo-crop-dialog { width: min(calc(100% - 2rem), 610px); max-height: calc(100dvh - 2rem); }
.profile-photo-crop-dialog[open], .profile-photo-view-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.profile-photo-crop-body { display: grid; min-height: 0; gap: 1rem; overflow-y: auto; }
.profile-photo-crop-body > p { margin: 0; text-align: center; }
.profile-photo-crop-stage { position: relative; width: min(100%, 400px); aspect-ratio: 1; justify-self: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-3); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.profile-photo-crop-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.profile-photo-crop-stage canvas.is-dragging { cursor: grabbing; }
.profile-photo-crop-stage canvas:focus-visible { outline: 0; box-shadow: inset var(--focus); }
.profile-photo-crop-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent 33.15%, rgba(255,255,255,.52) 33.15%, rgba(255,255,255,.52) 33.45%, transparent 33.45%, transparent 66.5%, rgba(255,255,255,.52) 66.5%, rgba(255,255,255,.52) 66.8%, transparent 66.8%), linear-gradient(to bottom, transparent 33.15%, rgba(255,255,255,.52) 33.15%, rgba(255,255,255,.52) 33.45%, transparent 33.45%, transparent 66.5%, rgba(255,255,255,.52) 66.5%, rgba(255,255,255,.52) 66.8%, transparent 66.8%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.24); }
.profile-photo-zoom-field { width: min(100%, 400px); justify-self: center; }
.profile-photo-zoom-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.profile-photo-zoom-label label { margin: 0; }
.profile-photo-zoom-field input[type="range"] { width: 100%; min-height: 34px; margin: 0; padding: 0; accent-color: var(--accent); cursor: pointer; }
.profile-photo-crop-error { padding: .7rem .8rem; border-radius: var(--radius); background: rgba(235,28,34,.1); color: var(--danger); font-weight: 700; }
.profile-photo-view-dialog { width: min(calc(100% - 2rem), 960px); max-height: calc(100dvh - 2rem); }
.profile-photo-view-body { display: grid; min-height: 0; max-height: calc(100dvh - 12rem); place-items: center; overflow: auto; background: var(--surface-3); }
.profile-photo-view-body img { display: block; max-width: 100%; max-height: calc(100dvh - 14.5rem); object-fit: contain; border-radius: var(--radius); }
.account-profile-form, .account-password-form { display: grid; gap: 1rem; }
.account-details-form { display: grid; gap: 1.25rem; }
.account-details-actions { padding-top: 0; }
.account-profile-form .form-grid { gap: 1rem; }
.field-note { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.account-email-change-pending { display: grid; gap: 1rem; }
.account-email-change-pending > p { margin: 0; color: var(--muted); }
.account-email-approval-list { display: grid; gap: .65rem; }
.account-email-approval-list > div { display: grid; min-width: 0; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.account-email-approval-list i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--muted); }
.account-email-approval-list .is-complete i { background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); }
.account-email-approval-list span { display: grid; min-width: 0; gap: .12rem; }
.account-email-approval-list small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.account-email-approval-list b { color: var(--muted); font-size: .82rem; }
.account-email-approval-list .is-complete b { color: var(--success); }
.account-email-change-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.account-email-change-actions form { margin: 0; }
.account-email-change-notice { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .75rem; padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.account-email-change-notice i { color: var(--accent); text-align: center; }
.account-email-change-notice p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.account-email-confirmation-result { display: grid; justify-items: start; gap: .8rem; }
.account-email-confirmation-result h1, .account-email-confirmation-result p { margin: 0; }
.account-email-result-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--surface-3); font-size: 1.2rem; }
.account-email-result-icon.success { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); }
.account-email-result-icon.pending { background: color-mix(in srgb, var(--info) 14%, var(--surface)); color: var(--info); }
.account-email-result-icon.danger { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }
@media (max-width: 560px) {
  .account-email-change-panel .account-panel-header { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .account-email-approval-list > div { grid-template-columns: 40px minmax(0, 1fr); }
  .account-email-approval-list b { grid-column: 2; }
  .account-email-change-actions, .account-email-change-actions form, .account-email-change-actions .button { width: 100%; }
}
.account-form-actions { display: flex; justify-content: flex-end; padding-top: .2rem; }
.account-form-actions .button { min-width: 150px; }
.account-content-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.account-content-heading h2 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.account-content-heading p { margin: .3rem 0 0; color: var(--muted); }
.account-orders-header-actions { display: flex; align-items: center; gap: .85rem; }
.account-orders-header-actions > span { color: var(--muted); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.account-orders-header-actions .button { min-height: 42px; }
.account-orders-empty, .account-empty-state { display: grid; min-height: 310px; align-content: center; justify-items: center; padding: clamp(2rem, 6vw, 4rem) 1.2rem; text-align: center; }
.account-empty-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: .8rem; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; }
:is(.account-orders-empty, .account-empty-state) h3 { margin: 0 0 .35rem; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
:is(.account-orders-empty, .account-empty-state) p { max-width: 460px; margin: 0 0 1.15rem; color: var(--muted); }
.account-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.account-order-list { display: grid; }
.account-order-row { display: grid; min-width: 0; grid-template-columns: minmax(230px, 1.5fr) minmax(140px, .65fr) minmax(110px, .5fr) auto; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); padding: 1.2rem; }
.account-order-row + .account-order-row { border-top: 1px solid var(--line); }
.account-order-primary { display: grid; min-width: 0; gap: .24rem; }
.account-order-primary > span, .account-order-status > span, .account-order-total > span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.account-order-primary a { width: fit-content; max-width: 100%; overflow: hidden; color: var(--text); font-size: 1.05rem; font-weight: 800; line-height: 1.25; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-overflow: ellipsis; text-underline-offset: 3px; white-space: nowrap; }
.account-order-primary small { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.account-order-primary small i { color: var(--accent); }
.account-order-status, .account-order-total { display: grid; align-content: center; gap: .38rem; }
.account-order-status .badge { width: fit-content; }
.account-order-total strong { font-size: 1.05rem; }
.account-order-total-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem; }
.account-order-refund-state { display: inline-flex; width: fit-content; align-items: center; gap: .28rem; color: var(--accent); font-size: .7rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.account-order-refund-state.is-full { color: var(--success); }
.account-order-view { display: inline-flex; min-height: 42px; align-items: center; gap: .55rem; padding-inline: .85rem; white-space: nowrap; }
.account-order-view i { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .account-order-primary a:hover { color: var(--accent); text-decoration-color: currentColor; }
}
.account-back-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.account-back-link:hover { color: var(--accent); }
.account-order-overview { overflow: hidden; }
.account-order-overview-header { display: flex; min-height: 98px; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.account-order-overview-header h2 { margin: .22rem 0 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.account-order-overview-status { display: flex; flex: 0 0 auto; align-items: center; }
.account-order-overview-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-order-overview-meta.has-refund { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-order-overview-meta > div { display: grid; min-width: 0; grid-template-columns: 22px minmax(0, 1fr); gap: .12rem .65rem; align-content: center; padding: 1rem 1.25rem; }
.account-order-overview-meta > div + div { border-left: 1px solid var(--line); }
.account-order-overview-meta i { grid-row: 1 / span 2; align-self: center; color: var(--accent); }
.account-order-overview-meta .account-order-refund-meta i { color: var(--warning); }
.account-order-overview-meta span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.account-order-overview-meta strong { min-width: 0; line-height: 1.35; }
.account-order-detail-grid { display: grid; min-width: 0; gap: 1.25rem; }
.account-order-item-list { display: grid; }
.account-order-item { min-width: 0; padding: 1.15rem 1.2rem; }
.account-order-item + .account-order-item { border-top: 1px solid var(--line); }
.account-order-item-review-action { display: flex; justify-content: flex-end; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.account-order-item-review-action .button { min-height: 40px; gap: .5rem; }
.account-order-item-review-action .button i { color: var(--accent); }
.account-order-product-summary { --commerce-product-media-size: 104px; gap: 1rem; }
.account-order-product-media { --product-media-padding: .32rem; width: 100%; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.account-order-sidebar { display: grid; align-content: start; gap: 1.25rem; }
.account-order-totals { display: grid; gap: .7rem; }
.account-order-totals > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.account-order-totals strong { color: var(--text); }
.account-order-totals .total { margin-top: .15rem; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--text); font-size: 1.1rem; font-weight: 800; }
.account-order-totals .refund { margin-top: .15rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.account-order-totals .refund strong { color: var(--accent); }
.account-order-totals .amount-paid { color: var(--text); font-weight: 800; }
.account-refund-list { display: grid; margin: 0; padding: 0; list-style: none; }
.account-refund-row { display: grid; min-width: 0; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .9rem 1rem; }
.account-refund-row + .account-refund-row { border-top: 1px solid var(--line); }
.account-refund-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: .65rem; background: color-mix(in srgb, var(--accent) 8%, var(--surface-3)); color: var(--accent); }
.account-refund-details { display: grid; min-width: 0; gap: .12rem; }
.account-refund-details > span { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.account-refund-details > strong { color: var(--accent); font-size: 1.02rem; }
.account-refund-details > strong small { color: inherit; font-size: .7em; font-weight: 800; }
.account-refund-details > small { color: var(--muted); line-height: 1.35; }
.account-refund-row > .badge { justify-self: end; }
.account-delivery-details { display: grid; gap: 1rem; }
.account-delivery-details address { color: var(--muted); font-style: normal; line-height: 1.55; }
.account-delivery-details address strong { color: var(--text); }
.account-shipping-method { display: grid; gap: .2rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.account-shipping-method span { color: var(--muted); font-size: .82rem; }
.account-password-panel { width: 100%; }
.account-security-panel { width: 100%; }
.account-security-panel-body { display: grid; gap: 1rem; }
.account-security-panel-body > p { margin: 0; color: var(--muted); line-height: 1.5; }
.account-security-setup-panel { width: 100%; }
.account-security-setup-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: stretch; gap: clamp(1.25rem, 3vw, 2rem); }
.account-security-setup-guide { min-width: 0; }
.account-security-setup-panel .admin-security-steps { margin: 0; }
.account-security-setup-panel .admin-security-step-number { border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.account-security-setup-form { display: grid; align-content: center; gap: 1rem; margin: 0; padding-left: clamp(1.25rem, 3vw, 2rem); border-left: 1px solid var(--line); }
.account-security-setup-copy h3 { margin: .2rem 0 0; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.1; letter-spacing: -.025em; }
.account-security-setup-copy p { margin: .45rem 0 0; color: var(--muted); line-height: 1.45; }
.account-security-setup-form .button { width: 100%; min-height: 48px; justify-content: space-between; }
.mfa-frequency-form { display: grid; gap: 1rem; margin: 0; }
.mfa-frequency-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mfa-frequency-fieldset > legend { margin: 0 0 .35rem; padding: 0; font-weight: 800; font-size: 1rem; }
.mfa-frequency-fieldset > p { margin: 0 0 .85rem; color: var(--muted); line-height: 1.5; }
.mfa-frequency-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.account-security-setup-form .mfa-frequency-options { grid-template-columns: 1fr; }
.mfa-frequency-option { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .7rem; min-width: 0; min-height: 96px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.mfa-frequency-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent); }
.mfa-frequency-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent); outline-offset: 2px; }
.mfa-frequency-option input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--accent); }
.mfa-frequency-option > span { display: grid; gap: .35rem; min-width: 0; }
.mfa-frequency-option strong { color: var(--text); line-height: 1.25; }
.mfa-frequency-option small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.mfa-frequency-fieldset .mfa-frequency-note { margin: .8rem 0 0; font-size: .9rem; }
.mfa-management { display: grid; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.mfa-management h3 { margin: 0; font-size: 1rem; }
.mfa-management p { margin: .3rem 0 0; color: var(--muted); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .mfa-frequency-option:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
}
.guest-order-recovery-dialog { width: min(calc(100% - 2rem), 560px); }
.guest-order-recovery-form { margin: 0; }
.guest-order-recovery-form .app-dialog-body { display: grid; gap: 1rem; }
.guest-order-recovery-intro { margin: 0; }
.guest-order-recovery-error {
  padding: .8rem .9rem;
  border: 1px solid color-mix(in srgb, var(--danger) 42%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
  color: var(--danger);
  font-weight: 700;
  line-height: 1.45;
}
.postpurchase-create { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; }
.postpurchase-existing { margin: 1rem 0 0; color: var(--muted); line-height: 1.45; text-align: center; }
.summary { position: sticky; top: 7rem; padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.summary-row.total { color: var(--text); font-size: 1.25rem; font-weight: 700; }
.two-col { display: grid; gap: 1.5rem; }
.content-grid, .contact-grid, .legal-layout { display: grid; gap: 2rem; align-items: start; }
.prose { max-width: 820px; }
.prose h2 { margin: 2.4rem 0 .7rem; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .legal-document p, .legal-document li { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.prose strong, .legal-document strong { color: var(--text); }
.feature-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.feature-list li { display: grid; gap: .2rem; padding: 1rem; border-left: 3px solid var(--accent); background: var(--surface); }
.about-hero {
  padding: clamp(2rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(235, 28, 34, .12), transparent 26rem),
    var(--surface-2);
  background-size: 32px 32px, 32px 32px, auto, auto;
}
.about-hero-grid { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.about-hero-copy { min-width: 0; }
.about-hero-copy h1 { max-width: 680px; margin: .55rem 0 .85rem; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: .96; letter-spacing: -.045em; }
.about-hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.6; }
.about-hero-history { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: clamp(1.5rem, 4vw, 2.25rem); color: var(--muted); font-size: .82rem; font-weight: 700; }
.about-hero-history span { display: inline-flex; align-items: baseline; gap: .5rem; }
.about-hero-history span + span { padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
.about-hero-history strong { color: var(--text); font-size: 1rem; }
.about-hero-visual { position: relative; min-width: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); box-shadow: var(--shadow); }
.about-hero-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-hero-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.72)); content: ""; pointer-events: none; }
.about-hero-visual figcaption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: center; gap: .75rem; color: #fff; }
.about-hero-visual figcaption span { display: grid; color: rgba(255,255,255,.75); font-size: .78rem; line-height: 1.35; }
.about-hero-visual figcaption strong { color: #fff; font-size: .94rem; }
.about-story-section { background: var(--surface-2); }
.about-story-grid { display: grid; align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.about-section-heading h2, .about-capabilities-heading h2, .about-next-card h2 { margin: .35rem 0 .75rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.04em; }
.about-section-heading > p { max-width: 680px; margin: .75rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.about-principles { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 34px var(--shadow-color); }
.about-principles-heading { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.about-principles-heading h3 { margin: .2rem 0 0; font-size: 1.35rem; line-height: 1.15; }
.about-principle { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1rem 1.15rem; }
.about-principle + .about-principle { border-top: 1px solid var(--line); }
.about-principle > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.about-principle strong { display: block; font-size: 1rem; }
.about-principle p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.about-capabilities-section { background: var(--bg); }
.about-capabilities-heading { max-width: 720px; margin-bottom: 1.5rem; }
.about-capabilities-heading > p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.55; }
.about-capability-grid { display: grid; gap: 1rem; }
.about-capability-card { display: grid; min-width: 0; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1.15rem; border-top: 2px solid var(--accent); }
.about-capability-card > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.about-capability-card h3 { margin: .1rem 0 .35rem; font-size: 1.15rem; line-height: 1.2; }
.about-capability-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.about-next-section { padding-top: 0; background: var(--bg); }
.about-next-card { display: grid; align-items: center; gap: 1.25rem; padding: clamp(1.25rem, 4vw, 2rem); border-left: 3px solid var(--accent); background: linear-gradient(110deg, var(--accent-soft), transparent 42%), var(--surface); }
.about-next-card h2 { margin-bottom: .35rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about-next-card p { margin: 0; color: var(--muted); }
.about-next-actions { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: .65rem; }
.about-next-actions .button { min-height: 46px; }
.contact-page-header { padding-block: clamp(2rem, 5vw, 3.5rem); }
.contact-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.contact-page-heading h1 { max-width: 760px; }
.contact-page-heading p { max-width: 640px; margin: .55rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.contact-response-note { display: grid; min-width: 290px; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .8rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-overlay); }
.contact-response-note > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.contact-response-note span { display: grid; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.contact-response-note strong { color: var(--text); }
.contact-section { background: var(--surface-2); }
.contact-grid { gap: 1.25rem; }
.contact-form-panel, .contact-details-panel, .contact-scope-panel { min-width: 0; }
.contact-panel-header { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.contact-panel-header.compact { min-height: 82px; }
.contact-panel-header h2 { margin: .25rem 0 0; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.08; letter-spacing: -.03em; }
.contact-panel-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.contact-form { display: grid; gap: 1.25rem; padding: 1.35rem; }
.contact-form-fields { gap: 1rem; }
.contact-form-fields input, .contact-form-fields textarea { min-height: 50px; }
.contact-form-fields textarea { min-height: 190px; resize: vertical; }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .1rem; }
.contact-form-footer .button { min-width: 210px; margin-left: auto; justify-content: space-between; }
.contact-sidebar { display: grid; min-width: 0; align-content: start; gap: 1.25rem; }
.contact-details-list { display: grid; }
.contact-detail { display: grid; min-width: 0; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: 1rem 1.15rem; color: var(--text); text-decoration: none; }
.contact-detail + .contact-detail { border-top: 1px solid var(--line); }
.contact-detail-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.contact-detail > span:nth-child(2) { display: grid; min-width: 0; gap: .15rem; }
.contact-detail small { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-detail strong, .contact-detail address { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: .9rem; font-style: normal; font-weight: 800; line-height: 1.4; }
.contact-detail > i { color: var(--muted); font-size: .72rem; }
@media (hover: hover) and (pointer: fine) {
  a.contact-detail:hover { background: var(--hover-fill); }
  a.contact-detail:hover > i { color: var(--accent); }
}
.contact-scope-panel { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1.15rem; border-left: 3px solid var(--accent); }
.contact-scope-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.contact-scope-panel h2 { margin: .25rem 0 .45rem; font-size: 1.22rem; line-height: 1.15; }
.contact-scope-panel p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.product-rating { color: var(--accent); font-weight: 700; }
.badge.sale { background: var(--accent); color: #fff; }
.screen-reader-text {
  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;
}
.legal-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.policy-card { color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.policy-card:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.policy-card h2 { margin-top: 0; }
.policy-card p { color: var(--muted); }
.policy-card span { color: var(--accent); font-weight: 700; }
.legal-nav { display: grid; position: sticky; top: 9rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-nav strong, .legal-nav a { padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.legal-nav strong { color: var(--muted); }
.legal-nav a { color: var(--text); text-decoration: none; }
.legal-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.legal-document { min-width: 0; }
.legal-document > :first-child { margin-top: 0; }
.legal-document h2 { margin: 2.25rem 0 .65rem; font-size: 1.45rem; }
.legal-document h3 { margin: 1.5rem 0 .5rem; font-size: 1.12rem; }
.legal-document a { overflow-wrap: anywhere; color: var(--accent-dark); }

.site-footer { padding: 3rem 0 1rem; border-top: 1px solid var(--line); background: var(--shell); color: var(--muted); }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid strong { display: block; margin-bottom: .7rem; color: var(--text); font-size: .9rem; letter-spacing: .04em; }
.footer-grid a { display: block; margin: .35rem 0; color: var(--muted); font-size: .95rem; }
.footer-brand { color: var(--muted); }
.footer-brand-icon { display: block; width: clamp(84px, 7vw, 108px); height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 520px; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { background: var(--surface-3); color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
tbody tr { transition: background .14s ease; }
tbody tr:hover { background: var(--hover-fill); }

.admin-shell { display: grid; min-height: 100vh; background: var(--bg); }
.admin-nav { padding: 1rem; border-bottom: 1px solid var(--line); background: var(--shell); color: var(--text); }
.admin-brand { display: block; padding: .85rem; border-radius: var(--radius); background: #252525; text-decoration: none; }
.admin-brand img { width: 100%; max-width: 210px; }
.admin-brand small { display: block; margin-top: .65rem; color: #bbb; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.admin-theme-toggle { width: 100%; margin: .8rem 0; }
.admin-nav > a:not(.admin-brand) { display: block; position: relative; padding: .72rem .75rem; border-left: 2px solid transparent; color: var(--muted); font-size: .95rem; font-weight: 700; text-decoration: none; }
.admin-nav > a:not(.admin-brand):hover { border-left-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent); color: var(--text); }
.admin-nav .admin-store-link { margin-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.admin-main { min-width: 0; padding: 1rem; }
.stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { position: relative; padding: 1rem; border-top: 2px solid var(--accent); }
.stat strong { display: block; color: var(--text); font-size: 1.8rem; font-weight: 700; }
.inline { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.actions-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }

@media (min-width: 700px) {
  .filters { grid-template-columns: 2fr 1fr auto; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1/-1; }
  .about-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; }
  .admin-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .admin-nav { position: sticky; top: 0; height: 100vh; padding: 1.25rem .8rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .admin-main { padding: 2rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav-backdrop { display: none; }
  .site-nav-mobile-utilities { display: none; }
  .site-nav { display: flex; position: static; min-width: 0; max-height: none; flex: 1 1 auto; align-items: center; justify-content: space-between; overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav-primary { display: flex; align-items: center; gap: .15rem; }
  .site-nav a, .link-button { min-height: 42px; padding: .7rem .72rem; }
  .site-nav a.is-current::before { top: auto; right: .72rem; bottom: .25rem; left: .72rem; width: auto; height: 3px; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr); }
  .about-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); }
  .about-story-grid { grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); }
  .about-next-card { grid-template-columns: minmax(0, 1fr) auto; }
  .about-next-actions { grid-column: 2; justify-content: flex-end; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: 1.5rem; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); gap: 1.5rem; }
  .checkout-summary { position: sticky; top: 1.5rem; display: grid; }
  .checkout-summary-heading { order: 1; }
  .checkout-item-list { order: 2; max-height: min(34vh, 330px); overflow-y: auto; scrollbar-gutter: stable; }
  .checkout-facts { order: 3; }
  .checkout-total { order: 4; }
  .checkout-order-action { order: 5; }
  .checkout-help { order: 6; }
  .confirmation-details { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 2rem; }
  .cart-line { grid-template-columns: minmax(0, 1fr) minmax(215px, auto); gap: 1.25rem; }
  .cart-line-commerce {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: auto auto;
    align-self: center;
    align-content: center;
    justify-content: end;
    justify-items: end;
    gap: .65rem;
  }
  .cart-line-update { grid-column: 1; }
  .cart-line-commerce > form:last-child { grid-column: 2; justify-self: end; }
  .content-grid { grid-template-columns: minmax(0, 1.6fr) minmax(290px, .65fr); }
  .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .product-content-body { grid-template-columns: minmax(210px, .35fr) minmax(0, 1.65fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .product-content-heading { position: sticky; top: 9rem; }
  .product-overview .product-content-body { grid-template-columns: 1fr; gap: 1rem; }
  .product-overview .product-content-heading { position: static; }
  .flagship-builder .card-body { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; }
}

@media (min-width: 980px) {
  .product-detail {
    grid-template-areas:
      "gallery purchase"
      "overview purchase";
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    gap: 1.35rem clamp(1.5rem, 3vw, 2.5rem);
  }
  .product-gallery { grid-area: gallery; }
  .product-purchase { grid-area: purchase; }
  .product-overview { grid-area: overview; }
}

@media (min-width: 1240px) {
  .product-detail { grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr); }
}

@media (min-width: 700px) and (max-width: 1000px) {
  .theme-label { display: none; }
}

@media (min-width: 900px) {
  .account-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; }
  .account-navigation { position: sticky; top: 7rem; }
  .account-navigation nav { grid-template-columns: 1fr; }
  .account-navigation-link { min-height: 48px; flex-direction: row; justify-content: flex-start; gap: .7rem; padding: .65rem .75rem; font-size: .9rem; text-align: left; }
  .account-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-order-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); align-items: start; }
  .account-order-sidebar { position: sticky; top: 1rem; }
  .account-profile-photo-body { grid-template-columns: 112px minmax(0, 1fr); gap: 1.25rem; }
  .profile-avatar-large { width: 112px; height: 112px; font-size: 1.8rem; }
}

@media (max-width: 899px) {
  .nav-shell { min-height: 74px; gap: .75rem; }
  .brand { width: clamp(155px, 29vw, 205px); }
  .site-nav-primary { gap: .15rem; }
  .header-actions > :is(.header-notifications, .account-menu, .header-account-link, .header-theme-toggle) { display: none; }
}

@media (max-width: 560px) {
  .checkout-header-shell { min-height: 68px; grid-template-columns: minmax(0, 1fr) auto 44px; gap: .5rem; padding-inline: .75rem; }
  .checkout-header-brand { width: min(132px, 100%); }
  .checkout-secure-label { gap: .35rem; font-size: .88rem; }
  .checkout-header-cart { width: 44px; padding: 0; justify-content: center; }
  .checkout-header-cart > span { display: none; }
  .nav-shell { padding-inline: .75rem; }
  .brand { width: clamp(140px, 42vw, 178px); }
  .nav-toggle span { display: none; }
  .header-actions { gap: .35rem; }
  .header-control, .header-theme-toggle, .header-actions .nav-toggle { width: 43px; height: 43px; padding: 0; }
  .header-cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; border: 2px solid var(--shell); font-size: .7rem; }
  .cart-drawer { width: 100%; border-left: 0; }
  .cart-drawer-header { min-height: 80px; padding: 1rem; }
  .cart-drawer-items { padding-inline: 1rem; }
  .cart-drawer-line { gap: .35rem; }
  .cart-drawer-product-summary { --commerce-product-media-size: 88px; gap: .8rem; }
  .cart-drawer-line-heading { align-items: baseline; }
  .quantity-stepper.cart-drawer-stepper { --purchase-control-height: 44px; width: 136px; grid-template-columns: 42px minmax(50px, 1fr) 42px; }
  .cart-drawer-remove { min-height: 44px; }
  .cart-drawer-footer { padding-inline: 1rem; }
  .cart-drawer-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .nav-shell { gap: .35rem; padding-inline: .375rem; }
  .brand { width: 104px; }
  .header-actions { gap: .25rem; }
}

@media (max-width: 699px) {
  .account-review-row { grid-template-columns: 1fr; }
  .account-review-row > div:last-child .button { flex: 1; }
  .about-hero { padding: 1.5rem 0; background-size: 24px 24px, 24px 24px, auto, auto; }
  .about-hero-copy h1 { font-size: clamp(2.35rem, 10.5vw, 3.05rem); }
  .about-hero-history { display: grid; gap: .45rem; }
  .about-hero-history span + span { padding: 0; border: 0; }
  .about-hero-visual figcaption { right: .75rem; bottom: .75rem; left: .75rem; }
  .about-next-card { gap: 1rem; }
  .about-next-actions { width: 100%; }
  .about-next-actions .button { width: 100%; justify-content: space-between; }
  .account-auth-section { min-height: auto; padding: 1rem 0; background-size: 24px 24px, 24px 24px, auto, auto; }
  .account-auth-shell { width: min(calc(100% - 1rem), 900px); }
  .account-auth-card { grid-template-columns: 1fr; }
  .account-auth-form-pane, .account-auth-new { padding: 1.25rem; }
  .account-auth-form-pane h1 { font-size: clamp(2.1rem, 11vw, 2.7rem); }
  .account-auth-form { margin-top: 1.35rem; }
  .account-auth-new { border-top: 1px solid var(--line); border-left: 0; }
  .account-auth-new { gap: 1.25rem; }
  .account-auth-aside-mark { display: none; }
  .account-register-benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
  .account-register-benefit-list li { grid-template-columns: 1fr; align-content: start; gap: .45rem; }
  .admin-security-enrollment { width: min(190px, 100%); justify-self: center; }
  .admin-security-actions .button { width: 100%; }
  .admin-recovery-codes { grid-template-columns: 1fr; }
  .admin-security-recovery-actions { grid-template-columns: 1fr; }
  .recovery-codes-complete { grid-template-columns: 1fr; justify-items: start; gap: 1rem; }
  .recovery-codes-complete-icon { grid-row: auto; }
  .recovery-codes-complete-actions { width: 100%; grid-column: 1; flex-direction: column; }
  .recovery-codes-complete-actions .button { width: 100%; }
  .recovery-codes-dialog .admin-recovery-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .recovery-codes-dialog .admin-recovery-codes code { padding: .65rem .4rem; font-size: .9rem; }
  .recovery-codes-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-codes-actions .button { width: 100%; }
  .recovery-codes-actions .button:last-child { grid-column: 1 / -1; }
  .account-security-panel .account-panel-header, .account-security-setup-panel .account-panel-header { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .account-security-setup-body { grid-template-columns: 1fr; }
  .account-security-setup-form { align-content: start; padding-top: 1.25rem; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .mfa-frequency-options { grid-template-columns: 1fr; }
  .mfa-frequency-option { min-height: 0; }
  .account-navigation-title { display: none; }
  .account-navigation { padding: .35rem; }
  .account-navigation nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-navigation-link { min-height: 58px; padding-inline: .2rem; font-size: .72rem; }
  .account-navigation-link-danger { min-height: 48px; grid-column: 1 / -1; flex-direction: row; }
  .notification-panel-header, .notification-detail-header { align-items: stretch; flex-direction: column; }
  .notification-panel-header .button, .notification-detail-header .button { width: 100%; }
  .notification-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: .7rem; padding: .9rem; }
  .notification-row-icon { width: 38px; height: 38px; }
  .notification-row-copy > span:first-child { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .notification-row-copy strong, .notification-row-copy > span:last-child { white-space: normal; }
  .notification-row-arrow { display: none; }
  .notification-message-frame-shell { padding: .55rem; }
  .notification-message-frame { min-height: 680px; }
  .account-session-row { grid-template-columns: 42px minmax(0, 1fr); gap: .75rem; padding: 1rem; }
  .account-session-icon { width: 42px; height: 42px; }
  .account-session-action { grid-column: 2; }
  .account-session-action .button { width: 100%; }
  .account-session-details { display: grid; gap: .18rem; }
  .account-session-details span + span::before { content: none; }
  .account-session-footer { align-items: stretch; flex-direction: column; }
  .account-session-footer .button { width: 100%; }
  .account-deletion-footer { align-items: stretch; flex-direction: column; }
  .account-deletion-footer .button { width: 100%; }
  .account-deletion-dialog .app-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .account-deletion-dialog .app-dialog-actions .button { width: 100%; }
  .account-content-heading { align-items: stretch; flex-direction: column; }
  .account-content-heading .button { width: 100%; }
  .account-orders-panel .account-panel-header { align-items: stretch; flex-direction: column; }
  .account-orders-header-actions { align-items: stretch; flex-direction: column; }
  .account-orders-header-actions .button { width: 100%; }
  .account-orders-empty, .account-empty-state { min-height: 280px; }
  .account-overview-grid { grid-template-columns: 1fr; }
  .account-purchased-content-card { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
  .account-purchased-content-card > .account-purchased-content-copy > span { overflow: visible; line-height: 1.35; text-overflow: clip; white-space: normal; }
  .account-purchased-content-action { grid-column: 2; width: 100%; margin-top: .55rem; }
  .account-access-history-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: .65rem; }
  .account-access-history-row small { overflow: visible; line-height: 1.35; text-overflow: clip; white-space: normal; }
  .account-access-history-row a { justify-self: start; }
  .account-form-actions .button { width: 100%; }
  .account-username-actions .button { width: 100%; }
  .profile-photo-upload { width: 100%; flex-basis: 100%; display: grid; grid-template-columns: 1fr; }
  .profile-photo-upload .button { width: 100%; }
  .profile-photo-file { min-width: 0; max-width: 100%; }
  .account-order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .account-order-primary { grid-column: 1 / -1; }
  .account-order-view { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  .account-order-overview-header { align-items: stretch; flex-direction: column; }
  .account-order-overview-status { justify-content: flex-start; }
  .account-order-overview-meta { grid-template-columns: 1fr; }
  .account-order-overview-meta.has-refund { grid-template-columns: 1fr; }
  .account-order-overview-meta > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .account-order-item { padding: 1rem; }
  .account-order-product-summary { --commerce-product-media-size: 82px; gap: .75rem; }
  .account-order-product-summary .commerce-product-heading { display: grid; gap: .28rem; }
  .account-order-product-summary .commerce-product-total { grid-row: 2; }
  .account-refund-row { grid-template-columns: 2.4rem minmax(0, 1fr); align-items: start; }
  .account-refund-icon { width: 2.4rem; height: 2.4rem; }
  .account-refund-row > .badge { grid-column: 2; justify-self: start; }
  .account-empty-actions { width: 100%; flex-direction: column; }
  .account-empty-actions .button { width: 100%; }
  .guest-order-recovery-form .app-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .guest-order-recovery-form .app-dialog-actions .button { width: 100%; }
  .two-factor-recovery-form .app-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .two-factor-recovery-form .app-dialog-actions .button { width: 100%; }
  .checkout-page-title { align-items: start; flex-direction: column; }
  .checkout-page-title > a { font-size: .95rem; }
  .checkout-step-actions { align-items: stretch; }
  .checkout-step-continue { width: 100%; }
  .checkout-step-summary { margin-top: .25rem; }
  .checkout-step-edit { min-width: 52px; }
  .checkout-item { padding-inline: 1rem; }
  .checkout-product-summary { --commerce-product-media-size: 74px; }
  .checkout-media { width: 74px; }
  .checkout-item-heading { display: grid; gap: .25rem; }
  .checkout-item-heading > strong { grid-row: 2; }
  .checkout-facts { padding-inline: 1rem; }
  .checkout-facts > div { grid-template-columns: 20px minmax(0, 1fr); }
  .checkout-facts button, .checkout-facts > div:not(:first-child) span { grid-column: 2; justify-self: start; }
  .checkout-facts > div:first-child { grid-template-columns: 20px max-content minmax(0, 1fr); }
  .checkout-facts > div:first-child button { grid-column: 3; justify-self: start; white-space: nowrap; }
  .checkout-help { padding-inline: 1rem; }
  .shipping-rate-option { grid-template-columns: 20px minmax(0, 1fr); }
  .shipping-rate-price { grid-column: 2; justify-self: start; margin-top: -.25rem; }
  .confirmation-reference { grid-template-columns: 1fr; gap: .75rem; }
  .confirmation-reference > div + div { padding-top: .75rem; border-top: 1px solid var(--line); }
  .confirmation-product-summary { --commerce-product-media-size: 88px; gap: .75rem; }
  .confirmation-totals { max-width: none; }
  .confirmation-actions { align-items: stretch; flex-direction: column; }
  .confirmation-actions .button { width: 100%; }
  .confirmation-actions > a:not(.button) { text-align: center; }
  .confirmation-account-success { align-items: flex-start; flex-wrap: wrap; }
  .confirmation-account-success a { width: 100%; margin-left: 1.65rem; }
  .postpurchase-account { grid-template-columns: 1fr; }
  .postpurchase-account-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-signin-actions { align-items: stretch; flex-direction: column-reverse; }
  .checkout-signin-actions .button { width: 100%; }
  .address-confirmation-options { grid-template-columns: 1fr; }
  .address-confirmation-actions { align-items: stretch; flex-direction: column-reverse; }
  .address-confirmation-actions .button { width: 100%; }
  .cart-page-title { align-items: start; flex-direction: column; gap: .7rem; }
  .cart-page-count { padding: .4rem .6rem; }
  .cart-items-header { align-items: start; }
  .cart-items-header a { font-size: .9rem; }
  .cart-continue-wide { display: none; }
  .cart-continue-compact { display: inline; }
  .cart-line { padding: 1rem; }
  .cart-page-product-summary { --commerce-product-media-size: 88px; gap: .75rem; }
  .cart-page-options { width: 100%; margin-block: 0; }
  .cart-line-commerce { padding-top: .25rem; border-top: 1px solid var(--line); }
  .cart-line-update { justify-content: space-between; }
  .console-readout { grid-template-columns: 1fr; }
  .console-readout strong { border-right: 0; border-bottom: 1px solid var(--line); }
  .console-readout strong:last-child { border-bottom: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .contact-page-heading { align-items: stretch; flex-direction: column; gap: 1.25rem; }
  .contact-response-note { width: 100%; min-width: 0; }
  .contact-form-footer { align-items: stretch; flex-direction: column; }
  .contact-form-footer .button { width: 100%; }
  .product-purchase, .company-panel, .legal-nav { position: static; }
  .product-detail-section { padding-top: 0; }
  .product-detail-header > .container { width: min(calc(100% - 1rem), 1320px); padding: .75rem 0; }
  .product-detail-section > .container { width: min(calc(100% - 1rem), 1320px); }
  .product-detail-content { padding-top: .75rem; }
  .detail-grid { gap: 1.25rem; }
  .gallery-open { padding: .7rem; }
  .gallery-arrow { display: none; }
  .gallery-thumb { flex-basis: 76px; }
  .purchase-actions { grid-template-columns: 150px minmax(0, 1fr); }
  .quantity-field { width: 150px; }
  .purchase-facts { grid-template-columns: 1fr; gap: .85rem; }
  .purchase-fact { padding-right: 0; }
  .purchase-fact + .purchase-fact { padding: .85rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .purchase-fact.tax-fact { margin-top: 0; }
  .app-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .app-dialog-header { padding: .95rem 1rem; }
  .app-dialog-header h2 { font-size: 1.28rem; }
  .app-dialog-body { padding: 1rem; }
  .app-dialog-actions { padding: .85rem 1rem max(.85rem, env(safe-area-inset-bottom)); }
  .profile-photo-crop-dialog .app-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .profile-photo-crop-dialog .app-dialog-actions .button { width: 100%; }
  .shipping-schedule-body { padding: .25rem 1rem 1rem; }
  .shipping-schedule-row { grid-template-columns: 1fr; gap: .2rem; padding: .8rem 0; }
  .shipping-schedule-footer { padding: .8rem 1rem; }
  .mobile-purchase-bar {
    position: fixed;
    z-index: 19;
    right: .5rem;
    bottom: max(.5rem, env(safe-area-inset-bottom));
    left: .5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .65rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--header-bg);
    box-shadow: 0 14px 38px var(--shadow-color);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 1rem + env(safe-area-inset-bottom)));
    transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
    backdrop-filter: blur(16px);
  }
  .mobile-purchase-bar.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-purchase-summary { display: none; }
  .mobile-purchase-price {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-purchase-submit { min-height: 46px; padding-inline: 1.15rem; }
  body.has-mobile-purchase-bar { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .lightbox-toolbar { min-height: 64px; padding: max(.5rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) .5rem max(.8rem, env(safe-area-inset-left)); }
  .lightbox-close { width: 52px; height: 48px; }
  .lightbox-stage .lightbox-arrow { display: none; }
  .lightbox-thumbnail-band { padding: .5rem max(.55rem, env(safe-area-inset-right)) max(.55rem, env(safe-area-inset-bottom)) max(.55rem, env(safe-area-inset-left)); }
  .lightbox-thumbnails { min-width: max-content; justify-content: flex-start; gap: .5rem; }
  .lightbox-thumb.gallery-thumb { flex-basis: 64px; padding: .25rem; }
  .purchase-card-body { padding: 1.1rem; }
  .product-purchase h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .product-content-body { padding: 1.2rem; }
  .product-description { margin-top: 1rem; }
  .product-content-heading h2, .product-description h2 { font-size: 1.65rem; }
  .original-description-videos { grid-template-columns: 1fr; }
  .rating-review-count { width: 100%; padding-left: 0; border-left: 0; }
  .review-grid { grid-template-columns: 1fr; }
  .review-section-heading { align-items: start; flex-direction: column; }
  .diy-section-heading { align-items: stretch; flex-direction: column; gap: .85rem; }
  .diy-section-heading > .button { align-self: start; }
  .diy-proof-deltas, .diy-engineering-grid, .diy-kit-grid { grid-template-columns: 1fr; }
  .diy-test-metadata { grid-template-columns: 1fr; }
  .diy-test-metadata > span + span { border-top: 1px solid var(--line); border-left: 0; }
  .diy-proof-result strong { font-size: clamp(2.6rem, 15vw, 4.4rem); }
  .diy-flow-row > div { align-items: start; flex-direction: column; gap: .1rem; }
  .diy-installation-actions .button, .diy-donor-section > .button, .diy-terms-summary > .button { width: 100%; }
}

@media (max-width: 480px) {
  .account-register-fields { gap: .85rem; }
  .account-register-benefit-list { grid-template-columns: 1fr; }
  .account-register-benefit-list li { grid-template-columns: 28px minmax(0, 1fr); align-items: center; }
  .account-register-signin { align-items: stretch; flex-direction: column; }
  .account-register-signin .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* Reusable visual content layouts */
.product-builder-content { margin-top: 1.35rem; }
.product-builder-overview { min-width: 0; }
.content-layout { display: grid; min-width: 0; gap: 1.35rem; color: var(--text); }
.content-layout-section { width: 100%; margin-inline: auto; }
.content-layout-section.width-content { max-width: 900px; }
.content-layout-section.width-wide { max-width: 1320px; }
.content-layout-section.width-full { max-width: none; }
.content-layout-section.surface-card,
.content-layout-column.surface-card,
.content-layout-node.surface-card,
.content-layout-slot.surface-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 28px var(--shadow-color); }
.content-layout-section.surface-subtle,
.content-layout-column.surface-subtle,
.content-layout-node.surface-subtle,
.content-layout-slot.surface-subtle { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.content-layout-section.surface-contrast,
.content-layout-column.surface-contrast,
.content-layout-node.surface-contrast,
.content-layout-slot.surface-contrast { border: 1px solid color-mix(in srgb, var(--line) 72%, #000); border-radius: var(--radius); background: var(--surface-inverse, #202020); color: var(--text-inverse, #fff); }
.content-layout-section.surface-card > .content-layout-row,
.content-layout-section.surface-subtle > .content-layout-row,
.content-layout-section.surface-contrast > .content-layout-row { padding: clamp(1.25rem, 3vw, 2.5rem); }
.content-layout-section.spacing-compact > .content-layout-row { gap: .85rem; padding: clamp(1rem, 2vw, 1.35rem); }
.content-layout-section.spacing-normal > .content-layout-row { gap: 1.35rem; }
.content-layout-section.spacing-roomy > .content-layout-row { gap: clamp(1.75rem, 4vw, 3.5rem); padding: clamp(1.4rem, 4vw, 2.75rem); }
.content-layout-row { display: grid; min-width: 0; gap: 1.35rem; }
.content-layout-flow { display: grid; min-width: 0; gap: 1.35rem; }
.content-layout-section.surface-card > .content-layout-flow,
.content-layout-section.surface-subtle > .content-layout-flow,
.content-layout-section.surface-contrast > .content-layout-flow { padding: clamp(1.25rem, 3vw, 2.5rem); }
.content-layout-section.spacing-compact > .content-layout-flow { gap: .85rem; padding: clamp(1rem, 2vw, 1.35rem); }
.content-layout-section.spacing-normal > .content-layout-flow { gap: 1.35rem; }
.content-layout-section.spacing-roomy > .content-layout-flow { gap: clamp(1.75rem, 4vw, 3.5rem); padding: clamp(1.4rem, 4vw, 2.75rem); }
.content-layout-node { position: relative; min-width: 0; margin-inline: auto; }
.content-layout-node.width-content { width: min(100%, 900px); }
.content-layout-node.width-wide { width: min(100%, 1320px); }
.content-layout-node.width-full { width: 100%; }
.content-layout-node.surface-card,
.content-layout-node.surface-subtle,
.content-layout-node.surface-contrast { padding: clamp(1.15rem, 3vw, 2rem); }
.content-layout-slots { position: relative; z-index: 2; display: grid; min-width: 0; gap: 1.35rem; }
.content-layout-node.gap-none > .content-layout-slots { gap: 0; }
.content-layout-node.gap-tight > .content-layout-slots { gap: .75rem; }
.content-layout-node.gap-normal > .content-layout-slots { gap: 1.35rem; }
.content-layout-node.gap-roomy > .content-layout-slots { gap: clamp(1.5rem, 3vw, 2.5rem); }
.content-layout-slot { display: grid; min-width: 0; align-content: start; gap: clamp(.85rem, 1.8vw, 1.35rem); }
.content-layout-slot.align-center { align-content: center; }
.content-layout-slot.align-end { align-content: end; }
.content-layout-slot.align-stretch { align-content: stretch; }
.content-layout-slot.surface-card,
.content-layout-slot.surface-subtle,
.content-layout-slot.surface-contrast { padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.content-layout-node.type-row > .content-layout-slots { display: flex; align-items: flex-start; }
.content-layout-node.type-row.align-center > .content-layout-slots { align-items: center; }
.content-layout-node.type-row.align-end > .content-layout-slots { align-items: flex-end; }
.content-layout-node.type-row.align-stretch > .content-layout-slots { align-items: stretch; }
.content-layout-node.type-row.justify-center > .content-layout-slots { justify-content: center; }
.content-layout-node.type-row.justify-end > .content-layout-slots { justify-content: flex-end; }
.content-layout-node.type-row.justify-between > .content-layout-slots { justify-content: space-between; }
.content-layout-node.type-row.wrap-wrap > .content-layout-slots { flex-wrap: wrap; }
.content-layout-node.type-row.wrap-nowrap > .content-layout-slots { flex-wrap: nowrap; }
.content-layout-node.type-row > .content-layout-slots > .content-layout-slot { flex: 1 1 220px; }
.content-layout-node.type-grid > .content-layout-slots { grid-template-columns: repeat(var(--content-grid-columns, 3), minmax(0, 1fr)); }
.content-layout-node.type-grid.grid-2 { --content-grid-columns: 2; }
.content-layout-node.type-grid.grid-3 { --content-grid-columns: 3; }
.content-layout-node.type-grid.grid-4 { --content-grid-columns: 4; }
.content-layout-node.type-columns.ratio-equal > .content-layout-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-layout-node.type-columns.ratio-wide-left > .content-layout-slots { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.content-layout-node.type-columns.ratio-wide-right > .content-layout-slots { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.content-layout-node.type-columns.ratio-thirds > .content-layout-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-layout-node.type-spacer { height: var(--content-spacer, 3rem); }
.content-layout-node.type-spacer.spacer-small { --content-spacer: 1.5rem; }
.content-layout-node.type-spacer.spacer-medium { --content-spacer: 3rem; }
.content-layout-node.type-spacer.spacer-large { --content-spacer: 5.5rem; }
.content-layout-node.type-hero { display: grid; min-height: var(--content-hero-height, 440px); overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.content-layout-node.type-hero.hero-compact { --content-hero-height: 320px; }
.content-layout-node.type-hero.hero-medium { --content-hero-height: 440px; }
.content-layout-node.type-hero.hero-tall { --content-hero-height: 600px; }
.content-layout-hero-image,
.content-layout-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.content-layout-hero-image { z-index: -2; object-fit: contain; }
.content-layout-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, var(--hero-shade, .58)), rgba(0, 0, 0, calc(var(--hero-shade, .58) * .38))); }
.content-layout-node.type-hero.overlay-light { --hero-shade: .34; }
.content-layout-node.type-hero.overlay-medium { --hero-shade: .58; }
.content-layout-node.type-hero.overlay-strong { --hero-shade: .78; }
.content-layout-node.type-hero > .content-layout-slots { align-self: stretch; align-items: center; padding: clamp(1.5rem, 5vw, 4.5rem); color: #fff; }
.content-layout-node.type-hero.position-left > .content-layout-slots > .content-layout-slot { width: min(100%, 640px); justify-self: start; }
.content-layout-node.type-hero.position-center > .content-layout-slots > .content-layout-slot { width: min(100%, 720px); justify-self: center; text-align: center; }
.content-layout-node.type-hero.position-right > .content-layout-slots > .content-layout-slot { width: min(100%, 640px); justify-self: end; }
.content-layout-section.layout-split > .content-layout-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-layout-section.layout-wide-left > .content-layout-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.content-layout-section.layout-wide-right > .content-layout-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.content-layout-section.layout-thirds > .content-layout-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-layout-column { display: grid; min-width: 0; align-content: start; gap: clamp(1rem, 2vw, 1.5rem); }
.content-layout-column.align-center { align-content: center; }
.content-layout-column.align-stretch { align-content: stretch; }
.content-layout-column.surface-card,
.content-layout-column.surface-subtle,
.content-layout-column.surface-contrast { padding: clamp(1.2rem, 3vw, 2rem); }
.content-layout-column > .content-builder-callout { padding: 0; border: 0; border-radius: 0; background: transparent; }
.content-layout-slot > .content-builder-callout { padding: 0; border: 0; border-radius: 0; background: transparent; }
.content-layout-column > .content-builder-callout.is-accent { padding: clamp(1.15rem, 3vw, 1.7rem); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); }
.content-layout .content-builder-callout h2,
.content-layout .content-builder-list h2 { margin: .45rem 0 .8rem; font-size: clamp(1.65rem, 3.4vw, 2.55rem); line-height: 1.06; letter-spacing: -.025em; }
.content-layout .content-builder-callout .imported-content { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.7; }
.content-layout .content-builder-callout .imported-content > :first-child { margin-top: 0; }
.content-layout .content-builder-callout .imported-content > :last-child { margin-bottom: 0; }
.content-layout .content-builder-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.content-layout .content-builder-feature { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; padding: 1.25rem; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: var(--surface-2); }
.content-builder-feature-number { color: var(--accent); font-size: .85rem; font-weight: 800; letter-spacing: .06em; }
.content-layout .content-builder-feature h3 { margin: 0 0 .25rem; }
.content-layout .content-builder-feature .imported-content { color: var(--muted); }
.content-builder-list { min-width: 0; }
.content-layout-column.surface-card .content-builder-list h2 { font-size: clamp(1.55rem, 2.7vw, 2.05rem); }
.content-builder-check-list { display: grid; gap: 0; margin: 1.15rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.content-builder-check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .65rem; padding: .85rem 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.content-builder-check-list i { margin-top: .22rem; color: var(--success); }
.content-builder-check-list strong { font-weight: 500; }
.content-builder-check-list .imported-content { color: var(--muted); }
.content-builder-check-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .65rem; padding: .85rem 0; border-block: 1px solid var(--line); line-height: 1.5; }
.content-builder-check-item i { margin-top: .22rem; color: var(--success); }
.content-builder-check-item .imported-content { color: var(--muted); }
.content-builder-check-item .imported-content > :first-child { margin-top: 0; }
.content-builder-check-item .imported-content > :last-child { margin-bottom: 0; }
.content-builder-spec-list { display: grid; margin: 1.15rem 0 0; border-top: 1px solid var(--line); }
.content-builder-spec-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.content-builder-spec-list dt { color: var(--text); font-weight: 700; line-height: 1.45; }
.content-builder-spec-list dd,
.content-builder-spec-item dd,
.content-builder-spec-value { margin: 0; color: var(--accent-dark); font-weight: 700; white-space: nowrap; }
.content-builder-spec-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; margin: 0; padding: .8rem 0; border-block: 1px solid var(--line); }
.content-builder-spec-item dt { font-weight: 700; }
.content-builder-faq-item { width: 100%; }
.content-builder-spec-value > :first-child { margin-top: 0; }
.content-builder-spec-value > :last-child { margin-bottom: 0; }
.content-builder-list-note { margin-top: 1rem; color: var(--muted); line-height: 1.6; }
.content-builder-list-note > :first-child { margin-top: 0; }
.content-builder-list-note > :last-child { margin-bottom: 0; }
.product-builder-overview .content-layout-section.surface-card > .content-layout-row { padding: clamp(1.25rem, 3vw, 1.7rem); }
.product-builder-overview .content-layout-section.surface-card > .content-layout-flow { padding: clamp(1.25rem, 3vw, 1.7rem); }
.product-builder-overview .content-builder-callout h2 { max-width: 18ch; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.product-builder-overview .content-builder-callout .imported-content { font-size: 1.03rem; line-height: 1.65; }
html[data-theme="dark"] .content-builder-spec-list dd,
html[data-theme="dark"] .content-builder-spec-item dd,
html[data-theme="dark"] .content-builder-spec-value { color: var(--accent-bright); }

@media (max-width: 1100px) {
  .content-layout-node.type-grid.grid-3 > .content-layout-slots,
  .content-layout-node.type-grid.grid-4 > .content-layout-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .content-layout-section.layout-split > .content-layout-row,
  .content-layout-section.layout-wide-left > .content-layout-row,
  .content-layout-section.layout-wide-right > .content-layout-row,
  .content-layout-section.layout-thirds > .content-layout-row { grid-template-columns: 1fr; }
  .content-layout-node.type-columns.ratio-equal > .content-layout-slots,
  .content-layout-node.type-columns.ratio-wide-left > .content-layout-slots,
  .content-layout-node.type-columns.ratio-wide-right > .content-layout-slots,
  .content-layout-node.type-columns.ratio-thirds > .content-layout-slots { grid-template-columns: 1fr; }
  .content-layout-node.type-row > .content-layout-slots { flex-direction: column; }
  .content-layout-node.type-row > .content-layout-slots > .content-layout-slot { width: 100%; }
  .content-layout .content-builder-feature-grid { grid-template-columns: 1fr; }
  .content-builder-spec-item { grid-template-columns: 1fr; gap: .15rem; }
  .content-builder-spec-item dd { white-space: normal; }
}
@media (max-width: 520px) {
  .content-layout { gap: 1rem; }
  .content-layout-section.surface-card > .content-layout-row,
  .content-layout-section.surface-subtle > .content-layout-row,
  .content-layout-section.surface-contrast > .content-layout-row,
  .content-layout-section.spacing-roomy > .content-layout-row { padding: 1.15rem; }
  .content-layout-section.surface-card > .content-layout-flow,
  .content-layout-section.surface-subtle > .content-layout-flow,
  .content-layout-section.surface-contrast > .content-layout-flow,
  .content-layout-section.spacing-roomy > .content-layout-flow { padding: 1.15rem; }
  .content-layout-column.surface-card,
  .content-layout-column.surface-subtle,
  .content-layout-column.surface-contrast { padding: 1.1rem; }
  .content-layout-node.surface-card,
  .content-layout-node.surface-subtle,
  .content-layout-node.surface-contrast,
  .content-layout-slot.surface-card,
  .content-layout-slot.surface-subtle,
  .content-layout-slot.surface-contrast { padding: 1.1rem; }
  .content-layout-node.type-hero { min-height: min(var(--content-hero-height), 520px); }
  .content-layout-node.type-hero > .content-layout-slots { padding: 1.5rem; }
  .content-layout-node.type-grid.grid-2 > .content-layout-slots,
  .content-layout-node.type-grid.grid-3 > .content-layout-slots,
  .content-layout-node.type-grid.grid-4 > .content-layout-slots { grid-template-columns: 1fr; }
  .content-builder-spec-list > div { grid-template-columns: 1fr; gap: .15rem; }
  .content-builder-spec-list dd, .content-builder-spec-value { white-space: normal; }
}
.content-builder-video { display: grid; gap: .65rem; margin: 0; }
.content-builder-video video { width: 100%; max-height: 42rem; border-radius: var(--radius); background: #000; }
.content-builder-video figcaption { color: var(--muted); }
.content-builder-document { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.content-builder-document > i { color: var(--accent); font-size: 2rem; }
.content-builder-document h3, .content-builder-document p { margin: 0; }
.content-builder-document p { margin-top: .25rem; color: var(--muted); }
@media (max-width: 600px) { .content-builder-document { grid-template-columns: auto 1fr; } .content-builder-document .button { grid-column: 1 / -1; width: 100%; } }
