:root {
  --cream: #fbf4e8;
  --linen: #f2e5d3;
  --milk: #fffaf2;
  --ink: #342a24;
  --muted: #7a6a5c;
  --cocoa: #9b6d56;
  --rose: #c58e83;
  --sage: #8d9981;
  --black: #201c1a;
  --line: rgba(52, 42, 36, 0.14);
  --shadow: 0 18px 48px rgba(74, 52, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 244, 232, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}

.top-nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.icon-button,
.filter,
.text-button,
.coupon-row button,
.primary-button,
.secondary-button,
.add-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  background: var(--milk);
  color: var(--ink);
}

.cart-icon {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.cart-jump {
  justify-self: end;
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #e5d0bd;
}

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

.hero img {
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(52, 42, 36, 0.78), rgba(52, 42, 36, 0.16) 58%, rgba(255, 250, 242, 0.05));
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 42px 18px 34px;
  color: #fffaf3;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cocoa);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7dfc8;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(3.6rem, 18vw, 7.5rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 8vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 31rem;
  color: rgba(255, 250, 243, 0.9);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-link {
  background: var(--milk);
  color: var(--ink);
}

.secondary-link {
  border: 1px solid rgba(255, 250, 243, 0.5);
  color: #fffaf3;
}

.notice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--milk);
}

.notice-strip span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}

.bundle-hero {
  padding: 48px 16px 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.84), rgba(242, 229, 211, 0.76)),
    url("assets/ladykid-hero.png") center / cover;
}

.bundle-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 15vw, 6rem);
}

.bundle-hero p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 38px 16px;
}

.intro {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.try-on-section {
  border-bottom: 1px solid var(--line);
}

.try-on-gallery {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.try-on-video {
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ead2bf;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
}

.try-on-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-section {
  border-bottom: 1px solid var(--line);
}

.photo-library {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: var(--shadow);
}

.photo-library-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
}

.review-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  background: #f0e3d2;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.review-grid img {
  display: block;
  flex: 0 0 calc((100% - 20px) / 3);
  width: calc((100% - 20px) / 3);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: var(--linen);
  scroll-snap-align: start;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading.compact {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
}

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

.filter {
  min-height: 38px;
  background: var(--milk);
  color: var(--muted);
}

.filter.active {
  background: var(--ink);
  color: var(--milk);
}

.product-grid,
.set-grid {
  display: grid;
  gap: 14px;
}

.thickness-layout {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.thickness-layout img {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.thickness-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.thickness-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
}

.thickness-list span {
  color: var(--muted);
  text-align: right;
}

.product-card,
.cart-panel,
.checkout-panel,
.login-card,
.about-card,
.set-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.product-card {
  overflow: hidden;
}

.product-media {
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 250, 242, 0.84) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--media-a), var(--media-b));
  position: relative;
}

.product-media::before,
.product-media::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.product-media::before {
  width: 92px;
  height: 178px;
  left: 27%;
  top: 16%;
  background: var(--leg-a);
  box-shadow: 44px 7px 0 var(--leg-b);
  opacity: 0.92;
}

.product-media::after {
  width: 72%;
  height: 16px;
  left: 14%;
  bottom: 22px;
  background: rgba(52, 42, 36, 0.09);
  filter: blur(8px);
}

.product-media.has-video {
  min-height: 340px;
  background: #ead2bf;
}

.product-media.has-video::before,
.product-media.has-video::after {
  display: none;
}

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

.product-body {
  padding: 16px;
}

.product-type,
.mini-note,
.product-desc,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.product-type {
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cocoa);
}

.option-stack {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.option-stack label,
form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.add-button,
.primary-button,
.secondary-button,
.coupon-row button {
  width: 100%;
  min-height: 46px;
  background: var(--ink);
  color: var(--milk);
  font-weight: 700;
}

.secondary-button {
  background: var(--cocoa);
}

.set-card {
  padding: 16px;
}

.set-card h3 {
  margin-bottom: 6px;
}

.set-card p {
  color: var(--muted);
  line-height: 1.7;
}

.combo-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.combo-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.combo-item h4 {
  margin: 0;
  font-size: 0.95rem;
}

.set-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
  font-weight: 700;
}

.set-price strong {
  font-size: 1.45rem;
}

.cart-checkout,
.login-about {
  display: grid;
  gap: 16px;
}

.cart-panel,
.checkout-panel,
.login-card,
.about-card {
  padding: 16px;
}

.text-button {
  min-height: 36px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 72px;
}

.empty-cart {
  color: var(--muted);
  padding: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.cart-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.qty-control {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  gap: 3px;
}

.qty-control button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--milk);
}

.qty-control span {
  text-align: center;
  font-weight: 700;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 8px;
  margin-top: 16px;
}

.shipping-estimator {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(242, 229, 211, 0.42);
}

.shipping-estimator h3 {
  margin-bottom: 6px;
}

.shipping-options {
  display: grid;
  gap: 8px;
}

.shipping-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--muted);
}

.shipping-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.shipping-option strong {
  color: var(--ink);
}

.summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.summary strong {
  color: var(--ink);
}

.summary .total {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

form {
  display: grid;
  gap: 12px;
}

.signup-divider {
  margin: 18px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--cocoa);
  font-size: 0.9rem;
  font-weight: 700;
}

.payment-qr {
  display: grid;
  grid-template-columns: 1fr 118px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(242, 229, 211, 0.42);
}

.payment-qr h3 {
  margin-bottom: 6px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px dashed rgba(52, 42, 36, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(52, 42, 36, 0.12) 50%, transparent 0) 0 0 / 12px 12px,
    linear-gradient(rgba(52, 42, 36, 0.12) 50%, transparent 0) 0 0 / 12px 12px,
    #fffdf8;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cocoa);
  font-weight: 700;
}

.bundle-cart-link {
  margin-top: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 16px 84px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 14px 34px;
  }

  .top-nav {
    grid-column: auto;
    justify-content: center;
  }

  .notice-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .hero-copy,
  .section,
  .bundle-hero,
  .notice-strip,
  footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hero {
    min-height: 86vh;
  }

  .intro,
  .section-heading,
  .cart-checkout,
  .login-about {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .try-on-gallery {
    grid-template-columns: repeat(2, minmax(260px, 430px));
    justify-content: center;
    align-items: start;
  }

  .review-grid {
    gap: 14px;
    padding: 14px;
  }

  .review-grid img {
    flex-basis: calc((100% - 28px) / 3);
    width: calc((100% - 28px) / 3);
  }

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

  .set-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .thickness-layout {
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
  }

  .thickness-layout img {
    justify-self: center;
  }

  .section-heading.compact {
    grid-template-columns: 1fr auto;
  }
}
