/*
  Theme Name:   GeneratePress Child
  Theme URI:    https://generatepress.com
  Description:  Professional Football Store Theme (V2)
  Template:     generatepress
  Version:      2.1
*/

/* =========================================
   1. IMPORTS & DESIGN TOKENS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --neon: #39ff14;
    --grey: #f5f5f7;
    --dgrey: #1d1d1f;
    --gold: #c9a84c;
    --ease: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   2. GLOBAL RESETS FOR FULL-WIDTH LAYOUT
   ========================================= */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* =========================================
   2. GLOBAL RESETS FOR FULL-WIDTH LAYOUT
   ========================================= */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── GeneratePress Layout Override for Front Page ───
   GP wraps everything in: body > #page > .site.grid-container > #content.site-content > #primary.content-area > main#main
   We need to remove ALL max-width and flex constraints from the chain.
*/
.home #page,
.home .site,
.home #content.site-content,
.home #primary.content-area,
.home #main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}

/* GP's "separate-containers" adds flex to .site-content which splits layout */
.home .site-content {
    display: block !important;
}

/* Remove padding GP adds to content containers */
.home .inside-article,
.home .page-hero-section {
    padding: 0 !important;
}

/* GP sometimes wraps the front page content in an <article> — remove its constraints */
.home article.page,
.home .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================================
   3. STICKY DARK HEADER & NAVIGATION
   ========================================= */
.site-header {
    background: var(--black) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px !important;
    max-width: 100% !important;
    height: 70px;
}

/* Site Logo & Title */
.site-branding .site-title a,
.site-branding .site-title a:visited {
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-branding .site-description {
    display: none;
}

/* Navigation */
.main-navigation {
    background: transparent !important;
}

.inside-navigation.grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.main-navigation .main-nav ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 18px;
    line-height: 70px;
    transition: color 0.2s ease;
}

.main-navigation .main-nav ul li a:hover {
    color: var(--neon) !important;
}

.main-navigation .main-nav ul li:hover>a,
.main-navigation .main-nav ul li.current-menu-item>a {
    color: var(--neon) !important;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

/* =========================================
   4. HERO SECTION — TRUE FULL WIDTH
   ========================================= */
.premium-hero {
    position: relative;
    width: 100vw;
    height: 90vh;
    background: var(--black);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 70% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 8%;
    max-width: 800px;
}

.hero-tag {
    color: var(--neon);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.88;
    color: var(--white);
    margin: 0 0 30px;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 50px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: var(--neon);
    color: var(--black);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--ease);
}

.btn-hero-primary:hover {
    background: var(--white);
    transform: scale(1.04);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: var(--ease);
}

.btn-hero-secondary:hover {
    color: var(--neon);
    border-color: var(--neon);
}

/* =========================================
   5. SECTION WRAPPERS
   ========================================= */
.fp-section {
    width: 100%;
    padding: 100px 8%;
    box-sizing: border-box;
}

.fp-section-dark {
    background: var(--dgrey);
}

.section-header {
    margin-bottom: 60px;
}

.section-kicker {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 12px;
}

.section-title-main {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
    margin: 0;
    color: var(--black);
}

.fp-section-dark .section-title-main {
    color: var(--white);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.view-all-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--black);
    padding-bottom: 2px;
    transition: var(--ease);
}

.view-all-link:hover {
    color: var(--neon);
    border-color: var(--neon);
}

/* =========================================
   6. PRODUCT GRID
   ========================================= */
.product-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .product-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.product-card-v2 {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--ease);
    cursor: pointer;
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product-image-wrap {
    position: relative;
    background: var(--grey);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-v2:hover .product-image-wrap img {
    transform: scale(1.06);
}

.quick-add-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    text-align: center;
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: var(--ease);
}

.product-card-v2:hover .quick-add-btn {
    transform: translateY(0);
}

.product-info-v2 {
    padding: 16px 20px 20px;
}

.product-label {
    font-size: 0.65rem;
    color: #999;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.product-info-v2 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}

.product-info-v2 h3 a {
    color: var(--black);
    text-decoration: none;
}

.product-info-v2 h3 a:hover {
    color: var(--neon);
}

.product-price-v2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dgrey);
}

.product-price-v2 del {
    opacity: 0.4;
    margin-right: 6px;
}

.product-price-v2 ins {
    text-decoration: none;
    color: var(--black);
}

/* =========================================
   7. CATEGORY BANNERS
   ========================================= */
.cat-grid-v2 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    height: 480px;
}

@media (max-width: 900px) {
    .cat-grid-v2 {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.cat-card {
    position: relative;
    background: var(--dgrey);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    min-height: 300px;
    transition: var(--ease);
    cursor: pointer;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 1;
}

.cat-card-content {
    position: relative;
    z-index: 2;
}

.cat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--neon);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cat-title {
    color: var(--white);
    font-size: 2rem;
    margin: 0 0 16px;
    line-height: 1;
}

.cat-link {
    display: inline-block;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: var(--ease);
}

.cat-link:hover {
    color: var(--neon);
    border-color: var(--neon);
}

.cat-card:hover {
    transform: scale(1.01);
}

/* =========================================
   8. TRUST BAR
   ========================================= */
.trust-bar {
    width: 100%;
    background: var(--black);
    padding: 28px 8%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.trust-icon {
    font-size: 1.8rem;
}

.trust-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.trust-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .trust-bar {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. ELEGANT MINIMAL FOOTER
   ========================================= */
.jc-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.jc-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 8%;
    gap: 40px;
    flex-wrap: wrap;
}

/* Brand */
.jc-footer-logo {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.jc-footer-logo:hover {
    color: var(--neon);
}

.jc-footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Nav */
.jc-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.jc-footer-nav ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.jc-footer-nav ul li a:hover {
    color: var(--neon);
}

/* Bottom bar */
.jc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 10px;
}

.jc-footer-bottom span {
    color: rgba(255, 255, 255, 0.3);
}

.jc-footer-credit {
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .jc-footer-inner {
        padding: 40px 5%;
        flex-direction: column;
        gap: 30px;
    }

    .jc-footer-nav ul {
        gap: 16px;
    }

    .jc-footer-bottom {
        padding: 16px 5%;
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   10. WOOCOMMERCE — GLOBAL
   ========================================= */

/* Remove default WC sidebar constraints */
.woocommerce #page,
.woocommerce-page #page,
.woocommerce .site,
.woocommerce-page .site {
    max-width: 100% !important;
}

.woocommerce-page .content-area,
.woocommerce-page #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 8% !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .woocommerce-page .content-area,
    .woocommerce-page #primary {
        padding: 0 !important;
    }
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    color: rgba(0, 0, 0, 0.4) !important;
    padding: 24px 0 0 !important;
    margin-bottom: 40px !important;
}

.woocommerce-breadcrumb a {
    color: rgba(0, 0, 0, 0.5) !important;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--black) !important;
}

/* =========================================
    11. SINGLE PRODUCT PAGE — (DISABLED FOR TESTING)
    ========================================= */

/* The custom CSS overrides for the single product page have been temporarily removed 
   so the user can view the default GeneratePress/WooCommerce layout.
   They can be restored from style_backup.css */