/* Glow Lah v2 — modern beauty store: clean white, rose accent, blush gradients, full (uncropped) product photos */
:root {
  --ink: #1f1a24;
  --ink-2: #5a5163;
  --muted: #958b9c;
  --line: #f1e4e8;
  --bg: #ffffff;
  --blush: #fdf0f3;
  --blush-2: #fbe3ea;
  --rose: #d6336c;
  --rose-2: #b8255a;
  --peach: #ffd9c7;
  --lilac: #ece4ff;
  --plum: #2a1b2e;
  --gold: #f2a93b;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --r: 18px;
  --shadow: 0 10px 30px rgba(214, 51, 108, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.disclosure-bar { background: linear-gradient(90deg, var(--rose), #f06a8f); color: #fff; font-size: 12.5px; font-weight: 500; text-align: center; padding: 8px 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; order: -1; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 210deg, var(--rose), #f7a1b9, var(--peach), var(--rose)); color: #fff; font-family: var(--serif); font-size: 20px; box-shadow: 0 4px 12px rgba(214, 51, 108, .3); }
.brand-name { font-family: var(--serif); font-size: 27px; letter-spacing: -.01em; }
.search { flex: 1; position: relative; max-width: 560px; margin: 0 auto; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--rose); }
.search input { width: 100%; height: 46px; padding: 0 18px 0 46px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--blush); outline: none; font-size: 14.5px; transition: all .15s; }
.search input:focus { background: #fff; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(214, 51, 108, .12); }
.header-links { display: flex; gap: 6px; font-weight: 600; font-size: 14px; flex-shrink: 0; order: 1; }
.header-links a { padding: 9px 14px; border-radius: 999px; }
.header-links a:hover { background: var(--blush); color: var(--rose); }

.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-pill { flex-shrink: 0; border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: all .15s; }
.cat-pill:hover { border-color: var(--rose); color: var(--rose); }
.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-pill small { opacity: .55; font-weight: 500; margin-left: 4px; }

/* ---------- hero: gradient panel + sharp product mosaic ---------- */
.hero { padding: 22px 0 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 52px 52px; border-radius: 32px; background: radial-gradient(600px 380px at 95% 0%, rgba(255, 217, 199, .9), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(236, 228, 255, .9), transparent 60%), linear-gradient(135deg, #fde6ee, #fdf0f3); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--rose); font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; margin: 0 0 18px; box-shadow: 0 2px 8px rgba(214, 51, 108, .1); }
.eyebrow::before { content: "✦"; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.015em; }
.hero h1 em { color: var(--rose); }
.lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 480px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; }
.hero-stats div { background: rgba(255, 255, 255, .75); backdrop-filter: blur(6px); border-radius: 16px; padding: 14px 16px; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--rose); }
.hero-stats span { font-size: 12.5px; color: var(--ink-2); }
.hero-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-showcase .tile { position: relative; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow); transition: transform .3s; }
.hero-showcase .tile:nth-child(3n+2) { transform: translateY(22px); }
.hero-showcase .tile:hover { transform: translateY(-4px) rotate(-1deg); }
.hero-showcase img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; }
.hero-showcase .tile span { position: absolute; top: -8px; right: -8px; background: var(--rose); color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 9px; border-radius: 999px; box-shadow: 0 4px 10px rgba(214, 51, 108, .35); }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.trust > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r); }
.trust .ti { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-2); color: var(--rose); font-weight: 700; font-size: 18px; }
.trust p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.trust strong { font-size: 14.5px; }
.trust span { font-size: 13px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: all .18s; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 8px 20px rgba(214, 51, 108, .28); }
.btn-primary:hover { background: var(--rose-2); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-block { width: 100%; }

/* ---------- sections ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 52px 0 18px; }
.kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; }
.section-head p { margin: 4px 0 0; font-size: 14px; }
.see-all { font-weight: 700; font-size: 14px; color: var(--ink); border: 1.5px solid var(--line); padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.see-all:hover { border-color: var(--rose); color: var(--rose); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }

/* ---------- catalog ---------- */
.catalog { padding-bottom: 72px; }
.toolbar { display: flex; gap: 10px; align-items: center; }
.select { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.select select { height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.filter-toggle { display: none; height: 44px; }
.catalog-body { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 140px; background: var(--blush); border-radius: 24px; padding: 20px; }
.filter-group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1.5px solid var(--blush-2); }
.filter-group h3 { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid transparent; background: #fff; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--rose); }
.chip.active { background: var(--rose); color: #fff; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid transparent; border-radius: 12px; background: #fff; outline: none; }
.price-range input:focus { border-color: var(--rose); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--rose); width: 17px; height: 17px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }

/* ---------- product card: full photo, never cropped ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f6c9d6; }
.card-img { position: relative; aspect-ratio: 1; background: #fff; padding: 10px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge-disc { position: absolute; top: 12px; left: 12px; background: var(--rose); color: #fff; font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.badge-off { position: absolute; top: 12px; right: 12px; background: var(--lilac); color: #5b3fd1; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .04em; }
.card-body { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); padding-top: 12px; }
.card-shop { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rose); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; order: -1; }
.card-title { font-size: 14px; line-height: 1.45; margin: 0; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-title a { color: inherit; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 18px; color: var(--ink); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.stars { color: var(--gold); font-weight: 700; }
.stars b { color: var(--ink); font-weight: 600; }
.skeleton { background: linear-gradient(90deg, #fbeef2 25%, #fff7f9 50%, #fbeef2 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); aspect-ratio: .68; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 16px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- modal ---------- */
.product-modal { width: min(1000px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: none; border-radius: 28px; padding: 0; background: #fff; overflow: auto; box-shadow: 0 30px 80px rgba(42, 27, 46, .3); }
.product-modal::backdrop { background: rgba(42, 27, 46, .45); backdrop-filter: blur(4px); }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--blush); color: var(--rose); font-size: 24px; cursor: pointer; }
.pm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 32px; }
.pm-gallery .main { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #fff; border: 1.5px solid var(--line); }
.pm-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); padding: 4px; cursor: pointer; background: #fff; }
.thumbs button.active { border: 2px solid var(--rose); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.crumbs { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.pm-info h2, .product-page h1 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.2; margin: 8px 0 16px; }
.pm-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; background: var(--blush); border-radius: 18px; padding: 16px 18px; margin-bottom: 16px; }
.pm-price .price { font-size: 32px; color: var(--rose); }
.pm-price .save { background: #fff; color: var(--rose); font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.facts div { border: 1.5px solid var(--line); border-radius: 14px; padding: 11px; text-align: center; }
.facts strong { display: block; font-size: 17px; }
.facts span { font-size: 12px; color: var(--muted); }
.shop-line { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; color: var(--ink-2); }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lilac); color: #5b3fd1; }
.tag.green { background: #e3f6ec; color: #1b8a52; }
.pm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-actions .btn-primary { flex: 1; height: 56px; font-size: 16px; }
.pm-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 18px; }
.desc { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); white-space: pre-line; border-top: 1.5px solid var(--line); padding-top: 16px; max-height: 260px; overflow: auto; }
.related { grid-column: 1 / -1; }
.related h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 6px 0 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum); color: #eadde9; padding: 56px 0 40px; margin-top: 48px; }
.site-footer .muted { color: #b5a3b7; font-size: 14px; line-height: 1.7; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.site-footer .brand-name { color: #fff; }
.footer-note h4, .footer-cats h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 10px; color: #fff; }
.footer-cats { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; }
.footer-cats a { display: inline-block; margin: 0 8px 8px 0; font-size: 13.5px; color: #eadde9; background: rgba(255, 255, 255, .08); padding: 7px 14px; border-radius: 999px; }
.footer-cats a:hover { background: var(--rose); color: #fff; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--rose); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 8px 20px rgba(214, 51, 108, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
body.view-list .hero, body.view-list .rail-section { display: none; }

/* ---------- static pages ---------- */
.static-main { padding-top: 24px; padding-bottom: 64px; min-height: 60vh; }
.static-page .search { margin: 0 auto; }
.crumbs-nav { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs-nav a { color: var(--rose); font-weight: 600; }
.product-page { background: #fff; border: 1.5px solid var(--line); border-radius: 28px; }
.summary { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.desc-title { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 24px 0 8px; }
.product-page .desc { max-height: none; }
.take { font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--blush); border-radius: 18px; padding: 18px 20px; margin: 0; }
.take-points { margin: 0 0 8px; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.take-points li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.take-points li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 21px; height: 21px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.related-static h2, .cat-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 48px 0 18px; }
.cat-hero { background: linear-gradient(135deg, #fde6ee, #fdf0f3); border-radius: 28px; padding: 32px 34px; margin-bottom: 26px; }
.cat-hero h1 { font-size: 44px; margin: 0 0 10px; }
.cat-hero a { color: var(--rose); font-weight: 700; }
.subcats { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.cat-intro { max-width: 820px; line-height: 1.8; color: var(--ink-2); margin: 12px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding: 36px 28px; }
  .hero-showcase { max-width: 520px; }
  .trust { grid-template-columns: 1fr; }
  .catalog-body { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .pm-body { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .header-inner { gap: 10px; height: 62px; }
  .header-links, .brand-name { display: none; }
  .hero { padding-top: 12px; }
  .hero-inner { border-radius: 24px; padding: 28px 18px; gap: 26px; }
  .hero-stats { gap: 6px; }
  .hero-stats div { padding: 10px; }
  .hero-stats strong { font-size: 21px; }
  .hero-showcase { gap: 10px; }
  .hero-showcase .tile:nth-child(n+4) { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .card-img { padding: 6px; }
  .card-body { padding: 10px 10px 12px; }
  .price { font-size: 16px; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .toolbar { justify-content: space-between; }
  .section-head h2 { font-size: 27px; }
  .cat-hero h1 { font-size: 34px; }
}
@media (max-width: 680px) {
  .trust { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; margin-top: 14px; }
  .trust::-webkit-scrollbar { display: none; }
  .trust > div { flex: 0 0 78%; padding: 12px 14px; }
  .trust .ti { width: 36px; height: 36px; font-size: 15px; }
}
