/*
 * legal.css — Session 18
 * Legal pages, 404, empty states (cart / orders / search), cookie banner.
 * All colours via --silure-* tokens. border-radius: 0 throughout.
 *
 * "was -0.03em" / "was Italiana, see file header" markers (Session 30
 * close-out, letter-spacing + Italiana removal sweeps): this file
 * predates the site's -0.01em heading standard and CLAUDE.md's
 * Italiana ban. Two different situations found on the selectors these
 * markers touch, worth distinguishing:
 * - .silure-legal-hero__heading and .silure-legal h1/h2: the wrapper
 *   these live inside, .silure-legal-hero/.silure-legal, does not
 *   appear anywhere in current markup on any of the 9 legal pages
 *   fetched live this round (Privacy, Returns, Shipping, FAQ, Cookie,
 *   Terms, Silver Care, Size Guide, Gifting) -- genuinely orphaned,
 *   all of them now render via Elementor's own .elementor-heading-title
 *   instead.
 * - .silure-404__heading: NOT orphaned -- live-confirmed via a real
 *   fetch of a genuine 404 response, the page's actual H1 carries this
 *   exact class. Its declared values (Italiana, -0.03em) were simply
 *   never winning the cascade even before this fix (the same sitewide
 *   Elementor h1 rule already overrode both), so nothing changes
 *   visually -- corrected so the source itself is right rather than
 *   depending on that override staying in place.
 * .silure-empty-state__heading (cart/orders/search empty states) was
 * not confirmed either way this round -- none of the pages fetched
 * happened to be in an empty state -- corrected on the same reasoning
 * as the rest of this file regardless.
 */

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES — shared layout
═══════════════════════════════════════════════════════════════════════════ */

.silure-legal-hero {
    background: var(--silure-bg-dark, #050505);
    padding: 80px 32px;
    text-align: center;
}

.silure-legal-hero__label {
    font-family: 'Mulish', sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silure-muted, #7A7672);
    margin: 0 0 20px;
}

.silure-legal-hero__heading {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--silure-on-dark, #FBF9F6);
    margin: 0 0 24px;
}

.silure-legal-hero__updated {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--silure-muted, #7A7672);
    letter-spacing: 0.3px;
}

.silure-legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 32px 96px;
}

.silure-legal h1 {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.5px;
    color: var(--silure-primary, #050505);
    margin: 0 0 40px;
}

.silure-legal h2 {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--silure-primary, #050505);
    margin: 56px 0 16px;
    line-height: 1.1;
}

.silure-legal h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silure-primary, #050505);
    margin: 36px 0 12px;
}

.silure-legal p {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--silure-text, #444444);
    margin: 0 0 20px;
}

.silure-legal ul,
.silure-legal ol {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--silure-text, #444444);
    padding-left: 24px;
    margin: 0 0 20px;
}

.silure-legal li { margin-bottom: 8px; }

.silure-legal a {
    color: var(--silure-primary, #050505);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.silure-legal strong {
    font-weight: 400;
    color: var(--silure-primary, #050505);
}

.silure-legal hr {
    border: none;
    border-top: 1px solid var(--silure-border, #E8E4DF);
    margin: 56px 0;
}

/* Inline data table (business details) */
.silure-legal table.silure-legal-details {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--silure-text, #444444);
}

.silure-legal table.silure-legal-details td {
    padding: 10px 0;
    border-bottom: 1px solid var(--silure-border, #E8E4DF);
    vertical-align: top;
    line-height: 1.6;
}

.silure-legal table.silure-legal-details td:first-child {
    font-weight: 400;
    color: var(--silure-primary, #050505);
    width: 36%;
    padding-right: 24px;
}

/* Callout box (rights, contact) */
.silure-legal__callout {
    background: var(--silure-surface, #F3F0EB);
    padding: 28px 32px;
    margin: 32px 0;
    border-left: 2px solid var(--silure-border-mid, #C8C4BF);
}

.silure-legal__callout p { margin: 0 0 8px; }
.silure-legal__callout p:last-child { margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════════════════════════════════ */

.silure-404 {
    background: var(--silure-bg-dark, #050505);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 32px;
}

.silure-404__code {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(96px, 20vw, 240px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.05em;
    color: rgba(251,249,246,0.07);
    margin: 0 0 -32px;
    user-select: none;
}

.silure-404__heading {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.01em; /* was -0.03em, see file header */
    text-transform: uppercase;
    color: var(--silure-on-dark, #FBF9F6);
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
}

.silure-404__sub {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--silure-muted, #7A7672);
    max-width: 440px;
    margin: 0 auto 48px;
    letter-spacing: 0.3px;
}

.silure-404__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.silure-404__link {
    font-family: 'Mulish', sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 16px 36px;
    border: 1px solid;
    transition: background 0.2s, color 0.2s;
}

.silure-404__link--primary {
    background: var(--silure-on-dark, #FBF9F6);
    color: var(--silure-bg-dark, #050505);
    border-color: var(--silure-on-dark, #FBF9F6);
}

.silure-404__link--primary:hover {
    background: transparent;
    color: var(--silure-on-dark, #FBF9F6);
}

.silure-404__link--outline {
    background: transparent;
    color: var(--silure-on-dark, #FBF9F6);
    border-color: rgba(251,249,246,0.3);
}

.silure-404__link--outline:hover {
    border-color: var(--silure-on-dark, #FBF9F6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATES — shared
═══════════════════════════════════════════════════════════════════════════ */

.silure-empty-state {
    text-align: center;
    padding: 80px 32px;
}

.silure-empty-state__heading {
    font-family: 'Mulish', sans-serif; /* was Italiana, see file header */
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.01em; /* was -0.03em, see file header */
    text-transform: uppercase;
    color: var(--silure-primary, #050505);
    margin: 0 0 20px;
}

.silure-empty-state__sub {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--silure-muted, #7A7672);
    /* Widened from 380px (Session 30) -- too narrow for the Orders empty-
       state sentence ("When you place your first order it will appear
       here."), which was wrapping to 2 lines. 520px fits that sentence on
       one line on any normal viewport; still wraps gracefully on genuinely
       narrow (mobile) widths via the parent's own side padding. */
    max-width: 520px;
    margin: 0 auto 40px;
    letter-spacing: 0.3px;
}

/* Shared by cart-empty.php's two-button layout (Browse Collection + New
   In, distinguished only by the + sibling selector below) as well as the
   Orders empty state's single button -- background/color/border stay
   generic/bespoke here for that reason. The Orders-specific override (see
   .silure-orders-empty-btn) is what actually adopts the sitewide button
   standard, scoped so it never touches this shared rule or the cart-empty
   sibling pair. */
.silure-empty-state__btn {
    font-family: 'Mulish', sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--silure-primary, #050505);
    color: var(--silure-on-dark, #FBF9F6);
    border: 1px solid var(--silure-primary, #050505);
    padding: 16px 40px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.silure-empty-state__btn:hover {
    background: transparent;
    color: var(--silure-primary, #050505);
}

.silure-empty-state__btn + .silure-empty-state__btn {
    margin-left: 12px;
    background: transparent;
    color: var(--silure-primary, #050505);
}

.silure-empty-state__btn + .silure-empty-state__btn:hover {
    background: var(--silure-primary, #050505);
    color: var(--silure-on-dark, #FBF9F6);
}

/* This rule's own text-decoration: none above was losing to .silure-
   account-content a's text-decoration: underline (silure-woocommerce.css)
   on a specificity tie -- confirmed live. !important needed since that
   rule has no !important of its own to out-rank normally.
   Font properties added here too (Session 30 sitewide 13px
   standardization), scoped to this class specifically rather than
   touching the shared .silure-empty-state__btn base above, which also
   serves the cart-empty two-button layout -- not part of this pass. */
.silure-orders-empty-btn {
    text-decoration: none !important;
    font-family: 'DM Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    letter-spacing: 0.5px !important;
}

/* Cart-specific empty state */
.silure-cart-empty .silure-empty-state__heading { font-size: clamp(32px, 4.5vw, 52px); }

/* No-results filter state */
.silure-no-results__label {
    font-family: 'Mulish', sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silure-muted, #7A7672);
    margin: 0 0 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
═══════════════════════════════════════════════════════════════════════════ */

.silure-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: var(--silure-bg-dark, #050505);
    border-top: 1px solid rgba(251,249,246,0.12);
    padding: 18px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.silure-cookie-bar.is-visible { transform: translateY(0); }

.silure-cookie-bar__text {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--silure-on-dark, #FBF9F6);
    line-height: 1.6;
    flex: 1;
    margin: 0;
    min-width: 200px;
}

.silure-cookie-bar__link {
    color: var(--silure-on-dark, #FBF9F6);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.silure-cookie-bar__link:hover { opacity: 0.7; }

.silure-cookie-bar__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* !important on the font properties -- real <button type="button">
   elements (Accept/Decline), same reset.css tie as .silure-btn-primary. */
.silure-cookie-bar__btn {
    font-family: 'DM Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

/* color/background/border/radius (base + hover/focus, both Accept and
   Decline — the sitewide standard replaces the previous distinct
   accept/decline treatments with one uniform look) now come from the
   single sitewide button hover standard in silure_kill_pink_late(). */

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .silure-legal { padding: 56px 24px 80px; }
    .silure-legal-hero { padding: 64px 24px; }
    .silure-cookie-bar { padding: 16px 24px; gap: 16px; }
    .silure-cookie-bar__actions { width: 100%; justify-content: flex-end; }
    .silure-404 { padding: 64px 24px; }
    .silure-404__links { flex-direction: column; align-items: center; }
    .silure-empty-state { padding: 64px 24px; }
    .silure-legal table.silure-legal-details td:first-child { width: 44%; }
}

@media (max-width: 480px) {
    .silure-cookie-bar__actions { flex-direction: column; }
    .silure-cookie-bar__btn { text-align: center; }
}

/* Override Elementor Kit 15px — match About page 13px standard */
.elementor-element-lglctx01 p,
.elementor-element-lglctx01 li,
.elementor-element-lglctx01 td { font-size: 13px !important; }
