:root {
  color-scheme: light;
  --ink: #232138;
  --muted: #534f69;
  --paper: #fcfbff;
  --white: #fff;
  --line: #e1ddec;
  --accent: #f7cf9d;
  --surface: #f2eff8;
  --dark: #4e357c;
  --gradient: linear-gradient(110deg, #4e367f, #79396d);
  --shadow: 0 .7rem 2rem #3022400c;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-inline-size: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8354bd; outline-offset: 4px; }
.wrap { width: min(100% - clamp(2rem, 6vw, 8rem), 80rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-160%); background: white; padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.preview-bar { padding: .38rem 1rem; text-align: center; background: #efe8f9; font-size: .875rem; }
.header { border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #fff 45%, #f3effa 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 1rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.15rem; line-height: .99; font-weight: 780; letter-spacing: -.05em; }
.sun { display: grid; place-items: center; flex: none; width: 2.45rem; height: 2.45rem; background: linear-gradient(145deg, #ffe5ba, var(--accent)); color: #432c4d; border-radius: 50%; font-size: 1.55rem; line-height: 1; }
.brand-dot { color: #844a85; }
.header-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.5rem, 2.8vw, 2rem); margin-inline: auto 1rem; }
.header-inner nav > a { font-weight: 650; text-decoration: none; }
.header-inner nav > a { padding: .35rem .1rem; }
.header-inner nav > a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 3rem; border: 1px solid transparent; border-radius: .7rem; padding: .7rem 1.15rem; background: var(--gradient); color: #fff; font-weight: 680; text-decoration: none; overflow-wrap: anywhere; }
.button:hover { background: #603e84; }
.button:disabled { opacity: .67; cursor: wait; }
.button-small { min-height: 2.75rem; padding: .45rem .8rem; font-size: .875rem; }
.text-link { font-weight: 650; text-underline-offset: .23em; }
.text-link:hover { text-decoration-thickness: 2px; }
.eyebrow, .sku { font-size: .875rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.eyebrow { text-transform: uppercase; }
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at bottom left, #503053, transparent 62%), #201a36; color: #fff; }
.hero-grid { display: flex; align-items: center; min-height: clamp(31rem, 43vw, 42rem); padding-block: clamp(3rem, 8vw, 7.5rem); }
.hero-copy { position: relative; z-index: 1; width: 50%; max-width: 40rem; min-width: 0; }
.hero-without-image .hero-copy { width: 100%; }
.hero h1 span { display: block; color: #f1c7db; }
.hero .lede { max-width: 34ch; color: #f1e9f6; }
.hero .button { background: #fff4e7; color: #372642; }
.hero .button:hover { background: #f8d8b8; }
.hero-visual { position: absolute; inset: 0 0 0 44%; }
.hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #261a3750, transparent 26%); mask-image: linear-gradient(90deg, transparent, black 32%); }
.editorial-main { position: relative; width: 100%; height: 100%; }
.editorial-main .product-photo { object-position: center 57%; mask-image: linear-gradient(90deg, transparent, black 32%); }
.editorial-main figcaption { position: absolute; z-index: 1; bottom: .9rem; right: clamp(1rem, 3vw, 2.6rem); max-width: calc(100% - 2rem); border: 1px solid #ffffff40; background: #241a36e8; color: white; padding: .35rem .65rem; border-radius: .5rem; }
.hero :focus-visible, .sales :focus-visible { outline-color: #ffd5a6; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; font-weight: 750; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 1.65rem + 3vw, 4.75rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.5rem); }
.hero h1, .detail h1, .inquiry-grid h1 { margin-block: .55rem 1rem; }
.lede { font-size: clamp(1rem, .94rem + .32vw, 1.2rem); max-width: 36ch; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; margin-top: 1.55rem; }
.sourcing { background: radial-gradient(ellipse at 75% 0, #f7edf5, transparent 68%), var(--surface); padding-block: clamp(2.5rem, 5.5vw, 5.5rem); }
.sourcing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(1.35rem, 5vw, 5.5rem); align-items: center; }
.sourcing-copy .lede { margin-block: .8rem 1.25rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: clamp(.7rem, 2vw, 1.5rem); min-width: 0; }
.editorial-grid .editorial-tile { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.editorial-grid .product-photo { aspect-ratio: 5 / 4; }
.editorial-tile figcaption { font-size: .875rem; font-weight: 650; overflow-wrap: anywhere; }
.editorial-grid figcaption { padding: .7rem .9rem; }
.home-catalog h2 { text-align: center; }
.category-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 2vw, 1.5rem); margin: 1.6rem 0; }
.home-catalog .category-nav:last-child { margin-bottom: 0; }
.category-nav a { --tile-tint: #f0e9f9; --tile-accent: #634285; display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); background: linear-gradient(158deg, var(--tile-tint), white 58%); border-radius: 1rem; overflow-wrap: anywhere; text-decoration: none; box-shadow: var(--shadow); }
.category-nav a:nth-child(4n + 2) { --tile-tint: #e9ecfa; --tile-accent: #42528b; }
.category-nav a:nth-child(4n + 3) { --tile-tint: #faeaf1; --tile-accent: #8b416b; }
.category-nav a:nth-child(4n) { --tile-tint: #f9eee5; --tile-accent: #844c36; }
.category-nav a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.category-nav a[aria-current="page"], .category-nav a:hover { border-color: var(--tile-accent); }
.category-nav a strong { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); }
.category-nav a span { font-size: .95rem; color: var(--muted); }
.category-nav a .category-arrow { display: grid; place-items: center; justify-self: end; margin-top: .4rem; width: 2rem; height: 2rem; border-radius: 50%; color: var(--tile-accent); background: var(--tile-tint); font-size: 1.15rem; line-height: 1; }
.category-page h1 { margin-bottom: .35rem; }
.category-empty { display: grid; gap: .65rem; max-width: 48rem; }
.category-empty h2 { font-size: 1.4rem; }
.product-list-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .75rem; margin: 1rem 0; }
.color-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.color-option { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .55rem; border: 1px solid var(--line); border-radius: .25rem; text-decoration: none; }
.color-option[aria-current="true"] { border-color: var(--dark); background: var(--surface); font-weight: 650; }
.picture-note { margin-top: .4rem; }
.catalog { padding-block: clamp(2.5rem, 5vw, 5rem); scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.3rem; }
.section-head p { margin-top: .3rem; }
.muted, .color-count { color: var(--muted); }
.search { max-width: 100%; width: 16rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(.9rem, 2.25vw, 1.75rem); }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: .5rem; background: var(--white); }
.card-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; border-radius: inherit; }
.card-link:hover .card-action { text-decoration: underline; text-underline-offset: .2em; }
.card-photo, .gallery-main { overflow: hidden; aspect-ratio: 1.38; background: var(--surface); }
.card-photo .product-photo { object-fit: contain; }
.card-photo { border-radius: .45rem .45rem 0 0; }
.product-photo { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card-body h3 { margin-block: .35rem .45rem; }
.card-body p { margin-bottom: .85rem; color: var(--muted); }
.card-colors { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.swatch { display: inline-block; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--swatch); border: 1px solid #6667; }
.color-count { margin-left: .3rem; font-size: .875rem; }
.card-action { margin-top: auto; padding-top: .8rem; font-weight: 700; }
.card-footer { padding: .7rem 1.15rem; border-top: 1px solid var(--line); background: var(--surface); border-radius: 0 0 .45rem .45rem; }
.card-footer a { display: inline-flex; align-items: center; min-height: 2.4rem; color: var(--dark); }
.ordering { border-block-start: 1px solid var(--line); background: var(--paper); padding-block: clamp(2.5rem, 5.5vw, 5.5rem); scroll-margin-top: 1rem; }
.order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.order-grid > div { padding: clamp(1rem, 2vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: .95rem; }
.order-grid p { margin-top: .55rem; color: var(--muted); }
.buyer-questions { margin-top: 1.6rem; max-width: 47rem; }
.buyer-questions h3 { margin-bottom: .65rem; }
.buyer-questions details { padding: .65rem .1rem; border-top: 1px solid var(--line); }
.buyer-questions summary { cursor: pointer; font-weight: 650; }
.buyer-questions details p { padding: .5rem 0 0 1rem; color: var(--muted); }
.sales { color: #fff; background: linear-gradient(112deg, #3e2e6c, #653676 58%, #803a64); }
.sales-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem; padding-block: clamp(2rem, 4.5vw, 4rem); }
.sales p { margin-top: .45rem; color: #f5edf7; }
.sales .button { background: white; color: #4d3067; }
.sales .button:hover { background: #f8eaf4; }
.footer { background: #241c38; color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 5.4rem; gap: .8rem 1.4rem; padding-block: 1rem; font-size: .95rem; }
.footer-brand { text-decoration: none; font-weight: 700; }
.detail, .inquiry-grid, .admin, .basic { padding-block: clamp(2rem, 5vw, 4.75rem); min-height: 57vh; }
.back { display: inline-block; margin-bottom: 1.25rem; }
.detail-grid, .inquiry-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4.5vw, 4.5rem); align-items: start; }
.detail h1, .inquiry-grid h1, .admin h1, .basic h1 { font-size: clamp(2rem, 1.55rem + 2vw, 3.85rem); }
.gallery-main { aspect-ratio: 1.2; border: 1px solid var(--line); border-radius: .45rem; }
.gallery-main .product-photo { object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; }
.thumb { width: 4.75rem; height: 3.6rem; padding: 0; overflow: hidden; background: var(--white); border: 2px solid var(--line); border-radius: .25rem; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.detail-colors { margin-block: 1.4rem; }
.detail-colors h2 { font-size: 1.15rem; margin-bottom: .45rem; }
.detail-colors p { margin-top: .4rem; }
.details-block { border-top: 1px solid var(--line); margin-top: 1.65rem; padding-top: 1.2rem; }
.variant-list { padding: 0; list-style: none; max-width: 40rem; }
.variant-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .55rem 0; gap: 1rem; }
.inquiry-grid > div > p:last-child { margin-top: 1rem; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: .55rem; padding: clamp(1rem, 3vw, 2rem); min-width: 0; }
.form-panel h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.form-panel[data-sent] p { margin-bottom: .8rem; }
label { display: grid; min-width: 0; gap: .3rem; font-size: .95rem; font-weight: 650; }
label small { color: var(--muted); font-size: .875rem; font-weight: 450; }
input, select, textarea { width: 100%; min-height: 2.85rem; min-width: 0; border: 1px solid #9286ac; border-radius: .25rem; padding: .55rem .65rem; background: #fff; color: var(--ink); font-size: 1rem; }
input[type="file"] { padding: .45rem; }
textarea { resize: vertical; }
.form-panel > label, .form-row, .privacy-note { margin-bottom: .85rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.privacy-note { font-size: .875rem; }
.form-message { margin-block: .6rem; font-weight: 650; color: #9a3027; }
.empty { padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .4rem; }
.inquiry-entry { padding: 1rem; margin-block: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .35rem; overflow-wrap: anywhere; }
.inquiry-entry header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.inquiry-entry h2 { font-size: 1.4rem; }
.inquiry-entry time, .specs dt { color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; }
.specs dd { margin: 0; }
.notes { white-space: pre-wrap; }
.attachment-list { padding-left: 1.1rem; }
.pagination { display: inline-block; margin-right: 1.25rem; }
.basic p { margin-top: .8rem; max-width: 64ch; }
.basic > a { display: inline-block; margin-top: .8rem; }
.admin-actions { margin-top: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.media-panel label { margin-bottom: .75rem; }
.media-thumbnail { height: 9rem; margin-bottom: .8rem; background: var(--surface); border-radius: .25rem; }
.media-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.check-label { display: flex; align-items: center; gap: .5rem; }
.check-label input { width: 1.15rem; height: 1.15rem; min-height: auto; flex: none; accent-color: var(--dark); }
.media-notice { margin-bottom: 1rem; font-weight: 650; }
@media (max-width: 67rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 54rem) {
  .category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47rem) {
  .hero-grid { display: block; width: 100%; min-height: 0; padding: 0; }
  .hero-copy { width: min(100% - clamp(2rem, 6vw, 8rem), 80rem); margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 4.5rem) 1.8rem; }
  .hero-without-image .hero-copy { width: min(100% - 2rem, 80rem); padding-bottom: 2.5rem; }
  .hero-visual { position: relative; inset: auto; }
  .hero-visual::after { mask-image: none; }
  .editorial-main .product-photo { height: auto; aspect-ratio: 2.1; object-position: center 60%; mask-image: linear-gradient(180deg, transparent, black 24%); }
  .sourcing-grid, .detail-grid, .inquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 35rem) {
  .product-grid, .form-row, .order-grid { grid-template-columns: 1fr; }
  .header-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .6rem; padding-block: .65rem .3rem; }
  .header-inner > .button { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-inner nav { grid-column: 1 / -1; gap: .1rem 1.3rem; margin-inline: 0; }
  .header-inner nav > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .search { width: 100%; }
  .editorial-main .product-photo { aspect-ratio: 1.6; }
  .editorial-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
}
@media (max-width: 22rem) {
  .category-nav { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
}
