/*
Theme Name: SteezeBlackGold
Description: Premium Black & Gold Gadget Store - High-End Dark UI
Author: Ndoyin Sam
Version: 1.0
Text Domain: steezeblackgold
*/

/* --- 1️⃣ DESIGN SYSTEM (Rule 2) --- */
:root {
  --black-primary: #000000;
  --black-secondary: #111111;
  --gold-primary: #D4A017;
  --gold-dark: #B88B0C;
  --white: #ffffff;
  --gray-light: #D4D4D4;
  --gold-glow: 0 10px 25px rgba(212, 160, 23, 0.4);
  --section-spacing: 80px;
}

/* --- 2️⃣ CORE DEFAULTS --- */
* { box-sizing: border-box; }

body {
    background-color: var(--black-primary);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { 
    color: var(--white); 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- PATCH: Widen Desktop View --- */
.container { 
    max-width: 1440px; /* Increased from 1200px to fill more screen */
    margin: 0 auto; 
    padding: 0 40px; /* More breathing room on the sides */
}

/* Ensure all sections span the full width of the browser */
section, header, footer {
    width: 100%;
    margin: 0;
}

.gold-text { color: var(--gold-primary); }

/* --- 3️⃣ HEADER & TOP BAR (Rule 3) --- */
.top-bar {
    background: var(--black-secondary);
    font-size: 0.8rem;
    padding: 10px 0;
    border-bottom: 1px solid #222;
}

.main-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: 800; }

/* Navigation Menu Styling */
.main-header ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-header ul li a { font-weight: 600; font-size: 0.9rem; }
.main-header ul li a:hover { color: var(--gold-primary); }

/* --- 4️⃣ BUTTONS (Rule 2 & 8) --- */
.gold-btn, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 14px 35px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-block;
    cursor: pointer;
}

.gold-btn:hover, .woocommerce a.button.alt:hover {
    box-shadow: var(--gold-glow);
    transform: translateY(-3px);
}

/* --- 5️⃣ PRODUCT CARDS & HOVER (Rule 8) --- */
.woocommerce ul.products li.product {
    background: var(--black-secondary) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #1a1a1a !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--gold-glow);
    border: 1px solid var(--gold-primary) !important;
}

.woocommerce ul.products li.product h2 {
    font-size: 1rem !important;
    margin: 15px 0 !important;
}

.woocommerce ul.products li.product .price {
    color: var(--gold-primary) !important;
    font-size: 1.2rem !important;
}

/* --- 6️⃣ FRONT PAGE GRID LOGIC --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cat-card {
    background: var(--black-secondary);
    border: 1px solid #222;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.4s;
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--gold-primary);
    background: #1a1a1a;
}

/* --- 7️⃣ FOOTER (Rule 7) --- */
.steeze-footer {
    background: var(--black-primary);
    border-top: 1px solid #222;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gold-primary);
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-light);
    border-top: 1px solid #111;
    padding-top: 30px;
}

/* --- 8️⃣ UTILITIES --- */
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Sticky Header Scrolled State */
.header-scrolled {
    background: var(--black-primary) !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    border-bottom: 1px solid var(--gold-dark);
}

/* Mobile Sticky ATC Button (Rule 11) */
.mobile-sticky-btn {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    border-radius: 0 !important;
    padding: 18px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 -5px 15px rgba(212, 160, 23, 0.3) !important;
}

/* Countdown Styling (Rule 12) */
#steeze-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}
.timer-unit {
    background: var(--black-secondary);
    border: 1px solid var(--gold-primary);
    padding: 10px;
    border-radius: 5px;
    min-width: 60px;
    text-align: center;
}
.timer-unit span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-primary);
}

/* Shop Layout Wrapper */
.steeze-shop-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

/* Sidebar Styling (Rule 6.1) */
.shop-sidebar {
    flex: 1;
    min-width: 280px;
    background: var(--black-secondary);
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    border: 1px solid #222;
}

.shop-sidebar .widget { margin-bottom: 35px; }
.shop-sidebar h3 { font-size: 1.1rem; border-bottom: 1px solid var(--gold-dark); padding-bottom: 10px; margin-bottom: 20px; }

/* Product Content Area (Rule 6.2) */
.shop-content { flex: 3; }

/* Control Bar (Ordering/Result Count) */
.steeze-shop-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Grid Override */
.woocommerce ul.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Pagination Styling */
.woocommerce-pagination ul { border: none !important; }
.woocommerce-pagination ul li { border: none !important; margin: 0 5px; }
.woocommerce-pagination ul li span.current { background: var(--gold-primary) !important; color: #000; border-radius: 4px; }
.woocommerce-pagination ul li a { background: var(--black-secondary); color: white; border-radius: 4px; }

/* Mobile View (Rule 11) */
@media (max-width: 1024px) {
    .steeze-shop-layout { flex-direction: column; }
    .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); }
    .shop-sidebar { width: 100%; order: 2; }
    .shop-content { order: 1; }
}

/* --- PATCH: Marquee Animation --- */
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: steeze-marquee 25s linear infinite;
}

@keyframes steeze-marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.top-bar { overflow: hidden; }

/* --- PATCH: Swiper Indicators --- */
.swiper-pagination-bullet-active {
    background: var(--gold-primary) !important;
    box-shadow: 0 0 12px var(--gold-primary);
    width: 20px !important;
    border-radius: 4px !important;
    opacity: 1 !important;
}

/* --- PATCH: Mobile Button Fix --- */
.mobile-sticky-btn {
    background: var(--gold-primary) !important;
    color: #000 !important;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
}

/* --- PATCH: Force Slider Visibility --- */
.steeze-product-slider, .swiper {
    width: 100% !important;
    min-height: 400px; /* Forces the slider to stay open */
    display: block !important;
    overflow: visible !important; /* Ensures the gold glow isn't cut off */
    margin: 40px 0;
}

.swiper-slide {
    height: auto !important; /* Makes sure cards expand to show content */
    display: flex !important;
    justify-content: center;
}

/* Ensures the images inside the slider actually show up */
.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- PATCH: Trending Products Styling --- */
.trending-products .products .product {
    background: #111 !important; /* Dark card background */
    border: 1px solid #222;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-products .products .product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); /* Soft Gold Glow */
    border-color: var(--gold-primary);
}

.trending-products .woocommerce-loop-product__title {
    color: #fff !important;
    font-size: 1.1rem !important;
}

.trending-products .price {
    color: var(--gold-primary) !important;
    font-weight: bold !important;
}

.trending-products .button {
    background-color: var(--gold-primary) !important;
    color: #000 !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
}

/* --- MOBILE MENU PATCH --- */
@media (max-width: 768px) {
    /* Hide the standard horizontal menu */
    .nav-menu {
        display: none; 
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        border-bottom: 2px solid var(--gold-primary);
        z-index: 999;
    }

    /* Show menu when button is clicked */
    .main-navigation.toggled .nav-menu {
        display: flex;
    }

    /* Hamburger Button Style */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: var(--gold-primary);
        display: block;
    }
}

/* --- FIX: Ensure Menu Visibility --- */
@media (max-width: 768px) {
    .main-navigation.toggled .nav-menu {
        display: block !important; /* Force visibility */
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 1000px !important; /* Ensures it expands */
        transition: all 0.4s ease-in;
    }

    /* Ensure the button stays on top */
    .menu-toggle {
        z-index: 1001;
        position: relative;
    }
}

/* --- FINAL FIX: Vertical Mobile Menu --- */
@media (max-width: 768px) {
    /* 1. Force the container to be a vertical column */
    .main-navigation.toggled .nav-menu {
        display: flex !important;
        flex-direction: column !important; /* Forces vertical stacking */
        align-items: flex-start !important;
        width: 100% !important;
        padding: 20px !important;
        background: #000000 !important;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    /* 2. Remove horizontal gaps and force full width for each item */
    .main-navigation.toggled .nav-menu li {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #222; /* Adds a clean separator */
    }

    /* 3. Ensure the links are easy to tap */
    .main-navigation.toggled .nav-menu li a {
        display: block !important;
        width: 100% !important;
        font-size: 1.1rem !important;
        color: var(--white) !important;
    }
}

/* --- PATCH: Ultra-Wide Cinematic Layout --- */
@media (min-width: 1200px) {
    /* 1. Expand the main container to use 95% of the screen */
    .container { 
        max-width: 95% !important; 
        width: 95% !important;
        padding: 0 20px;
    }

    /* 2. Stretch the Hero Slider to be almost full-screen */
    .steeze-product-slider {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0; /* Optional: Remove radius for a true edge-to-edge look */
    }

    /* 3. Make the Trending Products grid wider */
    .woocommerce ul.products {
        grid-template-columns: repeat(5, 1fr) !important; /* Increase to 5 items to fill space */
        gap: 20px !important;
    }
}

/* 4. Remove any body constraints */
body, html {
    width: 100%;
    overflow-x: hidden;
}

/* --- IRONCLAD MOBILE VERTICAL RESET --- */
@media (max-width: 768px) {
    /* 1. Reset the UL container */
    .main-navigation.toggled .nav-menu {
        display: flex !important;
        flex-direction: column !important; /* Force vertical */
        align-items: flex-start !important;
        float: none !important; /* Remove any old floats */
        height: auto !important;
        clear: both !important;
    }

    /* 2. Reset every List Item (The most important part) */
    .main-navigation.toggled .nav-menu li {
        display: block !important; /* Strips "inline" or "inline-block" */
        width: 100% !important;
        float: none !important; 
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* 3. Style the links for easy tapping */
    .main-navigation.toggled .nav-menu li a {
        display: block !important;
        padding: 15px 20px !important;
        width: 100% !important;
        border-bottom: 1px solid #222; /* Adds a divider */
        box-sizing: border-box !important;
    }
}

/* --- MOBILE MENU VERTICAL ALIGNMENT --- */
@media (max-width: 768px) {
    /* 1. Hide menu by default on mobile */
    .nav-menu {
        display: none;
    }

    /* 2. When 'toggled' class is added via JS, show as a COLUMN */
    .main-navigation.toggled .nav-menu {
        display: flex !important;
        flex-direction: column !important; /* This stops the horizontal line */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px 0;
        z-index: 999;
        border-bottom: 2px solid var(--gold-primary);
    }

    /* 3. Ensure each list item takes up the full width */
    .main-navigation.toggled .nav-menu li {
        width: 100% !important;
        text-align: center;
        padding: 10px 0;
        list-style: none;
    }

    /* 4. Style the links */
    .main-navigation.toggled .nav-menu li a {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        display: block;
    }
}

/* --- THE ULTIMATE VERTICAL RESET --- */
@media (max-width: 768px) {
    /* 1. Target the nav-menu specifically */
    .main-navigation.toggled .nav-menu {
        display: block !important; /* Switch from flex to block */
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        width: 100% !important;
        background: #000000 !important;
        padding: 20px 0 !important;
        z-index: 99999 !important;
    }

    /* 2. Target the List Items and FORCE them to be full width */
    .main-navigation.toggled .nav-menu li {
        display: block !important; /* This breaks the horizontal line */
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Target the Links for a vertical list look */
    .main-navigation.toggled .nav-menu li a {
        display: block !important;
        width: 100% !important;
        padding: 15px 25px !important;
        color: var(--gold-primary) !important;
        text-align: left !important;
        border-bottom: 1px solid #222 !important;
    }
}

/* --- PATCH: WooCommerce Page Visibility --- */
.woocommerce-cart, .woocommerce-checkout, .woocommerce-page {
    background-color: #000 !important;
    color: #ffffff !important;
    padding-top: 150px !important; /* Prevents header overlap */
    min-height: 600px;
}

/* Force all labels and headings to Gold/White */
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page label {
    color: var(--gold-primary) !important;
}

.woocommerce-page .entry-content {
    background: #111 !important;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
}

/* Style for the new page.php content */
.main-content {
    padding: 120px 0 60px; /* Space for sticky header */
    color: #ffffff;
    min-height: 70vh;
}

.page-title {
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.entry-content {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #222;
}

/* --- KILL WHITE MENU & FORCE GOLD --- */
@media (max-width: 768px) {
    /* 1. Hide the "text" version of the menu if it appears */
    .menu-toggle {
        color: transparent !important;
        font-size: 0 !important;
        border: none !important;
        background: transparent !important;
        position: relative;
        width: 30px;
        height: 30px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    /* 2. Force the Gold Lines to show up */
    .hamburger-line {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #D4AF37 !important; /* Your Gold Color */
        transition: 0.3s;
    }

    /* 3. Ensure the menu is HIDDEN until 'toggled' class is added */
    .main-navigation .menu-container {
        display: none;
    }

    .main-navigation.toggled .menu-container {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        z-index: 9999;
    }

    /* 4. Fix for horizontal list */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px;
    }
}

/* --- THE TOGGLE FIX --- */
@media (max-width: 768px) {
    /* 1. Ensure the menu is HIDDEN by default */
    .main-navigation .menu-container, 
    .main-navigation .nav-menu {
        display: none !important;
    }

    /* 2. ONLY show it when the 'toggled' class is present */
    .main-navigation.toggled .menu-container,
    .main-navigation.toggled .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        background: #000;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    /* 3. Kill the "White Text" ghost button */
    .menu-toggle {
        font-size: 0 !important; /* Hides the white ☰ character */
        color: transparent !important;
    }
}

/* --- ULTIMATE HAMBURGER VISIBILITY --- */
@media (max-width: 768px) {
    /* 1. Reset the button container completely */
    .menu-toggle {
        display: block !important;
        width: 35px !important;
        height: 30px !important;
        background: none !important;
        border: none !important;
        position: relative !important;
        text-indent: -9999px !important; /* Shoves any hidden text away */
        overflow: visible !important;
        cursor: pointer !important;
        margin-left: auto; /* Pushes to the right if needed */
    }

    /* 2. Target the spans AND force them to have a physical presence */
    .menu-toggle .hamburger-line,
    .menu-toggle span {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        width: 30px !important;
        height: 3px !important;
        background-color: #D4A017 !important; /* Solid Gold */
        transition: all 0.3s ease-in-out !important;
    }

    /* 3. Manually space the 3 lines since they are now absolute */
    .menu-toggle .hamburger-line:nth-child(1) { top: 0px !important; }
    .menu-toggle .hamburger-line:nth-child(2) { top: 10px !important; }
    .menu-toggle .hamburger-line:nth-child(3) { top: 20px !important; }
}

/* --- SLIDER DESKTOP OPTIMIZATION --- */
@media (min-width: 1024px) {
    .steeze-product-slider {
        max-height: 600px !important; /* Prevents the "too large" look */
        overflow: hidden !important;
        border-radius: 20px;
        margin-bottom: 60px;
    }

    .steeze-product-slider .swiper-slide img {
        width: 100% !important;
        height: 600px !important;
        object-fit: cover !important; /* Crops the image to fit the box perfectly */
        object-position: center;
    }

    /* Optional: Shrink the container slightly for the hero section only */
    .hero-section .container {
        max-width: 1200px !important; 
    }
}

/* --- OPTION B: RESPONSIVE HEIGHT (NO CROP) --- */
@media (min-width: 1024px) {
    .steeze-product-slider {
        max-height: none !important; 
        max-width: 1100px !important; /* Limits the width so it doesn't stretch too tall */
        margin: 40px auto 80px !important; /* Centers the slider and adds breathing room */
        border: 1px solid #1a1a1a;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        background: #000;
        overflow: hidden;
    }

    .steeze-product-slider .swiper-slide img {
        width: 100% !important;
        height: auto !important; /* Proportions are preserved perfectly */
        display: block;
        object-fit: contain !important;
    }

    /* Optional: Add a soft gold glow to the slider container */
    .steeze-product-slider:hover {
        border-color: var(--gold-primary);
        box-shadow: 0 0 30px rgba(212, 160, 23, 0.15);
        transition: 0.4s ease;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #111;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #222;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #D4A017;
}

.category-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.8;
}

.category-info {
    padding: 20px;
}

.category-info h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}

.shop-now {
    color: #D4A017;
    font-size: 0.9rem;
    font-weight: bold;
}

/* --- HERO BANNER REDESIGN --- */
.hero-banner {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 20%, #1a1a1a 0%, #000000 60%);
    overflow: hidden;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem); /* Responsive giant text */
    line-height: 0.9;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Image & Glow Effect */
.hero-image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrap img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(212, 160, 23, 0.2));
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.gold-halo {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gold-primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 1;
}

/* Secondary Button Styling */
.hero-actions {
    display: flex;
    gap: 20px;
}

.outline-btn {
    padding: 14px 35px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.outline-btn:hover {
    background: var(--gold-primary);
    color: #000;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Fix */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

/* --- AUTOMATIC TRENDING SECTION --- */
#trending {
    padding: 100px 0;
    background: #000;
    border-top: 1px solid #111;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.section-header p {
    color: var(--gray-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Force the WooCommerce Grid to be 4 columns on desktop */
.steeze-trending-grid {
    margin: 0 auto 50px !important;
}

/* Luxury Card Hover Effect */
.steeze-trending-grid li.product {
    background: #0a0a0a !important;
    border: 1px solid #1a1a1a !important;
    padding: 25px !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.steeze-trending-grid li.product:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--gold-primary) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 160, 23, 0.2);
}

/* Center the "View All" button */
.view-all-wrap {
    text-align: center;
    margin-top: 40px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .steeze-trending-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .section-header h2 { font-size: 2rem; }
    .steeze-trending-grid li.product { padding: 15px !important; }
}