/* ── Intro ── */
.gift-intro {
    text-align: center;
    padding: 72px 24px 48px;
    background: var(--cream);
}

.gift-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--navy);
    margin: 12px 0 16px;
}

.gift-intro p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Grid ── */
.gift-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

/* ── Cards ── */
.gift-card {
    background: var(--cream-deep);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
    padding: 32px 28px;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.gift-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.gift-card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.gift-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.gift-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}


/* ── CTA card (08) ── */
.gift-card--cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top-color: var(--gold-dark);
}

.gift-card--cta .link-btn {
    margin-top: 24px;
    align-self: flex-start;
}

/* ── Responsive ── */
@media (max-width: 560px) {
    .gift-grid {
        padding: 0 16px 60px;
    }
}

/* ── Gift card templates (Admin → Gifts, active only) ── */
.gift-templates {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 32px 88px;
    text-align: center;
}

.gift-templates h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    margin: 10px 0 32px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
    justify-content: center;
    gap: 24px;
}

.template-card {
    margin: 0;
    background: var(--cream-deep);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.template-img {
    aspect-ratio: 4 / 3;
    background: var(--cream) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d2a679" stroke-width="1"><rect x="3" y="5" width="18" height="14" rx="1"/><path d="M3 9h18"/></svg>') no-repeat center / 48px;
}

.template-card figcaption {
    padding: 14px 16px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
    .gift-templates { padding: 16px 16px 64px; }
}
