/* ================================================================
   BELISSE GEMS — Legal Pages Stylesheet
   Applies to: privacy.html, terms.html, refund-policy.html,
               shipping-policy.html
   ================================================================ */

.legal-main {
    padding: 80px 40px 120px;
    background: var(--cream);
    min-height: 80vh;
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

/* ---- Header ---- */
.legal-header {
    margin-bottom: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.legal-header .label {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-header .label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.legal-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 16px;
}

.legal-header h1 em {
    color: var(--emerald);
}

.legal-updated {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
}

/* ---- Body ---- */
.legal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.legal-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

/* ---- Sections ---- */
.legal-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.2;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    padding-left: 24px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-section li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.legal-section strong {
    color: var(--ink);
    font-weight: 500;
}

/* Alert-style sections (Final Sale warnings) */
.legal-section--alert {
    background: rgba(122, 16, 36, 0.04);
    border: 1px solid rgba(122, 16, 36, 0.12);
    padding: 32px 36px;
    margin: 8px 0;
}

.legal-section--alert h2 {
    color: var(--ruby);
}

/* Callout box (unboxing video requirement etc) */
.legal-callout {
    background: rgba(176, 140, 83, 0.08);
    border-left: 3px solid var(--gold);
    padding: 18px 22px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.legal-callout strong {
    color: var(--gold-deep);
    display: block;
    margin-bottom: 6px;
}

/* Contact block */
.legal-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--ink-soft);
}

.legal-contact a {
    color: var(--emerald);
    font-weight: 500;
    transition: opacity 0.25s;
}

.legal-contact a:hover {
    opacity: 0.7;
}

/* ---- Shipping quick-reference cards ---- */
.shipping-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.shipping-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    padding: 32px 24px;
    text-align: center;
}

.shipping-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-deep);
}

.shipping-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.shipping-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--ink);
}

.shipping-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

/* Processing time comparison table */
.legal-table {
    border: 1px solid var(--line);
    margin: 20px 0;
    overflow: hidden;
}

.legal-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.legal-table-row:last-child {
    border-bottom: none;
}

.legal-table-head {
    background: var(--ivory-2);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .legal-main {
        padding: 50px 24px 80px;
    }

    .legal-section--alert {
        padding: 24px 20px;
    }

    .shipping-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .legal-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .legal-table-head span:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .legal-main {
        padding: 40px 16px 60px;
    }

    .legal-header h1 {
        font-size: clamp(34px, 10vw, 56px);
    }

    .legal-contact {
        flex-direction: column;
        align-items: flex-start;
    }
}
