/*
Theme Name: Urban Affluence
Author: Ski Baltimore Social Club
Description: TITANIUM MASTER - Version 105.0 (The Lost Pages)
*/

/* =========================================
   1. FOUNDATION & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Tenor+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --bg-black: #050505;
    --panel-bg: #0b0b0b; 
    --card-bg: #161616; 
    --text-white: #FFFFFF;
    --gold-solid: #C5A059;
    --border-subtle: #222;
    --font-serif: 'Bodoni Moda', serif; 
    --font-sans: 'Tenor Sans', sans-serif;
    --font-ui: 'Montserrat', sans-serif;
    color-scheme: dark; 
}

/* =========================================
   2. GLOBAL RESET & SCROLLBAR
   ========================================= */
html { scrollbar-width: thin; scrollbar-color: #333 #050505; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background-color: #333; border-radius: 10px; border: 2px solid #050505; transition: background-color 0.3s ease; }
::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { background-color: var(--gold-solid); }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    background-color: var(--bg-black); 
    color: var(--text-white); 
    font-family: var(--font-sans); 
    font-size: 16px; 
    line-height: 1.6; 
    overflow-x: hidden; 
    padding-top: 140px; 
    opacity: 0; /* For Cinematic Fade In */
    transition: opacity 0.5s ease-in-out;
}
body.home { padding-top: 0; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--gold-solid) !important; }
img { display: block; max-width: 100%; height: auto; }

/* Kill Glows & Style Inputs */
input, select, textarea, button { outline: none !important; }
input:focus, select:focus, textarea:focus, button:focus { outline: none !important; border-color: var(--gold-solid) !important; box-shadow: 0 0 0 1px var(--gold-solid) !important; }
input[type="text"], input[type="email"], input[type="password"], textarea { background: #111 !important; border: 1px solid #333 !important; color: white !important; padding: 15px !important; font-family: var(--font-ui); border-radius: 0 !important; }

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.site-header { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; padding: 0 40px; 
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    transition: background-color 0.5s ease; 
}
.site-header.scrolled { 
    background: rgba(5, 5, 5, 0.95); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto; padding: 10px 0; }
.header-branding { flex: 0 0 auto; }
.site-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.header-icon { width: 35px; height: auto; display: block; }
.brand-text { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1; color: #FFF; text-transform: uppercase; letter-spacing: 1px; padding-top: 4px; white-space: nowrap; }
.main-nav { display: flex; flex-grow: 1; justify-content: center; gap: 40px; }
.main-nav a { font-family: var(--font-ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; color: #FFF; }
.active-gold { color: var(--gold-solid) !important; border-bottom: 1px solid var(--gold-solid); padding-bottom: 3px; }
.header-actions { display: flex; gap: 25px; flex: 0 0 auto; }
.header-actions a { font-family: var(--font-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.mobile-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: #FFF; padding: 8px 12px; font-family: var(--font-ui); letter-spacing: 2px; font-size: 0.7rem; cursor: pointer; }

/* STEALTH SEARCH OVERLAY */
#urban-search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,5,5,0.98); backdrop-filter: blur(10px); z-index: 20000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
#urban-search-overlay.active { opacity: 1; visibility: visible; }
#urban-search-overlay input[type="text"] { background: transparent !important; border: none !important; border-bottom: 2px solid var(--gold-solid) !important; font-size: 3rem; color: #FFF !important; text-align: center; width: 80%; font-family: var(--font-serif); text-transform: uppercase; }
.close-search { position: absolute; top: 40px; right: 40px; font-size: 3rem; color: #666; cursor: pointer; transition: 0.3s; }
.close-search:hover { color: #FFF; }

/* =========================================
   4. HOMEPAGE & SECTIONS
   ========================================= */
.hero-section { height: 100vh; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; background: #080808; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: inherit; background-size: cover; background-position: center; z-index: 0; animation: heroZoom 4s ease-out forwards; opacity: 0.7; }
.hero-content { position: relative; z-index: 5; max-width: 1000px; }
.hero-content h1 { font-family: var(--font-serif); font-size: 6rem; line-height: 1; margin-bottom: 20px; color: #FFF; letter-spacing: -3px; text-transform: capitalize; }
.hero-subline { font-family: var(--font-serif); font-size: 1.8rem; font-style: italic; color: var(--gold-solid); margin-bottom: 50px; opacity: 0.9; letter-spacing: 0px; }
.home-section { padding-top: 100px; padding-bottom: 60px; padding-left: 40px; padding-right: 40px; max-width: 1600px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-serif); font-size: 3rem; letter-spacing: 0px; margin-top: 15px; font-weight: 400; color: var(--text-white); text-transform: capitalize; }
.lux-overline { font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-solid); display: block; font-weight: 600; }
.hero-btn, .btn-gold { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; font-weight: 600; padding: 20px 45px; border: 1px solid var(--gold-solid); color: var(--gold-solid); background: rgba(0,0,0,0.3); display: inline-block; transition: all 0.4s ease; cursor: pointer; text-decoration: none; }
.hero-btn:hover, .btn-gold:hover { background: var(--gold-solid); color: #000 !important; box-shadow: 0 0 30px rgba(197, 160, 89, 0.4); transform: translateY(-3px); }

/* Dispatch / Journal Section */
.dispatch-section { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #222; border-bottom: 1px solid #222; margin-top: 60px; min-height: 600px; }
.dispatch-text { padding: 80px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.dispatch-text h2, .dispatch-section h2 { font-family: 'Bodoni Moda', serif !important; font-size: 3.5rem !important; line-height: 1.1 !important; margin: 20px 0 !important; color: #FFF !important; letter-spacing: -1px !important; font-weight: 400 !important; text-transform: none !important; }
.dispatch-excerpt, .dispatch-text p { font-family: 'Tenor Sans', sans-serif !important; font-size: 1.1rem !important; opacity: 0.8; margin-bottom: 40px !important; line-height: 1.8 !important; max-width: 500px; color: #FFF !important; }
.dispatch-image-wrapper { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.dispatch-img-dynamic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.dispatch-section:hover .dispatch-img-dynamic { transform: scale(1.04); }
.text-link { font-family: var(--font-ui) !important; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; border-bottom: 1px solid var(--gold-solid); display: inline-block; width: fit-content; padding-bottom: 5px; color: #FFF !important; }
.gatherings-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mosaic-item { aspect-ratio: 1; background: #111; border: 1px solid #222; overflow: hidden; position: relative; }
.gray-box { width: 100%; height: 100%; opacity: 0.2; background: #333; transition: opacity 0.3s ease; }
.mosaic-item:hover .gray-box { opacity: 0.4; }

/* =========================================
   5. MEMBERSHIP & PILLARS
   ========================================= */
.membership-layout { display: flex; min-height: 80vh; }
.membership-cta-box { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #080808; padding: 60px; border-left: 1px solid #222; width: 50%; }
.pillar-item { margin-bottom: 40px; }
.membership-headline, .cta-headline { font-family: 'Bodoni Moda', serif !important; font-size: 3rem !important; line-height: 1.1 !important; margin-bottom: 30px !important; }
.pillar-title { font-family: 'Montserrat', sans-serif !important; font-size: 0.9rem !important; letter-spacing: 2px !important; color: var(--gold-solid) !important; margin-bottom: 10px !important; text-transform: uppercase !important; }
.pillar-desc, .cta-desc { font-family: 'Tenor Sans', sans-serif !important; font-size: 1.1rem !important; opacity: 0.8 !important; line-height: 1.6 !important; }
.italic-gold { color: var(--gold-solid); font-style: italic; }
.btn-solid-gold { background: var(--gold-solid); color: #000; border: none; padding: 20px 40px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-ui); cursor: pointer; display: inline-block; }
.btn-solid-gold:hover { background: #FFF; color: #000; }

/* =========================================
   6. CARDS & GRIDS
   ========================================= */
.favorites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.product-card { background: var(--card-bg) !important; border: 1px solid #333 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important; padding: 15px 15px 25px 15px !important; text-align: center !important; width: 100%; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s ease, border-color 0.3s ease; }
.product-card:hover { transform: translateY(-5px) !important; border-color: var(--gold-solid) !important; }
.product-card a { display: block; overflow: hidden; }
.card-image-wrap { overflow: hidden; margin-bottom: 15px; border-bottom: none; }
.product-card img { width: 100%; height: auto; transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: center center; }
.product-card:hover img { transform: scale(1.08); }
.card-info { padding: 0 5px; display: flex; flex-direction: column; height: 100%; }
.product-title { font-family: var(--font-serif) !important; font-size: 1.2rem !important; color: var(--gold-solid) !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; margin-bottom: 8px; font-weight: 400 !important; line-height: 1.2; }
.product-title:hover { color: #FFF !important; }

/* =========================================
   7. THE SHOP (WOOCOMMERCE ARCHIVE)
   ========================================= */
body.woocommerce-page #sidebar, body.woocommerce-page .sidebar { display: none !important; }
body.woocommerce-page #content { width: 100% !important; }
body .post-type-archive-product .page-title, body .woocommerce-products-header__title, body.woocommerce-page h1.page-title, body.woocommerce-page .entry-title { font-family: 'Bodoni Moda', serif !important; font-size: 7rem !important; color: #FFF !important; text-align: center !important; margin: -60px 0 150px 0 !important; letter-spacing: -3px !important; line-height: 1 !important; position: relative !important; display: inline-block !important; width: 100% !important; text-transform: capitalize !important; }
body .post-type-archive-product .page-title::after, body .woocommerce-products-header__title::after, body.woocommerce-page h1.page-title::after { content: 'Your Key To Membership'; display: block; font-family: 'Bodoni Moda', serif !important; font-style: italic; font-weight: 300 !important; font-size: 1.5rem !important; opacity: 0.9; letter-spacing: 1px; color: var(--gold-solid); margin-top: 15px; text-transform: none; background: none; height: auto; width: auto; }
body.woocommerce ul.products, body.woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 30px !important; list-style: none !important; padding: 0 !important; margin: 0 0 150px 0 !important; }
body.woocommerce ul.products::before, body.woocommerce ul.products::after { display: none; }
body.woocommerce ul.products li.product { background: var(--card-bg) !important; border: 1px solid #333 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important; padding: 15px 15px 25px 15px !important; text-align: center !important; width: 100% !important; list-style: none !important; margin-bottom: 0 !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; min-height: 480px !important; overflow: hidden !important; transition: transform 0.3s ease, border-color 0.3s ease; }
body.woocommerce ul.products li.product:hover { transform: translateY(-5px) !important; border-color: var(--gold-solid) !important; }
body.woocommerce ul.products li.product a img { width: 100% !important; height: auto !important; display: block !important; margin: 0 0 15px 0 !important; transition: transform 1.5s ease !important; }
body.woocommerce ul.products li.product:hover a img { transform: scale(1.08) !important; }
body.woocommerce ul.products li.product .woocommerce-loop-product__title, body.woocommerce ul.products li.product h2 { font-family: var(--font-serif) !important; font-size: 1.2rem !important; color: var(--gold-solid) !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; padding: 0 5px !important; line-height: 1.2 !important; text-decoration: none !important; font-weight: 400 !important; }
body .price { font-family: var(--font-ui) !important; color: #FFF !important; font-size: 1rem !important; font-weight: 600 !important; display: block !important; margin: 5px 0 10px 0 !important; }
body .price ins { text-decoration: none !important; color: #FFF !important; }
body.woocommerce ul.products li.product .button { background: transparent !important; border: 1px solid var(--gold-solid) !important; color: var(--gold-solid) !important; font-family: var(--font-ui) !important; text-transform: uppercase !important; font-size: 0.7rem !important; letter-spacing: 2px !important; padding: 10px 20px !important; margin: 0 auto !important; width: auto !important; display: inline-block !important; border-radius: 0 !important; transition: all 0.3s ease; }
body.woocommerce ul.products li.product .button:hover { background: var(--gold-solid) !important; color: #000 !important; }
body.woocommerce span.onsale { background-color: var(--gold-solid) !important; color: #000 !important; font-family: var(--font-ui) !important; text-transform: uppercase; font-size: 0.65rem !important; font-weight: 600 !important; letter-spacing: 1px !important; padding: 6px 12px !important; position: absolute; top: 0; left: 0; z-index: 99; border-radius: 0 !important; min-height: auto !important; line-height: 1 !important; }
.woocommerce-ordering, .woocommerce-result-count { display: none !important; }

/* =========================================
   8. SINGLE PRODUCT PAGE
   ========================================= */
.urban-shop-header-link { text-align: center; width: 100%; margin: -40px auto 30px auto; padding-bottom: 20px; border-bottom: 1px solid #1a1a1a; }
.shop-anchor-title { font-family: 'Bodoni Moda', serif !important; font-size: 6rem !important; color: #FFF !important; line-height: 1 !important; margin: 0 !important; letter-spacing: -2px !important; text-transform: capitalize !important; display: inline-block; transition: color 0.3s ease; }
.shop-anchor-title:hover { color: var(--gold-solid) !important; }
.shop-anchor-tagline { display: block; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1.5rem; color: var(--gold-solid); margin-top: 5px; opacity: 0.9; }
.urban-cinematic-wrapper { display: flex !important; flex-wrap: nowrap !important; gap: 60px !important; align-items: flex-start !important; position: relative; }
.urban-gallery-side { width: 55% !important; flex: 0 0 55% !important; }
.urban-gallery-side .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.urban-gallery-side img { width: 100% !important; height: auto !important; display: block !important; border: 1px solid var(--border-subtle) !important; }
.urban-summary-side { width: 40% !important; flex: 0 0 40% !important; background-color: var(--panel-bg) !important; border: 1px solid var(--border-subtle) !important; padding: 40px !important; display: flex !important; flex-direction: column !important; position: -webkit-sticky !important; position: sticky !important; top: 180px !important; height: fit-content !important; }
.woocommerce-breadcrumb { display: none !important; }
.urban-summary-side h1.product_title { font-family: var(--font-serif) !important; font-size: 3rem !important; color: var(--gold-solid) !important; line-height: 1.1 !important; margin-bottom: 10px !important; margin-top: 0 !important; text-transform: capitalize !important; text-align: center !important; white-space: normal !important; word-wrap: break-word !important; width: 100% !important; }
.urban-summary-side .price { font-family: var(--font-ui) !important; font-size: 1.5rem !important; color: #FFF !important; font-weight: 300 !important; margin-bottom: 25px !important; text-align: center !important; display: block !important; border-bottom: 1px solid #222; padding-bottom: 25px; }
.urban-summary-side .woocommerce-product-details__short-description { font-family: var(--font-serif) !important; color: #DDD !important; font-size: 1.1rem !important; font-style: italic !important; line-height: 1.6 !important; margin-bottom: 30px !important; text-align: left !important; }
.product_meta { display: none !important; }
form.cart { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.variations { width: 100% !important; border-collapse: collapse !important; margin-bottom: 20px !important; display: block !important; }
.variations tbody, .variations tr, .variations td { display: block !important; }
.variations tr { margin-bottom: 15px !important; }
.variations td.label { padding: 0 0 8px 0 !important; color: var(--gold-solid) !important; font-family: var(--font-ui) !important; font-size: 0.75rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 2px !important; text-align: left !important; }
.woocommerce-variation-add-to-cart { display: flex !important; width: 100% !important; gap: 0 !important; align-items: stretch !important; }
.urban-summary-side .cart { margin-top: 10px !important; }
.quantity { margin: 0 !important; padding: 0 !important; width: 80px !important; }
.quantity input { background: #050505 !important; color: #FFF !important; border: 1px solid var(--gold-solid) !important; border-right: none !important; font-family: var(--font-ui) !important; width: 100% !important; height: 55px !important; font-size: 1.1rem !important; text-align: center !important; -moz-appearance: textfield !important; }
.single_add_to_cart_button { background: var(--gold-solid) !important; border: 1px solid var(--gold-solid) !important; color: #000 !important; font-family: var(--font-ui) !important; text-transform: uppercase !important; font-weight: 600 !important; font-size: 0.9rem !important; letter-spacing: 2px !important; padding: 0 !important; height: 55px !important; flex-grow: 1 !important; transition: all 0.3s ease !important; cursor: pointer !important; }
.single_add_to_cart_button:hover { background: #FFF !important; border-color: #FFF !important; color: #000 !important; }
body .urban-after-summary { display: block !important; margin-top: 100px !important; border-top: 1px solid #222 !important; padding-top: 60px !important; width: 100% !important; clear: both !important; }
body .urban-after-summary ul.tabs { padding: 0 !important; margin: 0 0 60px 0 !important; border: none !important; border-bottom: 1px solid #222 !important; background: transparent !important; display: flex !important; justify-content: center !important; gap: 60px !important; list-style: none !important; }
body .urban-after-summary ul.tabs li { background: transparent !important; border: none !important; margin: 0 !important; padding: 0 !important; display: block !important; }
body .urban-after-summary ul.tabs li a { color: #666 !important; font-family: var(--font-ui) !important; text-transform: uppercase !important; font-weight: 600 !important; letter-spacing: 3px !important; font-size: 0.8rem !important; padding-bottom: 20px !important; display: block !important; text-decoration: none !important; transition: all 0.3s ease; border-bottom: 3px solid transparent !important; margin-bottom: -2px !important; }
body .urban-after-summary ul.tabs li.active a { color: var(--gold-solid) !important; border-bottom: 3px solid var(--gold-solid) !important; }
body .urban-after-summary .woocommerce-Tabs-panel { color: #CCC !important; font-family: var(--font-sans) !important; font-size: 1.1rem !important; line-height: 1.8 !important; max-width: 900px; margin: 0 auto; display: none; animation: fadeUp 0.6s ease; }
body .urban-after-summary .woocommerce-Tabs-panel[style*="block"] { display: block !important; }
body .urban-after-summary .woocommerce-Tabs-panel h2 { display: none !important; }
.urban-after-summary .woocommerce-Tabs-panel ul { list-style: none !important; padding: 0 !important; margin: 30px 0 !important; }
.urban-after-summary .woocommerce-Tabs-panel li { list-style: none !important; position: relative !important; padding-left: 25px !important; margin-bottom: 10px !important; color: #DDD !important; }
.urban-after-summary .woocommerce-Tabs-panel li::before { content: '—' !important; color: var(--gold-solid) !important; position: absolute !important; left: 0 !important; }
.shop_attributes { width: 100% !important; border: none !important; margin-top: 0 !important; border-collapse: collapse !important; }
.shop_attributes th, .shop_attributes td { background: transparent !important; border-bottom: 1px solid #222 !important; padding: 20px 0 !important; }
.shop_attributes th { color: var(--gold-solid) !important; font-family: var(--font-ui) !important; text-transform: uppercase !important; letter-spacing: 2px !important; font-size: 0.8rem !important; width: 30% !important; text-align: left !important; }
.shop_attributes td { color: #FFF !important; font-family: var(--font-sans) !important; font-style: italic !important; text-align: right !important; }
.related.products { margin-top: 100px; border-top: 1px solid #222; padding-top: 80px; }
.related.products h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold-solid); text-align: center; margin-bottom: 50px; text-transform: uppercase; display: block !important; }
.related.products ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.related.products li { list-style: none !important; padding: 0 !important; }
.related.products li::before { content: none !important; }

/* =========================================
   9. THE VAULT (SLIDE-OUT CART)
   ========================================= */
#urban-cart-trigger { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--gold-solid); color: #000; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; z-index: 10000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
#urban-cart-trigger:hover { transform: scale(1.1); color: #FFF; }
.dashicons-cart { font-family: "dashicons"; font-size: 24px; }
.urban-count { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; margin-top: -2px; }
#urban-slide-cart { position: fixed; top: 0; right: -450px; width: 420px; height: 100vh; background: #0b0b0b; border-left: 1px solid var(--gold-solid); z-index: 20000; padding: 30px; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -20px 0 50px rgba(0,0,0,0.8); display: flex; flex-direction: column; }
body.urban-cart-open #urban-slide-cart { right: 0; }
#urban-slide-cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 19000; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
body.urban-cart-open #urban-slide-cart-overlay { opacity: 1; visibility: visible; }
.urban-cart-header-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 20px; margin-bottom: 20px; }
.urban-cart-header-row h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-solid); margin: 0; }
.close-urban-cart { font-size: 2rem; cursor: pointer; color: #666; transition: color 0.3s; line-height: 1; }
.close-urban-cart:hover { color: #FFF; }
.widget_shopping_cart_content { height: 100%; display: flex; flex-direction: column; }
.woocommerce-mini-cart { flex-grow: 1; overflow-y: auto; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-mini-cart-item { display: flex !important; align-items: center; gap: 15px; border-bottom: 1px solid #222; padding: 20px 0 !important; position: relative; }
.woocommerce-mini-cart-item img { width: 70px !important; height: auto !important; border: 1px solid #333; margin: 0 !important; }
.woocommerce-mini-cart-item a { font-family: var(--font-ui); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #FFF !important; text-decoration: none !important; }
.woocommerce-mini-cart-item .quantity { display: block; font-family: var(--font-sans); color: #888; font-size: 0.8rem; margin-top: 5px; }
.woocommerce-mini-cart-item .remove { position: absolute !important; top: 20px; right: 0; color: #555 !important; font-size: 1.2rem !important; }
.woocommerce-mini-cart-item .remove:hover { color: red !important; background: none !important; }
.woocommerce-mini-cart__total { border-top: 1px solid #222; padding: 20px 0; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.woocommerce-mini-cart__total strong { font-family: var(--font-ui); color: #FFF; text-transform: uppercase; }
.woocommerce-mini-cart__total .amount { font-family: var(--font-ui); color: var(--gold-solid); font-size: 1.2rem; font-weight: 600; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; }
.woocommerce-mini-cart__buttons .button { width: 100% !important; text-align: center !important; background: transparent !important; border: 1px solid var(--gold-solid) !important; color: var(--gold-solid) !important; text-transform: uppercase !important; font-family: var(--font-ui) !important; letter-spacing: 2px !important; padding: 15px !important; border-radius: 0 !important; }
.woocommerce-mini-cart__buttons .checkout { background: var(--gold-solid) !important; color: #000 !important; font-weight: 700; }
.woocommerce-mini-cart__buttons .button:hover { background: #FFF !important; color: #000 !important; border-color: #FFF !important; }

/* =========================================
   10. CHECKOUT PAGE - NUCLEAR OVERRIDE
   ========================================= */

/* KILL ALL CONFLICTING BACKGROUNDS */
body.woocommerce-checkout,
body.woocommerce-checkout * {
    box-sizing: border-box !important;
}

body.woocommerce-checkout {
    background-color: #050505 !important;
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-checkout #primary,
body.woocommerce-checkout .site-main {
    background: transparent !important;
}

body.woocommerce-checkout h1.wp-block-post-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout aside,
body.woocommerce-checkout .sidebar {
    display: none !important;
}

/* FORCE CONTAINER CENTERING */
body.woocommerce-checkout .woocommerce > form.checkout {
    max-width: 1400px !important;
    margin: 60px auto !important;
    padding: 60px 40px !important;
    background: #0b0b0b !important;
    border: 1px solid #222 !important;
    display: grid !important;
    grid-template-columns: 1fr 450px !important;
    gap: 80px !important;
}

/* FORCE LEFT COLUMN (BILLING/SHIPPING) */
body.woocommerce-checkout .woocommerce > form.checkout .col2-set {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FORCE SECTION HEADINGS STYLE */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
    font-family: 'Bodoni Moda', serif !important;
    font-size: 2.5rem !important;
    color: #C5A059 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #222 !important;
    padding: 0 0 20px 0 !important;
    margin: 0 0 40px 0 !important;
    text-transform: capitalize !important;
    font-weight: 400 !important;
    letter-spacing: -1px !important;
    line-height: 1.2 !important;
}

/* FORCE LABEL STYLING */
body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-checkout form.checkout label {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 2px !important;
    color: #C5A059 !important;
    background: transparent !important;
    margin-bottom: 10px !important;
    display: block !important;
    font-weight: 600 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .woocommerce form .form-row label .required,
body.woocommerce-checkout .woocommerce form .form-row label abbr {
    color: #C5A059 !important;
    border: none !important;
    text-decoration: none !important;
}

/* FORCE INPUT FIELD STYLING */
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout form.checkout input[type="text"],
body.woocommerce-checkout form.checkout input[type="email"],
body.woocommerce-checkout form.checkout input[type="tel"],
body.woocommerce-checkout form.checkout textarea {
    background-color: #050505 !important;
    background: #050505 !important;
    border: 1px solid #222 !important;
    color: #FFFFFF !important;
    padding: 18px !important;
    font-family: 'Tenor Sans', sans-serif !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus,
body.woocommerce-checkout form.checkout input:focus,
body.woocommerce-checkout form.checkout textarea:focus {
    border-color: #C5A059 !important;
    background-color: #000 !important;
    background: #000 !important;
    box-shadow: 0 0 0 1px #C5A059 !important;
    outline: none !important;
}

/* FORCE SELECT2 DROPDOWN STYLING */
body.woocommerce-checkout .select2-container .select2-selection--single {
    background-color: #050505 !important;
    background: #050505 !important;
    border: 1px solid #222 !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 0 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #FFFFFF !important;
    line-height: 56px !important;
    padding-left: 18px !important;
    font-family: 'Tenor Sans', sans-serif !important;
    background: transparent !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 56px !important;
    right: 18px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #C5A059 transparent transparent transparent !important;
}

body.woocommerce-checkout .select2-dropdown {
    background-color: #050505 !important;
    background: #050505 !important;
    border: 1px solid #C5A059 !important;
    border-radius: 0 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option {
    background-color: #050505 !important;
    background: #050505 !important;
    color: #FFFFFF !important;
    padding: 12px 18px !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #C5A059 !important;
    background: #C5A059 !important;
    color: #000 !important;
}

/* FORCE ORDER REVIEW SIDEBAR */
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
    background: #050505 !important;
    border: 2px solid #222 !important;
    padding: 50px !important;
    height: fit-content !important;
    width: 100% !important;
    margin: 0 !important;
}

/* FORCE ORDER TABLE STYLING */
body.woocommerce-checkout #order_review table.shop_table,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
    border: none !important;
    margin-bottom: 40px !important;
    background: transparent !important;
    width: 100% !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    background: transparent !important;
    border-top: none !important;
    border-bottom: 1px solid #222 !important;
    padding: 25px 0 !important;
    color: #FFFFFF !important;
    font-family: 'Tenor Sans', sans-serif !important;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
    color: #C5A059 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.75rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #222 !important;
}

body.woocommerce-checkout #order_review table.shop_table .product-name {
    font-weight: 400 !important;
    font-size: 1rem !important;
}

body.woocommerce-checkout #order_review table.shop_table .product-total {
    text-align: right !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
    font-size: 1.3rem !important;
    color: #C5A059 !important;
    border-top: 2px solid #222 !important;
    padding-top: 30px !important;
    font-weight: 600 !important;
}

/* FORCE PAYMENT METHODS */
body.woocommerce-checkout #payment.woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 40px !important;
}

body.woocommerce-checkout .wc_payment_methods,
body.woocommerce-checkout ul.wc_payment_methods {
    background: transparent !important;
    border-top: 2px solid #222 !important;
    padding-top: 40px !important;
    margin: 30px 0 0 0 !important;
    list-style: none !important;
}

body.woocommerce-checkout .wc_payment_methods li,
body.woocommerce-checkout ul.wc_payment_methods li {
    background: #0b0b0b !important;
    border: 1px solid #222 !important;
    margin-bottom: 15px !important;
    padding: 20px !important;
    list-style: none !important;
}

body.woocommerce-checkout .wc_payment_methods li input[type="radio"] {
    margin-right: 15px !important;
    accent-color: #C5A059 !important;
}

body.woocommerce-checkout .wc_payment_methods li label {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #FFFFFF !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

body.woocommerce-checkout .payment_box {
    background-color: #050505 !important;
    background: #050505 !important;
    color: #999 !important;
    padding: 20px !important;
    margin-top: 15px !important;
    font-family: 'Tenor Sans', sans-serif !important;
    font-size: 0.9rem !important;
    border-left: 3px solid #C5A059 !important;
    line-height: 1.6 !important;
}

/* FORCE PLACE ORDER BUTTON */
body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout button#place_order,
body.woocommerce-checkout .woocommerce-checkout button#place_order {
    background: #C5A059 !important;
    color: #000 !important;
    width: 100% !important;
    padding: 25px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    font-size: 1rem !important;
    border: 2px solid #C5A059 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    margin-top: 30px !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout button#place_order:hover {
    background: transparent !important;
    color: #C5A059 !important;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3) !important;
}

/* =========================================
   11. CART PAGE - ULTRA COMPACT LUXURY
   Nuclear Override - Replace Section 11
   ========================================= */

/* FORCE CART PAGE BACKGROUND */
body.woocommerce-cart,
body.woocommerce-cart * {
    box-sizing: border-box !important;
}

body.woocommerce-cart {
    background-color: #050505 !important;
    color: #FFF !important;
}

body.woocommerce-cart .page-title,
body.woocommerce-cart .entry-title,
body.woocommerce-cart h1 {
    display: none !important;
}

/* CART LAYOUT - STACKED UNTIL VERY WIDE (1200px+) */
.woocommerce-cart .woocommerce {
    max-width: 1400px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    display: flex !important; /* Stack by default */
    flex-direction: column !important;
    gap: 60px !important;
}

/* DESKTOP SPLIT GRID (1025px+) */
@media (min-width: 1025px) {
    .woocommerce-cart .woocommerce {
        display: grid !important;
        grid-template-columns: 1fr 350px !important; /* Table | Sidebar */
        gap: 60px !important;
        align-items: start !important;
    }
    
    /* FIX: Explicitly assign columns to prevent Notices from displacing layout */
    .woocommerce-cart .woocommerce-notices-wrapper,
    .woocommerce-cart .woocommerce-error,
    .woocommerce-cart .woocommerce-message {
        grid-column: 1 / -1 !important; /* Spans full width at top */
        width: 100% !important;
    }

    .woocommerce-cart .woocommerce-cart-form {
        grid-column: 1 !important; /* Forces table to Left Column */
        width: 100% !important;
        margin: 0 !important;
    }
    
    .woocommerce-cart .cart-collaterals {
        grid-column: 2 !important; /* Forces totals to Right Column */
        width: 100% !important;
        max-width: 100% !important; 
    }
}

/* FORCE CART TABLE CONTAINER LEFT ALIGNMENT */
.woocommerce-cart .woocommerce-cart-form {
    width: 100% !important;
    flex: 2 !important; /* Take up more space */
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important; /* Safety Scrollbar */
}

/* CART TABLE - ULTRA COMPACT */
.woocommerce-cart table.shop_table.cart {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    background: transparent !important;
    margin: 0 !important;
    table-layout: auto !important; /* Allow cells to breathe */
}

/* TABLE HEADER - MINIMAL */
.woocommerce-cart table.cart thead {
    border-bottom: 2px solid #222 !important;
}

.woocommerce-cart table.cart thead th {
    color: #C5A059 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 15px 10px !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    text-align: left !important;
    white-space: nowrap !important; /* Prevent header jumble */
}

/* FORCE COLUMN WIDTHS */
.woocommerce-cart table.cart .product-thumbnail { width: 120px !important; min-width: 120px !important; text-align: center !important; }
.woocommerce-cart table.cart .product-name { width: auto !important; }
.woocommerce-cart table.cart .product-price { width: 15% !important; text-align: center !important; }
.woocommerce-cart table.cart .product-quantity { width: 100px !important; text-align: center !important; }
.woocommerce-cart table.cart .product-subtotal { width: 15% !important; text-align: center !important; }
.woocommerce-cart table.cart .product-remove { width: 50px !important; text-align: center !important; }

/* THUMBNAIL IMAGE - FORCE DISPLAY */
.woocommerce-cart table.cart .product-thumbnail img {
    display: block !important;
    width: 100px !important;
    min-width: 100px !important;
    height: auto !important;
    border: 1px solid #333 !important;
    margin: 0 auto !important;
}

/* CART ROWS - COMPACT */
.woocommerce-cart table.cart tbody tr {
    border-bottom: 1px solid #222 !important;
    background: transparent !important;
}

.woocommerce-cart table.cart tbody td {
    padding: 20px 10px !important;
    vertical-align: middle !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
}

/* PRODUCT NAME - LEFT ALIGNED */
.woocommerce-cart table.cart .product-name {
    font-family: 'Bodoni Moda', serif !important;
    font-size: 1.1rem !important;
    text-align: left !important;
}

.woocommerce-cart table.cart .product-name a {
    color: #FFF !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: #C5A059 !important;
}

/* PRICE COLUMN - CENTERED */
.woocommerce-cart table.cart .product-price {
    font-family: 'Montserrat', sans-serif !important;
    color: #CCC !important;
    font-size: 0.95rem !important;
    text-align: center !important;
}

/* QUANTITY - COMPACT INPUT - CENTERED */
.woocommerce-cart table.cart .quantity input {
    width: 60px !important;
    padding: 8px !important;
    text-align: center !important;
    background: #111 !important;
    border: 1px solid #333 !important;
    color: #FFF !important;
    font-family: 'Montserrat', sans-serif !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
}

/* SUBTOTAL - CENTERED */
.woocommerce-cart table.cart .product-subtotal {
    font-family: 'Montserrat', sans-serif !important;
    color: #FFF !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* REMOVE BUTTON - CENTERED */
.woocommerce-cart table.cart .product-remove a {
    color: #555 !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.woocommerce-cart table.cart .product-remove a:hover {
    color: #FF0000 !important;
}

/* CART ACTIONS ROW - COMPACT */
.woocommerce-cart .actions {
    padding: 20px 0 !important;
    background: transparent !important;
    border-top: 1px solid #222 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

/* COUPON FORM - INLINE */
.woocommerce-cart .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.woocommerce-cart .coupon input {
    background: #000 !important;
    border: 1px solid #333 !important;
    color: #FFF !important;
    padding: 10px 15px !important;
    width: 180px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    border-radius: 0 !important;
}

.woocommerce-cart button[name="apply_coupon"],
.woocommerce-cart button[name="update_cart"] {
    background: transparent !important;
    border: 1px solid #C5A059 !important;
    color: #C5A059 !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 0.75rem !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
}

.woocommerce-cart button[name="apply_coupon"]:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: #C5A059 !important;
    color: #000 !important;
}

/* CART TOTALS SIDEBAR - STICKY & COMPACT */
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    float: none !important;
    flex: 0 0 350px !important; /* Fixed width for sidebar */
    max-width: 350px !important;
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    background: #0b0b0b !important;
    border: 2px solid #222 !important;
    padding: 35px !important;
    position: sticky !important;
    top: 180px !important;
    margin: 0 !important;
}

.woocommerce-cart .cart_totals h2 {
    font-family: 'Bodoni Moda', serif !important;
    color: #C5A059 !important;
    text-transform: uppercase !important;
    font-size: 1.8rem !important;
    margin: 0 0 25px 0 !important;
    border-bottom: 2px solid #222 !important;
    padding-bottom: 15px !important;
    font-weight: 400 !important;
}

/* TOTALS TABLE - CLEAN */
.woocommerce-cart .cart_totals table {
    width: 100% !important;
    border: none !important;
}

.woocommerce-cart .cart_totals table th {
    color: #888 !important;
    text-align: left !important;
    padding: 12px 0 !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 2px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #222 !important;
}

.woocommerce-cart .cart_totals table td {
    text-align: right !important;
    color: #FFF !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #222 !important;
}

/* ORDER TOTAL - EMPHASIS */
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 1.3rem !important;
    color: #C5A059 !important;
    border-top: 2px solid #222 !important;
    padding-top: 20px !important;
    font-weight: 700 !important;
}

/* CHECKOUT BUTTON - GOLD & PROMINENT */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 25px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: #C5A059 !important;
    color: #000 !important;
    padding: 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    font-size: 0.9rem !important;
    border: 2px solid #C5A059 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: transparent !important;
    color: #C5A059 !important;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3) !important;
}

/* CROSS SELLS (CART BOTTOM) */
.woocommerce-cart .cross-sells {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-top: 60px !important;
    border-top: 1px solid #222 !important;
    padding-top: 40px !important;
}

.woocommerce-cart .cross-sells h2 {
    font-family: 'Bodoni Moda', serif !important;
    font-size: 2rem !important;
    color: #FFF !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .woocommerce-cart .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 15px !important;
    }

    .woocommerce-cart .cart_totals {
        position: relative !important;
        top: 0 !important;
        padding: 25px !important;
    }

    .woocommerce-cart .actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .woocommerce-cart .coupon {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }

    .woocommerce-cart .coupon input,
    .woocommerce-cart .coupon button,
    .woocommerce-cart button[name="update_cart"] {
        width: 100% !important;
        padding: 15px !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

/* VERY SMALL MOBILE - STACK THUMBNAILS */
@media (max-width: 600px) {
    .woocommerce-cart table.cart thead {
        display: none !important;
    }

    /* Force the Thumbnail Image to Show */
    .woocommerce-cart table.cart .product-thumbnail a {
        display: block !important;
        border: none !important;
    }
    
    .woocommerce-cart table.cart .product-thumbnail img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .woocommerce-cart table.cart tbody tr {
        display: grid !important;
        grid-template-columns: 100px 1fr !important;
        grid-template-areas:
            "thumb name"
            "thumb price"
            "thumb qty"
            "thumb subtotal"
            "remove remove" !important;
        gap: 15px !important;
        padding: 15px 0 !important;
    }

    .woocommerce-cart table.cart .product-thumbnail {
        grid-area: thumb !important;
        width: 90px !important;
    }

    .woocommerce-cart table.cart .product-name {
        grid-area: name !important;
    }

    .woocommerce-cart table.cart .product-price {
        grid-area: price !important;
    }

    .woocommerce-cart table.cart .product-quantity {
        grid-area: qty !important;
        width: 100% !important;
    }

    .woocommerce-cart table.cart .product-subtotal {
        grid-area: subtotal !important;
    }

    .woocommerce-cart table.cart .product-remove {
        grid-area: remove !important;
        text-align: center !important;
        padding-top: 10px !important;
        border-top: 1px solid #222 !important;
    }

    .woocommerce-cart table.cart .product-price::before,
    .woocommerce-cart table.cart .product-quantity::before,
    .woocommerce-cart table.cart .product-subtotal::before {
        content: attr(data-title) ': ';
        color: #C5A059 !important;
        font-size: 0.75rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-family: 'Montserrat', sans-serif !important;
        display: inline-block !important;
        margin-right: 10px !important;
    }
}
/* =========================================
   12. FOOTER & MISC
   ========================================= */
footer { border-top: 1px solid #111; padding: 60px 40px; margin-top: 30px; display: flex; justify-content: space-between; align-items: flex-start; max-width: 1400px; margin-left: auto; margin-right: auto; }

/* FOOTER CONTAINMENT PROTOCOL */
footer img, 
.footer-seal, 
.footer-brand img,
.footer-logo {
    max-width: 60px !important;
    height: auto !important;
    width: auto !important;
    display: block;
}

.footer-col { flex: 1; } .footer-brand { display: flex; justify-content: flex-start; } 
.footer-nav { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-nav a { font-family: 'Montserrat', sans-serif !important; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #CCC; }
.footer-nav a:hover { color: var(--gold-solid) !important; letter-spacing: 3px; }
.footer-legal { text-align: right; font-family: 'Montserrat', sans-serif !important; font-weight: 500; font-size: 0.85rem; color: #999; }

/* =========================================
   13. LUXURY PAGINATION
   ========================================= */
.woocommerce-pagination { margin-top: 80px; border-top: 1px solid #222; padding-top: 40px; text-align: center; }
.woocommerce-pagination ul.page-numbers { border: none !important; list-style: none !important; display: inline-flex !important; gap: 10px; padding: 0; margin: 0; }
.woocommerce-pagination ul.page-numbers li { border: none !important; margin: 0 !important; float: none !important; display: inline-block !important; }
.woocommerce-pagination .page-numbers { display: block; background: #111; color: #FFF !important; border: 1px solid #333; padding: 15px 25px; font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; min-width: 50px; }
.woocommerce-pagination .page-numbers.current, .woocommerce-pagination .page-numbers:hover { background: var(--gold-solid) !important; color: #000 !important; border-color: var(--gold-solid) !important; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); }
.woocommerce-pagination .next, .woocommerce-pagination .prev { font-size: 0.8rem; letter-spacing: 2px; }

/* =========================================
   15. JOURNAL RE-DESIGN (STREAM)
   ========================================= */
.journal-stream-container { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.journal-entry { margin-bottom: 120px; padding-bottom: 80px; border-bottom: 1px solid #222; opacity: 1 !important; }
.journal-entry-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 40px; filter: brightness(0.9); transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 1.5s ease; border: 1px solid #222; }
.journal-entry:hover .journal-entry-img { filter: brightness(1.1); transform: scale(1.02); }
.journal-meta { font-family: var(--font-ui); color: var(--gold-solid); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; display: block; }
.journal-headline { font-family: var(--font-serif); font-size: 3rem; line-height: 1.1; color: #FFF; margin-bottom: 25px; transition: color 0.3s ease; }
.journal-entry:hover .journal-headline { color: var(--gold-solid); }
.journal-excerpt { font-family: 'Tenor Sans', sans-serif; font-size: 1.1rem; color: #CCC; line-height: 1.8; margin-bottom: 30px; max-width: 90%; }
.journal-read-link { display: inline-block; font-family: var(--font-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: #FFF; border-bottom: 1px solid var(--gold-solid); padding-bottom: 5px; transition: all 0.3s ease; }
.journal-read-link:hover { color: var(--gold-solid); letter-spacing: 4px; }

/* =========================================
   16. PAYPAL IMMERSION
   ========================================= */
#payment.woocommerce-checkout-payment { background: #0b0b0b !important; border: 1px solid #333 !important; border-radius: 0 !important; padding: 30px !important; margin-top: 40px !important; }
#payment ul.payment_methods { border-bottom: 1px solid #222 !important; padding: 0 0 20px 0 !important; margin: 0 0 20px 0 !important; }
#payment ul.payment_methods li { background: #111 !important; margin-bottom: 10px !important; padding: 15px !important; border: 1px solid #222 !important; list-style: none !important; }
#payment ul.payment_methods li input[type="radio"] { margin-right: 10px !important; accent-color: var(--gold-solid) !important; }
#payment ul.payment_methods li label { font-family: var(--font-ui) !important; text-transform: uppercase !important; letter-spacing: 2px !important; color: #FFF !important; font-size: 0.9rem !important; cursor: pointer; }
#payment div.payment_box { background-color: #000 !important; color: #AAA !important; padding: 20px !important; margin-top: 15px !important; border: 1px solid var(--gold-solid) !important; font-family: var(--font-sans) !important; font-size: 0.9rem !important; position: relative; }
#payment div.payment_box::before { border-bottom-color: var(--gold-solid) !important; }
.ppc-button-wrapper { display: flex !important; justify-content: center !important; margin-top: 10px !important; }
#payment .place-order { padding: 0 !important; margin-top: 20px !important; }
#place_order { width: 100%; background: var(--gold-solid); color: #000; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 20px; border: none; cursor: pointer; }
#place_order:hover { background: #FFF; }

/* =========================================
   18. SINGLE PRODUCT LUXURY POLISH
   ========================================= */
.variations select, .woocommerce form .form-row .input-text { background-color: #111 !important; border: 1px solid #333 !important; color: #FFF !important; outline: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 15px !important; font-family: var(--font-ui) !important; text-transform: uppercase !important; letter-spacing: 1px !important; font-size: 0.85rem !important; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%23C5A059" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 15px center; background-size: 20px; padding-right: 40px !important; }
.variations select:focus, .woocommerce form .form-row .input-text:focus { border-color: var(--gold-solid) !important; background-color: #000 !important; box-shadow: 0 0 15px rgba(197, 160, 89, 0.15) !important; }
.reset_variations { display: inline-block; margin-top: 10px; font-size: 0.7rem !important; color: #666 !important; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid transparent; }
.reset_variations:hover { color: var(--gold-solid) !important; border-bottom-color: var(--gold-solid); }

/* =========================================
   19. LUXURY ACCORDION
   ========================================= */
.urban-accordion-wrapper { max-width: 900px; margin: 60px auto 100px; border-top: 1px solid #222; }
.ua-accordion-item { border-bottom: 1px solid #222; }
.ua-accordion-trigger { background-color: transparent !important; color: #FFF !important; cursor: pointer; padding: 25px 0; width: 100%; border: none !important; text-align: left; outline: none !important; font-family: var(--font-ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; }
.ua-accordion-trigger:hover, .ua-accordion-trigger.active { color: var(--gold-solid) !important; }
.ua-icon { font-size: 1.2rem; font-weight: 300; color: #666; transition: color 0.3s ease; }
.ua-accordion-trigger:hover .ua-icon, .ua-accordion-trigger.active .ua-icon { color: var(--gold-solid); }
.ua-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.645, 0.045, 0.355, 1); background: transparent; }
.ua-inner-content { padding: 0 0 30px 0; color: #CCC; font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.8; }
.ua-inner-content table.shop_attributes { border: none !important; margin: 0 !important; }
.ua-inner-content table.shop_attributes th, .ua-inner-content table.shop_attributes td { padding: 10px 0 !important; background: transparent !important; border-bottom: 1px solid #222 !important; font-style: normal !important; }
.ua-inner-content table.shop_attributes th { color: #666 !important; font-family: var(--font-ui) !important; font-size: 0.75rem !important; }

/* =========================================
   20. ALERTS & NOTIFICATIONS
   ========================================= */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background-color: #111 !important; color: #FFF !important; border-top: 2px solid var(--gold-solid) !important; font-family: var(--font-ui) !important; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--gold-solid) !important; }
.woocommerce-error { border-top-color: #d9534f !important; }
.woocommerce-mini-cart__empty-message { text-align: center; margin-top: 50px; font-family: var(--font-serif); font-size: 1.5rem; color: #666; }

/* =========================================
   21. DESKTOP ALIGNMENT FIX (CHECKOUT & GRID)
   ========================================= */
@media (min-width: 1025px) {
    /* 1. Forces Billing to stay on the left and span the full height */
    body.woocommerce-checkout .woocommerce > form.checkout .col2-set {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
    }
    /* 2. Forces the "Your Order" Heading to the top right */
    body.woocommerce-checkout #order_review_heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-bottom: 20px !important;
        align-self: start !important;
    }
    /* 3. Forces the actual Order Table directly under the Heading on the right */
    body.woocommerce-checkout #order_review {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
    }
}

/* =========================================
   22. JOURNAL SINGLE POST
   ========================================= */
.journal-content-wrapper {
    max-width: 900px; 
    margin: -100px auto 0; 
    position: relative; 
    z-index: 10; 
    background: var(--bg-black); 
    padding: 60px; 
    border: 1px solid #222;
}

.journal-body {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #DDD;
}

.journal-body p { margin-bottom: 30px; }

.journal-body blockquote {
    border-left: 3px solid var(--gold-solid);
    margin: 40px 0;
    padding-left: 30px;
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #FFF;
    line-height: 1.4;
}

.journal-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #FFF;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: var(--gold-solid);
}

@media (max-width: 768px) {
    .journal-content-wrapper {
        margin-top: 0;
        border: none;
        padding: 40px 20px;
    }
    .hero-section h1.entry-title { font-size: 2.5rem !important; }
}

/* =========================================
   23. SEARCH & 404
   ========================================= */
/* Reuse existing styles, but specific tweaks if needed */
.woocommerce-pagination .page-numbers {
    padding: 15px 20px;
}

/* =========================================
   24. UNIVERSAL POLISH (V106.0)
   ========================================= */

/* A. UNIVERSAL PAGE HERO (No More Black Space) */
body.page:not(.home):not(.woocommerce) .entry-header {
    background: #080808;
    padding: 150px 20px 80px;
    text-align: center;
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}

body.page:not(.home):not(.woocommerce) .entry-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 4rem;
    color: #FFF;
    text-transform: capitalize;
}

body.page:not(.home):not(.woocommerce) .entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: 'Tenor Sans', sans-serif;
    color: #CCC;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* B. THE CLUB POLISH */
.membership-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Perfect 50/50 Split */
    min-height: 80vh;
    align-items: center;
    padding: 0;
    margin-top: 80px;
    border-bottom: 1px solid #222;
}

/* Left Side (Pillars/Image) */
.membership-layout > :first-child {
    padding: 100px 80px;
    border-right: 1px solid #222;
}

/* Right Side (CTA Box) */
.membership-cta-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #080808;
    padding: 100px 80px;
    width: 100%;
    height: 100%;
    border-left: none; /* Handled by grid gap/border-right */
}

.pillar-item { margin-bottom: 50px; }

.membership-headline, .cta-headline {
    font-family: var(--font-serif) !important;
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: 40px !important;
    color: #FFF !important;
}

.pillar-title {
    font-family: var(--font-ui) !important;
    font-size: 1rem !important;
    letter-spacing: 3px !important;
    color: var(--gold-solid) !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.pillar-desc, .cta-desc {
    font-family: var(--font-sans) !important;
    font-size: 1.2rem !important;
    opacity: 0.9 !important;
    line-height: 1.8 !important;
    color: #CCC !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Polish */
.membership-cta-box .btn-solid-gold,
.membership-layout .button {
    margin-top: 40px;
    font-size: 0.9rem !important;
    padding: 20px 40px !important;
    letter-spacing: 2px !important;
    font-family: var(--font-ui) !important;
    text-transform: uppercase !important;
}

/* Mobile Stack */
@media (max-width: 1024px) {
    .membership-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .membership-layout > :first-child,
    .membership-cta-box {
        padding: 60px 20px;
        border-right: none;
        border-bottom: 1px solid #222;
    }
    .membership-headline, .cta-headline {
        font-size: 2.5rem !important;
    }
}

/* =========================================
   25. DESKTOP GRID UPGRADE (1025px+)
   ========================================= */
@media (min-width: 1025px) {
    /* Upgrades the default 2-col to 4-col ONLY on large screens */
    .favorites-grid, body.woocommerce ul.products { 
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 30px !important;
    }
    
    body.woocommerce-checkout .woocommerce > form.checkout { 
        display: grid !important; 
        grid-template-columns: 1fr 450px !important; 
        gap: 80px !important; 
        max-width: 1400px !important; 
        margin: 60px auto !important; 
        padding: 60px 40px !important; 
        background: #0b0b0b !important; 
        border: 1px solid #222 !important; 
    }
    
    .woocommerce-cart .woocommerce { 
        display: grid !important; 
        grid-template-columns: 1fr 350px !important; 
        gap: 60px !important; 
    }
}

/* SURGICAL UPDATE 1: MOBILE MENU BUTTON */
@media (max-width: 1024px) {
    /* 1. Hide Desktop Nav Elements */
    .main-nav, 
    .header-actions { 
        display: none !important; 
    }

    /* 2. Style and Reveal Mobile Toggle */
    .mobile-toggle { 
        display: block !important; 
        margin-left: auto; 
        background: transparent; 
        border: 1px solid #FFF; 
        color: #FFF; 
        padding: 10px 15px; 
        font-family: 'Montserrat', sans-serif; 
        text-transform: uppercase; 
        font-size: 0.75rem; 
        letter-spacing: 2px;
        cursor: pointer; 
        position: relative;
        z-index: 99999; /* Ensures it sits above hero images */
    }
}

/* SURGICAL UPDATE 2: THE ACTIVE MENU STATE */
@media (max-width: 1024px) {
    /* When the "active" class is added, show the menu */
    .main-nav.active { 
        display: flex !important; 
        flex-direction: column; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh; 
        background: #000; /* Solid Black Background */
        z-index: 99990; /* Sits just below the button */
        justify-content: center; 
        align-items: center;
        padding: 40px; 
    }

    /* Style the links inside the mobile menu */
    .main-nav.active a { 
        font-size: 1.5rem; 
        margin-bottom: 30px; 
        display: block;
        opacity: 1;
    }
}

/* SURGICAL UPDATE 4: MOBILE LAYOUT & SCROLL FIX */
@media (max-width: 1024px) {
    /* 1. Stop Horizontal Scroll */
    html, body { 
        overflow-x: hidden !important; 
        width: 100% !important; 
        position: relative; 
    }

    /* 2. Resize Hero Text (It was pushing the width out) */
    .hero-content h1 { 
        font-size: 3rem !important; 
        line-height: 1.1 !important; 
        word-wrap: break-word; 
    }

    /* 3. Stack The Sections (Fixes missing images & width) */
    .dispatch-section, 
    .membership-layout { 
        display: flex !important; 
        flex-direction: column !important; 
        width: 100% !important; 
        height: auto !important; 
        min-height: auto !important; 
    }

    /* 4. Fix "Missing" Images (Give them height) */
    .dispatch-image-wrapper,
    .membership-layout > :first-child { 
        width: 100% !important; 
        height: 400px !important; /* Forces image to appear */
        min-height: 400px !important;
        border-right: none !important; 
        border-bottom: 1px solid #222; 
    }

    /* 5. Fix Text Padding on Mobile */
    .dispatch-text, 
    .membership-cta-box, 
    .home-section { 
        width: 100% !important; 
        padding: 60px 20px !important; 
    }
}

/* SURGICAL UPDATE 5: SHOP GRID MOBILE FIX */
@media (max-width: 1024px) {
    /* Force 2 Columns on Mobile Shop */
    .favorites-grid, 
    body.woocommerce ul.products { 
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important; /* THE FIX */
        gap: 15px !important; /* Breathing room */
    }

    /* Reset margins so cards fit perfectly */
    body.woocommerce ul.products li.product, 
    .product-card {
        width: 100% !important;
        margin-bottom: 0 !important;
        padding: 10px !important; 
    }
    
    /* Resize Titles for Mobile */
    .product-title, 
    body.woocommerce ul.products li.product h2 {
        font-size: 0.9rem !important;
    }
}

/* SURGICAL UPDATE 6: CARD HEIGHT RESET */
@media (max-width: 1024px) {
    /* 1. Remove the forced Desktop Height */
    body.woocommerce ul.products li.product, 
    .product-card {
        min-height: 0 !important; /* THE FIX: Allows card to shrink */
        height: auto !important;  /* Fits content naturally */
        padding-bottom: 15px !important;
    }

    /* 2. Tighten spacing inside the card */
    body.woocommerce ul.products li.product a img, 
    .card-image-wrap {
        margin-bottom: 10px !important;
    }
    
    .product-title, 
    body.woocommerce ul.products li.product h2 {
        margin-bottom: 5px !important;
    }
    
    .price {
        margin-bottom: 10px !important;
    }
}

/* SURGICAL UPDATE 7: SINGLE PRODUCT MOBILE STACK */
@media (max-width: 1024px) {
    /* 1. Force Vertical Stacking (Image top, Text bottom) */
    .urban-cinematic-wrapper { 
        flex-direction: column !important; 
        gap: 0 !important; 
    }

    /* 2. Make Columns Full Width */
    .urban-gallery-side, 
    .urban-summary-side { 
        width: 100% !important; 
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
    }

    /* 3. Reset Text Container Styles */
    .urban-summary-side { 
        padding: 30px 20px !important; 
        border-left: none !important; 
        border-top: 1px solid #222 !important; 
        position: relative !important; /* Disable "Sticky" effect on mobile */
        top: 0 !important; 
    }

    /* 4. Resize Title for Mobile */
    .urban-summary-side h1.product_title { 
        font-size: 2rem !important; 
        line-height: 1.1 !important; 
    }
}

/* SURGICAL UPDATE 8: VAULT MOBILE WIDTH FIX */
@media (max-width: 1024px) {
    /* 1. Force Full Screen Width */
    #urban-slide-cart { 
        width: 100% !important; 
        max-width: 100% !important; 
        right: -100% !important; /* Fully hidden off-screen */
    }

    /* 2. Slide In to 0 (Full Cover) */
    body.urban-cart-open #urban-slide-cart { 
        right: 0 !important; 
    }

    /* 3. Adjust Padding so "X" is visible */
    .urban-cart-header-row {
        padding-right: 10px !important;
    }
}

/* SURGICAL UPDATE 9: CART PAGE MENU FIX */
@media (max-width: 1024px) {
    /* Force Header elements to be visible on Cart/Checkout */
    body.woocommerce-cart .site-header,
    body.woocommerce-checkout .site-header {
        display: block !important;
        z-index: 99999 !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
    }

    /* Ensure the toggle is visible specifically on these pages */
    body.woocommerce-cart .mobile-toggle,
    body.woocommerce-checkout .mobile-toggle {
        display: block !important;
        pointer-events: auto !important; /* Force clickable */
    }
    
    /* Ensure the nav overlay sits on top of everything */
    body.woocommerce-cart .main-nav.active,
    body.woocommerce-checkout .main-nav.active {
        z-index: 100000 !important;
    }
}

/* SURGICAL UPDATE 14: THE CLUB FINAL HEIGHT RELEASE */
@media (max-width: 1024px) {
    /* 1. Break the Parent Container to allow infinite growth */
    .membership-layout {
        display: block !important;
        width: 100% !important;
        height: auto !important; 
        min-height: auto !important;
        max-height: none !important; /* Kill any height limits */
        overflow: visible !important; /* Force content to show */
        flex: none !important; /* Disable flex behaviors */
    }

    /* 2. Reset the Image Top Half */
    .membership-layout > :first-child {
        display: block !important;
        width: 100% !important;
        height: 400px !important;
        min-height: 400px !important;
    }

    /* 3. Reset the Text Bottom Half */
    .membership-cta-box {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important; /* Grow with content */
        min-height: 0 !important;
        padding: 80px 30px !important;
        background: #080808 !important;
        overflow: visible !important;
    }

    /* 4. Force Pillars to take up physical space */
    .pillar-item {
        display: block !important;
        height: auto !important;
        margin-bottom: 50px !important;
        padding-bottom: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* SURGICAL UPDATE 17: MOBILE FOOTER SPACING */
@media (max-width: 1024px) {
    /* 1. Stack the footer columns vertically */
    footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 50px !important; /* Adds 50px of space between sections */
        text-align: center !important;
        padding-bottom: 80px !important; /* Extra space at the very bottom */
    }

    /* 2. Reset column widths so they stack nicely */
    .footer-col {
        width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0 !important; /* Let the gap handle spacing */
    }

    /* 3. Center the Legal/Copyright text */
    .footer-legal {
        text-align: center !important;
        margin-top: 10px !important;
    }

    /* 4. Center the Brand/Logo */
    .footer-brand {
        justify-content: center !important;
    }
}

/* SURGICAL UPDATE 18: HOMEPAGE 4-ITEM GRID */

/* DESKTOP: Expand to 4 Columns */
@media (min-width: 1025px) {
    .favorites-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
    }
}

/* MOBILE: Force 2 Columns (2x2 Grid) */
@media (max-width: 1024px) {
    .favorites-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Ensure the cards fit nicely in the grid */
    .favorites-grid .product-card {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* SURGICAL UPDATE 19: CHECKOUT MOBILE CONTAINMENT */
@media (max-width: 1024px) {
    /* 1. Constrain the Main Checkout Container */
    .woocommerce-checkout .col2-set, 
    .woocommerce-checkout #order_review_heading, 
    .woocommerce-checkout #order_review {
        width: 100% !important;
        padding: 0 15px !important; /* Ensure edges don't touch screen */
        box-sizing: border-box !important;
        float: none !important;
        margin-right: 0 !important;
    }

    /* 2. Fix Input Fields Overflow */
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; /* Includes padding in width */
    }

    /* 3. Tame the Order Table (The usual suspect) */
    .woocommerce-checkout table.shop_table {
        width: 100% !important;
        table-layout: fixed !important; /* Forces table to fit container */
        display: block !important; /* Allows internal scroll if needed */
        overflow-x: auto !important;
    }
    
    /* 4. Fix Payment Box Width */
    #payment {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* SURGICAL UPDATE 20: CHECKOUT SHIFT FIX */
@media (max-width: 1024px) {
    /* 1. Reset the Main Columns (Kill the left margin) */
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    /* 2. Reset the Form Rows (The inputs themselves) */
    .woocommerce-checkout .form-row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    /* 3. Force the Labels and Inputs to align left */
    .woocommerce-checkout label,
    .woocommerce-checkout input,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important; /* Prevents padding from breaking width */
    }

    /* 4. Ensure the Container Body doesn't have hidden padding */
    .woocommerce-checkout .entry-content,
    .woocommerce-checkout .woocommerce {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* SURGICAL UPDATE 21: INPUT BOX CONTAINMENT FIX */
@media (max-width: 1024px) {
    /* 1. The Mathematical Fix: Force padding to stay INSIDE the box */
    .woocommerce-checkout input.input-text,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea,
    .select2-container {
        box-sizing: border-box !important; /* The Critical Rule */
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; /* remove any forced minimums */
    }

    /* 2. Safety Buffer: Ensure inputs don't touch the screen edge */
    .woocommerce-checkout .form-row {
        padding-right: 5px !important; 
        box-sizing: border-box !important;
    }
    
    /* 3. Handle specific WooCommerce wrapper weirdness */
    .woocommerce-input-wrapper {
        width: 100% !important;
        display: block !important;
    }
}

/* SURGICAL UPDATE 22: THE GATHERINGS MASONRY LAYOUT */

/* 1. Target the Standard WordPress Gallery */
.gallery, .wp-block-gallery {
    column-count: 3 !important; /* 3 Columns on Desktop */
    column-gap: 20px !important;
    display: block !important; /* Overrides default flex/grid */
}

/* 2. Make the Images "Brick" properly */
.gallery-item, .wp-block-image {
    display: inline-block !important; /* Essential for Masonry */
    width: 100% !important;
    margin: 0 0 20px 0 !important; /* Space bottom */
    break-inside: avoid !important; /* Don't cut images in half */
    vertical-align: top !important;
}

/* 3. Ensure Images fill the width */
.gallery-item img, .wp-block-gallery img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important; /* Sharp luxury corners */
    display: block !important;
}

/* 4. Mobile Responsiveness (1 Column) */
@media (max-width: 768px) {
    .gallery, .wp-block-gallery {
        column-count: 1 !important; /* Stack vertically on phone */
    }
}

/* SEPARATION TWEAK: Space between different event galleries */
.gallery, .wp-block-gallery {
    margin-bottom: 80px !important; /* Pushes the next event title down */
    padding-bottom: 20px !important;
    border-bottom: 1px solid #333; /* Optional: A thin line separating events */
}

.wp-block-heading {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c5a059; /* Your Gold Color */
}

/* SURGICAL UPDATE 24: GATHERINGS MENU STYLING */
.gatherings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
    margin-top: 40px;
}

.gathering-card {
    position: relative;
    height: 350px; /* Tall, portrait look */
    border: 1px solid #333;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gathering-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    border-color: #c5a059; /* Gold border on hover */
}

.gathering-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

/* Darken image slightly so text pops */
.gathering-card:hover .gathering-image {
    opacity: 0.8;
}

.gathering-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8); /* Semi-transparent black bar */
    padding: 15px;
    text-align: center;
}

.gathering-title h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile: Stack them */
@media (max-width: 768px) {
    .gatherings-grid {
        grid-template-columns: 1fr; /* 1 Column */
    }
}

