:root {
  --ink: #17131a;
  --muted: #665f69;
  --paper: #fffdfb;
  --lilac: #ebddf4;
  --purple: #38004d;
  --line: #ded7e1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Josefin Sans", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #9d6fbd; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.site-header { min-height: 76px; padding: 18px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.brand span { color: var(--purple); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-header nav a, .text-link { text-underline-offset: 5px; }
main { min-height: 70vh; }
.intro, .catalog, .product-hero, .reviews-section, .text-page, .breadcrumbs { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.intro { min-height: 66vh; padding: clamp(72px, 11vw, 148px) 0 80px; display: grid; align-content: center; justify-items: start; }
.intro h1 { max-width: 900px; margin: 10px 0 22px; font: 500 clamp(3rem, 7.4vw, 7rem)/.98 var(--serif); letter-spacing: -.045em; }
.intro > p:not(.eyebrow) { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: 1.18rem; }
.eyebrow, .category { color: var(--purple); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; color: #fff; background: var(--purple); text-decoration: none; font-weight: 700; }
.catalog { padding: 70px 0 100px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .reviews-section h2, .text-page h1, .text-page h2 { font-family: var(--serif); font-weight: 500; }
.section-heading h2, .reviews-section h2 { margin: 4px 0; font-size: clamp(2.1rem, 4vw, 4rem); }
.section-heading > p { max-width: 330px; color: var(--muted); }
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; padding: 22px; background: var(--lilac); }
.filters label { display: grid; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filters input, .filters select { min-height: 48px; width: 100%; border: 1px solid #bdaec7; background: #fff; padding: 0 14px; color: var(--ink); font: inherit; }
.result-count { min-height: 24px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 22px; }
.product-card[hidden] { display: none; }
.product-card a { display: block; text-decoration: none; }
.product-card img, .image-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f4eff5; }
.image-placeholder { display: grid; place-items: center; color: var(--muted); }
.product-card .category { margin: 16px 0 5px; }
.product-card h2 { margin: 0 0 5px; font: 500 1.45rem/1.2 var(--serif); }
.product-card p:last-child { margin: 0; color: var(--muted); }
.breadcrumbs { display: flex; gap: 10px; padding-top: 24px; color: var(--muted); font-size: .9rem; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(34px, 6vw, 90px); padding: 46px 0 90px; align-items: center; }
.product-image { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f4eff5; }
.product-copy h1 { margin: 8px 0 18px; font: 500 clamp(2.6rem, 5vw, 5rem)/1 var(--serif); letter-spacing: -.035em; }
.product-copy > p:not(.eyebrow, .summary, .source-note) { color: var(--muted); font-size: 1.08rem; }
.summary { margin: 24px 0; padding: 16px 0; border-block: 1px solid var(--line); font-weight: 700; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.source-note { color: var(--muted); font-size: .85rem; }
.reviews-section { padding: 80px 0 110px; border-top: 1px solid var(--line); }
.review-card { max-width: 760px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.review-card h3 { margin: 12px 0 8px; font: 500 1.5rem var(--serif); }
.review-meta { display: flex; gap: 12px; align-items: center; }
.rating { font-weight: 700; color: var(--purple); }
.verified { padding: 4px 8px; background: var(--lilac); font-size: .76rem; font-weight: 700; }
.reviewer, .empty-state { color: var(--muted); }
.reviewer time { margin-left: 8px; }
.review-photos { display: flex; gap: 10px; margin-top: 18px; }
.review-photos img { width: 150px; height: 150px; object-fit: cover; }
.text-page { max-width: 760px; padding: 90px 0 120px; }
.text-page h1 { margin: 8px 0 34px; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; }
.text-page h2 { margin-top: 42px; font-size: 1.8rem; }
.text-page p { font-size: 1.06rem; }
footer { padding: 36px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .intro { min-height: auto; }
  .section-heading, footer { align-items: flex-start; flex-direction: column; }
  .filters, .product-hero { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .site-header nav { gap: 14px; }
  .intro, .catalog, .product-hero, .reviews-section, .text-page, .breadcrumbs { width: min(100% - 28px, 1180px); }
  .intro h1 { font-size: 2.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
}
