/* =========================================
   Front Page Specific Styles
   (Hero, Features, Home-specific Layouts)
   ========================================= */

/* Use relative path from assets/css/ to assets/images/ */
/* Use relative path from assets/css/ to assets/images/ */
/* Legacy class kept for fallback, but main styling is now shared from Shop Hero */

/* HOME HERO SPECIFIC SLIDES */
.tt-home-slide-1 {
    /* Use the Laser BG from front page */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('../images/hero-bg-laser.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Height is inherited from .tt-shop-hero which is global (650px) */
}

/* Standardize behavior for all slides */
/* .tt-home-slide-1 settings matched to slide-2 for consistency */




.tt-home-slide-2 {
    /* GAMING: Cinematic Interface */
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('../images/hero-gaming.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Feature Cards Premium Styles */
.tt-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tt-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Hover Glow Borders */
.hover-border-danger:hover {
    border-color: var(--accent-color) !important;
}

/* Glassmorphism helpers */
/* Glassmorphism helpers */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================================
   HOMEPAGE PRODUCT GRID ALIGNMENT
   ========================================= */
/* Target the shortcode wrapper class */
.custom-product-grid ul.products {
    display: flex !important;
    justify-content: center !important;
    gap: 20px;
}

/* Ensure individual products don't float if theme defaults try to */
.custom-product-grid ul.products li.product {
    float: none !important;
    margin-bottom: 20px;
}

/* Fix Black Space on Cards (Global Effect for Front Grid) */
.custom-product-grid ul.products li.product img {
    display: block !important;
    margin-bottom: 0 !important;
    width: 100%;
    /* Ensure full width */
}

/* =========================================
   MOBILE POLISH (Responsive)
   ========================================= */
@media (max-width: 768px) {

    /* MOBILE CAROUSEL FOR PRODUCTS */
    .custom-product-grid ul.products {
        justify-content: flex-start !important;
        /* Align start for scrolling */
        flex-wrap: nowrap !important;
        /* No wrapping, force row */
        overflow-x: auto;
        /* Enable horizontal scroll */
        scroll-snap-type: x mandatory;
        /* Snap effect */
        padding-bottom: 20px;
        /* Space for scrollbar/shadows */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll iOS */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        margin: 0 !important;
        /* Reset margins */
        padding-left: 20px;
        /* Peek effect start */
        padding-right: 20px;
        /* Peek effect end */
    }

    .custom-product-grid ul.products::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    /* Carousel Items */
    .custom-product-grid ul.products li.product {
        flex: 0 0 85vw !important;
        /* Wide cards (85% viewport) */
        max-width: 85vw !important;
        scroll-snap-align: center;
        /* Center snap */
        margin-bottom: 0 !important;
        margin-right: 15px;
        /* Gap between slides */
    }

    /* Hero Title Scaling */
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 15px;
    }

    /* Reduce Section Padding */
    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Reassurance Grid Spacing */
    .tt-section-reassurance .col-6 {
        margin-bottom: 1.5rem;
    }

    /* Feature Cards Spacing */
    .tt-feature-card {
        margin-bottom: 15px;
    }
}