/* ==========================================================================
   KScents — customer account, order views and thank-you page
   Neutral charcoal surfaces; gold only on borders, icons, buttons and the
   order progress (a gold tint over dark reads as brown, so none of that).
   ========================================================================== */

/* ---------- Sign in / create account ---------- */
/* A portrait photo panel on the left (shaped like the photo, so the whole bottle shows),
   the form centred on the right. Phones: the form first, the photo panel after it. */
.ks-auth { --auth-h: calc(100svh - var(--header-h) - var(--topbar-h)); display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "art panel"; min-height: var(--auth-h); border-bottom: 1px solid var(--line); }
.ks-auth [hidden] { display: none !important; }

.ks-auth__art { grid-area: art; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; width: clamp(360px, calc((var(--auth-h) - 32px) * .7), 44vw); margin: 16px 0 16px 16px; border-radius: 22px; border: 1px solid rgba(201, 163, 91, .24); background: #0b0a09; }
.ks .ks-auth__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; animation: ks-auth-photo 1.8s var(--ease) both; }
/* Dark only below the bottle's label, where the text sits. */
.ks-auth__art::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 8, 7, .35) 0%, rgba(8, 8, 7, 0) 12%, rgba(8, 8, 7, 0) 62%, rgba(8, 8, 7, .8) 78%, rgba(8, 8, 7, .97) 94%); }
@keyframes ks-auth-photo { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

.ks-auth__pitch { padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); animation: ks-in .8s var(--ease) .25s both; }
.ks .ks-auth__pitch h2 { font-size: clamp(1.55rem, min(2.2vw, 3.8vh), 2.1rem); margin-bottom: 14px; }
/* Three benefits in one glass strip. */
.ks-auth__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; border: 1px solid rgba(243, 236, 226, .14); background: rgba(12, 11, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ks-auth__perks li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 8px 13px; text-align: center; font: 500 12.5px/1.3 var(--sans); color: var(--text); }
.ks-auth__perks li + li { border-left: 1px solid rgba(243, 236, 226, .1); }
.ks-auth__perks .ks-ico { width: 20px; height: 20px; color: var(--gold); }

/* The form side */
.ks-auth__panel { grid-area: panel; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vh, 56px) var(--gutter); }
.ks-auth__box { width: min(100%, 420px); }

.ks-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 32px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); }
.ks-auth__tab { min-height: 44px; border-radius: 999px; font: 500 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s; }
.ks-auth__tab:hover { color: var(--text); }
.ks-auth__tab.is-active { background: var(--text); color: #17110a; }
html.ks-js .ks-auth__pane:not(.is-active) { display: none; }
.ks-auth__pane.is-active, .ks-auth__form, .ks-auth__done { animation: ks-in .45s var(--ease) both; }

.ks-auth__head { margin-bottom: 26px; }
.ks .ks-auth__head h1, .ks .ks-auth__done h1 { font-size: clamp(2.1rem, min(3vw, 5vh), 2.6rem); line-height: 1.08; }
.ks-auth__lead { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--soft); }
.ks-auth__lead strong { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.ks-auth__steps { display: flex; align-items: center; gap: 5px; margin: 0 0 14px; font: 500 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ks-auth__steps span { width: 24px; height: 3px; border-radius: 3px; background: var(--line-2); }
.ks-auth__steps span.is-on { background: var(--gold); }
.ks-auth__steps span + span { margin-right: 8px; }

.ks-auth .ks-field { margin-bottom: 16px; }
.ks-auth .ks-field input { min-height: 52px; }
.ks-auth__remember { margin: 2px 0 22px; font-size: 14px; }
.ks-auth__form > .ks-btn--primary { margin-top: 4px; }
.ks-auth .ks-notice { margin-bottom: 18px; }
.ks-auth__rule { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 13px; color: var(--muted); transition: color .2s; }
.ks-auth__rule .ks-ico { width: 15px; height: 15px; opacity: .45; transition: opacity .2s, color .2s; }
.ks-auth__rule.is-ok { color: var(--soft); }
.ks-auth__rule.is-ok .ks-ico { opacity: 1; color: var(--gold); }
.ks-field.has-error .ks-auth__rule { color: var(--err); }
.ks-auth__fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ks-auth__fine a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }

.ks-auth__switch { margin: 24px 0 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.ks-auth__switch button, .ks-auth__inline { font-weight: 500; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.ks-auth__switch button:hover, .ks-auth__inline:hover { color: var(--text); }
.ks-auth__inline:disabled { color: var(--muted); text-decoration: none; cursor: default; }

/* 6-digit code: one real input (paste, autofill and screen readers just work) laid over six boxes. */
.ks-otp { position: relative; margin: 2px 0 22px; }
.ks .ks-otp input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: -.5em; }
.ks .ks-otp input::selection { background: transparent; }
.ks-otp__slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ks-otp__slots span { display: grid; place-items: center; height: 60px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); font: 500 26px/1 var(--sans); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.ks-otp.is-focus .ks-otp__slots span.is-active { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 163, 91, .14); }
.ks-otp.is-focus .ks-otp__slots span.is-active:empty::after { content: ""; width: 1.5px; height: 26px; background: var(--gold-2); animation: ks-caret 1s steps(1) infinite; }
.ks-otp.has-error .ks-otp__slots span { border-color: #d9776a; }
.ks-otp.has-error .ks-otp__slots { animation: ks-shake .4s ease; }
@keyframes ks-caret { 50% { opacity: 0; } }
@keyframes ks-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.ks-auth__resend { margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ks-auth__resend [data-ks-su-timer] { font-variant-numeric: tabular-nums; }

.ks-auth__done, .ks .ks-auth__done:focus-visible { text-align: center; outline: none; }
.ks-auth__done p { color: var(--soft); margin: 10px 0 26px; }
.ks-auth__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; border: 1px solid rgba(201, 163, 91, .5); color: var(--gold-2); }
.ks-auth__badge .ks-ico { width: 28px; height: 28px; }
.ks-auth__form > .ks-back { margin-bottom: 22px; }

.ks-auth__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.ks-auth__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.ks-auth__trust .ks-ico { width: 16px; height: 16px; color: var(--gold); }

/* Short laptop screens (1366×768, 1280×720): tighter spacing so the form fits. */
@media (min-width: 901px) and (max-height: 820px) {
	.ks-auth__panel { padding-block: 24px; }
	.ks-auth__tabs { margin-bottom: 22px; }
	.ks-auth__head { margin-bottom: 18px; }
	.ks-auth__steps { margin-bottom: 10px; }
	.ks-auth .ks-field { margin-bottom: 12px; }
	.ks-auth .ks-field input { min-height: 48px; }
	.ks-auth__remember { margin-bottom: 16px; }
	.ks-auth__switch { margin-top: 18px; }
	.ks-auth__trust { margin-top: 22px; padding-top: 16px; }
	.ks-otp__slots span { height: 54px; }
	.ks-auth__perks li { padding-block: 11px 10px; gap: 6px; }
}
@media (min-width: 901px) and (max-height: 700px) {
	.ks-auth__trust { display: none; }
}

.ks-field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ks-field__link { font-size: 13px; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.ks-pass { position: relative; }
.ks-pass input { padding-right: 52px; }
.ks-pass__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); }
.ks-pass__toggle:hover { color: var(--text); }
.ks-pass__toggle .ks-ico { width: 19px; height: 19px; }
.ks-pass__toggle .ks-ico:last-child, .ks-pass.is-shown .ks-pass__toggle .ks-ico:first-child { display: none; }
.ks-pass.is-shown .ks-pass__toggle .ks-ico:last-child { display: block; }

/* ---------- Notices ---------- */
.ks-notices { display: grid; gap: 10px; margin-bottom: 20px; }
.ks-notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; color: var(--text); background: rgba(243, 236, 226, .04); border: 1px solid rgba(201, 163, 91, .4); animation: ks-in .4s var(--ease) both; }
.ks-notice .ks-ico { color: var(--gold); margin-top: 1px; }
.ks-notice a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.ks-notice.is-success { background: rgba(127, 207, 149, .08); border-color: rgba(127, 207, 149, .35); }
.ks-notice.is-success .ks-ico { color: var(--ok); }
.ks-notice.is-error { background: rgba(228, 139, 125, .08); border-color: rgba(228, 139, 125, .4); }
.ks-notice.is-error .ks-ico { color: var(--err); }
.ks-notice .button { margin-right: 6px; }

/* ---------- Member layout ---------- */
.ks-acc-hero { position: relative; overflow: hidden; padding: clamp(28px, 5vh, 48px) 0 clamp(22px, 4vh, 36px); border-bottom: 1px solid var(--line); background: radial-gradient(50% 160% at 15% 0%, rgba(243, 236, 226, .05), transparent 60%), linear-gradient(180deg, #121211, #0d0d0c); }
.ks-acc-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ks-acc-hero__id { min-width: 0; }
.ks-acc-hero .ks-label { margin-bottom: 6px; }
.ks .ks-acc-hero h1 { font-size: clamp(2rem, min(3.6vw, 6vh), 2.9rem); }
.ks-acc-hero__sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.ks-member { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(24px, 4vh, 40px); padding-bottom: clamp(64px, 9vh, 110px); }
.ks-acc__nav { position: sticky; top: calc(var(--header-h) + var(--wpab, 0px) + 16px); display: grid; gap: 4px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); }
.ks-acc__link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 10px; font: 500 14.5px var(--sans); color: var(--soft); transition: background-color .2s, color .2s; }
.ks-acc__link .ks-ico { color: var(--muted); transition: color .2s; }
.ks-acc__link:hover { background: rgba(243, 236, 226, .05); color: var(--text); }
.ks-acc__link.is-current { background: rgba(243, 236, 226, .06); color: var(--text); box-shadow: inset 2px 0 0 var(--gold); }
.ks-acc__link.is-current .ks-ico, .ks-acc__link:hover .ks-ico { color: var(--gold); }
.ks-acc__link--out { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 4px; }
.ks-acc__main { min-width: 0; }

.ks-acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ks .ks-acc-head h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.ks-acc-head p { margin: 4px 0 0; color: var(--muted); }
.ks-acc-head--order { align-items: center; }

.ks-acc-card { padding: clamp(18px, 2.4vw, 26px); border-radius: 16px; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); }
.ks-acc-card--fill { height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ks-acc-card--fill address { color: var(--soft); line-height: 1.7; }
.ks-acc-card--track { margin-bottom: 18px; }
.ks-acc-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px !important; font: 500 13px var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--soft) !important; }
.ks-acc-card__title .ks-ico { width: 18px; height: 18px; color: var(--gold); }
.ks-acc-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.ks-acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.ks-stat { position: relative; display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); }
.ks-stat > span { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201, 163, 91, .4); color: var(--gold); }
.ks-stat > span .ks-ico { width: 19px; height: 19px; }
.ks-stat strong { font: 600 1.7rem/1.2 var(--sans); color: var(--text); }
.ks-stat small { font-size: 13px; color: var(--muted); }

.ks-acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
.ks-acc-block { display: flex; flex-direction: column; min-width: 0; }
.ks-acc-block--wide { grid-column: 1 / -1; }
.ks-acc-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ks .ks-acc-block__head h2 { font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ks-acc-block > :last-child { flex: 1; }

.ks-acc-links { display: grid; gap: 8px; }
.ks-acc-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.ks-acc-links a:hover { border-color: rgba(201, 163, 91, .5); transform: translateX(3px); }
.ks-acc-links a > .ks-ico:first-child { width: 22px; height: 22px; color: var(--gold); }
.ks-acc-links a > .ks-ico:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
.ks-acc-links span { display: grid; }
.ks-acc-links strong { font: 500 15px var(--sans); color: var(--text); }
.ks-acc-links small { font-size: 12.5px; color: var(--muted); }

.ks-acc-empty { display: grid; justify-items: center; gap: 6px; padding: clamp(28px, 5vw, 48px) 20px; text-align: center; border-radius: 16px; border: 1px dashed var(--line-2); }
.ks-acc-empty > .ks-ico { width: 40px; height: 40px; color: var(--gold); margin-bottom: 6px; }
.ks .ks-acc-empty h3 { font-size: 1.6rem; }
.ks-acc-empty p { color: var(--muted); max-width: 400px; }
.ks-acc-empty .ks-btn { margin-top: 6px; }
.ks-acc-empty.ks-acc-card { border-style: solid; }

/* Status pills */
.ks-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 500 12px var(--sans); letter-spacing: .06em; white-space: nowrap; color: var(--gold-2); background: transparent; border: 1px solid rgba(201, 163, 91, .45); }
.ks-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ks-pill.is-live::before { animation: ks-breathe 1.8s ease-in-out infinite; }
.ks-pill.is-ok { color: var(--ok); background: rgba(127, 207, 149, .1); border-color: rgba(127, 207, 149, .3); }
.ks-pill.is-wait { color: #e8c37a; background: rgba(232, 195, 122, .08); border-color: rgba(232, 195, 122, .28); }
.ks-pill.is-off { color: var(--muted); background: rgba(243, 236, 226, .05); border-color: var(--line-2); }

/* Order card */
.ks-ocards { display: grid; gap: 14px; }
.ks-ocard { display: grid; gap: 16px; padding: clamp(16px, 2.2vw, 22px); border-radius: 16px; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); transition: border-color .3s; }
.ks-ocard:hover { border-color: rgba(201, 163, 91, .4); }
.ks-ocard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ks .ks-ocard__head h3 { font-size: 1.5rem; }
.ks-ocard__head h3 a:hover { color: var(--gold-2); }
.ks-ocard__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.ks-ocard__items { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ks-ocard__thumb { position: relative; display: grid; place-items: center; width: 54px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: var(--p2); }
.ks .ks-ocard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ks-ocard__thumb b { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: #17110a; font: 600 10.5px var(--sans); }
.ks-ocard__names { min-width: 0; font-size: 14px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-ocard__more { font-size: 13px; color: var(--muted); }
.ks-ocard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.ks-ocard__total { margin: 0; display: grid; }
.ks-ocard__total small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ks-ocard__total strong { font: 600 1.15rem var(--sans); color: var(--text); }
.ks-ocard__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tracker */
.ks-track { --step: 0; --n: 5; }
.ks-track__steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 4px 0 14px; }
.ks-track__steps::before, .ks-track__steps::after { content: ""; position: absolute; top: 15px; left: calc(100% / (2 * var(--n))); height: 2px; border-radius: 2px; }
.ks-track__steps::before { right: calc(100% / (2 * var(--n))); background: rgba(243, 236, 226, .1); }
.ks-track__steps::after { width: calc((100% / var(--n)) * var(--step)); background: var(--grad-gold); transition: width 1s var(--ease); }
.ks-track__steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.ks-track__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #161615; border: 2px solid rgba(243, 236, 226, .16); color: transparent; }
.ks-track__dot .ks-ico { width: 16px; height: 16px; }
.ks-track__steps .is-done .ks-track__dot { background: var(--gold); border-color: var(--gold); color: #17110a; }
.ks-track__steps .is-now .ks-track__dot { border-color: var(--gold); background: #161615; box-shadow: 0 0 0 4px rgba(201, 163, 91, .12); }
.ks-track__steps .is-now .ks-track__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: ks-breathe 1.8s ease-in-out infinite; }
.ks-track__steps .is-now .ks-track__dot .ks-ico { display: none; }
.ks-track__steps strong { font: 500 13.5px var(--sans); color: var(--muted); }
.ks-track__steps .is-done strong, .ks-track__steps .is-now strong { color: var(--text); }
.ks-track__steps small { font-size: 12px; color: var(--muted); }
.ks-track__note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; border-radius: 12px; background: rgba(243, 236, 226, .04); font-size: 14px; color: var(--soft); }
.ks-track__note .ks-ico { color: var(--gold); width: 19px; height: 19px; }
.ks-track.is-done .ks-track__note { background: rgba(127, 207, 149, .07); }
.ks-track.is-done .ks-track__note .ks-ico { color: var(--ok); }
.ks-track.is-stopped .ks-track__note { background: rgba(243, 236, 226, .05); }
.ks-track.is-stopped .ks-track__note .ks-ico { color: var(--muted); }

/* Order details */
.ks-od { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ks-od__list { display: grid; }
.ks-od__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ks-od__item:first-child { padding-top: 0; }
.ks-od__thumb { display: grid; place-items: center; width: 64px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--p2); }
.ks .ks-od__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ks-od__info { display: grid; gap: 2px; min-width: 0; }
.ks-od__info strong { font: 500 1.25rem/1.15 var(--serif); color: var(--text); }
.ks-od__info strong a:hover { color: var(--gold-2); }
.ks-od__info small { font-size: 12.5px; color: var(--muted); }
.ks-od__qty { font-size: 13px; color: var(--soft); }
.ks-od__price { font: 600 15px var(--sans); color: var(--text); white-space: nowrap; }
.ks-od__totals { margin: 14px 0 0; }
.ks-od__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.ks-od__totals dt { color: var(--soft); }
.ks-od__totals dd { margin: 0; color: var(--text); text-align: right; }
.ks-od__totals dd small { display: block; color: var(--muted); font-size: 12px; }
.ks-od__totals .is-total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ks-od__totals .is-total dt { color: var(--text); font-weight: 600; }
.ks-od__totals .is-total dd { font: 600 1.3rem var(--sans); }
.ks-od__note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(243, 236, 226, .04); }
.ks-od__note small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ks-od__note p { margin: 4px 0 0; color: var(--soft); }
.ks-od__addr { display: grid; gap: 18px; }
.ks-od__addr address { color: var(--soft); line-height: 1.7; }
.ks-od__contact { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--soft); word-break: break-word; }
.ks-od__contact .ks-ico { width: 16px; height: 16px; color: var(--gold); }

.ks-updates { margin-top: 18px; }
.ks-updates ol { display: grid; gap: 14px; }
.ks-updates li { position: relative; padding-left: 20px; }
.ks-updates li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ks-updates time { font-size: 12.5px; color: var(--muted); }
.ks-updates li p { margin: 2px 0 0; color: var(--soft); }
.ks-acc-help { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--soft); }
.ks-acc-help p { margin: 0; }
.ks-acc-help .ks-ico { color: var(--gold); }
.ks-acc-help a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* Addresses */
.ks-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ks-addr { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ks-addr header { display: flex; align-items: center; gap: 12px; }
.ks-addr__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(201, 163, 91, .4); color: var(--gold); }
.ks .ks-addr h3 { font-size: 1.4rem; }
.ks-addr header small { font-size: 12.5px; color: var(--muted); }
.ks-addr address { flex: 1; color: var(--soft); line-height: 1.7; }

/* Forms */
.ks-acc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ks-field--wide { grid-column: 1 / -1; }
.ks-acc-form__foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.ks-acc-pass { margin: 8px 0 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.ks-acc-pass summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.ks-acc-pass summary::-webkit-details-marker { display: none; }
.ks-acc-pass summary > .ks-ico:first-child { color: var(--gold); }
.ks-acc-pass summary > .ks-ico:last-child { margin-left: auto; color: var(--muted); transition: transform .3s; }
.ks-acc-pass[open] summary > .ks-ico:last-child { transform: rotate(180deg); }
.ks-acc-pass summary span { display: grid; }
.ks-acc-pass summary strong { font: 500 15px var(--sans); color: var(--text); }
.ks-acc-pass summary small { font-size: 12.5px; color: var(--muted); }
.ks-acc-pass .ks-acc-form__grid { padding: 0 18px 4px; }

/* Your fragrances */
.ks-mini-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ks-mp { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 14px; row-gap: 10px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, #151514, #111110); border: 1px solid var(--line); transition: border-color .3s; }
.ks-mp:hover { border-color: color-mix(in srgb, var(--p1) 50%, transparent); }
.ks-mp__media { grid-row: 1 / 3; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: radial-gradient(70% 60% at 50% 60%, color-mix(in srgb, var(--p1) 40%, transparent), transparent 75%), linear-gradient(180deg, color-mix(in srgb, var(--p2) 85%, #000), #0d0c0a); }
.ks .ks-mp__media img { height: 86%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.ks .ks-mp__media img.is-photo { width: 100%; height: 100%; object-fit: cover; }
.ks-mp__info { display: grid; gap: 1px; min-width: 0; }
.ks .ks-mp__info h3 { font-size: 1.25rem; }
.ks-mp__info small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ks-mp__info span { font: 600 14px var(--sans); color: var(--text); }
/* Four of these sit in a row, so they are gold outlines that fill on hover, not four gold blocks. */
.ks-mp .ks-card__add { justify-self: start; height: 36px; padding: 0 12px 0 10px; border: 1px solid rgba(201, 163, 91, .6); background: transparent; color: var(--gold-2); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.ks-mp .ks-card__add:hover { background: var(--gold); border-color: var(--gold); color: #17110a; box-shadow: none; }
.ks-mp .ks-card__add.is-added { background: var(--text); border-color: var(--text); color: #17110a; }
.ks-mp .ks-card__add .ks-ico { width: 15px; height: 15px; }

.ks-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- Thank-you body ---------- */
.ks-thanks__body { padding-top: clamp(28px, 4vh, 44px); padding-bottom: 12px; }
.ks-thanks__extra { margin-bottom: 18px; color: var(--soft); }
.ks-thanks__extra p:last-child { margin-bottom: 0; }
.ks-thanks__extra h2 { font-size: 1.5rem; margin-bottom: 10px; }
.ks-thanks__extra ul { display: grid; gap: 6px; }
.ks-thanks__more { padding-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ks-member { grid-template-columns: 210px minmax(0, 1fr); }
	.ks-od { grid-template-columns: minmax(0, 1fr); }
	.ks-od__addr { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 900px) {
	/* Phones and tablets: the form first, the photo panel after it. */
	.ks-auth { display: flex; flex-direction: column; min-height: 0; }
	.ks-auth__panel { padding: 28px var(--gutter) 4px; }
	.ks-auth__box { width: min(100%, 440px); }
	.ks-auth__tabs { margin-bottom: 26px; }
	.ks-auth__head { margin-bottom: 22px; }
	.ks .ks-auth__head h1, .ks .ks-auth__done h1 { font-size: 2.1rem; }
	.ks-auth .ks-field input { font-size: 16px; }
	.ks-auth__trust { margin-top: 26px; }
	/* A landscape crop on the bottle's label, the text below it rather than over it. */
	.ks-auth__art { display: block; align-self: center; width: min(calc(100% - 2 * var(--gutter)), 440px); margin: 32px 0 44px; }
	.ks .ks-auth__photo { position: relative; z-index: auto; height: clamp(220px, 62vw, 280px); object-position: 50% 56%; animation: none; }
	.ks-auth__art::after { z-index: 1; inset: 0 0 auto; height: clamp(220px, 62vw, 280px); background: linear-gradient(180deg, rgba(11, 10, 9, 0) 74%, #0b0a09 100%); }
	.ks-auth__pitch { position: relative; z-index: 2; padding: 4px 18px 20px; animation: none; }
	.ks .ks-auth__pitch h2 { font-size: 1.6rem; text-align: center; }
	.ks-auth__perks { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .02); }

	.ks-member { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.ks-acc__nav { position: sticky; top: calc(var(--header-h) + var(--wpab, 0px)); z-index: 5; display: flex; gap: 6px; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); border-radius: 0; border-width: 0 0 1px; overflow-x: auto; scrollbar-width: none; background: rgba(14, 13, 11, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
	.ks-acc__nav::-webkit-scrollbar { display: none; }
	.ks-acc__link { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; }
	.ks-acc__link .ks-ico { width: 17px; height: 17px; }
	.ks-acc__link.is-current { box-shadow: none; border-color: var(--gold); }
	.ks-acc__link--out { display: none; }
	.ks-acc__main { padding-top: 22px; }
}

@media (max-width: 680px) {
	.ks-acc-hero__out { display: none; }
	.ks-acc-stats { grid-template-columns: 1fr 1fr; }
	.ks-stat:last-child { grid-column: 1 / -1; }
	.ks-stat { padding: 14px 16px; }
	.ks-stat strong { font-size: 1.35rem; }
	.ks-stat > span { width: 32px; height: 32px; right: 12px; top: 12px; }
	.ks-acc-grid, .ks-addr-grid, .ks-acc-form__grid { grid-template-columns: minmax(0, 1fr); }
	.ks-acc-head { flex-direction: column; align-items: flex-start; }
	.ks-acc-head--order { flex-direction: row; align-items: center; }
	.ks-ocard__foot { flex-direction: column; align-items: stretch; }
	.ks-ocard__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
	.ks-track__steps strong { font-size: 12.5px; }
	.ks-od__item { grid-template-columns: 56px minmax(0, 1fr); }
	.ks-od__thumb { width: 56px; height: 66px; }
	.ks-od__price { grid-column: 2; }
	.ks-acc-form__foot .ks-btn { flex: 1; }
	.ks-mp { grid-template-columns: 64px minmax(0, 1fr); }
}
