/* ============================================================
   Athens GA Florist — Botanical Editorial design system
   style.css : tokens, base, components, sections
   (header/nav lives in header.css, breakpoints in responsive.css)
   ============================================================ */

:root {
    /* Palette — clean white / black with a florist-green accent (1800flowers style) */
    --forest:      #1a1a1a;   /* primary dark (buttons, badges, headings) */
    --forest-deep: #111111;
    --sage:        #767676;   /* muted gray text */
    --ink:         #1a1a1a;   /* body text — black */
    --cream:       #ffffff;   /* page background — white */
    --paper:       #ffffff;
    --paper-2:     #f4f3f1;   /* light gray surface */
    --blush:       #157a48;   /* accent green (eyebrows, links, highlights) */
    --accent:      #157a48;
    --accent-dark: #0f5e37;
    --rose:        #c25b6e;   /* flower-illustration tones (kept colourful) */
    --gold:        #d8a93f;
    --line:        #e6e6e6;

    /* Tone accents for placeholder blooms */
    --tone:        var(--rose);

    /* Type */
    --display: "Hanken Grotesk", system-ui, sans-serif;
    --body:    "Hanken Grotesk", system-ui, sans-serif;

    /* Rhythm */
    --maxw: 1480px;
    --gap:  clamp(1rem, 2.5vw, 2rem);
    --radius: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 2px 10px rgba(22, 41, 30, .06);
    --shadow:    0 18px 50px -24px rgba(22, 41, 30, .35);
    --shadow-lg: 0 40px 90px -40px rgba(22, 41, 30, .5);

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }

.site-main { display: block; }

/* ---------- Shared layout helpers ---------- */
.section {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: clamp(3.5rem, 7vw, 6rem) var(--gap);
}
.section--alt { background:
        radial-gradient(120% 120% at 100% 0%, rgba(125,154,130,.16), transparent 55%),
        var(--paper);
    max-width: none;
}
.section--alt > * { max-width: var(--maxw); margin-inline: auto; }

.section__head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__link {
    font-weight: 600; color: var(--forest); white-space: nowrap;
    border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.section__link:hover { border-color: var(--forest); }

.eyebrow {
    font-family: var(--body);
    text-transform: uppercase; letter-spacing: .22em;
    font-size: .72rem; font-weight: 700; color: var(--blush);
    margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em; border-radius: 100px;
    font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
    will-change: transform;
}
.btn--solid { background: var(--forest); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { color: var(--forest); border: 1px solid var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--paper); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--add {
    background: transparent; color: var(--forest);
    border: 1.5px solid var(--line); padding: .55em 1.2em; font-size: .85rem;
}
.btn--add:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.btn.is-added { background: var(--blush); color: #fff; border-color: var(--blush); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__blob {
    position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5;
}
.hero__blob--1 { width: 46vw; height: 46vw; top: -16vw; right: -8vw;
    background: radial-gradient(circle, rgba(217,138,118,.55), transparent 70%); }
.hero__blob--2 { width: 38vw; height: 38vw; bottom: -18vw; left: -10vw;
    background: radial-gradient(circle, rgba(125,154,130,.5), transparent 70%); }
.hero__grain {
    position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

.hero__inner {
    position: relative; z-index: 1;
    max-width: var(--maxw); margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 5rem) var(--gap) clamp(3rem, 7vw, 5.5rem);
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero__kicker {
    text-transform: uppercase; letter-spacing: .24em; font-size: .75rem;
    font-weight: 700; color: var(--forest); margin-bottom: 1.2rem;
    opacity: 0; animation: rise .8s var(--ease) .05s forwards;
}
.hero__title {
    font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98;
    letter-spacing: -.025em; color: var(--forest-deep);
    opacity: 0; animation: rise .8s var(--ease) .15s forwards;
}
.hero__title-em {
    font-style: italic; font-weight: 400; color: var(--blush);
    position: relative; padding-inline: .05em;
}
.hero__title-em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .14em;
    background: var(--gold); opacity: .55; border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    animation: underline .7s var(--ease) .9s forwards;
}
.hero__lede {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #46584c;
    max-width: 36ch; margin: 1.6rem 0 2rem;
    opacity: 0; animation: rise .8s var(--ease) .3s forwards;
}
.hero__cta {
    display: flex; flex-wrap: wrap; gap: .9rem;
    opacity: 0; animation: rise .8s var(--ease) .42s forwards;
}
.hero__points {
    display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem;
    font-size: .9rem; font-weight: 600; color: var(--forest);
    opacity: 0; animation: rise .8s var(--ease) .55s forwards;
}

/* Hero art / floating product card */
.hero__art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero__card {
    position: relative; z-index: 2;
    width: min(340px, 80%); aspect-ratio: 4 / 5;
    background: var(--paper); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2rem; border: 1px solid var(--line);
    opacity: 0; animation: pop .9s var(--ease) .35s forwards;
}
.hero__card-tag {
    position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem;
    background: rgba(255,253,248,.85); backdrop-filter: blur(6px);
    border: 1px solid var(--line); border-radius: 14px;
    padding: .7rem .9rem; display: flex; justify-content: space-between; align-items: center;
}
.hero__card-name { font-family: var(--display); font-size: .95rem; }
.hero__card-price { font-weight: 700; color: var(--forest); }

.hero__sprig { position: absolute; font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--sage); z-index: 1; }
.hero__sprig--a { top: 6%; left: 4%; color: var(--blush); animation: float 6s ease-in-out infinite; }
.hero__sprig--b { bottom: 10%; right: 2%; color: var(--gold); animation: float 7s ease-in-out infinite .5s; }
.hero__sprig--c { top: 28%; right: 14%; animation: float 5.5s ease-in-out infinite 1s; }

/* ============================================================
   CATEGORY MARQUEE
   ============================================================ */
.catstrip {
    background: var(--forest); color: var(--paper-2); overflow: hidden;
    padding: .9rem 0; border-block: 1px solid var(--forest-deep);
}
.catstrip__track {
    display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
    animation: marquee 38s linear infinite;
}
.catstrip:hover .catstrip__track { animation-play-state: paused; }
.catstrip__chip {
    font-family: var(--display); font-style: italic; font-size: 1.15rem;
    display: inline-flex; gap: 2.5rem; opacity: .85; transition: opacity .2s, color .2s;
}
.catstrip__chip span { color: var(--blush); }
.catstrip__chip:hover { opacity: 1; color: #fff; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.catgrid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr; gap: clamp(1rem, 2vw, 1.6rem);
}
.catcard {
    position: relative; overflow: hidden;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.8rem;
    display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
/* feature the first card */
.catcard--1 { grid-column: span 2; background:
        radial-gradient(120% 120% at 0 0, rgba(217,138,118,.18), transparent 60%), var(--paper); }
.catcard__bloom {
    position: absolute; top: -2.5rem; right: -2.5rem; width: 150px; height: 150px;
    opacity: .9; transition: transform .5s var(--ease);
}
.catcard:hover .catcard__bloom { transform: rotate(18deg) scale(1.08); }
.catcard__name { font-size: 1.5rem; }
.catcard__blurb { color: #56655a; font-size: .92rem; margin: .35rem 0 .7rem; max-width: 30ch; }
.catcard__count { font-weight: 600; color: var(--forest); font-size: .85rem; }

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--products { grid-template-columns: repeat(4, 1fr); }

.card {
    --tone: var(--rose);
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.card__media {
    position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center;
    background:
        radial-gradient(110% 110% at 50% 20%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 60%),
        var(--paper-2);
    overflow: hidden;
}
.card__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
}
.card__badge {
    position: absolute; top: .8rem; left: .8rem; z-index: 3;
    background: var(--forest); color: var(--paper);
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    padding: .35em .8em; border-radius: 100px;
}
.card__quickview {
    position: absolute; bottom: 0; left: 0; right: 0; text-align: center;
    background: rgba(36,64,47,.92); color: var(--paper);
    font-size: .82rem; font-weight: 600; padding: .7rem;
    transform: translateY(100%); transition: transform .35s var(--ease);
}
.card:hover .card__quickview { transform: translateY(0); }

.card__body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); font-weight: 700; }
.card__name { font-size: 1.18rem; }
.card__name a:hover { color: var(--blush); }
.card__blurb { font-size: .85rem; color: #5a685d; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.card__price { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--forest); }

/* ---------- CSS bloom illustration (placeholder for photos) ---------- */
.bloom {
    --tone: var(--rose);
    position: relative; width: 56%; aspect-ratio: 1; display: inline-block;
}
.bloom--xl { width: min(58%, 230px); }
.bloom__petal {
    position: absolute; inset: 0; margin: auto; width: 46%; height: 46%;
    background: color-mix(in srgb, var(--tone) 78%, #fff);
    border-radius: 60% 60% 60% 0; box-shadow: inset 0 -6px 14px rgba(0,0,0,.06);
}
.bloom__petal:nth-child(1) { transform: rotate(0deg)   translateY(-32%); }
.bloom__petal:nth-child(2) { transform: rotate(72deg)  translateY(-32%); background: color-mix(in srgb, var(--tone) 66%, #fff); }
.bloom__petal:nth-child(3) { transform: rotate(144deg) translateY(-32%); }
.bloom__petal:nth-child(4) { transform: rotate(216deg) translateY(-32%); background: color-mix(in srgb, var(--tone) 66%, #fff); }
.bloom__petal:nth-child(5) { transform: rotate(288deg) translateY(-32%); }
.bloom__core {
    position: absolute; inset: 0; margin: auto; width: 26%; height: 26%;
    background: radial-gradient(circle at 40% 35%, var(--gold), #9c7a23);
    border-radius: 50%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent);
}
.card:hover .bloom { animation: spin-slow 14s linear infinite; }

/* Tone modifiers */
.tone-rose  { --tone: #c25b6e; }
.tone-blush { --tone: #d98a76; }
.tone-gold  { --tone: #d8a93f; }
.tone-ivory { --tone: #e7dcc4; }
.tone-green { --tone: #7d9a82; }

/* ============================================================
   STORY
   ============================================================ */
.story { background:
        linear-gradient(180deg, transparent, rgba(36,64,47,.04)),
        var(--cream);
}
.story__inner {
    max-width: var(--maxw); margin-inline: auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gap);
    display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.story__art {
    aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, var(--paper), var(--paper-2));
    border: 1px solid var(--line); display: grid; place-items: center;
    box-shadow: var(--shadow); position: relative;
}
.story__art::before {
    content: ""; position: absolute; inset: 14px; border-radius: 50%;
    border: 1px dashed var(--sage); opacity: .5;
}
.story__title { font-size: clamp(1.8rem, 4vw, 2.9rem); margin: .3rem 0 1rem; color: var(--forest-deep); }
.story__copy p { color: #46584c; margin-bottom: 1rem; max-width: 52ch; }
.story__copy .btn { margin-top: .6rem; }

/* ============================================================
   TRUST STRIP (footer area)
   ============================================================ */
.trust { background: var(--paper-2); border-top: 1px solid var(--line); }
.trust__inner {
    max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 4vw, 3rem) var(--gap);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.trust__item { text-align: center; }
.trust__icon { font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: .5rem; }
.trust__item h4 { font-size: 1.1rem; color: var(--ink); margin-bottom: .3rem; }
.trust__item p { font-size: .85rem; color: var(--sage); max-width: 26ch; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #fff; color: #444; border-top: 1px solid var(--line); }
.footer__inner {
    max-width: var(--maxw); margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gap) 2.5rem;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem;
}
.footer__logo { width: auto; height: 78px; display: block; }
.footer__name { font-size: 1.6rem; color: var(--ink); margin-top: .4rem; }
.footer__tag { color: var(--accent); font-weight: 600; margin: .5rem 0 .5rem; }
.footer__note { font-size: .88rem; color: var(--sage); max-width: 34ch; }
.footer__col h5 { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--ink); font-weight: 700; margin-bottom: 1rem; }
.footer__col li { margin-bottom: .55rem; }
.footer__col a { font-size: .9rem; color: #555; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }

.newsletter { margin-top: 1.1rem; }
.newsletter label { font-size: .85rem; display: block; margin-bottom: .5rem; color: #555; }
.newsletter__row { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); padding: .7rem 1rem; outline: none; }
.newsletter input::placeholder { color: #999; }
.newsletter button { width: 48px; background: var(--accent); color: #fff; font-size: 1.1rem; }
.newsletter button:hover { background: var(--accent-dark); }
.newsletter button:disabled { opacity: .6; cursor: default; }
.newsletter__msg { font-size: .82rem; margin: .5rem 0 0; min-height: 1em; opacity: 0; transition: opacity .2s; }
.newsletter__msg.is-show { opacity: 1; }
.newsletter__msg.is-ok  { color: #1b6b41; }
.newsletter__msg.is-err { color: #b3382b; }

.footer__bar {
    border-top: 1px solid var(--line);
    max-width: var(--maxw); margin-inline: auto; padding: 1.2rem var(--gap);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-size: .82rem; color: var(--sage);
}
.footer__bar a:hover { color: var(--accent); }

/* ============================================================
   PAGE HEAD / BREADCRUMBS (shop, cart, pdp)
   ============================================================ */
.pagehead { background:
        radial-gradient(120% 120% at 100% 0, rgba(217,138,118,.16), transparent 55%),
        var(--paper); border-bottom: 1px solid var(--line); }
.pagehead__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 5vw, 3.2rem) var(--gap); }
.pagehead--slim .pagehead__inner { padding-block: clamp(1.6rem, 3vw, 2.2rem); }
.pagehead__title { font-size: clamp(2rem, 5vw, 3.3rem); color: var(--forest-deep); margin-top: .4rem; }
.pagehead__sub { color: #56655a; margin-top: .4rem; }

.crumbs { font-size: .95rem; color: var(--ink); display: flex; gap: .55rem; flex-wrap: wrap;
    align-items: center; font-weight: 600; margin-bottom: .9rem; }
.crumbs a { color: var(--ink); transition: color .15s; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span:not(.crumbs__current) { color: var(--sage); opacity: .7; font-weight: 400; }
.crumbs__current { color: var(--accent); font-weight: 700; }

/* ============================================================
   SUB-CATEGORY CAROUSEL (top of a parent category page)
   ============================================================ */
.subcats { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.25rem, 3vw, 2rem) var(--gap) 0; }
.subcats__inner { position: relative; display: flex; align-items: center; gap: .25rem; }
.subcats__track {
    display: flex; gap: clamp(.75rem, 2vw, 1.5rem); flex: 1;
    overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity;
    padding: .35rem .25rem .6rem; scrollbar-width: none;
}
.subcats__track::-webkit-scrollbar { display: none; }
.subcat { flex: 0 0 auto; scroll-snap-align: start; width: clamp(78px, 9vw, 104px); }
.subcat__link { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.subcat__img {
    width: clamp(72px, 8vw, 96px); height: clamp(72px, 8vw, 96px); border-radius: 50%;
    overflow: hidden; background: var(--paper-2); border: 1px solid var(--line);
    display: grid; place-items: center; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.subcat__img img { width: 100%; height: 100%; object-fit: cover; }
.subcat__img.is-empty, .subcat__fallback {
    font-family: var(--display); font-size: 1.6rem; color: var(--sage);
}
.subcat__link:hover .subcat__img { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.subcat__name {
    font-size: .8rem; line-height: 1.25; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.subcat__link:hover .subcat__name { color: var(--accent); }
.subcats__nav {
    flex: none; width: 40px; height: 40px; border-radius: 50%;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
    display: grid; place-items: center; box-shadow: var(--shadow-sm);
    transition: background .2s, color .2s; z-index: 2;
}
.subcats__nav:hover { background: var(--paper-2); color: var(--accent); }
.subcats__nav[hidden] { display: none; }

/* ============================================================
   SHOP (sidebar + grid)
   ============================================================ */
.shop__inner {
    max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gap);
    display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
}
.shop__aside { position: sticky; top: 96px; display: grid; gap: 1.8rem; }
.filter { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.filter__title { font-family: var(--display); font-size: 1.15rem; margin-bottom: .8rem; }
.filter__link {
    display: flex; justify-content: space-between; padding: .45rem .6rem; border-radius: 10px;
    font-size: .92rem; transition: background .2s, color .2s;
}
.filter__link span { color: var(--sage); font-size: .8rem; }
.filter__link:hover { background: var(--paper-2); }
.filter__link.is-active { background: var(--forest); color: var(--paper); }
.filter__link.is-active span { color: var(--paper-2); }

/* Collapsible parent → child category groups */
.filter__row { display: flex; align-items: center; gap: .25rem; }
.filter__row .filter__link { flex: 1; }
.filter__toggle {
    flex: none; width: 28px; height: 28px; display: grid; place-items: center;
    border-radius: 8px; color: var(--sage); transition: background .2s, color .2s;
}
.filter__toggle:hover { background: var(--paper-2); color: var(--forest); }
.filter__toggle svg { transition: transform .2s var(--ease); }
.filter__group.is-open > .filter__row .filter__toggle svg { transform: rotate(180deg); }
.filter__sub { margin: .15rem 0 .35rem; padding-left: .55rem; border-left: 2px solid var(--line); display: none; }
.filter__group.is-open > .filter__sub { display: block; }
.filter__link--sub { font-size: .86rem; color: var(--ink); opacity: .9; }
.filter__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__chips a {
    font-size: .82rem; padding: .4em .9em; border: 1px solid var(--line); border-radius: 100px;
    transition: background .2s, color .2s, border-color .2s;
}
.filter__chips a:hover { background: var(--blush); color: #fff; border-color: var(--blush); }
.filter--cta { background: var(--forest); color: var(--paper-2); text-align: center; }
.filter--cta p { font-size: .9rem; margin-bottom: .3rem; }
.filter--cta a { font-family: var(--display); font-size: 1.3rem; color: #fff; }

/* Mobile-only "Filters" toggle (hidden on desktop, where the sidebar is shown). */
.shop__filter-toggle { display: none; }

.shop__toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.shop__count { font-size: .9rem; color: #56655a; }
.shop__sort { font-size: .85rem; color: #56655a; display: inline-flex; gap: .5rem; align-items: center; }
.shop__sort select { font: inherit; border: 1px solid var(--line); border-radius: 100px; padding: .4em 1em; background: var(--paper); }
.shop .grid--products { grid-template-columns: repeat(3, 1fr); }

.empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.empty__mark { font-size: 2.5rem; color: var(--blush); }
.empty h3 { font-size: 1.5rem; margin: .5rem 0 .3rem; }
.empty a { color: var(--forest); border-bottom: 1px solid; }

/* Shop pagination */
.shop-pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.shop-pager__btn { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem;
    border: 1px solid var(--line); border-radius: 100px; font-weight: 600; font-size: .9rem; color: var(--ink); background: #fff; transition: all .2s; }
.shop-pager__btn:hover { border-color: var(--accent); color: var(--accent); }
.shop-pager__btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.shop-pager__gap { display: inline-grid; place-items: center; min-width: 28px; color: var(--sage); }

/* ============================================================
   PRODUCT DETAIL (PDP)
   ============================================================ */
.pdp__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.5rem) var(--gap) 0; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 1.2rem; align-items: start; }
.pdp__media {
    --tone: var(--rose);
    position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
    display: grid; place-items: center; border: 1px solid var(--line);
    background:
        radial-gradient(110% 110% at 50% 18%, color-mix(in srgb, var(--tone) 24%, transparent), transparent 62%),
        var(--paper-2);
}
.pdp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); z-index: 1; cursor: zoom-in; }

/* Product image lightbox / popup */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
    padding: clamp(1rem, 4vw, 3rem); background: rgba(15, 20, 17, .88); backdrop-filter: blur(2px); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55); cursor: zoom-out; }
.lightbox__close { position: absolute; top: clamp(.6rem, 2vw, 1.4rem); right: clamp(.6rem, 2vw, 1.4rem);
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
    font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0;
    border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1;
    cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav[hidden] { display: none; }
.pdp__badge { top: 1.1rem; left: 1.1rem; z-index: 3; }
.pdp__thumbs { z-index: 3; }
.pdp__thumb { overflow: hidden; padding: 0; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.pdp__thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
.pdp__thumb.is-active { border-color: var(--forest); box-shadow: 0 0 0 2px color-mix(in srgb, var(--forest) 30%, transparent); }

.pdp__title { font-size: clamp(2rem, 4vw, 3rem); color: var(--forest-deep); margin: .3rem 0 .5rem; }
.pdp__price { font-family: var(--display); font-size: 1.7rem; color: var(--forest); font-weight: 600; }
.pdp__lead { color: #46584c; margin: .9rem 0 1.4rem; max-width: 48ch; font-size: 1.02rem; line-height: 1.55; }

/* Collapsible description card below the buy area (collapsed by default) */
.pdp-details { margin-top: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.pdp-details__title { list-style: none; cursor: pointer; user-select: none;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.3rem; font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    color: var(--forest-deep); transition: background .15s; }
.pdp-details__title::-webkit-details-marker { display: none; }
.pdp-details__title:hover { background: var(--paper-2); }
.pdp-details__title::after { content: ''; flex: none; width: 10px; height: 10px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin-top: -4px; transition: transform .2s var(--ease); }
.pdp-details[open] .pdp-details__title::after { transform: rotate(225deg); margin-top: 4px; }
.pdp-details__body { padding: 0 1.3rem 1.3rem; color: #3f4a43; line-height: 1.75; max-width: 70ch; font-size: 1.02rem; }
.pdp-details__body p { margin: 0 0 1rem; }
.pdp-details__body p:last-child { margin-bottom: 0; }
.pdp-details__body ul, .pdp-details__body ol { margin: 0 0 1rem 1.2rem; line-height: 1.7; }
.pdp-details__body a { color: var(--accent); text-decoration: underline; }
.pdp__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--sage); display: block; margin-bottom: .6rem; }
.pdp__size-opts { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.chip { padding: .55em 1.1em; border: 1.5px solid var(--line); border-radius: 100px; font-size: .88rem; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--forest); }
.chip.is-active { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* Product add-ons */
.pdp__addons { display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.pdp__addon { display: block; }
.pdp__addon .pdp__label { margin-bottom: .35rem; }
.pdp__addon .pdp__label em { color: var(--rose); font-style: normal; }
.addon-select { width: 100%; font: inherit; padding: .7rem .9rem; border: 1.5px solid var(--line);
    border-radius: 10px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.addon-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.line__addon { font-size: .8rem; color: #6a766d; }

.pdp__buy { display: flex; gap: .8rem; align-items: stretch; margin-bottom: 1.6rem; }
.pdp__assure { display: grid; gap: .5rem; font-size: .9rem; color: #46584c; border-top: 1px solid var(--line); padding-top: 1.3rem; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty__btn { width: 44px; height: 100%; min-height: 46px; font-size: 1.2rem; color: var(--forest); transition: background .2s; }
.qty__btn:hover { background: var(--paper-2); }
.qty__input { width: 38px; text-align: center; border: 0; background: none; font-weight: 600; }
.qty--sm .qty__btn { width: 34px; min-height: 36px; font-size: 1rem; }

/* ============================================================
   CART
   ============================================================ */
.cart__inner {
    max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gap);
    display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
}
/* Sign-in card above the cart (mirrors the checkout sign-in block) */
.cart-signin { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.4rem, 4vw, 2.2rem) var(--gap) 0; }
.signin-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.signin-card h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.signin-card .muted { margin: 0; }
.signin-card .sso { margin-top: 1rem; max-width: 440px; }
.signin-card--link { font-size: .95rem; color: #555; }
.signin-card--link a { color: var(--accent); font-weight: 600; }
.cart__lines { display: grid; gap: 1rem; }
.line {
    --tone: var(--rose);
    display: grid; grid-template-columns: 90px 1fr auto auto; gap: 1.2rem; align-items: center;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem;
}
.line__media { position: relative; overflow: hidden; width: 90px; height: 90px; place-self: center; background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 60%), var(--paper-2);
    border-radius: 14px; display: grid; place-items: center; }
.line__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__unit { font-size: .82rem; margin-top: .15rem; }
.line__removeform { display: inline; }
.summary__total-row { display: flex; justify-content: space-between; align-items: baseline;
    font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--forest-deep);
    border-top: 1px solid var(--line); padding-top: .8rem; margin-bottom: 1.1rem; }
.line__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); font-weight: 700; }
.line__name { font-size: 1.15rem; }
.line__remove { font-size: .82rem; color: var(--rose); margin-top: .3rem; text-decoration: underline; }
.line__price { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--forest); }

.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 96px; }
.summary__title { font-size: 1.4rem; margin-bottom: 1.1rem; }
.summary__rows { display: grid; gap: .7rem; margin-bottom: 1.3rem; }
.summary__rows > div { display: flex; justify-content: space-between; font-size: .95rem; color: #46584c; }
.summary__total { border-top: 1px solid var(--line); padding-top: .8rem; font-family: var(--display); font-size: 1.25rem; color: var(--forest-deep); font-weight: 600; }
.summary__total dd { font-weight: 700; }
.summary__cont { display: block; text-align: center; margin-top: .9rem; font-size: .88rem; color: var(--forest); }
.summary__note { font-size: .78rem; color: var(--sage); margin-top: 1rem; text-align: center; }

/* ============================================================
   AUTH (login / register) + ACCOUNT
   ============================================================ */
.ff { display: block; margin-bottom: 1rem; }
.ff > span { display: block; font-size: .8rem; font-weight: 600; color: #555; margin-bottom: .35rem; }
.ff input, .ff textarea, .ff select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.ff input:focus, .ff textarea:focus, .ff select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.ff select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 2.4rem; cursor: pointer; line-height: 1.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .85rem center; background-size: 16px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

/* ---- Contact page ---- */
.contact { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.5rem) var(--gap) clamp(3rem, 6vw, 5rem); }
.contact__inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact__form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); }
.contact__info { background: var(--forest); color: var(--paper-2); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); }
.contact__info-title { font-family: var(--display); font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.contact__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.contact__list li { display: grid; gap: .15rem; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--blush); }
.contact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); font-weight: 700; }
.contact__note { font-size: .86rem; color: var(--paper-2); opacity: .85; line-height: 1.55; }
.contact__success { background: #e7f4ec; border: 1px solid #b7e0c6; color: #1b6b41; border-radius: var(--radius);
    padding: 1.2rem 1.4rem; margin-bottom: 1.3rem; text-align: center; }
.contact__success h2 { font-size: 1.2rem; margin: .3rem 0; }
.contact__success-mark { font-size: 1.9rem; color: var(--accent); }
.ff-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 820px) { .contact__inner { grid-template-columns: 1fr; } }

.auth { max-width: var(--maxw); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gap); display: grid; place-items: center; }
.auth__card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow); }
.auth__title { font-size: 1.8rem; color: var(--forest-deep); }
.auth__sub { color: var(--sage); margin: .3rem 0 1.4rem; }
.auth__alt { text-align: center; margin-top: 1.1rem; font-size: .9rem; color: #555; }
.auth__alt a { color: var(--accent); font-weight: 600; }
.auth__error { background: #fceae8; color: #b3382b; padding: .7rem .9rem; border-radius: 9px; margin-bottom: 1rem; font-size: .9rem; }
.auth__notice { background: #e7f4ec; color: #1b6b41; padding: .7rem .9rem; border-radius: 9px; margin-bottom: 1rem; font-size: .9rem; }

.account__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gap); display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.account__h { font-size: 1.4rem; margin-bottom: 1.1rem; }
.account__empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 2.5rem; text-align: center; color: var(--sage); }
.account__empty a { color: var(--accent); font-weight: 600; }
.account__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1rem; }
.account__panel h3 { font-size: 1.1rem; margin-bottom: .9rem; }

.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; }
.order-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.order-card__no { font-weight: 700; }
.order-card__date { color: var(--sage); font-size: .85rem; margin-left: .6rem; }
.order-card__items { display: grid; gap: .4rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.order-card__items li { display: flex; justify-content: space-between; font-size: .9rem; }
.order-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .8rem; }

@media (max-width: 820px) {
    .account__inner { grid-template-columns: 1fr; }
}

/* ---- Account dashboard (redesign) ---- */
.account2 { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.6rem) var(--gap); display: grid; gap: 1.4rem; }
.acct-tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.acct-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px;
    padding: .7rem 1.1rem; font: inherit; font-weight: 600; color: var(--sage); cursor: pointer; transition: color .15s, border-color .15s; }
.acct-tab:hover { color: var(--ink); }
.acct-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.acct-panel { display: grid; gap: 1.4rem; }
.acct-panel[hidden] { display: none; }
.acct-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); }
.acct-h { font-size: 1.2rem; margin: 0 0 .3rem; }
.acct-sub { color: var(--sage); font-size: .88rem; margin: 0 0 1rem; }
.acct-empty { color: var(--sage); font-size: .92rem; padding: .4rem 0 1rem; }
.acct-empty a { color: var(--accent); font-weight: 600; }
.acct-profile .ff-row { margin-bottom: 0; }
.acct-profile > .btn { margin-top: .4rem; }

.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; margin-bottom: 1rem; }
.addr-card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; background: #fff; }
.addr-card.is-default { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.addr-card__badge { position: absolute; top: .7rem; right: .7rem; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .45rem; border-radius: 100px; }
.addr-card__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sage); margin: 0 0 .3rem; }
.addr-card__name { font-weight: 700; margin: 0 0 .25rem; }
.addr-card__lines { color: #555; font-size: .9rem; line-height: 1.4; margin: 0; }
.addr-card__phone { color: #555; font-size: .9rem; margin: .25rem 0 0; }
.addr-card__acts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.addr-card__acts .inline { display: inline; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }
.link--danger { color: #c0392b; }

.addr-add { border: 1px dashed var(--line); border-radius: 12px; }
.addr-add > summary { cursor: pointer; padding: .85rem 1.1rem; font-weight: 600; color: var(--accent); list-style: none; }
.addr-add > summary::-webkit-details-marker { display: none; }
.addr-add[open] > summary { border-bottom: 1px solid var(--line); }
.addr-form { padding: 1.1rem; display: grid; gap: .8rem; }
.addr-form .ff { margin: 0; }
.addr-form__btns { display: flex; gap: .6rem; align-items: center; }

@media (max-width: 560px) { .addr-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CMS PAGES + BLOG
   ============================================================ */
.cms__inner { max-width: 820px; margin-inline: auto; padding: clamp(2rem, 5vw, 4rem) var(--gap); }
.cms__title { font-size: clamp(2rem, 5vw, 3rem); color: var(--forest-deep); margin: .6rem 0 1rem; }
.cms__meta { color: var(--sage); font-size: .9rem; margin-bottom: 1.5rem; }
.cms__hero { width: 100%; border-radius: var(--radius-lg); margin-bottom: 1.5rem; }
.cms__body { line-height: 1.8; color: #333; }
.cms__body h2 { font-family: var(--display); font-size: 1.6rem; margin: 1.6rem 0 .6rem; }
.cms__body h3 { font-family: var(--display); font-size: 1.3rem; margin: 1.3rem 0 .5rem; }
.cms__body p { margin-bottom: 1rem; }
.cms__body a { color: var(--accent); text-decoration: underline; }
.cms__body img { max-width: 100%; border-radius: 12px; }
.cms__body ul, .cms__body ol { margin: 0 0 1rem 1.3rem; }

.bloggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.blogcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.blogcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blogcard__media { aspect-ratio: 16/10; background: var(--paper-2); display: block; position: relative; overflow: hidden; }
.blogcard__media img { width: 100%; height: 100%; object-fit: cover; }
.blogcard__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.blogcard__date { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); font-weight: 700; }
.blogcard__title { font-size: 1.25rem; }
.blogcard__excerpt { font-size: .9rem; color: #5a685d; }
@media (max-width: 900px) { .bloggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bloggrid { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKOUT + THANK YOU
   ============================================================ */
.checkout__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gap);
    display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.checkout__main { display: grid; gap: 1rem; }
.checkout__signin { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; }
.checkout__signin a { color: var(--accent); font-weight: 600; }
.checkout__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.checkout__h { font-size: 1.2rem; margin-bottom: 1rem; }
.checkout__summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: 96px; }
.checkout__items { list-style: none; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; }
.checkout__items li { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.checkout__coupon { display: flex; gap: .5rem; margin-bottom: 1rem; }
.checkout__coupon input { flex: 1; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.checkout__coupon input:focus { border-color: var(--accent); }

.paymethods { display: grid; gap: .6rem; }
.paymethod { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; }
.paymethod:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.paypal-box { margin-top: 1rem; }

.thanks { max-width: 640px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gap); text-align: center; }
.thanks__mark { font-size: 3rem; color: var(--accent); }
.thanks__title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--forest-deep); margin: .4rem 0; }
.thanks__sub { color: #555; margin-bottom: 1.8rem; }
.thanks__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: left; margin-bottom: 1.6rem; }
.thanks__pay { margin-top: 1rem; color: var(--sage); font-size: .88rem; }
.thanks__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 820px) {
    .checkout__inner { grid-template-columns: 1fr; }
    .checkout__summary { position: static; }
}

/* ============================================================
   SLIDE-OUT MINI-CART
   ============================================================ */
body.body--nav-open { overflow: hidden; }

.minicart-scrim {
    position: fixed; inset: 0; background: rgba(22, 41, 30, .45); z-index: 900;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.minicart-scrim.is-open { opacity: 1; visibility: visible; }

.minicart {
    --cart-w: 380px;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
    width: min(420px, 100%); background: var(--paper);
    box-shadow: -20px 0 60px -30px rgba(22, 41, 30, .55);
    transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column;
}
.minicart.is-open { transform: translateX(0); }

/* ---- Amazon-style docked cart: always visible on desktop when non-empty ---- */
body { transition: padding-right .35s var(--ease); }
@media (min-width: 769px) {
    body.cart-has-items { padding-right: var(--cart-w, 380px); }
    body.cart-has-items .minicart { width: var(--cart-w, 380px); transform: none;
        box-shadow: -14px 0 44px -34px rgba(22, 41, 30, .4); border-left: 1px solid var(--line); }
    body.cart-has-items .minicart-scrim { display: none; }       /* not a modal when docked */
}
.minicart__head { display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.minicart__title { font-family: var(--display); font-size: 1.3rem; color: var(--forest-deep); }
.minicart__close { font-size: 1.9rem; line-height: 1; color: var(--ink); width: 2rem; }
.minicart__close:hover { color: var(--accent); }
.minicart__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.minicart__data { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.minicart__items { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; display: grid; gap: 1rem; align-content: start; }
.mc-item { --tone: var(--rose); display: grid; grid-template-columns: 64px 1fr; gap: .9rem; }
.mc-item__media { position: relative; overflow: hidden; width: 64px; height: 64px; border-radius: 10px;
    background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--tone) 20%, transparent), transparent 60%), var(--paper-2);
    display: grid; place-items: center; }
.mc-item__media .bloom { width: 64%; }
.mc-item__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-item__info { display: grid; gap: .25rem; align-content: start; }
.mc-item__name { font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.25; }
.mc-item__name:hover { color: var(--accent); }
.mc-item__opts { font-size: .76rem; color: var(--sage); }
.mc-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: .2rem; }
.mc-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; }
.mc-qty__btn { width: 28px; height: 28px; font-size: 1rem; color: var(--forest); }
.mc-qty__btn:hover { color: var(--accent); }
.mc-qty__n { min-width: 1.4rem; text-align: center; font-weight: 600; font-size: .85rem; }
.mc-item__price { font-weight: 700; color: var(--forest); }
.mc-item__remove { font-size: .76rem; color: var(--rose); text-decoration: underline; justify-self: start; }

.minicart__foot { border-top: 1px solid var(--line); padding: 1.1rem 1.3rem; display: grid; gap: .6rem;
    background: var(--paper); }
.minicart__sub { display: flex; justify-content: space-between; font-family: var(--display);
    font-size: 1.2rem; font-weight: 700; color: var(--forest-deep); margin-bottom: .2rem; }
.minicart__note { font-size: .76rem; color: var(--sage); text-align: center; }

.minicart__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 3rem 1.5rem; text-align: center; color: var(--sage); }
.minicart__empty-mark { font-size: 2.5rem; color: var(--blush); }

@media (max-width: 480px) { .minicart { width: 100%; } }

/* ============================================================
   Toast (add-to-cart feedback)
   ============================================================ */
.toast {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 120%);
    background: var(--forest-deep); color: var(--paper); border-radius: 100px;
    padding: .9rem 1.6rem; font-weight: 600; font-size: .9rem; z-index: 200;
    box-shadow: var(--shadow); transition: transform .4s var(--ease); display: flex; gap: .6rem; align-items: center;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast::before { content: "❀"; color: var(--blush); }

/* ============================================================
   HOME — GIFT FINDER (above hero)
   ============================================================ */
.finder { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.finder__inner {
    max-width: var(--maxw); margin-inline: auto; padding: 1.4rem var(--gap);
    display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap;
}
.finder__intro { flex: 1 1 220px; }
.finder__title { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.finder__sub { font-size: .9rem; color: var(--sage); margin-top: .15rem; }
.finder__form {
    flex: 2 1 560px; display: flex; align-items: flex-end; gap: .75rem; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem;
    box-shadow: var(--shadow-sm);
}
.finder__field { flex: 1 1 150px; display: flex; flex-direction: column; gap: .3rem; }
.finder__field label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); }
.finder__field input,
.finder__field select {
    font: inherit; font-size: .95rem; color: var(--ink);
    border: 1px solid var(--line); border-radius: 9px; padding: .6rem .8rem; background: #fff;
    width: 100%; outline: none; transition: border-color .2s, box-shadow .2s;
}
.finder__field input:focus,
.finder__field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.finder__submit { flex: 0 0 auto; height: 44px; padding-inline: 1.6rem; }

/* ============================================================
   HOME — SHORT HERO (≤ 350px)
   ============================================================ */
.hero2 { background:
        linear-gradient(105deg, #fff 0%, #fff 52%, var(--paper-2) 52%, var(--paper-2) 100%);
    border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero2__inner {
    max-width: var(--maxw); margin-inline: auto;
    min-height: 300px; max-height: 350px; height: 350px;
    padding: 0 var(--gap);
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 1.5rem;
}
.hero2__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--accent); margin-bottom: .7rem; }
.hero2__title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800; line-height: 1.04; color: var(--ink); letter-spacing: -.02em; }
.hero2__text { font-size: 1.02rem; color: #444; max-width: 38ch; margin: 1rem 0 1.5rem; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Hero slider (admin-managed, contained in the page width) ---- */
.hero-slider { position: relative; overflow: hidden;
    width: calc(min(100%, var(--maxw)) - 2 * var(--gap)); margin: 1.5rem auto;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: linear-gradient(105deg, #fff 0%, #fff 52%, var(--paper-2) 52%, var(--paper-2) 100%); }
.hero-slider__track { position: relative; height: clamp(300px, 34vw, 380px); }
.hero-slider .slide { position: absolute; inset: 0; padding: 0 clamp(1.5rem, 4vw, 2.75rem);
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 1.5rem;
    opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); }
.hero-slider .slide.is-active { opacity: 1; visibility: visible; }
.slide__copy { max-width: 38ch; }
.slide__title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800; line-height: 1.04;
    color: var(--ink); letter-spacing: -.02em; margin-bottom: .2rem; }
.slide__text { font-size: 1.02rem; color: #444; margin: 1rem 0 1.5rem; }
.slide__media { position: relative; height: 100%; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* Full-bleed designed banner (text baked into the graphic) */
.hero-slider .slide--full { padding: 0; display: block; }
.slide__full-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Each image shows only on its own breakpoint. */
.slide__full-img--mobile { display: none; }
@media (max-width: 768px) {
    .slide__full-img--desktop { display: none; }
    .slide__full-img--mobile  { display: block; }
}
/* Hide a banner / the whole slider where there's no image for that breakpoint. */
@media (min-width: 769px) { .slide--mobile-only, .hero-slider--hide-desktop { display: none !important; } }
@media (max-width: 768px) { .slide--desktop-only, .hero-slider--hide-mobile { display: none !important; } }
/* With no mobile banner the hero is hidden, so give the categories room to
   breathe under the header instead of sitting flush against the search bar. */
@media (max-width: 768px) {
    .hero-slider--hide-mobile + .cats { padding-top: 1.4rem; }
}
/* Single designed banner: show the whole graphic, never cropped, capped at
   380px tall — the box shrinks to fit the image (centered) above that height. */
.hero-slider--single-full { background: none; width: fit-content;
    max-width: calc(min(100%, var(--maxw)) - 2 * var(--gap)); }
.hero-slider--single-full .hero-slider__track { height: auto; }
.hero-slider--single-full .slide--full { position: relative; }
.hero-slider--single-full .slide__full-img { height: auto; max-height: 380px;
    width: auto; max-width: 100%; margin-inline: auto; }
/* On phones a portrait/square mobile banner should breathe — allow it taller. */
@media (max-width: 768px) {
    .hero-slider--single-full { width: 100%; }
    .hero-slider--single-full .slide__full-img { max-height: 78vh; width: 100%; }
}

.hero-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid var(--line);
    font-size: 1.4rem; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s; }
.hero-slider__nav:hover { background: #fff; color: var(--accent); }
.hero-slider__nav--prev { left: 1rem; }
.hero-slider__nav--next { right: 1rem; }
.hero-slider__dots { position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 4;
    display: flex; gap: .5rem; justify-content: center; }
.hero-slider__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(26,26,26,.25); transition: background .2s, transform .2s; }
.hero-slider__dot.is-active { background: var(--accent); transform: scale(1.25); }

.hero2__art { position: relative; height: 100%; }
.hero2__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; z-index: 2; }
.hero2__img.is-missing { display: none; }
.hero2__bloom { position: absolute; width: 200px; }
.hero2__art > .hero2__bloom:nth-child(1) { top: 50%; left: 30%; transform: translateY(-50%); width: 210px; }
.hero2__bloom--sm { width: 120px !important; top: 18%; right: 8%; animation: float 6s ease-in-out infinite; }
.hero2__bloom--xs { width: 90px !important; bottom: 12%; right: 24%; animation: float 7s ease-in-out infinite .6s; }

/* ============================================================
   HOME — SHOP BY CATEGORY (all categories)
   ============================================================ */
.cats { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gap) clamp(2.5rem, 5vw, 4rem); }
.cats__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.cats__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--ink); }
.cats__all { font-weight: 600; color: var(--accent); white-space: nowrap; }
.cats__all:hover { color: var(--accent-dark); text-decoration: underline; }

.cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.8rem) 1rem; }
.cattile { display: flex; flex-direction: column; align-items: stretch; text-align: center; gap: .2rem; }
.cattile__icon {
    --tone: var(--rose);
    position: relative; overflow: hidden;
    width: 100%; aspect-ratio: 4 / 5; border-radius: 14px;
    background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--tone) 16%, #fff), var(--paper-2));
    border: 1px solid var(--line);
    display: grid; place-items: center; margin-bottom: .6rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cattile__icon .bloom { width: 46%; }
.cattile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 2; }
.cattile:hover .cattile__img { transform: scale(1.04); transition: transform .4s var(--ease); }
.cattile:hover .cattile__icon { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cattile:hover .cattile__icon .bloom { animation: spin-slow 12s linear infinite; }
.cattile__name { font-weight: 700; font-size: .98rem; color: var(--ink); }
.cattile:hover .cattile__name { color: var(--accent); }
.cattile__count { font-size: .78rem; color: var(--sage); }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .hero__kicker, .hero__title, .hero__lede, .hero__cta, .hero__points, .hero__card { opacity: 1 !important; }
}

/* ============================================================
   WISHLIST (heart buttons + saved state)
   ============================================================ */
.card { position: relative; }
.wish { position: absolute; top: .6rem; right: .6rem; z-index: 3; width: 38px; height: 38px;
    display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92);
    border: 1px solid var(--line); color: #9aa39c; box-shadow: var(--shadow-sm);
    transition: color .2s, transform .15s, background .2s; }
.wish svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.wish:hover { color: #e0556b; transform: scale(1.08); background: #fff; }
.wish.is-saved { color: #e0556b; }
.wish.is-saved svg { fill: currentColor; stroke: currentColor; }
.wish:disabled { opacity: .6; }

.pdp__wish { margin-top: .8rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.pdp__wish svg { fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .2s; }
.pdp__wish.is-saved { color: #c43d54; border-color: #e0556b; }
.pdp__wish.is-saved svg { fill: currentColor; }

/* ---- Social sign-in buttons ---- */
.sso { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.sso__btn { display: flex; align-items: center; justify-content: center; gap: .7rem;
    padding: .8rem 1rem; border-radius: 100px; font-weight: 600; font-size: .98rem;
    border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .15s, box-shadow .15s; }
.sso__btn:hover { box-shadow: var(--shadow-sm); }
.sso__btn--google { background: #fff; }
.sso__btn--google:hover { background: #f7f9fc; }
.sso__btn--facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.sso__btn--facebook:hover { background: #166fe0; }
.sso__btn svg { flex: none; }

/* ---- Login popup ---- */
.lm-scrim { position: fixed; inset: 0; background: rgba(22,41,30,.5); z-index: 1100; }
.lm { position: fixed; z-index: 1101; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(420px, calc(100% - 2rem)); background: var(--paper); border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); }
.lm__close { position: absolute; top: .6rem; right: .8rem; font-size: 1.8rem; line-height: 1; color: var(--ink); width: 2rem; }
.lm__close:hover { color: var(--accent); }
.lm__title { font-size: 1.6rem; color: var(--forest-deep); }
.lm__sub { color: var(--sage); margin: .3rem 0 1.2rem; font-size: .95rem; }
.lm .sso { margin: 0 0 .6rem; }
.lm__note { font-size: .82rem; color: var(--sage); text-align: center; margin-top: .6rem; }

/* ============================================================
   NEWSLETTER BAND (homepage, under categories)
   ============================================================ */
.news-band { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 4rem); padding: 0 var(--gap); }
.news-band__inner {
    display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.2rem);
    background: linear-gradient(120deg, #f6f1ec 0%, #eef4ec 100%);
    color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.news-band__copy { flex: 1 1 320px; }
.news-band__title { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--forest-deep, #143626); line-height: 1.1; }
.news-band__sub { color: #56625a; margin-top: .5rem; max-width: 46ch; font-size: 1rem; }

.newsletter--band { flex: 1 1 360px; min-width: 0; max-width: 460px; margin: 0; width: 100%; }
.newsletter--band .newsletter__row { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .25rem .25rem .25rem .4rem; box-shadow: var(--shadow-sm); }
.newsletter--band input { flex: 1; font-size: 1rem; padding: .85rem 1rem; }
.newsletter--band button { width: auto; padding: 0 1.5rem; border-radius: 100px; font-weight: 700; font-size: .95rem; }
.newsletter--band .newsletter__msg.is-ok { color: #1b6b41; }
.newsletter--band .newsletter__msg.is-err { color: #b3382b; }

/* ============================================================
   CHECKOUT — Shopify-style two-column (form + full-bleed summary)
   ============================================================ */
.co { background: #fff; overflow-x: clip; }   /* contain the full-bleed summary background */
.co__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; }
.co__form-col { padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem) var(--gap); }
.co__summary { position: relative; padding: clamp(1.5rem, 4vw, 2.6rem) var(--gap) 3rem clamp(1.5rem, 4vw, 3rem); }
.co__summary::before { content: ''; position: absolute; inset: 0 -100vw 0 0; background: #fafafb; border-left: 1px solid #e7e7e7; z-index: 0; }
.co__summary > * { position: relative; z-index: 1; }

.co-steps { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--sage); margin-bottom: 1.6rem; }
.co-steps a { color: var(--accent); }
.co-steps a:hover { text-decoration: underline; }
.co-steps .is-current { color: var(--ink); font-weight: 700; }
.co-steps > span:not(.is-current):not(.co-steps__sep) { opacity: .5; }
.co-steps__sep { opacity: .4; }

.co-block { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.co-block:first-of-type { border-top: 0; padding-top: 0; }
.co-block__head { margin-bottom: 1rem; }
.co-block__head h2 { font-size: 1.18rem; letter-spacing: -.01em; }
.co-saved { margin-bottom: 1.2rem; }
.co-saved__label { font-size: .82rem; font-weight: 600; color: #555; margin: 0 0 .55rem; }
.co-saved__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.co-saved__card { text-align: left; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: .7rem .85rem;
    font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: .15rem; transition: border-color .15s, box-shadow .15s; }
.co-saved__card:hover { border-color: var(--accent); }
.co-saved__card.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.co-saved__card strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--accent); }
.co-saved__card span { font-size: .85rem; color: #444; line-height: 1.3; }
.co-saved__card span:first-of-type { font-weight: 600; color: var(--ink); }
.co-saved__card--new { align-items: center; justify-content: center; color: var(--accent); font-weight: 600; border-style: dashed; }
.co-block--signin { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.co-block--signin .sso { margin-top: 1rem; }
.co-signin { font-size: .92rem; color: #555; margin-bottom: 1.4rem; }
.co-signin a { color: var(--accent); font-weight: 600; }
.ff-row--3 { grid-template-columns: 1fr 1fr 1fr; }

.co-pay-method { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.co-pay-method__label { font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0 0 .6rem; }
.co-pay { margin-top: 1.2rem; display: grid; gap: 1rem; justify-items: start; }
.co-pay .btn--block, .co-pay .paypal-box { width: 100%; }
/* Processing spinner on the Place order button */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: btn-spin .6s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
/* Inline hosted card fields — grouped in a clean panel that matches site inputs */
#cardFields { width: 100%; display: grid; gap: .9rem; padding: 1.2rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); }
#cardFields[hidden] { display: none; }   /* author display:grid must not defeat the hidden attribute */
.cf-field label { display: block; font-size: .8rem; font-weight: 600; color: #555; margin-bottom: .35rem; }
/* The card inputs are PayPal iframes styled via their JS style API (their
   cross-origin contents can't be reached by our CSS). */
.cf-field > div { min-height: 44px; }
.cf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cf-secure { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--sage); margin: .1rem 0 0; }
.cf-secure svg { color: var(--accent); flex: none; }
.cf-error { color: #c0392b; font-size: .85rem; margin: 0; }
.co-pay-error { width: 100%; margin: 0; padding: .8rem 1rem; border-radius: 10px;
    background: #fdecea; border: 1px solid #f5c6cb; color: #b02a37; font-size: .9rem; font-weight: 600; }
.co-pay-error[hidden] { display: none; }
.btn--lg { padding: 1rem 1.4rem; font-size: 1.05rem; }
.co-back { color: var(--accent); font-size: .9rem; }
.co-back:hover { text-decoration: underline; }

.co-sum { position: sticky; top: 92px; }
.co-sum__items { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 1.1rem; }
.co-sum__item { display: flex; align-items: center; gap: .9rem; }
.co-sum__thumb { position: relative; width: 60px; height: 60px; flex: none; }
.co-sum__thumb img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.co-sum__qty { position: absolute; top: -9px; right: -9px; min-width: 21px; height: 21px; padding: 0 5px;
    background: var(--sage); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 100px;
    display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.co-sum__info { flex: 1; display: flex; flex-direction: column; gap: .12rem; }
.co-sum__name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.co-sum__opts { font-size: .78rem; color: var(--sage); }
.co-sum__price { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.co-sum__coupon { display: flex; gap: .5rem; margin-bottom: 1.3rem; }
.co-sum__coupon input { flex: 1; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; outline: none; }
.co-sum__coupon input:focus { border-color: var(--accent); }
.co-tip { margin: 0 0 1.3rem; padding: 0 0 1.2rem; border-bottom: 1px solid var(--line); }
.co-tip__label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .55rem; }
.co-tip__opt { font-weight: 400; color: #888; }
.co-tip__opts { display: flex; gap: .45rem; margin-bottom: .55rem; }
.co-tip__btn { flex: 1; padding: .6rem .3rem; border: 1px solid var(--line); border-radius: 9px; background: #fff;
    font: inherit; font-size: .88rem; font-weight: 600; color: #444; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.co-tip__btn:hover { border-color: var(--accent); }
.co-tip__btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.co-tip__custom { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 9px; padding: 0 .8rem; background: #fff; }
.co-tip__custom:focus-within { border-color: var(--accent); }
.co-tip__custom > span { color: #888; font-weight: 600; }
.co-tip__custom input { flex: 1; border: 0; padding: .7rem 0; background: transparent; font: inherit; outline: none; }
.co-sum__rows { margin: 0 0 .9rem; display: grid; gap: .55rem; }
.co-sum__rows > div { display: flex; justify-content: space-between; font-size: .93rem; color: #444; }
.co-sum__rows dt, .co-sum__rows dd { margin: 0; }
.co-sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
.co-sum__total strong { font-size: 1.6rem; letter-spacing: -.02em; }

@media (max-width: 880px) {
    .co__grid { grid-template-columns: 1fr; }
    .co__summary { padding: 1.4rem var(--gap); }
    .co__summary::before { inset: 0; border-left: 0; border-bottom: 1px solid #e7e7e7; }
    .co__form-col { padding: 1.6rem var(--gap) 3rem; }
    /* Stay positioned (not sticky) so z-index:1 keeps content above the
       full-bleed ::before background; `static` would drop it behind the panel. */
    .co-sum { position: relative; top: auto; }
    .ff-row--3 { grid-template-columns: 1fr 1fr; }
}

/* Slim checkout chrome (Shopify-style minimal header/footer) */
.co-page .site-main { min-height: calc(100vh - 200px); }
.co-header { border-bottom: 1px solid var(--line); background: #fff; }
.co-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gap); display: flex; align-items: center; justify-content: space-between; }
.co-header__logo img { height: 46px; width: auto; }
.co-header__secure { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--sage); }
.co-header__secure svg { color: var(--accent); }
.co-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 2rem; }
.co-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--gap); display: flex; align-items: center;
    justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--sage); }
.co-footer__links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.co-footer__links a { color: var(--accent); }
.co-footer__links a:hover { text-decoration: underline; }
.co-footer__links span { opacity: .4; }
@media (max-width: 600px) { .co-header__logo img { height: 38px; } }

/* Checkout delivery-method note */
.co-method { margin: .7rem 0; font-size: .88rem; font-weight: 600; padding: .65rem .85rem; border-radius: 9px; line-height: 1.4; }
.co-method--ok  { background: #e7f4ec; color: #1b6b41; }
.co-method--ups { background: #fff4e5; color: #92500a; }
.co-method--ups strong { color: #7a4208; }

/* UPS live-rate service picker (out-of-area checkout) */
.co-ups { margin-top: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.co-ups__opt { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid #e3e3e3; border-radius: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.co-ups__opt:hover { border-color: #c9c9c9; }
.co-ups__opt.is-active { border-color: #157a48; box-shadow: 0 0 0 2px rgba(21,122,72,.15); }
.co-ups__opt input { accent-color: #157a48; }
.co-ups__name { flex: 1; font-weight: 600; font-size: .9rem; }
.co-ups__price { font-weight: 700; font-size: .92rem; }
.co-sum__tag { color: #157a48; font-weight: 600; font-size: .85em; }
.co-applied { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .85rem; margin: .2rem 0 .4rem; background: #e7f4ec; border-radius: 9px; }
.co-applied__text { font-size: .9rem; color: #1b6b41; }
.co-applied__remove { background: none; border: 0; color: #1b6b41; font-weight: 600; font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 0; }
.co-applied__remove:hover { color: #c0392b; }

/* Loading overlay shown while delivery/UPS rates are recalculated */
.co-loading { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.74); backdrop-filter: blur(2px); }
.co-loading[hidden] { display: none; }   /* class selector would otherwise override the hidden attribute */
.co-loading__box { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.8rem 2.2rem; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.16); }
.co-loading__spinner { width: 40px; height: 40px; border: 3px solid #e6e6e6; border-top-color: #157a48; border-radius: 50%; animation: coSpin .8s linear infinite; }
.co-loading__text { font-weight: 600; color: #2a2a2a; }
@keyframes coSpin { to { transform: rotate(360deg); } }
