:root {
  --bg: #f5f7fb;
  --text: #101114;
  --muted: #60646c;
  --card: #ffffff;
  --border: #e5e7eb;
  --black: #111111;
  --accent: #111111;
  --soft: #eef1f6;
  --green: #00ae42;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loading-animation {
  width: 50vw;
  max-width: 520px;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  #loading-animation {
    width: 62vw;
    max-width: 300px;
    min-width: 220px;
    height: auto;
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #111;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 2px;
  padding: 5px;
}

.brand-mark span {
  background: white;
  border-radius: 2px;
  display: block;
}

.brand-mark span:nth-child(1) {
  height: 45%;
}

.brand-mark span:nth-child(2) {
  height: 75%;
}

.brand-mark span:nth-child(3) {
  height: 58%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-buy {
  color: white !important;
  background: #111;
  padding: 9px 14px;
  border-radius: 999px;
}

.mobile-nav-actions {
  display: none;
}

.mobile-buy-button {
  color: #ffffff;
  background: #111111;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.86rem;
  line-height: 1;
}

.mobile-menu-button {
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111111;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu {
  display: none;
}

main {
  flex: 1;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 54px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.hero-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  color: #30343a;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #111;
}

h1 {
  font-size: clamp(2.45rem, 10vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  margin-bottom: 18px;
}

.tagline {
  font-size: clamp(1.05rem, 3.7vw, 1.55rem);
  color: #2d3035;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto;
}

.subtagline {
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
  margin: 12px auto 0;
}

.shop-shell {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: 0 22px 80px rgba(16,17,20,0.08);
  border-radius: 30px;
  overflow: hidden;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 590px;
}

.preview-panel {
  background:
    radial-gradient(circle at top left, rgba(0,0,0,0.08), transparent 34%),
    linear-gradient(145deg, #eef1f6, #ffffff);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  margin: 0 -28px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 430px;
}

.preview-panel:active {
  cursor: grabbing;
}

.preview-panel::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(17,17,17,0.045);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-image-wrap {
  width: 100%;
  max-width: 530px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

#product-image {
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 34px 45px rgba(0,0,0,0.16));
  transition: opacity 0.18s ease, transform 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}

#product-image.changing {
  opacity: 0;
  transform: scale(0.985);
}

.free-shipping-banner {
  position: absolute;
  top: 34px;
  right: -52px;
  transform: rotate(45deg);
  z-index: 10;

  width: 210px;
  padding: 9px 0;

  background: #1e4f9a;
  color: #ffffff;

  text-align: center;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  pointer-events: none;
}

.preview-badge {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 530px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(229,231,235,0.95);
  backdrop-filter: blur(10px);
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.preview-badge strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.preview-badge span {
  display: block;
}

.selector-panel {
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.selector-title {
  margin-bottom: 22px;
}

.selector-title h2 {
  font-size: 1.8rem;
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 8px;
}

.selector-title p {
  color: var(--muted);
  font-size: 0.96rem;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--text);
}

.section-label span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.model-option {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.model-option:hover {
  border-color: #111;
  transform: translateY(-1px);
}

.model-option.active {
  border-color: #111;
  background: #f5f7fb;
  box-shadow: inset 0 0 0 1px #111;
}

.model-name {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.03em;
  margin-bottom: 3px;
}

.model-desc {
  color: var(--muted);
  font-size: 0.86rem;
}

.model-price {
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
}

.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
}

.color-option {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease;
  position: relative;
}

.color-option:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.color-option.active {
  border-color: #111;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.25);
  display: block;
}

.color-option.active::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #111;
  right: 1px;
  bottom: 1px;
  border: 2px solid white;
}

.selected-color-name {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.selected-color-name strong {
  color: var(--text);
}

.buy-panel {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.selection-summary {
  background: #f5f7fb;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 13px 14px;
  margin-bottom: 14px;
}

.selection-summary-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.summary-service {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.summary-service a,
.microcopy a {
  color: #1e4f9a;
  font-weight: 800;
  text-decoration: underline;
}

.summary-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.summary-value {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 900;
}

.summary-price {
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.summary-service-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.summary-addon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 850;
}

.summary-plus {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.summary-addon a {
  color: #1e4f9a;
  font-weight: 900;
  text-decoration: underline;
}

.summary-addon-price {
  color: var(--text);
  font-weight: 950;
  white-space: nowrap;
}

.buy-button {
  width: 100%;
  border: none;
  background: #111;
  color: white;
  border-radius: 18px;
  padding: 17px 18px;
  font-weight: 950;
  font-size: 1.04rem;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.buy-button:hover {
  background: #000;
  transform: translateY(-1px);
}

.buy-button:active {
  transform: translateY(0);
}

.microcopy {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 10px;
}

.microcopy a {
  color: #1e4f9a;
  font-weight: 800;
  text-decoration: underline;
}

.microcopy .stripe-link {
  color: #635bff;
  font-weight: 950;
  text-decoration: none;
}

.microcopy .stripe-link:hover {
  color: #0a2540;
  text-decoration: underline;
}

.info-strip {
  max-width: 1040px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.info-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 17px;
  box-shadow: 0 16px 35px rgba(0,0,0,0.045);
}

.info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.info-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.about-section {
  max-width: 840px;
  margin: 70px auto 0;
  padding: 0 20px;
  text-align: left;
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  text-align: left;
}

.about-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.about-accordion {
  display: grid;
  gap: 12px;
}

.about-block {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 16px 35px rgba(0,0,0,0.045);
  overflow: hidden;
}

.about-block summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-block summary::-webkit-details-marker {
  display: none;
}

.about-block summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.about-block[open] summary::after {
  content: "−";
}

.about-block p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
  margin: 0;
  padding: 0 20px 16px;
}

.about-block p:last-child {
  padding-bottom: 20px;
}

.promo-strip {
  width: 100%;
  background: #7b2630;
  color: #ffffff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  text-transform: uppercase;
}

.promo-strip strong {
  color: #ffffff;
  font-weight: 950;
}

footer {
  text-align: center;
  padding: 28px 18px 34px;
  color: #777;
  font-size: 0.88rem;
}

footer a {
  color: #555;
  text-decoration: none;
  font-weight: 800;
  margin: 0 7px;
}

@media (max-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .selector-panel {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .preview-panel {
    min-height: 370px;
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .product-image-wrap {
    max-width: 390px;
    margin: 0 auto;
  }

  #product-image {
    max-width: 360px;
    margin: 0 auto;
  }

  .preview-badge {
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
  }

  .info-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .info-card {
    padding: 14px;
    border-radius: 18px;
  }

  .info-pill {
    margin-bottom: 10px;
  }

  .info-card p {
    font-size: 0.84rem;
    line-height: 1.38;
  }
}

@media (max-width: 600px) {
  .nav {
    position: relative;
    padding: 12px 14px;
    gap: 10px;
  }

  .brand {
    font-size: 1rem;
    gap: 8px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    z-index: 100;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 850;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f5f7fb;
  }

  .hero {
    padding: 26px 13px 40px;
    gap: 20px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .subtagline {
    font-size: 0.96rem;
  }

  .shop-shell {
    border-radius: 24px;
  }

  .preview-panel {
    min-height: 330px;
    padding: 18px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .product-image-wrap {
    max-width: 100%;
    margin: 0 auto;
  }

  #product-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .preview-badge {
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .selector-panel {
    padding: 21px;
  }

  .selector-title h2 {
    font-size: 1.55rem;
  }

  .model-option {
    padding: 14px;
  }

  .color-option {
    width: 46px;
    height: 46px;
  }

  .color-swatch {
    width: 37px;
    height: 37px;
  }

  .info-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .info-pill {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .info-card p {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .selection-summary {
    align-items: flex-start;
  }

  .summary-price {
    font-size: 1.2rem;
  }

  .about-section {
    margin-top: 48px;
    padding: 0 13px;
  }

  .about-section h2 {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  .about-block {
    border-radius: 18px;
  }

  .about-block summary {
    padding: 16px;
    font-size: 0.96rem;
  }

  .about-block p {
    padding: 0 16px 14px;
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .about-block p:last-child {
    padding-bottom: 17px;
  }

  .promo-strip {
    font-size: 0.68rem;
    padding: 6px 10px;
    letter-spacing: 0.025em;
  }
}
