@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap");

:root {
  --ink: #1c1c1c;
  --muted: #5f5f5f;
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --paper-3: #eceae6;
  --line: #e6e4e0;
  --topbar: #2b2b2b;
  --gold: #e4a017;
  --gold-hover: #c98b0d;
  --gold-text: #1c1c1c;
  --overlay: rgba(12, 12, 12, 0.46);
  --max: 1280px;
  --header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.topbar {
  background: var(--topbar);
  color: #f3f3f3;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-right {
  justify-content: flex-end;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--paper-2);
}

.logo {
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: 0.38em;
  font-size: 20px;
  text-transform: uppercase;
  padding-left: 0.38em;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

.cart-count.is-empty {
  display: none;
}

.nav-drawer,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.nav-drawer.is-open,
.search-overlay.is-open {
  display: block;
}

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.search-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.nav-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  height: 100%;
  background: var(--paper);
  padding: 28px 28px 48px;
  overflow: auto;
}

.nav-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
}

.nav-panel .nav-group {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-box {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 92vw);
  background: var(--paper);
  padding: 22px;
}

.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-size: 22px;
  padding: 10px 0;
  outline: none;
  background: transparent;
}

.search-results {
  margin-top: 16px;
}

.search-results a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.search-results img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: var(--paper-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--gold);
  color: var(--gold-text);
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.btn:hover {
  background: var(--gold-hover);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-full {
  width: 100%;
}

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

.hero-tri a {
  position: relative;
  display: block;
  min-height: 72vh;
  overflow: hidden;
}

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

.hero-tri span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.section {
  padding: 88px 24px;
}

.section-narrow {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section h1,
.section h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin: 0 0 16px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 640px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

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

.system-card {
  position: relative;
  min-height: 520px;
  color: #fff;
  overflow: hidden;
}

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

.system-card .copy {
  position: absolute;
  inset: auto 24px 28px;
  z-index: 1;
}

.system-card h3 {
  margin: 0 0 8px;
  font-size: 36px;
  color: #fff;
}

.system-card p {
  margin: 0 0 16px;
  max-width: 320px;
}

.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%);
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.product-card {
  min-width: 260px;
  scroll-snap-align: start;
  flex: 0 0 260px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-2);
}

.product-card h3 {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 14px 0 4px;
}

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

.note {
  font-size: 12px;
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 24px;
  background: var(--paper-2);
}

.trust strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  margin-bottom: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.benefits h3 {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.featured-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.featured-gallery img:first-child {
  grid-column: 1 / -1;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq p {
  color: var(--muted);
  margin: 12px 0 4px;
}

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

.review {
  background: var(--paper-2);
  padding: 28px;
}

.review p {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 18px;
}

.review span {
  font-size: 13px;
  color: var(--muted);
}

.newsletter {
  background: var(--paper-2);
  text-align: center;
  padding: 72px 24px;
}

.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 24px auto 0;
}

.newsletter input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 0 14px;
  min-height: 48px;
  background: #fff;
}

.site-footer {
  background: #111;
  color: #d8d8d8;
  padding: 64px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 48px;
}

.site-footer h3 {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  color: #cfcfcf;
  font-size: 14px;
  margin: 0 0 8px;
}

.legal-bar {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  font-size: 12px;
  color: #9a9a9a;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero {
  padding: 56px 24px 12px;
  text-align: center;
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 36px;
}

.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px;
  font-size: 13px;
}

.filter.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 32px 24px 72px;
  max-width: var(--max);
  margin: 0 auto;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pdp-gallery img:first-child {
  grid-column: 1 / -1;
}

.pdp-info h1 {
  font-size: clamp(32px, 3vw, 46px);
  margin: 0 0 10px;
}

.pdp-price {
  font-size: 20px;
  margin-bottom: 18px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.qty input {
  width: 72px;
  height: 44px;
  text-align: center;
  border: 1px solid var(--line);
}

.spec-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 14px;
}

.checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fff;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.pay-box {
  border: 1px solid var(--ink);
  padding: 16px;
  background: var(--paper-2);
}

.summary {
  background: var(--paper-2);
  padding: 24px;
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}

.summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.summary-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #fff;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin: 10px 0;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}

.legal h1 {
  font-size: 42px;
}

.legal h2 {
  font-size: 26px;
  margin: 32px 0 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 24px));
  background: #fff;
  padding: 22px;
  z-index: 80;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  display: none;
}

.cookie.is-open {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.72);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  background: #fff;
  width: min(520px, 100%);
  padding: 36px 28px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--ink);
  color: #fff;
  padding: 14px 16px;
  z-index: 70;
  display: none;
  max-width: 280px;
}

.toast.is-open {
  display: block;
}

.toast a {
  text-decoration: underline;
}

.empty {
  text-align: center;
  padding: 48px 0;
}

.disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

@media (max-width: 980px) {
  .system-grid,
  .trust,
  .split,
  .featured,
  .reviews,
  .pdp,
  .checkout,
  .contact-grid,
  .footer-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-tri {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hero-tri a {
    min-width: 82%;
    min-height: 70vh;
    scroll-snap-align: start;
  }

  .system-card {
    min-height: 420px;
  }

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

  .newsletter form {
    flex-direction: column;
  }

  .pdp-gallery,
  .featured-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .benefits {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 16px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 0.28em;
  }
}
