:root {
  --brand: #1f3d33;
  --brand-dark: #16302a;
  --brand-soft: #eef2ec;
  --accent: #e9a23b;
  --accent-soft: #fbefd9;
  --aurora: var(--accent);
  --night: #1f3d33;
  --night-2: #28503f;
  --ink: #1f3d33;
  --muted: #5b6b63;
  --line: #e6e0d2;
  --bg: #ffffff;
  --bg-soft: #f4f4f1;
  --radius: 14px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --display: "Poppins", system-ui, sans-serif;
  --logo: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, .btn, .bundle__text b, .bundle__price b, .divider { font-family: var(--display); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* marquee */
.marquee { background: var(--night); color: #faf7f0; text-transform: uppercase; letter-spacing: .12em; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.marquee__track { display: inline-flex; gap: 48px; padding: 9px 0; animation: scroll 28s linear infinite; }
.marquee__track span::before { content: "•"; margin-right: 48px; color: var(--accent); }
.marquee--wave { background: var(--accent); color: var(--brand); margin: 0; padding: 10px 0; clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* header */
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header__nav { display: flex; gap: 20px; font-size: 14px; }
.header__nav a { text-decoration: none; color: var(--muted); }
.header__nav a:hover { color: var(--ink); }
.header__logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--logo); font-weight: 700; font-size: 30px; letter-spacing: -.01em; text-decoration: none; color: var(--night); line-height: 1; }
.header__logo span { color: var(--brand); }
.header__logo sup { font-family: var(--font); font-size: 9px; font-weight: 600; margin-left: -6px; align-self: flex-start; margin-top: 0; color: var(--brand); }
.header__icons { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { position: relative; background: none; border: 0; padding: 8px; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 720px) { .header__nav a { display: none; } }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-top: 28px; padding-bottom: 40px; max-width: 1240px; align-items: start; }
@media (min-width: 861px) { .gallery { position: sticky; top: 90px; } }
.product > * { min-width: 0; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; } }
.gallery__main { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery__main img, .gallery__main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb { position: relative; }
.thumb__play { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(31,61,51,.85); }
.thumb__play::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid #faf7f0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: 0 0 84px; height: 84px; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; background: var(--bg-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--brand); }

.info__title { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
.info__bullets { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.info__bullets li { display: flex; align-items: center; gap: 10px; }
.info__bullets li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3d33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); background-size: 70%; background-position: center; background-repeat: no-repeat; }

.colors { margin-bottom: 16px; }
.colors__label { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.colors__label b { color: var(--ink); }
.colors__list { display: flex; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; background: var(--sw); border: 2px solid var(--line); box-shadow: inset 0 0 0 3px #fff; }
.swatch.is-active { border-color: var(--brand); }

.divider { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--ink); }

.bundles { display: grid; gap: 16px; margin-bottom: 8px; }
.bundle { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: #f3f2ec; border: 3px solid #b7bcb5; border-radius: 16px; padding: 18px 20px; color: var(--brand); }
.bundle.is-active { border-color: var(--brand); background: #e3e3dc; }
.bundle__radio { width: 24px; height: 24px; border-radius: 50%; border: 3px solid #b7bcb5; flex: none; background: #fff; }
.bundle.is-active .bundle__radio { border: 3px solid var(--brand); box-shadow: inset 0 0 0 3px #fff; background: var(--brand); }
.bundle__text { flex: 1; display: grid; gap: 2px; }
.bundle__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.bundle__chip { font-size: 12px; font-weight: 700; letter-spacing: .06em; border: 2px solid var(--brand); border-radius: 8px; padding: 2px 9px; }
.bundle__text small { font-size: 14px; letter-spacing: .06em; color: var(--brand); }
.bundle__price { display: grid; justify-items: end; font-size: 20px; letter-spacing: .06em; }
.bundle__price s { font-size: 16px; opacity: .85; }
.bundle__ribbon { position: absolute; top: -18px; right: -10px; background: var(--brand); color: #f5f1e8; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; transform: rotate(3deg); box-shadow: 0 4px 10px rgba(15,30,25,.2); }
.low-stock { display: block; margin: 6px 0 16px; font-size: 15px; letter-spacing: .05em; color: var(--brand); }
.low-stock__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #d63b2f; margin-right: 8px; vertical-align: -1px; }
.low-stock__label { color: #d63b2f; text-transform: uppercase; letter-spacing: .06em; }
.addon { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; cursor: pointer; }
.addon img { width: 36px; height: 36px; }
.addon__title { flex: 1; font-weight: 600; font-size: 14px; }
.addon__price { font-weight: 700; color: var(--brand); font-size: 14px; }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.toggle { width: 38px; height: 22px; border-radius: 12px; background: #d6d0c0; position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.addon input:checked + .toggle { background: var(--brand); }
.addon input:checked + .toggle::after { transform: translateX(16px); }

.btn { border: 0; border-radius: 10px; padding: 14px 22px; font-weight: 700; letter-spacing: .04em; }
.btn--primary { background: var(--brand); color: #faf7f0; box-shadow: 0 8px 20px rgba(31,61,51,.22); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--block { display: block; width: 100%; font-size: 17px; padding: 17px; }
.btn:focus-visible, .bundle:focus-visible, .swatch:focus-visible, .thumb:focus-visible { outline: 3px solid #e9a23b; outline-offset: 2px; }

.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 18px; }
.pay { font-size: 10px; font-weight: 700; border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; color: var(--muted); }

.accordions { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 4px; font-weight: 700; letter-spacing: .06em; font-size: 15px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 300; line-height: 1; flex: none; }
.acc[open] summary::after { content: "−"; }
.acc__icon { width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.acc__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.acc__body { padding: 0 4px 18px 38px; color: var(--muted); font-size: 15px; line-height: 1.75; letter-spacing: .02em; }
.acc__body b { color: var(--ink); font-weight: 700; }
.accordions--light .acc__body { padding-left: 4px; }
.accordions--light { border-color: rgba(255,255,255,.35); }
.accordions--light .acc { border-color: rgba(255,255,255,.35); }
.accordions--light .acc__body { color: #eef0ff; }

/* blue band with waves */
.band { background: var(--night); color: #fff; padding: 24px 0 36px; }
.band__title { text-align: center; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.wave { height: 40px; background: var(--night); }
.wave--top { clip-path: ellipse(75% 100% at 50% 100%); }
.wave--bottom { clip-path: ellipse(75% 100% at 50% 0%); margin-bottom: 20px; }

/* cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(15,16,30,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; }
.drawer-open .overlay { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 18px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); }
.line__info { flex: 1; display: grid; gap: 2px; font-size: 14px; }
.line__info small { color: var(--muted); }
.line__price { font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; width: max-content; }
.qty button { background: none; border: 0; width: 30px; height: 30px; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.empty { text-align: center; color: var(--muted); margin-top: 40px; }
.drawer__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 16px; }

.marquee--wave .marquee__track span::before { color: var(--brand); }
.info__title { font-weight: 700; }
.pay { background: #fffdf8; }

/* footer (TailWard style) */
.footer { background: var(--night); color: #e7ece8; padding: 44px 0 120px; }
.footer__inner { display: grid; justify-items: center; gap: 26px; text-align: center; }
.pay-icons--footer { gap: 10px; margin: 0; max-width: 560px; }
.pay-icons--footer .pay svg { width: 56px; height: 36px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: 14px; letter-spacing: .04em; }
.footer__links > * { padding: 0 12px; position: relative; }
.footer__links > * + *::before { content: "·"; position: absolute; left: -2px; opacity: .7; }
.footer a { color: #e7ece8; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* payment badges */
.pay { display: inline-flex; border: 0; padding: 0; background: none; }
.pay svg { width: 50px; height: 32px; display: block; border-radius: 5px; }
.info .pay-icons { gap: 8px; margin: 14px 0 20px; flex-wrap: nowrap; }
.info .pay svg { width: 46px; height: 30px; }

/* sticky add to cart */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .25s; pointer-events: none; }
.sticky-bar .btn { pointer-events: auto; max-width: 720px; margin: 0 auto; border-radius: 14px; font-size: 20px; padding: 18px; text-transform: none; letter-spacing: .02em; box-shadow: 0 10px 28px rgba(15,30,25,.35); }
.show-sticky .sticky-bar { transform: none; }
.to-top { position: fixed; right: 16px; bottom: 96px; z-index: 31; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brand); color: #f5f1e8; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(15,30,25,.3); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.show-sticky .to-top { opacity: 1; pointer-events: auto; }

/* sections: features, colors, how */
.section-title { text-align: center; font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 26px; line-height: 1.2; }
.features { padding-top: 56px; padding-bottom: 56px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fffdf8; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; display: grid; gap: 6px; justify-items: start; }
.feat__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 4px; }
.feat__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat b { font-size: 16px; }
.feat p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .features__grid { grid-template-columns: 1fr 1fr; gap: 12px; } .feat { padding: 16px 14px; } }

.duo { padding-top: 56px; padding-bottom: 16px; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo__card { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 1; }
.duo__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.duo__card:hover img { transform: scale(1.03); }
.duo__label { position: absolute; left: 14px; bottom: 14px; background: var(--bg); color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }

.how { padding-top: 40px; padding-bottom: 64px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__steps li { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 8px 12px; }
.how__num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.how__steps p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .how__steps { grid-template-columns: 1fr; gap: 18px; } }

/* shipping notes + delivery timeline */
.ship-notes { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; gap: 8px; font-size: 15px; letter-spacing: .03em; }
.ship-notes li { display: flex; align-items: center; gap: 10px; }
.ship-notes svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 24px; text-align: center; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 16.6%; right: 16.6%; height: 3px; background: var(--brand); }
.tl__step { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 14px; }
.tl__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin-bottom: 8px; }
.tl__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--bg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tl__step b { font-size: 14px; color: var(--ink); }
.tl__step span:last-child { color: var(--muted); }
@media (max-width: 400px) { .tl__step b { font-size: 12px; } .tl__step { font-size: 13px; } }

/* description block */
.desc { margin: 4px 0 22px; font-size: 15px; line-height: 1.85; letter-spacing: .05em; color: var(--ink); }
.desc p { margin: 0 0 16px; }
.desc ul { margin: 0 0 16px; padding-left: 22px; }
.desc li { margin-bottom: 6px; }
.desc li::marker { color: var(--ink); }
.desc b { font-weight: 700; }
.desc__note { font-style: italic; }
.desc__note span { font-style: italic; text-decoration: underline; text-underline-offset: 3px; }

/* why we made */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1180px; padding-top: 40px; padding-bottom: 40px; }
.why__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__eyebrow { display: block; color: #c8862a; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.why__text h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin: 0 0 16px; letter-spacing: .01em; color: var(--ink); }
.why__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; letter-spacing: .04em; color: var(--ink); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; gap: 24px; } }

@media (min-width: 861px) { .thumb { flex-basis: 96px; height: 96px; } .gallery__thumbs { justify-content: center; gap: 12px; margin-top: 12px; } }
.gallery__main video { object-position: 44% 50%; }

/* cart drawer v2 */
.drawer__head h3 { font-size: 26px; font-weight: 700; }
.line { gap: 14px; padding: 16px 0; }
.line img { width: 84px; height: 84px; border-radius: 10px; }
.line__info { gap: 4px; font-size: 15px; }
.line__top { display: flex; align-items: flex-start; gap: 10px; }
.line__title { flex: 1; font-size: 17px; line-height: 1.25; font-family: var(--display); }
.line__del { background: none; border: 0; padding: 2px; color: var(--ink); }
.line__del svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.line__unit s, .line__total s { color: var(--muted); font-weight: 500; }
.line__unit span { color: var(--brand); font-weight: 700; }
.line__tag { justify-self: start; background: var(--accent-soft); color: var(--brand); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.line__meta { color: var(--ink); letter-spacing: .03em; }
.line__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 4px; }
.line__total { display: grid; justify-items: end; font-size: 15px; }
.line__total b { color: var(--brand); font-size: 17px; }
.line__total small { font-weight: 700; color: var(--ink); font-size: 13px; }
.line__total s + b { margin-left: 4px; }
.drawer__savings { display: flex; justify-content: space-between; color: #c8862a; font-weight: 700; font-size: 18px; font-family: var(--display); margin-bottom: 4px; }
.drawer__savings[hidden] { display: none; }
.drawer__total { font-size: 22px; font-weight: 700; font-family: var(--display); }

/* secondary pages */
.page { padding-top: 64px; padding-bottom: 80px; max-width: 940px; }
.page__title { text-align: center; font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 28px; }
.page__title--caps { text-transform: uppercase; font-weight: 800; letter-spacing: .01em; font-size: clamp(26px, 3.4vw, 40px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { width: 100%; font: inherit; font-size: 16px; letter-spacing: .04em; color: var(--ink); background: #fff; border: 1px solid #8a948f; border-radius: 6px; padding: 16px 20px; }
.field::placeholder { color: #5b6b63; }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }
.field--area { resize: vertical; min-height: 130px; }
.form .btn { padding: 18px; font-size: 17px; text-transform: none; letter-spacing: .02em; border-radius: 6px; }
.form__status { min-height: 20px; margin: 0; text-align: center; color: var(--brand); font-size: 14px; }
.track-card { border: 1px solid var(--line); border-radius: 18px; padding: 40px 32px; }
.track-form { display: flex; gap: 16px; }
.track-form .field { flex: 1; border-color: var(--line); border-radius: 10px; }
.track-form .btn { border-radius: 10px; padding: 0 30px; font-size: 18px; text-transform: none; white-space: nowrap; }
.track-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } .track-form { flex-direction: column; } .track-form .btn { padding: 16px; } .track-card { padding: 28px 18px; } }
a.icon-btn { display: inline-flex; }

/* header search */
.search { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 69px; z-index: 19; }
.search__inner { padding-top: 14px; padding-bottom: 14px; display: grid; gap: 10px; max-width: 720px; }
.search__input { padding: 12px 16px; }
.search__results { display: grid; gap: 6px; }
.search__item { display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; color: var(--ink); }
.search__item:hover { border-color: var(--brand); }
.search__item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.search__item span { display: grid; }
.search__item small { color: var(--muted); font-size: 14px; }
.search__empty { margin: 0; color: var(--muted); font-size: 14px; }

.track-tabs { display: flex; justify-content: center; gap: 8px; margin: -8px 0 20px; }
.track-tab { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.track-tab.is-active { background: var(--brand); border-color: var(--brand); color: var(--bg); }
.track-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; }
.track-grid .field { border-color: var(--line); border-radius: 10px; }
.track-grid .btn { border-radius: 10px; padding: 0 30px; font-size: 18px; text-transform: none; white-space: nowrap; }
.track-grid[hidden], .track-form[hidden] { display: none; }
@media (max-width: 760px) { .track-grid { grid-template-columns: 1fr; } .track-grid .btn { padding: 16px; } }

.footer__company { margin: 0; font-size: 12px; opacity: .75; letter-spacing: .03em; }
.footer__company a { display: inline; text-decoration: underline; }
.legal { max-width: 780px; }
.legal .page__title { text-align: left; margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; letter-spacing: .02em; color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand); }

/* thank-you page */
.thanks { text-align: center; max-width: 640px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks__text { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.thanks__note { color: var(--muted); line-height: 1.7; margin: 0 0 26px; }
.thanks__note a { color: var(--brand); }
.thanks__btn { display: inline-block; text-decoration: none; text-transform: none; }
.btn:disabled { opacity: .6; cursor: progress; }

/* sold out */
.swatch.is-soldout { position: relative; opacity: .45; }
.swatch.is-soldout::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: #d63b2f; transform: translateX(-50%) rotate(45deg); }
.btn--primary:disabled { background: #9aa39e; box-shadow: none; cursor: not-allowed; }
