/* TechLine local commerce style: clean device retail, consistent tokens, no decorative gradients. */
@font-face {
  font-family: "Stalinist One";
  src: url("fonts/stalinist-one.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f8fb;
  --product-bg: #eef3f8;
  --tile: #e5edf5;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #657085;
  --soft: #d5dde8;
  --line: #e0e7f0;
  --accent: #0c7c8c;
  --accent-strong: #075f6e;
  --accent-soft: #dff6f8;
  --success: #08784f;
  --warning: #9a6400;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-xl: 16px;
  --shadow-soft: 0 18px 42px rgba(23, 32, 51, 0.08);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --display-font: "Stalinist One", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.topbar {
  background: var(--surface);
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.topbar__inner, .site-header__inner, .container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.site-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 400;
}
.dot-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-xl);
  background: var(--product-bg);
  position: relative;
  flex: 0 0 auto;
}
.dot-logo::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
  left: 11px;
  top: 10px;
  box-shadow:
    10px 0 var(--ink), 20px 0 var(--ink),
    20px 10px var(--ink),
    20px 20px var(--ink),
    20px 30px var(--ink),
    0 38px var(--ink), 10px 38px var(--ink), 20px 38px var(--ink),
    32px 0 var(--ink),
    32px 10px var(--ink),
    32px 20px var(--ink),
    32px 30px var(--ink),
    42px 38px var(--ink);
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.main-nav a,
.footer-links a {
  transition: opacity 0.28s var(--ease-smooth), color 0.28s var(--ease-smooth);
}
.main-nav a:hover,
.footer-links a:hover {
  opacity: 0.55;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.search {
  width: min(320px, 28vw);
  border: 0;
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  background: var(--product-bg);
  color: var(--ink);
  outline: none;
  transition: background 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}
.search:focus,
.filters select:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  background: var(--product-bg);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  transition: background 0.28s var(--ease-smooth), transform 0.28s var(--ease-smooth);
}
.cart-link:hover {
  background: var(--tile);
  transform: translateY(-1px);
}
.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.hero {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-2) auto 0;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  min-height: 560px;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
}
.hero > div:first-child {
  background: var(--product-bg);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}
.hero h1, .page-title h1, .product-info h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.8vw, 74px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hero p, .lead {
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  line-height: 1.45;
  max-width: 620px;
}
.hero-actions, .button-row, .product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
}
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  padding: var(--space-4);
}
.hero-phone {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.hero-phone:first-child { transform: none; }
.hero-phone + .hero-phone { display: none; }
.hero-phone img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-6) auto;
}
.section-head, .catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.section-head h2, .two-columns h2, .catalog-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.section-head a {
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.muted { color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: none;
  transition: transform 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.product-card:hover {
  border-color: rgba(12, 124, 140, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.product-image-link {
  display: grid;
  place-items: center;
  background: var(--tile);
  min-height: 310px;
  padding: var(--space-3);
  border-radius: var(--radius-xl);
}
.product-image-link img {
  height: 245px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card__body {
  padding: var(--space-2);
  display: grid;
  gap: 8px;
  flex: 1;
}
.product-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.35;
  font-size: 14px;
}
.card-row, .price-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-1);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.price-row strong {
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 400;
}
.price-row s {
  color: var(--muted);
}
.price-row--large {
  justify-content: flex-start;
}
.price-row--large strong {
  font-family: var(--display-font);
  font-size: 42px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  min-height: 46px;
  transition: transform 0.28s var(--ease-smooth), background 0.28s var(--ease-smooth), color 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #303030; }
.btn-ghost {
  background: var(--product-bg);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--tile); }
.btn-large {
  min-height: 54px;
  padding-inline: var(--space-3);
}

.category-grid, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.category-card, .benefit, .doc-card, .review, .checkout-card, .summary-card, .flow-card {
  background: var(--product-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: var(--space-3);
  box-shadow: none;
}
.category-card strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: var(--space-1);
}
.benefit span {
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.page-title {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-4) auto var(--space-3);
}
.page-title p {
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  max-width: 780px;
}
.catalog-layout {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto var(--space-8);
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: var(--space-2);
  background: var(--product-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
}
.filters label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.filters select, .field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  padding: 13px 14px;
  background: #fff;
  outline: none;
  transition: background 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}

.product-local-nav {
  position: sticky;
  top: 78px;
  z-index: 18;
  width: 100%;
  min-height: 56px;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
}
.product-local-nav strong {
  font-size: 17px;
  font-weight: 650;
}
.product-local-nav div {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
}
.product-local-nav a {
  transition: color 0.28s var(--ease-smooth), opacity 0.28s var(--ease-smooth);
}
.product-local-nav a:hover {
  color: var(--ink);
}

.product-layout {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-3) auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  align-items: stretch;
  min-height: 690px;
}
.product-gallery, .product-info {
  background: var(--product-bg);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  padding: var(--space-4);
  box-shadow: none;
  min-width: 0;
}
.product-info {
  background: #fff;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gallery-main {
  min-height: 560px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: var(--radius-xl);
}
.gallery-main img {
  max-height: 530px;
  object-fit: contain;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.gallery-thumbs button {
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7);
  padding: 8px;
  cursor: pointer;
  transition: background 0.28s var(--ease-smooth), transform 0.28s var(--ease-smooth);
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  background: #fff;
  transform: translateY(-1px);
}
.gallery-thumbs img {
  height: 88px;
  width: 100%;
  object-fit: contain;
}
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  margin-top: var(--space-2);
}
.info-strip span {
  border-radius: var(--radius-md);
  padding: var(--space-1);
  color: var(--muted);
  background: var(--product-bg);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.two-columns > div {
  background: var(--product-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
}
.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.check-list li::before {
  content: "•";
  color: var(--ink);
  margin-right: 8px;
}
.spec-list {
  display: grid;
  gap: 0;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-2);
  border-bottom: 1px solid var(--soft);
  padding: 10px 0;
}
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }

.cart-layout {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-3) auto var(--space-8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: var(--space-2);
  align-items: start;
}
.checkout-main {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}
.checkout-progress {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto var(--space-3);
}
.checkout-progress ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}
.checkout-progress li {
  min-width: 0;
  border-radius: var(--radius-xl);
  background: var(--product-bg);
  color: var(--muted);
  padding: 12px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  transition: background 0.28s var(--ease-smooth), color 0.28s var(--ease-smooth);
}
.checkout-progress li.is-active,
.checkout-progress li.is-complete {
  background: var(--ink);
  color: #fff;
}
.checkout-progress span {
  display: block;
  margin-bottom: 4px;
  opacity: 0.65;
}
.cart-items {
  display: grid;
  gap: var(--space-2);
}
.cart-line {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: var(--space-2);
  align-items: center;
  background: var(--product-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-1);
}
.cart-line img {
  height: 96px;
  width: 96px;
  object-fit: contain;
}
.cart-line h3, .cart-line p { margin: 0 0 6px; }
.qty {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #fff;
  cursor: pointer;
}
.qty span {
  width: 38px;
  text-align: center;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.summary-card {
  position: sticky;
  top: 94px;
}
.summary-card h2, .doc-card h2, .benefit h3, .review strong, .flow-card h2, .order-success h2 {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.checkout-form {
  display: grid;
  gap: var(--space-2);
}
.flow-card {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}
.flow-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}
.flow-card__head h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
}
.flow-card__head p {
  margin: 6px 0 0;
}
.step-index {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1);
}
.option-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.option-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  border-radius: var(--radius-xl);
  background: #fff;
  padding: var(--space-2);
  cursor: pointer;
  transition: background 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), transform 0.28s var(--ease-smooth);
}
.option-card:hover {
  transform: translateY(-1px);
}
.option-card.is-selected {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.option-card input {
  position: absolute;
  inset: 14px 14px auto auto;
  accent-color: var(--ink);
}
.option-card strong {
  padding-right: var(--space-3);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}
.option-card span {
  color: var(--muted);
  font-size: 14px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1);
}
.field-grid--compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}
.summary-list {
  display: grid;
  gap: 10px;
  margin: var(--space-2) 0;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.summary-list div,
.review-grid div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-1);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 10px;
}
.summary-list dt,
.review-grid span {
  color: var(--muted);
}
.summary-list dd {
  margin: 0;
  text-align: right;
}
.review-grid {
  display: grid;
  gap: 10px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.review-grid strong {
  text-align: right;
}
.order-success {
  background: var(--ink);
  color: #fff;
}
.order-success .muted {
  color: rgba(255, 255, 255, 0.68);
}
.order-success .step-index,
.order-success .btn-ghost {
  background: #fff;
  color: var(--ink);
}
.empty-state {
  background: var(--product-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
}

.docs-grid {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-3) auto var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
.doc-card p, .doc-card li {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  position: relative;
  margin-top: 0;
  background: var(--tile);
  color: var(--ink);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 96px;
  background: linear-gradient(180deg, transparent, #f7f8fb, #f1f3f6);
  pointer-events: none;
}
.site-footer__inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: var(--space-4) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--muted);
}
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 14px 18px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--ease-smooth), opacity 0.28s var(--ease-smooth);
}
.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    padding: var(--space-2) 0;
    gap: var(--space-1);
  }
  .main-nav { justify-content: flex-start; overflow-x: auto; }
  .header-actions { align-items: stretch; }
  .search { width: 100%; }
  .hero, .product-layout, .cart-layout, .catalog-layout, .two-columns {
    grid-template-columns: 1fr;
  }
  .product-local-nav {
    top: 0;
    overflow-x: auto;
  }
  .product-local-nav div {
    flex: 0 0 auto;
  }
  .hero > div:first-child,
  .hero-visual,
  .product-gallery,
  .product-info {
    border-radius: var(--radius-xl);
  }
  .filters, .summary-card { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-progress ol,
  .option-grid,
  .option-grid--three {
    grid-template-columns: 1fr;
  }
  .category-grid, .benefit-grid, .docs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .hero {
    margin-top: var(--space-1);
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero > div:first-child {
    padding: var(--space-3);
  }
  .product-gallery,
  .product-info {
    padding: var(--space-3);
  }
  .hero h1, .page-title h1, .product-info h1 {
    font-size: 31px;
  }
  .section-head h2, .two-columns h2, .catalog-head h2 {
    font-size: 23px;
  }
  .hero-visual {
    min-height: auto;
    padding: var(--space-2);
  }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-head, .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-image-link { min-height: 260px; }
  .gallery-main { min-height: 340px; }
  .gallery-main img { max-height: 300px; }
  .info-strip { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; }
  .cart-line {
    grid-template-columns: 76px 1fr;
  }
  .cart-line img {
    width: 76px;
    height: 76px;
  }
  .site-footer__inner { grid-template-columns: 1fr; }
  .field-grid,
  .field-grid--compact {
    grid-template-columns: 1fr;
  }
  .flow-card__head {
    grid-template-columns: 1fr;
  }
  .checkout-progress ol {
    grid-template-columns: 1fr 1fr;
  }
}

/* Unified TechLine product and checkout refinements */
.site-header {
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.94);
}
.dot-logo {
  background: var(--accent-soft);
}
.dot-logo::before {
  background: var(--accent);
  box-shadow:
    10px 0 var(--accent), 20px 0 var(--accent),
    20px 10px var(--accent),
    20px 20px var(--accent),
    20px 30px var(--accent),
    0 38px var(--accent), 10px 38px var(--accent), 20px 38px var(--accent),
    32px 0 var(--accent),
    32px 10px var(--accent),
    32px 20px var(--accent),
    32px 30px var(--accent),
    42px 38px var(--accent);
}
.btn-primary {
  background: var(--accent);
  color: var(--surface);
}
.btn-primary:hover {
  background: var(--accent-strong);
}
.cart-count,
.checkout-progress li.is-active,
.checkout-progress li.is-complete {
  background: var(--accent);
  color: var(--surface);
}
.site-footer::before {
  display: none;
}

.product-local-nav {
  top: 78px;
  background: rgba(246, 248, 251, 0.94);
  border-color: rgba(23, 32, 51, 0.08);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.product-detail-hero {
  width: min(1320px, calc(100% - 32px));
  margin: var(--space-3) auto var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2);
  align-items: stretch;
}
.product-detail-copy,
.product-detail-gallery,
.product-buy-section,
.product-feature-grid article,
.product-specs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.product-detail-copy {
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  align-content: center;
  gap: var(--space-2);
}
.product-detail-copy h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.product-detail-copy p {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
}
.product-detail-copy .price-row--large strong {
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(30px, 3vw, 44px);
}
.product-detail-gallery {
  padding: var(--space-3);
  min-width: 0;
  display: grid;
  gap: var(--space-1);
}
.product-detail-gallery .gallery-main {
  min-height: 390px;
  background: var(--product-bg);
}
.product-detail-gallery .gallery-main img {
  width: min(100%, 720px);
  max-height: 350px;
  object-fit: contain;
  filter: none;
}
.gallery-thumbs button {
  background: var(--product-bg);
  border: 1px solid transparent;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.product-buy-section {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto var(--space-4);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-3);
  align-items: center;
}
.product-buy-section h2,
.product-specs h2 {
  margin: var(--space-1) 0;
  font-family: var(--display-font);
  font-size: clamp(25px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 400;
}
.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-1);
}
.product-benefits article {
  min-width: 0;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--product-bg);
}
.product-benefits strong,
.product-benefits span {
  display: block;
}
.product-benefits span {
  margin-top: 4px;
  color: var(--muted);
}
.product-feature-grid {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}
.product-feature-grid article {
  padding: var(--space-3);
  min-height: 180px;
}
.product-feature-grid span {
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: var(--space-2);
}
.product-feature-grid h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
}
.product-feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}
.product-specs {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto var(--space-6);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-4);
}
.product-specs .spec-list div {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  background: var(--product-bg);
}
.product-specs .spec-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1);
  font-family: inherit;
}
.product-specs .spec-list dt {
  margin-bottom: 6px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.product-specs .spec-list dd {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

@media (max-width: 980px) {
  .product-local-nav {
    top: 0;
  }
  .product-detail-hero,
  .product-buy-section,
  .product-specs {
    grid-template-columns: 1fr;
  }
  .product-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar__inner,
  .site-header__inner,
  .container,
  .hero,
  .section,
  .page-title,
  .catalog-layout,
  .checkout-progress,
  .cart-layout,
  .docs-grid,
  .product-detail-hero,
  .product-buy-section,
  .product-feature-grid,
  .product-specs {
    width: min(100% - 24px, 1320px);
  }
  .site-header__inner {
    grid-template-columns: 1fr;
  }
  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }
  .main-nav {
    gap: var(--space-2);
    padding-bottom: 2px;
  }
  .product-detail-copy,
  .product-detail-gallery,
  .product-buy-section,
  .product-specs,
  .flow-card,
  .summary-card {
    padding: var(--space-2);
  }
  .product-detail-gallery .gallery-main {
    min-height: 260px;
  }
  .product-detail-gallery .gallery-main img {
    max-height: 230px;
  }
  .gallery-thumbs img {
    height: 64px;
  }
  .product-feature-grid {
    grid-template-columns: 1fr;
  }
  .product-specs .spec-list div {
    grid-template-columns: 1fr;
  }
  .product-specs .spec-list {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    gap: var(--space-2);
  }
  .checkout-progress ol {
    grid-template-columns: 1fr;
  }
  .checkout-progress li {
    padding: 10px 12px;
  }
  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }
  .cart-line img {
    width: 64px;
    height: 64px;
  }
  .cart-line .qty,
  .cart-line .link-button {
    grid-column: 2;
    justify-self: start;
  }
  .qty button,
  .qty span {
    width: 34px;
    height: 34px;
  }
  .option-card {
    padding: 14px;
  }
  .summary-list div,
  .review-grid div {
    display: grid;
    grid-template-columns: 1fr;
  }
  .summary-list dd,
  .review-grid strong {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 20px;
  }
  .dot-logo {
    width: 46px;
    height: 46px;
  }
  .cart-link {
    padding-inline: 12px;
  }
  .product-detail-copy h1,
  .hero h1,
  .page-title h1 {
    font-size: 28px;
  }
}

/* Taste branch redesign: white premium storefront based on the imported visual reference. */
:root {
  --bg: #f8f8f5;
  --product-bg: #f4f6f4;
  --tile: #f0f3f1;
  --surface: #ffffff;
  --ink: #111820;
  --muted: #68717b;
  --soft: #dfe5e1;
  --line: #e6ebe7;
  --accent: #009f9a;
  --accent-strong: #007a77;
  --accent-soft: #dff7f5;
  --radius-md: 14px;
  --radius-xl: 22px;
  --shadow-soft: 0 24px 70px rgba(17, 24, 32, 0.08);
  --display-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
}

.topbar { display: none; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: min(1320px, calc(100% - 32px));
  margin: 14px auto 0;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(17, 24, 32, 0.08);
  backdrop-filter: blur(24px);
}

.site-header__inner {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  grid-template-columns: auto 1fr auto;
}

.logo {
  gap: 12px;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dot-logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #08131f;
  box-shadow: inset 0 0 0 2px rgba(0, 159, 154, 0.44);
}

.dot-logo::before {
  width: 7px;
  height: 7px;
  left: 10px;
  top: 10px;
  background: var(--accent);
  box-shadow:
    10px 0 var(--accent), 20px 0 var(--accent),
    20px 10px var(--accent), 20px 20px var(--accent),
    20px 30px var(--accent), 0 30px var(--accent),
    10px 30px var(--accent), 30px 30px var(--accent);
}

.main-nav {
  gap: clamp(18px, 4vw, 54px);
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(17, 24, 32, 0.72);
}

.search,
.cart-link {
  min-height: 50px;
  border-radius: 17px;
  background: var(--product-bg);
  font-family: var(--display-font);
  font-weight: 650;
}

.cart-link { padding-inline: 18px; }
.cart-count { background: var(--accent); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(0, 159, 154, 0.22);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
}

.taste-hero {
  width: min(1320px, calc(100% - 32px));
  min-height: clamp(620px, 82vh, 820px);
  margin: 18px auto 0;
  padding: clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.66)),
    radial-gradient(circle at 78% 44%, rgba(0, 159, 154, 0.14), transparent 34%),
    var(--surface);
}

.taste-hero__content {
  display: grid;
  gap: 22px;
  align-content: center;
}

.taste-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.taste-hero p,
.tradein-copy p,
.delivery-section p,
.catalog-preview-card p,
.scenario-card p {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
}

.taste-hero__media {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.device-stack {
  position: relative;
  width: min(100%, 620px);
  height: 610px;
}

.device-stack img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(17, 24, 32, 0.16));
  mix-blend-mode: multiply;
}

.device-stack__back {
  width: 54%;
  right: 8%;
  top: 12%;
  opacity: 0.96;
}

.device-stack__front {
  width: 68%;
  left: 0;
  bottom: 1%;
}

.hero-ticket,
.order-summary-card {
  position: absolute;
  right: 24px;
  bottom: 38px;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.hero-ticket span,
.order-summary-card span,
.product-card__meta,
.rating {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-ticket strong { font-size: 20px; }

.btn {
  border-radius: 16px;
  font-family: var(--display-font);
  font-weight: 760;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 16px 34px rgba(0, 159, 154, 0.22);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { background: var(--product-bg); }

.section { margin: clamp(42px, 7vw, 92px) auto; }

.section-head h2,
.catalog-head h2,
.two-columns h2,
.page-title h1,
.product-info h1,
.tradein-section h2,
.delivery-section h2,
.catalog-preview-card h2 {
  font-family: var(--display-font);
  font-weight: 820;
  letter-spacing: -0.055em;
}

.section-head h2,
.catalog-head h2,
.tradein-section h2,
.delivery-section h2,
.catalog-preview-card h2 {
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1;
}

.section-head a {
  color: var(--accent-strong);
  font-family: var(--display-font);
  font-weight: 760;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.scenario-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition: transform 0.32s var(--ease-smooth), box-shadow 0.32s var(--ease-smooth), border-color 0.32s var(--ease-smooth);
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 159, 154, 0.3);
  box-shadow: var(--shadow-soft);
}

.scenario-card--wide {
  grid-row: span 2;
  min-height: 676px;
  background: #f2f6f4;
}

.scenario-card span {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--accent);
  font-weight: 820;
}

.scenario-card strong {
  position: relative;
  z-index: 1;
  max-width: 360px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.scenario-card p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 12px 0 0;
  font-size: 15px;
}

.scenario-card img {
  position: absolute;
  right: -18px;
  top: 34px;
  width: min(54%, 260px);
  max-height: 270px;
  object-fit: contain;
  opacity: 0.96;
  mix-blend-mode: multiply;
}

.scenario-card--wide img {
  width: min(78%, 520px);
  max-height: 520px;
  right: -44px;
  top: 56px;
}

.taste-catalog-preview {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
  align-items: stretch;
}

.catalog-preview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 520px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #0f1720;
  color: #fff;
}

.catalog-preview-card p { color: rgba(255, 255, 255, 0.72); }
.product-grid--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 0;
}

.product-image-link {
  min-height: 286px;
  margin: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f6f8f6;
}

.product-image-link img { height: 230px; }

.product-card__body {
  padding: 6px 18px 18px;
  gap: 10px;
}

.product-card h3 {
  font-size: clamp(19px, 1.45vw, 24px);
  letter-spacing: -0.04em;
}

.product-card p {
  font-family: var(--display-font);
  font-size: 14px;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--display-font);
  font-weight: 760;
}

.rating::before {
  content: "★ ";
  color: var(--accent);
}

.color-row {
  display: flex;
  gap: 7px;
  min-height: 14px;
}

.color-row span {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 999px;
  background: #d9e1e5;
}

.color-row span:nth-child(2) { background: #1d2733; }
.color-row span:nth-child(3) { background: #d8f0ec; }

.price-row strong {
  color: var(--accent-strong);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 860;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.button-row .btn-ghost { padding-inline: 16px; }

.tradein-section,
.delivery-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(15, 23, 32, 0.86), rgba(15, 23, 32, 0.58)),
    url("img/galaxy-s25-ultra.jpg") right center / contain no-repeat,
    #0f1720;
  color: #fff;
}

.tradein-copy p,
.delivery-section p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.tradein-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.tradein-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.tradein-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
}

.tradein-result {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: var(--product-bg);
}

.tradein-result strong {
  color: var(--accent-strong);
  font-size: 30px;
}

.compare-section { display: grid; gap: 18px; }

.compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.75fr 0.7fr;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.compare-row:first-child { border-top: 0; }

.compare-row--head {
  color: var(--muted);
  background: var(--product-bg);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.delivery-section {
  background:
    radial-gradient(circle at 80% 40%, rgba(0,159,154,0.2), transparent 36%),
    #ffffff;
  color: var(--ink);
}

.delivery-section p { color: var(--muted); }

.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.order-summary-card {
  position: static;
  min-height: 280px;
  align-content: end;
}

.order-summary-card strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.order-summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.order-summary-card b {
  color: var(--accent-strong);
  font-size: 28px;
}

.order-summary-card small { color: var(--muted); }

.page-title { margin-top: 44px; }

.page-title h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.95;
}

.catalog-layout { grid-template-columns: 1fr; }

.filters {
  position: static;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 26px;
}

.filters p {
  grid-column: 1 / -1;
  margin: 0;
}

.product-layout {
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface);
}

.product-gallery,
.product-info { border-radius: 0; }

.product-info { border-left: 1px solid var(--line); }
.gallery-main img { mix-blend-mode: multiply; }

.product-buy-section,
.product-feature-grid article,
.product-specs,
.checkout-card,
.summary-card,
.flow-card,
.doc-card,
.category-card,
.benefit,
.review {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.site-footer {
  margin-top: 72px;
  background: #0f1720;
}

@media (max-width: 1100px) {
  .taste-hero,
  .taste-catalog-preview,
  .tradein-section,
  .delivery-section {
    grid-template-columns: 1fr;
  }

  .taste-hero__media { min-height: 440px; }
  .device-stack { height: 430px; }

  .scenario-grid { grid-template-columns: 1fr 1fr; }

  .scenario-card--wide {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 480px;
  }

  .filters { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: min(100% - 20px, 1320px);
    border-radius: 20px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .search { width: 100%; }

  .taste-hero {
    width: min(100% - 20px, 1320px);
    min-height: auto;
    padding: 22px;
    border-radius: 26px;
  }

  .taste-hero h1 { font-size: clamp(38px, 14vw, 58px); }
  .taste-hero__media { min-height: 320px; }
  .device-stack { height: 320px; }

  .hero-ticket {
    right: 10px;
    bottom: 8px;
    min-width: 170px;
  }

  .section { width: min(100% - 20px, 1320px); }
  .section-head { align-items: flex-start; }

  .scenario-grid,
  .product-grid--preview {
    grid-template-columns: 1fr;
  }

  .scenario-card,
  .scenario-card--wide {
    min-height: 360px;
  }

  .scenario-card img,
  .scenario-card--wide img {
    width: min(70%, 300px);
    max-height: 260px;
    right: -24px;
    top: 40px;
  }

  .catalog-preview-card,
  .tradein-section,
  .delivery-section {
    border-radius: 26px;
    padding: 24px;
  }

  .compare-table { overflow-x: auto; }
  .compare-row { min-width: 680px; }
  .button-row { grid-template-columns: 1fr; }
}

/* Closer reference pass: technical retail layout, framed sections, large device imagery. */
body {
  background:
    radial-gradient(circle at 58% 6%, rgba(0, 159, 154, 0.08), transparent 22%),
    radial-gradient(circle at 88% 42%, rgba(0, 159, 154, 0.06), transparent 24%),
    linear-gradient(rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    #f7f7f3;
  background-size: auto, auto, 96px 96px, 96px 96px, auto;
}

.site-header {
  width: min(1568px, calc(100% - 32px));
  top: 16px;
  margin-top: 16px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(17, 24, 32, 0.08), inset 0 0 0 1px rgba(255,255,255,0.8);
}

.site-header__inner {
  min-height: 84px;
  padding: 0 38px;
  grid-template-columns: 260px 1fr 380px;
}

.logo {
  font-size: 32px;
  letter-spacing: -0.07em;
}

.logo > span:last-child {
  color: var(--ink);
}

.logo > span:last-child::first-letter {
  letter-spacing: -0.08em;
}

.dot-logo {
  width: 0;
  height: 0;
  margin: 0;
  background: none;
  box-shadow: none;
}

.dot-logo::before {
  content: none;
}

.logo::after {
  content: "";
  width: 4px;
  height: 34px;
  margin-left: -96px;
  border-radius: 99px;
  background: var(--accent);
  transform: translateX(98px);
}

.main-nav {
  gap: 74px;
  font-size: 18px;
  color: #151a20;
}

.header-actions {
  justify-content: end;
}

.search {
  width: min(250px, 22vw);
  background: transparent;
  border: 0;
  padding-left: 0;
  color: transparent;
}

.search::placeholder {
  color: transparent;
}

.search::before {
  content: "";
}

.cart-link {
  background: transparent;
  padding: 0;
  font-size: 18px;
}

.cart-link::before {
  content: "⌕";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 34px;
  line-height: 1;
}

.taste-hero {
  width: min(1568px, calc(100% - 32px));
  min-height: 790px;
  margin-top: 18px;
  padding: 96px 42px 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 73% 34%, rgba(0, 0, 0, 0.08), transparent 22%),
    radial-gradient(circle at 48% 50%, rgba(0, 159, 154, 0.08), transparent 28%),
    transparent;
}

.taste-hero__content {
  align-self: end;
  padding-bottom: 68px;
}

.taste-hero .eyebrow {
  display: none;
}

.taste-hero h1 {
  max-width: 630px;
  font-size: clamp(58px, 5.6vw, 86px);
  line-height: 1.18;
  letter-spacing: -0.07em;
}

.taste-hero p {
  max-width: 480px;
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
}

.taste-hero__media {
  min-height: 770px;
  align-self: stretch;
  overflow: visible;
}

.device-stack {
  width: min(100%, 760px);
  height: 790px;
  transform: translate(12px, 22px) rotate(-2deg);
}

.device-stack__back {
  width: 62%;
  right: 19%;
  top: 5%;
  transform: rotate(-8deg) scale(1.22);
}

.device-stack__front {
  width: 74%;
  left: 18%;
  bottom: -9%;
  transform: rotate(5deg) scale(1.12);
}

.hero-ticket {
  display: none;
}

.hero-actions {
  gap: 46px;
  margin-top: 34px;
}

.hero-actions .btn-primary {
  min-width: 266px;
  min-height: 72px;
  border-radius: 10px;
  font-size: 20px;
  background: linear-gradient(180deg, #04aaa4, #00968f);
}

.hero-actions .btn-ghost {
  min-height: auto;
  padding: 0 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 2px solid var(--accent);
  font-size: 20px;
}

.section-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 83% 10%, rgba(0, 159, 154, 0.07), transparent 18%),
    linear-gradient(rgba(17, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 32, 0.045) 1px, transparent 1px),
    rgba(255,255,255,0.78);
  background-size: auto, 112px 112px, 112px 112px, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.section-frame--hero {
  border-color: transparent;
  box-shadow: none;
}

.taste-scenarios {
  width: min(1498px, calc(100% - 32px));
  min-height: 760px;
  padding: 58px 50px 38px 134px;
}

.section-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 76px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  padding: 42px 0;
  border-right: 1px solid rgba(17, 24, 32, 0.12);
  background: linear-gradient(90deg, rgba(17,24,32,0.08), rgba(255,255,255,0.34));
  color: var(--ink);
}

.section-rail span,
.section-rail b {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 500;
}

.section-rail span {
  color: var(--accent-strong);
  font-size: 22px;
}

.section-rail b {
  align-self: center;
  font-size: 24px;
  font-weight: 500;
}

.taste-scenarios .section-head {
  display: block;
  margin-bottom: 28px;
}

.taste-scenarios .section-head h2 {
  margin-top: 10px;
  font-size: clamp(54px, 5.4vw, 76px);
  letter-spacing: 0.05em;
}

.taste-scenarios .section-head a {
  display: none;
}

.taste-scenarios .section-head p {
  max-width: 620px;
  font-size: 21px;
}

.brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.brand-tabs a {
  min-width: 128px;
  padding: 12px 24px;
  border: 1px solid rgba(17,24,32,0.18);
  border-radius: 7px;
  background: rgba(255,255,255,0.68);
  text-align: center;
  font-size: 17px;
}

.brand-tabs a:first-child {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-card,
.scenario-card--wide {
  grid-row: auto;
  grid-column: auto;
  min-height: 430px;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

.scenario-card span {
  display: none;
}

.scenario-card strong {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.scenario-card p {
  display: none;
}

.scenario-card img,
.scenario-card--wide img {
  width: 92%;
  max-height: 345px;
  right: -20px;
  top: 118px;
}

.taste-catalog-preview {
  width: min(1498px, calc(100% - 32px));
  grid-template-columns: 0.86fr 1.14fr;
  padding: 38px;
}

.catalog-preview-card {
  min-height: 585px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0 48%, rgba(255,255,255,0.44)),
    url("img/iphone-17-pro-max.png") right 42px center / 54% auto no-repeat,
    #fff;
  color: var(--ink);
}

.catalog-preview-card h2 {
  max-width: 350px;
  font-size: 48px;
}

.catalog-preview-card p {
  max-width: 300px;
  color: var(--muted);
}

.product-grid--preview {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  min-height: 452px;
  border-radius: 8px;
  border-color: rgba(17,24,32,0.14);
  background: rgba(255,255,255,0.78);
}

.product-image-link {
  min-height: 235px;
  margin: 24px 24px 0;
  border: 0;
  background: transparent;
}

.product-image-link img {
  height: 230px;
  filter: drop-shadow(0 18px 24px rgba(17,24,32,0.12));
}

.product-card__meta {
  padding: 22px 24px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__body {
  padding: 18px 24px 24px;
}

.product-card h3 {
  font-size: 24px;
}

.pill {
  background: transparent;
  padding: 0;
  color: var(--accent-strong);
  font-size: 13px;
  text-transform: uppercase;
}

.color-row span {
  width: 23px;
  height: 23px;
}

.price-row strong {
  font-size: 34px;
  color: var(--ink);
}

.button-row {
  grid-template-columns: 1fr 54px;
  align-items: center;
}

.button-row .btn-primary {
  min-height: 56px;
  border-radius: 8px;
}

.button-row .btn-ghost {
  width: 54px;
  height: 54px;
  overflow: hidden;
  padding: 0;
  color: transparent;
  border-color: var(--accent);
}

.button-row .btn-ghost::before {
  content: "→";
  color: var(--accent-strong);
  font-size: 24px;
}

.page-title--catalog {
  width: min(1498px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 58px;
}

.page-title--catalog h1 {
  font-size: 48px;
}

.catalog-quick-actions {
  display: flex;
  gap: 42px;
  color: var(--muted);
}

.catalog-quick-actions a {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.catalog-quick-actions span {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.catalog-layout {
  width: min(1498px, calc(100% - 32px));
}

.filters {
  display: none;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: 1.12fr 1.45fr;
  gap: 18px;
}

.catalog-toolbar {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 14px;
  margin-bottom: 14px;
}

.filter-chip {
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(17,24,32,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  cursor: pointer;
}

.featured-product {
  grid-row: span 3;
  position: relative;
  min-height: 632px;
  overflow: hidden;
  padding: 40px 30px;
  border: 1px solid rgba(17,24,32,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
}

.featured-product__copy {
  position: relative;
  z-index: 1;
  max-width: 335px;
}

.featured-product strong {
  display: block;
  margin-top: 30px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.featured-product p {
  color: var(--muted);
  font-size: 17px;
}

.featured-product ul {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.featured-product li::before {
  content: "▧";
  margin-right: 12px;
  color: var(--accent);
}

.featured-product img {
  position: absolute;
  right: -22px;
  top: 118px;
  width: 50%;
  max-height: 500px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 35px rgba(17,24,32,0.16));
}

.featured-product__bottom {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 36px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 250px;
  align-items: center;
  gap: 20px;
}

.featured-product__bottom b {
  font-size: 38px;
  white-space: nowrap;
}

.featured-product__bottom .btn {
  min-height: 66px;
  border-radius: 8px;
}

.catalog-head {
  grid-column: 2;
}

.catalog-head h2 {
  font-size: 34px;
}

.product-grid--catalog {
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tradein-section,
.delivery-section {
  width: min(1498px, calc(100% - 32px));
  border-radius: 18px;
}

.compare-section {
  width: min(1498px, calc(100% - 32px));
  padding: 34px;
}

.compare-table,
.tradein-panel,
.order-summary-card {
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .taste-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .taste-hero__content {
    padding-bottom: 0;
  }

  .scenario-grid,
  .product-grid--catalog,
  .product-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-showcase {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar,
  .catalog-head,
  .product-grid--catalog {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 20px, 1568px);
  }

  .main-nav {
    gap: 22px;
    font-size: 15px;
  }

  .taste-hero {
    min-height: auto;
    padding: 28px 22px 0;
  }

  .taste-hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .taste-hero p {
    font-size: 18px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-actions .btn-primary {
    min-width: 100%;
  }

  .device-stack {
    height: 360px;
  }

  .taste-scenarios {
    padding: 28px 18px;
  }

  .section-rail {
    display: none;
  }

  .taste-scenarios .section-head h2 {
    font-size: 38px;
  }

  .scenario-grid,
  .product-grid--catalog,
  .product-grid--preview {
    grid-template-columns: 1fr;
  }

  .catalog-preview-card {
    background:
      linear-gradient(rgba(255,255,255,0.96), rgba(255,255,255,0.86)),
      url("img/iphone-17-pro-max.png") right -35px bottom 20px / 55% auto no-repeat,
      #fff;
  }

  .page-title--catalog,
  .featured-product__bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-quick-actions {
    display: none;
  }

  .catalog-toolbar {
    justify-content: start;
  }

  .featured-product img {
    opacity: 0.22;
    width: 78%;
  }
}
