:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6e83;
  --line: #d9e2ec;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --night: #0c1424;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0f766e;
  --amber: #f59e0b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(20, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, sans-serif;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  backdrop-filter: blur(18px);
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.site-nav,
.hero-actions,
.button,
.product-card-topline,
.product-card-footer,
.success-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
  letter-spacing: 0;
}

.brand-wordmark {
  font-size: 1.05rem;
}

.site-nav {
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.product-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.82), rgba(7, 16, 31, 0.48) 48%, rgba(7, 16, 31, 0.2)),
    linear-gradient(180deg, rgba(7, 16, 31, 0.12), rgba(7, 16, 31, 0.72));
}

.product-hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 116px;
  color: white;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-hero .eyebrow {
  color: #9df4df;
}

.construction-notice {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 14px;
  color: #fff8d7;
  background: rgba(12, 20, 36, 0.72);
  border: 1px solid rgba(255, 248, 215, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.construction-notice strong {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.product-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions,
.success-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.checkout-button {
  min-height: 48px;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.button {
  padding: 0 20px;
}

.button:hover,
.checkout-button:hover {
  transform: translateY(-2px);
}

.button.primary,
.checkout-button {
  color: white;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.button.primary:hover,
.checkout-button:hover {
  background: var(--blue-dark);
}

.checkout-button:disabled,
.checkout-button:disabled:hover {
  color: var(--muted);
  background: #e8eef6;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--mist);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading p,
.delivery-layout > div > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.status-line {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.status-line[data-kind="error"] {
  color: #b42318;
}

.status-line[data-kind="info"] {
  color: var(--teal);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(20, 32, 51, 0.08);
}

.product-card-featured {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.14);
}

.product-card-topline {
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--teal);
}

.tag {
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.09);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
  line-height: 1.65;
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 30px;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.product-card li {
  position: relative;
  padding-left: 24px;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
}

.product-card-footer {
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.price {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
}

.tax-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-button {
  flex: 0 0 auto;
  padding: 0 18px;
}

.checkout-button[disabled] {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.delivery-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.delivery-steps {
  display: grid;
  gap: 16px;
}

.delivery-step {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.delivery-step .material-icons {
  color: var(--blue);
}

.delivery-step h3 {
  margin: 14px 0 8px;
  font-size: 1.1rem;
}

.delivery-step p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin-top: 12px;
}

.site-footer {
  padding: 44px 0;
  color: white;
  background: var(--night);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-link {
  color: white;
  font-weight: 800;
}

.success-page {
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.92), rgba(255, 255, 255, 0.98)),
    url("/assets/images/spring.webp") center / cover fixed;
}

.success-main {
  min-height: calc(100vh - 77px);
  display: grid;
  place-items: center;
  padding: 80px 20px;
}

.success-panel {
  width: min(720px, 100%);
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-icon {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 3rem;
}

.success-panel h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.success-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.success-order {
  margin-top: 26px;
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.success-order span,
.success-order strong {
  display: block;
}

.success-order span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-order strong {
  margin-top: 6px;
}

.success-panel .button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .topbar,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .product-hero {
    min-height: 680px;
  }

  .product-hero-content {
    padding: 70px 0 96px;
  }

  .section {
    padding: 72px 0;
  }

  .product-grid,
  .delivery-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .product-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-button,
  .button {
    width: 100%;
  }

  .success-panel {
    padding: 30px 22px;
  }
}
