/* Mobile-First Brutalist CSS */

:root {
    --bg-dark: #050505;
    --bg-panel: #111111;
    --text-main: #f4f4f4;
    --text-muted: #666666;
    --accent: #ff2a00;
    --border: #333333;
    
    --font-display: 'Anton', sans-serif;
    --font-heading: 'Syne', sans-serif;
    --font-tech: 'Space Mono', monospace;

    --transition: 0.2s all ease-in-out;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-tech);
    overflow-x: hidden;
    line-height: 1.4;
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999; opacity: 0.05;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
}

::selection { background: var(--text-main); color: var(--bg-dark); }

.tech-text {
    font-family: var(--font-tech); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px;
}

/* Promo Bar */
.ticker-top {
    background: var(--text-main); color: var(--bg-dark);
    font-size: 0.75rem; font-weight: bold; padding: 5px 0;
    border-bottom: 2px solid var(--text-main); letter-spacing: 1px;
}

/* Header Mobile First */
.urban-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem; border-bottom: 2px solid var(--border);
    position: sticky; top: 0; background: rgba(5,5,5,0.9);
    backdrop-filter: blur(5px); z-index: 1000;
}
.logo a, .logo-text {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
    text-decoration: none; outline: none; color: var(--text-main); text-transform: uppercase;
    margin: 0; line-height: 1; font-weight: normal;
}
.nav-btn, .nav-link {
    font-family: var(--font-tech); font-size: 0.9rem;
    cursor: pointer; text-transform: uppercase; background: none; border: none; color: var(--text-main);
}
.header-left, .header-right { display: flex; gap: 1rem; align-items: center; }
.hidden-mobile { display: none; }

/* Off-Canvas Menu */
.offcanvas-menu {
    position: fixed; top: 0; left: -100vw; width: 85vw; height: 100vh;
    background: var(--bg-dark); border-right: 2px solid var(--border);
    z-index: 2000; display: flex; flex-direction: column;
    transition: left 0.3s ease-in-out;
}
.offcanvas-menu.open { left: 0; }
.offcanvas-header {
    padding: 1rem; border-bottom: 2px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.offcanvas-header h3 { font-size: 1rem; }
.close-menu { background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }
.offcanvas-nav { padding: 2rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; }
.offcanvas-nav a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; color: var(--text-main); }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8); z-index: 1500; opacity: 0; pointer-events: none; transition: 0.3s;
}
.menu-overlay.show { opacity: 1; pointer-events: all; }

/* Hero Mobile First */
.hero-brutal {
    position: relative; padding: 1rem; min-height: 80vh;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-image-wrapper {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; height: 60%; z-index: -1; border: 2px solid var(--border);
}
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%) contrast(120%); }
.tech-spec-overlay { position: absolute; bottom: 5px; right: 5px; font-size: 0.6rem; background: rgba(0,0,0,0.5); padding: 5px; }

.hero-text-massive h1 {
    font-family: var(--font-display); font-size: clamp(4rem, 18vw, 15rem);
    line-height: 0.8; text-transform: uppercase; color: var(--text-main);
    mix-blend-mode: exclusion; position: relative; z-index: 2; margin-bottom: 1rem;
}
.glitch { position: relative; }
/* ... (keep glitch anims) ... */
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8; }
.glitch::before { left: 4px; text-shadow: -2px 0 var(--accent); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch::after { left: -4px; text-shadow: -2px 0 #00ffff; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 44px, 0); } 100% { clip: rect(60px, 9999px, 10px, 0); } }

.hero-sub {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    border-top: 2px solid var(--border); padding-top: 1rem; margin-top: 1rem;
}

/* Buttons */
.btn-brutal {
    display: inline-block; padding: 10px 15px; background: var(--text-main); color: var(--bg-dark);
    font-weight: bold; text-transform: uppercase; border: 2px solid var(--text-main);
    cursor: pointer; text-decoration: none; transition: var(--transition); font-size: 0.9rem;
}
.btn-brutal:hover { background: var(--bg-dark); color: var(--text-main); }
.w-100 { width: 100%; text-align: center; }

/* Shop Section Mobile First */
.shop-brutal { border-top: 2px solid var(--border); }
.shop-top-bar {
    display: flex; flex-direction: column; gap: 1rem; padding: 1rem; border-bottom: 2px solid var(--border);
}
.shop-title h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.shop-controls { display: flex; justify-content: space-between; width: 100%; gap: 10px; }
.floating-filter-btn { flex: 1; text-align: center; background: var(--bg-panel); color: var(--text-main); border-color: var(--border); }

select {
    background: transparent; color: var(--text-main); border: 1px solid var(--border);
    padding: 10px; outline: none; cursor: pointer; text-transform: uppercase; flex: 1; width: 100%;
}
select option { background: var(--bg-dark); }

.shop-layout { display: flex; flex-direction: column; }

/* Mobile Off-Canvas Filters */
.filters-brutal {
    position: fixed; bottom: -100vh; left: 0; width: 100vw; height: 85vh;
    background: var(--bg-dark); border-top: 2px solid var(--text-main);
    z-index: 2500; padding: 1rem; transition: bottom 0.3s ease-in-out;
    display: flex; flex-direction: column;
}
.filters-brutal.open { bottom: 0; }
.filters-header-mobile { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1rem; }
.close-filters { background: none; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; }
.filter-block { flex: 1; overflow-y: auto; }
.filters-footer-mobile { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Filter Radio Styles */
.filter-title { font-weight: bold; margin-bottom: 1rem; color: var(--text-muted); }
.filter-radio { display: block; cursor: pointer; margin-bottom: 1rem; font-size: 1rem; }
.filter-radio input { display: none; }
.filter-radio span { position: relative; padding-left: 30px; }
.filter-radio span::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border: 2px solid var(--text-muted); }
.filter-radio input:checked + span { color: var(--accent); }
.filter-radio input:checked + span::before { background: var(--accent); border-color: var(--accent); }

/* Products Grid Mobile First: 2 Columns! */
.products-grid-brutal {
    display: grid; grid-template-columns: repeat(2, 1fr);
}
.product-card-brutal {
    border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 0.5rem; display: flex; flex-direction: column; background: var(--bg-dark);
}
.product-card-brutal:nth-child(even) { border-right: none; }

.prod-tech-header { font-size: 0.55rem; display: flex; flex-direction: column; color: var(--text-muted); margin-bottom: 5px; }
.prod-image { display: block; width: 100%; aspect-ratio: 4/5; background: var(--bg-panel); border: 1px solid var(--border); position: relative; margin-bottom: 0.5rem; overflow: hidden; flex-shrink: 0; }
.prod-image img { width: 100%; height: 100%; object-fit: cover; }
.prod-badges { position: absolute; top: 5px; left: 5px; display: flex; flex-direction: column; gap: 2px; }
.brutal-badge { background: var(--text-main); color: var(--bg-dark); padding: 2px 4px; font-size: 0.55rem; font-weight: bold; }
.prod-name { font-family: var(--font-heading); font-size: 0.9rem; font-weight: bold; text-transform: uppercase; line-height: 1.2; }
.prod-price { font-size: 0.8rem; margin-top: 5px; }
.prod-actions { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.prod-actions button { padding: 8px; font-size: 0.75rem; background: transparent; color: var(--text-main); border: 1px solid var(--border); }
.btn-accent { background: var(--accent) !important; color: white !important; border-color: var(--accent) !important; }
a.added_to_cart { display: none !important; }

/* Mini Cart Mobile First */
.mini-cart-sidebar {
    position: fixed; top: 0; right: -100vw; width: 90vw; height: 100vh;
    background: var(--bg-dark); border-left: 2px solid var(--border); z-index: 3000;
    display: flex; flex-direction: column; transition: right 0.3s ease-in-out;
}
.mini-cart-sidebar.open { right: 0; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); z-index: 2500; opacity: 0; pointer-events: none; transition: 0.3s; }
.cart-overlay.show { opacity: 1; pointer-events: all; }
.mini-cart-header { padding: 1rem; border-bottom: 2px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.close-cart, .qv-close { background: transparent; color: var(--text-main); border: none; font-size: 1.5rem; cursor: pointer; }
.mini-cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-item { display: flex; gap: 10px; margin-bottom: 15px; border: 1px solid var(--border); padding: 5px; }
.cart-item img { width: 60px; height: 80px; object-fit: cover; filter: grayscale(100%); }
.cart-item-details { flex: 1; font-size: 0.8rem; display: flex; flex-direction: column; justify-content: center; }
.cart-item-title { font-family: var(--font-heading); font-weight: bold; font-size: 0.9rem; }
a.remove-item, a.remove { 
    display: inline-block !important; 
    width: auto !important; 
    height: auto !important; 
    line-height: normal !important; 
    background: transparent !important; 
    border-radius: 0 !important; 
    color: var(--accent) !important; 
    text-decoration: none !important; 
    font-size: 0.75rem !important; 
    font-weight: bold !important; 
    margin-top: 10px !important; 
    padding: 0 !important;
}
a.remove-item:hover, a.remove:hover { background: transparent !important; color: white !important; }
.mini-cart-footer { padding: 1rem; border-top: 2px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: 10px; font-weight: bold; }

/* Quick View Mobile First */
.qv-modal-brutal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95);
    z-index: 4000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s;
}
.qv-modal-brutal.open { opacity: 1; pointer-events: all; }
.qv-content { background: var(--bg-dark); width: 95vw; max-height: 90vh; overflow-y: auto; border: 2px solid var(--text-main); position: relative; }
.qv-close { position: absolute; top: 10px; right: 15px; z-index: 10; font-size: 1.5rem; color: var(--accent); }
.qv-body { display: flex; flex-direction: column; }
.qv-image { width: 100%; border-bottom: 2px solid var(--border); }
.qv-image img { width: 100%; height: 300px; object-fit: cover; }
.qv-details { padding: 1.5rem; display: flex; flex-direction: column; }
.qv-details h2 { font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: 0.5rem; }
.qv-price { font-size: 1.2rem; margin-bottom: 1rem; font-weight: bold; }
.qv-desc { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.8rem; }

/* Footer Mobile First */
.banner-brutal { padding: 3rem 1rem; border-top: 2px solid var(--border); background: var(--text-main); color: var(--bg-dark); text-align: center; }
.banner-text h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 10vw, 8rem); line-height: 0.9; }
.footer-brutal { border-top: 2px solid var(--border); }
.footer-top { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 3rem 1rem; border-bottom: 2px solid var(--border); }
.footer-logo { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 5rem); text-transform: uppercase; }
.footer-bottom { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem 1rem; align-items: center; text-align: center; }
.policy-link { color: var(--text-main); text-decoration: none; transition: var(--transition); }
.policy-link:hover { color: var(--accent); }

/* Toasts */
.toast-container { position: fixed; bottom: 20px; left: 10px; z-index: 9999; }
.toast { background: var(--text-main); color: var(--bg-dark); padding: 10px 15px; border-left: 5px solid var(--accent); font-weight: bold; font-size: 0.8rem; }

/* =========================================================================
   TABLET (768px +)
   ========================================================================= */
@media (min-width: 768px) {
    .hidden-mobile { display: inline-block; }
    .nav-btn, .nav-link { font-size: 1rem; }
    .logo a { font-size: 2.5rem; }
    .header-left, .header-right { gap: 2rem; }
    
    .hero-image-wrapper { width: 70%; height: 70%; }
    .hero-sub { flex-direction: row; justify-content: space-between; align-items: flex-end; }
    
    .shop-top-bar { flex-direction: row; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; }
    .shop-controls { width: auto; }
    .floating-filter-btn { display: none; /* Hidden on tablet if using sidebar, but let's keep it for tablet and hide on desktop */ }
    
    .products-grid-brutal { grid-template-columns: repeat(3, 1fr); }
    .product-card-brutal { padding: 1rem; }
    .product-card-brutal:nth-child(even) { border-right: 1px solid var(--border); }
    .product-card-brutal:nth-child(3n) { border-right: none; }
    
    .prod-actions { flex-direction: row; }
    .prod-actions button { flex: 1; }
    
    .mini-cart-sidebar { width: 450px; right: -450px; }
    
    .qv-content { width: 800px; }
    .qv-body { flex-direction: row; }
    .qv-image { width: 50%; border-bottom: none; border-right: 2px solid var(--border); }
    .qv-image img { height: 100%; }
    .qv-details { width: 50%; padding: 2rem; }
    
    .footer-top { flex-direction: row; justify-content: center; padding: 4rem 2rem; }
    .footer-bottom { flex-direction: row; justify-content: space-between; padding: 1.5rem 2rem; text-align: left; }
}

/* =========================================================================
   DESKTOP (992px +)
   ========================================================================= */
@media (min-width: 992px) {
    /* Desktop uses persistent sidebar instead of floating mobile menu */
    #menuToggle { display: none; }
    .offcanvas-menu { display: none; }
    
    .floating-filter-btn { display: none !important; }
    
    .shop-layout { grid-template-columns: 250px 1fr; flex-direction: row; }
    
    .filters-brutal {
        position: static; width: auto; height: auto; background: transparent;
        border-top: none; border-right: 2px solid var(--border); padding: 2rem;
        z-index: 1; transition: none; display: block;
    }
    .filters-header-mobile, .filters-footer-mobile { display: none; }
    .filter-block { overflow-y: visible; }
    
    .products-grid-brutal { grid-template-columns: repeat(4, 1fr); }
    /* Fix borders for 4 column desktop grid */
    .product-card-brutal { border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); }
    .product-card-brutal:nth-child(even), .product-card-brutal:nth-child(3n) { border-right: 2px solid var(--border); }
    .product-card-brutal:nth-child(4n) { border-right: none; }
}

/* =========================================================================
   SINGLE PRODUCT & WOOCOMMERCE
   ========================================================================= */
.single-product-brutal { padding: 2rem; border-top: 2px solid var(--border); }
.sp-layout { display: flex; flex-direction: column; gap: 2rem; }
.sp-gallery { border: 2px solid var(--border); background: var(--bg-panel); position: relative; overflow: hidden; }
.sp-gallery-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sp-gallery-slider::-webkit-scrollbar { display: none; }
.sp-slide { flex: 0 0 100%; scroll-snap-align: start; }
.sp-main-img { width: 100%; height: auto; object-fit: cover; display: block; aspect-ratio: 4/5; }
.sp-gallery-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0; background: var(--bg-panel); border-top: 1px solid var(--border); }
.sp-dot { width: 8px; height: 8px; background: var(--border); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.sp-dot.active { background: var(--text-main); }
.sp-details { display: flex; flex-direction: column; }
.sp-tech-bar { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--accent); font-family: var(--font-tech); margin-bottom: 1rem; border-bottom: 1px dashed var(--border); padding-bottom: 0.5rem; }
.sp-title { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: 0.5rem; }
.sp-price { font-family: var(--font-tech); font-size: 1.5rem; font-weight: bold; margin-bottom: 1.5rem; }
.sp-meta-tech { border: 1px solid var(--border); padding: 1rem; font-size: 0.8rem; font-family: var(--font-tech); color: var(--text-muted); margin-bottom: 2rem; }
.sp-meta-tech p { margin-bottom: 0.5rem; }
.sp-description { margin-bottom: 2rem; line-height: 1.6; }

/* WooCommerce Add to Cart Overrides */
.sp-add-to-cart form.cart { display: block; margin-top: 1rem; }
.sp-add-to-cart form.cart .woocommerce-variation-add-to-cart,
.sp-add-to-cart form.cart:not(.variations_form) { display: flex; gap: 10px; align-items: stretch; margin-top: 1.5rem; }
.sp-add-to-cart .single_variation_wrap { margin-top: 1rem; }
.sp-add-to-cart .quantity input { background: transparent; color: var(--text-main); border: 2px solid var(--border); padding: 10px; font-family: var(--font-tech); width: 80px; text-align: center; font-size: 1.2rem; height: 100%; box-sizing: border-box; }
.sp-add-to-cart button.single_add_to_cart_button { background: white !important; color: black !important; border: 2px solid white !important; font-family: var(--font-tech); font-weight: bold; text-transform: uppercase; padding: 10px 20px; flex-grow: 1; cursor: pointer; transition: 0.2s; height: auto; }
.sp-add-to-cart button.single_add_to_cart_button:hover { background: black !important; color: white !important; }

/* Pagination Brutal */
.pagination-brutal { font-family: var(--font-tech); }
.pagination-brutal .page-numbers { display: inline-block; padding: 10px 15px; border: 1px solid var(--border); color: var(--text-main); text-decoration: none; margin: 0 2px; }
.pagination-brutal .page-numbers.current { background: var(--text-main); color: var(--bg-dark); border-color: var(--text-main); font-weight: bold; }
.pagination-brutal .page-numbers:hover { background: var(--bg-panel); }

@media (min-width: 992px) {
    .sp-layout { flex-direction: row; }
    .sp-gallery { width: 50%; }
    .sp-details { width: 50%; padding: 0 2rem; }
    .sp-title { font-size: 3rem; }
}

/* =========================================================================
   CHECKOUT & FORMS BRUTAL
   ========================================================================= */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background-color: var(--bg-panel) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border) !important;
    padding: 12px !important;
    font-family: var(--font-tech) !important;
    width: 100%;
    border-radius: 0 !important;
    outline: none !important;
}

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

.woocommerce form .form-row select option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Select2 overrides for WooCommerce Country/State fields */
.select2-container--default .select2-selection--single {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    height: 45px !important;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-main) !important;
    font-family: var(--font-tech);
}
.select2-dropdown {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-main) !important;
    border-radius: 0 !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--border) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--text-main) !important;
    color: var(--bg-dark) !important;
}

/* Order Review & Payment Box */
.woocommerce-checkout #payment {
    background: var(--bg-panel) !important;
    border-radius: 0 !important;
    border: 2px solid var(--border);
    font-family: var(--font-tech);
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--border) !important;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: var(--bg-dark) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border);
    border-radius: 0 !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}
.woocommerce table.shop_table {
    border-radius: 0 !important;
    border: 1px solid var(--border) !important;
    border-collapse: collapse;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
    border-top: 1px solid var(--border) !important;
    background: var(--bg-dark);
    color: var(--text-main);
}

/* =========================================================================
   WOOCOMMERCE BLOCK CHECKOUT BRUTAL
   ========================================================================= */
.wc-block-checkout {
    --wc-global-background-color: var(--bg-dark);
    --wc-global-text-color: var(--text-main);
}

.wc-block-components-checkout-step, 
.wc-block-components-checkout-step__container {
    background-color: transparent !important;
}

/* Text Inputs and Combobox (Dropdown) containers */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.components-form-token-field__input-container,
.wc-block-components-combobox .components-base-control__field,
.components-combobox-control__input,
.components-form-token-field__input,
.components-custom-select-control__button {
    background-color: var(--bg-panel) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--font-tech) !important;
}

/* Native select element options */
select, select option {
    background-color: var(--bg-panel) !important;
    color: var(--text-main) !important;
}

/* Labels inside inputs */
.wc-block-components-text-input label,
.wc-block-components-combobox-control label,
.components-combobox-control label {
    color: #888888 !important;
    font-family: var(--font-tech) !important;
}

/* Active Labels */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input.has-value label,
.wc-block-components-combobox-control.is-active label,
.components-combobox-control.has-value label {
    color: var(--text-main) !important;
}

/* Active Inputs */
.wc-block-components-text-input.is-active input,
.wc-block-components-combobox-control.is-active input,
.components-form-token-field__input-container.is-active {
    border-color: var(--text-main) !important;
    outline: none !important;
}

/* Fix Combobox specific backgrounds */
.wc-block-components-combobox-control,
.components-combobox-control {
    background-color: transparent !important;
}

/* Dropdown Arrow Icon */
.components-combobox-control svg {
    fill: var(--text-main) !important;
}

/* =========================================
   DROPDOWN SUGGESTIONS LIST (POPOVER)
   ========================================= */
/* The popup container */
.components-popover__content,
.components-combobox-control__suggestions-container,
.components-form-token-field__suggestions-list {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--text-main) !important;
    border-radius: 0 !important;
}

/* The items in the list */
.components-popover__content *,
.components-combobox-control__suggestions-container *,
.components-form-token-field__suggestions-list *,
.components-form-token-field__suggestion,
.components-combobox-control__suggestion,
.components-custom-select-control__item,
.components-custom-select-control__item *,
.components-menu-item,
.components-menu-item * {
    color: var(--text-main) !important;
    font-family: var(--font-tech) !important;
}

/* Hover & Selected state */
.components-form-token-field__suggestion.is-selected,
.components-combobox-control__suggestion.is-selected,
.components-form-token-field__suggestion:hover,
.components-combobox-control__suggestion:hover,
.components-popover__content button:hover,
.components-custom-select-control__item.is-highlighted,
.components-custom-select-control__item:hover,
.components-menu-item:hover,
.components-menu-item.is-active {
    background-color: var(--text-main) !important;
    color: var(--bg-dark) !important;
}
.components-form-token-field__suggestion.is-selected *,
.components-combobox-control__suggestion.is-selected *,
.components-form-token-field__suggestion:hover *,
.components-combobox-control__suggestion:hover *,
.components-custom-select-control__item.is-highlighted *,
.components-custom-select-control__item:hover *,
.components-menu-item:hover *,
.components-menu-item.is-active * {
    color: var(--bg-dark) !important;
}

/* Checkboxes & Radio */
.wc-block-components-checkbox input[type="checkbox"],
.wc-block-components-radio input[type="radio"] {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--text-main) !important;
    border-radius: 0 !important;
}

/* AGGRESSIVE FIX FOR DROPDOWN OPTIONS TEXT */
select,
select option,
.wc-block-components-combobox-control select option,
.components-custom-select-control__item,
.components-combobox-control__suggestion,
.components-form-token-field__suggestion {
    color: #ffffff !important;
    background-color: #111111 !important;
}
select option:checked,
select option:hover,
.components-custom-select-control__item.is-highlighted,
.components-combobox-control__suggestion.is-selected,
.components-form-token-field__suggestion.is-selected {
    color: #000000 !important;
    background-color: #ffffff !important;
}
.wc-block-components-checkbox input[type="checkbox"]:checked,
.wc-block-components-radio input[type="radio"]:checked {
    background-color: var(--text-main) !important;
}

/* =========================================================================
   FILM STRIP MARQUEE (CRUDO BRAND)
   ========================================================================= */
.marquee-brutal {
    width: 100vw;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 2rem 0;
    border-bottom: 2px solid var(--border);
    position: relative;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 45s linear infinite;
    gap: 15px;
}

.marquee-content img {
    height: 350px;
    width: 280px;
    object-fit: cover;
    border: 2px solid var(--border);
    filter: grayscale(30%) contrast(110%);
    transition: var(--transition);
}

.marquee-content img:hover {
    filter: grayscale(0%) contrast(100%);
    border-color: var(--text-main);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5px)); }
}

@media (max-width: 768px) {
    .marquee-brutal { padding: 1rem 0; }
    .marquee-content {
        animation-duration: 20s;
    }
    .marquee-content img {
        height: 250px;
        width: 200px;
    }
}

/* =========================================================================
   VARIATION SWATCHES BRUTAL
   ========================================================================= */
.brutal-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.brutal-swatch-btn {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
    padding: 10px 15px;
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
    min-width: 60px;
    text-align: center;
}
.brutal-swatch-btn:hover {
    border-color: var(--text-main);
}
.brutal-swatch-btn.selected {
    background: var(--text-main) !important;
    color: var(--bg-dark) !important;
    border-color: var(--text-main) !important;
}
.brutal-swatch-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    text-decoration: line-through;
}
.variations .reset_variations {
    color: var(--accent);
    font-family: var(--font-tech);
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 5px;
}

/* Single Product Gallery Arrows */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-main);
    color: var(--bg-dark);
    border: 2px solid var(--border);
    font-family: var(--font-tech);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.gallery-btn:hover {
    background: var(--bg-dark);
    color: var(--text-main);
    border-color: var(--text-main);
}
@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
    .variations_form table.variations, 
    .variations_form table.variations tbody, 
    .variations_form table.variations tr, 
    .variations_form table.variations td {
        display: block !important;
        width: 100% !important;
    }
    .variations_form table.variations td.label {
        margin-bottom: 10px;
        text-align: left;
        padding-bottom: 0;
    }
    .variations_form table.variations td.value {
        padding-top: 0;
    }
}
