/* =========================================================
   BRANDI ELISE SZEKER — HOMEPAGE CUSTOM STYLES (v6 — SCOPED)
   Updated: Film grain scoped to homepage only — no longer bleeds onto shop pages
   ========================================================= */

/* ---------- 1. GLOBAL TOKENS ---------- */
:root {
    --brandi-blood: #961b1e;
    --brandi-blood-deep: #6b1214;
    --brandi-gold: #c0894c;
    --brandi-gold-soft: #d9a872;
    --brandi-ink: #2a2a2a;
    --brandi-ink-dark: #0d0a0a;
    --brandi-bone: #d8c8b4;
    --brandi-whisper: rgba(216, 200, 180, 0.7);
    --brandi-line: rgba(192, 137, 76, 0.18);
}

/* ---------- 2. SITE-WIDE EFFECTS ---------- */

html { scroll-behavior: smooth; }

/* Film grain — HOMEPAGE ONLY (won't bleed onto shop, blog, or other pages) */
body.home::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. REUSABLE TYPOGRAPHY ---------- */

.brandi-eyebrow .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brandi-gold);
}

.brandi-section-title .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    color: var(--brandi-bone);
}
.brandi-section-title .elementor-heading-title em,
.brandi-section-title .elementor-heading-title .accent {
    color: var(--brandi-gold);
    font-style: normal;
}

.brandi-ornament .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--brandi-gold);
    opacity: 0.7;
    margin: 16px 0;
}

.brandi-lede,
.brandi-lede p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--brandi-whisper);
    font-style: italic;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 4. NAVIGATION ---------- */

.brandi-nav {
    backdrop-filter: blur(2px);
    transition: background 0.3s ease, padding 0.3s ease;
}

.brandi-nav-link .elementor-nav-menu li a {
    position: relative;
    transition: color 0.3s ease;
}
.brandi-nav-link .elementor-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--brandi-gold);
    transition: width 0.3s ease, left 0.3s ease;
}
.brandi-nav-link .elementor-nav-menu li a:hover::after {
    width: 100%;
    left: 0;
}

/* ---------- 5. HERO SECTION ---------- */

.brandi-hero-eyebrow {
    text-align: center;
}
.brandi-hero-eyebrow .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brandi-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.brandi-hero-eyebrow .elementor-heading-title::before,
.brandi-hero-eyebrow .elementor-heading-title::after {
    content: '✦';
    color: var(--brandi-gold-soft);
    opacity: 0.7;
    font-size: 0.9em;
    line-height: 1;
}

.brandi-hero-headline .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.brandi-hero-headline .elementor-heading-title em,
.brandi-hero-headline .elementor-heading-title .accent {
    color: var(--brandi-gold);
    font-style: normal;
}

.brandi-hero-sub,
.brandi-hero-sub p {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.brandi-scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: brandi-bob 2.5s ease-in-out infinite;
}
@keyframes brandi-bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- 6. BUTTONS ---------- */

.brandi-btn .elementor-button {
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}
.brandi-btn .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brandi-gold);
    transition: left 0.4s ease;
    z-index: -1;
}
.brandi-btn .elementor-button:hover::before {
    left: 0;
}
.brandi-btn .elementor-button:hover {
    color: var(--brandi-ink-dark) !important;
}
.brandi-btn .elementor-button-content-wrapper,
.brandi-btn .elementor-button-text,
.brandi-btn .elementor-button-icon {
    position: relative;
    z-index: 2;
}

.brandi-btn-primary .elementor-button::before {
    background: var(--brandi-blood-deep);
}
.brandi-btn-primary .elementor-button:hover {
    color: var(--brandi-bone) !important;
}

/* ---------- 7. FEATURED SERIES — book cards ---------- */

.brandi-book-cover {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    display: block;
}

.brandi-book-cover .elementor-widget-container,
.brandi-book-cover .elementor-image,
.brandi-book-cover a,
.brandi-book-cover img {
    border: 1px solid var(--brandi-line) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(192, 137, 76, 0.05) !important;
    transition: box-shadow 0.5s ease, transform 0.5s ease !important;
}

.brandi-book-cover:hover {
    transform: translateY(-8px) !important;
}

.brandi-book-cover:hover .elementor-widget-container,
.brandi-book-cover:hover .elementor-image,
.brandi-book-cover:hover a,
.brandi-book-cover:hover img {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(150, 27, 30, 0.6) !important;
}

.brandi-book-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.brandi-book-tag .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--brandi-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.brandi-book-title .elementor-heading-title {
    font-family: 'LHFEncore Inset', 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: 26px;
    color: var(--brandi-bone);
    line-height: 1.2;
    margin-bottom: 12px;
}

.brandi-book-tagline,
.brandi-book-tagline p {
    font-size: 14px;
    color: var(--brandi-whisper);
    font-style: italic;
    margin-bottom: 20px;
}

.brandi-buy-btn .elementor-button {
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-whisper) !important;
    background: transparent !important;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 10px 16px;
}
.brandi-buy-btn .elementor-button:hover {
    border-color: var(--brandi-gold) !important;
    color: var(--brandi-gold) !important;
}

/* ---------- 8. ABOUT SECTION ---------- */

.brandi-about-images {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
}

.brandi-author-main {
    position: absolute !important;
    inset: 0 25% 15% 0;
    z-index: 1;
}
.brandi-author-main .elementor-widget-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--brandi-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.brandi-author-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brandi-author-secondary {
    position: absolute !important;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 2;
}
.brandi-author-secondary .elementor-widget-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 4px solid var(--brandi-ink-dark);
    box-shadow:
        0 0 0 1px var(--brandi-line),
        0 30px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.brandi-author-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brandi-about-images:hover .brandi-author-main .elementor-widget-container,
.brandi-author-main:hover .elementor-widget-container {
    transform: translate(-10px, -10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.85),
        0 0 30px rgba(150, 27, 30, 0.3);
}
.brandi-about-images:hover .brandi-author-secondary .elementor-widget-container,
.brandi-author-secondary:hover .elementor-widget-container {
    transform: translate(10px, 10px);
    box-shadow:
        0 0 0 1px var(--brandi-line),
        0 40px 80px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(150, 27, 30, 0.3);
}

.brandi-about-content .brandi-eyebrow .elementor-heading-title {
    text-align: left;
}

.brandi-about-headline .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.2;
    color: var(--brandi-bone);
    margin-bottom: 32px;
}
.brandi-about-headline .elementor-heading-title em,
.brandi-about-headline .elementor-heading-title .accent {
    color: var(--brandi-gold);
}

.brandi-about-bio,
.brandi-about-bio p {
    color: var(--brandi-whisper);
    font-size: 17px;
    line-height: 1.7;
}
.brandi-about-bio p {
    margin-bottom: 18px;
}

.brandi-about-sig .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--brandi-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    margin-top: 32px;
}
.brandi-about-sig .elementor-heading-title::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--brandi-gold);
    flex-shrink: 0;
}

/* ---------- 9. REVIEWS SECTION ---------- */

.brandi-reviews-section {
    position: relative;
}
.brandi-reviews-section::before,
.brandi-reviews-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brandi-gold), transparent);
    opacity: 0.3;
}
.brandi-reviews-section::before { top: 0; }
.brandi-reviews-section::after { bottom: 0; }

.brandi-review-card {
    position: relative;
    padding: 40px 32px;
    border: 1px solid var(--brandi-line);
    background: rgba(20, 10, 11, 0.4);
    transition: all 0.4s ease;
}
.brandi-review-card::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 80px;
    color: var(--brandi-gold);
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}
.brandi-review-card:hover {
    border-color: rgba(192, 137, 76, 0.4) !important;
    transform: translateY(-4px);
}
.brandi-review-card > .elementor-widget-wrap,
.brandi-review-card > .e-con-inner {
    position: relative;
    z-index: 2;
}

.brandi-review-text,
.brandi-review-text p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: var(--brandi-bone);
    margin-bottom: 24px;
}

.brandi-review-author .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--brandi-gold);
    text-transform: uppercase;
}

.brandi-review-source .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--brandi-whisper);
    text-transform: uppercase;
}

.brandi-review-meta-row {
    padding-top: 20px;
    border-top: 1px solid var(--brandi-line);
}

/* ---------- 10. NEWSLETTER FORM ---------- */

.brandi-newsletter-form form,
.brandi-newsletter-form .mc4wp-form-fields {
    max-width: 500px;
    margin: 40px auto 16px;
    border: 1px solid var(--brandi-line);
    background: rgba(20, 10, 11, 0.5);
    display: flex;
}
.brandi-newsletter-form input[type="email"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent;
    border: none;
    padding: 18px 24px;
    color: var(--brandi-bone);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    outline: none;
}
.brandi-newsletter-form input[type="email"]::placeholder {
    color: rgba(216, 200, 180, 0.4);
    font-style: italic;
}
.brandi-newsletter-form input[type="submit"],
.brandi-newsletter-form button[type="submit"] {
    background: var(--brandi-blood);
    color: var(--brandi-bone);
    border: none;
    padding: 18px 32px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}
.brandi-newsletter-form input[type="submit"]:hover,
.brandi-newsletter-form button[type="submit"]:hover {
    background: var(--brandi-blood-deep);
}

.brandi-fineprint,
.brandi-fineprint p {
    font-size: 13px;
    color: var(--brandi-whisper);
    font-style: italic;
    opacity: 0.7;
    margin-top: 8px;
    text-align: center;
}

/* ---------- 10b. NEWSLETTER FORM — SUCCESS/ERROR MESSAGES ---------- */

.brandi-newsletter-form .mc4wp-response {
    margin-top: 16px;
    text-align: center;
}

.brandi-newsletter-form .mc4wp-response .mc4wp-alert,
.brandi-newsletter-form .mc4wp-alert.mc4wp-success,
.brandi-newsletter-form .mc4wp-success {
    background: rgba(150, 27, 30, 0.15) !important;
    border: 1px solid var(--brandi-gold) !important;
    color: var(--brandi-bone) !important;
    padding: 16px 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    margin-top: 20px;
}

.brandi-newsletter-form .mc4wp-success p,
.brandi-newsletter-form .mc4wp-alert.mc4wp-success p {
    color: var(--brandi-bone) !important;
    margin: 0;
}

.brandi-newsletter-form .mc4wp-error,
.brandi-newsletter-form .mc4wp-notice,
.brandi-newsletter-form .mc4wp-alert.mc4wp-error {
    background: rgba(150, 27, 30, 0.2) !important;
    border: 1px solid var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
    padding: 14px 20px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    margin-top: 20px;
}

.brandi-newsletter-form .mc4wp-error p,
.brandi-newsletter-form .mc4wp-notice p {
    color: var(--brandi-bone) !important;
    margin: 0;
}

.brandi-newsletter-form form.mc4wp-form-success .mc4wp-form-fields {
    display: none;
}

.brandi-newsletter-form form.mc4wp-form-success .mc4wp-response {
    margin-top: 0;
}

/* ---------- 11. SOCIAL CARDS ---------- */

.brandi-social-card {
    border: 1px solid var(--brandi-line);
    transition: all 0.4s ease;
    cursor: pointer;
}
.brandi-social-card:hover {
    border-color: var(--brandi-gold) !important;
    background: rgba(192, 137, 76, 0.05);
    transform: translateY(-4px);
}
.brandi-social-card .elementor-icon-box-title,
.brandi-social-card .elementor-icon-box-title a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    color: var(--brandi-bone);
}
.brandi-social-card .elementor-icon-box-description {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brandi-whisper);
}
.brandi-social-card .elementor-icon {
    color: var(--brandi-gold) !important;
    fill: var(--brandi-gold) !important;
}

/* ---------- 12. FOOTER ---------- */

.brandi-footer {
    border-top: 1px solid var(--brandi-line);
}

.brandi-footer-heading .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brandi-gold);
    margin-bottom: 20px;
}

.brandi-footer-link a {
    color: var(--brandi-whisper) !important;
    font-size: 15px;
    transition: color 0.3s ease;
}
.brandi-footer-link a:hover {
    color: var(--brandi-gold) !important;
}

.brandi-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--brandi-line);
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--brandi-whisper);
}

/* ---------- 13. SECTION BACKGROUND VARIATIONS ---------- */

.brandi-section-gradient-1 {
    background: linear-gradient(180deg, #0d0a0a 0%, #140a0b 50%, #0d0a0a 100%) !important;
    position: relative;
}
.brandi-section-gradient-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brandi-gold), transparent);
    opacity: 0.3;
}

.brandi-section-gradient-2 {
    background: linear-gradient(180deg, #0d0a0a 0%, #150909 50%, #0d0a0a 100%) !important;
}

.brandi-section-gradient-3 {
    background: linear-gradient(180deg, #0d0a0a 0%, #140a0b 100%) !important;
}

/* ---------- 14. RESPONSIVE TWEAKS ---------- */

@media (max-width: 900px) {
    .brandi-about-images {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .brandi-newsletter-form form,
    .brandi-newsletter-form .mc4wp-form-fields {
        flex-direction: column;
    }
}

/* ---------- 15. MARQUEE CALLOUT ---------- */

.brandi-marquee {
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--brandi-line);
    border-bottom: 1px solid var(--brandi-line);
}

.brandi-marquee::before,
.brandi-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.brandi-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--brandi-ink-dark), transparent);
}
.brandi-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--brandi-ink-dark), transparent);
}

.brandi-marquee .brandi-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    white-space: nowrap;
    animation: brandi-scroll 35s linear infinite;
    will-change: transform;
}

.brandi-marquee .brandi-marquee-track > span {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: clamp(28px, 3.2vw, 42px);
    color: var(--brandi-bone);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.brandi-marquee .brandi-marquee-track > span:nth-child(even) {
    color: var(--brandi-gold);
    font-size: 0.6em;
    opacity: 0.7;
    font-family: 'Cinzel', serif;
}

.brandi-marquee:hover .brandi-marquee-track {
    animation-play-state: paused;
}

@keyframes brandi-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .brandi-marquee .brandi-marquee-track {
        animation-duration: 25s;
    }
}
/* ---------- 16. WOOCOMMERCE — MINIMAL BRAND ALIGNMENT ---------- */
/* Quick brand-matching pass for shop, cart, and checkout pages. 
   Full restyle is a separate project. */

/* Shop page text readability */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .product-category,
.woocommerce-page .product_meta,
.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.woocommerce .product .product_title,
.woocommerce div.product .price,
.woocommerce .page-title,
.woocommerce-products-header__title {
    color: var(--brandi-bone) !important;
}

.woocommerce-breadcrumb a {
    color: var(--brandi-whisper) !important;
}
.woocommerce-breadcrumb a:hover,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--brandi-gold) !important;
}

/* Add to cart button — change blue to brand red */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button {
    background-color: var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
    border: 1px solid var(--brandi-line) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    border-radius: 0 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
    background-color: var(--brandi-blood-deep) !important;
    color: var(--brandi-bone) !important;
    border-color: var(--brandi-gold) !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: var(--brandi-gold) !important;
    color: var(--brandi-ink-dark) !important;
    border-radius: 0 !important;
    font-family: 'Cinzel', serif !important;
}

/* Cart page */
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-cart h1,
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table {
    color: var(--brandi-bone) !important;
}

.woocommerce table.shop_table {
    border-color: var(--brandi-line) !important;
    background: rgba(20, 10, 11, 0.4) !important;
}

.woocommerce table.shop_table th {
    background: rgba(20, 10, 11, 0.6) !important;
    border-color: var(--brandi-line) !important;
}

/* Checkout page */
.woocommerce-checkout #payment,
.woocommerce-checkout #order_review,
.woocommerce-checkout h3,
.woocommerce-checkout label,
.woocommerce-checkout .form-row label {
    color: var(--brandi-bone) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: rgba(20, 10, 11, 0.6) !important;
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-bone) !important;
    padding: 12px !important;
}

.woocommerce form .form-row input.input-text::placeholder {
    color: var(--brandi-whisper) !important;
}

/* Product images — keep visible against dark bg */
.woocommerce ul.products li.product .wp-post-image {
    background: var(--brandi-bone);
}

/* Pagination */
.woocommerce-pagination ul li {
    border-color: var(--brandi-line) !important;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
}
/* ---------- 17. WOOCOMMERCE — SINGLE PRODUCT PAGE ---------- */

/* Breadcrumb on product page */
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
    color: var(--brandi-whisper) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
}
.woocommerce-breadcrumb a:hover {
    color: var(--brandi-gold) !important;
}

/* Category link near product title — blue link to gold */
.woocommerce div.product .posted_in,
.woocommerce div.product .posted_in a,
.product_meta a,
.woocommerce div.product .product_meta .posted_in a,
.woocommerce-page div.product .posted_in a {
    color: var(--brandi-gold) !important;
    text-decoration: none !important;
}
.woocommerce div.product .posted_in a:hover {
    color: var(--brandi-gold-soft) !important;
}

/* Category eyebrow above product title */
.woocommerce div.product .product_meta {
    color: var(--brandi-whisper) !important;
}

/* Single product title */
.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title {
    color: var(--brandi-bone) !important;
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(28px, 3vw, 40px) !important;
}

/* Single product price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--brandi-gold) !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 28px !important;
    font-style: italic !important;
}

/* Stock status */
.woocommerce div.product .stock,
.woocommerce-page div.product .stock,
.product .in-stock,
p.stock.in-stock {
    color: var(--brandi-bone) !important;
}
.woocommerce div.product .stock.in-stock {
    color: var(--brandi-gold-soft) !important;
}

/* Availability label */
.woocommerce div.product p.availability,
.product .availability {
    color: var(--brandi-bone) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
    background: rgba(20, 10, 11, 0.6) !important;
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-bone) !important;
}

.woocommerce .quantity .minus,
.woocommerce .quantity .plus {
    background: rgba(20, 10, 11, 0.4) !important;
    border-color: var(--brandi-line) !important;
    color: var(--brandi-bone) !important;
}

/* Description / Additional info tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--brandi-line) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin: 0 16px 0 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a {
    color: var(--brandi-whisper) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 12px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 16px 0 !important;
    text-decoration: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--brandi-gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--brandi-gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
    color: var(--brandi-bone) !important;
}

/* Tab content (description text) */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel--description p,
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description p {
    color: var(--brandi-bone) !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* Description/info tab headings */
.woocommerce-Tabs-panel h2,
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce-Tabs-panel--description h2 {
    color: var(--brandi-bone) !important;
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif !important;
}

/* Additional information table */
.woocommerce table.shop_attributes,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes td p {
    color: var(--brandi-bone) !important;
    border-color: var(--brandi-line) !important;
    background: transparent !important;
}

/* Related Products heading */
.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce-page .related > h2,
.related.products h2,
.upsells.products h2 {
    color: var(--brandi-bone) !important;
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    margin-bottom: 32px !important;
}

/* Related products category labels */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce-page ul.products li.product .ast-woo-product-category {
    color: var(--brandi-gold) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
}

/* Product image zoom icon */
.woocommerce-product-gallery__trigger {
    background: rgba(20, 10, 11, 0.8) !important;
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-gold) !important;
}

/* Single product gallery border */
.woocommerce div.product div.images img {
    border: 1px solid var(--brandi-line) !important;
}

/* ---------- 18. CART PAGE ---------- */

.woocommerce-cart .cart-collaterals h2,
.woocommerce-cart h1.entry-title,
.woocommerce-cart .page-title {
    color: var(--brandi-bone) !important;
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif !important;
}

.woocommerce-cart table.cart,
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart td a {
    color: var(--brandi-bone) !important;
    border-color: var(--brandi-line) !important;
}

.woocommerce-cart table.cart th {
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--brandi-gold) !important;
}

.woocommerce-cart table.cart td a:hover {
    color: var(--brandi-gold) !important;
}

.woocommerce-cart .cart_totals table {
    border-color: var(--brandi-line) !important;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    color: var(--brandi-bone) !important;
    border-color: var(--brandi-line) !important;
}

/* Coupon and update cart input */
.woocommerce-cart input#coupon_code {
    background: rgba(20, 10, 11, 0.6) !important;
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-bone) !important;
}

/* ---------- 19. CHECKOUT PAGE ---------- */

.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout label,
.woocommerce-checkout .form-row label,
.woocommerce-checkout .woocommerce-input-wrapper {
    color: var(--brandi-bone) !important;
}

.woocommerce-checkout #payment {
    background: rgba(20, 10, 11, 0.6) !important;
    border: 1px solid var(--brandi-line) !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-color: var(--brandi-line) !important;
}

.woocommerce-checkout #payment .payment_box {
    background: rgba(20, 10, 11, 0.4) !important;
    color: var(--brandi-bone) !important;
}

.woocommerce-checkout .order_details,
.woocommerce-checkout table.shop_table,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    color: var(--brandi-bone) !important;
    border-color: var(--brandi-line) !important;
}

/* Form field improvements across cart/checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    background: rgba(20, 10, 11, 0.6) !important;
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-bone) !important;
    padding: 12px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--brandi-gold) !important;
    outline: none !important;
}

.woocommerce form .form-row input.input-text::placeholder {
    color: var(--brandi-whisper) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--brandi-bone) !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(20, 10, 11, 0.6) !important;
    border-top-color: var(--brandi-gold) !important;
    color: var(--brandi-bone) !important;
}

.woocommerce-message a,
.woocommerce-info a {
    color: var(--brandi-gold) !important;
}
/* ---------- 20. ADD TO CART NOTIFICATIONS ---------- */

/* "X added to cart" notification */
.woocommerce-message {
    background: rgba(20, 10, 11, 0.85) !important;
    border-top: 3px solid var(--brandi-gold) !important;
    color: var(--brandi-bone) !important;
    padding: 16px 24px !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 17px !important;
    font-style: italic !important;
}

/* "View cart" button inside the notification */
.woocommerce-message .button,
.woocommerce-message a.button.wc-forward {
    background-color: var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
    border: 1px solid var(--brandi-line) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    margin: 0 0 0 16px !important;
}

.woocommerce-message .button:hover {
    background-color: var(--brandi-blood-deep) !important;
    border-color: var(--brandi-gold) !important;
}

/* "Already in your cart" or similar info */
.woocommerce-info::before {
    color: var(--brandi-gold) !important;
}

.woocommerce-message::before {
    color: var(--brandi-gold) !important;
}

/* Keep cart button on shop catalog visible */
.woocommerce a.added_to_cart {
    color: var(--brandi-gold) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
    display: inline-block !important;
}
/* ---------- 21. CONTACT FORM ---------- */

.brandi-contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.brandi-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brandi-contact-row {
    margin: 0 !important;
    padding: 0 !important;
}

/* All input fields */
.brandi-contact-form input[type="text"],
.brandi-contact-form input[type="email"],
.brandi-contact-form textarea {
    width: 100%;
    background: rgba(20, 10, 11, 0.5);
    border: 1px solid var(--brandi-line);
    color: var(--brandi-bone);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    padding: 18px 24px;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.brandi-contact-form input[type="text"]:focus,
.brandi-contact-form input[type="email"]:focus,
.brandi-contact-form textarea:focus {
    border-color: var(--brandi-gold);
}

.brandi-contact-form input::placeholder,
.brandi-contact-form textarea::placeholder {
    color: rgba(216, 200, 180, 0.4);
    font-style: italic;
}

/* Textarea specific */
.brandi-contact-form textarea {
    min-height: 160px;
    resize: vertical;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Submit button */
.brandi-contact-form .brandi-contact-submit {
    margin-top: 12px !important;
    text-align: center;
}

.brandi-contact-form input[type="submit"] {
    background: var(--brandi-blood);
    color: var(--brandi-bone);
    border: 1px solid var(--brandi-line);
    padding: 18px 48px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    width: auto;
}

.brandi-contact-form input[type="submit"]:hover {
    background: var(--brandi-blood-deep);
    border-color: var(--brandi-gold);
    color: var(--brandi-bone);
}

/* Loading spinner from CF7 */
.brandi-contact-form .wpcf7-spinner {
    background-color: var(--brandi-gold) !important;
}

/* Success message */
.brandi-contact-form .wpcf7 form.sent .wpcf7-response-output,
.brandi-contact-form .wpcf7-response-output {
    background: rgba(150, 27, 30, 0.15) !important;
    border: 1px solid var(--brandi-gold) !important;
    color: var(--brandi-bone) !important;
    padding: 16px 24px;
    margin: 24px 0 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    text-align: center;
    border-radius: 0;
}

/* Error messages */
.brandi-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.brandi-contact-form .wpcf7 form.failed .wpcf7-response-output {
    background: rgba(150, 27, 30, 0.2) !important;
    border: 1px solid var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
}

/* Field-level validation errors */
.brandi-contact-form .wpcf7-not-valid-tip {
    color: var(--brandi-gold) !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
    font-size: 14px !important;
    margin-top: 4px !important;
}

.brandi-contact-form .wpcf7-not-valid {
    border-color: var(--brandi-blood) !important;
}

/* Hide form after success (optional — match newsletter behavior) */
.brandi-contact-form .wpcf7 form.sent .brandi-contact-fields {
    display: none;
}

/* Responsive */
@media (max-width: 560px) {
    .brandi-contact-form input[type="text"],
    .brandi-contact-form input[type="email"],
    .brandi-contact-form textarea {
        font-size: 15px;
        padding: 16px 18px;
    }
    
    .brandi-contact-form input[type="submit"] {
        width: 100%;
        padding: 18px 24px;
    }
}