/*
Theme Name: sea-mobile V2
Theme URI: https://seamobile.store/
Author: sea-mobile
Description: A light, product-led, chat-first pre-owned iPhone storefront.
Version: 2.2.0
Text Domain: sea-mobile
*/

:root {
  --ink: #1d1d1f;
  --ink-soft: #333336;
  --paper: #f5f5f7;
  --white: #fff;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .11);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --container: 1360px;
  --header-h: 68px;
  --radius: 26px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #b8dcff; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.site-shell { min-height: 100vh; overflow: clip; }
.container { margin: 0 auto; max-width: var(--container); padding-inline: 34px; width: 100%; }
.section { padding-block: clamp(78px, 8vw, 120px); }
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow--dark { color: var(--muted); }

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 520;
  gap: 10px;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 0 23px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: none; }
.button--blue { background: var(--blue); color: var(--white); }
.button--blue:hover { background: var(--blue-hover); }
.button--outline-blue { border-color: var(--blue); color: var(--blue); }
.button--outline-blue:hover { background: var(--blue); color: var(--white); }
.button--light { background: var(--white); color: var(--ink); }
.button--dark, .button--header { background: var(--ink); color: var(--white); }
.button--dark:hover, .button--header:hover { background: #3a3a3d; }
.button--header { font-size: 13px; min-height: 40px; padding-inline: 20px; }
.sea-mobile-theme a.button--blue { background: var(--blue); color: var(--white); }
.sea-mobile-theme button.button--blue { background: var(--blue) !important; color: var(--white) !important; }
.sea-mobile-theme a.button--outline-blue { background: transparent; border-color: var(--blue); color: var(--blue); }
.sea-mobile-theme a.button--dark,
.sea-mobile-theme a.button--header { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  color: var(--ink);
  height: var(--header-h);
  position: relative;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(20px);
}
.header-inner { align-items: center; display: flex; height: 100%; justify-content: space-between; }
.brand { align-items: center; display: inline-flex; gap: 10px; }
.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 9px;
  display: inline-flex;
  height: 33px;
  justify-content: center;
  position: relative;
  width: 33px;
}
.brand-mark::before {
  border: 2px solid var(--white);
  border-radius: 50%;
  content: "";
  height: 13px;
  width: 13px;
}
.brand-mark span { background: #ff5a4f; border-radius: 50%; height: 5px; position: absolute; right: 5px; top: 5px; width: 5px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.primary-nav { align-items: center; display: flex; gap: 34px; left: 50%; position: absolute; transform: translateX(-50%); }
.primary-nav a { font-size: 13px; font-weight: 550; }
.primary-nav a:hover { color: var(--blue); }
.header-actions { align-items: center; display: flex; }
.header-actions { gap: 10px; }
.inquiry-header-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 560;
  gap: 8px;
  min-height: 40px;
  padding: 0 8px 0 13px;
}
.inquiry-header-button:hover { background: var(--paper); }
.inquiry-count {
  align-items: center;
  background: #dedee2;
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 10px;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding-inline: 4px;
}
.inquiry-count.has-items { background: var(--blue); color: var(--white); }
.menu-toggle { background: none; border: 0; display: none; height: 44px; padding: 0; position: relative; width: 44px; }
.menu-toggle > span:not(.screen-reader-text) { background: currentColor; height: 1px; left: 10px; position: absolute; transition: transform .25s ease, top .25s ease; width: 24px; }
.menu-toggle > span:first-child { top: 17px; }
.menu-toggle > span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] > span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  display: none;
  inset: var(--header-h) 0 0;
  padding: 40px 22px;
  position: fixed;
  z-index: 35;
}
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { border-bottom: 1px solid var(--line); font-size: 28px; font-weight: 600; letter-spacing: -.04em; padding-block: 18px; }

/* Homepage: one immersive video scene followed directly by real products. */
@media (min-width: 761px) {
  body.home { --header-h: 58px; }
}
.home .site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
  border-bottom: 0;
  color: var(--white);
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.home .site-header .brand-mark { background: rgba(255, 255, 255, .96); }
.home .site-header .brand-mark::before { border-color: var(--ink); }
.home .site-header .brand-name,
.home .primary-nav a,
.home .inquiry-header-button,
.home .menu-toggle { color: var(--white); }
.home .primary-nav a:hover { color: rgba(255, 255, 255, .72); }
.home .inquiry-header-button:hover { background: rgba(255, 255, 255, .12); }
.home .button--header,
.home.sea-mobile-theme a.button--header { background: rgba(255, 255, 255, .96); color: var(--ink); }

.home-hero {
  align-items: flex-end;
  background: #000;
  color: var(--white);
  display: flex;
  min-height: calc(100svh - 74px);
  overflow: hidden;
  position: relative;
}
.home-hero-media,
.home-hero-frame { height: 100%; inset: 0; position: absolute; width: 100%; }
.home-hero-frame {
  background-color: #000;
  background-image: url("assets/hero-video/SEA-MOBILE-hero-balanced-v2-desktop-poster.jpg");
  background-image: image-set(
    url("assets/hero-video/SEA-MOBILE-hero-balanced-v2-desktop-poster.webp") type("image/webp"),
    url("assets/hero-video/SEA-MOBILE-hero-balanced-v2-desktop-poster.jpg") type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-hero-media video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  position: absolute;
  transition: opacity .24s ease;
  width: 100%;
}
.home-hero-media.is-video-ready video { opacity: 1; }
.home-hero-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .06) 58%, rgba(0, 0, 0, .72) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}
.home-hero-content { padding-bottom: clamp(42px, 6vh, 62px); position: relative; z-index: 2; }
.home-hero-content h1 {
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: -.062em;
  line-height: .94;
  margin: 0;
  max-width: 760px;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-hero-actions .button { min-height: 44px; }
.button--hero-secondary {
  background: rgba(0, 0, 0, .16);
  border-color: rgba(255, 255, 255, .72);
  color: var(--white);
  backdrop-filter: blur(12px);
}
.button--hero-secondary:hover { background: rgba(255, 255, 255, .14); }

.home-products { background: var(--white); padding: 56px 0 112px; scroll-margin-top: 0; }
.home-products-heading { align-items: baseline; display: flex; justify-content: space-between; margin-bottom: 28px; }
.home-products-heading h2 { font-size: clamp(48px, 5.2vw, 72px); font-weight: 600; letter-spacing: -.06em; line-height: .95; margin: 0; }
.home-products-heading span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.home-filter-row {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
  position: sticky;
  top: 0;
  z-index: 24;
  backdrop-filter: saturate(180%) blur(18px);
}
.home-filter-row .filter-button { border: 0; min-height: 48px; padding-inline: 21px; }
.home-filter-row .filter-button:first-child { border-left: 0; }
.home-product-grid { column-gap: 24px; row-gap: 52px; }
.home-product-card.product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
}
.home-product-card.product-card:hover { box-shadow: none; transform: none; }
.home-product-card .model-media { aspect-ratio: 1 / .92; border-radius: 22px; padding: 22px 12px 5px; }
.home-product-card .model-media img { transition: transform .35s ease; }
.home-product-card:hover .model-media img { transform: scale(1.025); }
.home-product-card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 4px 0; }
.home-product-card-title { font-size: clamp(21px, 1.85vw, 28px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; min-height: 59px; }
.home-product-card-storage { color: var(--muted); font-size: 10.5px; line-height: 1.45; min-height: 31px; }
.home-product-card-swatches { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; min-height: 15px; }
.home-product-card-swatch { background: var(--swatch); border: 1px solid rgba(0, 0, 0, .14); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); display: inline-block; height: 13px; width: 13px; }
.home-product-card-price { font-size: 13px; font-weight: 650; letter-spacing: -.015em; margin-top: 15px; }

.home-final-chat { background: #111113; color: var(--white); padding-block: 72px; }
.home-final-chat-inner { align-items: center; display: flex; justify-content: space-between; }
.home-final-chat h2 { font-size: clamp(38px, 4.7vw, 66px); font-weight: 600; letter-spacing: -.055em; line-height: .96; margin: 0; }

/* Product-led generation rail */
.showroom-section { background: var(--white); padding: clamp(86px, 8vw, 118px) 0 clamp(92px, 8vw, 128px); }
.showroom-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 48px; }
.showroom-heading h2 {
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}
.text-link { color: var(--blue); display: inline-flex; font-size: 15px; gap: 7px; padding-bottom: 5px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.generation-rail {
  display: grid;
  gap: 20px;
  grid-auto-columns: minmax(310px, 23vw);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 0 max(34px, calc((100vw - var(--container)) / 2 + 34px)) 18px;
  scroll-padding-inline: max(34px, calc((100vw - var(--container)) / 2 + 34px));
  scroll-snap-type: x proximity;
  scrollbar-color: #c9c9ce transparent;
  scrollbar-width: thin;
}
.generation-card { display: grid; gap: 22px; scroll-snap-align: start; }
.generation-visual {
  align-items: center;
  aspect-ratio: 1 / .93;
  background: var(--paper);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 22px 15px 6px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.generation-card:hover .generation-visual { box-shadow: 0 18px 50px rgba(0, 0, 0, .08); transform: translateY(-3px); }
.generation-visual img { height: 100%; object-fit: contain; width: 100%; }
.generation-copy { display: grid; gap: 5px; padding-inline: 8px; }
.generation-copy strong { font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.generation-copy span { color: var(--muted); font-size: 12px; }

/* Minimal how it works */
.how-strip { background: var(--paper); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding-block: 30px; }
.how-strip-inner { align-items: center; display: grid; gap: 60px; grid-template-columns: auto 1fr; }
.how-title { font-size: 22px; font-weight: 600; letter-spacing: -.035em; margin: 0; white-space: nowrap; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.how-steps li { align-items: center; border-left: 1px solid var(--line); display: flex; gap: 14px; min-height: 54px; padding-inline: 28px; }
.how-steps span { align-items: center; border: 1px solid #bbbcc1; border-radius: 50%; color: var(--muted); display: inline-flex; flex: 0 0 auto; font-size: 11px; height: 28px; justify-content: center; width: 28px; }
.how-steps strong { font-size: 14px; font-weight: 540; }

/* Chat callout */
.chat-section { background: var(--white); padding-block: clamp(76px, 8vw, 118px); }
.chat-stage {
  background: var(--paper);
  border-radius: 32px;
  min-height: 390px;
  padding: clamp(56px, 7vw, 90px);
  text-align: center;
}
.chat-stage h2 {
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .98;
  margin: 0;
}
.chat-stage > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 22px auto 28px; max-width: 590px; }

/* Shared headings */
.section-heading { align-items: end; display: grid; gap: 50px; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(42px, 4.5vw, 64px); font-weight: 600; letter-spacing: -.055em; line-height: .98; margin: 0; }
.section-heading--compact { align-items: center; }

/* Product cards */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 22px;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product-card:hover { box-shadow: 0 18px 50px rgba(0, 0, 0, .08); transform: translateY(-3px); }
.product-card-media-link { display: block; }
.model-media {
  aspect-ratio: 1 / .92;
  background: var(--paper);
  overflow: hidden;
  padding: 20px 12px 4px;
  position: relative;
}
.model-media img { height: 100%; object-fit: contain; width: 100%; }
.model-media-empty { height: 100%; isolation: isolate; overflow: hidden; padding: 22px; position: relative; }
.model-media-empty::before { background: linear-gradient(145deg, #e9e9ec, #f9f9fa); content: ""; inset: 0; position: absolute; z-index: -1; }
.model-media-generation { bottom: 10px; color: rgba(0, 0, 0, .12); font-size: 96px; font-weight: 650; left: 14px; letter-spacing: -.1em; line-height: .8; position: absolute; }
.model-media-name { font-size: 12px; font-weight: 600; left: 20px; position: absolute; top: 18px; }
.model-media-status { bottom: 18px; font-size: 8px; letter-spacing: .08em; position: absolute; right: 18px; text-transform: uppercase; }
.model-media-year { font-size: 9px; position: absolute; right: 18px; top: 18px; }
.product-card-body { padding: 20px 21px 19px; }
.product-card-kicker { color: var(--muted); display: flex; font-size: 9px; justify-content: space-between; letter-spacing: .07em; text-transform: uppercase; }
.product-card h3 { font-size: clamp(23px, 2vw, 30px); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; margin: 17px 0 10px; }
.product-card-price { font-size: 13px; font-weight: 650; margin: 0; }
.product-card-capacity { color: var(--muted); font-size: 11px; line-height: 1.4; margin: 7px 0 0; min-height: 31px; }
.card-arrow { align-items: center; border-top: 1px solid var(--line); color: var(--blue); display: flex; font-size: 11px; justify-content: space-between; margin-top: 18px; padding-top: 13px; }

/* Catalog */
.catalog-hero { background: var(--paper); padding: clamp(80px, 8vw, 120px) 0 56px; }
.catalog-hero h1 { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -.065em; line-height: .92; margin: 22px 0 48px; }
.catalog-intro { align-items: end; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 22px; }
.catalog-intro p { color: var(--muted); font-size: 16px; margin: 0; max-width: 620px; }
.catalog-intro span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.catalog-toolbar { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 25; backdrop-filter: saturate(180%) blur(18px); }
.filter-row { display: flex; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-button { background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer; flex: 0 0 auto; font-size: 11px; font-weight: 560; min-height: 54px; padding: 0 19px; }
.filter-button:first-child { border-left: 1px solid var(--line); }
.filter-button.is-active { background: var(--ink); color: var(--white); }
.catalog-grid-wrap { background: var(--white); padding-block: 50px 110px; }
.catalog-note { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 40px; justify-content: space-between; margin-bottom: 32px; padding-bottom: 22px; }
.catalog-note span { font-size: 9px; letter-spacing: .1em; }
.catalog-note p { color: var(--muted); font-size: 12px; margin: 0; max-width: 700px; }
.product-card.is-hidden { display: none; }
.filter-empty { display: none; grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.filter-empty.is-visible { display: block; }
.catalog-chat { background: var(--paper); padding-block: 68px; }
.catalog-chat-inner { align-items: center; display: flex; justify-content: space-between; }
.catalog-chat h2 { font-size: clamp(40px, 5vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: .96; margin: 0; }

/* Product detail */
.single-product-main { background: var(--white); padding: 32px 0 clamp(80px, 8vw, 120px); }
.breadcrumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 10px; gap: 10px; margin-bottom: 30px; }
.breadcrumbs strong { color: var(--ink); }
.single-product-grid { align-items: start; display: grid; gap: clamp(50px, 7vw, 105px); grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.model-media--single { aspect-ratio: 1 / .94; border-radius: 26px; padding: 36px 22px 10px; }
.model-media--single img { object-fit: contain; }
.model-media--single .model-media-generation { font-size: clamp(150px, 17vw, 260px); }
.media-trust-note { color: var(--muted); font-size: 10px; margin: 13px 0 0; }
.single-product-summary { padding-top: clamp(18px, 4vw, 58px); }
.single-product-summary h1 { font-size: clamp(54px, 6.5vw, 88px); font-weight: 600; letter-spacing: -.065em; line-height: .9; margin: 0; }
.product-subline { color: var(--muted); font-size: 16px; margin: 24px 0 0; max-width: 500px; }
.price-panel { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 8px; margin-top: 38px; padding: 23px 0; }
.price-panel span { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.price-panel strong { font-size: clamp(25px, 3vw, 37px); letter-spacing: -.04em; }
.price-panel small { color: var(--muted); font-size: 11px; }
.spec-list { border-bottom: 1px solid var(--line); }
.spec-list > div { display: grid; gap: 20px; grid-template-columns: 100px 1fr; padding: 17px 0; }
.spec-list > div + div { border-top: 1px solid var(--line); }
.spec-list span { color: var(--muted); font-size: 11px; }
.spec-list strong { font-size: 12px; font-weight: 560; }
.single-chat-panel { margin-top: 30px; }
.single-chat-panel .button { width: 100%; }
.single-chat-panel p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 15px 0 0; }
.related-products { background: var(--paper); padding-block: clamp(75px, 7vw, 110px); }

/* Shared product configurator. Visual pattern remains the HR1-approved PDP. */
.single-product-main--configurator { background: var(--white); padding-top: 24px; }
.configurator-grid {
  align-items: start;
  display: grid;
  gap: clamp(52px, 6vw, 92px);
  grid-template-columns: minmax(0, 1.14fr) minmax(400px, .86fr);
}
.configurator-gallery { min-width: 0; }
.pdp-gallery-stage {
  background: var(--paper);
  border-radius: 30px;
  overflow: hidden;
  position: sticky;
  top: 22px;
}
.pdp-gallery-group { min-width: 0; }
.pdp-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.pdp-gallery-track::-webkit-scrollbar { display: none; }
.pdp-gallery-slide {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  margin: 0;
  min-height: min(690px, calc(100svh - 118px));
  overflow: hidden;
  padding: 46px 38px 40px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.pdp-gallery-slide img { max-height: min(590px, calc(100svh - 200px)); object-fit: contain; width: min(88%, 620px); }
.pdp-gallery-fallback {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 250px;
  text-align: center;
}
.pdp-gallery-slide:nth-child(2) img,
.pdp-gallery-slide:nth-child(3) img { width: min(96%, 720px); }
.pdp-gallery-slide figcaption {
  bottom: 20px;
  color: #8a8a90;
  font-size: 9px;
  letter-spacing: .08em;
  position: absolute;
  text-transform: uppercase;
}
.gallery-nav {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 0;
  border-radius: 50%;
  bottom: 24px;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  height: 42px;
  justify-content: center;
  position: absolute;
  width: 42px;
  z-index: 3;
  backdrop-filter: blur(12px);
}
.gallery-nav:disabled { opacity: .35; }
.gallery-nav--prev { right: 76px; }
.gallery-nav--next { right: 24px; }
.gallery-dots {
  bottom: 32px;
  display: flex;
  gap: 8px;
  left: 24px;
  position: absolute;
  z-index: 3;
}
.gallery-dot { background: #b9b9bf; border: 0; border-radius: 50%; cursor: pointer; height: 7px; padding: 0; width: 7px; }
.gallery-dot.is-active { background: var(--ink); }
.configurator-gallery .media-trust-note { margin-left: 4px; }
.configurator-summary { padding: 22px 0 40px; }
.configurator-summary h1 {
  font-size: clamp(52px, 5.5vw, 76px);
  font-weight: 600;
  letter-spacing: -.062em;
  line-height: .92;
  margin: 0;
}
.configurator-summary .product-subline { font-size: 15px; margin-top: 20px; }
.price-panel--compact { margin-top: 30px; padding-block: 21px; }
.price-panel--compact strong { font-size: clamp(28px, 3vw, 38px); }
.configuration-form { display: grid; gap: 27px; margin-top: 28px; }
.configuration-group { border: 0; margin: 0; padding: 0; }
.configuration-group legend,
.quantity-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 13px; width: 100%; }
.configuration-group legend strong { color: var(--muted); float: right; font-size: 13px; font-weight: 500; }
.color-options { display: grid; gap: 9px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.color-option {
  align-items: center;
  background: var(--white);
  border: 1px solid #cfcfd4;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  gap: 8px;
  justify-content: center;
  min-height: 76px;
  padding: 10px 6px;
}
.color-option.is-selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.sea-mobile-theme .color-option.is-selected { border-color: var(--blue) !important; box-shadow: inset 0 0 0 1px var(--blue); }
.color-swatch {
  background: var(--swatch);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b9b9be;
  height: 25px;
  width: 25px;
}
.storage-options { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.storage-option {
  background: var(--white);
  border: 1px solid #cfcfd4;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 560;
  min-height: 54px;
}
.storage-option.is-selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.sea-mobile-theme .storage-option.is-selected { border-color: var(--blue) !important; box-shadow: inset 0 0 0 1px var(--blue); }
.quantity-group { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-block: 15px; }
.quantity-group .quantity-label { margin: 0; width: auto; }
.quantity-stepper { align-items: center; background: var(--paper); border-radius: 999px; display: flex; height: 40px; }
.quantity-stepper button { background: transparent; border: 0; cursor: pointer; font-size: 19px; height: 40px; width: 42px; }
.quantity-stepper output { font-size: 13px; font-weight: 650; text-align: center; width: 25px; }
.add-inquiry-button,
.pdp-chat-button { min-height: 52px; width: 100%; }
.configuration-form .pdp-chat-button { margin-top: -18px; }
.configuration-note { color: var(--muted); font-size: 10px; line-height: 1.55; margin: -12px 0 0; }
.mobile-pdp-actionbar { display: none; }

/* Inquiry cart */
body.inquiry-open { overflow: hidden; }
.inquiry-backdrop {
  background: rgba(0, 0, 0, .28);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity .25s ease;
  z-index: 89;
}
.inquiry-backdrop.is-open { opacity: 1; }
.inquiry-drawer {
  background: var(--white);
  bottom: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 460px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(101%);
  transition: transform .32s cubic-bezier(.25, .75, .25, 1);
  width: 100%;
  z-index: 90;
}
.inquiry-drawer.is-open { transform: translateX(0); }
.inquiry-drawer-header { align-items: start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 30px 28px 23px; }
.inquiry-drawer-header .eyebrow { margin-bottom: 8px; }
.inquiry-drawer-header h2 { font-size: 34px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 0; }
.inquiry-close { background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; font-size: 25px; height: 40px; line-height: 1; width: 40px; }
.inquiry-drawer-body { overflow-y: auto; padding: 0 28px; }
.inquiry-empty { color: var(--muted); padding: 70px 0; text-align: center; }
.inquiry-empty p { color: var(--ink); font-size: 19px; font-weight: 600; margin: 0 0 7px; }
.inquiry-empty span { font-size: 12px; }
.inquiry-items { display: grid; }
.inquiry-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 82px minmax(0, 1fr); padding-block: 21px; }
.inquiry-item img { background: var(--paper); border-radius: 13px; height: 96px; object-fit: contain; padding: 7px; width: 82px; }
.inquiry-item-content h3 { font-size: 17px; font-weight: 600; letter-spacing: -.03em; margin: 0 0 5px; }
.inquiry-item-content p { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.inquiry-item-content span { font-size: 10px; font-weight: 600; }
.inquiry-item-controls { align-items: center; display: flex; gap: 5px; grid-column: 2; }
.inquiry-item-controls button:not(.inquiry-item-remove) { background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; height: 28px; width: 28px; }
.inquiry-item-controls strong { font-size: 12px; min-width: 24px; text-align: center; }
.inquiry-item-remove { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 10px; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.inquiry-drawer-footer { border-top: 1px solid var(--line); padding: 20px 28px 24px; }
.inquiry-total { display: flex; font-size: 12px; justify-content: space-between; margin-bottom: 16px; }
.inquiry-total strong { font-size: 14px; }
.inquiry-chat-button { min-height: 50px; width: 100%; }
.inquiry-chat-button:disabled { background: #d6d6da; cursor: not-allowed; }
.inquiry-drawer-footer p { color: var(--muted); font-size: 9px; line-height: 1.45; margin: 13px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--ink); padding: 54px 0 25px; }
.footer-top { align-items: end; display: flex; justify-content: space-between; }
.footer-top p { color: var(--muted); font-size: 12px; margin: 0; text-align: right; }
.footer-links { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; gap: 32px; margin-top: 40px; padding-block: 22px; }
.footer-links a { font-size: 12px; font-weight: 550; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { color: #86868b; display: flex; font-size: 8px; justify-content: space-between; letter-spacing: .07em; padding-top: 20px; text-transform: uppercase; }

/* Motion */
.reveal { opacity: 1; transform: none; }
.hero-copy.reveal { animation: seaHeroIn .65s ease both; }
.hero-media.reveal { animation: seaHeroIn .8s .08s ease both; }
@keyframes seaHeroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy.reveal, .hero-media.reveal { animation: none; }
  .hero-media video, .home-hero-media video { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .container { padding-inline: 26px; }
  .primary-nav { gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .generation-rail { grid-auto-columns: minmax(300px, 38vw); padding-inline: 26px; scroll-padding-inline: 26px; }
  .how-strip-inner { gap: 30px; }
  .how-steps li { padding-inline: 18px; }
  .single-product-grid { gap: 42px; }
}

/* 390px / 430px */
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .container { padding-inline: 18px; }
  .site-header { height: var(--header-h); }
  .header-inner { padding-inline: 18px; }
  .primary-nav, .header-actions .button { display: none; }
  .menu-toggle { display: block; }
  .brand { flex: 0 0 auto; white-space: nowrap; }
  .brand-mark { border-radius: 8px; height: 31px; width: 31px; }
  .brand-name { font-size: 15px; }

  .single-product .header-actions { gap: 4px; }
  .single-product .header-actions .button--header { display: none; }

  .home-hero { min-height: calc(100svh - 24px); }
  .home-hero-frame {
    background-image: url("assets/hero-video/SEA-MOBILE-hero-option-b-mobile-wide-poster.webp");
  }
  .home-hero-content { padding-bottom: 31px; }
  .home-hero-content h1 { font-size: clamp(40px, 11.2vw, 48px); line-height: .96; }
  .home-hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 17px; }
  .home-hero-actions .button { font-size: 12px; min-height: 41px; padding-inline: 15px; }

  /* Human-approved production Mobile Hero: wide Balanced V2 composition. */
  .home-hero.is-mobile-wide {
    --mobile-wide-height: 74.25vw;
    align-items: stretch;
    min-height: calc(100svh - 112px);
  }
  .home-hero.is-mobile-wide .home-hero-media {
    bottom: auto;
    height: var(--mobile-wide-height);
    top: var(--header-h);
  }
  .home-hero.is-mobile-wide .home-hero-frame {
    background-position: center;
    background-size: 132% auto;
  }
  .home-hero.is-mobile-wide .home-hero-media video {
    height: 100%;
    left: -16%;
    object-fit: contain;
    object-position: center;
    width: 132%;
  }
  .home-hero.is-mobile-wide .home-hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 17%, rgba(0, 0, 0, 0) 48%, #000 62%);
  }
  .home-hero.is-mobile-wide .home-hero-content {
    padding-bottom: 0;
    position: absolute;
    top: calc(var(--header-h) + var(--mobile-wide-height) + clamp(82px, 10svh, 96px));
  }

  .home-products { padding: 51px 0 76px; }
  .home-products-heading { margin-bottom: 23px; }
  .home-products-heading h2 { font-size: 40px; }
  .home-products-heading span { font-size: 9px; }
  .home-filter-row {
    margin-bottom: 27px;
    margin-inline: -18px;
    overscroll-behavior-inline: contain;
    padding-left: 18px;
    padding-right: 34px;
    scroll-padding-left: 18px;
    scroll-padding-right: 34px;
  }
  .home-filter-row .filter-button { min-height: 46px; padding-inline: 16px; }
  .home-product-grid { column-gap: 10px; row-gap: 34px; }
  .home-product-card .model-media { aspect-ratio: 1 / .94; border-radius: 15px; padding: 10px 4px 2px; }
  .home-product-card-body { padding: 12px 2px 0; }
  .home-product-card-title { font-size: clamp(17px, 4.8vw, 20px); line-height: 1.08; min-height: 43px; }
  .home-product-card-storage { font-size: 8.5px; line-height: 1.45; min-height: 37px; }
  .home-product-card-swatches { gap: 4px; margin-top: 9px; min-height: 12px; }
  .home-product-card-swatch { height: 10px; width: 10px; }
  .home-product-card-price { font-size: 10.5px; margin-top: 11px; }

  .home-final-chat { padding-block: 54px; }
  .home-final-chat-inner { align-items: stretch; flex-direction: column; gap: 27px; }
  .home-final-chat h2 { font-size: 39px; }
  .home-final-chat .button { width: 100%; }

  .hero--video-product { min-height: 0; padding-top: 24px; }
  .hero-kicker { font-size: 18px; margin-bottom: 5px; }
  .hero-copy h1 { font-size: clamp(36px, 9.5vw, 42px); line-height: 1; }
  .hero-actions { gap: 8px; margin-top: 17px; }
  .hero--video-product .hero-actions .button { font-size: 12px; min-height: 41px; padding-inline: 16px; }
  .hero-media { flex: none; margin-top: 21px; min-height: 0; }
  .hero-media-frame { aspect-ratio: 16 / 9; height: auto; min-height: 0; }

  .showroom-section { padding: 72px 0 76px; }
  .showroom-heading { align-items: start; flex-direction: column; gap: 21px; margin-bottom: 34px; }
  .showroom-heading h2 { font-size: 41px; }
  .generation-rail { gap: 13px; grid-auto-columns: 78vw; padding-inline: 18px; scroll-padding-inline: 18px; }
  .generation-card { gap: 16px; }
  .generation-visual { border-radius: 22px; padding: 16px 8px 4px; }
  .generation-copy strong { font-size: 22px; }
  .generation-copy span { font-size: 11px; }

  .how-strip { padding-block: 31px; }
  .how-strip-inner { align-items: start; gap: 22px; grid-template-columns: 1fr; }
  .how-title { font-size: 20px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li { border-left: 0; border-top: 1px solid var(--line); min-height: 50px; padding: 11px 0; }
  .how-steps strong { font-size: 13px; }

  .chat-section { padding-block: 58px; }
  .chat-stage { border-radius: 24px; min-height: 385px; padding: 58px 22px; }
  .chat-stage h2 { font-size: 47px; }
  .chat-stage > p:not(.eyebrow) { font-size: 14px; margin-block: 20px 26px; }
  .chat-stage .button { width: 100%; }

  .section-heading { align-items: start; gap: 20px; grid-template-columns: 1fr; margin-bottom: 34px; }
  .section-heading h2 { font-size: 40px; }
  .product-grid { gap: 9px; }
  .model-media { aspect-ratio: 1 / .92; padding: 9px 4px 1px; }
  .model-media-generation { font-size: 65px; }
  .model-media-name { font-size: 9px; left: 12px; top: 11px; }
  .model-media-status { bottom: 10px; font-size: 6px; right: 9px; }
  .model-media-year { font-size: 7px; right: 10px; top: 11px; }
  .product-card { border-radius: 15px; }
  .product-card-body { padding: 13px 12px 12px; }
  .product-card-kicker { font-size: 6.5px; }
  .product-card h3 { font-size: clamp(18px, 5.2vw, 23px); margin: 12px 0 8px; }
  .product-card-price { font-size: 9px; }
  .product-card-capacity { font-size: 8px; min-height: 23px; }
  .card-arrow { font-size: 8px; margin-top: 12px; padding-top: 9px; }

  .catalog-hero { padding: 70px 0 42px; }
  .catalog-hero h1 { font-size: 57px; margin: 20px 0 38px; }
  .catalog-intro { align-items: start; flex-direction: column; gap: 18px; }
  .catalog-intro p { font-size: 14px; }
  .filter-button { min-height: 50px; padding-inline: 15px; }
  .catalog-grid-wrap { padding-block: 32px 70px; }
  .catalog-note { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .catalog-chat { padding-block: 50px; }
  .catalog-chat-inner { align-items: start; flex-direction: column; gap: 27px; }
  .catalog-chat h2 { font-size: 43px; }

  .single-product-main { padding-top: 20px; }
  .breadcrumbs { margin-bottom: 20px; }
  .single-product-grid { gap: 31px; grid-template-columns: 1fr; }
  .model-media--single { aspect-ratio: 1 / .9; border-radius: 20px; padding: 18px 8px 4px; }
  .model-media--single .model-media-generation { font-size: 38vw; }
  .single-product-summary { padding-top: 0; }
  .single-product-summary h1 { font-size: 58px; }
  .product-subline { font-size: 14px; }
  .price-panel { margin-top: 28px; }

  .site-footer { padding-top: 44px; }
  .footer-top { align-items: start; flex-direction: column; gap: 24px; }
  .footer-top p { text-align: left; }
  .footer-links { align-items: start; flex-direction: column; gap: 14px; margin-top: 30px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 8px; line-height: 1.45; }
}

@media (max-width: 380px) {
  .hero-actions { align-items: center; flex-direction: column; }
  .hero-actions .button { width: 210px; }
}

@media (max-width: 760px) {
  .inquiry-header-button { font-size: 11px; min-height: 38px; padding-left: 9px; }
  .inquiry-count { height: 22px; min-width: 22px; }

  .single-product-main--configurator { padding: 15px 0 42px; }
  .single-product-main--configurator .breadcrumbs { margin-bottom: 16px; }
  .configurator-grid { gap: 29px; grid-template-columns: 1fr; }
  .pdp-gallery-stage { border-radius: 21px; position: relative; top: auto; }
  .pdp-gallery-slide { min-height: 420px; padding: 26px 14px 36px; }
  .pdp-gallery-slide img { max-height: 352px; width: 90%; }
  .pdp-gallery-slide:nth-child(2) img,
  .pdp-gallery-slide:nth-child(3) img { width: 100%; }
  .pdp-gallery-slide figcaption { bottom: 13px; font-size: 7px; }
  .gallery-nav { bottom: 14px; height: 34px; width: 34px; }
  .gallery-nav--prev { right: 56px; }
  .gallery-nav--next { right: 14px; }
  .gallery-dots { bottom: 27px; left: 15px; }
  .gallery-dot { height: 6px; width: 6px; }
  .configurator-gallery .media-trust-note { font-size: 8px; margin: 9px 2px 0; }
  .configurator-summary { padding: 0; }
  .configurator-summary h1 { font-size: 51px; }
  .configurator-summary .product-subline { font-size: 13px; margin-top: 16px; }
  .price-panel--compact { margin-top: 25px; }
  .configuration-form { gap: 24px; margin-top: 24px; }
  .color-options { gap: 7px; }
  .color-option { font-size: 8px; min-height: 69px; }
  .storage-option { min-height: 50px; }
  .configuration-note { padding-bottom: 5px; }
  .inquiry-drawer {
    border-radius: 24px 24px 0 0;
    height: min(84svh, 720px);
    max-width: none;
    top: auto;
    transform: translateY(101%);
  }
  .inquiry-drawer.is-open { transform: translateY(0); }
  .inquiry-drawer-header { padding: 22px 20px 18px; }
  .inquiry-drawer-header h2 { font-size: 30px; }
  .inquiry-close { height: 36px; width: 36px; }
  .inquiry-drawer-body { padding-inline: 20px; }
  .inquiry-drawer-footer { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); }
}
