:root {
  --plum-950: #2a0a35;
  --plum-900: #3d0d4b;
  --plum-800: #541261;
  --plum-700: #6c3cf0;
  --plum-100: #eee9ff;
  --plum-050: #f8f5ff;
  --lime: #c8f25b;
  --milk: #f7f5f1;
  --surface: #fffdfa;
  --surface-strong: #ffffff;
  --graphite: #1c1b1f;
  --muted: #6e6a73;
  --line: #e8e3ec;
  --shadow: 0 24px 60px rgba(65, 28, 76, .10);
  --shadow-soft: 0 12px 36px rgba(65, 28, 76, .07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Onest", system-ui, sans-serif;
  color: var(--graphite);
  background: linear-gradient(180deg, #fbf9f7 0%, var(--milk) 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--compact { padding-top: 64px; }
.section--tinted { background: linear-gradient(180deg, rgba(238,233,255,.55), rgba(247,245,241,.2)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 249, 247, .82);
  border-bottom: 1px solid rgba(232, 227, 236, .7);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.brand-word { font-size: 28px; letter-spacing: -.03em; }
.brand-mark {
  position: relative;
  width: 40px;
  height: 48px;
  display: inline-block;
  border: 7px solid var(--plum-900);
  border-right: 0;
  border-radius: 18px 0 0 18px;
  background: transparent;
  flex: 0 0 auto;
}
.brand-mark::after { content: ""; position: absolute; right: -8px; top: -7px; bottom: -7px; width: 12px; border-top: 7px solid var(--plum-900); border-bottom: 7px solid var(--plum-900); }
.brand-mark__panel { position: absolute; width: 10px; border-radius: 8px; top: 9px; bottom: 9px; }
.brand-mark__panel--one { left: 10px; background: #7d5a92; }
.brand-mark__panel--two { left: 18px; background: #d6cbe0; opacity: .85; }
.brand-mark--mini { transform: scale(.72); transform-origin: left center; margin-right: -8px; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a, .login-link { color: #3f3b44; font-size: 14px; font-weight: 500; }
.main-nav a:hover, .login-link:hover { color: var(--plum-800); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.my-looks-link { color: #3f3b44; font-size: 14px; font-weight: 500; }
.my-looks-link:hover { color: var(--plum-800); }
.my-looks-link.is-current { color: var(--plum-800); font-weight: 700; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--graphite); margin: 6px 0; border-radius: 999px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: linear-gradient(135deg, var(--plum-900), #6e197a); color: white; box-shadow: 0 14px 28px rgba(84,18,97,.22); }
.button--secondary { background: rgba(255,255,255,.7); color: var(--plum-900); border-color: #d5c6da; }
.button--small { min-height: 44px; padding-inline: 18px; font-size: 14px; }
.button--light { background: white; color: var(--plum-900); }
.button--full { width: 100%; min-height: 46px; }

.hero { padding-top: 70px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--plum-800); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--light { color: #decce6; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(46px, 6vw, 78px); line-height: 1.03; letter-spacing: -.055em; }
h2 { margin-bottom: 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.04em; }
h3 { line-height: 1.25; }
.hero-text { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.hero-points div { display: flex; align-items: center; gap: 9px; color: #534f58; font-size: 13px; }
.mini-icon { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--plum-100); color: var(--plum-800); font-weight: 700; }

.hero-visual { position: relative; }
.preview-card { display: grid; grid-template-columns: 1fr 96px; padding: 18px; border-radius: var(--radius-xl); background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.preview-stage { position: relative; min-height: 510px; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #f4ece8, #eee6ef); }
.preview-half { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.preview-half--after { clip-path: inset(0 0 0 50%); background: linear-gradient(135deg, #efe6e0, #e7d9e8); }
.preview-label { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 7px 11px; border-radius: 10px; background: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; }
.preview-label--accent { left: auto; right: 18px; color: white; background: var(--plum-800); }
.compare-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.compare-handle { position: absolute; top: 50%; left: 50%; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 5px solid white; border-radius: 50%; background: var(--plum-800); color: white; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.compare-handle::before { content: ""; position: absolute; width: 2px; height: 540px; background: rgba(255,255,255,.9); z-index: -1; }
.person { position: relative; width: 225px; height: 410px; margin-top: 45px; }
.person__head { position: absolute; left: 76px; top: 8px; width: 74px; height: 86px; border-radius: 48% 48% 44% 44%; background: #d7a985; z-index: 2; }
.person__hair { position: absolute; left: 60px; top: 0; width: 108px; height: 136px; border-radius: 48% 48% 42% 42%; background: #4f332d; }
.person__torso { position: absolute; left: 54px; top: 98px; width: 120px; height: 152px; border-radius: 36px 36px 14px 14px; background: #f6f3ef; z-index: 2; }
.person__legs { position: absolute; left: 60px; top: 238px; width: 108px; height: 172px; border-radius: 12px 12px 30px 30px; background: linear-gradient(90deg, #9eb4c3 0 48%, #829bab 48% 52%, #9eb4c3 52%); }
.person--after .person__torso { background: #4b2f25; }
.person__jacket { position: absolute; left: 35px; top: 90px; width: 158px; height: 178px; border-radius: 42px 42px 18px 18px; border: 28px solid #e5d3be; border-bottom-width: 20px; z-index: 3; }
.person__bag { position: absolute; right: 0; top: 218px; width: 58px; height: 68px; border-radius: 14px; background: #744838; z-index: 4; box-shadow: inset 0 10px 0 #5b362a; }
.product-stack { display: flex; flex-direction: column; gap: 10px; padding-left: 12px; }
.product-chip { flex: 1; min-height: 72px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 18px; background: white; font-size: 30px; }
.product-chip i { position: absolute; right: 7px; bottom: 7px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 12px; font-style: normal; }
.preview-note { margin: 14px 30px 0; padding: 12px 18px; border-radius: 14px; background: rgba(238,233,255,.7); color: var(--plum-900); font-size: 13px; }

.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); font-size: 17px; }
.section-heading--row { max-width: none; display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.text-link { border: 0; background: none; color: var(--plum-800); font-weight: 700; white-space: nowrap; }
button.text-link { cursor: pointer; padding: 0; font: inherit; }
.text-link--danger { color: #b3261e; }
.text-link--danger:disabled { opacity: .5; cursor: default; }
[data-gen-action] { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.gen-preview { display: inline-block; width: 44px; height: 58px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--plum-050); }
.gen-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 260px; padding: 28px; border: 1px solid rgba(226,220,229,.9); border-radius: var(--radius-lg); background: rgba(255,255,255,.74); box-shadow: var(--shadow-soft); }
.step-number { position: absolute; top: 20px; right: 22px; color: #9b8aa3; font-weight: 700; }
.step-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 20px; background: var(--plum-100); color: var(--plum-800); font-size: 25px; font-weight: 700; }
.step-card h3 { margin-bottom: 12px; font-size: 21px; }
.step-card p { margin-bottom: 0; color: var(--muted); }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection-card { position: relative; min-height: 270px; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: end; border-radius: var(--radius-lg); color: white; box-shadow: var(--shadow-soft); isolation: isolate; }
.collection-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--card-bg); }
.collection-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(25,14,28,.74)); }
.collection-card span { font-size: 26px; }
.collection-card h3 { margin: 8px 0 5px; font-size: 27px; }
.collection-card p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.collection-card--spring { --card-bg: radial-gradient(circle at 25% 20%, #ffd9e5 0 18%, transparent 19%), linear-gradient(135deg,#b47a8f,#6a4d59); }
.collection-card--summer { --card-bg: linear-gradient(160deg,#8ad4e5 0 42%,#efc98f 43% 61%,#8fb69b 62%); }
.collection-card--autumn { --card-bg: radial-gradient(circle at 70% 22%,#f2ad49 0 12%,transparent 13%), linear-gradient(135deg,#bd6a36,#634224); }
.collection-card--winter { --card-bg: linear-gradient(135deg,#a9c7d9,#eef1f1 45%,#6d8796); }
.collection-card--beach { --card-bg: linear-gradient(160deg,#77d2de 0 43%,#f6d29f 44% 62%,#c98b5d 63%); }
.collection-card--office { --card-bg: linear-gradient(135deg,#a6a3a0,#d7d0c5 48%,#625a54); }
.collection-card--evening { --card-bg: radial-gradient(circle at 80% 20%,#d6a04e 0 8%,transparent 9%),linear-gradient(135deg,#29191e,#7e4035); }
.collection-card--top { --card-bg: linear-gradient(135deg,#d4c6b3,#8f7862); }
.collection-card--street { --card-bg: linear-gradient(135deg,#56636f,#b5a08e); }
.collection-card--minimal { --card-bg: linear-gradient(135deg,#ddd7cf,#8c837c); }
.collection-card--hidden { display: none; }
.collection-grid.is-expanded .collection-card--hidden { display: flex; }

.tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { min-height: 42px; padding: 0 18px; border: 1px solid #d6c9dd; border-radius: 999px; background: transparent; color: var(--plum-900); font-weight: 600; }
.tab.is-active { background: var(--plum-900); color: white; border-color: var(--plum-900); }
.looks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.look-card { overflow: hidden; border: 1px solid rgba(226,220,229,.9); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-soft); }
.look-card.is-hidden { display: none; }
.look-image { position: relative; min-height: 320px; background: var(--look-bg); }
.look-image::after { content: ""; position: absolute; left: 50%; top: 40px; width: 90px; height: 240px; transform: translateX(-50%); border-radius: 42px 42px 20px 20px; background: linear-gradient(180deg,#e0b18d 0 20%,#f4efe9 21% 58%,#baa995 59%); box-shadow: 0 18px 24px rgba(0,0,0,.08); }
.look-image--one { --look-bg: linear-gradient(135deg,#d9c5b6,#f0e8df); }
.look-image--two { --look-bg: linear-gradient(135deg,#b8d8e5,#eef4f5); }
.look-image--three { --look-bg: linear-gradient(135deg,#30242a,#8b756f); }
.look-image--four { --look-bg: linear-gradient(135deg,#d9d3cf,#b6a79b); }
.rank-badge { position: absolute; top: 14px; left: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f4c34f; font-weight: 800; }
.rank-badge--silver { background: #d8dce1; }
.rank-badge--bronze { background: #d98d58; }
.rank-badge--plain { background: white; border: 1px solid var(--line); }
.favorite { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 22px; }
.favorite.is-active { color: #c5476c; }
.look-body { padding: 18px; }
.look-title { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.look-title h3 { margin-bottom: 8px; font-size: 18px; }
.look-title span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.look-body p { color: var(--muted); font-size: 13px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choice-card { padding: 34px; display: flex; gap: 24px; align-items: start; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.choice-card--public { background: linear-gradient(135deg,#f7f1ff,#fff); }
.choice-card--private { background: linear-gradient(135deg,#f2f8e2,#fff); }
.choice-icon { width: 64px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 20px; background: white; color: var(--plum-800); font-size: 28px; }
.choice-card h3 { margin-bottom: 10px; font-size: 24px; }
.choice-card p { color: var(--muted); }
.choice-card a { color: var(--plum-800); font-weight: 700; }

.extension-banner { display: grid; grid-template-columns: .9fr 1.35fr auto; gap: 36px; align-items: center; padding: 42px; border-radius: var(--radius-xl); color: white; background: linear-gradient(135deg,var(--plum-950),#62126f); box-shadow: var(--shadow); }
.extension-window { padding: 16px; border-radius: 18px; background: #17131a; }
.extension-window__top { display: flex; gap: 6px; margin-bottom: 18px; }
.extension-window__top span { width: 8px; height: 8px; border-radius: 50%; background: #7f7186; }
.market-icons { display: flex; gap: 10px; }
.market-icons b { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 16px; color: #302135; background: white; font-size: 13px; }
.extension-action { margin: 16px 0 0 auto; width: 76px; height: 76px; position: relative; display: grid; place-items: center; border-radius: 18px; background: var(--plum-100); }
.extension-action i { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #243000; font-style: normal; font-weight: 800; }
.extension-copy h2 { margin-bottom: 14px; }
.extension-copy p, .extension-copy li { color: #e5dce8; }
.extension-copy ul { margin: 18px 0 0; padding-left: 20px; }

.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); background: #f2efeb; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 34px; }
.footer-grid h3 { margin-bottom: 15px; font-size: 14px; }
.footer-grid > div > a:not(.brand) { display: block; margin: 9px 0; color: var(--muted); font-size: 13px; }
.footer-brand p { color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--plum-900); font-size: 11px; font-weight: 700; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }

.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25,17,28,.56); backdrop-filter: blur(8px); }
.modal-dialog { position: relative; width: min(100%, 480px); padding: 38px; border-radius: 28px; background: white; text-align: center; box-shadow: var(--shadow); }
.modal-close { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--plum-050); font-size: 24px; }
.modal-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 22px; background: var(--plum-100); color: var(--plum-800); font-size: 28px; }
.modal-dialog p { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 20px; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-soft); }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .login-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .collection-grid, .looks-grid { grid-template-columns: repeat(2,1fr); }
  .extension-banner { grid-template-columns: 1fr 1.3fr; }
  .extension-banner > .button { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2,1fr); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 72px 0; }
  .header-actions .button { display: none; }
  .brand-word { font-size: 24px; }
  .hero { padding-top: 44px; }
  h1 { font-size: 48px; }
  .hero-actions .button { width: 100%; }
  .preview-card { grid-template-columns: 1fr; }
  .product-stack { padding: 12px 0 0; display: grid; grid-template-columns: repeat(5,1fr); }
  .product-chip { min-height: 62px; font-size: 24px; }
  .preview-stage { min-height: 430px; }
  .section-heading--row { align-items: start; flex-direction: column; }
  .steps-grid, .collection-grid, .looks-grid, .choice-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 320px; }
  .extension-banner { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .hero-points { flex-direction: column; gap: 12px; }
  .preview-stage { min-height: 380px; }
  .person { transform: scale(.82); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Catalog and collection pages */
.main-nav a.is-current { color: var(--plum-800); font-weight: 700; }
.catalog-hero { padding-bottom: 48px; }
.catalog-hero__grid { display:grid; grid-template-columns:1.45fr .55fr; gap:72px; align-items:end; }
.catalog-hero__aside { padding:30px; border:1px solid var(--line); border-radius:var(--radius-lg); background:rgba(255,255,255,.72); box-shadow:var(--shadow-soft); }
.catalog-hero__number { display:block; color:var(--plum-800); font-size:64px; font-weight:700; line-height:1; letter-spacing:-.06em; }
.catalog-hero__aside p { margin:8px 0 18px; font-size:18px; }
.catalog-hero__note { display:inline-flex; padding:8px 12px; border-radius:999px; background:var(--plum-100); color:var(--plum-900); font-size:12px; font-weight:700; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:34px; }
.catalog-search { min-width:270px; height:48px; display:flex; align-items:center; gap:10px; padding:0 16px; border:1px solid var(--line); border-radius:14px; background:white; }
.catalog-search input { width:100%; border:0; outline:0; background:transparent; color:var(--graphite); }
.filter-pills { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.filter-pill { min-height:42px; padding:0 16px; border:1px solid #d8cedc; border-radius:999px; background:rgba(255,255,255,.55); color:var(--plum-900); font-weight:600; }
.filter-pill.is-active { color:white; background:var(--plum-900); border-color:var(--plum-900); }
.featured-collection { display:grid; grid-template-columns:1.08fr .92fr; min-height:420px; overflow:hidden; margin-bottom:86px; border:1px solid var(--line); border-radius:var(--radius-xl); background:white; box-shadow:var(--shadow); }
.featured-collection__visual { position:relative; overflow:hidden; display:grid; place-items:center; background:linear-gradient(140deg,#d9b7b1,#f5e8df 54%,#a88d83); }
.featured-collection__tag { position:absolute; top:22px; left:22px; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.88); color:var(--plum-900); font-size:12px; font-weight:700; }
.featured-collection__figure,.collection-cover__figure,.look-detail__figure { position:relative; width:180px; height:330px; border-radius:70px 70px 30px 30px; background:linear-gradient(180deg,#d5a280 0 18%,#ebe0d2 19% 55%,#a8b3bd 56%); box-shadow:0 28px 42px rgba(55,32,49,.18); }
.featured-collection__figure::after,.collection-cover__figure::after,.look-detail__figure::after { content:""; position:absolute; left:28px; right:28px; top:58px; height:156px; border:24px solid #d7c1a8; border-bottom-width:18px; border-radius:42px 42px 20px 20px; }
.featured-collection__items { position:absolute; right:22px; bottom:22px; display:flex; gap:8px; }
.featured-collection__items b { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:rgba(255,255,255,.9); }
.featured-collection__copy { padding:56px; align-self:center; }
.featured-collection__copy p { color:var(--muted); font-size:17px; }
.collection-meta { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 30px; }
.collection-meta span { padding:8px 12px; border-radius:999px; background:var(--plum-050); color:var(--plum-900); font-size:12px; font-weight:700; }
.catalog-heading { margin-bottom:26px; }
.catalog-count { color:var(--muted); font-size:14px; }
.catalog-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.catalog-card { position:relative; min-height:330px; overflow:hidden; padding:24px; display:flex; flex-direction:column; justify-content:space-between; border-radius:var(--radius-lg); color:white; background:var(--card-bg); box-shadow:var(--shadow-soft); isolation:isolate; transition:transform .25s ease, box-shadow .25s ease; }
.catalog-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(30,15,35,.05),rgba(30,15,35,.82)); }
.catalog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.catalog-card[hidden] { display:none; }
.catalog-card__top { display:flex; justify-content:space-between; align-items:start; }
.catalog-card__top>span { font-size:30px; font-weight:700; }
.catalog-card__top em { padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.18); backdrop-filter:blur(10px); font-size:11px; font-style:normal; }
.catalog-card h3 { margin-bottom:7px; font-size:25px; }
.catalog-card p { color:rgba(255,255,255,.82); }
.catalog-card__footer { display:flex; justify-content:space-between; gap:12px; align-items:center; color:rgba(255,255,255,.8); font-size:11px; }
.catalog-card__footer b { color:white; font-size:12px; }
.catalog-card--spring { --card-bg:linear-gradient(135deg,#bb8495,#684c5a); }
.catalog-card--summer { --card-bg:linear-gradient(145deg,#7dc9d8,#e8b981 65%,#967662); }
.catalog-card--office { --card-bg:linear-gradient(135deg,#a7a4a0,#625852); }
.catalog-card--evening { --card-bg:linear-gradient(135deg,#28191f,#7f4038); }
.catalog-card--minimal { --card-bg:linear-gradient(135deg,#d8d0c7,#817970); }
.catalog-card--street { --card-bg:linear-gradient(135deg,#4c5965,#a48d7d); }
.catalog-card--market { --card-bg:linear-gradient(135deg,#7e168e,#2e0f4c); }
.catalog-card--top { --card-bg:linear-gradient(135deg,#c2a77a,#6d4f36); }
.catalog-empty { padding:70px 20px; text-align:center; border:1px dashed #d8cddd; border-radius:var(--radius-lg); }
.catalog-empty span { font-size:42px; color:var(--plum-800); }
.collection-cta { display:flex; justify-content:space-between; align-items:center; gap:42px; padding:44px; border-radius:var(--radius-xl); background:linear-gradient(135deg,#f7f1ff,#fff); border:1px solid #e2d7e8; }
.collection-cta p { margin-bottom:0; color:var(--muted); }

.breadcrumbs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; color:var(--muted); font-size:13px; }
.breadcrumbs b { color:var(--graphite); }
.collection-detail-hero { padding-top:48px; }
.collection-detail-hero__grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:72px; align-items:center; }
.collection-meta--large span { background:white; border:1px solid var(--line); }
.collection-cover { position:relative; min-height:500px; overflow:hidden; display:grid; place-items:center; border-radius:var(--radius-xl); background:linear-gradient(135deg,#e7cfc5,#f6eee8 52%,#b5a09a); box-shadow:var(--shadow); }
.collection-cover__label { position:absolute; left:24px; top:24px; padding:9px 13px; border-radius:999px; background:rgba(255,255,255,.88); color:var(--plum-900); font-size:12px; font-weight:700; }
.collection-cover__products { position:absolute; right:24px; bottom:24px; display:grid; grid-template-columns:repeat(2,54px); gap:8px; }
.collection-cover__products span { width:54px; height:54px; display:grid; place-items:center; border-radius:16px; background:rgba(255,255,255,.9); font-size:24px; }
.view-switch { display:flex; padding:4px; border:1px solid var(--line); border-radius:12px; background:white; }
.view-switch button { width:42px; height:38px; border:0; border-radius:9px; background:transparent; color:var(--muted); }
.view-switch button.is-active { color:white; background:var(--plum-900); }
.detail-look-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.detail-look-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:white; box-shadow:var(--shadow-soft); }
.detail-look-card__visual { position:relative; min-height:330px; display:grid; place-items:center; background:var(--tone); }
.detail-look-card__figure { width:130px; height:245px; border-radius:52px 52px 24px 24px; }
.look-tone--sand { --tone:linear-gradient(135deg,#d7c4b4,#f2e9df); }
.look-tone--blue { --tone:linear-gradient(135deg,#b5d4df,#edf4f5); }
.look-tone--rose { --tone:linear-gradient(135deg,#d8b4bd,#f5e5e8); }
.look-tone--sage { --tone:linear-gradient(135deg,#b8c9b1,#edf0e8); }
.look-tone--lavender { --tone:linear-gradient(135deg,#c8bad8,#f0e9f5); }
.look-tone--cream { --tone:linear-gradient(135deg,#e0d5c5,#f7f1e8); }
.look-status { position:absolute; top:16px; left:16px; z-index:2; padding:7px 10px; border-radius:999px; color:white; background:var(--plum-900); font-size:10px; font-weight:700; }
.look-status--lime { color:#273100; background:var(--lime); }
.detail-look-card__body { padding:20px; }
.detail-look-card__body h3 { margin-bottom:6px; font-size:20px; }
.detail-look-card__body p { color:var(--muted); font-size:13px; }
.item-dots { display:flex; gap:6px; margin:16px 0; }
.item-dots span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--plum-050); }
.look-price { display:flex; justify-content:space-between; margin:14px 0 18px; font-size:13px; }
.look-price span { color:var(--muted); }
.look-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.look-actions .button { min-height:44px; padding:0 12px; font-size:13px; }
.detail-look-grid.is-compact { grid-template-columns:1fr; }
.detail-look-grid.is-compact .detail-look-card { display:grid; grid-template-columns:280px 1fr; }
.detail-look-grid.is-compact .detail-look-card__visual { min-height:260px; }
.center-action { margin-top:32px; text-align:center; }

.look-detail { padding-top:46px; }
.look-detail__grid { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.look-detail__visual { position:relative; min-height:620px; display:grid; place-items:center; border-radius:var(--radius-xl); background:var(--tone); box-shadow:var(--shadow); }
.look-detail__figure { width:230px; height:430px; }
.favorite--large { width:52px; height:52px; font-size:28px; }
.look-detail__copy h1 { font-size:clamp(48px,6vw,72px); }
.look-detail__stats { display:flex; flex-wrap:wrap; gap:10px; margin:26px 0; }
.look-detail__stats span { padding:8px 12px; border-radius:999px; background:white; border:1px solid var(--line); color:var(--muted); font-size:12px; }
.look-detail__actions { display:flex; gap:12px; flex-wrap:wrap; }
.look-detail__hint { margin-top:12px; color:var(--muted); font-size:12px; }
.look-total { font-size:22px; color:var(--plum-900); }
.product-catalog-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.product-catalog-card { position:relative; display:grid; grid-template-columns:96px 1fr 34px; gap:18px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:var(--radius-lg); background:white; }
.product-catalog-card__visual { width:96px; height:110px; display:grid; place-items:center; border-radius:18px; background:var(--plum-050); font-size:42px; }
.product-catalog-card span,.product-catalog-card p { color:var(--muted); font-size:12px; }
.product-catalog-card h3 { margin:4px 0; font-size:17px; }
.product-catalog-card>a { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--plum-100); color:var(--plum-900); font-weight:700; }
.result-toast { position:fixed; left:50%; bottom:28px; z-index:100; transform:translate(-50%,18px); opacity:0; padding:12px 18px; border-radius:14px; background:var(--plum-950); color:white; transition:.25s ease; pointer-events:none; }
.result-toast.is-visible { opacity:1; transform:translate(-50%,0); }

@media (max-width:1040px){
  .catalog-grid{grid-template-columns:repeat(2,1fr)}
  .catalog-hero__grid,.featured-collection,.collection-detail-hero__grid,.look-detail__grid{grid-template-columns:1fr}
  .catalog-hero__aside{max-width:360px}
  .detail-look-grid{grid-template-columns:repeat(2,1fr)}
  .product-catalog-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .catalog-toolbar{align-items:stretch;flex-direction:column}
  .catalog-search{min-width:0}
  .filter-pills{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .filter-pill{white-space:nowrap}
  .catalog-grid,.detail-look-grid{grid-template-columns:1fr}
  .featured-collection__copy{padding:32px 24px}
  .featured-collection__visual{min-height:390px}
  .collection-cta{align-items:flex-start;flex-direction:column;padding:30px 24px}
  .collection-cover{min-height:420px}
  .detail-look-grid.is-compact .detail-look-card{grid-template-columns:1fr}
  .look-detail__visual{min-height:480px}
  .product-catalog-card{grid-template-columns:76px 1fr 30px;gap:12px}
  .product-catalog-card__visual{width:76px;height:88px}
}

/* Ratings, public profile and community look pages */
.ratings-hero{padding-bottom:48px}.ratings-hero__grid{display:grid;grid-template-columns:1.35fr .65fr;gap:64px;align-items:end}.ratings-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.ratings-hero__card{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;padding:28px;border:1px solid var(--line);border-radius:var(--radius-xl);background:linear-gradient(145deg,#fff,#f4ebff);box-shadow:var(--shadow-soft)}.ratings-hero__medal{width:72px;height:72px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,#ffe59f,#cf9b2a);color:#4a3100;font-size:28px;font-weight:800}.ratings-hero__card p{margin:4px 0 0;color:var(--muted);font-size:13px}.ratings-hero__numbers{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ratings-hero__numbers span{padding:12px;border-radius:14px;background:white;color:var(--muted);font-size:12px}.ratings-hero__numbers b{display:block;color:var(--plum-900);font-size:20px}.ratings-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.ratings-sort{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.ratings-sort select{height:42px;padding:0 38px 0 14px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--graphite)}.leaderboard{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.ranking-look{overflow:hidden;display:grid;grid-template-columns:.86fr 1.14fr;border:1px solid var(--line);border-radius:var(--radius-xl);background:white;box-shadow:var(--shadow-soft)}.ranking-look--featured{grid-column:1/-1;grid-template-columns:1.05fr .95fr}.ranking-look__visual{position:relative;min-height:360px;display:grid;place-items:center}.ranking-look__figure,.profile-look__figure,.public-look-detail__figure{width:142px;height:270px;border-radius:56px 56px 28px 28px;background:linear-gradient(180deg,#f8f5f2 0 30%,#c8b39d 30% 57%,#6b5d54 57% 100%);box-shadow:0 24px 50px rgba(43,31,47,.16)}.ranking-place{position:absolute;top:16px;left:16px;width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:white;color:var(--plum-900);font-weight:800;box-shadow:var(--shadow-soft)}.ranking-place--gold{background:linear-gradient(145deg,#ffe9a7,#d8aa3f);color:#4a3100}.ranking-place--silver{background:linear-gradient(145deg,#f4f4f4,#b6bbc2);color:#333}.ranking-place--bronze{background:linear-gradient(145deg,#efc1a0,#a96843);color:#4f2410}.ranking-tag{position:absolute;right:16px;top:16px;padding:8px 11px;border-radius:999px;background:var(--plum-900);color:white;font-size:10px;font-weight:700}.ranking-tag--light{background:white;color:var(--plum-900)}.ranking-tag--lime{background:var(--lime);color:#273100}.ranking-look__body{padding:26px}.ranking-author{display:flex;align-items:center;gap:10px;margin-bottom:18px}.ranking-author small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.ranking-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#eadcff,#c8f25b);color:var(--plum-950);font-weight:800}.ranking-avatar--blue{background:linear-gradient(145deg,#dcefff,#b9d7ec)}.ranking-avatar--rose{background:linear-gradient(145deg,#ffe3ec,#dcb2be)}.ranking-avatar--sage{background:linear-gradient(145deg,#e6f0df,#b9ccb1)}.ranking-avatar--cream{background:linear-gradient(145deg,#fff1d8,#e0c9a9)}.ranking-look__body h2{margin-bottom:8px;font-size:26px}.ranking-look__body>p{color:var(--muted);font-size:14px}.ranking-stats{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.ranking-stats span{padding:7px 10px;border-radius:999px;background:var(--plum-050);color:var(--muted);font-size:11px}.ranking-stats--large span{font-size:12px;padding:9px 12px}.ranking-actions{display:flex;gap:8px;flex-wrap:wrap}.ranking-actions .button{min-height:44px;padding:0 16px}.save-ranking.is-saved{background:var(--plum-100);color:var(--plum-900);border-color:var(--plum-200)}.ratings-empty{padding:40px;text-align:center;color:var(--muted)}.ranking-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ranking-info-grid article{padding:26px;border:1px solid var(--line);border-radius:var(--radius-lg);background:white}.ranking-info-grid span{display:inline-grid;width:38px;height:38px;place-items:center;border-radius:12px;background:var(--plum-100);color:var(--plum-900);font-size:12px;font-weight:800}.ranking-info-grid h3{margin:18px 0 8px}.ranking-info-grid p{color:var(--muted);font-size:13px}
.profile-hero{padding-bottom:42px}.profile-hero__grid{display:grid;grid-template-columns:1.35fr .65fr;gap:54px;align-items:center}.profile-identity{display:flex;gap:26px;align-items:center}.profile-avatar-large{width:132px;height:132px;flex:0 0 auto;display:grid;place-items:center;border-radius:38px;background:linear-gradient(145deg,#d9c6f2,#c8f25b);color:var(--plum-950);font-size:44px;font-weight:800}.profile-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:var(--plum-100);color:var(--plum-900);font-size:11px;font-weight:700}.profile-identity h1{margin:8px 0;font-size:clamp(42px,6vw,68px)}.profile-identity p{max-width:690px;color:var(--muted)}.profile-actions{display:flex;gap:10px;margin-top:20px}.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-summary div{padding:18px;border:1px solid var(--line);border-radius:16px;background:white}.profile-summary strong{display:block;color:var(--plum-900);font-size:24px}.profile-summary span{color:var(--muted);font-size:11px}.profile-looks{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.profile-look{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:white;box-shadow:var(--shadow-soft)}.profile-look__visual{position:relative;min-height:310px;display:grid;place-items:center}.profile-look__body{padding:18px}.profile-look__body h3{font-size:18px}.profile-look__body p{color:var(--muted);font-size:12px}.profile-look__body>div{display:flex;gap:12px;margin:12px 0;color:var(--muted);font-size:12px}.profile-collections{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}.profile-collections>div:first-child p{color:var(--muted)}.profile-collection-list{display:grid;gap:10px}.profile-collection-list a{display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:16px;background:white}.profile-collection-list a>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--plum-100);color:var(--plum-900);font-size:11px;font-weight:800}.profile-collection-list p{color:var(--muted);font-size:12px}.profile-collection-list b{color:var(--plum-800)}
.public-look-detail{padding-top:44px}.public-look-detail__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}.public-look-detail__visual{position:relative;min-height:650px;display:grid;place-items:center;border-radius:var(--radius-xl);box-shadow:var(--shadow)}.public-look-detail__figure{width:240px;height:450px}.public-look-detail__copy h1{margin:16px 0 12px;font-size:clamp(48px,6vw,74px)}.comments-layout{display:grid;grid-template-columns:1fr 300px;gap:42px;align-items:start}.comment-box{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;margin:24px 0}.comment-box input{height:46px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:white}.comment-list{display:grid;gap:10px}.comment-list article{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:white}.comment-list p{margin:4px 0;color:var(--muted);font-size:13px}.comment-list small{color:var(--muted);font-size:10px}.public-look-side{position:sticky;top:100px;padding:28px;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(145deg,#fff,#f4ebff)}.public-look-side strong{display:block;margin:8px 0;color:var(--plum-900);font-size:64px;line-height:1}.public-look-side p{color:var(--muted)}
@media(max-width:1040px){.ratings-hero__grid,.profile-hero__grid,.public-look-detail__grid,.profile-collections{grid-template-columns:1fr}.leaderboard{grid-template-columns:1fr}.ranking-look--featured{grid-column:auto}.profile-looks{grid-template-columns:repeat(2,1fr)}.ranking-info-grid{grid-template-columns:repeat(2,1fr)}.comments-layout{grid-template-columns:1fr}.public-look-side{position:static}}
@media(max-width:720px){.ratings-toolbar{align-items:stretch;flex-direction:column}.ratings-sort{justify-content:space-between}.ranking-look,.ranking-look--featured{grid-template-columns:1fr}.ranking-look__visual{min-height:330px}.profile-identity{align-items:flex-start;flex-direction:column}.profile-avatar-large{width:100px;height:100px;border-radius:28px}.profile-summary{grid-template-columns:1fr 1fr}.profile-looks{grid-template-columns:1fr}.ranking-info-grid{grid-template-columns:1fr}.public-look-detail__visual{min-height:500px}.public-look-detail__figure{width:180px;height:350px}.comment-box{grid-template-columns:42px 1fr}.comment-box .button{grid-column:2}}
