/* ===== Landing page (index.php) — rebuilt to match the Juviano landing mockup.
   Every colour here is a CSS variable defined in navigation.php's :root — no
   hex values in this file. ===== */

.ld-section-inner,
.ld-hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Hero banner ----- */
.ld-hero {
    padding: 40px 0 0;
}

.ld-hero-inner {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.15fr);
    background: var(--jv-ink);
    border-radius: 4px;
    overflow: hidden;
    min-height: 380px;
    padding: 0;
}

.ld-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 48px 48px 48px 56px;
    color: var(--jv-paper);
}

.ld-hero .ld-kicker {
    color: var(--jv-gold);
}

.ld-hero-title {
    font-size: clamp(30px, 3.2vw, 48px);
    margin: 0;
    color: var(--jv-paper);
}

.ld-hero-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #c9c3b4;
    max-width: 46ch;
}

.ld-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.ld-hero-image {
    position: relative;
    min-height: 280px;
}

.ld-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

/* ----- Shared section scaffolding ----- */
.ld-section {
    padding: 56px 0 0;
}

.ld-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.ld-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jv-gold-dark);
    font-weight: 500;
    margin-bottom: 4px;
}

.ld-eyebrow-muted {
    color: var(--jv-muted);
    letter-spacing: 0.1em;
    font-size: 11.5px;
    margin-bottom: 0;
}

.ld-section-title {
    margin: 0;
    font-size: 34px;
    color: var(--jv-ink);
}

.ld-section-title-sm {
    font-size: 26px;
}

.ld-link-gold,
.ld-link-muted {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 3px;
}

.ld-link-gold {
    color: var(--jv-text);
    border-bottom: 1px solid var(--jv-gold);
}

.ld-link-gold:hover {
    color: var(--jv-gold-dark);
}

.ld-link-muted {
    color: #c9c3b4;
    border-bottom: 1px solid #4a5c50;
}

.ld-link-muted:hover {
    color: var(--jv-paper);
}

/* ----- Buttons ----- */
.ld-btn-gold,
.ld-btn-gold-sm {
    display: inline-block;
    background: var(--jv-gold);
    color: var(--jv-ink);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.ld-btn-gold-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.ld-btn-gold:hover,
.ld-btn-gold-sm:hover {
    background: var(--jv-gold-dark);
    color: var(--jv-paper);
}

.ld-btn-outline {
    display: block;
    text-align: center;
    margin-top: 4px;
    border: 1px solid var(--jv-ink);
    color: var(--jv-ink);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ld-btn-outline:hover {
    background: var(--jv-ink);
    color: var(--jv-paper);
}

/* ----- Deals save badge ----- */
.ld-save-badge {
    background: var(--jv-ink);
    color: var(--jv-gold);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-block;
}

/* ----- Product/deal card grid (shared by Deals + Bouquets) ----- */
.ld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.ld-card {
    background: var(--jv-paper);
    border: 1px solid var(--jv-line);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    /* .ld-grid's auto-fit columns stretch a lone card (e.g. only one active
       deal left) to the full row width — cap it so a sparse grid still
       looks like a normal card instead of one giant stretched one. */
    width: 100%;
    max-width: 320px;
}

.ld-card:hover {
    border-color: var(--jv-gold);
    box-shadow: 0 10px 30px rgba(14, 42, 34, 0.08);
}

.ld-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--jv-cream);
}

.ld-card-image-tall {
    aspect-ratio: 4 / 5;
}

.ld-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ld-sale-badge,
.ld-oos-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    color: var(--jv-paper);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    pointer-events: none;
}

.ld-sale-badge {
    background: var(--jv-sale);
}

.ld-oos-badge {
    background: var(--jv-ink);
}

.ld-btn-outline.ld-oos,
.ld-btn-outline.ld-oos:hover {
    background: var(--jv-paper);
    border-color: var(--jv-line);
    color: var(--jv-muted);
    cursor: not-allowed;
}

.ld-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 20px;
}

.ld-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--jv-ink);
}

.ld-card-title a {
    color: inherit;
}

.ld-card-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.ld-price-now {
    font-size: 16px;
    font-weight: 600;
    color: var(--jv-gold-dark);
}

.ld-price-was {
    font-size: 13px;
    color: var(--jv-muted);
    text-decoration: line-through;
}

/* ----- Hampers For Him & Her ----- */
.ld-hampers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.ld-hamper-tile {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 320px;
    background-color: var(--jv-ink);
    background-size: cover;
    background-position: center;
}

.ld-hamper-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 28px;
    background: linear-gradient(to top, rgba(14, 42, 34, 0.9), rgba(14, 42, 34, 0.15));
}

.ld-hamper-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--jv-paper);
}

.ld-hamper-count {
    font-size: 13.5px;
    color: #c9c3b4;
}

.ld-hamper-tile .ld-btn-gold-sm {
    width: fit-content;
    margin-top: 6px;
}

/* ----- Complete the Gift ----- */
.ld-giftbox {
    background: var(--jv-cream);
    border-radius: 4px;
    padding: 36px 40px;
}

.ld-giftbox .ld-section-head {
    margin-bottom: 20px;
}

.ld-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ld-addon-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--jv-paper);
    border: 1px solid var(--jv-line);
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--jv-text);
    transition: border-color 0.2s ease;
}

.ld-addon-tile:hover {
    border-color: var(--jv-gold);
    color: var(--jv-text);
}

.ld-addon-icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--jv-cream);
    border: 1px solid var(--jv-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jv-gold-dark);
}

.ld-addon-name {
    font-size: 14.5px;
    font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 860px) {
    .ld-hero-inner {
        grid-template-columns: 1fr;
    }
    .ld-hero-content {
        padding: 36px 24px 0;
    }
    .ld-hero-image {
        min-height: 220px;
    }
}
