:root {
  color-scheme: light;
  --ink: #1c162c;
  --muted: #61596e;
  --purple: #5426ac;
  --purple-dark: #3a1b77;
  --line: #e8e1ee;
  --panel: #f5f0ff;
  --accent: #5426ac;
  --white: #fff;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fcfbfd;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
:focus-visible { outline: 3px solid #6e3fd1; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.5rem; }

.wrap { max-width: 1248px; width: calc(100% - 5rem); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip-link {
  position: fixed;
  display: block;
  inset: .6rem auto auto 1rem;
  transform: translateY(-160%);
  z-index: 20;
  padding: .6rem 1rem;
  background: #fff;
  border-radius: .5rem;
}
.skip-link:focus { transform: none; }

.theme-violet { --panel: #f0e9ff; --accent: #582aab; }
.theme-blue { --panel: #e8f2ff; --accent: #214f9d; }
.theme-green { --panel: #e9f1e6; --accent: #346042; }
.theme-peach { --panel: #ffeadd; --accent: #9a4028; }
.theme-yellow { --panel: #fff1cd; --accent: #845910; }
.theme-pink { --panel: #fceaf1; --accent: #963b61; }

.icon { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; vertical-align: middle; }
.topline { background: #3a1b77; color: #fff; }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; font-size: .875rem; font-weight: 550; }
.topline a:hover { text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 4; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.1rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 198px; height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: .85rem; }
.desktop-nav { font-size: .9rem; font-weight: 650; }
.desktop-nav > a { padding: .7rem .24rem; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--purple); }
.mobile-nav { position: relative; }
.mobile-nav summary, .faq summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  top: calc(100% + .35rem);
  left: -.4rem;
  min-width: 185px;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 16px 40px #2f15581b;
}
.mobile-nav nav a { display: block; padding: .65rem .75rem; border-radius: .5rem; }
.mobile-nav nav a:hover { background: #f2ebff; }
.header-actions { gap: .75rem; font-size: .92rem; font-weight: 650; }
.contact-link { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.contact-link:hover { color: var(--purple); }
.cart-button, .mobile-nav summary, .icon-button {
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
  color: var(--ink);
  padding: .52rem .62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 42px;
}
.cart-button:hover, .mobile-nav summary:hover, .icon-button:hover { background: #f5f0ff; }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding-inline: .15rem;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-size: .75rem;
}
.mobile-nav { display: none; }
.mobile-nav nav { left: auto; right: 0; min-width: 222px; max-height: min(70vh,570px); overflow: auto; }

.page-hero { margin-top: 1.55rem; }
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--panel);
  min-height: 400px;
}
.hero-copy { padding: clamp(2rem, 4.1vw, 3.9rem); align-self: center; }
.eyebrow { color: var(--accent); font-weight: 760; line-height: 1.3; font-size: .85rem; }
.hero-copy .eyebrow { margin-bottom: .75rem; }
.hero-copy h1 {
  font-size: clamp(2.65rem, 4.8vw, 4.65rem);
  font-weight: 790;
  line-height: .99;
  letter-spacing: -.063em;
}
.hero-copy h1 em { color: var(--accent); font-style: normal; }
.hero-intro { color: #443a52; margin-top: 1.1rem; max-width: 35rem; line-height: 1.55; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .58rem; margin-top: 1.05rem; }
.hero-price strong { font-size: 2.1rem; font-weight: 780; letter-spacing: -.04em; line-height: 1.12; }
.hero-price s { font-size: 1.1rem; color: #665b72; text-decoration-thickness: .08em; }
.hero-price span { color: #5e5568; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.button {
  border: 1px solid transparent;
  border-radius: .7rem;
  font-size: .94rem;
  padding: .75rem 1rem;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  font-weight: 720;
  text-align: center;
  transition: background-color .15s, border-color .15s;
}
.button.primary { color: #fff; background: var(--purple); border-color: var(--purple); }
.button.primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: #dcd1ec; }
.button.secondary:hover { background: #faf6ff; border-color: #ad94d2; }
.button.wide { width: 100%; }
.hero-information {
  align-self: center;
  margin: clamp(1.25rem,4vw,3.5rem) clamp(1.25rem,4vw,3.5rem) clamp(1.25rem,4vw,3.5rem) 0;
  padding: clamp(1.1rem,2.6vw,1.9rem);
  border-radius: 1rem;
  background: #fffc;
  border: 1px solid #fff;
}
.hero-information h2 { font-size: clamp(1.25rem,2.1vw,1.75rem); }
.hero-information dl { margin: .85rem 0 0; }
.hero-information dl div {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.5fr);
  gap: .65rem;
  padding: .56rem 0;
  border-top: 1px solid #e8e1ee;
  font-size: .94rem;
}
.hero-information dl div:last-child { padding-bottom: 0; }
.hero-information dt { color: var(--muted); }
.hero-information dd { margin: 0; font-weight: 690; }
.style-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.style-links a {
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
  padding: .5rem .75rem;
  color: var(--accent);
  font-weight: 680;
}
.style-links a:hover { background: var(--panel); border-color: var(--accent); }
.product-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .6rem;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--panel);
}

.split-section, .faq {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1.5rem,5vw,4.7rem);
  margin-top: 3.8rem;
  align-items: start;
}
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 760; line-height: 1.1; letter-spacing: -.045em; }
.section-heading { margin-bottom: 1.25rem; }
.section-heading p { margin-top: .55rem; color: var(--muted); }
.order-steps ol { margin: 1rem 0 0; padding-left: 1.5rem; }
.order-steps li { padding: .65rem .1rem .65rem .33rem; }
.order-steps li + li { border-top: 1px solid var(--line); }
.order-steps li::marker { color: var(--accent); font-weight: 750; }
.order-steps p { color: var(--muted); margin-top: .2rem; }

.order-panel { background: #fff; border: 1px solid #dfd6ea; box-shadow: 0 14px 36px #391c7010; padding: clamp(1.15rem,3vw,2.25rem); border-radius: 1.25rem; }
.order-panel h2 { font-size: clamp(1.55rem,2.55vw,2.05rem); }
.options, .field { margin: 0 0 1.05rem; min-width: 0; }
.options { border: 0; padding: 0; }
.options legend, .field label { font-size: .92rem; font-weight: 700; margin-bottom: .36rem; }
.field label { display: block; }
.options-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.choice { display: flex; flex: 1; min-width: max-content; position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { width: 100%; text-align: center; border: 1px solid #dcd4e6; border-radius: .57rem; padding: .6rem .7rem; font-size: .9rem; }
.choice input:checked + span { border-color: #7449c4; background: #f4ecff; color: #432087; box-shadow: inset 0 0 0 1px #7449c4; font-weight: 660; }
.choice input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: .75rem; }
.field input, .field select, .field textarea, .catalog-controls input, .catalog-controls select {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #dcd4e6;
  border-radius: .55rem;
  padding: .58rem .7rem;
  min-height: 43px;
}
.field input[type=file] { padding: .36rem .4rem; font-size: .88rem; }
.field input::file-selector-button { border: 0; background: #eee5fd; color: #3a1b77; padding: .38rem .55rem; margin-right: .5rem; border-radius: .3rem; cursor: pointer; }
.field textarea { resize: vertical; }
.field small, .subtotal small, .checkout-help { display: block; color: var(--muted); line-height: 1.4; font-size: .85rem; }
.field small { margin-top: .35rem; }
select {
  appearance: none;
  padding-right: 2.2rem !important;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23542a82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .72rem center !important;
}
.subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin: .2rem 0 1rem;
}
.subtotal span { font-weight: 700; }
.subtotal strong { white-space: nowrap; font-size: 1.5rem; letter-spacing: -.035em; }
.preview-holder { display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; padding: .7rem; border-radius: .6rem; background: #f5efff; }
.preview-holder p { font-size: .875rem; color: var(--muted); margin-block: .2rem; }
.phone-preview { width: 53px; height: 95px; flex: 0 0 auto; overflow: hidden; border: 3px solid #2c243a; border-radius: 10px; background: #eadbff; }
.phone-preview img { height: 100%; width: 100%; object-fit: cover; }
.error { margin-bottom: .55rem; font-size: .875rem; color: #a32042; }
.error:empty { display: none; }

.collection { margin-top: 3.35rem; }
.collection-heading { max-width: 43rem; }
.catalog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; background: #f4effa; border: 1px solid var(--line); padding: .7rem; border-radius: .85rem; }
.search-field { flex: 1 1 260px; position: relative; }
.search-field .icon { position: absolute; top: .69rem; left: .7rem; color: var(--muted); pointer-events: none; }
.catalog-controls input { padding-left: 2.4rem; }
.select-field { flex: 0 1 13rem; }
.catalog-count { margin: .85rem 0 .7rem; font-size: .9rem; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; padding: .95rem; min-height: 10.5rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; }
.product-card-top, .product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .55rem; }
.product-card-top { margin-bottom: .65rem; }
.product-card h3 { font-size: 1.1rem; line-height: 1.25; letter-spacing: -.018em; }
.product-card p { font-size: .875rem; margin: .3rem 0 .8rem; color: var(--muted); }
.product-card-bottom { margin-top: auto; }
.product-type { font-size: .8rem; color: var(--accent); font-weight: 650; text-align: right; }
.product-swatch { display: block; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: var(--swatch); border: 1px solid #22184426; }
.swatch-white { --swatch: #fff; }
.swatch-black { --swatch: #201c20; }
.swatch-navy { --swatch: #25355b; }
.swatch-grey { --swatch: #a0a0aa; }
.swatch-lilac { --swatch: #c4a9e6; }
.swatch-green { --swatch: #225340; }
.swatch-maroon { --swatch: #78233c; }
.swatch-royal { --swatch: #345bc1; }
.swatch-peach { --swatch: #f1b196; }
.sample-price { font-size: .8rem; color: var(--muted); }
.sample-price strong { color: var(--ink); font-size: .94rem; }
.text-button { appearance: none; background: none; border: 0; padding: 0; color: var(--purple); font-size: .875rem; font-weight: 710; text-decoration: underline; text-underline-offset: .18em; }
.text-button:hover { color: var(--purple-dark); }
.catalog-empty { border: 1px dashed #ccbedc; text-align: center; border-radius: .8rem; padding: 2rem; }
.catalog-empty p { margin-bottom: .35rem; }
.catalog-more { display: flex; justify-content: center; }
.catalog-more button { margin-top: 1rem; }

.faq { border-top: 1px solid var(--line); padding-top: 2.2rem; padding-bottom: .7rem; }
.faq h2 + p { color: var(--muted); margin-top: .55rem; }
.faq p a { color: var(--purple); text-decoration: underline; text-underline-offset: .14em; }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 680; padding: .85rem 0; }
.faq summary .icon { color: var(--purple); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 1.2rem .9rem 0; }
.footer { margin-top: 3.5rem; background: #f1edf7; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.2rem; padding-block: 1.7rem; }
.footer p { max-width: 15rem; color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.footer-contact { display: grid; align-content: start; gap: .33rem; font-size: .92rem; }
.footer a:hover { color: var(--purple); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ded5e8; padding-block: .75rem; display: flex; justify-content: space-between; align-items: center; gap: .7rem; color: var(--muted); font-size: .84rem; }
.missing { padding-block: 3.5rem; }
.missing a { margin-top: 1rem; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(100%, 480px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: -14px 0 38px #20133430;
}
.drawer::backdrop { background: #1e102990; }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 1.8rem; margin-top: .22rem; }
.drawer-body { padding: 1.2rem; }
.drawer-body p + .button { margin-top: .75rem; }
.order-line { display: flex; justify-content: space-between; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.order-line:first-child { padding-top: 0; }
.order-line h3 { font-size: 1.03rem; }
.order-line p { color: var(--muted); font-size: .875rem; margin-top: .18rem; overflow-wrap: anywhere; }
.order-line-aside { text-align: right; flex: 0 0 auto; display: grid; gap: .3rem; align-content: start; }
.cart-summary { margin-top: .9rem; border: 0; padding-top: 0; }
.checkout-help { margin-top: .7rem; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 3rem); }
  .brand img { width: 170px; }
  .header-inner { gap: .7rem; }
  .desktop-nav { gap: .6rem; font-size: .84rem; }
  .header-actions { gap: .45rem; }
  .contact-link span { display: none; }
  .hero-copy { padding: 2.1rem; }
  .hero-panel { min-height: 385px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 66px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .contact-link span { display: inline; }
  .hero-copy h1 { font-size: clamp(2.35rem,5.7vw,3.5rem); }
  .hero-copy { padding: 1.6rem; }
  .hero-panel { min-height: 345px; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 1.6rem); }
  .topline-inner { min-height: 31px; font-size: .76rem; }
  .header-inner { min-height: 60px; }
  .brand img { width: clamp(135px,38vw,170px); }
  .contact-link span, .cart-desktop-label { display: none; }
  .header-actions { gap: .35rem; }
  .contact-link { padding-inline: .2rem; }
  .cart-button, .mobile-nav summary { min-height: 39px; padding: .38rem .46rem; }
  .page-hero { margin-top: .7rem; }
  .hero-panel { grid-template-columns: minmax(0,1fr); border-radius: 1rem; }
  .hero-copy { padding: 1.35rem 1.1rem; }
  .hero-copy h1 { font-size: clamp(2.35rem,10vw,3.5rem); }
  .hero-copy .eyebrow { margin-bottom: .53rem; }
  .hero-intro { margin-top: .78rem; }
  .hero-information { margin: 0 .8rem .8rem; }
  .hero-price { margin-top: .8rem; }
  .hero-actions { margin-top: .9rem; gap: .45rem; }
  .hero-actions .button { padding-inline: .7rem; }
  .split-section, .faq { grid-template-columns: minmax(0,1fr); margin-top: 2.35rem; gap: 1.55rem; }
  .split-section .order-steps { order: 1; }
  .section-heading { margin-bottom: 1rem; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-card { padding: .7rem; }
  .product-card h3 { font-size: 1rem; }
  .product-card-bottom { flex-wrap: wrap; }
  .collection { margin-top: 2.15rem; }
  .footer { margin-top: 2.5rem; }
  .footer-top { padding-block: 1.3rem; gap: 1rem; }
  .footer-contact { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
