:root {
  --ink: #10151d;
  --ink-soft: #303946;
  --muted: #687383;
  --line: #d8dde5;
  --paper: #f6f7f9;
  --white: #ffffff;
  --blue: #18345f;
  --blue-deep: #071322;
  --gold: #c79238;
  --gold-soft: #f1d69b;
  --green: #4b7d68;
  --shadow: 0 22px 70px rgb(12 19 31 / 13%);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgb(216 221 229 / 78%);
  background: rgb(246 247 249 / 91%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 138px;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav a[href="/checkout"] {
  display: none;
}

.nav a,
.footer-links a,
.social-links a {
  transition: color 160ms ease;
}

.nav a:hover,
.footer-links a:hover,
.social-links a:hover {
  color: var(--gold);
}

.nav-action,
.button,
.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-action,
.button.primary {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 14px 34px rgb(7 19 34 / 18%);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.nav-action:hover,
.button:hover,
.payment-link:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgb(7 19 34 / 96%), rgb(24 52 95 / 93%)),
    var(--blue-deep);
  color: var(--white);
}

.hero h1,
.page-hero h1,
.about-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.about-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 19px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  color: rgb(255 255 255 / 82%);
  background: rgb(255 255 255 / 8%);
  font-size: 13px;
  font-weight: 700;
}

.hero .button.primary {
  background: var(--gold);
  color: #161006;
}

.hero .button.secondary {
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.hero-product {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-logo {
  width: min(360px, 68vw);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgb(0 0 0 / 34%);
}

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
  align-items: end;
}

.hero-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgb(0 0 0 / 26%);
}

.hero-stack img:nth-child(2) {
  transform: translateY(28px);
}

.section,
.shop-layout,
.checkout-layout,
.about-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding-bottom: 20px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-heading h2,
.feature-copy h2,
.checkout-form h2,
.order-panel h2,
.values h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.feature-copy p,
.values p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.intent-grid a {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 800;
  box-shadow: 0 12px 40px rgb(12 19 31 / 5%);
}

.product-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.article-card,
.checkout-form,
.order-panel,
.values article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 48px rgb(12 19 31 / 6%);
}

.product-card {
  overflow: hidden;
}

.product-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e9edf3;
}

.product-card-body,
.article-card-body {
  padding: 18px;
}

.product-card h3,
.article-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf1f5;
  color: var(--ink-soft);
  font-size: 12px;
}

.price {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 800;
}

.price del {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions .button {
  flex: 1;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(34px, 6vw, 82px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.feature-media img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lifestyle-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lifestyle-pair img {
  aspect-ratio: 4 / 5;
}

.feature-copy p {
  margin: 18px 0 28px;
}

.page-hero {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--blue-deep);
  color: var(--white);
}

.page-hero.compact {
  min-height: 320px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 42px 0 90px;
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  padding: 0 14px;
}

.filter-button.active {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.gallery {
  display: grid;
  gap: 14px;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.product-info h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1;
}

.product-info .headline {
  color: var(--muted);
  font-size: 18px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.lifestyle-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.lifestyle-row img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  padding: 42px 0 90px;
}

.checkout-form,
.order-panel {
  padding: 24px;
}

.checkout-form {
  display: grid;
  gap: 15px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  color: var(--ink);
  padding: 13px 14px;
}

.checkout-form textarea {
  min-height: 120px;
  resize: vertical;
}

.summary-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  font-size: 20px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  gap: 9px;
}

.payment-link {
  border: 1px solid var(--line);
  background: var(--white);
}

.payment-link:first-child {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

.payment-link.disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #edf1f5;
  color: var(--muted);
  box-shadow: none;
  transform: none;
}

.article-card {
  overflow: hidden;
}

.article-card p,
.article-body p {
  color: var(--muted);
}

.article-detail {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 50px 0 90px;
}

.article-detail img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-body {
  margin-top: 34px;
  font-size: 18px;
}

.article-body h1 {
  margin: 0 0 20px;
  font-size: 58px;
  line-height: 1;
}

.article-body h2 {
  margin-top: 34px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
  padding: 62px 0 34px;
}

.policy-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 92px;
}

.policy-page h1 {
  margin: 0 0 20px;
  font-size: 58px;
  line-height: 1;
}

.policy-page h2 {
  margin: 34px 0 10px;
  font-size: 26px;
}

.policy-page p {
  color: var(--ink-soft);
  font-size: 18px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.about-hero p {
  color: var(--muted);
}

.about-hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.values article {
  padding: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: start;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 7px 0 0;
  color: var(--muted);
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav,
  .nav-action {
    display: none;
  }

  body.menu-open .nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .feature-band,
  .product-detail,
  .checkout-layout,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stack img:nth-child(2) {
    transform: none;
  }

  .intent-grid,
  .product-grid,
  .article-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filters {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .filter-button {
    text-align: center;
    padding: 0 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 116px;
  }

  .site-header {
    min-height: 68px;
  }

  body.menu-open .nav {
    inset: 68px 0 auto;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .section-heading h2,
  .feature-copy h2,
  .checkout-form h2,
  .order-panel h2,
  .values h2,
  .product-info h1,
  .article-body h1,
  .policy-page h1 {
    font-size: 34px;
  }

  .hero-stack,
  .intent-grid,
  .product-grid,
  .article-grid,
  .values,
  .filters,
  .lifestyle-row,
  .gallery-strip,
  .lifestyle-pair {
    grid-template-columns: 1fr;
  }

  .summary-item {
    grid-template-columns: 64px 1fr;
  }

  .summary-item strong:last-child {
    grid-column: 2;
  }

  .card-actions {
    flex-direction: column;
  }
}
