:root {
  --ink: #25242a;
  --muted: #716d74;
  --line: #e7e3df;
  --paper: #faf9f7;
  --violet: #5c4b82;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.delivery { min-height: 28px; display: grid; place-items: center; padding: 6px 16px; background: #f3e3e0; border-bottom: 1px solid #dfc9c5; font-size: 11px; font-weight: 600; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .96); box-shadow: 0 6px 20px rgb(36 32 35 / .05); backdrop-filter: blur(15px); }
.header-main { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5%; border-bottom: 1px solid var(--line); }
.menu { width: 42px; height: 42px; padding: 0; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.brand img { display: block; width: 222px; height: auto; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header-right a { font-size: 11px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.header-icons { display: flex; gap: 9px; align-items: center; }
.header-icons span { width: 25px; height: 25px; display: grid; place-items: center; font-size: 18px; }
.category-nav { display: flex; justify-content: center; gap: 32px; padding: 17px 4%; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--line); }
.category-nav a { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.category-nav a[aria-current="page"] { color: var(--violet); }
.category-nav .sale { color: #d1a0a4; }
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 24px 5% 0; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.category-main { max-width: 1280px; min-height: calc(100vh - 215px); margin: 0 auto; padding: 26px 5% 100px; }
.category-main h1 { margin: 0; font: 500 clamp(34px, 4vw, 54px)/1.08 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.category-lead { max-width: 560px; margin: 16px 0 42px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.subcategories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.subcategory-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; color: var(--ink); background: #eeeae5; transition: transform .18s ease, box-shadow .18s ease; }
.subcategory-card:hover, .subcategory-card:focus-visible { transform: translateY(-4px); box-shadow: 0 13px 28px rgb(36 32 35 / .13); }
.subcategory-card__eyebrow { color: var(--violet); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.subcategory-card h2 { max-width: 250px; margin: auto 0 0; font: 500 42px/1 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.subcategory-card__arrow { align-self: flex-end; font-size: 31px; line-height: 1; }
.category-note { margin: 46px 0 0; padding: 26px 28px; border: 1px solid var(--line); background: var(--paper); }
.category-note b { display: block; margin-bottom: 7px; font-size: 15px; }
.category-note p { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.category-note a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.child-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr); min-height: 360px; background: var(--paper); }
.child-copy { padding: 58px 12%; }
.child-copy h1 { max-width: 540px; }
.child-art { position: relative; overflow: hidden; background: #dcd3e1; }
.child-art::before, .child-art::after { content: ""; position: absolute; border-radius: 50%; }
.child-art::before { width: 340px; height: 340px; right: -65px; top: 42px; background: #ece5d2; }
.child-art::after { width: 240px; height: 240px; right: 27%; bottom: -94px; background: #b8c7b1; }
.child-content { max-width: 820px; margin: 52px auto 0; padding: 0 5%; }
.child-content h2 { margin: 0 0 16px; font: 500 30px/1.2 "Playfair Display", Georgia, serif; }
.child-content p { max-width: 650px; color: var(--muted); line-height: 1.6; }
.listing-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; max-width: 1280px; margin: 48px auto 0; padding: 0 5% 100px; }
.filters-title { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.filters-title svg { width: 18px; height: 18px; }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 1px solid var(--line); }
.filter-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 49px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; color: var(--violet); font-size: 20px; font-weight: 400; }
.filter-group[open] summary::after { content: "−"; }
.filter-options { display: grid; gap: 10px; padding: 0 0 16px; }
.filter-options label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.filter-options input { width: 15px; height: 15px; accent-color: var(--violet); }
.listing-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.listing-head h2 { margin: 0; font: 500 32px/1.1 "Playfair Display", Georgia, serif; }
.sort-button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); font: 600 11px "DM Sans", Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.listing-intro { max-width: 640px; margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #f0eeeb; border-radius: 18px; background: #fff; box-shadow: 0 9px 23px rgb(36 32 35 / .06); transition: transform .18s ease, box-shadow .18s ease; }
.product-card__link { position: absolute; z-index: 1; inset: 0; }
.product-card--live .wishlist-button, .product-card--live .add-to-cart { z-index: 2; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 17px 32px rgb(36 32 35 / .12); }
.product-visual { position: relative; display: grid; min-height: 258px; place-items: center; overflow: hidden; background: #f7f5f1; }
.product-visual::after { content: ""; position: absolute; width: 166px; height: 32px; bottom: 19px; border-radius: 50%; background: rgb(36 32 35 / .12); filter: blur(12px); }
.product-visual--milk { background: linear-gradient(145deg, #f5efe9, #ddd2c6); }
.product-visual--foam { background: linear-gradient(145deg, #eff3ec, #c8d8c7); }
.product-visual--gel { background: linear-gradient(145deg, #f1eaf3, #dac6df); }
.product-visual--oil { background: linear-gradient(145deg, #f8f0d9, #e3c57e); }
.product-visual--powder { background: linear-gradient(145deg, #e9edef, #cad5da); }
.product-visual--live { background: #faf9f7; }
.product-visual--live::after { width: 112px; }
.product-visual--live > img { position: relative; z-index: 1; width: 88%; height: 230px; object-fit: contain; mix-blend-mode: multiply; }
.product-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 5px 8px; border-radius: 20px; background: #1f201d; color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .05em; }
.wishlist-button { position: absolute; z-index: 2; top: 7px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ink); background: transparent; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.wishlist-button:hover { background: rgb(255 255 255 / .58); color: var(--violet); }
.pack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 170px; padding: 18px 8px; border: 1px solid rgb(255 255 255 / .72); border-radius: 8px 8px 14px 14px; color: #383531; text-align: center; background: linear-gradient(95deg, #fff, #ebe7e0 55%, #fff); box-shadow: inset 8px 0 10px rgb(255 255 255 / .7), 8px 11px 16px rgb(56 48 41 / .17); }
.pack b { font: 600 11px/1.05 "DM Sans", sans-serif; letter-spacing: .09em; }
.pack small { margin-top: 13px; font: 500 10px/1.15 "Playfair Display", Georgia, serif; }
.pack--pump { height: 151px; margin-top: 20px; border-radius: 7px 7px 13px 13px; }
.pack--pump::before { content: ""; position: absolute; top: -34px; width: 23px; height: 35px; border-radius: 5px 5px 0 0; background: #d4d1cd; box-shadow: 14px 7px 0 -5px #d4d1cd; }
.pack--foam { width: 87px; height: 150px; margin-top: 18px; border-radius: 12px; background: linear-gradient(95deg, #f9ffff, #d9ece3 50%, #fff); }
.pack--foam::before { content: ""; position: absolute; top: -32px; width: 29px; height: 34px; border-radius: 5px 5px 0 0; background: #d7e6de; }
.pack--gel { width: 77px; height: 175px; border-radius: 8px 8px 17px 17px; background: linear-gradient(95deg, #fbf6fc, #e1cae4 53%, #fff); }
.pack--gel::before { content: ""; position: absolute; top: -16px; width: 46px; height: 17px; border-radius: 4px 4px 0 0; background: #ddcce2; }
.pack--oil { width: 79px; height: 166px; border-radius: 10px 10px 15px 15px; background: linear-gradient(95deg, #fff9e9, #ecd08c 55%, #fff7e4); }
.pack--oil::before { content: ""; position: absolute; top: -37px; width: 31px; height: 39px; border-radius: 5px 5px 0 0; background: #4d3c28; }
.pack--powder { width: 109px; height: 130px; margin-top: 20px; border-radius: 12px 12px 20px 20px; background: linear-gradient(95deg, #f9fcfc, #d8e2e6 55%, #fff); }
.pack--powder::before { content: ""; position: absolute; top: -13px; width: 83px; height: 14px; border-radius: 7px 7px 2px 2px; background: #cbd6da; }
.product-card__body { position: relative; min-height: 218px; padding: 16px 16px 20px; }
.rating { margin: 0 0 8px; font-size: 12px; letter-spacing: .04em; }
.rating span { margin-left: 5px; color: var(--muted); font-size: 11px; letter-spacing: 0; }
.product-brand { margin: 0 0 5px; color: var(--violet); font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.product-card h3 { min-height: 40px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.28; text-transform: uppercase; }
.product-description { min-height: 38px; margin: 8px 38px 15px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.product-price { margin: 0; font-size: 16px; font-weight: 600; }
.product-price del { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.add-to-cart { position: absolute; right: 15px; bottom: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: #20211e; cursor: pointer; }
.add-to-cart:hover { background: var(--violet); }
@media (max-width: 850px) {
  .header-main { min-height: 66px; grid-template-columns: 42px 1fr auto; padding: 0 4%; }
  .brand { justify-self: center; }
  .brand img { width: 160px; }
  .header-right > a { display: none; }
  .header-icons span:not(:last-child) { display: none; }
  .category-nav { justify-content: flex-start; gap: 24px; padding: 13px 5%; }
  .subcategories { grid-template-columns: 1fr; }
  .subcategory-card { min-height: 230px; }
  .child-hero { grid-template-columns: 1fr; }
  .child-art { min-height: 180px; }
  .listing-shell { grid-template-columns: 1fr; gap: 28px; }
  .filters { order: 2; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } .product-visual { min-height: 290px; } }
@media (max-width: 430px) { .delivery { font-size: 10px; } .category-main { padding-top: 20px; } .header-icons { gap: 2px; } }
