/* ==========================================================================
   1. CORE RESET & VARIABLES
   ========================================================================== */
:root {
    --midnight: #0a192f;
    --gold: #c5a059;
    --white: #ffffff;
    --off-white: #f9f9f9;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. GLOBAL NAVIGATION
   ========================================================================== */
header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 5%;
    z-index: 1000;
}

.logo img, .nav-logo {
    width: 250px !important;
    height: auto;
    filter: brightness(0) invert(1);
}

header nav {
    margin-left: auto;
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Subject ribbon hamburger (site navigation menu) */
header .site-nav-toggle {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(10, 25, 47, 0.35);
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin-left: 14px;
    position: relative;
    z-index: 1300;
}

header .site-nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

header .site-nav-toggle[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
}

header .site-nav-toggle-bar {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 0 auto;
}

header .site-nav-menu {
    position: absolute;
    top: 85px;
    right: 5%;
    min-width: 240px;
    background: rgba(10, 25, 47, 0.96);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 14px;
    padding: 10px;
    display: none;
    z-index: 1400;
}

header .site-nav-menu.is-open {
    display: block;
}

header .site-nav-link {
    display: block;
    padding: 12px 12px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.05rem;
    border-radius: 10px;
}

header .site-nav-link:hover,
header .site-nav-link:focus-visible {
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold);
    outline: none;
}

@media (max-width: 1100px) {
    header nav ul.nav-titles {
        display: none;
    }
    header .site-nav-toggle {
        display: inline-flex;
    }
    header .site-nav-menu {
        top: 92px;
        right: 5%;
    }
    header .header-nav-block .site-nav-menu {
        top: 100%;
        right: 0;
        left: auto;
        margin-top: 10px;
        width: min(320px, calc(100vw - 10%));
    }
}

/* Ribbon nav titles beside the logo (active funnel pages) */
nav ul.nav-titles li a {
    font-family: 'Playfair Display', serif;
    text-transform: none;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: 700;
}

@media (max-width: 900px) {
    nav ul.nav-titles li a {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }
}

/* Page title (gold) above nav / menu controls — see `.header-nav-block` */
header .header-nav-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    gap: 6px;
    position: relative;
}

header .header-nav-block .ribbon-page-title {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: clamp(1.05rem, 2.2vw, 2.1rem);
    line-height: 1.15;
    white-space: normal;
    max-width: 100%;
    pointer-events: none;
    text-align: right;
}

header .header-nav-block nav {
    margin-left: 0;
}

header .header-nav-block .site-nav-toggle {
    margin-left: 0;
}

header .header-nav-block .site-nav-menu {
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 10px;
}

header .header-nav-block .header-basket-row {
    margin: 0;
    text-align: right;
}

header .header-nav-block .header-meta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-end;
    align-items: baseline;
    margin: 0;
}

header .header-nav-block .header-sign-in-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

header .header-nav-block .header-sign-in-link:hover,
header .header-nav-block .header-sign-in-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

header .header-nav-block .header-basket-link,
header .header-nav-block .header-orders-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

header .header-nav-block .header-basket-link:hover,
header .header-nav-block .header-basket-link:focus-visible,
header .header-nav-block .header-orders-link:hover,
header .header-nav-block .header-orders-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

header .header-basket-badge,
header .header-orders-badge,
header .header-wishlist-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.25);
    color: var(--gold);
    font-size: 0.8rem;
    line-height: 1.2;
}

header .header-nav-block .header-wishlist-link:hover,
header .header-nav-block .header-wishlist-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.basket-line-title-bar .basket-wishlist-badge {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.basket-wishlist-badge__hat {
    display: block;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.basket-wishlist-contact {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #fff;
    border-left: 3px solid var(--gold);
    font-size: 0.88rem;
    color: var(--midnight);
}

.basket-checkout-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.basket-line-actions {
    margin-top: 14px;
}

.basket-discard-btn {
    width: 100%;
    max-width: 280px;
}

/* Basket row chrome: midnight band above each pairing (`basket.html`). */
.basket-line-card.order-confirm-block {
    padding: 0;
    overflow: hidden;
}

.basket-line-title-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    background: var(--midnight);
    color: var(--white);
    padding: 12px 18px;
    margin: 0;
    border-radius: 0;
}

.basket-checkout-pick-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    user-select: none;
}

.basket-checkout-pick {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    accent-color: var(--gold);
}

.basket-checkout-pick:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.basket-line-card .basket-line-title-bar .basket-line-title {
    margin: 0;
    padding: 0;
    border-bottom: none;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.05rem, 2.8vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
}

.basket-line-card-body {
    padding: 18px 22px 22px;
}

@media (max-width: 520px) {
    .basket-line-card-body {
        padding: 14px 16px 18px;
    }

    .basket-line-title-bar {
        padding: 10px 14px;
    }
}

.basket-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: 6px 0 16px;
}

.basket-qty-label {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
}

.basket-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(10, 25, 47, 0.22);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
}

.basket-qty-btn {
    min-width: 44px;
    min-height: 44px;
    border: none;
    margin: 0;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--midnight);
    font-family: 'Montserrat', sans-serif;
}

.basket-qty-btn:hover,
.basket-qty-btn:focus-visible {
    background: rgba(201, 169, 96, 0.28);
    outline: none;
}

.basket-qty-value {
    min-width: 2.75rem;
    text-align: center;
    align-self: center;
    padding: 0 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.basket-grand-total {
    margin-top: 28px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.basket-grand-total-text {
    margin: 0;
    line-height: 1.5;
}

/* --- Account page (`account.html`) --- */
.account-page .account-page-main {
    padding-bottom: 72px;
}

.account-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.account-page .account-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: var(--midnight);
    margin: 0 0 12px;
}

.account-card-lead {
    margin-top: 0;
    margin-bottom: 16px;
}

.account-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
}

.account-order-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.account-order-item + .account-order-item {
    margin-top: 16px;
}

.account-order-item p {
    margin: 4px 0;
}

.account-order-meta {
    margin: 0;
    font-size: 0.9rem;
}

.account-order-detail-link {
    color: var(--midnight);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-order-detail-link:hover,
.account-order-detail-link:focus-visible {
    color: var(--gold);
    outline: none;
}

.account-muted {
    color: rgba(10, 25, 47, 0.72);
}

.account-order-error {
    color: #8b2942;
    font-weight: 600;
    margin: 0;
}

header .header-nav-block .header-account-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

header .header-nav-block .header-account-link:hover,
header .header-nav-block .header-account-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 768px) {
    .basket-discard-btn {
        max-width: none;
    }
    header .header-nav-block .header-basket-row {
        width: 100%;
        text-align: center;
    }
    header .header-nav-block .header-meta-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Sign-in in compact headers (e.g. `blessings.html`) without `.header-nav-block`. */
header nav ul li a.header-sign-in-link {
    color: var(--gold);
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header nav ul li a.header-sign-in-link:hover,
header nav ul li a.header-sign-in-link:focus-visible {
    text-decoration: underline;
    color: var(--gold);
    outline: none;
}

/* ==========================================================================
   2a. WISDOM PAGE - SECTION HAMBURGER NAV
   ========================================================================== */
.wisdom-page .midrash-ribbon {
    background: var(--midnight);
    color: var(--white);
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wisdom-page .midrash-title {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.35rem;
    text-align: center;
    line-height: 1.1;
}

.wisdom-page .midrash-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wisdom-page .wisdom-section-toggle {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(10, 25, 47, 0.35);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.wisdom-page .wisdom-section-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.wisdom-page .wisdom-section-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 0 auto;
}

.wisdom-page .wisdom-section-menu {
    position: absolute;
    top: 52px;
    right: 0;
    min-width: 280px;
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 14px;
    padding: 10px;
    display: none;
    z-index: 1200;
}

.wisdom-page .wisdom-section-menu.is-open {
    display: block;
}

.wisdom-page .wisdom-section-link {
    display: block;
    padding: 12px 12px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.35;
    border-radius: 10px;
}

.wisdom-page .wisdom-section-link:hover,
.wisdom-page .wisdom-section-link:focus-visible {
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold);
    outline: none;
}

@media (max-width: 900px) {
    .wisdom-page header {
        gap: 12px;
    }
    .wisdom-page nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .wisdom-page .midrash-ribbon {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 5%;
    }
    .wisdom-page .midrash-title {
        width: 100%;
        font-size: 1.15rem;
    }
}

/* Compensate for added midrash ribbon height on Wisdom page */
.wisdom-page .wisdom-hero {
    padding-top: 90px;
}

/* ==========================================================================
   3. HOME PAGE HERO
   ========================================================================== */
.hero {
    height: 100vh;
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* was: ../assets/images/Galil_view1.jpg */
    background: url('https://storage.googleapis.com/jerusalemsignt/images/Galil_view1.jpg') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero-content { position: relative; z-index: 10; }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 40px;
}

.cta-button {
    padding: 15px 40px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
}

.cta-button:hover { background: var(--gold); color: var(--midnight); }

/* ==========================================================================
   4. HOME PAGE FEATURED GRID
   ========================================================================== */
#featured { padding: 100px 0; background: var(--white); }

#featured .piece-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-item { flex: 1; text-align: left; }

.image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   5. HERITAGE PAGE SPECIFIC
   ========================================================================== */
.subpage header {
    background: var(--midnight);
    position: relative;
}

.heritage-page .container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
}

.heritage-page .container.narrow { max-width: 800px !important; }

.heritage-hero {
    background: var(--off-white);
    text-align: center;
    padding: 80px 5%;
}

.heritage-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--midnight);
    margin: 20px 0;
}

/* Missing Text Styles Added Here */
.label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #555;
    margin-top: 20px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.story-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 15px;
}

.story-block p { margin-bottom: 20px; line-height: 1.8; }

.scripture-callout {
    margin: 40px 0;
    padding: 30px;
    background: #f4f4f4;
    border-left: 4px solid var(--gold);
}

.verse-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.verse-reference {
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.heirloom-container { margin: 50px auto; max-width: 650px; text-align: center; }

.heirloom-photo {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.legacy-caption { font-style: italic; color: #777; margin-top: 15px; font-size: 0.9rem; }

/* ==========================================================================
   6. CRAFT & MISSION (The Dark & Gold Section)
   ========================================================================== */
.craft-details {
    background: var(--midnight) !important; /* Ensures the deep blue background */
    color: var(--white) !important;
    padding: 100px 5% !important;
    width: 100%;
}

.craft-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.craft-item h4 { 
    color: var(--gold); 
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.mission-callout {
    padding: 100px 5%;
    text-align: center;
    background: var(--white);
}

.mission-callout h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-blessing {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-top: 40px;
    font-style: italic;
}

/* ==========================================================================
   6b. CRAFT PAGE (Our Craft — scoped under .craft-page)
   ========================================================================== */
.craft-page .craft-intro {
    padding: 70px 5%;
    background: var(--white);
}

.craft-page .craft-intro .container.narrow {
    max-width: 800px;
    margin: 0 auto;
}

.craft-page .craft-intro p {
    font-size: 1.15rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.craft-page .craft-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    color: var(--midnight);
    text-align: center;
    margin-bottom: 14px;
}

.craft-page .craft-section-lead {
    text-align: center;
    color: #555;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.craft-page .craft-process {
    padding: 90px 5%;
    background: var(--off-white);
}

.craft-page .craft-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.craft-page .craft-process-card {
    background: var(--white);
    border: 1px solid rgba(10, 25, 47, 0.08);
    border-radius: 12px;
    padding: 26px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.craft-page .craft-process-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--midnight);
    margin-bottom: 12px;
}

.craft-page .craft-process-card .craft-card-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.craft-page .craft-process-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #444;
}

.craft-page .craft-deep {
    padding: 80px 5%;
}

.craft-page .craft-deep--muted {
    background: var(--off-white);
}

.craft-page .craft-deep .container.narrow {
    max-width: 800px;
    margin: 0 auto;
}

.craft-page .craft-deep h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.35);
}

.craft-page .craft-deep h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--midnight);
    margin: 28px 0 12px;
}

.craft-page .craft-deep h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 24px 0 12px;
}

.craft-page .craft-deep p,
.craft-page .craft-deep li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.craft-page .craft-deep ul {
    margin: 16px 0 16px 20px;
}

.craft-page .craft-callout {
    margin: 28px 0;
    padding: 22px 24px;
    background: rgba(10, 25, 47, 0.04);
    border-left: 4px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.65;
}

.craft-page .craft-callout.craft-callout--accent {
    background: rgba(197, 160, 89, 0.12);
    border-left-color: var(--midnight);
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
}

.craft-page .craft-scripture-ref {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--gold);
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
}

.craft-page .craft-torah-hebrew,
.craft-page .craft-olive-source-hebrew {
    margin: 0 0 4px;
    font-style: normal;
    font-family: 'Segoe UI', 'Arial Unicode MS', 'David', 'Times New Roman', serif;
    font-size: 1.12rem;
    line-height: 1.85;
    text-align: right;
}

.craft-page .craft-olive-source-hebrew {
    margin: 22px 0 6px;
}

.craft-page .craft-deep .craft-torah-translation {
    margin: 0 0 18px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #2c3544;
}

.craft-page .craft-hebrew-term {
    font-weight: 700;
    color: var(--midnight);
    background: rgba(10, 25, 47, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
}

.craft-page .craft-stat-grid {
    margin: 28px 0;
}

.craft-page .craft-stat-item {
    background: var(--white);
    border: 1px solid rgba(10, 25, 47, 0.1);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.65;
}

.craft-page .craft-gethsemane-place {
    margin: 0.35rem 0 1.5rem;
    font-size: 0.98rem;
    font-style: italic;
    color: #3d4a5c;
    line-height: 1.65;
}

.craft-page .craft-gethsemane-figure {
    margin: 0;
    padding: 0;
}

.craft-page .craft-gethsemane-figure img {
    width: 100%;
    max-width: min(920px, 100%);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(10, 25, 47, 0.14);
}

.craft-page .craft-gethsemane-figure figcaption {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    color: #555;
}

.craft-page .craft-gethsemane-figure figcaption a {
    color: var(--midnight);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.craft-page .craft-gethsemane-figure figcaption a:hover,
.craft-page .craft-gethsemane-figure figcaption a:focus-visible {
    color: #8b6b2a;
}

.craft-page .craft-video-section {
    padding: 90px 5%;
    background: var(--midnight);
    color: var(--white);
}

/* Final craft page video band (after light outro); same palette, subtle top edge from white section above */
.craft-page .craft-video-section--adopt {
    border-top: 1px solid rgba(197, 160, 89, 0.22);
    padding-top: 72px;
}

.craft-page .craft-video-section .craft-section-title {
    color: var(--white);
}

.craft-page .craft-video-section .craft-section-lead {
    color: rgba(255, 255, 255, 0.82);
}

.craft-page .craft-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.craft-page .craft-video-slot {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px dashed rgba(197, 160, 89, 0.45);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.craft-page .craft-video-slot--embed {
    grid-column: 1 / -1;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px;
    border-style: solid;
    border-color: rgba(197, 160, 89, 0.35);
    background: rgba(0, 0, 0, 0.25);
}

.craft-page .craft-video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #000;
}

.craft-page .craft-video-caption {
    margin: 12px 4px 4px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.craft-page .craft-outro {
    padding: 90px 5%;
    text-align: center;
    background: var(--white);
}

.craft-page .craft-outro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    color: var(--midnight);
    margin-bottom: 16px;
}

.craft-page .craft-outro p {
    max-width: 560px;
    margin: 0 auto 26px;
    line-height: 1.75;
    color: #555;
}

/* Heritage: compact link to craft page */
.heritage-craft-cta {
    padding: 60px 5%;
    background: var(--off-white);
    text-align: center;
}

.heritage-craft-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 14px;
}

.heritage-craft-cta p {
    max-width: 560px;
    margin: 0 auto 22px;
    line-height: 1.75;
    color: #444;
}

/* Gallery page: narrow craft teaser */
.collection-craft-teaser {
    padding: 28px 5%;
    background: var(--white);
    border-top: 1px solid rgba(10, 25, 47, 0.08);
    text-align: center;
}

.collection-craft-teaser a {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gold);
    text-decoration: none;
}

.collection-craft-teaser a:hover,
.collection-craft-teaser a:focus-visible {
    text-decoration: underline;
}

.collection-craft-teaser .container.narrow {
    max-width: 800px;
    margin: 0 auto;
}

.heritage-craft-cta .container.narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.main-footer {
    background: #050c18; /* Matches your current midnight theme */
    padding: 60px 5%;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centralizes all footer content */
    gap: 30px;
}

.footer-branding {
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures vertical alignment is centered */
    gap: 40px; /* Space between seal and tree */
}

.footer-logo, 
.footer-tree {
    height: 70px; /* Fixed height forces identical sizing */
    width: auto;   /* Maintains aspect ratio */
    filter: brightness(0) invert(1) opacity(0.5); /* Matches high-end aesthetic */
    transition: opacity 0.3s ease;
}
.footer-logo,
.footer-cohen {
    height: 70px; /* Fixed height forces identical sizing */
    width: auto;   /* Maintains aspect ratio */
    filter: brightness(0) invert(1) opacity(0.5); /* Matches high-end aesthetic */
    transition: opacity 0.3s ease;
}


.footer-logo:hover, 
.footer-tree:hover {
    opacity: 0.9;
}

.back-home {
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.footer-container p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }


/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    #featured .piece-grid, .craft-grid { flex-direction: column; }
    .hero h1 { font-size: 2.8rem; }
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    header .header-nav-block {
        align-items: center;
        width: 100%;
        margin-left: 0;
    }
    header .header-nav-block .ribbon-page-title {
        text-align: center;
    }
    nav ul li { margin: 0 10px; }
}





/* ==========================================================================
   COLLECTION PIECE LAYOUT (Side-by-Side)
   ========================================================================== */
.gallery {
    padding: 80px 0;
    background: var(--white);
}

.gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.piece-grid {
    display: flex; /* This is the magic line that moves text to the right */
    align-items: center; /* Centers text vertically against the image */
    justify-content: space-between;
    gap: 60px; /* Space between the photo and the description */
}

.piece-image {
    flex: 1.2; /* Gives the image a bit more room */
}

.piece-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
}

.piece-content {
    flex: 1; /* The description area */
    text-align: left;
}

/* Optional: Elegant styling for the headers in the description */
.piece-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--midnight);
    margin-bottom: 15px;
}

/* Mobile Fix: Stacks them vertically on phones */
@media (max-width: 768px) {
    .piece-grid {
        flex-direction: column;
        text-align: center;
    }
}



/* ==========================================================================
   WISDOM PAGE STYLES
   ========================================================================== */
.wisdom-hero {
    background: var(--midnight);
    color: var(--white);
    padding: 120px 5% 80px;
    text-align: center;
}

.wisdom-hero .translation {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 10px;
}

.posts-container {
    padding: 80px 5%;
    background: var(--off-white);
}

.wisdom-post {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 3px solid var(--gold);
}

.post-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.wisdom-post h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--midnight);
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}


.design-callout {
    background: #fdfaf3; /* A very light parchment color */
    border-left: 4px solid var(--gold);
    padding: 30px;
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--midnight);
    font-style: italic;
}

.design-callout p {
    margin: 0;
}


.pardes-list {
    list-style: none;
    padding-left: 0;
}

.pardes-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    display: grid; /* Use grid instead of flex for better control */
    grid-template-columns: 180px 1fr; /* This gives the left side 180px of space */
    align-items: baseline;
    gap: 20px;
}

.pardes-list li strong {
    font-family: 'Playfair Display', serif;
    color: var(--midnight);
    font-size: 1.1rem;
    line-height: 1.2;
    display: block; /* Ensures the name and (Interpretation) stay together */
}

/* ==========================================================================
   WISDOM LANDING — SUB-THEMES + ARTICLES GRID (read-only Pinterest funnel)
   Driven by content.json; #theme_sacred_blessings, #theme_biblical_metaphors, #theme_israel_tribes.
   The capture/wishlist surface (.priority-reservation-box, .priority-reservation-modal)
   used to live on this page; it now lives ONLY on pricing.html as a modal triggered
   by #pricing-add-basket — see the PRIORITY RESERVATION CAPTURE block below.
   ========================================================================== */
.insight-theme {
    margin: 0 auto 80px;
    max-width: 1180px;
    scroll-margin-top: 120px;
}

.insight-theme:last-of-type {
    margin-bottom: 0;
}

.subpage .insight-theme-header,
.insight-theme-header {
    /* Own navy band — overrides leaked global `header` / `.subpage header` nav chrome
       without inheriting midnight-on-midnight type from the site nav bar. */
    position: static;
    top: auto;
    width: auto;
    display: block;
    z-index: auto;
    background: var(--midnight);
    text-align: center;
    padding: 48px 24px;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    margin-bottom: 56px;
}

.insight-theme-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.insight-theme-title {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin: 0 0 14px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.insight-theme-description {
    max-width: 720px;
    margin: 0 auto;
    color: #f0e3bd;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Single-column stack: each card reads top-to-bottom, centered like legacy .wisdom-post. */
.articles-grid .wisdom-post {
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 120px;
}

.articles-grid .wisdom-post > h2 {
    margin-bottom: 18px;
}

.post-illustration {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 0 24px;
    background: #f7f1e3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Post 05 portrait art (1000×1500) — keep full image visible, centered, not full-bleed. */
#post_05_sacred_place_of_woman .post-illustration {
    width: min(100%, 320px);
    max-height: 420px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.articles-grid .wisdom-post .post-content {
    flex: 1 1 auto;
    margin-bottom: 24px;
}

/* ==========================================================================
   PRIORITY RESERVATION CAPTURE — wishlist funnel
   Markup currently lives only inside the pricing.html modal
   (.priority-reservation-modal). The .priority-reservation-box rule + its
   children are kept as a reusable capture-card surface so a future page can
   embed the same block inline without duplicating styles.
   ========================================================================== */
.priority-reservation-box {
    background: linear-gradient(180deg, #fdfaf3 0%, #f7efde 100%);
    border: 1px solid rgba(193, 154, 91, 0.35);
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    padding: 28px 26px 24px;
    position: relative;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.reservation-badge {
    display: inline-block;
    background: var(--midnight);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.priority-reservation-box h4 {
    font-family: 'Playfair Display', serif;
    color: var(--midnight);
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 12px;
}

.priority-reservation-box > p {
    font-size: 0.98rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 16px;
}

.gift-callout {
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--gold);
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--midnight);
    line-height: 1.55;
    border-radius: 4px;
    margin-bottom: 20px;
}

.gift-callout strong {
    color: var(--midnight);
}

.validation-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.res-input {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--midnight);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.res-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.25);
}

.res-submit-btn {
    width: 100%;
    padding: 14px 18px;
    background: var(--midnight);
    color: var(--gold);
    border: 1px solid var(--midnight);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.res-submit-btn:hover,
.res-submit-btn:focus-visible {
    background: #122036;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.res-submit-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.form-disclaimer {
    font-size: 0.78rem;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* === Priority Reservation Modal (pricing.html — #pricing-add-basket popup) === */
.priority-reservation-modal[hidden] {
    display: none;
}

.priority-reservation-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.priority-reservation-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
    animation: priority-reservation-fade-in 220ms ease-out;
}

.priority-reservation-modal__card {
    position: relative;
    width: min(540px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: transparent;
    border-radius: 8px;
    z-index: 1;
    animation: priority-reservation-slide-in 260ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.priority-reservation-modal__card .priority-reservation-box {
    margin: 0;
}

.priority-reservation-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    line-height: 1;
    font-size: 1.6rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--midnight);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease, transform 0.15s ease;
}

.priority-reservation-modal__close:hover,
.priority-reservation-modal__close:focus-visible {
    background: var(--gold);
    color: var(--midnight);
    transform: scale(1.06);
}

.priority-reservation-modal__close:focus-visible {
    outline: 2px solid var(--midnight);
    outline-offset: 2px;
}

@keyframes priority-reservation-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes priority-reservation-slide-in {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .priority-reservation-modal__backdrop,
    .priority-reservation-modal__card {
        animation: none;
    }
}

/* Lock body scroll while the modal is open (matched by JS toggling
   `data-priority-reservation-modal-open` on <body>). */
body[data-priority-reservation-modal-open="true"] {
    overflow: hidden;
}

/* Tablet — tighter spacing inside each theme */
@media (max-width: 992px) {
    .insight-theme {
        margin-bottom: 60px;
    }

    .subpage .insight-theme-header,
    .insight-theme-header {
        padding: 36px 18px;
        margin-bottom: 40px;
    }

    .articles-grid {
        gap: 32px;
    }

    .articles-grid .wisdom-post {
        padding: 28px 22px;
    }

    .post-illustration {
        max-height: 260px;
        margin-bottom: 20px;
    }

    .priority-reservation-box {
        padding: 22px 18px 20px;
    }

    .priority-reservation-box h4 {
        font-size: 1.2rem;
    }
}

/* Phone — tighter typography and full-bleed form controls */
@media (max-width: 480px) {
    .insight-theme-eyebrow {
        letter-spacing: 2.4px;
    }

    .insight-theme-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .insight-theme-description {
        font-size: 1.05rem;
    }

    .articles-grid .wisdom-post {
        padding: 22px 18px;
    }

    .post-illustration {
        max-height: 220px;
    }

    .reservation-badge {
        font-size: 0.68rem;
        letter-spacing: 2px;
    }

    .priority-reservation-box h4 {
        font-size: 1.1rem;
    }

    .res-submit-btn {
        font-size: 0.86rem;
        letter-spacing: 1.2px;
        padding: 13px 14px;
    }

    .priority-reservation-modal {
        padding: 12px;
    }

    .priority-reservation-modal__close {
        top: 6px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   EZER KENEGDO POST STYLING
   ========================================================================== */

.concept-split {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.concept-box {
    flex: 1;
    background: #f9f9f9;
    padding: 30px;
    border-bottom: 2px solid var(--gold);
}

.concept-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 15px;
}

.partnership-footer {
    text-align: center;
    padding: 40px;
    background: var(--midnight);
    color: var(--white);
    margin-top: 20px;
}

.partnership-footer h3 {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.partnership-footer p {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--white) !important;
}

/* Mobile: Stack the concept boxes */
@media (max-width: 768px) {
    .concept-split {
        flex-direction: column;
    }
}
/* ==========================================================================
   POST 07: NATURE & BAL TASHCHIT
   ========================================================================== */

.nature-callout {
    background: #f4f7f1; /* Soft natural green tint */
    border-left: 4px solid #5a6e4c; /* Olive green border */
    padding: 40px;
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: #2c3e2d;
    position: relative;
}

.nature-callout cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5a6e4c;
}

.olive-wisdom-box {
    margin: 40px 0;
    padding: 30px;
    background: var(--off-white);
    border: 1px solid #d4dccf;
}

.olive-wisdom-box h4 {
    color: #5a6e4c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.scripture-ref {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
/* ==========================================================================
   COLLECTION PACKAGE SETS (Frame + Box side-by-side)
   ========================================================================== */
.collection-sets {
    padding: 100px 0;
    background: var(--white);
}

.collection-sets .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.product-set {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image area is slightly wider than text */
    gap: 80px;
    align-items: center;
    margin-bottom: 150px;
    padding-bottom: 100px;
    border-bottom: 1px solid #eee;
}

/* Reverse layout for variety on the second set */
.product-set.inverse {
    grid-template-columns: 1fr 1.2fr;
}
.product-set.inverse .set-images {
    grid-column: 2;
}
.product-set.inverse .set-description {
    grid-column: 1;
    grid-row: 1;
}

/* Image Pairing Logic */
.set-images {
    display: flex;
    align-items: flex-end;
    position: relative;
}

.main-piece {
    width: 70%;
    height: auto;
    z-index: 2;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.1);
}

.package-piece {
    width: 50%;
    height: auto;
    margin-left: -20%; /* Creates the package "bundle" look */
    z-index: 1;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.15);
}

/* Set Description Typography */
.set-description .label {
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.set-description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--midnight);
    margin-bottom: 20px;
}

.packaging-note {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 2px solid var(--midnight);
}

.packaging-note strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* ==========================================================================
   CUSTOMIZATION GATE & PRICING
   ========================================================================== */
.customization-gate {
    margin-top: 40px;
    padding: 30px;
    background: #fdfaf3; /* Light parchment for the 'selection' zone */
    border: 1px solid #f1ece0;
}

.customization-gate h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.blessing-options {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.blessing-options li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.blessing-options li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.price-btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--midnight);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.price-btn:hover {
    background: var(--gold);
    color: var(--midnight);
    transform: translateY(-3px);
}
/* ==========================================================================
   COLLECTION GALLERY (Balanced Product & Package Layout)
   ========================================================================== */
.collection-gallery {
    padding: 100px 0;
    background: var(--white);
}

.collection-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* collection_new.html — grouped gallery parts + combinations band */
.collection-gallery-part {
    margin-bottom: 40px;
}

.collection-gallery-part + .collection-gallery-part {
    padding-top: 72px;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* In-page <header> blocks share the global `header` selector with site nav; force column stack + no overlay */
header.collection-part-intro {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: auto;
    padding: 0;
    gap: 0;
}

.collection-part-intro {
    max-width: 820px;
    margin: 0 auto 72px;
    text-align: center;
}

/* In-page section headers render on the midnight band painted by `.subpage header`
   (collection.html `<body class="subpage">`), so type uses the same high-luminosity
   gold/cream palette as the `--dark` variant for legibility on dark navy. */
.collection-part-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    color: #f3e0a8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    margin: 0 0 16px;
}

.collection-part-intro .collection-part-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #f0e3bd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    margin: 0;
}

.collection-part-intro .collection-part-lead strong {
    color: #ffffff;
    font-weight: 700;
}

.collection-part-intro .collection-part-lead em {
    color: #f5e6bf;
    font-style: italic;
}

/* Galilee olive intro: dark sanctuary band — adds the full-width band layout on top
   of the shared midnight typography above. Color tokens are inherited from base. */
.collection-part-intro.collection-part-intro--dark {
    max-width: none;
    width: 100%;
    margin: 0 0 72px;
    padding: 56px 40px;
    text-align: center;
    background: var(--midnight);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    box-sizing: border-box;
}

.collection-part-intro.collection-part-intro--dark h2 {
    margin: 0 auto 20px;
    max-width: 920px;
    width: 100%;
    writing-mode: horizontal-tb;
    text-align: center;
}

.collection-part-intro.collection-part-intro--dark .collection-part-lead {
    margin: 0 auto;
    max-width: 820px;
}

@media (max-width: 992px) {
    .collection-part-intro.collection-part-intro--dark {
        padding: 40px 24px;
        margin-bottom: 56px;
    }
}

.collection-combinations {
    margin-top: 48px;
    padding: 48px 40px;
    background: #fdfaf3;
    border-top: 3px solid var(--gold);
}

.collection-combinations h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--midnight);
    margin: 0 0 16px;
    text-align: center;
}

.collection-combinations .collection-combinations-lead {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.collection-combinations ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.collection-combinations li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #444;
    line-height: 1.5;
}

.collection-combinations li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.collection-combinations-sample {
    margin: 40px auto 0;
    padding: 0;
    max-width: 920px;
    text-align: center;
}

.collection-combinations-sample img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.collection-combinations-sample figcaption {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    font-style: italic;
}

@media (max-width: 992px) {
    .collection-combinations {
        padding: 40px 24px;
    }
}

/* Collection → pricing (linked from gallery foot; not in global header menu) */
.collection-pricing-cta {
    padding: clamp(56px, 10vw, 104px) 24px;
    background: linear-gradient(165deg, var(--midnight) 0%, #1a2233 48%, #121620 100%);
    text-align: center;
    border-top: 4px solid var(--gold);
}

.collection-pricing-cta .container {
    max-width: 720px;
}

.collection-pricing-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4.5vw, 2.85rem);
    color: #f3e0a8;
    margin: 0 0 16px;
    line-height: 1.2;
    font-weight: 700;
}

.collection-pricing-cta__lead {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin: 0 0 clamp(28px, 5vw, 40px);
}

.collection-pricing-cta__button {
    display: inline-block;
    padding: 1.15rem clamp(1.75rem, 5vw, 2.85rem);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.98rem, 2.6vw, 1.22rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--midnight);
    background: linear-gradient(180deg, #f3e0a8 0%, var(--gold) 45%, #c9a227 100%);
    border: 2px solid rgba(243, 224, 168, 0.9);
    border-radius: 6px;
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.28s cubic-bezier(0.2, 0.6, 0.3, 1), box-shadow 0.28s ease;
}

.collection-pricing-cta__button:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.48),
        0 0 36px rgba(243, 224, 168, 0.22);
    color: var(--midnight);
}

.collection-pricing-cta__button:focus-visible {
    outline: 3px solid #f3e0a8;
    outline-offset: 5px;
}

@media (max-width: 768px) {
    .collection-pricing-cta__button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Last row before combinations band: avoid double rule with .collection-combinations border */
.collection-gallery .collection-gallery-part:last-of-type .gallery-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Deep links from pricing thumbnails: scroll target clears sticky header */
.collection-gallery [id^="collection-box-"],
.collection-gallery [id^="collection-piece-"] {
    scroll-margin-top: min(120px, 20vh);
}

.gallery-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image area is slightly wider than text */
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 150px;
    padding-bottom: 100px;
    border-bottom: 1px solid #eee;
}

/* Alternating layout for variety */
.gallery-item.inverse {
    direction: rtl; 
}
.gallery-item.inverse .gallery-info {
    direction: ltr;
}

/* Side-by-Side Large Images */
.gallery-visuals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-bundle {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Forces equal width for Frame and Box */
    gap: 20px;
}

.gallery-main, .gallery-box {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Acacia heritage row: Negev hero + paired Acacia smallii botanical refs + Ark illustration in copy */
.gallery-acacia-botanical {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-acacia-negev {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.gallery-acacia-smallii-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.gallery-acacia-smallii {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.gallery-ark-figure {
    margin: 1.5rem 0 1rem;
    padding: 0;
}

.gallery-ark-figure img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.gallery-ark-figure-caption {
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #555;
    font-style: italic;
    text-align: center;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-ark-reflection {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #333;
    margin: 0 0 1rem;
}

.gallery-ark-scripture {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem 1rem 1.25rem;
    border-left: 4px solid var(--gold);
    background: #f9f6ef;
}

.gallery-ark-scripture p {
    margin: 0 0 0.5rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--midnight);
    font-style: italic;
}

.gallery-ark-scripture footer {
    font-size: 0.85rem;
    color: #666;
    font-style: normal;
}

/* Certificate-of-authenticity section: Sofer video beside parchment still */
.gallery-authenticity-video {
    margin-top: 8px;
    width: 100%;
}

.gallery-authenticity-video .package-bundle > .gallery-authenticity-media-col {
    min-width: 0;
}

.gallery-authenticity-player {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.package-caption {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-top: 10px;
}

/* Text and Selection Gate Information */
.gallery-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--midnight);
    margin: 0 0 25px;
}

.gallery-info .gallery-biblical-note {
    display: block;
    margin: 1rem 0;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.selection-gate {
    margin-top: 40px;
    padding: 35px;
    background: #fdfaf3; /* Light parchment tint */
    border-top: 3px solid var(--gold);
}

.selection-gate ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.selection-gate li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #444;
}

.selection-gate li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.price-link {
    display: inline-block;
    padding: 18px 45px;
    background: var(--midnight);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.price-link:hover {
    background: var(--gold);
    color: var(--midnight);
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .gallery-item, .gallery-item.inverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }
    .package-bundle {
        grid-template-columns: 1fr; /* Stacks images on small screens */
    }
    .gallery-acacia-smallii-pair {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRICING 
   ========================================================================== */




.bespoke-builder { padding: 100px 0; background: #fff; }
.builder-grid { display: grid; grid-template-columns: 1fr 350px; gap: 60px; align-items: start; }

.step-box { margin-bottom: 50px; }
.step-box h3 { font-family: 'Playfair Display', serif; margin-bottom: 20px; font-size: 1.2rem; border-bottom: 1px solid #eee; padding-bottom: 10px; }

.radio-card {
    display: block;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.radio-card input { display: none; }
.radio-card:has(input:checked) { border-color: var(--gold); background: #fdfaf3; }

.card-content strong { display: block; font-size: 1rem; color: var(--midnight); }
.card-content span { font-size: 0.85rem; color: #777; }

.pricing-combination-section .radio-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

.pricing-combination-section .pricing-option-thumb-wrap {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 5px;
    overflow: hidden;
    background: #ebe6dc;
    align-self: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.pricing-combination-section .pricing-option-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pricing-combination-section .pricing-option-thumb.pricing-option-thumb--svg {
    object-fit: contain;
    padding: 10px;
    background: #fdfaf3;
}

.pricing-combination-section .pricing-option-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    line-height: 0;
}

.pricing-combination-section .pricing-option-thumb-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.pricing-combination-section .card-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 420px) {
    .pricing-combination-section .radio-card {
        gap: 12px;
        padding: 14px;
    }

    .pricing-combination-section .pricing-option-thumb-wrap {
        flex: 0 0 76px;
        width: 76px;
        height: 76px;
    }
}

.builder-summary { position: sticky; top: 100px; }
.summary-card { background: var(--midnight); color: #fff; padding: 40px; }
.summary-card h3 { color: var(--gold); margin-bottom: 20px; }
.total-box { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; padding-top: 20px; }
.order-btn { width: 100%; background: var(--gold); color: #fff; border: none; padding: 15px; text-transform: uppercase; font-weight: 700; margin-top: 20px; cursor: pointer; }
.summary-card .order-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; font: inherit; cursor: pointer; }

.pricing-summary-note {
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    margin: -8px 0 18px;
}
.summary-card #summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.summary-reset-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid rgba(243, 224, 168, 0.45);
    border-radius: 4px;
    color: rgba(243, 224, 168, 0.95);
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.summary-reset-btn:hover,
.summary-reset-btn:focus-visible {
    background: rgba(243, 224, 168, 0.1);
    border-color: var(--gold);
    color: #f3e0a8;
    outline: none;
}
.summary-card #summary-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.summary-card #summary-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Two-tier summary rows render their own state icon — suppress the legacy gold bullet for them. */
.summary-card #summary-list li.summary-line {
    padding-left: 0;
}

.summary-card #summary-list li.summary-line::before {
    content: none;
}

.summary-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.summary-line__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

.summary-line--done .summary-line__icon {
    background: var(--gold);
    color: var(--midnight);
}

.summary-line--default .summary-line__icon {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.summary-line--pending .summary-line__icon {
    background: #c0392b;
    color: #fff;
}

.summary-line__text {
    flex: 1 1 auto;
    line-height: 1.45;
}

.summary-line__suffix {
    color: rgba(243, 224, 168, 0.7);
    font-style: italic;
    font-size: 0.82rem;
    margin-left: 4px;
}

.summary-line__cta {
    display: inline-block;
    margin-top: 6px;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
    font-size: 0.88rem;
}

.summary-line__cta:hover,
.summary-line__cta:focus-visible {
    color: #f3e0a8;
    outline: none;
}

.step-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
}

.step-box__badge:empty {
    display: none;
}

.step-box__badge--done {
    background: var(--gold);
    color: var(--midnight);
}

.step-box__badge--default {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.step-box__badge--pending {
    background: #c0392b;
    color: #fff;
}

@media (max-width: 992px) {
    .builder-grid { grid-template-columns: 1fr; }
    .builder-summary { position: static; }
}

.summary-card .order-btn--secondary {
    margin-top: 14px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.summary-card .order-btn--secondary:hover {
    background: rgba(243, 224, 168, 0.12);
    color: #f3e0a8;
}

/**
 * Guest-only post-add confirmation inside the summary card. Painted white-on-midnight to
 * read as a friendly notification; revealed by `showGuestSavedNote(false)` after a
 * successful guest add-to-basket. Signed-in visitors never see this — the basket badge
 * increment in the header is sufficient feedback for an account-bound basket.
 */
.summary-guest-saved-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: #fff;
    color: var(--midnight);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: left;
}

.summary-guest-saved-note[hidden] {
    display: none;
}

.summary-card__hint {
    margin-top: 16px;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.85;
}

.summary-card__hint a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pricing-combination-section #blessings-edition {
    scroll-margin-top: min(120px, 22vh);
}

.pricing-blessing-gallery-note:not([hidden]) {
    font-size: 0.88rem;
    color: #3a3428;
    line-height: 1.5;
    margin: -4px 0 14px;
    padding: 12px 14px;
    background: rgba(243, 224, 168, 0.25);
    border-left: 4px solid var(--gold);
}

.pricing-blessing-curate-requirement {
    font-size: 0.82rem;
    color: #443e30;
    line-height: 1.45;
    margin: 0 0 14px;
    max-width: 52rem;
}

#pricing-add-basket[disabled],
#pricing-add-basket[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.summary-card .order-btn[aria-disabled="true"],
.summary-card .order-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.pricing-traditional-verse-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--gold);
    color: var(--midnight);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-traditional-verse-cta[hidden] {
    display: none;
}

.pricing-traditional-verse-cta:hover,
.pricing-traditional-verse-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    outline: none;
}

.pricing-traditional-verse-cta--needed {
    animation: pricing-traditional-verse-cta-pulse 2.4s ease-in-out infinite;
}

@keyframes pricing-traditional-verse-cta-pulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
    50%      { box-shadow: 0 0 0 6px rgba(243, 224, 168, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-traditional-verse-cta--needed { animation: none; }
}

.pricing-traditional-verse-status {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(243, 224, 168, 0.22);
    border-left: 4px solid var(--gold);
    font-size: 0.86rem;
    color: #2c2a22;
    line-height: 1.45;
}

.pricing-traditional-verse-status[hidden] {
    display: none;
}

.blessings-tap-instructions {
    max-width: 720px;
    margin: 0 auto 36px;
    padding: 18px 24px;
    background: var(--midnight);
    color: #f0e3bd;
    border-left: 6px solid var(--gold);
    border-radius: 6px;
    text-align: center;
}

.blessings-tap-instructions__title {
    margin: 0 0 6px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #f3e0a8;
}

.blessings-tap-instructions__body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #f0e3bd;
}

.blessings-tap-instructions--error {
    border-left-color: #c0392b;
}

.blessings-tap-instructions--error .blessings-tap-instructions__title {
    color: #f8d4cf;
}

.blessing-frame-confirm {
    display: none;
}

.blessing-frame input:checked + .frame-inner .blessing-frame-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px auto 4px;
    padding: 12px 22px;
    background: var(--gold);
    color: var(--midnight);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
}

.blessing-frame input:checked + .frame-inner .blessing-frame-confirm:hover,
.blessing-frame input:checked + .frame-inner .blessing-frame-confirm:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    outline: none;
}

.blessing-frame input:checked + .frame-inner .blessing-frame-confirm:focus-visible {
    box-shadow: 0 0 0 3px var(--midnight), 0 0 0 6px var(--gold);
}

.pricing-order-submit {
    padding: 72px 0 96px;
    background: linear-gradient(180deg, #f9f9f9 0%, #fff 100%);
    border-top: 1px solid #e8e8e8;
}

.pricing-order-submit__inner {
    max-width: 640px;
}

.pricing-order-form .pricing-order-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 20px 24px;
    margin: 0 0 24px;
    background: #fff;
}

.pricing-order-form legend {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--midnight);
    padding: 0 8px;
}

.pricing-order-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 12px;
}

.pricing-order-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
}

.pricing-order-field--wide {
    grid-column: 1 / -1;
}

.pricing-order-field input,
.pricing-order-field select {
    font: inherit;
    font-weight: 400;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
}

.checkout-country-select {
    cursor: pointer;
    line-height: 1.35;
    min-height: 42px;
}

.pricing-order-field input:focus-visible,
.pricing-order-field select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.pricing-order-pay-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.pricing-order-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.pricing-order-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px;
}

.checkout-prefill-note {
    margin-bottom: 22px;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(30, 58, 95, 0.06);
}

.pricing-order-form__submit {
    width: 100%;
    max-width: 420px;
}

.order-confirm-section {
    padding: 52px 0 80px;
    background: #fff;
}

.order-confirm-section .container {
    max-width: 720px;
}

.order-confirm-block {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 22px;
    background: #fdfcf9;
}

.order-confirm-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--midnight);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.order-confirm-dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.order-confirm-dl div {
    display: grid;
    gap: 4px;
}

.order-confirm-dl dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    font-weight: 700;
}

.order-confirm-dl dd {
    margin: 0;
    font-size: 0.98rem;
    color: #222;
    line-height: 1.5;
}

.order-confirm-empty {
    padding: 48px 24px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.order-confirm-empty p {
    color: #555;
    margin-bottom: 20px;
}

.order-confirm-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.order-confirm-actions .order-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.order-confirm-actions--stack {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
}

.order-confirm-actions--stack .order-btn,
.order-confirm-actions--stack .order-confirm-actions__link {
    width: 100%;
    box-sizing: border-box;
}

.order-confirm-actions__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.contact-payment-followup:not([hidden]) {
    margin-bottom: 14px;
}

.order-confirm-meta {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin: 8px 0 0;
}

@media (max-width: 600px) {
    .pricing-order-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   		BLESSINGS

   ========================================================================== */


/* Container & Header */
.blessings-selection {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--midnight);
    margin: 10px 0;
}

/* Grid Layout */
.blessings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blessing Card Styling */
.blessing-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.blessing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.card-inner {
    border: 1px solid #e0e0e0;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    background: #fff;
}

/* Hover & Selected States */
.blessing-card:hover .card-inner {
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.blessing-card input[type="radio"]:checked + .card-inner {
    border-color: var(--gold);
    background-color: #fdfaf3; /* Light parchment tint */
}

/* Custom Radio Indicator */
.radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    position: relative;
}

.blessing-card input[type="radio"]:checked + .card-inner .radio-indicator {
    border-color: var(--gold);
}

.blessing-card input[type="radio"]:checked + .card-inner .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

/* Text Styling within Cards */
.blessing-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 15px;
}

.hebrew {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    direction: rtl;
}

.english {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

.price-tag {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--gold);
}

/* Custom Option Highlight */
.custom-option .card-inner {
    border-style: dashed;
    border-width: 2px;
}

@media (max-width: 768px) {
    .blessings-grid {
        grid-template-columns: 1fr;
    }
}
/* Gallery Container */
.blessings-gallery {
    background: var(--off-white);
    padding: 100px 5%;
}

/* Informational funnel page (blessings-gallery.html — read-only showcase) */
.blessings-gallery-page .heritage-hero .golden-verse {
    margin-top: 28px;
}

.blessings-gallery-page .heritage-hero .verse-he,
.blessings-gallery-page .heritage-hero .verse-en {
    color: var(--gold);
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
}

.blessings-showcase {
    background: var(--off-white);
    padding: 72px 5% 96px;
}

.blessings-showcase #blessings-curated,
.blessings-showcase #blessings-cohanim {
    scroll-margin-top: min(120px, 22vh);
}

.blessings-showcase__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--midnight);
    margin: 12px 0 0;
}

.blessings-showcase__lead {
    color: #666;
}

.blessing-showcase {
    position: relative;
}

.blessing-showcase .frame-inner {
    height: 100%;
}

.blessing-showcase:hover .frame-inner {
    transform: translateY(-5px);
    border-color: var(--gold);
}

@media (min-width: 700px) {
    .blessing-showcase--cohanim-span {
        grid-column: 1 / -1;
    }
}

.blessings-gallery-outro {
    background: var(--midnight);
    color: var(--white);
    padding: 72px 5%;
    text-align: center;
}

.blessings-gallery-outro h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin: 0 0 14px;
}

.blessings-gallery-outro p {
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.blessings-gallery-outro .cta-button {
    margin: 0 8px 12px;
}

.blessings-gallery-outro .cta-button--secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.blessings-gallery-outro .cta-button--secondary:hover,
.blessings-gallery-outro .cta-button--secondary:focus-visible {
    background: var(--gold);
    color: var(--midnight);
}

/* Custom inscription band (below curated verses grid) */
.blessings-own-text {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 3px solid var(--gold);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.blessings-own-text__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    color: var(--midnight);
    text-align: center;
    margin: 0 0 14px;
}

.blessings-own-text__lead {
    text-align: center;
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 36px;
}

.blessings-own-text__lead a {
    color: var(--midnight);
    font-weight: 700;
    text-underline-offset: 3px;
}

/* Deep links into blessings page (pricing thumbnails → #blessings-*) */
.blessings-gallery #blessings-curated,
.blessings-gallery #blessings-cohanim,
section#blessings-custom {
    scroll-margin-top: min(120px, 22vh);
}

.blessings-grid--single {
    grid-template-columns: minmax(280px, 560px);
    justify-content: center;
}

.blessing-icon--seal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blessing-icon--seal img {
    width: min(140px, 42vw);
    height: auto;
    max-height: 160px;
    object-fit: contain;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.instruction-text {
    max-width: 600px;
    margin: 20px auto;
    font-style: italic;
    color: #666;
}

/* The Blessing Grid */
.blessings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Blessing Frame */
.blessing-frame {
    cursor: pointer;
    position: relative;
}

.blessing-frame input {
    position: absolute;
    opacity: 0;
}

.frame-inner {
    background: var(--white);
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.blessing-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
    opacity: 0.7;
    transition: 0.3s;
}

/* Hover & Selected States */
.blessing-frame:hover .frame-inner {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.blessing-frame input:checked + .frame-inner {
    border: 2px solid var(--gold);
    background: #fdfaf3; /* Light parchment tint */
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.1);
}

.blessing-frame input:checked + .frame-inner .blessing-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Text Typography */
.text-group h3 {
    font-family: 'Playfair Display', serif;
    color: var(--midnight);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hebrew {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.english {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

.text-group .custom-note {
    font-size: 1rem;
    color: var(--midnight);
    font-style: normal;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.45;
}

/* Custom indicator at the bottom of the card */
.selection-indicator {
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-top: auto;
    padding-top: 20px;
    position: relative;
}

.blessing-frame input:checked + .frame-inner .selection-indicator {
    background: var(--gold);
    border-color: var(--gold);
}

/* Cohanim card: CohenKlaf image right, verse + icon left */
@media (min-width: 700px) {
    .blessing-frame--cohanim-span {
        grid-column: 1 / -1;
    }
}

.frame-inner.frame-inner--cohanim {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 28px 32px;
}

.cohanim-klaf-photo {
    flex: 0 0 min(260px, 34vw);
    max-width: 280px;
    margin: 0;
}

.cohanim-klaf-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.cohanim-card-main {
    flex: 1;
    min-width: min(100%, 260px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.frame-inner--cohanim .cohanim-card-main .text-group {
    width: 100%;
}

.frame-inner--cohanim .cohanim-card-main .selection-indicator {
    align-self: center;
}

.frame-inner--cohanim .blessing-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    align-self: center;
}

@media (max-width: 640px) {
    .frame-inner.frame-inner--cohanim {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cohanim-klaf-photo {
        flex: 0 0 auto;
        max-width: 320px;
        width: 100%;
    }

    .cohanim-card-main {
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

.gallery-header .hebrew-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.golden-verse {
    margin: 25px 0;
}

.verse-he {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    direction: rtl;
}

.verse-en {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 1px;
}

.instruction-text {
    max-width: 600px;
    margin: 20px auto 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7); /* צבע טקסט בהיר על רקע כחול */
}


/* ==========================================================================
   BLESSINGS - TRIBES
   ========================================================================== */



/* Specific styling for the Tribe posts in Wisdom style */
.tribe-icon-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.wisdom-tribe-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.tribe-post .design-callout {
    border-left: 3px solid var(--gold);
    background: rgba(197, 160, 89, 0.05);
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.tribes-theme h1 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
}

/* ==========================================================================
   RESPONSIVE BASELINE (MOBILE/TABLET) — PRIMARY TARGET: ≤992px
   ========================================================================== */
@media (max-width: 992px) {
    body {
        line-height: 1.7;
        text-rendering: optimizeLegibility;
    }

    /* Prevent horizontal overflow from long words/URLs */
    p, li, a, h1, h2, h3, h4, blockquote, .post-content {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* Header readability & touch targets (keep existing behavior) */
    header {
        padding: 18px 5%;
        gap: 12px;
    }

    .logo img, .nav-logo {
        width: 180px !important;
        max-width: 60vw;
    }

    nav ul li a {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    header .site-nav-toggle {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    header .site-nav-menu {
        top: 92px;
        right: 5%;
        left: 5%;
        min-width: 0;
        width: auto;
    }

    header .header-nav-block .site-nav-menu {
        top: 100%;
        right: 0;
        left: auto;
        width: min(320px, calc(100vw - 10%));
        margin-top: 10px;
    }

    header .site-nav-link {
        padding: 14px 14px;
        font-size: 1.05rem;
    }

    /* Hero typography */
    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.4rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-bottom: 28px;
        padding: 0 14px;
    }

    .cta-button {
        display: inline-block;
        padding: 14px 26px;
    }

    /* Large headings that are too dominant on mobile/tablet */
    .heritage-hero h1 {
        font-size: clamp(2.1rem, 6vw, 3rem);
    }

    .mission-callout h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .final-blessing {
        font-size: clamp(1.35rem, 5vw, 1.9rem);
    }

    .tribes-theme h1 {
        font-size: clamp(2.1rem, 6vw, 3rem);
    }

    /* Featured / craft spacing */
    #featured {
        padding: 70px 0;
    }

    .craft-details {
        padding: 70px 5% !important;
    }

    .craft-page .craft-process {
        padding: 70px 5%;
    }

    .craft-page .craft-intro {
        padding: 56px 5%;
    }

    .craft-page .craft-deep {
        padding: 56px 5%;
    }

    .craft-page .craft-video-section {
        padding: 70px 5%;
    }

    .craft-page .craft-video-section--adopt {
        padding-top: 56px;
    }

    .craft-page .craft-outro {
        padding: 70px 5%;
    }

    .craft-page .craft-section-title {
        font-size: clamp(1.65rem, 5vw, 2.1rem);
    }

    .heritage-craft-cta {
        padding: 48px 5%;
    }

    .mission-callout {
        padding: 70px 5%;
    }

    /* Wisdom readability */
    .wisdom-hero {
        padding: 110px 5% 60px;
    }

    .wisdom-hero .translation {
        font-size: 1.15rem;
    }

    .posts-container {
        padding: 60px 5%;
    }

    .wisdom-post {
        padding: 28px;
        margin: 0 auto 34px;
    }

    .wisdom-post h2 {
        font-size: clamp(1.55rem, 4.6vw, 2.1rem);
        margin-bottom: 16px;
    }

    .post-content p {
        font-size: 1.05rem;
    }

    .pardes-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Collection/gallery spacing */
    .collection-gallery,
    .collection-sets {
        padding: 70px 0;
    }

    .gallery-item {
        margin-bottom: 90px;
        padding-bottom: 60px;
        gap: 40px;
    }

    .gallery-info h2 {
        font-size: clamp(1.7rem, 5.5vw, 2.3rem);
    }

    .selection-gate {
        padding: 24px;
    }

    /* Blessings cards + big icons */
    .blessings-gallery {
        padding: 70px 5%;
    }

    .blessing-icon {
        width: 140px;
        height: 140px;
    }

    .verse-he,
    .verse-en {
        font-size: clamp(1.1rem, 4.4vw, 1.6rem);
    }
}

@media (max-width: 768px) {
    /* Tighten grids and reduce excessive gaps on phones */
    #featured .piece-grid {
        gap: 26px;
    }

    .footer-branding {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-logo,
    .footer-tree,
    .footer-cohen {
        height: 58px;
    }
}

/* Catalog admin (`admin.html` — Flask-only, not in public nav) */
.admin-page {
    background: var(--midnight, #0d1b2a);
    color: #f5f0e6;
    min-height: 100vh;
}
.admin-page__header {
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}
.admin-page__header h1 {
    font-family: "Playfair Display", serif;
    color: var(--gold, #d4af37);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 0.5rem;
}
.admin-page__meta {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}
.admin-page__main {
    padding: 1.5rem 5% 3rem;
    max-width: 1100px;
    margin: 0 auto;
}
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.admin-tab {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold, #d4af37);
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.admin-tab--active {
    background: rgba(212, 175, 55, 0.15);
}
.admin-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.admin-card h2,
.admin-card h3 {
    color: var(--gold, #d4af37);
    margin-top: 0;
}
.admin-badge {
    font-size: 0.7rem;
    background: var(--gold, #d4af37);
    color: var(--midnight, #0d1b2a);
    padding: 0.15rem 0.4rem;
    margin-left: 0.5rem;
}
.admin-cost-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
}
.admin-field {
    display: block;
    margin: 0.75rem 0;
    font-size: 0.85rem;
}
.admin-field input,
.admin-field select {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-top: 0.35rem;
    padding: 0.5rem;
    background: #1a2838;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #fff;
}
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.admin-table th,
.admin-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.4rem;
    text-align: left;
}
.admin-link-btn {
    background: none;
    border: none;
    color: var(--gold, #d4af37);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}
.admin-error {
    color: #f88;
    font-weight: 600;
}
.header-admin-link,
header .header-admin-link {
    color: var(--gold, #d4af37);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}
.header-admin-link[hidden],
.site-nav-link--admin[hidden] {
    display: none !important;
}
.site-nav-link--admin {
    color: var(--gold, #d4af37) !important;
}
.account-card--admin {
    border-color: rgba(212, 175, 55, 0.55);
}
.admin-line-composer {
    margin: 1rem 0;
}
.admin-line-add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 0.75rem;
}
.admin-line-add-row .admin-field {
    margin: 0;
    flex: 1 1 140px;
    min-width: 120px;
}
.admin-line-add-row .admin-field input,
.admin-line-add-row .admin-field select {
    max-width: none;
}
.admin-line-table {
    margin-top: 0.5rem;
}
.admin-line-type-sku {
    color: #9ec9ff;
}
.admin-line-type-kit {
    color: #c9a86a;
}
@media (max-width: 768px) {
    .admin-table {
        font-size: 0.75rem;
    }
    .admin-actions .order-btn {
        width: 100%;
    }
}




