/* Horse Boost official store - Atelier Oxblood
   Editorial luxe: Prata display, Epilogue text, bone paper, oxblood bands,
   berry actions, hairline rules. Prefix: atl-  Indent: 4 spaces. */

:root {
    --paper: #f4f2ed;
    --bone: #faf8f4;
    --card: #ffffff;
    --ink: #191517;
    --ink-soft: #4f464b;
    --ink-mute: #7b7076;
    --line: #ddd6cc;
    --line-soft: #ece6dd;
    --plum: #5c1e33;
    --plum-deep: #3c1121;
    --berry: #d8324a;
    --berry-dark: #b2233a;
    --save: #1f6b4a;
    --wrap: 1160px;
    --r: 3px;
    --shadow: 0 1px 0 rgba(25, 21, 23, .04), 0 14px 34px -22px rgba(60, 17, 33, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Epilogue", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }

h1, h2, h3, .atl-display {
    font-family: "Prata", Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -.008em;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 .85rem; }
h3 { font-size: 1.19rem; margin: 0 0 .45rem; line-height: 1.3; }
p { margin: 0 0 1.05rem; }

.atl-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.atl-narrow { max-width: 760px; }
.atl-skip {
    position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
    padding: 10px 16px; z-index: 90;
}
.atl-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

.atl-eyebrow {
    font-size: .705rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--plum); font-weight: 600; margin: 0 0 .5rem;
}
.atl-lead { font-size: 1.09rem; color: var(--ink-soft); }
.atl-rule { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }
.atl-mute { color: var(--ink-mute); font-size: .87rem; }
.atl-center { text-align: center; }

/* ---- announcement + masthead ---- */
.atl-annobar {
    background: var(--plum-deep); color: #f3e2e8; font-size: .82rem;
    letter-spacing: .04em; text-align: center; padding: 8px 16px;
}
.atl-annobar strong { color: #fff; font-weight: 600; }

.atl-masthead {
    background: var(--paper); border-bottom: 1px solid var(--line);
    position: relative; z-index: 40;
}
.atl-masthead__in {
    display: flex; align-items: center; gap: 20px; min-height: 76px;
}
.atl-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.atl-brand img { width: 34px; height: 34px; }
.atl-brand__name { font-family: "Prata", Georgia, serif; font-size: 1.32rem; line-height: 1; }
.atl-brand__name sup { font-size: .5em; top: -.75em; position: relative; }
.atl-brand__sub {
    display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink-mute); margin-top: 4px;
}
.atl-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.atl-nav a {
    color: var(--ink); text-decoration: none; font-size: .93rem; padding: 6px 0;
    border-bottom: 1px solid transparent;
}
.atl-nav a:hover { border-bottom-color: var(--berry); }
.atl-btn {
    display: inline-block; background: var(--berry); color: #fff; text-decoration: none;
    font-weight: 600; padding: 13px 24px; border-radius: var(--r); border: 0;
    font-family: inherit; font-size: 1rem; cursor: pointer; letter-spacing: .01em;
    transition: background .16s ease;
}
.atl-btn:hover { background: var(--berry-dark); color: #fff; }
.atl-btn--big { width: 100%; padding: 18px 20px; font-size: 1.12rem; text-align: center; }
.atl-nav a.atl-btn, .atl-drawer a.atl-btn { color: #fff; border-bottom: 0; }
.atl-nav a.atl-btn:hover, .atl-drawer a.atl-btn:hover { color: #fff; background: var(--berry-dark); }
.atl-nav__cta {
    margin-left: 10px; background: var(--plum); padding: 10px 20px; font-size: .82rem;
    font-weight: 600; letter-spacing: .11em; text-transform: uppercase; box-shadow: none;
}
.atl-nav a.atl-nav__cta:hover { background: var(--plum-deep); }

.atl-burger {
    display: none; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: var(--r); width: 44px; height: 40px; cursor: pointer; padding: 0;
}
.atl-burger span, .atl-burger span::before, .atl-burger span::after {
    display: block; width: 19px; height: 1.6px; background: var(--ink); margin: 0 auto;
    position: relative; content: "";
}
.atl-burger span::before { position: absolute; top: -6px; }
.atl-burger span::after { position: absolute; top: 6px; }

.atl-drawer {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bone);
    border-bottom: 1px solid var(--line); padding: 12px 22px 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.atl-drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.atl-drawer a {
    display: block; padding: 12px 2px; border-bottom: 1px solid var(--line-soft);
    color: var(--ink); text-decoration: none;
}
.atl-drawer .atl-btn { margin-top: 14px; text-align: center; }

/* ---- buy box (layout B, centered stack) ---- */
.atl-shop { padding: 18px 0 48px; background: linear-gradient(180deg, #f7f5f0 0%, var(--paper) 62%); }
.atl-shop__head { max-width: 720px; margin: 0 auto; text-align: center; }
.atl-shop h1 { font-size: clamp(1.95rem, 3.5vw, 2.55rem); }
.atl-shop h1 em { font-style: italic; color: var(--plum); }
.atl-stars { color: var(--berry); letter-spacing: .12em; font-size: 1.02rem; }
.atl-ratingrow {
    display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: .9rem; color: var(--ink-soft); margin-bottom: .6rem;
}
.atl-shot { margin: 0 auto 8px; width: 172px; }
.atl-shot img { width: 172px; height: 172px; object-fit: contain; }
.atl-define {
    max-width: 730px; margin: 0 auto 1.05rem; text-align: center; font-size: 1rem;
    color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 11px 4px; line-height: 1.55;
}
.atl-define b { font-weight: 600; }

.atl-picker {
    max-width: 880px; margin: 0 auto; background: var(--card); border: 1px solid var(--ink);
    border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
}
.atl-picker__cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.atl-col { border-right: 1px solid var(--line); position: relative; }
.atl-col:last-child { border-right: 0; }
.atl-col input {
    position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0;
}
.atl-col label {
    display: block; padding: 18px 16px; text-align: center; cursor: pointer;
    background: var(--card); transition: background .16s ease, color .16s ease;
    height: 100%;
}
.atl-col label:hover { background: #fbf7f3; }
.atl-col__flag {
    display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--berry); min-height: 15px; font-weight: 600;
}
.atl-col__qty { display: block; font-family: "Prata", Georgia, serif; font-size: 1.42rem; margin: 6px 0 2px; }
.atl-col__days { display: block; font-size: .82rem; color: var(--ink-mute); }
.atl-col__per { display: block; font-family: "Prata", Georgia, serif; font-size: 2.4rem; margin: 14px 0 0; line-height: 1; }
.atl-col__per span { font-size: .95rem; font-family: "Epilogue", sans-serif; color: var(--ink-mute); }
.atl-col__was { display: block; font-size: .84rem; color: var(--ink-mute); margin-top: 8px; }
.atl-col__was s { color: var(--ink-mute); }
.atl-col__was b { font-weight: 600; color: var(--ink); }
.atl-col__save {
    display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 600;
    color: var(--save); border: 1px solid var(--save); border-radius: 999px; padding: 3px 11px;
}
.atl-col__ship { display: block; font-size: .8rem; color: var(--ink-mute); margin-top: 9px; }
.atl-col__tick {
    display: block; margin: 12px auto 0; width: 21px; height: 21px; border: 1px solid var(--line);
    border-radius: 50%; position: relative;
}
.atl-col input:checked + label { background: var(--plum); color: #fbeff2; }
.atl-col input:checked + label .atl-col__flag { color: #f3c9d3; }
.atl-col input:checked + label .atl-col__days,
.atl-col input:checked + label .atl-col__was,
.atl-col input:checked + label .atl-col__was s,
.atl-col input:checked + label .atl-col__ship,
.atl-col input:checked + label .atl-col__per span { color: #dfc2cb; }
.atl-col input:checked + label .atl-col__was b { color: #fff; }
.atl-col input:checked + label .atl-col__save { color: #ffe6c9; border-color: #c98d68; }
.atl-col input:checked + label .atl-col__tick { border-color: #fbeff2; background: #fbeff2; }
.atl-col input:checked + label .atl-col__tick::after {
    content: "\2713"; position: absolute; inset: 0; color: var(--plum);
    font-size: 13px; line-height: 21px; text-align: center;
}
.atl-col input:focus-visible + label { outline: 2px solid var(--berry); outline-offset: -4px; }

.atl-checkout { border-top: 1px solid var(--ink); padding: 22px 24px 26px; background: var(--bone); }
.atl-checkout__row {
    display: flex; align-items: baseline; justify-content: center; gap: 14px;
    flex-wrap: wrap; margin-bottom: 14px;
}
.atl-checkout__total { font-family: "Prata", Georgia, serif; font-size: 2.1rem; line-height: 1; }
.atl-checkout__meta { font-size: .93rem; color: var(--ink-soft); }
.atl-checkout__meta b { color: var(--save); font-weight: 600; }
.atl-micro {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px;
    font-size: .82rem; color: var(--ink-soft); text-align: center;
}
.atl-micro span { display: block; }
.atl-bonus {
    margin-top: 14px; font-size: .88rem; text-align: center; color: var(--plum);
    border-top: 1px dashed var(--line); padding-top: 12px;
}

.atl-seals {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
    margin: 26px auto 0; max-width: 880px; font-size: .8rem; letter-spacing: .09em;
    text-transform: uppercase; color: var(--ink-soft);
}
.atl-seals span { display: inline-flex; align-items: center; gap: 7px; }
.atl-seals span::before {
    content: ""; width: 6px; height: 6px; background: var(--berry); border-radius: 50%;
}

/* ---- sections ---- */
.atl-band { padding: 60px 0; }
.atl-band--bone { background: var(--bone); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.atl-band--plum { background: var(--plum); color: #f6e6ea; }
.atl-band--plum h2 { color: #fff; }
.atl-band--plum a { color: #ffd9e0; }
.atl-band--ink { background: var(--ink); color: #ece5e7; }
.atl-band--ink h2 { color: #fff; }

.atl-grid2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.atl-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.atl-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.atl-split { display: grid; grid-template-columns: 7fr 5fr; gap: 52px; align-items: start; }

.atl-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    padding: 24px 22px;
}
.atl-card--flat { background: transparent; border: 0; border-top: 2px solid var(--ink); padding: 18px 0 0; }
.atl-num {
    font-family: "Prata", Georgia, serif; font-size: 2.4rem; line-height: 1; color: var(--plum);
    display: block; margin-bottom: 6px;
}

table.atl-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--card); }
table.atl-table th, table.atl-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.atl-table th[scope="row"] { width: 38%; font-weight: 600; background: #faf7f3; }
table.atl-table thead th { background: var(--ink); color: #fff; font-weight: 600; border-bottom: 0; }
.atl-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }

.atl-quote {
    border-left: 2px solid var(--berry); padding: 4px 0 4px 18px; margin: 0 0 1.2rem;
    font-size: 1.06rem;
}
.atl-tl { border-left: 3px solid var(--plum); padding: 16px 0 16px 20px; background: var(--bone); }
.atl-tl p:last-child { margin-bottom: 0; }
.atl-list { margin: 0 0 1.1rem; padding-left: 20px; }
.atl-list li { margin-bottom: .5rem; }
.atl-check { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.atl-check li { position: relative; padding-left: 26px; margin-bottom: .62rem; }
.atl-check li::before {
    content: "\2713"; position: absolute; left: 0; top: 0; color: var(--berry); font-weight: 700;
}

/* ---- label panel (Supplement Facts) ---- */
.atl-facts {
    background: #fffdf8; border: 2px solid var(--ink); border-radius: 2px; padding: 18px 20px 20px;
    font-family: "Epilogue", Arial, sans-serif; max-width: 470px;
}
.atl-facts h3 {
    font-family: "Epilogue", Arial, sans-serif; font-weight: 800; font-size: 1.62rem;
    letter-spacing: -.02em; margin: 0 0 4px;
}
.atl-facts .atl-facts__hr { border: 0; border-top: 9px solid var(--ink); margin: 6px 0; }
.atl-facts .atl-facts__hr--thin { border-top: 1px solid var(--ink); }
.atl-facts table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.atl-facts th, .atl-facts td { padding: 5px 0; border-bottom: 1px solid #cfc7bd; text-align: left; }
.atl-facts td:last-child, .atl-facts th:last-child { text-align: right; white-space: nowrap; }
.atl-facts tfoot td { border-bottom: 0; }
.atl-facts__note { font-size: .78rem; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.45; }

/* ---- reviews ---- */
.atl-bars { display: grid; gap: 8px; }
.atl-bar { display: grid; grid-template-columns: 46px 1fr 44px; align-items: center; gap: 12px; font-size: .88rem; }
.atl-bar__track { background: #e5ded5; height: 9px; border-radius: 999px; overflow: hidden; }
.atl-bar__fill { background: var(--berry); height: 100%; display: block; }
.atl-wall { columns: 3; column-gap: 22px; }
.atl-rev {
    break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    padding: 18px 18px 16px; margin: 0 0 22px; font-size: .95rem;
}
.atl-rev__who { font-weight: 600; }
.atl-rev__meta { font-size: .8rem; color: var(--ink-mute); margin-bottom: 8px; }
.atl-rev__badge {
    display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--save); border: 1px solid var(--save); border-radius: 999px; padding: 1px 8px; margin-left: 6px;
}
.atl-rev p { margin: 0; }

/* ---- FAQ (button + aria) ---- */
.atl-qa { border-top: 1px solid var(--line); }
.atl-qa__item { border-bottom: 1px solid var(--line); }
.atl-qa__btn {
    width: 100%; text-align: left; background: none; border: 0; padding: 16px 40px 16px 0;
    font-family: "Epilogue", sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--ink);
    cursor: pointer; position: relative; line-height: 1.45;
}
.atl-qa__btn::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: var(--berry); font-weight: 400;
}
.atl-qa__btn[aria-expanded="true"]::after { content: "\2212"; }
.atl-qa__panel { padding: 0 0 18px; color: var(--ink-soft); font-size: .97rem; }
.atl-qa__panel[hidden] { display: none; }
.atl-qa__panel p:last-child { margin-bottom: 0; }

/* ---- guarantee band ---- */
.atl-pledge { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: center; }
.atl-pledge__num { font-family: "Prata", Georgia, serif; font-size: 5rem; line-height: .9; color: #fff; }
.atl-pledge__num span { display: block; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; font-family: "Epilogue", sans-serif; margin-top: 8px; }

/* ---- refs / footer ---- */
.atl-refs { font-size: .87rem; color: var(--ink-soft); }
.atl-refs ol { padding-left: 20px; margin: 0; }
.atl-refs li { margin-bottom: .45rem; }

.atl-foot { background: var(--ink); color: #b9aeb2; font-size: .89rem; padding: 52px 0 30px; }
.atl-foot h4 { color: #fff; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; font-family: "Epilogue", sans-serif; font-weight: 600; }
.atl-foot a { color: #e4dade; text-decoration: none; }
.atl-foot a:hover { text-decoration: underline; }
.atl-foot ul { list-style: none; margin: 0; padding: 0; }
.atl-foot li { margin-bottom: 8px; }
.atl-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.atl-foot__brand { font-family: "Prata", Georgia, serif; font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.atl-foot__legal { border-top: 1px solid #322b2e; margin-top: 34px; padding-top: 22px; font-size: .79rem; line-height: 1.6; color: #968b8f; }
.atl-foot__legal p { margin: 0 0 .8rem; }

/* ---- sticky dock (V2 always on) ---- */
.atl-dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--plum-deep);
    color: #fff; border-top: 2px solid var(--berry); display: flex; align-items: center;
    gap: 16px; padding: 10px 54px 10px 22px;
}
.atl-dock__txt { font-size: .92rem; line-height: 1.3; }
.atl-dock__txt b { font-family: "Prata", Georgia, serif; font-weight: 400; font-size: 1.12rem; }
.atl-dock__txt span { display: block; font-size: .76rem; color: #e2c4cd; }
.atl-dock .atl-btn { margin-left: auto; padding: 12px 22px; white-space: nowrap; }
.atl-dock__x {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none;
    border: 0; color: #d9c2c9; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 6px 8px;
}
.atl-dock[hidden] { display: none; }
body.atl-dock-on { padding-bottom: 78px; }

/* ---- misc ---- */
.atl-crumbs { font-size: .82rem; color: var(--ink-mute); padding: 16px 0 0; }
.atl-crumbs a { color: var(--ink-mute); }
.atl-page { padding: 34px 0 60px; }
.atl-byline { font-size: .87rem; color: var(--ink-mute); border-left: 2px solid var(--line); padding-left: 14px; margin-bottom: 1.6rem; }
.atl-stamp { font-size: .8rem; color: var(--ink-mute); letter-spacing: .06em; }
.atl-cta-band { text-align: center; }
.atl-cta-band .atl-btn { margin-top: 10px; padding: 16px 40px; }
.atl-glossary dt { font-weight: 600; margin-top: 14px; }
.atl-glossary dd { margin: 4px 0 0; color: var(--ink-soft); }

@media (max-width: 980px) {
    .atl-split, .atl-grid2 { grid-template-columns: 1fr; gap: 30px; }
    .atl-grid4 { grid-template-columns: repeat(2, 1fr); }
    .atl-wall { columns: 2; }
    .atl-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .atl-nav { display: none; }
    .atl-burger { display: block; }
    .atl-grid3 { grid-template-columns: 1fr; }
    .atl-picker__cols { grid-template-columns: 1fr; }
    .atl-col { border-right: 0; border-bottom: 1px solid var(--line); }
    .atl-col label {
        display: grid; grid-template-columns: 26px 1fr auto; align-items: center;
        gap: 4px 14px; text-align: left; padding: 16px 16px;
    }
    .atl-col__tick { grid-row: 1 / span 3; margin: 0; }
    .atl-col__flag { grid-column: 2; }
    .atl-col__qty { grid-column: 2; margin: 0; font-size: 1.2rem; }
    .atl-col__days { grid-column: 2; }
    .atl-col__per { grid-column: 3; grid-row: 1 / span 2; font-size: 1.9rem; margin: 0; }
    .atl-col__was { grid-column: 3; grid-row: 3; text-align: right; margin: 0; }
    .atl-col__save { grid-column: 2 / span 2; justify-self: start; margin-top: 8px; }
    .atl-col__ship { grid-column: 2 / span 2; margin-top: 4px; }
    .atl-pledge { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    .atl-micro { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 620px) {
    body { font-size: 16.5px; }
    .atl-wall { columns: 1; }
    .atl-grid4 { grid-template-columns: 1fr; }
    .atl-foot__grid { grid-template-columns: 1fr; gap: 26px; }
    .atl-band { padding: 44px 0; }
    .atl-dock { padding: 9px 46px 9px 16px; }
    .atl-dock .atl-btn { padding: 11px 16px; font-size: .93rem; }
    body.atl-dock-on { padding-bottom: 86px; }
}
