/*
Theme Name: The Club Shop
Theme URI: https://tcs-shop.co.uk
Description: Catchy theme designed for a club shop
Author: Hafeez Ur Rehman
Author URI: https://hafeezurehman.vercel.app/
Version: 1.2
*/

:root {
    --primary: #25f46a;
    --primary-hover: #1ee05e;
    --bg-dark: #000a1B;
    --surface-dark: #181b21;
    --accent-gray: #2a2d33;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --font-display: 'Lexend', sans-serif;
}

/* --- BASE --- */
* { box-sizing: border-box; }
body { 
    margin: 0; 
    padding: 0; 
    font-family: var(--font-display); 
    background-color: var(--bg-dark); 
    color: var(--text-gray); 
    -webkit-font-smoothing: antialiased; 
    line-height: 1.6; 
    overflow-x: hidden; 
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Responsive Container */
.container { 
    width: 100%; 
    max-width: 1280px; 
    margin: 100px auto 0px auto; 
    padding: 0 20px; 
}

h1,h2,h3,h4 { color: white; font-weight: 700; margin-top: 0; }
.text-center { text-align: center; }

/* --- HEADER --- */
.glass-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 80px; 
    z-index: 1000; 
    background: rgba(0, 10, 27, 0.95); 
    border-bottom: 1px solid var(--accent-gray); 
    display: flex; 
    align-items: center; 
}

.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Logo Sizing Constraint */
.custom-logo-link img, 
.logo-link img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text { color: white; text-transform: uppercase; font-weight: 900; font-size: 1.2rem; }

/* --- NAVIGATION (UPDATED FOR WP MENU) --- */
.main-nav {
    margin: 0 40px;
}

/* Support for WordPress UL structure */
.main-nav ul { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

.main-nav ul li { 
    position: relative; 
}

.main-nav ul li a { 
    color: #d1d5db; 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav ul li a:hover { 
    color: var(--primary); 
}

/* Submenu (Desktop) */
.main-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-dark);
    padding: 10px 0;
    border-radius: 8px;
    list-style: none;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid var(--accent-gray);
}

.main-nav ul li:hover > ul.sub-menu {
    display: flex;
}

.main-nav ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #ccc;
}
.main-nav ul.sub-menu li a:hover {
    color: var(--primary); 
    background: rgba(255,255,255,0.02);
}

/* --- HEADER ACTIONS --- */
.header-actions { display: flex; gap: 15px; align-items: center; }

.cart-btn { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: var(--accent-gray); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    color: white; 
}

.cart-count { 
    position: absolute; 
    top: -5px; 
    right: -5px; 
    background: var(--primary); 
    color: #000a1B; 
    font-size: 10px; 
    font-weight: bold; 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.shop-btn { 
    background: var(--primary); 
    color: #000a1B; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 0.85rem; 
    white-space: nowrap;
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-nav {
    display: none; /* Structurally hidden on desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    padding-top: 100px;
    z-index: 1000;
    overflow-y: auto;
    
    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Menu List Styling */
.mobile-nav ul {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav ul li a {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    font-size: 18px;
    padding: 20px;
    width: 100%;
}

/* Mobile Submenu */
.mobile-nav ul.sub-menu {
    background: rgba(255, 255, 255, 0.02);
}

.mobile-nav ul.sub-menu li a {
    font-size: 16px;
    color: #ccc;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* --- HEADER RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 960px) {
    .main-nav { display: none; }
    .mobile-nav { display: block; } /* Enables the drawer in DOM */
    .menu-toggle { display: block; } /* Shows hamburger */
    .header-inner { gap: 10px; }
    .logo-text { font-size: 1rem; }
    .shop-btn { padding: 8px 15px; font-size: 0.75rem; }
}

/* --- HOMEPAGE HERO --- */
.hero-section { 
    position: relative; 
    width: 100%; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    padding-top: 80px; 
}

.hero-bg img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.6; 
    z-index: 0; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(15,17,21,0.3), #000a1B); 
    z-index: 1; 
}

.hero-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    max-width: 900px; 
    padding: 20px; 
    margin-top: 40px;
}

.hero-badge { 
    display: inline-block; 
    padding: 5px 15px; 
    border-radius: 50px; 
    margin-bottom: 25px; 
    background: rgba(37,244,106,0.15); 
    border: 1px solid rgba(37,244,106,0.3); 
    color: var(--primary); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
}

.hero-title { 
    font-size: clamp(2.5rem, 6vw, 5rem); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    font-weight: 900; 
}

.hero-subtitle { 
    background: linear-gradient(to right, #fff, #999); 
    -webkit-background-clip: text; 
    color: transparent; 
}

.hero-desc { 
    font-size: 1.1rem; 
    color: #ccc; 
    margin-bottom: 30px; 
    font-weight: 300; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}

.cta-group { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.btn-primary, .btn-outline { 
    padding: 15px 35px; 
    border-radius: 50px; 
    font-weight: 800; 
    border: none; 
    cursor: pointer; 
    display: inline-block; 
    text-align: center;
}

.btn-primary { background: var(--primary); color: #000a1B; }
.btn-outline { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; }

@media (max-width: 480px) {
    .cta-group { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; }
}

/* Scroll Down Indicator & Animation */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down-btn:hover {
    opacity: 1;
    color: white;
}

.scroll-down-btn span {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.scroll-arrow {
    font-size: 32px !important;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}


/* --- HOMEPAGE SECTIONS --- */
.section-cats, .section-products, .section-features, .section-stats, .section-reviews, .section-newsletter { 
    padding: 80px 0; 
}

/* Reduced Padding specifically for Top Clubs to bring it closer to Hero */
#clubs.section-cats {
    padding-top: 40px; 
    scroll-margin-top: 90px; /* Ensures the fixed header doesn't cover the title when scrolling */
}

/* ========================================
   UPDATED CATEGORIES / CLUBS SECTION
   ======================================== 
   Modified to ensure clubs cover the row and appear larger 
   Uses FLEXBOX to center orphan items on the last row
*/

.section-cats { background: var(--bg-dark); border-bottom: 1px solid var(--accent-gray); }

/* Container */
.cat-scroll { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This ensures orphaned items are centered */
    gap: 40px; 
    padding-bottom: 20px; 
    width: 100%;
}

/* The Item Wrapper */
.cat-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
    
    /* Flex sizing logic:
        - grow to fill available space
        - shrink if needed
        - base size of 150px
        - max-width prevents single items from becoming huge
    */
    flex: 1 1 150px;
    max-width: 250px; 
}

/* The Circle */
.cat-circle { 
    width: 100%;            
    max-width: 200px;        
    aspect-ratio: 1/1;        
    border-radius: 50%; 
    background: var(--surface-dark); 
    border: 1px solid var(--accent-gray); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s; 
    overflow: hidden; 
    margin: 0 auto;
}

.cat-item:hover .cat-circle { 
    border-color: var(--primary); 
    transform: translateY(-5px); /* Adds a little pop effect */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Images inside the circle */
.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.cat-item:hover .cat-circle img {
    transform: scale(1.1); /* Subtle zoom on hover */
}

/* Fallback Icon Size */
.cat-circle .material-symbols-outlined {
    font-size: 50px !important; 
}

.cat-name { 
    font-size: 1rem; 
    color: #ccc; 
    font-weight: 700; 
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for very small screens (Mobile Phones) */
@media (max-width: 480px) {
    .cat-scroll {
        gap: 20px;
    }
    .cat-item {
        /* On mobile, prefer 2 columns roughly */
        flex-basis: 140px; 
    }
    .cat-circle {
        max-width: 120px; /* Limit size on mobile so they don't dominate */
    }
}

/* ======================================== */


/* Featured Products */
.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 40px; 
    flex-wrap: wrap; 
    gap: 15px;
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 30px; 
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.5rem !important; }
}

.prod-card { background: var(--surface-dark); padding: 15px; border-radius: 15px; position: relative; transition: 0.3s; }
.prod-card:hover { transform: translateY(-5px); }
.prod-img, .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail, .product-category a img, .wp-post-image, .woocommerce-product-gallery__image.flex-active-slide { border-radius: 10px; overflow: hidden; margin-bottom: 15px; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; background: #333; }
.add-btn-float { position: absolute; bottom: 10px; right: 10px; width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000a1B; opacity: 0; transform: translateY(10px); transition: 0.3s; }
.prod-card:hover .add-btn-float { opacity: 1; transform: translateY(0); }
.prod-cat { color: var(--primary); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.prod-title { font-size: 1.1rem; margin-bottom: 5px; }
.prod-price { font-weight: 800; color: white; }

/* Features */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}
.feature-card { background: var(--surface-dark); padding: 30px; border-radius: 20px; transition: 0.3s; }
.feature-card:hover { background: #1f232b; }
.feature-icon { width: 60px; height: 60px; background: var(--accent-gray); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: white; }
.feature-title { font-size: 1.2rem; margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: #9ca3af; }

/* Stats */
.section-stats { background: var(--surface-dark); border-top: 1px solid var(--accent-gray); border-bottom: 1px solid var(--accent-gray); }
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    text-align: center; 
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
}

.stat-num { font-size: 3.5rem; font-weight: 900; line-height: 1; color: white; }
.stat-label { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* --- REVIEWS (FANS LOVE US) --- */
.review-grid { 
    display: flex; 
    gap: 40px; 
    justify-content: center;
}

.review-card { 
    background: var(--surface-dark); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid var(--accent-gray); 
    position: relative; 
    flex: 1; 
}

@media (max-width: 768px) {
    .review-grid { 
        flex-direction: column; 
    }
    .review-card {
        width: 100%;
    }
}

.quote-icon { position: absolute; top: 30px; right: 30px; font-size: 60px; opacity: 0.2; }
.reviewer-info { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.reviewer-avatar { width: 50px; height: 50px; border-radius: 50%; background: #374151; }
.reviewer-name { font-weight: 700; color: white; }
.reviewer-badge { color: var(--primary); font-size: 0.75rem; font-weight: 600; }
.review-text { font-style: italic; font-size: 1.05rem; }

/* Newsletter */
.section-newsletter { background: var(--primary); text-align: center; color: #000a1B; }
.nl-title { color: #000a1B; font-size: 3rem; margin-bottom: 10px; }

@media (max-width: 768px) {
    .nl-title { font-size: 2rem; }
}

/* Newsletter (CF7 Safe Inline Layout) */
.section-newsletter { 
    background: var(--primary); 
    text-align: center; 
    color: #000a1B; 
}

.nl-title { 
    color: #000a1B; 
    font-size: 3rem; 
    margin-bottom: 10px; 
}

@media (max-width: 768px) {
    .nl-title { font-size: 2rem; }
}

/* FORCE INPUT + BUTTON INLINE */
.nl-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

/* REMOVE CF7 <p> WRAPPERS */
.nl-form p {
    margin: 0;
    display: contents;
}

.nl-input {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    width: 350px;
    background: rgba(0,0,0,0.1);
    color: #000a1B;
    font-weight: 600;
}

.nl-btn {
    background: #000a1B !important;
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* MOBILE STACK */
@media (max-width: 768px) {
    .nl-form {
        flex-direction: column;
    }

    .nl-input,
    .nl-btn {
        width: 100%;
        max-width: 350px;
    }
}


/* ================= PRODUCT PAGE ================= */
.custom-product-layout { 
    display: flex; 
    flex-wrap: nowrap; 
    gap: 60px; 
    margin-top: 140px; 
    margin-bottom: 80px; 
    align-items: flex-start; 
}
@media (max-width: 900px) { 
    .custom-product-layout { flex-direction: column; margin-top: 100px; } 
}

/* Inputs/Buttons */
input[type="text"], input[type="number"], select { background: var(--surface-dark); border: 1px solid var(--accent-gray); color: white; padding: 12px; border-radius: 10px; }
.single-product .button { background: var(--primary) !important; color: #000a1B !important; border-radius: 50px !important; font-weight: 800 !important; padding: 15px 40px !important; }

/* Related Products Grid */
.related.products ul.products { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
}

@media (max-width: 1024px) {
    .related.products ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .related.products ul.products { grid-template-columns: 1fr; }
}

.related.products ul.products li.product { background: var(--surface-dark); padding: 15px; border-radius: 15px; }
.related.products ul.products li.product img { border-radius: 10px; margin-bottom: 15px; aspect-ratio: 4/5; object-fit: cover; }
.related.products ul.products li.product .button { width: 100%; text-align: center; margin-top: 10px; }
.woocommerce-Price-amount.amount{
    color: #4ef26d !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #000a1B;
  border-top: 1px solid #2a2a2a;
  padding: 60px 0 30px;
  margin-top: 5%;
  color: #bdbdbd;
  font-family: Arial, sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  /* UPDATED: Changed from 4 to 5 to accommodate the new column */
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-col {
  font-size: 14px;
}

.footer-title {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-text {
  line-height: 1.6;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-brand img.footer-logo {
  max-width: 140px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand .footer-title {
  margin-top: 0;
}

/* UPDATED FOOTER BOTTOM - FLEX LAYOUT */
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
  gap: 20px;
}

/* Payment Icons Styling */
.footer-payments {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icon {
    width: 45px;
    height: 30px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: transform 0.2s;
}

.payment-icon:hover {
    transform: translateY(-2px);
}

.payment-icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* 1. The Table (Scrollable Container + Transparent/Clean Theme) */
table {
  /* Scroll Logic */
  display: block;        /* Makes the table a block element so it can scroll */
  overflow-x: auto;      /* Adds scrollbar when content overflows */
  width: 100%;           /* Fits container width */
  
  /* Visuals */
  border-collapse: collapse;
  background-color: transparent; /* UPDATED: Removed dark background */
  color: #e0e0e0;
  font-family: sans-serif;
  border-radius: 8px; /* Optional rounded corners */
}

/* 2. Cells & Headers */
th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* UPDATED: Subtle border instead of solid */
  white-space: nowrap; /* Forces content to stay on one line, triggering scroll */
}

/* 3. Header Specifics */
thead tr {
  background-color: transparent; /* UPDATED: Transparent header */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

th {
  font-weight: 600;
  color: #ffffff;
}

/* 4. Zebra Striping */
tbody tr:nth-of-type(even) {
  background-color: transparent; /* UPDATED: Transparent stripes */
}

/* 5. Hover Effect */
tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02); /* UPDATED: Extremely subtle hover */
  cursor: default;
}

/* 6. Custom Scrollbar (Webkit only - Chrome/Safari/Edge) */
table::-webkit-scrollbar {
  height: 8px;
}

table::-webkit-scrollbar-track {
  background: transparent; /* UPDATED */
}

table::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

table::-webkit-scrollbar-thumb:hover {
  background: #888;
}


.count, .posted_in, .tagged_as{
    display: none;
}

/* --- UTILITY CLASSES (Added for Layout Fixes) --- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.p-6 { padding: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.bg-surface-dark { background-color: var(--surface-dark); }
.bg-bg-dark { background-color: var(--bg-dark); }
.object-cover { object-fit: cover; }
.text-4xl { font-size: 2.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.text-gray-400 { color: #9ca3af; }
.text-primary { color: var(--primary); }
.border { border-width: 1px; border-style: solid; }
.border-accent-gray { border-color: var(--accent-gray); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* Responsive width for product cards */
@media (min-width: 640px) {
    .sm\:w-64 { width: 16rem; }
    .sm\:w-auto { width: auto; }
}

/* Ensure WooCommerce Product List Centers */
ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
}

ul.products::before, ul.products::after { display: none; } /* Clear floats fix */

.product-card {
    list-style: none;
    background: var(--surface-dark);
    padding: 15px;
    border-radius: 15px;
    text-align: center; /* Centering text in product cards */
}

/* Center text/content in Subcategory Cards on Archive Page */
main.container .flex.gap-8 > a.bg-surface-dark {
    text-align: center;
    justify-content: center;
}

/* Fix for Category Titles */
.page-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.woocommerce-loop-category__title{
    text-align: center;
}
/* --- WCPA ADD-ONS FORM STYLING (SLEEK EDITION) --- */

.wcpa_wrap {
    /* Transparent container to let elements breathe */
    background: transparent !important;
    padding: 10px 0 !important;
    border: none !important;
    margin: 20px 0 !important;
}

.wcpa_section {
    /* Spacing between sections */
    margin-bottom: 20px !important;
}

.wcpa_row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.wcpa-col-6 {
    flex: 1 1 250px !important; 
    min-width: 0 !important;
}

/* Neon Labels - Tech Look */
body .wcpa_wrap .wcpa_field_label {
    display: block !important;
    color: var(--primary) !important; /* Neon Green */
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    transition: 0.3s;
}

/* Input & Select Containers */
body .wcpa_wrap .wcpa_field {
    width: 30% !important;
    background-color: var(--surface-dark) !important; /* Solid background */
    border: 1px solid var(--accent-gray) !important;
    border-radius: 6px !important; /* Standard rounded corners */
    color: white !important;
    padding: 8px 12px !important; /* Slimmer padding */
    font-size: 0.95rem !important;
    font-family: var(--font-display) !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

/* Hover State */
body .wcpa_wrap .wcpa_field:hover {
    border-color: #4b5563 !important; 
}

/* Focus State */
body .wcpa_wrap .wcpa_field:focus {
    border-color: var(--primary) !important;
    background-color: #0d1016 !important;
}

/* Custom Select Dropdown Arrow */
body .wcpa_wrap select.wcpa_field {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2325f46a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    padding-right: 40px !important; 
    cursor: pointer !important;
}

/* Initials Field Specifics */
input#field_text_1859338461 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Asterisk */
.wcpa_required_ast {
    color: var(--primary) !important;
}

.section-newsletter div{
    margin: 0px auto !important;
}

/* =======================================================
   CART PAGE & POPUP STYLES (Appended)
   ======================================================= */

/* Theme: The Club Shop (Dark Navy #000a1B)
   Page: Main Cart Page (WooCommerce Blocks)
*/

/* --- 1. Global Reset for Cart Block --- */
.wp-block-woocommerce-cart,
.wc-block-cart {
    font-family: 'Lexend', sans-serif !important;
    color: #9ca3af !important;
    background-color: transparent !important;
}

/* Main Heading (Cart Summary) */
h1.text-3xl,
.wc-block-cart__title {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem !important;
    position: relative;
    display: inline-block;
}

/* --- 2. Cart Items Table (CARD-LIKE LAYOUT REVERTED) --- */
.wc-block-cart-items {
    width: 100% !important;
    border-collapse: separate !important; 
    border-spacing: 0 15px !important; /* Spacing between cards */
}

/* Hide Table Header for Card Layout */
.wc-block-cart-items__header {
    display: none !important;
}

/* Item Row - Card Styling */
.wc-block-cart-items__row {
    background-color: #181b21 !important; /* Surface Dark */
    border: 1px solid #2a2d33 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    display: flex !important; /* Flexbox for layout control */
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 15px !important;
    position: relative !important;
    transition: transform 0.2s ease !important;
}

.wc-block-cart-items__row:hover {
    transform: translateY(-2px);
    border-color: #3f4552 !important;
}

/* Cells within the row - Reset to block for flex placement */
.wc-block-cart-items__row td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
}

/* --- 3. Product Details within Card --- */

/* Image Column */
.wc-block-cart-item__image {
    width: 100px !important;
    flex-shrink: 0 !important;
    margin-right: 20px !important;
}

.wc-block-cart-item__image img {
    border-radius: 8px !important;
    border: 1px solid #2a2d33 !important;
    background-color: #0d1016;
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
}

/* Product Info Column (Title, Price, Meta) */
.wc-block-cart-item__product {
    flex: 1 !important;
    min-width: 200px !important;
    padding-right: 20px !important;
}

/* Product Name */
.wc-block-components-product-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.wc-block-components-product-name:hover {
    color: #25f46a !important;
}

/* Product Price (Single Item) */
.wc-block-cart-item__prices .wc-block-components-product-price {
    color: #25f46a !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* Metadata (Variations like Size/Initials) */
.wc-block-components-product-metadata__description p,
.wc-block-components-product-details__value {
    color: #d1d5db !important;
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
}

.wc-block-components-product-details__name {
    color: #25f46a !important; /* Label Color */
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    margin-right: 5px;
}

/* --- 4. Quantity & Total (Flex container at end or separate line) --- */
.wc-block-cart-item__quantity {
    display: flex !important;
    flex-direction: row !important; /* Keep quantity horizontal */
    align-items: center !important;
    gap: 15px;
    margin-top: 15px !important; /* Space from description */
    width: 100% !important; /* Full width for button row */
}

/* Quantity Selector Box */
.wc-block-components-quantity-selector {
    background-color: #0d1016 !important;
    border: 1px solid #2a2d33 !important;
    border-radius: 50px !important; /* Pill shape */
    padding: 2px !important;
    display: inline-flex !important;
}

.wc-block-components-quantity-selector__input {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: bold;
    width: 40px !important;
    text-align: center !important;
}

/* +/- Buttons */
.wc-block-components-quantity-selector__button {
    background: transparent !important;
    color: #9ca3af !important;
    border: none !important;
    transition: 0.2s;
    cursor: pointer;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background-color: #25f46a !important;
    color: #000a1B !important;
    border-radius: 50%;
}

/* Total Column (Now part of the card footer) */
.wc-block-cart-item__total {
    margin-left: auto !important; /* Push to right */
    border-right: none !important; /* Remove table border if present */
    display: flex !important;
    align-items: center !important;
}

.wc-block-cart-item__total .wc-block-formatted-money-amount {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
}

/* Remove Link */
.wc-block-cart-item__remove-link {
    color: #9ca3af !important;
    font-size: 0.8rem !important;
    text-decoration: underline;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    margin-left: 20px !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #ef4444 !important; /* Red warning color */
    text-decoration: none;
}

/* --- 5. Sidebar (Cart Totals) --- */
.wc-block-cart__sidebar {
    background-color: #181b21 !important;
    border: 1px solid #2a2d33 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

/* Sidebar Title */
.wc-block-cart__totals-title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #2a2d33;
    padding-bottom: 15px;
    font-weight: 700 !important;
}

/* Totals Rows */
.wc-block-components-totals-item {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 15px 0 !important;
}

.wc-block-components-totals-item__label {
    color: #9ca3af !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wc-block-components-totals-item__value {
    color: #ffffff !important;
    font-weight: 600;
}

/* Estimated Total (Final Price) */
.wc-block-components-totals-footer-item {
    border-top: 2px solid #2a2d33 !important;
    border-bottom: none !important;
    margin-top: 10px;
    padding-top: 20px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #25f46a !important; /* Neon Green */
    font-size: 2rem !important;
    font-weight: 900 !important;
    text-shadow: 0 0 15px rgba(37, 244, 106, 0.2);
}

/* Coupon Area */
.wc-block-components-totals-coupon {
    border: 1px dashed #2a2d33 !important;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    margin-bottom: 20px;
}

.wc-block-components-panel__button {
    color: #25f46a !important;
    font-weight: 600;
    padding: 10px 15px !important;
}

.wc-block-components-panel__button:hover {
    background: rgba(37, 244, 106, 0.1);
}

/* --- 6. Checkout Buttons --- */
.wc-block-cart__submit-button {
    background-color: #25f46a !important;
    color: #000a1B !important; /* Dark Text */
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(37, 244, 106, 0.2);
    margin-top: 20px !important;
    border: none !important;
}

.wc-block-cart__submit-button:hover {
    background-color: #1ee05e !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 244, 106, 0.4);
}

/* "Or" Separator */
.wc-block-components-express-payment-continue-rule {
    color: #9ca3af !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0;
}

.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after {
    background-color: #2a2d33 !important; /* Line color */
}


/* Theme: The Club Shop (Dark Navy #000a1B)
Component: Added to Cart Popup / Slide-in Cart (XOO CP)
*/

/* --- 1. Main Container, Reset & Backgrounds --- */
.xoo-cp-container * {
    box-sizing: border-box !important; /* Fixes padding causing scrollbars */
}

.xoo-cp-container, 
.xoo-cp-outer, 
.xoo-cp-content {
    background-color: #000a1B !important; /* Theme Dark Navy */
    color: #9ca3af !important; /* Text Gray */
    font-family: 'Lexend', sans-serif !important;
    border-color: #2a2d33 !important;
}

/* Max width of slide-in cart */
.xoo-cp-outer {
    max-width: 450px !important;
    width: 100% !important;
}

.xoo-cp-content {
    overflow-x: hidden !important; 
    padding: 25px !important; 
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Overlay Opacity */
.xoo-cp-cont-opac {
    background-color: rgba(0, 10, 27, 0.8) !important;
    backdrop-filter: blur(8px); 
}

/* --- 2. Success Message (Modernized) --- */
.xoo-cp-atcn.xoo-cp-success {
    background: linear-gradient(to right, #181b21, #0d1016) !important;
    border: 1px solid #2a2d33 !important;
    border-left: 4px solid #25f46a !important; /* Neon Green Accent */
    color: #ffffff !important;
    border-radius: 8px;
    padding: 20px !important;
    margin-bottom: 30px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    display: flex;
    align-items: center;
}

.xoo-cp-icon-check {
    color: #25f46a !important;
    background: rgba(37, 244, 106, 0.1);
    border-radius: 50%;
    padding: 5px;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* --- 3. Product Table & List (Card Styled Popup) --- */
table.xoo-cp-pdetails {
    width: 100% !important;
    display: block !important;
    border: none !important;
}

.xoo-cp-pdetails tbody {
    display: block !important;
    width: 100% !important;
}

.xoo-cp-pdetails tbody tr {
    background-color: #181b21 !important; 
    border: 1px solid #2a2d33 !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    padding: 15px !important;
    position: relative !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Cells within the row - Reset to block for flex placement */
.xoo-cp-pdetails td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
}

/* Product Image Column */
td.xoo-cp-pimg {
    width: 90px !important;
    flex-shrink: 0 !important;
    margin-right: 15px !important;
}

.xoo-cp-pimg img {
    border-radius: 8px !important;
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
    background-color: #0d1016;
}

/* Product Info Column */
td.xoo-cp-ptitle {
    flex: 1 !important;
    padding-right: 25px !important; /* Space for remove icon */
    padding-left: 0 !important;
}

.xoo-cp-ptitle a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    line-height: 1.3;
    display: block;
    margin-bottom: 8px;
}

.xoo-cp-ptitle a:hover {
    color: #25f46a !important;
}

/* Price Column */
td.xoo-cp-pprice {
    width: 100% !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid #2a2d33 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.xoo-cp-pprice .amount, 
.woocommerce-Price-amount.amount {
    color: #25f46a !important;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-top: 0 !important;
}

/* Quantity Column (Align with Price) */
td.xoo-cp-pqty {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    margin-top: 0 !important;
}

/* Quantity Box styling */
.xoo-cp-qtybox {
    background-color: #0d1016 !important; 
    border: 1px solid #2a2d33 !important;
    border-radius: 50px !important; 
    display: flex;
    align-items: center;
    height: 32px;
    width: 100px !important;
    margin-top: 0 !important;
}

.xcp-chng {
    background-color: transparent !important;
    color: #9ca3af !important;
    width: 30px !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.xcp-chng:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
}

input.xoo-cp-qty {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    text-align: center !important;
    flex: 1 !important;
    padding: 0 !important;
    font-weight: bold;
    font-size: 0.9rem !important;
}

/* Delete/Remove Icon */
td.xoo-cp-remove {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
    padding: 0 !important;
}

.xoo-cp-remove .xoo-cp-remove-pd {
    color: #6b7280 !important;
    cursor: pointer;
    font-size: 18px;
    background: rgba(255,255,255,0.05);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.xoo-cp-remove .xoo-cp-remove-pd:hover {
    color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.1);
}

/* --- 4. Product Variations (Size, Initials) --- */
.wcpa_cart_meta {
    margin-top: 5px !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.wcpa_cart_meta_item {
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem !important;
    color: #9ca3af;
}

/* Labels */
.wcpa_cart_meta_item-label {
    color: #25f46a !important; 
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
}

/* Values */
.wcpa_cart_meta_item-value p {
    color: #d1d5db !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
}

/* --- 5. Total Footer Section --- */
.xoo-cp-ptotal {
    background-color: #181b21 !important;
    padding: 20px !important;
    margin-top: auto !important; 
    margin-bottom: 20px !important;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #2a2d33 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.xcp-totxt {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.xcp-ptotal .amount {
    color: #25f46a !important;
    font-size: 1.5rem !important;
    text-shadow: 0 0 10px rgba(37, 244, 106, 0.3);
}

/* --- 6. Buttons Area (SIDE BY SIDE LAYOUT) --- */
.xoo-cp-btns {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: row !important; /* Forces side-by-side */
    gap: 15px;
    flex-wrap: wrap; /* Allows wrapping on tiny screens */
}

.xcp-btn {
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    padding: 15px 10px !important;
    transition: all 0.3s ease !important;
    text-align: center;
    flex: 1; /* Makes buttons equal width */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkout Button (Primary) */
a.xoo-cp-btn-ch {
    background-color: #25f46a !important;
    color: #000a1B !important; 
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 244, 106, 0.2) !important;
}

a.xoo-cp-btn-ch:hover {
    background-color: #1ee05e !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 244, 106, 0.4) !important;
}

/* View Cart (Secondary) */
a.xoo-cp-btn-vc {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

a.xoo-cp-btn-vc:hover {
    border-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* Continue Shopping (Full Width below buttons) */
a.xoo-cp-close.xcp-btn {
    background: transparent !important;
    color: #9ca3af !important;
    border: none !important;
    font-size: 0.8rem !important;
    padding: 10px !important;
    width: 100%; /* Force full width */
    flex: 0 0 100%;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.7;
}

a.xoo-cp-close.xcp-btn:hover {
    color: #ffffff !important;
    opacity: 1;
}

/* --- 7. Top Close Icon --- */
span.xoo-cp-close.xoo-cp-icon-cross {
    color: #ffffff !important;
    opacity: 0.5;
    top: 20px !important;
    right: 20px !important;
    font-size: 20px;
    background: rgba(255,255,255,0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

span.xoo-cp-close.xoo-cp-icon-cross:hover {
    color: #000a1B !important;
    background: #25f46a !important;
    opacity: 1;
}

/* Preloader Spinner */
.xoo-cp-icon-spinner {
    color: #25f46a !important;
}
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block{
	max-height: fit-content;
}
.wc-block-components-product-metadata__description p{
	display: none;
}

/* Theme: The Club Shop (Dark Navy #000a1B)
   Page: Order Received / Thank You Endpoint
*/

/* --- 1. Global Page Layout & Resets --- */
.woocommerce-order {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Lexend', sans-serif;
    color: #9ca3af;
}

/* HIDE CART SUMMARY SECTION (Crucial Fix) */
/* Targets the specific structure provided: 
   The cart/summary columns are siblings of the main .woocommerce container */
.woocommerce + .wp-block-columns, 
.woocommerce-order + .wp-block-columns,
.woocommerce-order-received .wp-block-woocommerce-cart,
.woocommerce-order-received .wc-block-cart,
.woocommerce-order-received .wp-block-heading:has(+ .wp-block-woocommerce-cart) {
    display: none !important;
}

/* Fallback: Hide any columns containing the cart block if :has() is supported */
.wp-block-columns:has(.wc-block-cart) {
    display: none !important;
}

/* --- 2. Thank You Message --- */
.woocommerce-notice.woocommerce-thankyou-order-received {
    background: rgba(37, 244, 106, 0.1) !important; /* Low opacity neon green */
    border: 1px solid #25f46a !important;
    color: #25f46a !important;
    padding: 25px !important;
    border-radius: 12px !important;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 50px !important;
    box-shadow: 0 0 20px rgba(37, 244, 106, 0.1);
}

/* --- 3. Order Overview (The 4 columns: Order #, Date, etc) --- */
ul.woocommerce-order-overview {
    display: flex !important;
    justify-content: space-between !important;
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 50px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

li.woocommerce-order-overview__order,
li.woocommerce-order-overview__date,
li.woocommerce-order-overview__email,
li.woocommerce-order-overview__total {
    background-color: #181b21 !important; /* Surface Dark */
    border: 1px solid #2a2d33 !important;
    border-radius: 16px !important;
    padding: 25px !important;
    flex: 1 1 200px !important; /* Responsive sizing */
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    color: #9ca3af !important; /* Label color */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease;
}

li.woocommerce-order-overview__order:hover,
li.woocommerce-order-overview__date:hover,
li.woocommerce-order-overview__email:hover,
li.woocommerce-order-overview__total:hover {
    transform: translateY(-5px);
    border-color: #3f4552 !important;
}

li.woocommerce-order-overview__order strong,
li.woocommerce-order-overview__date strong,
li.woocommerce-order-overview__email strong,
li.woocommerce-order-overview__total strong {
    display: block !important;
    margin-top: 10px !important;
    color: #ffffff !important; /* Value color */
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
}

li.woocommerce-order-overview__total strong .amount {
    color: #25f46a !important; /* Neon Green Price */
}

/* --- 4. Order Details Section --- */
.woocommerce-order-details {
    background-color: #181b21 !important;
    padding: 40px !important;
    border-radius: 20px !important;
    border: 1px solid #2a2d33 !important;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.woocommerce-order-details__title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    border-bottom: 1px solid #2a2d33 !important;
    padding-bottom: 20px !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

/* Table Styling */
table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
}

/* Headings */
table.woocommerce-table--order-details th {
    text-align: left !important;
    padding: 15px !important;
    color: #25f46a !important; /* Neon Green */
    text-transform: uppercase;
    font-size: 0.85rem !important;
    border-bottom: 2px solid #2a2d33 !important;
    font-weight: 700;
}

/* Product Rows */
table.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #2a2d33 !important;
}

table.woocommerce-table--order-details tbody td {
    padding: 20px 15px !important;
    color: #d1d5db !important;
    vertical-align: top !important;
}

/* Product Name & Links */
table.woocommerce-table--order-details a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1rem;
    transition: 0.3s;
}

table.woocommerce-table--order-details a:hover {
    color: #25f46a !important;
}

.product-quantity {
    color: #9ca3af;
    font-weight: normal;
}

/* Meta Data (Size, Initials) */
.wc-item-meta {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
    font-size: 0.85rem !important;
}

.wc-item-meta li {
    display: flex !important;
    gap: 5px !important;
    color: #9ca3af !important;
    margin-bottom: 3px;
}

.wc-item-meta-label {
    color: #25f46a !important;
    font-weight: 600 !important;
}

/* Product Total Column */
table.woocommerce-table--order-details tbody .product-total {
    text-align: right;
    font-weight: 700;
    color: #ffffff;
}

/* Footer (Subtotal, Total, Actions) */
table.woocommerce-table--order-details tfoot th {
    text-align: right !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    color: #9ca3af !important;
    font-weight: 600 !important;
    padding: 15px 15px 15px 0;
    width: 70%;
}

table.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 15px 15px;
    font-weight: 600;
}

/* Highlight Final Total Row */
table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: none !important;
    font-size: 1.3rem !important;
    padding-top: 25px !important;
    color: #ffffff !important;
}

table.woocommerce-table--order-details tfoot tr:last-child .amount {
    color: #25f46a !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(37, 244, 106, 0.2);
}

/* Action Buttons (Invoice) */
.order-actions--heading {
    vertical-align: middle;
}

.order-actions-button {
    background-color: #25f46a !important;
    color: #000a1B !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
}

.order-actions-button:hover {
    background-color: #1ee05e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 244, 106, 0.3);
}

/* --- 5. Customer Details --- */
.woocommerce-customer-details {
    background-color: #181b21 !important;
    padding: 40px !important;
    border-radius: 20px !important;
    border: 1px solid #2a2d33 !important;
}

.woocommerce-column__title {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    font-weight: 800;
}

.woocommerce-customer-details address {
    font-style: normal !important;
    color: #9ca3af !important;
    line-height: 1.8 !important;
    border: 1px solid #2a2d33 !important;
    padding: 25px !important;
    border-radius: 12px !important;
    background: #0d1016 !important;
}

.woocommerce-customer-details--email {
    color: #25f46a !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    display: block !important;
}

/* --- 6. Mobile Responsiveness --- */
@media (max-width: 768px) {
    ul.woocommerce-order-overview {
        flex-direction: column !important;
    }
    
    li.woocommerce-order-overview__order,
    li.woocommerce-order-overview__date,
    li.woocommerce-order-overview__email,
    li.woocommerce-order-overview__total {
        width: 100% !important;
    }

    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 20px !important;
    }

    table.woocommerce-table--order-details th {
        font-size: 0.75rem !important;
    }
}

.wc-block-components-button.wc-block-components-checkout-place-order-button {
    background-color: #25f46a !important; /* Neon Green */
    color: #000a1B !important; /* Dark Text */
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 30px !important;
    font-size: 1rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(37, 244, 106, 0.2);
    margin-top: 20px !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}

.wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
    background-color: #1ee05e !important;
    color: #000a1B !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 244, 106, 0.4);
}

.wc-block-components-button.wc-block-components-checkout-place-order-button:focus {
    outline: 2px solid #25f46a;
    outline-offset: 2px;
}

.related.wt-related-products{
	display:flex;
	flex-direction: column;
}