:root {
  --bg: #fbfaf8;
  --bg-soft: #f2efea;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #e7e1d8;
  --accent: #5d2a79;
  --accent-strong: #6f2dbd;
  --accent-soft: #efe8f5;
  --gold: #6f2dbd;
  --shadow: 0 18px 36px rgba(17, 17, 17, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.is-hidden {
  display: none !important;
}

button,
input {
  font: inherit;
}

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

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  background: rgba(251, 250, 248, 0.95);
  border-bottom: 1px solid var(--line);
}

.brand-script {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 0.8;
  color: var(--text);
}

.brand-link {
  display: block;
}

.brand-logo-image {
  width: min(180px, 100%);
  height: auto;
  margin-bottom: 0;
  object-fit: contain;
}

.brand-logo-image.is-hidden {
  display: none;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.cart-button,
.primary-button,
.secondary-button,
.icon-button {
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cart-button,
.primary-button {
  background: var(--text);
  color: #ffffff;
  font-weight: 800;
  box-shadow: none;
}

.cart-button:hover,
.primary-button:hover,
.secondary-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding: 42px 0 56px;
  align-items: center;
}

.eyebrow,
.product-badge {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.product-description,
.brand-copy-grid p,
.metric-detail,
.cart-note,
.checkout-message,
.form-feedback {
  color: var(--muted);
  line-height: 1.7;
}

.hero-inline-video {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #f6f3ee;
  overflow: hidden;
}

.hero-inline-video img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.secondary-button {
  background: #ffffff;
  border-color: var(--text);
  color: var(--text);
}

.hero-card img,
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-section,
.waitlist-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.collection-section,
.brand-section,
.waitlist-section {
  margin-top: 64px;
}

.showcase-section {
  margin-top: 56px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.showcase-grid-pouches {
  grid-template-columns: 1.05fr 0.95fr;
}

.showcase-grid-clutches {
  align-items: start;
}

.showcase-copy {
  max-width: 560px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.showcase-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.showcase-media {
  display: grid;
  gap: 18px;
}

.showcase-media-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-media-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-grid-clutches .showcase-media {
  margin-top: 28px;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #f6f3ee;
  border: 1px solid var(--line);
}

.showcase-media-two img:first-child,
.showcase-media-three img:first-child {
  aspect-ratio: 1.25;
}

.showcase-media-two img:last-child,
.showcase-media-three img:not(:first-child) {
  aspect-ratio: 0.8;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.section-heading {
  max-width: 760px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.product-card-link {
  display: block;
}

.product-copy-link {
  display: grid;
  gap: 10px;
}

.product-image-wrap {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: #f6f3ee;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-image {
  transition: transform 0.35s ease;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 22px 22px 24px;
}

.product-price {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-name,
.cart-header h3,
.checkout-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.product-card-footer .primary-button {
  min-height: 44px;
  padding: 10px 14px;
}

.product-page {
  margin-top: 36px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.product-gallery-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-gallery-frame {
  border: 1px solid var(--line);
  background: #f6f3ee;
  overflow: hidden;
}

.product-gallery-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-gallery-frame video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #f6f3ee;
}

.product-page-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-page-price {
  margin: 0;
  padding-right: 48px;
  font-size: 1.2rem;
  font-weight: 700;
}

.product-page-description {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.product-page-highlights {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.product-page-highlights li::before {
  content: "•";
  margin-right: 10px;
  color: var(--accent);
}

.product-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.brand-section,
.waitlist-section {
  padding: 40px;
}

.brand-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.waitlist-inline {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 14px;
  margin-top: 28px;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

input::placeholder {
  color: #a998af;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: flex-end;
  background: rgba(17, 17, 17, 0.18);
  z-index: 30;
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  width: min(440px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 28px;
  background: var(--panel-strong);
  border-left: 1px solid var(--line);
}

.cart-header,
.checkout-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.cart-items {
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: auto;
}

.cart-item,
.checkout-summary-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.cart-item img,
.checkout-summary-item img {
  width: 84px;
  height: 96px;
  object-fit: cover;
  border-radius: 0;
}

.cart-item h4,
.checkout-summary-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-item p,
.checkout-summary-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ghost-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.full-width {
  width: 100%;
}

.checkout-dialog {
  width: min(620px, calc(100% - 24px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.checkout-dialog::backdrop {
  background: rgba(6, 2, 9, 0.7);
  backdrop-filter: blur(12px);
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  max-height: 240px;
  overflow: auto;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.form-feedback {
  min-height: 1.6em;
  margin: 0;
}

.form-feedback.is-success {
  color: #1a7a35;
}

.form-feedback.is-error {
  color: #aa1b3d;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-copy {
  font-size: 0.86rem;
}

.footer-copy {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header,
  .hero,
  .showcase-grid,
  .product-page-grid,
  .brand-copy-grid,
  .waitlist-inline {
    grid-template-columns: 1fr;
  }

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

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

  .showcase-media-two,
  .showcase-media-three {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

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

}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 12px;
  }

  .site-header,
  .brand-section,
  .waitlist-section,
  .checkout-form,
  .cart-panel {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 24px;
    padding-top: 28px;
  }

  .hero h1,
  .section-heading h2 {
    font-size: 2.7rem;
  }

  .product-card {
    grid-template-rows: auto 1fr;
  }

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

  .cart-item,
  .checkout-summary-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item button,
  .checkout-summary-item button {
    grid-column: 2;
    justify-self: start;
  }
}
