:root {
    /* Brand: navy #033f57, cyan #00b5c0 */
    --bg: #fafafa;
    --bg-elev: #ffffff;
    --surface: #ffffff;
    --surface-muted: #fafafa;
    --surface-alt: #f5f5f5;
    --line: #ececec;
    --line-strong: #e0e0e0;
    --text: #1a1a1a;
    --muted: #666666;
    --accent: #00b5c0;
    --accent-2: #033f57;
    --accent-soft: rgba(0, 181, 192, 0.1);
    --radius: 22px;
    --radius-sm: 14px;
    --shadow-hover: 0 12px 40px rgba(3, 63, 87, 0.08);
    --shell-max: 75rem;
    --section-gap: 3rem;
    --section-py: clamp(3rem, 8vw, 6rem);
    --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: var(--accent-2);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

a {
    color: var(--accent-2);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
}

.site-header {
    text-align: center;
    padding: var(--section-py) clamp(1.25rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.brand-logo {
    max-height: 110px;
    width: auto;
    margin-bottom: 0.85rem;
    object-fit: contain;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.secret-santa-top-btn {
    margin-top: 0.45rem;
}

.brand {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: clamp(2rem, 5vw, 2.75rem);
}

.brand--hero {
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    color: var(--accent-2);
}

.tagline {
    max-width: 36rem;
    margin: 1.25rem auto 0;
    color: var(--muted);
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    line-height: 1.6;
}

.banner {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.shell {
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: var(--section-py) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 10vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.35rem, 4vw, 2.5rem);
    box-shadow: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.panel--surface {
    background: var(--surface);
}

.panel--surface-muted {
    background: var(--surface-muted);
}

.panel--surface-alt {
    background: var(--surface-alt);
}

.panel-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--accent-2);
}

.muted {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 42rem;
}

.gift-form .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
}

.gift-form--slim {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gift-form--slim .field-hero span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: -0.02em;
}

.gift-form--slim .field-hero textarea {
    min-height: 4.25rem;
}

.gift-form-compact {
    display: grid;
    grid-template-columns: 1.1fr 0.75fr 1fr;
    gap: 1rem 1.15rem;
}

.gift-form--slim .actions--primary {
    margin-top: 0.15rem;
}

.gift-form-advanced {
    margin-top: 0.15rem;
    border-top: 1px solid var(--line);
    padding-top: 0.65rem;
}

.gift-form-advanced summary {
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--muted);
    list-style: none;
    user-select: none;
}

.gift-form-advanced summary::-webkit-details-marker {
    display: none;
}

.gift-form-advanced summary::before {
    content: "▸ ";
    display: inline-block;
    transition: transform 0.15s ease;
}

.gift-form-advanced[open] summary::before {
    transform: rotate(90deg);
}

.gift-form-advanced__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.85rem;
    margin-top: 0.75rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.field-span-2 {
    grid-column: span 2;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.field input,
.field textarea,
.field select,
.filter select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: 0.75rem 0.9rem;
    font: inherit;
    line-height: 1.45;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.filter select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
    resize: vertical;
    min-height: 5.5rem;
}

.actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn.primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn.primary:hover:not(:disabled) {
    background: #00a3ad;
    border-color: #00a3ad;
    box-shadow: var(--shadow-hover);
}

.btn.ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--accent-2);
}

.btn.ghost:hover:not(:disabled) {
    border-color: var(--line-strong);
    background: var(--surface-muted);
}

.fine-print {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 40rem;
    line-height: 1.55;
}

.trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trending-list li,
.trending-list .trending-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    color: var(--muted);
    background: var(--surface);
}

.trending-list li strong,
.trending-list .trending-item__count {
    color: var(--text);
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 0.1rem;
}

.trending-pill {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-2);
    background: var(--accent-soft);
    border: none;
    line-height: 1.3;
}

.results-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.filter-row {
    display: flex;
    gap: 0.75rem;
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.results-grid > .card {
    height: 100%;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card--no-image .card-body {
    padding-top: 1rem;
}

.card-img {
    aspect-ratio: 1;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-img-placeholder {
    background: var(--surface-muted);
}

.card-ph {
    text-align: center;
    padding: 0.75rem;
    color: var(--muted);
    display: grid;
    gap: 0.45rem;
    place-items: center;
}

.ph-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.ph-text {
    font-size: 0.78rem;
    max-width: 11rem;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.card-retailer {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.15rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.card-retailer--amazon {
    color: var(--accent-2);
    background: #fff8e6;
    border: 1px solid #f0e4c8;
}

.card-retailer--etsy {
    color: #b44c00;
    background: #fff4eb;
    border: 1px solid #f5dcc8;
}

.card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    color: var(--accent-2);
    letter-spacing: -0.02em;
}

.card-price {
    font-size: 0.9375rem;
    color: var(--muted);
    font-weight: 500;
}

.card-reason {
    font-size: 0.9375rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.card-why {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 0.15rem;
}

.card-why__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.35rem;
}

.card--premium .card-body {
    gap: 0.6rem;
}

.card--premium .card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card--premium .card-reason {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    flex: 1;
}

.card--premium .card-price:empty {
    display: none;
}

.card--premium .card-cta,
.card a.cta {
    margin-top: auto;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    padding: 0.7rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.card--premium .card-cta {
    color: #fff;
    background: var(--accent);
    border: none;
}

.card--premium .card-cta:hover {
    color: #fff;
    background: var(--accent-2);
    text-decoration: none;
}

.card a.cta {
    color: var(--accent);
    background: transparent;
    padding: 0;
}

.card a.cta:hover {
    color: var(--accent-2);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 1.5rem 3rem;
    color: var(--muted);
    font-size: 0.9375rem;
    background: var(--surface);
    line-height: 1.6;
}

.footer-inner {
    max-width: var(--shell-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
}

.footer-links a {
    color: var(--muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-2);
}

.footer-sep {
    opacity: 0.45;
}

.shell--legal {
    max-width: 52rem;
    padding-top: var(--section-py);
}

.changelog-body {
    margin-top: 1.25rem;
}

.changelog-date {
    margin: 2rem 0 0.85rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-2);
}

.changelog-body .changelog-date:first-child {
    margin-top: 0.5rem;
}

.changelog-list {
    margin: 0 0 0.5rem;
    padding-left: 1.25rem;
    color: var(--text);
}

.changelog-list li {
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.changelog-list li strong {
    color: var(--accent-2);
    font-weight: 600;
}

.changelog-body p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.6;
}

.footer-inner .sep {
    margin: 0 0.35rem;
    opacity: 0.5;
}

.error-toast {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .gift-form .grid {
        grid-template-columns: 1fr;
    }
    .field-span-2 {
        grid-column: span 1;
    }
    .gift-form-compact {
        grid-template-columns: 1fr 1fr;
    }
    .gift-form-compact .field:first-child {
        grid-column: span 2;
    }
    .gift-form-advanced__grid {
        grid-template-columns: 1fr;
    }
    .gift-form-advanced__grid .field-span-2 {
        grid-column: span 1;
    }
}

.santa-page {
    --bg: #0e1627;
    --bg-elev: #13213b;
    --surface: rgba(20, 32, 56, 0.92);
    --surface-muted: rgba(20, 32, 56, 0.85);
    --surface-alt: rgba(25, 38, 62, 0.9);
    --line: #3f5278;
    --line-strong: #4a5f82;
    --text: #f0f6f8;
    --muted: #9eb0b5;
    background: radial-gradient(1200px 900px at 10% -10%, #25395f 0%, #13213b 45%, #0e1627 100%);
    color: var(--text);
}

.santa-page .site-header {
    background: transparent;
    border-bottom-color: var(--line);
}

.santa-page .brand--hero,
.santa-page h1,
.santa-page h2,
.santa-page .panel-title {
    color: var(--text);
}

.santa-page .tagline {
    color: var(--muted);
}

.santa-page .panel {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: none;
}

.santa-page .field input,
.santa-page .field textarea,
.santa-page .field select {
    background: rgba(2, 22, 30, 0.55);
    border-color: var(--line);
    color: var(--text);
}

.santa-page .btn.primary {
    background: linear-gradient(120deg, #fff 0%, #eaf2ff 40%, #d41f2c 100%);
    color: #1e1622;
    border-color: transparent;
}

.santa-page .site-topbar__band {
    background: rgba(14, 22, 39, 0.95);
    border-bottom-color: var(--line);
}

.santa-page .site-footer {
    background: transparent;
}

.snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.flake {
    position: absolute;
    top: -12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(110vh) translateX(24px); }
}

.feedback-pop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    display: grid;
    place-items: center;
    z-index: 50;
}

.feedback-card {
    width: min(92vw, 360px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.feedback-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.feedback-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.feedback-actions {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.feedback-actions .btn {
    min-width: 72px;
    font-size: 1.1rem;
}

.feedback-close {
    margin-top: 0.65rem;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
}

.email-list-pop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    display: none;
    place-items: center;
    z-index: 70;
    padding: 1.5rem;
}

.email-list-pop.is-open {
    display: grid;
}

.email-list-pop[hidden] {
    display: none !important;
}

html.site-modal-open {
    overflow: hidden;
}

.email-list-card {
    position: relative;
    width: min(94vw, 460px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    padding: 1.75rem;
}

.email-list-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.email-list-card__head h3 {
    margin: 0;
    flex: 1;
}

.email-list-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    font-family: inherit;
}

.email-list-close:hover {
    color: var(--accent-2);
    border-color: var(--line-strong);
    background: var(--surface-muted);
}

.email-list-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.email-list-card h3 {
    margin: 0 0 0.45rem;
}

.email-list-card p {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.email-list-form {
    display: grid;
    gap: 0.65rem;
}

.email-list-form input[type="email"] {
    width: 100%;
}

.email-list-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.email-list-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.email-list-msg {
    min-height: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.csat-wrap {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.csat-dial {
    --p: 0deg;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: conic-gradient(#56d57b var(--p), #5b2a2a var(--p));
    display: grid;
    place-items: center;
}

.csat-dial::after {
    content: attr(data-value);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.csat-dial--empty {
    background: conic-gradient(#3d4f58 0deg, #3d4f58 360deg);
}

.csat-dial--empty::after {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

/* Blog AI generation loader (admin) — full-screen overlay */
.blog-ai-loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.blog-ai-loader--visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.blog-ai-loader__backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: rgba(250, 250, 250, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-ai-loader__panel {
    position: relative;
    z-index: 1;
    width: min(26rem, 94vw);
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    text-align: left;
}

.blog-ai-loader__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: var(--accent-2);
}

.blog-ai-loader__bar {
    height: 0.45rem;
    border-radius: 999px;
    background: var(--surface-alt);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.blog-ai-loader__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #00d4e0);
    transition: width 0.35s ease;
}

.blog-ai-loader__percent {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
}

.blog-ai-loader__label {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.45;
    min-height: 2.6em;
}

.blog-ai-loader__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.blog-ai-loader__steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.35;
}

.blog-ai-loader__icon {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: var(--surface);
}

.blog-ai-loader__steps li.is-active {
    color: var(--accent-2);
    font-weight: 600;
}

.blog-ai-loader__steps li.is-active .blog-ai-loader__icon {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.blog-ai-loader__steps li.is-done {
    color: var(--accent-2);
}

.blog-ai-loader__steps li.is-done .blog-ai-loader__icon {
    border-color: var(--accent);
    background: var(--accent);
}

.blog-ai-loader__steps li.is-done .blog-ai-loader__icon::after {
    content: "✓";
    display: block;
    font-size: 0.65rem;
    line-height: 1.1rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
}

/* Full-screen gift search loader */
html.gift-loader-open,
html.gift-loader-open body {
    overflow: hidden;
}

html.gift-loader-open body {
    position: fixed;
    width: 100%;
    height: 100%;
}

.gift-loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gift-loader--visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.gift-loader__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(250, 250, 250, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gift-loader__panel {
    position: relative;
    z-index: 1;
    width: min(22rem, 92vw);
    padding: 2rem 1.75rem 1.85rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    text-align: center;
}

.gift-loader__scene {
    position: relative;
    width: 200px;
    height: 88px;
    margin: 0 auto 1.1rem;
}

.gift-loader__shelf {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(0, 181, 192, 0.15), rgba(0, 181, 192, 0.45), rgba(0, 181, 192, 0.15));
    box-shadow: 0 0 12px rgba(0, 181, 192, 0.2);
}

.gift-loader__shelf--a {
    top: 18%;
}

.gift-loader__shelf--b {
    top: 48%;
}

.gift-loader__shelf--c {
    top: 78%;
}

.gift-loader__shelf--a::before,
.gift-loader__shelf--b::before,
.gift-loader__shelf--c::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 12px;
    border-radius: 2px;
    background: rgba(0, 181, 192, 0.35);
    top: -14px;
    animation: shelf-glimmer 1.4s ease-in-out infinite;
}

.gift-loader__shelf--a::before {
    left: 22%;
    animation-delay: 0s;
}

.gift-loader__shelf--b::before {
    left: 58%;
    animation-delay: 0.25s;
}

.gift-loader__shelf--c::after {
    right: 18%;
    animation-delay: 0.5s;
}

@keyframes shelf-glimmer {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.gift-loader__mag {
    position: absolute;
    width: 44px;
    height: 44px;
    top: 8px;
    left: 0;
    border: 3px solid var(--accent);
    border-radius: 50%;
    background: rgba(0, 181, 192, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 181, 192, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.06);
    animation: mag-scan 2.4s ease-in-out infinite;
}

.gift-loader__mag::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 22px;
    background: var(--accent);
    border-radius: 2px;
    bottom: -16px;
    right: 2px;
    transform: rotate(-42deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@keyframes mag-scan {
    0%, 100% { transform: translate(0, 6px) scale(1); }
    35% { transform: translate(96px, -2px) scale(1.06); }
    70% { transform: translate(48px, 20px) scale(0.98); }
}

.gift-loader__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: -0.02em;
}

.gift-loader__sub {
    margin: 0.45rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
    .gift-loader__mag,
    .gift-loader__shelf--a::before,
    .gift-loader__shelf--b::before,
    .gift-loader__shelf--c::after {
        animation: none;
    }
}

/* ——— Site top bar (public) ——— */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

.site-topbar__band {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(236, 236, 236, 0.9);
    box-shadow: none;
}

.site-topbar__inner {
    width: 100%;
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: 0.85rem clamp(1.25rem, 4vw, 2rem);
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
}

.site-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
    flex-shrink: 0;
    border-radius: 10px;
    padding: 0.15rem 0.4rem 0.15rem 0.15rem;
    margin: -0.15rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-topbar__brand:hover {
    color: var(--accent-2);
    text-decoration: none;
    background: var(--surface-muted);
}

.site-topbar__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: 2.75rem;
    height: 2.75rem;
    max-width: min(11rem, 46vw);
    padding: 0.2rem 0.45rem;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    border: 1px solid var(--line);
    overflow: hidden;
}

.site-topbar__logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.site-topbar__wordmark {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
    color: var(--accent-2);
}

.site-topbar__toggle {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--accent-2);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.site-topbar__toggle:hover {
    border-color: var(--line-strong);
    background: var(--surface-muted);
}

.site-topbar__toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.site-topbar__toggle-bars,
.site-topbar__toggle-bars::before,
.site-topbar__toggle-bars::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
}

.site-topbar__toggle-bars {
    position: relative;
}

.site-topbar__toggle-bars::before {
    position: absolute;
    top: -5px;
    left: 0;
}

.site-topbar__toggle-bars::after {
    position: absolute;
    top: 5px;
    left: 0;
}

.site-topbar__nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-left: auto;
    flex-shrink: 0;
}

.site-topbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--muted);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.site-topbar__link:hover {
    color: var(--accent-2);
    background: var(--surface-muted);
    border-color: var(--line);
    text-decoration: none;
}

.site-topbar__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.site-topbar__link--quiet {
    font-weight: 500;
    color: var(--muted);
}

.site-topbar__link--button {
    appearance: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}

.site-topbar__link--active {
    color: var(--accent-2);
    background: var(--accent-soft);
    border-color: transparent;
    font-weight: 600;
}

.site-topbar__link--cta {
    color: #ffffff;
    font-weight: 600;
    border-color: var(--accent);
    background: var(--accent);
}

.site-topbar__link--cta:hover {
    color: #ffffff;
    background: #00a3ad;
    border-color: #00a3ad;
}

.site-header--after-topbar:not(.site-header--compact) {
    padding-top: clamp(2.5rem, 6vw, var(--section-py));
}

@media (max-width: 900px) {
    .site-topbar__inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .site-topbar__brand {
        order: 1;
    }

    .site-topbar__toggle {
        order: 2;
        display: inline-flex;
        margin-left: auto;
    }

    .site-topbar__nav {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-top: 0.15rem;
        padding: 0.65rem 0 0.35rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        border-top: 1px solid var(--line);
        background: var(--surface-muted);
        display: none;
    }

    .site-topbar--open .site-topbar__nav {
        display: flex;
    }

    .site-topbar__link {
        justify-content: flex-start;
        width: 100%;
        padding: 0.65rem 0.75rem;
        font-size: 0.9375rem;
        border-radius: 8px;
        white-space: normal;
    }

    .site-topbar__wordmark {
        max-width: min(14rem, calc(100vw - 6rem));
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    .site-topbar__inner {
        padding: 0.45rem 0.85rem;
    }

    .site-topbar__mark {
        min-width: 2.5rem;
        height: 2.5rem;
        max-width: min(9.5rem, 52vw);
        padding: 0.15rem 0.35rem;
    }

    .site-topbar__logo {
        max-height: 100%;
    }

    .site-topbar__wordmark {
        display: none;
    }

    .site-topbar__toggle {
        width: 2.35rem;
        height: 2.35rem;
    }

    .site-topbar__toggle-bars,
    .site-topbar__toggle-bars::before,
    .site-topbar__toggle-bars::after {
        width: 14px;
    }

    .site-topbar__nav {
        padding-top: 0.5rem;
    }

    .site-topbar__link {
        padding: 0.55rem 0.65rem;
        font-size: 0.875rem;
    }
}

/* Compact header (blog, etc.) */
.site-header--compact {
    padding: 1.25rem 1.25rem 0.75rem;
}

.site-header__home-link {
    display: inline-block;
}

.brand-logo--sm {
    max-height: 64px;
}

.tagline--tight {
    margin: 0.35rem auto 0;
    font-size: 0.95rem;
}

.shell--blog {
    max-width: 42rem;
    margin: 0 auto;
    padding: var(--section-py) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 10vw, 6rem);
}

.blog-article__head {
    margin-bottom: 1.25rem;
}

.blog-article__meta {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.blog-article__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
}

.blog-article__excerpt {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.blog-article__body {
    font-size: 1.02rem;
    line-height: 1.65;
}

.blog-article__body a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.blog-article__body a:hover {
    color: var(--accent-2);
}

.blog-blocks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0;
}

.blog-block {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
}

.blog-block__label,
.blog-block__heading {
    margin: 0 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-2);
}

.blog-block__heading {
    font-size: 1.0625rem;
}

.blog-block__views {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

.blog-block__views-num {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--accent-2);
}

.blog-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
}

.blog-countdown__part {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.5rem;
}

.blog-countdown__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.blog-countdown__unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.blog-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-share__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--accent-2);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.blog-share__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

.blog-products {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.blog-products__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.blog-products__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pick;
}

.blog-products__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.blog-products__item:last-child {
    border-bottom: 0;
}

.blog-products__num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.blog-products__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-bottom: 0.25rem;
}

.blog-products__retailer {
    flex-shrink: 0;
    margin: 0;
}

.blog-products__name {
    font-weight: 600;
    font-size: 1.02rem;
}

.blog-products__blurb {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
}

.blog-index {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-index__item {
    margin-bottom: 0.5rem;
}

.blog-index__link {
    display: block;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
}

.blog-index__link:hover {
    border-color: var(--line-strong);
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.blog-index__title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.blog-index__excerpt {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

/* ——— Premium home ——— */
.page-home .site-header--hero {
    padding-bottom: clamp(2rem, 5vw, 2.75rem);
    border-bottom: none;
    background: transparent;
}

.hero-eyebrow {
    margin: 0 auto 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.tagline--wide {
    max-width: 42rem;
}

.hero-cta-hint {
    margin: 1.75rem 0 0;
}

.hero-secondary {
    margin: 1rem 0 0;
}

.shell--home {
    padding-top: 0;
}

.home-section {
    margin-top: var(--section-gap);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
}

.home-section__inner {
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem);
}

.section-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.section-lead {
    margin: 0 0 1.75rem;
    max-width: 40rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.trust-blocks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 52rem;
    margin: 2rem auto 0;
    padding: 0;
}

.trust-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.15rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(3, 63, 87, 0.04);
    text-align: center;
}

.trust-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.trust-block__icon svg {
    display: block;
}

.trust-block__label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent-2);
}

.home-section--how .how-steps {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-section--how .how-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(3, 63, 87, 0.04);
}

.home-section--how .how-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.home-section--how .how-step__icon svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

.home-section--how .how-step__title {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.25;
}

.home-section--how .how-step__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.5;
}

.trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trending-list a {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--accent-2);
}

.trending-list a:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    text-decoration: none;
    color: var(--accent-2);
    font-weight: 600;
    transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--accent-2);
}

.category-card--search {
    cursor: pointer;
    width: 100%;
}

.category-card__arrow {
    color: var(--accent);
    font-weight: 400;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--accent-2);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--line);
}

.faq-item p {
    margin: 0;
    padding: 1rem 1.15rem;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 720px) {
    .trust-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section--how .how-steps {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .home-section--how .how-step {
        flex: 0 0 min(100%, 16rem);
        scroll-snap-align: start;
    }
}

@media (max-width: 380px) {
    .trust-blocks {
        grid-template-columns: 1fr;
    }
}
