/* ── Home page — page-specific styles ───────────────────────────── */
/* site-base.css is loaded first and provides: variables, body, navbar,
   mobile-menu, footer, auth, .btn-cozy, utilities.
   Everything here is home-page-only. */

/* Hero section needs no padding-top override — site-base sets padding-top
   on body equal to nav-height, so the hero section starts correctly. */

.hero-section {
    padding-top: 3rem;
    padding-bottom: 0.5rem;
    position: relative;
    overflow: visible;
}

/* Simple text links under the logo bar (mobile / narrow — desktop uses navbar links) */
.hero-quick-nav {
    display: none;
}

@media (max-width: 767px) {
    .hero-quick-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.35rem 0.5rem;
        margin: -0.5rem 0 1rem;
        padding: 0 0.5rem;
        font-family: 'Nunito', sans-serif;
        font-size: 0.9375rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .hero-quick-nav a {
        color: var(--theme-plum);
        padding: 0.2rem 0.4rem;
        border-radius: var(--radius-sm);
        transition: color var(--transition-fast), background var(--transition-fast);
    }

    .hero-quick-nav a:hover,
    .hero-quick-nav a:focus-visible {
        color: var(--theme-rose);
        background: rgba(255, 252, 249, 0.65);
        outline: none;
    }

    .hero-quick-nav-sep {
        color: var(--text-muted);
        opacity: 0.75;
        user-select: none;
    }
}

.hero-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 3.5rem;
    }

    .hero-grid > div:first-child {
        text-align: left;
    }

    .hero-grid > div:first-child .trust-badges,
    .hero-grid > div:first-child .flex {
        justify-content: flex-start;
    }
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--theme-plum);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--theme-plum);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: rgba(79, 54, 64, 0.78);
}

@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
}

/* ── Utilities reused on the home page only ──────────────────────── */
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.relative { position: relative; }
.object-cover { object-fit: cover; }
.mb-025 { margin-bottom: 0.25rem; }

/* ── Caveat font for hero and sticky text ────────────────────────── */
.hero-fairy-text {
    font-family: 'Caveat', cursive;
    text-align: center;
    color: var(--theme-plum);
    margin-top: 0.75rem;
    font-size: 1.8rem;
    line-height: 1;
}

.hero-sticky-text {
    font-family: 'Caveat', cursive;
    color: var(--theme-ink);
    font-size: 1.3rem;
    line-height: 1.2;
}

/* ── Section layout ──────────────────────────────────────────────── */
.section-py {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ── Wave dividers ───────────────────────────────────────────────── */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 40px;
}

.wave-divider.flip {
    transform: rotate(180deg);
}

.wave-divider svg path {
    fill: rgba(255, 249, 246, 0.82);
}

@media (max-width: 768px) {
    .wave-divider svg { height: 25px; }
}

/* ── Crafty section (how it works) ───────────────────────────────── */
.crafty-section {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.82) 0%, rgba(247, 235, 241, 0.74) 100%);
    border-color: var(--theme-line);
}

.paper-edge-bottom::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 12' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12 Q5 8 10 12 T20 12 T30 12 T40 12 T50 12 T60 12 T70 12 T80 12 T90 12 T100 12 V0 H0 Z' fill='%23f3f4f6'/%3E%3C/svg%3E");
    background-size: 50px 12px;
    z-index: 2;
    bottom: -1px;
}

/* ── Section header ──────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.underline-doodle {
    width: 6rem;
    height: 0.35rem;
    background: linear-gradient(90deg, #efc57d, #d98980);
    margin: 0.5rem auto 0;
    border-radius: 9999px;
    opacity: 0.8;
    box-shadow: 0 2px 8px rgba(242, 201, 76, 0.4);
}

/* Category strips — smaller than global h2 */
#occasion-categories .section-header h2,
#gallery-section .section-header h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    line-height: 1.25;
}

#gallery-section .gallery-section-sub {
    font-size: 1.05rem;
    line-height: 1.45;
    color: rgba(79, 54, 64, 0.78);
    margin: 0.85rem auto 0;
    max-width: 28rem;
}

/* Compact category cards — Popular eCard Categories + Find the perfect eCard */
#occasion-categories .gallery-grid,
#gallery-section .gallery-grid {
    max-width: 520px;
    gap: 1rem;
}
#occasion-categories .category-card .category-content,
#gallery-section .category-card .category-content {
    padding: 1.2rem 0.95rem;
}
#occasion-categories .category-card .cat-icon,
#gallery-section .category-card .cat-icon {
    font-size: 2rem;
    margin-bottom: 0.65rem;
}
#gallery-section .category-card .cat-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}
#occasion-categories .category-card h3.font-hand,
#gallery-section .category-card h3.font-hand {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}
#occasion-categories .category-card .text-sm,
#gallery-section .category-card .text-sm {
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-bottom: 0;
}

/* ── Scrapbook layout ────────────────────────────────────────────── */
.scrapbook-layout {
    position: relative;
    height: 380px;
    width: 100%;
    display: block;
    margin-top: 2rem;
}

.hand-border {
    border-radius: var(--radius-lg);
    border: 1px solid var(--theme-line);
}

.main-photo {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 11rem;
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.98) 0%, rgba(247, 235, 241, 0.92) 100%);
    backdrop-filter: blur(20px);
    padding: 0.5rem;
    padding-bottom: 2rem;
    box-shadow: var(--shadow-elevated);
    z-index: 10;
    border-radius: var(--radius-lg);
    border: 1px solid var(--theme-line);
    overflow: visible;
}

.washi-tape {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 100px;
    height: 25px;
    background: linear-gradient(135deg, #d98980, #b96872);
    opacity: 0.9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(230, 126, 115, 0.3);
}

.sticky-note {
    position: absolute;
    bottom: 1rem;
    right: 50%;
    transform: translateX(40%) rotate(4deg);
    width: 12rem;
    background: linear-gradient(135deg, #fff7e8, #f8e6cf);
    padding: 1.25rem;
    box-shadow: var(--shadow-elevated);
    z-index: 30;
    border-radius: var(--radius-md);
    border: 1px solid rgba(224, 191, 143, 0.55);
}

.pin {
    width: 0.75rem;
    height: 0.75rem;
    background: linear-gradient(135deg, #d98980, #b96872);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    box-shadow: 0 2px 6px rgba(230, 126, 115, 0.4);
}

.star-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 50;
}

.star-sparkle svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 250, 220, 0.5));
    animation: sparkle-twinkle 2s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes sparkle-twinkle {
    0%, 100% { opacity: 0.9; transform: scale(1) rotate(0deg); }
    50%       { opacity: 1;   transform: scale(1.1) rotate(3deg); }
}

/* ── Mobile scrapbook ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .scrapbook-layout { height: 400px; margin-top: 1rem; }
    .main-photo { width: 13rem; }
    .sticky-note { bottom: 2rem; right: 50%; transform: translateX(45%) rotate(4deg); width: 12rem; }
}

@media (max-width: 480px) {
    .scrapbook-layout { height: 380px; }
    .main-photo { width: 10rem; }
    .sticky-note { width: 10rem; font-size: 1rem; padding: 1rem; right: 45%; transform: translateX(50%) rotate(4deg); }
}

/* ── Desktop scrapbook ───────────────────────────────────────────── */
@media (min-width: 1024px) {
    .scrapbook-layout { height: 380px; margin-top: 0; width: 400px; margin-left: auto; margin-right: auto; }
    .main-photo { top: 1.5rem; left: 2rem; width: 13rem; transform: rotate(-3deg); }
    .sticky-note { bottom: 4rem; right: 1rem; width: 14rem; transform: rotate(6deg); }
}

/* ── Badge / trust ───────────────────────────────────────────────── */
.badge-new {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #111827;
    padding: 0.35rem 1rem;
    font-size: 1rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 16px rgba(242, 201, 76, 0.4);
    display: inline-block;
    transform: rotate(-2deg);
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    backdrop-filter: blur(20px);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--theme-line);
    box-shadow: var(--shadow-card);
}

/* ── Gallery / category grid ─────────────────────────────────────── */
/* NOTE: Currently 3 categories. When a 4th is added, change to:
   grid-template-columns: repeat(4, 1fr) and max-width: 960px          */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    cursor: pointer;
    height: 100%;
    transition: transform var(--transition-normal);
    text-decoration: none;
}

.category-card:nth-child(odd):not(.disabled):hover  { transform: rotate(-2deg) scale(1.03); }
.category-card:nth-child(even):not(.disabled):hover { transform: rotate(2deg) scale(1.03); }
.category-card.disabled { opacity: 0.7; cursor: default; }

.category-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.category-content {
    position: relative;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border: 1px solid var(--theme-line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.category-content h3 { color: var(--theme-ink); }

.category-card:not(.disabled):hover .category-content {
    border-color: var(--theme-line-strong);
    box-shadow: 0 22px 46px rgba(125, 73, 92, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.58) inset;
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-card:hover .cat-icon { transform: scale(1.15) rotate(-5deg); }

.coming-soon-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 8px;
}

.gallery-swipe-hint { display: none; }

@media (max-width: 640px) {
    #occasion-categories .container,
    #gallery-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    #occasion-categories .section-header,
    #gallery-section .section-header {
        padding: 0 1.5rem;
    }
    #occasion-categories .section-header h2,
    #gallery-section .section-header h2 {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    .gallery-grid {
        display: flex;
        /* Override grid’s justify-content: center — centering a wide flex row clips both
           ends on mobile (first cards off-screen left, last peek cut off right). */
        justify-content: flex-start;
        align-items: stretch;
        gap: 1rem;
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(185, 128, 138, 0.45) transparent;
        padding: 0.25rem 1.5rem 0.75rem;
    }
    .gallery-grid::-webkit-scrollbar { height: 6px; }
    .gallery-grid::-webkit-scrollbar-thumb {
        background: rgba(185, 128, 138, 0.45);
        border-radius: 999px;
    }
    .gallery-grid .category-card {
        flex: 0 0 auto;
        width: min(72vw, 260px);
        scroll-snap-align: start;
    }
    /* Same fixed width, but copy wraps to different numbers of lines; height:100% on
       .category-card does not equalise a content-sized flex row. Stretch the column
       and grow the inner panel so every card in the strip matches the tallest. */
    #occasion-categories .gallery-grid,
    #gallery-section .gallery-grid {
        gap: 0.75rem;
        padding: 0.25rem 1.25rem 0.75rem;
    }
    #occasion-categories .gallery-grid .category-card,
    #gallery-section .gallery-grid .category-card {
        width: min(58vw, 188px);
        height: auto;
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }
    #occasion-categories .category-card .category-content,
    #gallery-section .category-card .category-content {
        padding: 1rem 0.75rem;
    }
    #occasion-categories .category-card .cat-icon,
    #gallery-section .category-card .cat-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    #gallery-section .category-card .cat-icon svg {
        width: 28px;
        height: 28px;
    }
    #occasion-categories .category-card h3.font-hand,
    #gallery-section .category-card h3.font-hand {
        font-size: 1.05rem;
    }
    #occasion-categories .gallery-grid .category-card .category-content,
    #gallery-section .gallery-grid .category-card .category-content {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
    }
    .category-card:nth-child(odd):not(.disabled):hover,
    .category-card:nth-child(even):not(.disabled):hover { transform: none; }
    #occasion-categories .gallery-swipe-hint,
    #gallery-section .gallery-swipe-hint {
        display: inline-block;
        margin-top: 0.5rem;
        font-family: 'Nunito', sans-serif;
        font-size: 1.35rem;
        font-weight: 900;
        letter-spacing: 0.06em;
    }
    #gallery-section .gallery-section-sub {
        font-size: 0.95rem;
        margin-top: 0.65rem;
    }
}

/* ── Steps / How it works ────────────────────────────────────────── */
.steps-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--theme-line);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.step-card:nth-child(1) { transform: rotate(-1.5deg); }
.step-card:nth-child(2) { transform: rotate(1deg); }
.step-card:nth-child(3) { transform: rotate(-0.5deg); }
.step-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--theme-line-strong); }

.step-card::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 50px;
    height: 14px;
    border-radius: 2px;
    opacity: 0.85;
}

.step-card:nth-child(1)::before { background: linear-gradient(135deg, #d98980, #b96872); transform: translateX(-50%) rotate(-3deg); }
.step-card:nth-child(2)::before { background: linear-gradient(135deg, var(--secondary), #5a9ca3); transform: translateX(-50%) rotate(2deg); }
.step-card:nth-child(3)::before { background: linear-gradient(135deg, var(--accent), #e5b93d); transform: translateX(-50%) rotate(-1deg); }

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.step-card h3 { font-size: 1.35rem; margin-bottom: 0.35rem; color: var(--theme-ink); }
.step-card p  { font-size: 1rem; margin-bottom: 0; }

@media (max-width: 768px) {
    .steps-grid { gap: 0.6rem; max-width: none; margin: 0; }
    .step-card { padding: 0.75rem 0.5rem 0.7rem; }
    .step-card p { display: none; }
    .step-card h3 { font-size: 1rem; margin-top: 0.4rem; margin-bottom: 0; line-height: 1.25; }
    .step-number { width: 2rem; height: 2rem; font-size: 1rem; }
    .step-card:nth-child(1),
    .step-card:nth-child(2),
    .step-card:nth-child(3) { transform: rotate(0deg); }
}

/* ── About artist card ───────────────────────────────────────────── */
.about-artist-card {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.98) 0%, rgba(247, 235, 241, 0.94) 100%);
    border: 1px solid rgba(209, 151, 138, 0.36);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    box-shadow: 0 16px 36px rgba(137, 89, 106, 0.12);
}

.about-artist-card h2 { color: var(--theme-plum); }
.about-artist-card p  { color: rgba(79, 54, 64, 0.82); }

/* ── Mini FAQ ────────────────────────────────────────────────────── */
.mini-faq-wrap { max-width: 860px; margin: 0 auto; }

.mini-faq-wrap .mfaq-heading {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--theme-plum);
    margin-bottom: 1rem;
    text-align: center;
}

.mini-faq-wrap .mfaq-sub {
    text-align: center;
    color: rgba(79, 54, 64, 0.78);
    font-size: 0.93rem;
    margin-bottom: 1.5rem;
}

.mfaq-item {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    border: 1px solid var(--theme-line);
    border-radius: 12px;
    margin-bottom: 0.55rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.mfaq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--theme-ink);
    user-select: none;
}

.mfaq-item summary::-webkit-details-marker { display: none; }
.mfaq-item[open] summary { color: var(--theme-rose); }

.mfaq-item .mfaq-chev {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--theme-rose);
    transition: transform 0.2s;
}

.mfaq-item[open] .mfaq-chev { transform: rotate(180deg); }

.mfaq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 0.92rem;
    color: rgba(79, 54, 64, 0.82);
    line-height: 1.7;
}

.mfaq-answer p            { margin-bottom: 0.6rem; color: rgba(79, 54, 64, 0.82); }
.mfaq-answer p:last-child  { margin-bottom: 0; }
.mfaq-answer ul            { margin: 0.4rem 0 0.6rem 1.1rem; }
.mfaq-answer li            { margin-bottom: 0.25rem; }
.mfaq-answer a             { color: var(--theme-rose); font-weight: 600; text-decoration: none; }
.mfaq-answer a:hover       { text-decoration: underline; }

.mfaq-more {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(79, 54, 64, 0.78);
}

.mfaq-more a { color: var(--theme-rose); font-weight: 700; text-decoration: none; }
.mfaq-more a:hover { text-decoration: underline; }

/* ── Blog preview ────────────────────────────────────────────────── */
.blog-preview-section {
    background: linear-gradient(180deg, rgba(255, 247, 242, 0.82) 0%, rgba(247, 235, 241, 0.68) 100%);
    border-top: 1px solid rgba(209, 151, 138, 0.22);
    border-bottom: 1px solid rgba(209, 151, 138, 0.22);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 560px) { .blog-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-preview-grid { grid-template-columns: repeat(4, 1fr); } }

.blog-preview-card {
    display: block;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    border: 1px solid var(--theme-line);
    border-radius: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: var(--shadow-card);
}

.blog-preview-card:hover {
    transform: translateY(-2px);
    border-color: var(--theme-line-strong);
    box-shadow: 0 22px 46px rgba(125, 73, 92, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.58) inset;
}

.blog-preview-card__cat     { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--theme-rose); margin-bottom: 0.4rem; }
.blog-preview-card__title   { font-size: 0.92rem; font-weight: 700; color: var(--theme-ink); line-height: 1.4; margin-bottom: 0.4rem; }
.blog-preview-card__excerpt { font-size: 0.8rem; color: rgba(79, 54, 64, 0.78); line-height: 1.5; margin-bottom: 0.5rem; }
.blog-preview-card__meta    { font-size: 0.72rem; color: #9ca3af; }

.blog-preview-cta { text-align: center; margin-top: 1.5rem; }
.blog-preview-cta a {
    display: inline-block;
    background: linear-gradient(135deg, #d98980, #b96872);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.18s;
}
.blog-preview-cta a:hover { opacity: 0.85; }

/* ── Mother's Day promo theming ──────────────────────────────────── */
#md-promo-banner {
    background: linear-gradient(135deg, rgba(255, 244, 242, 0.82) 0%, rgba(249, 232, 238, 0.88) 50%, rgba(249, 240, 229, 0.82) 100%) !important;
}

#md-promo-banner a {
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.98) 0%, rgba(253, 241, 233, 0.94) 100%) !important;
    border-color: rgba(217, 137, 128, 0.34) !important;
    box-shadow: 0 14px 32px rgba(137, 89, 106, 0.12) !important;
}

#md-promo-banner a div[style*="font-family:'Caveat'"] {
    color: var(--theme-plum) !important;
    font-family: 'Dancing Script', cursive !important;
}

#md-promo-banner a div[style*="font-size:0.85rem"],
#md-promo-banner a div[style*="font-size:0.875rem"],
#md-promo-banner a div[style*="font-size:0.7rem"],
#md-promo-banner a span[style*="font-size:0.65rem"],
#md-promo-banner a span[id^="pcd-"] {
    color: var(--theme-ink) !important;
}

#md-promo-banner a span[style*="background:#e8778c"] {
    background: linear-gradient(135deg, #d98980, #b96872) !important;
    color: #fff !important;
}

/* ── Mobile top auth ─────────────────────────────────────────────── */
.mobile-top-auth { display: none; align-items: center; margin-right: 0.25rem; }
@media (max-width: 768px) { .mobile-top-auth { display: flex; } }

/* ── Btn outline (home-page variant) ─────────────────────────────── */
.btn-outline {
    background: rgba(255, 247, 242, 0.78);
    color: var(--theme-rose);
    border: 2px solid rgba(209, 151, 138, 0.52);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #d98980, #b96872);
    color: #fff;
    border-color: transparent;
}

/* ── User dropdown ───────────────────────────────────────────────── */
.user-dropdown {
    position: absolute;
    background: var(--bg-acrylic);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--theme-line);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    z-index: 9999;
}

.user-dropdown.hidden { display: none !important; }

.dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item:hover { background: rgba(217, 137, 128, 0.10); }

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.25); }

/* ── Focus states ────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--theme-rose);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ── Desktop layout ──────────────────────────────────────────────── */
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
