:root {
  --navy: #1d2545;
  --night: #151b34;
  --gold: #f9bd53;
  --cream: #fcf9f4;
  --paper: #f7f2e9;
  --ink: #20243b;
  --muted: #5e6174;
  --border: #e4dcd0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid #957446; outline-offset: 4px; }
.shell, .wrap { width: min(1240px, calc(100% - 108px)); margin-inline: auto; }
.wrap { width: min(1160px, calc(100% - 108px)); scroll-margin-top: 28px; }
.skip, .sr { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 10px; left: 10px; width: auto; height: auto; clip-path: none; padding: 10px; background: white; }

.topline { text-align: center; background: var(--gold); color: var(--night); padding: 7px 10px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; }
.topline a { text-decoration: none; }
.topline a:hover { text-decoration: underline; }
.head { background: var(--navy); color: var(--cream); border-bottom: 1px solid #8584a24f; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 95px; }
.logo { display: inline-flex; align-items: center; width: 102px; flex: 0 0 102px; }
.logo img { width: 100%; height: auto; }
.head nav { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 48px); font-size: .9rem; }
.head nav a, .foot-links a { text-decoration: none; }
.head nav a:hover, .foot-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.bag { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #b1a7ba75; border-radius: 30px; background: transparent; color: inherit; font-size: .91rem; }
.bag:hover { border-color: var(--gold); }
.bag b { display: grid; place-items: center; border-radius: 22px; min-width: 24px; height: 24px; padding-inline: 4px; background: var(--gold); color: var(--night); font-size: .77rem; }

.hero { color: var(--cream); background: var(--navy); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 7vw, 108px); padding-block: clamp(32px, 5vw, 70px) 34px; }
.hero-copy { padding-block: 16px; }
.kicker { margin: 0 0 14px; color: #775319; font-size: .77rem; letter-spacing: .17em; font-weight: 780; text-transform: uppercase; }
.hero .kicker, .hero figcaption span { color: var(--gold); }
.hero h1 { margin: 0; font: 400 clamp(3.8rem, 7.2vw, 7.5rem)/.93 var(--serif); letter-spacing: -.075em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-copy > p:not(.kicker) { max-width: 380px; color: #ebe7ec; font-size: 1.14rem; margin: 25px 0 26px; }
.hero-photo { aspect-ratio: 1.03; padding: 7px; border: 1px solid #f9bd537e; border-radius: 50% 50% 4px 4px / 25% 25% 4px 4px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; border-radius: inherit; }
.hero figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 3px 0; }
.hero figcaption span { font-size: .72rem; font-weight: 720; letter-spacing: .15em; }
.hero figcaption em { font: italic 1.18rem var(--serif); }
.actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 5px; padding: 10px 19px; font-weight: 700; font-size: .92rem; text-align: center; text-decoration: none; }
.warm { background: var(--gold); color: var(--night); }
.warm:hover { background: #ffce7e; }
.dark { background: var(--navy); color: white; }
.dark:hover { background: #303b64; }
.outline { background: white; border-color: #beb6aa; color: var(--navy); }
.outline:hover { background: var(--paper); }
.line, .text-link, .line-button { text-decoration: underline; text-underline-offset: 4px; font-weight: 650; }
.light { color: var(--cream); }
.text-link, .line-button { color: var(--navy); font-size: .88rem; }
.line-button { border: 0; padding: 0; background: transparent; }

.collection { padding-block: 67px 64px; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 24px; margin-bottom: 22px; }
.section-heading > p { max-width: 380px; color: var(--muted); margin: 0 0 2px; justify-self: end; }
.wrap h2, .dialog-top h2 { margin: 0; font: 400 clamp(2.4rem, 4.8vw, 4.5rem)/1.02 var(--serif); letter-spacing: -.055em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 39px; border: 1px solid var(--border); border-radius: 32px; background: transparent; padding: 6px 15px; font-size: .9rem; }
.filters button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.product { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); background: white; border-radius: 9px; }
.product-photo { display: block; width: 100%; aspect-ratio: 4 / 4.65; border: 0; padding: 0; overflow: hidden; background: var(--navy) url("/media/icon-nyxia.png") center / 90px no-repeat; }
.product-photo:focus-visible { outline-offset: -4px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .23s ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-info { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 15px 16px 13px; }
.badge { margin: 0 0 7px; color: #775319; font-size: .71rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.product h3 { overflow-wrap: anywhere; margin: 0 0 5px; font: 400 clamp(1.36rem, 2.25vw, 2rem)/1.09 var(--serif); letter-spacing: -.025em; }
.product-meta { margin: 0 0 11px; color: var(--muted); font-size: .84rem; }
.product-cta { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 9px 0 0; margin-top: auto; background: none; border: 0; border-top: 1px solid var(--border); font-size: .86rem; font-weight: 720; text-align: left; }
.product-cta:hover { color: #775319; }
.product-cta span { font-size: 1.2rem; line-height: 1; }
.instagram-feed { padding-block: 35px 65px; border-top: 1px solid var(--border); }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 370px; margin-bottom: 64px; overflow: hidden; background: var(--paper); border-radius: 8px; }
.split-media { min-height: 370px; position: relative; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.split-copy { align-self: center; padding: clamp(25px, 5.4vw, 67px); }
.split-copy p:not(.kicker), .guide p:not(.kicker) { color: var(--muted); max-width: 420px; margin-bottom: 21px; }
.guide { display: grid; grid-template-columns: 1.32fr .68fr; align-items: center; gap: 32px; margin-bottom: 70px; }
.guide-photo { display: block; aspect-ratio: 1.32; border-radius: 8px; overflow: hidden; }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 33%; }
.salon { background: #efebe8; }
.faq { display: grid; grid-template-columns: 1fr 1.15fr; gap: 38px; margin-bottom: 75px; }
.faq details { border-bottom: 1px solid var(--border); padding-block: 10px; }
.faq details:first-child { border-top: 1px solid var(--border); }
summary { font-weight: 700; padding-block: 4px; }
.faq details p { margin: 8px 0; color: var(--muted); }
body > footer { padding-block: 36px; background: var(--navy); color: var(--cream); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-grid p { margin: 12px 0 0; color: #e4dfeb; }
.foot-links { display: grid; gap: 6px; }

dialog { padding: 0; color: var(--ink); background: var(--cream); border: 1px solid var(--border); }
dialog::backdrop { background: #0f142aea; opacity: .77; }
.close { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; background: white; color: var(--navy); font: 400 1.66rem/1 var(--sans); }
.close:hover { background: var(--paper); }
.modal { width: min(930px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 10px; }
.modal-grid { display: grid; grid-template-columns: 1fr .9fr; }
.modal-visual { background: var(--night) url("/media/icon-nyxia.png") center / 120px no-repeat; }
.zoom-photo { position: relative; width: 100%; height: 100%; min-height: 390px; padding: 12px; border: none; background: var(--night); }
.zoom-photo img { width: 100%; height: min(62vh, 610px); object-fit: contain; }
.zoom-photo span { display: grid; place-items: center; position: absolute; bottom: 13px; right: 13px; width: 36px; height: 36px; border-radius: 50%; background: white; color: var(--navy); font: 1.45rem/1 var(--sans); }
.photo-expanded .modal-grid { grid-template-columns: 1fr; }
.photo-expanded .zoom-photo img { height: auto; max-height: 79vh; }
.photo-expanded .modal-copy { display: none; }
.modal-copy { position: relative; padding: 57px 27px 27px; }
.modal-copy .close { position: absolute; top: 11px; right: 11px; }
.modal-copy h2 { font: 400 clamp(1.9rem, 4.4vw, 3.4rem)/1.03 var(--serif); letter-spacing: -.04em; margin: 0 0 12px; overflow-wrap: anywhere; }
.modal-copy p:not(.kicker) { margin: 0 0 12px; color: var(--muted); }
.product-description { white-space: pre-line; overflow-wrap: anywhere; }
.modal-copy label, .form-section label, #order-language-label { display: block; margin-bottom: 7px; font-weight: 650; }
select, input:not([type="radio"]), textarea { width: 100%; padding: 10px 11px; border: 1px solid #cfc7bc; border-radius: 5px; background: #fff; }
.modal-copy .text-link { display: inline-block; margin-block: 8px; }
#modal-feedback { min-height: 1.2em; }
#modal-feedback:empty { min-height: 0; margin-bottom: 0; }
.full { width: 100%; margin-bottom: 7px; }

.drawer { margin: 0 0 0 auto; width: min(100%, 490px); height: 100dvh; max-width: 100%; max-height: 100dvh; border: 0; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer-header { padding: 23px 25px 0; background: var(--navy); color: var(--cream); flex: 0 0 auto; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }
.dialog-top .kicker { color: var(--gold); margin-bottom: 4px; }
.dialog-top h2 { font-size: clamp(2.45rem, 6vw, 3.5rem); }
.order-steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; margin: 0; gap: 10px; }
.order-steps li { padding: 8px 2px 10px; color: #e1dfeb; border-bottom: 3px solid transparent; font-size: .9rem; }
.order-steps li[aria-current="step"] { color: var(--gold); border-color: var(--gold); font-weight: 720; }
.drawer-content { overflow: auto; flex: 1 1 auto; padding: 22px 25px; overscroll-behavior: contain; }
.bag-empty { text-align: center; max-width: 290px; margin: 40px auto; }
.bag-empty img { border-radius: 13px; margin: 0 auto 17px; }
.bag-empty h3, .drawer-content h3 { margin: 0 0 5px; font: 400 1.83rem/1.1 var(--serif); letter-spacing: -.025em; }
.bag-empty p, #bag-review > p { color: var(--muted); }
.bag-count { color: var(--muted); margin: 0 0 8px; font-size: .91rem; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 13px; border-bottom: 1px solid var(--border); padding-block: 13px; }
.cart-photo { width: 88px; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--navy) url("/media/icon-nyxia.png") center / 48px no-repeat; }
.cart-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-detail h3 { font-size: 1.24rem; overflow-wrap: anywhere; }
.cart-detail > p { margin: 0 0 7px; font-size: .84rem; color: var(--muted); }
.cart-edit { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.quantity { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; background: white; }
.quantity button, .quantity span { min-width: 32px; height: 31px; display: grid; place-items: center; padding: 0 3px; border: none; background: transparent; }
.quantity button:disabled { opacity: .43; }
.quantity button:not(:disabled):hover { background: var(--paper); }
.destinations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0; margin: 17px 0 15px; border: 0; }
.destinations legend { margin-bottom: 6px; font-weight: 670; }
.destinations label { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 5px; background: white; cursor: pointer; }
.destinations label:has(input:checked) { border-color: var(--navy); background: #f0eee9; }
.destinations input { accent-color: var(--navy); }
.form-section label { margin-bottom: 11px; }
.form-section small { font-weight: 450; color: var(--muted); }
.form-section input, .form-section textarea, #order-language { display: block; margin-top: 4px; }
.form-section textarea, #order-message { resize: vertical; }
.order-hint { margin: 4px 0 9px; font-size: .89rem; color: var(--muted); }
#order-message { margin: 7px 0 8px; font-size: .89rem; }
.drawer-footer { padding: 13px 25px max(12px, env(safe-area-inset-bottom)); background: white; border-top: 1px solid var(--border); flex: 0 0 auto; }
#copy-status { color: var(--muted); font-size: .9rem; margin: 0 0 7px; }

@media (max-width: 880px) {
  .shell, .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(3.3rem, 8vw, 6rem); }
  .split, .split-media { min-height: 300px; }
}
@media (max-width: 620px) {
  .shell, .wrap { width: calc(100% - 28px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 8px; }
  .logo { width: 80px; flex-basis: 80px; }
  .head nav { grid-row: 2; grid-column: 1 / -1; padding: 9px 0 11px; gap: 18px; white-space: nowrap; overflow-x: auto; }
  .bag { grid-column: 2; grid-row: 1; }
  .hero-grid, .section-heading, .guide, .faq { grid-template-columns: 1fr; }
  .hero-grid { gap: 12px; padding-block: 23px 19px; }
  .hero-copy { padding-block: 4px 8px; }
  .hero h1 { font-size: clamp(3.2rem, 13.2vw, 5.3rem); }
  .hero-copy > p:not(.kicker) { margin-block: 16px; font-size: 1.03rem; }
  .hero-photo { aspect-ratio: 1.21; }
  .collection { padding-block: 43px 39px; }
  .section-heading { gap: 8px; }
  .section-heading > p { justify-self: start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .product-info { padding: 11px 9px; }
  .product h3 { font-size: 1.27rem; }
  .product-meta { font-size: .77rem; }
  .instagram-feed { padding-block: 25px 41px; }
  .split { grid-template-columns: 1fr; margin-bottom: 39px; }
  .split-media { min-height: 0; aspect-ratio: 1.37; }
  .salon .split-media { grid-row: 1; }
  .guide { gap: 18px; margin-bottom: 40px; }
  .guide-photo { max-height: 260px; }
  .faq { gap: 17px; margin-bottom: 45px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .modal { width: calc(100% - 18px); max-height: calc(100% - 18px); }
  .modal-grid { grid-template-columns: 1fr; }
  .zoom-photo { min-height: 0; height: min(35vh, 265px); }
  .zoom-photo img { height: 100%; }
  .photo-expanded .zoom-photo { height: auto; }
  .modal-copy { padding: 20px 48px 20px 17px; }
  .drawer-header, .drawer-content, .drawer-footer { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
