.woocommerce-cart .cart-item-details h4 a {
    font-size: inherit;
}

@media (max-width: 768px) {
    .woocommerce-cart .cart-item { padding: 10px; }
    .woocommerce-cart .cart-item-details h4 a { font-size: 12px; }
}
/* My Account - View Order page polish */
.my-account-view-order {
    max-width: 1100px;
    margin: 20px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.my-account-view-order .order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.my-account-view-order .order-title h2 {
    margin: 0 0 6px 0;
    color: var(--foreground, #111827);
    font-weight: 800;
}

.my-account-view-order .order-title p {
    margin: 0;
    color: #6b7280;
}

.my-account-view-order .status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
}

.my-account-view-order .status-processing { background: #2563eb; }
.my-account-view-order .status-completed { background: #16a34a; }
.my-account-view-order .status-on-hold { background: #f59e0b; }
.my-account-view-order .status-cancelled { background: #ef4444; }

.my-account-view-order .order-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.my-account-view-order .order-section {
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 16px;
}

.my-account-view-order .order-section h3 {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.my-account-view-order .order-items { display: grid; gap: 12px; }
.my-account-view-order .order-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 10px;
    padding: 12px;
}
.my-account-view-order .item-image img { width: 60px; height: 60px; object-fit: contain; }
.my-account-view-order .item-name { margin: 0 0 4px 0; }
.my-account-view-order .item-price { font-weight: 700; }

.my-account-view-order .order-summary { background: #fff; border: 1px solid #eceff3; border-radius: 10px; padding: 12px; }
.my-account-view-order .summary-row { display:flex; justify-content:space-between; margin-bottom: 8px; }
.my-account-view-order .summary-row.total { border-top: 1px solid #e5e7eb; padding-top: 8px; margin-top: 8px; font-weight: 800; }

.my-account-view-order .address-details,
.my-account-view-order .payment-details,
.my-account-view-order .order-notes { background:#fff; border:1px solid #eceff3; border-radius:10px; padding:12px; }

.my-account-view-order .order-actions { display:flex; gap:12px; padding-top: 12px; border-top:1px solid #e5e7eb; }
.my-account-view-order .order-actions .btn { border-radius:8px; font-weight:700; text-decoration:none; }
.my-account-view-order .order-actions .btn-primary { background: linear-gradient(135deg, #dc2626, #ef4444); color:#fff; border:none; padding:10px 16px; }
.my-account-view-order .order-actions .btn-outline { border:2px solid #dc2626; color:#dc2626; padding:10px 16px; }

/* Tracking box placement and polish */
.my-account-view-order .order-tracking-box {
    margin: 8px 0 16px 0;
    padding: 14px;
    border: 2px dashed var(--brand-primary, #2563eb);
    border-radius: 10px;
    background: rgba(37,99,235,0.06);
}
.my-account-view-order .order-tracking-box .tracking-title { font-weight:800; margin-bottom:6px; }
.my-account-view-order .order-tracking-box .tracking-link { display:inline-block; background:#2563eb; color:#fff; padding:9px 14px; border-radius:8px; text-decoration:none; font-weight:700; }
.my-account-view-order .order-tracking-box .tracking-link:hover { background:#1e40af; }

@media (max-width: 768px) {
    .my-account-view-order { padding: 16px; }
    .my-account-view-order .order-item { grid-template-columns: 1fr; text-align: left; }
    .my-account-view-order .order-header { flex-direction: column; align-items: flex-start; }
    .my-account-view-order .order-actions { flex-direction: column; }
}
/* ==========================================================================
   POKEMON CARDS THEME - TEMPLATE DESIGN
   ========================================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pokémon-themed color palette */
    --primary: #ffcb05; /* Pikachu Yellow */
    --primary-foreground: #000000;
    --secondary: #cc0000; /* Pokéball Red */
    --secondary-foreground: #ffffff;
    --accent: #3b4cca; /* Pokémon Blue */
    --accent-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #000000;
    --muted: #f0f0f0;
    --muted-foreground: #374151;
    --border: #e0e0e0;
    --card: #f0f0f0;
    --card-foreground: #000000;
    --destructive: #cc0000;
    --destructive-foreground: #ffffff;
    --input: #ffffff;
    --ring: #ffcb05;
    --radius: 0.25rem;

    /* Typography - Professional Pokemon Store */
    --font-heading: "Inter", "Segoe UI", "Roboto", sans-serif; /* Clean, modern headings */
    --font-title: "Poppins", "Inter", sans-serif; /* Bold, friendly titles */
    --font-body: "Inter", "Segoe UI", sans-serif; /* Highly readable body text */

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Add padding when top bar is active */
body.top-bar-active {
    padding-top: 40px;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    position: sticky;
    top: 39px; /* Account for top bar height */
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: none; /* Prevent any size changes */
}

.header-top {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    transition: none; /* Prevent size changes */
}

/* Logo/Brand */
.site-branding {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: bold;
    font-size: 0.875rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Navigation */
.main-navigation {
  
    border-top: 1px solid var(--border);
    padding: var(--spacing-sm) 0;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.primary-menu li {
    margin: 0;
}

.primary-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

/* Tracking box on My Account > View Order */
.order-tracking-box {
    margin: 16px 0;
    padding: 16px;
    border: 2px dashed var(--brand-primary, #2563eb);
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.06);
}
.order-tracking-box .tracking-title {
    font-weight: 700;
    margin-bottom: 8px;
}
.order-tracking-box .tracking-link {
    display: inline-block;
    background: var(--brand-primary, #2563eb);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.order-tracking-box .tracking-link:hover {
    background: #1e40af;
}

/* Hide chevron down arrows */
.primary-menu a .fa-chevron-down {
    display: none;
}

.primary-menu a:hover,
.primary-menu a.current-menu-item {
    color: white;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    padding: var(--spacing-sm) var(--spacing-md);
  
   
}

@keyframes pokemonNavGlow {
    0% {
        box-shadow: 
            0 0 10px rgba(220, 38, 38, 0.5),
            0 0 20px rgba(239, 68, 68, 0.3);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(220, 38, 38, 0.7),
            0 0 30px rgba(239, 68, 68, 0.5),
            0 0 40px rgba(220, 38, 38, 0.3);
    }
}

.primary-menu a:hover::after,
.primary-menu a.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: -var(--spacing-sm);
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706, #fbbf24);
    border-radius: 2px;
    animation: pokemonUnderline 1s ease-in-out infinite alternate;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

@keyframes pokemonUnderline {
    0% {
        box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
        transform: translateX(-50%) scaleX(0.8);
    }
    100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
        transform: translateX(-50%) scaleX(1.1);
    }
}

/* Removed old ::after rule - now handled above */

/* Search */
.header-search {
    flex: 1;
    max-width: 600px;
    margin: 0 var(--spacing-xl);
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input-wrapper.focused {
    border-color: var(--primary);
}

.search-field {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    background-color: transparent;
    color: var(--foreground);
    outline: none;
}

.search-field::placeholder {
    color: var(--muted-foreground);
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary);
    border: none;
    color: var(--primary-foreground);
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 50px;
}

.search-submit:hover {
    background-color: #e6b800;
}

.search-submit i {
    font-size: 0.875rem;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: var(--muted);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: var(--spacing-sm);
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 2px;
}

.suggestion-price {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.suggestion-category {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    background-color: var(--muted);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: var(--spacing-sm);
}

.search-loading {
    padding: var(--spacing-md);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.search-no-results {
    padding: var(--spacing-md);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.account-link,
.cart-link {
    display: flex;
    align-items: center;
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    text-decoration: none;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 48px;
    height: 48px;
}

.account-btn:hover {
    color: var(--primary);
}

.account-btn i {
    font-size: 18px;
    color: var(--foreground);
}

.account-text {
    white-space: nowrap;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    text-decoration: none;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 48px;
    height: 48px;
}

.cart-btn:hover {
    color: var(--primary);
    border-color: var(--card);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-wrapper i {
    font-size: 18px;
    color: var(--foreground);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-total {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.cart-items {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: #fff;
    font-size: 18px;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.mobile-menu-toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, #374151, #1f2937);
}

.mobile-menu-toggle[aria-expanded="true"] i:before {
    content: "\f00d";
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    padding: var(--spacing-3xl) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--foreground);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    position: relative;
    transform: translateZ(0); /* Create new stacking context */
    overflow: hidden; /* Prevent horizontal scroll from card animations */
}

/* Animated Card Shuffling */
.card-container {
    position: relative;
    width: 200px;
    height: 280px;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* V-Shape Positioning */
.card-1 {
    transform: translateX(-60px) translateY(-20px) rotateY(-15deg) rotateX(5deg);
    z-index: 3;
}

.card-2 {
    transform: translateX(60px) translateY(-20px) rotateY(15deg) rotateX(5deg);
    z-index: 2;
}


.card-1:hover {
    transform: translateX(-60px) translateY(-30px) rotateY(-15deg) rotateX(5deg) scale(1.05);
}

.card-2:hover {
    transform: translateX(60px) translateY(-30px) rotateY(15deg) rotateX(5deg) scale(1.05);
}

/* Smooth Shuffle Animation */
@keyframes shuffle {
    0% { 
        transform: translateX(-60px) translateY(-20px) rotateY(-15deg) rotateX(5deg) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateX(-30px) translateY(-50px) rotateY(-25deg) rotateX(15deg) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(0px) translateY(-80px) rotateY(0deg) rotateX(25deg) scale(1.2);
        opacity: 0.7;
    }
    75% { 
        transform: translateX(30px) translateY(-50px) rotateY(25deg) rotateX(15deg) scale(1.1);
        opacity: 0.9;
    }
    100% { 
        transform: translateX(60px) translateY(-20px) rotateY(15deg) rotateX(5deg) scale(1);
        opacity: 1;
    }
}

@keyframes shuffleReverse {
    0% { 
        transform: translateX(60px) translateY(-20px) rotateY(15deg) rotateX(5deg) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateX(30px) translateY(-50px) rotateY(25deg) rotateX(15deg) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(0px) translateY(-80px) rotateY(0deg) rotateX(25deg) scale(1.2);
        opacity: 0.7;
    }
    75% { 
        transform: translateX(-30px) translateY(-50px) rotateY(-25deg) rotateX(15deg) scale(1.1);
        opacity: 0.9;
    }
    100% { 
        transform: translateX(-60px) translateY(-20px) rotateY(-15deg) rotateX(5deg) scale(1);
        opacity: 1;
    }
}

.card.shuffling-1 {
    animation: shuffle 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.shuffling-2 {
    animation: shuffleReverse 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth Fade for Image Changes */
@keyframes smoothFade {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.card.changing {
    animation: smoothFade 0.4s ease-in-out;
}

/* Enhanced Shine Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: none;
    transition: left 0.6s ease-out;
    border-radius: 12px;
    border: none;
    z-index: 1;
    pointer-events: none;
}

.card.shine::before {
    left: 100%;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */

.trust-badges {
    padding: var(--spacing-2xl) 0;
   
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: #f9f9f9;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

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

.badge-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.badge-text h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--foreground);
}

.badge-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */

.categories {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--foreground);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    width: 350px;
    height: 350px;
    object-fit: contain;
}

.category-content {
    padding: var(--spacing-lg);
}

.category-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.category-content p {
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ==========================================================================
   FEATURED PRODUCTS
   ========================================================================== */

/* Universal Filters Bar */
.universal-filters {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.apply-filters-btn,
.clear-filters-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-filters-btn {
    background: #dc2626;
    color: white;
}

.apply-filters-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.clear-filters-btn {
    background: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
}

.clear-filters-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.results-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Responsive Filters */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .apply-filters-btn,
    .clear-filters-btn {
        width: 100%;
        margin-top: 10px;
    }
}

.featured-products {
    padding: var(--spacing-3xl) 0;
    background-color: var(--muted);
}

.products-grid {
    display: grid;
    gap: var(--spacing-lg);
}

/* Override WooCommerce default product list */
.products-grid .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--spacing-lg) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products-grid .products .product {
    display: flex !important;
    flex-direction: column !important;
    background-color: var(--background) !important;
    border-radius: var(--radius) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: 1px solid var(--border) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.products-grid .products .product:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(147, 51, 234, 0.3),
        0 0 45px rgba(236, 72, 153, 0.2),
        0 0 60px rgba(34, 197, 94, 0.1) !important;
    border: 2px solid rgba(59, 130, 246, 0.6) !important;
    animation: pokemonGlow 2s ease-in-out infinite alternate !important;
}

@keyframes pokemonGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(59, 130, 246, 0.4),
            0 0 30px rgba(147, 51, 234, 0.3),
            0 0 45px rgba(236, 72, 153, 0.2),
            0 0 60px rgba(34, 197, 94, 0.1);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(59, 130, 246, 0.6),
            0 0 50px rgba(147, 51, 234, 0.5),
            0 0 75px rgba(236, 72, 153, 0.4),
            0 0 100px rgba(34, 197, 94, 0.3);
    }
}

/* Style WooCommerce product elements */
.products-grid .products .product .woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
}

.products-grid .products .product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--foreground) !important;
    margin: var(--spacing-md) !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.products-grid .products .product .price {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin: 0 var(--spacing-md) var(--spacing-md) !important;
    margin-top: auto !important;
}

.products-grid .products .product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 400px !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.2s ease !important;
}

/* Removed image scaling hover effect */

.products-grid .products .product .button {
    margin: 0 var(--spacing-md) var(--spacing-md) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--spacing-sm) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    background-color: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    cursor: pointer !important;
}

.products-grid .products .product .button:hover,
.products-grid .products .product:hover .button {
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-md) !important;
    background-color: #CC0000 !important;
    color: white !important;
    border-color: #CC0000 !important;
}

.product-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}



.product-badge.sale {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.product-badge.out-of-stock {
    background: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card.out-of-stock .product-image {
    position: relative;
}

.product-card.out-of-stock .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.product-card.out-of-stock .product-link,
.product-card.out-of-stock .woocommerce-LoopProduct-link {
    pointer-events: none;
    opacity: 0.7;
}

.product-card.out-of-stock .add_to_cart_button,
.product-card.out-of-stock .button.product_type_simple,
.product-card.out-of-stock .add-to-cart {
    background: #9ca3af !important;
    border-color: #9ca3af !important;
    color: #6b7280 !important;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.product-info {
    padding: var(--spacing-lg);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.product-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.product-set,
.product-rarity {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--muted);
    border-radius: var(--radius);
    font-size: 0.75rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--spacing-md);
}

.product-actions {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* ==========================================================================
   HOMEPAGE PRODUCT SECTIONS
   ========================================================================== */

/* Homepage Featured Products - 3 per row */
.featured-products .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* Homepage Booster Packs - 3 per row */
.booster-packs .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* Homepage Special Collection - 3 per row */
.special-collection .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* Homepage product cards - use same design as shop page */
.featured-products .product-card,
.booster-packs .product-card,
.special-collection .product-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.featured-products .product-card:hover,
.booster-packs .product-card:hover,
.special-collection .product-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(147, 51, 234, 0.3),
        0 0 45px rgba(236, 72, 153, 0.2),
        0 0 60px rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.6);
    animation: pokemonGlow 2s ease-in-out infinite alternate;
}

.featured-products .product-image,
.booster-packs .product-image,
.special-collection .product-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-products .product-image img,
.booster-packs .product-image img,
.special-collection .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease;
}

.featured-products .product-card:hover .product-image img,
.booster-packs .product-card:hover .product-image img,
.special-collection .product-card:hover .product-image img {
    transform: scale(1.05);
}

.featured-products .product-info,
.booster-packs .product-info,
.special-collection .product-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.featured-products .product-title,
.booster-packs .product-title,
.special-collection .product-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.3;
    margin: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-products .product-meta,
.booster-packs .product-meta,
.special-collection .product-meta {
    font-size: 12px;
    color: #6b7280;
    margin: 0 var(--spacing-md);
}

.featured-products .product-price,
.booster-packs .product-price,
.special-collection .product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 var(--spacing-md) var(--spacing-md);
    margin-top: auto;
}


.featured-products .product-actions,
.booster-packs .product-actions,
.special-collection .product-actions {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.featured-products .product-actions .btn,
.booster-packs .product-actions .btn,
.special-collection .product-actions .btn {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
}

.featured-products .product-actions .btn.btn-primary:hover,
.booster-packs .product-actions .btn.btn-primary:hover,
.special-collection .product-actions .btn.btn-primary:hover,
.featured-products .product-card:hover .product-actions .btn.btn-primary,
.booster-packs .product-card:hover .product-actions .btn.btn-primary,
.special-collection .product-card:hover .product-actions .btn.btn-primary {
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-md) !important;
    background-color: #CC0000 !important;
    background: #CC0000 !important;
    color: white !important;
    border-color: #CC0000 !important;
}

/* Mobile responsive for homepage sections */
@media (max-width: 768px) {
    .featured-products .products-grid,
    .booster-packs .products-grid,
    .special-collection .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .featured-products .products-grid,
    .booster-packs .products-grid,
    .special-collection .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    margin-top: var(--spacing-3xl);
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-sm);
    align-items: center;
}

.woocommerce-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: var(--spacing-sm);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

.woocommerce-pagination .page-numbers a:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.woocommerce-pagination .page-numbers .current {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    font-weight: 700;
}

.woocommerce-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev {
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: auto;
    font-weight: 600;
}

.woocommerce-pagination .page-numbers .next:hover,
.woocommerce-pagination .page-numbers .prev:hover {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--secondary);
}

.woocommerce-pagination .page-numbers i {
    margin-left: var(--spacing-xs);
    font-size: 0.8rem;
}

/* Mobile pagination */
@media (max-width: 768px) {
    .woocommerce-pagination .page-numbers {
        gap: var(--spacing-xs);
    }
    
    .woocommerce-pagination .page-numbers a,
    .woocommerce-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .woocommerce-pagination .page-numbers .next,
    .woocommerce-pagination .page-numbers .prev {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.newsletter {
    padding: var(--spacing-3xl) 0;
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--accent-foreground);
}

.newsletter-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--accent-foreground);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-foreground);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Newsletter Success State */
.newsletter-form.subscribed-success {
    border: 2px solid #00a32a;
    background-color: rgba(0, 163, 42, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.newsletter-form.subscribed-success .newsletter-input {
    background-color: rgba(0, 163, 42, 0.1);
    border-color: #00a32a;
}

.newsletter-form.subscribed-success .btn-primary {
    background: linear-gradient(135deg, #00a32a 0%, #007a1f 100%);
    animation: successGlow 2s ease-in-out infinite;
}

@keyframes successGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 163, 42, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 163, 42, 0.6); }
}

/* Notification System */
.pokemon-notification {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.pokemon-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.pokemon-notification.notification-success {
    background: linear-gradient(135deg, #00a32a 0%, #007a1f 100%);
    border-left: 4px solid #00a32a;
}

.pokemon-notification.notification-error {
    background: linear-gradient(135deg, #d63638 0%, #b32d2e 100%);
    border-left: 4px solid #d63638;
}

.pokemon-notification.notification-info {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border-left: 4px solid #0073aa;
}

/* Mobile notifications */
@media (max-width: 768px) {
    .pokemon-notification {
        top: 45px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .pokemon-notification.show {
        transform: translateY(0);
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #e6b800 100%);
    color: var(--primary-foreground);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6b800 0%, #d4a600 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 203, 5, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #b30000 100%);
    color: var(--background);
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #b30000 0%, #990000 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}



/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .header-search {
        min-width: 250px;
    }
    
    .primary-menu {
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .card-container {
        width: 150px;
        height: 210px;
    }
    
    .card-1 {
        transform: translateX(-40px) translateY(-15px) rotateY(-10deg) rotateX(3deg);
    }
    
    .card-2 {
        transform: translateX(40px) translateY(-15px) rotateY(10deg) rotateX(3deg);
    }
    
    .card-1:hover {
        transform: translateX(-40px) translateY(-25px) rotateY(-10deg) rotateX(3deg) scale(1.05);
    }
    
    .card-2:hover {
        transform: translateX(40px) translateY(-25px) rotateY(10deg) rotateX(3deg) scale(1.05);
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 4rem;
        flex-wrap: nowrap;
        gap: var(--spacing-md);
    }
    
    /* Hide search bar on mobile */
    .header-search {
        display: none;
    }
    
    /* Keep logo on the left */
    .site-branding {
        order: 1;
        flex-shrink: 0;
    }
    
    .main-navigation {
        order: 3;
        flex-basis: 100%;
      
        padding-top: var(--spacing-md);
        border-top: 1px solid var(--border);
    }
    
    .primary-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .primary-menu li {
        width: 100%;
    }
    
    .primary-menu a {
        display: block;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border);
    }
    
    .primary-menu a::after {
        display: none;
    }
    
    .header-search {
        order: 2;
        min-width: auto;
        flex: 1;
        margin: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        order: 2;
        flex-shrink: 0;
        width: auto;
    }
    
    .account-text {
        display: none;
    }
    
    .cart-info {
        display: none;
    }
    
    /* Mobile-specific button styling to prevent overflow */
    .account-btn {
        padding: var(--spacing-xs);
        min-width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .account-btn i {
        font-size: 1.25rem;
    }
    
    .cart-btn {
        padding: var(--spacing-xs);
        min-width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cart-btn i {
        font-size: 1.25rem;
    }
    
    .cart-count {
        font-size: 0.75rem;
        min-width: 1.25rem;
        height: 1.25rem;
        line-height: 1.25rem;
    }
    
    .mobile-menu-toggle {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Single column layout for products on mobile */
    .products-grid .products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   PRODUCTS PAGE
   ========================================================================== */

.products-main {
    padding: var(--spacing-2xl) 0;
    min-height: calc(100vh - 200px);
}

.products-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.products-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.products-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
}

/* Filters Sidebar */
.filters-sidebar {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.filters-header h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.clear-filters {
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
}

.clear-filters:hover {
    color: var(--foreground);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.filter-option:hover {
    color: var(--foreground);
}

.price-range {
    margin-top: var(--spacing-md);
}

.price-slider {
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Products Content */
.products-content {
    min-height: 400px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.results-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-options label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.sort-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-size: 0.875rem;
}

.no-products {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
    color: var(--muted-foreground);
}

.no-products h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

/* ==========================================================================
   SINGLE PRODUCT PAGE - CLEAN POKEMON DESIGN
   ========================================================================== */

.product-detail-main {
    padding: 0;
}

.single-product-hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--muted) 0%, var(--background) 100%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: var(--muted-foreground);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* Product Image Section */
.product-image-section {
    position: sticky;
    top: var(--spacing-xl);
}

.product-image-main {
    position: relative;
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.product-image-main:hover .main-product-image {
    transform: scale(1.02);
}

.product-gallery {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    overflow-x: auto;
    padding: var(--spacing-sm) 0;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Product Details Section */
.product-details-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.product-header {
    text-align: left;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
    line-height: 1.2;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

/* Pokemon Card Details */
.pokemon-card-details {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary);
}

.card-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background-color: var(--muted);
    border-radius: var(--radius);
    text-align: center;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.detail-value.rarity-rare {
    color: var(--secondary);
}

.detail-value.rarity-ultra-rare {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 203, 5, 0.3);
}

/* Product Description */
.product-description {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.product-description h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.description-text {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1rem;
}

/* Product Purchase */
.product-purchase {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
  
}

.purchase-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.purchase-controls .quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.purchase-controls .quantity input {
    width: 80px;
    padding: var(--spacing-md);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    background-color: var(--background);
    font-size: 1rem;
    font-weight: 600;
}

.purchase-controls .quantity input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2);
}

.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary), #e6b800);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #e6b800, var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stock Information */
.stock-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    box-shadow: 0 2px 8px rgba(59, 76, 202, 0.1);
    position: relative;
    overflow: hidden;
}

.stock-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), #1e3a8a);
    border-radius: 0 2px 2px 0;
}

.stock-info i {
    color: var(--accent);
    font-size: 1.2rem;
    background: rgba(59, 76, 202, 0.1);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.stock-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.stock-quantity {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--accent), #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(59, 76, 202, 0.2);
}

/* Hover effect for stock info */
.stock-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 76, 202, 0.15);
    transition: all 0.3s ease;
}

.stock-info:hover i {
    background: rgba(59, 76, 202, 0.15);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.add-to-cart-btn i {
    font-size: 1rem;
}

.out-of-stock-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background-color: var(--destructive);
    color: var(--destructive-foreground);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
}

/* Product Categories */
.product-categories {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.product-categories h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.category-tag {
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), #e6b800);
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.category-tag:hover {
    background: linear-gradient(135deg, #e6b800, var(--primary));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Related Products Section */
.related-products-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background);
}

.related-products-section .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--foreground);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

/* Enhanced Product Cards */
.product-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--muted);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}



.product-info {
    padding: var(--spacing-lg);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
    line-height: 1.4;
}

.product-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.product-set,
.product-rarity {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--muted);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.product-actions {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.product-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   CHECKOUT PAGE - POKEMON THEME DESIGN
   ========================================================================== */

.checkout-main {
    padding: var(--spacing-2xl) 0;
   
    min-height: 80vh;
}

.checkout-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.checkout-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.checkout-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.checkout-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.checkout-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.checkout-empty-content {
    text-align: center;
    background-color: var(--background);
    padding: var(--spacing-3xl);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.checkout-empty-icon {
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.checkout-empty-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.checkout-empty-content p {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-xl);
}

.checkout-content {
    display: flex;
    flex-direction: column;
  
    align-items: stretch;
}

/* Desktop: 2-column layout for checkout form */
@media (min-width: 1025px) {
    .checkout-content {
        display: grid;
        grid-template-columns: 1fr 500px;
  
        align-items: start;
    }
    
    .checkout-form-section {
        order: 1;
    }
    
    .checkout-summary {
        order: 2;
        position: sticky;
        top: var(--spacing-xl);
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .checkout-form-fields {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .billing-details {
        order: 1;
    }
    
    .order-notes {
        order: 2;
    }
    
    .payment-section {
        order: 3;
        grid-column: 1;
    }
    
    .checkout-actions {
        order: 4;
        grid-column: 1;
    }
}

.checkout-form-section {
    flex: 1;
}

.payment-section {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
 
    margin-top: var(--spacing-lg);
}

.checkout-actions {
    text-align: center;
    margin-top: var(--spacing-lg);
}


/* Checkout Form Section */
.checkout-form-section {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow-lg);
}

.checkout-form-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--primary);
}

.checkout-form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.checkout-form-header p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

.checkout-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.billing-details,
.shipping-details,
.order-notes {
    background-color: var(--muted);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.billing-details h3,
.shipping-details h3,
.order-notes h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--foreground);
    border-bottom: 2px solid var(--primary);
    padding-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.billing-details h3::before,
.shipping-details h3::before,
.order-notes h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-row {
    margin-bottom: var(--spacing-xl);
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

.form-row .required {
    color: var(--destructive);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2);
    transform: translateY(-1px);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    padding: var(--spacing-md);
    background-color: var(--background);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    border-color: var(--primary);
    background-color: var(--muted);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--primary);
}

.checkbox-text {
    font-weight: 500;
    color: var(--foreground);
    font-size: 1rem;
}

.shipping-address-fields {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border);
    background-color: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
}

/* WooCommerce Message Popups - Only for non-cart pages */
body:not(.woocommerce-cart) .woocommerce-message,
body:not(.woocommerce-cart) .woocommerce-info,
body:not(.woocommerce-cart) .woocommerce-error,
body:not(.woocommerce-cart) .woocommerce-notice,
body:not(.woocommerce-cart) [role="alert"] {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    max-width: 500px !important;
    width: 90% !important;
    padding: var(--spacing-xl) var(--spacing-2xl) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    animation: fadeInScale 0.3s ease-out !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

/* Cart page notifications - normal flow */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-notice,
.woocommerce-cart [role="alert"] {
    position: static !important;
    transform: none !important;
    z-index: auto !important;
    max-width: none !important;
    width: 100% !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #ddd !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 1rem 0 !important;
    opacity: 1 !important;
    text-align: left !important;
    animation: none !important;
}

.woocommerce-message {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

.woocommerce-info {
    background: linear-gradient(135deg, var(--primary), #e6b800) !important;
    color: var(--primary-foreground) !important;
}

.woocommerce-error {
    background: linear-gradient(135deg, var(--destructive), #dc2626) !important;
    color: var(--destructive-foreground) !important;
}

.woocommerce-notice {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
}

/* Coupon removal button styling */
.woocommerce-remove-coupon {
    background: #dc2626 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-left: 10px !important;
}

.woocommerce-remove-coupon:hover {
    background: #b91c1c !important;
    transform: translateY(-1px) !important;
}

.woocommerce-remove-coupon:disabled {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Coupon display improvements */
.cart-total-row.coupon,
.order-total-row.coupon {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.cart-total-row.coupon:last-child,
.order-total-row.coupon:last-child {
    border-bottom: none !important;
}
/* Hide WooCommerce default coupon messages */
.woocommerce-info,
.woocommerce-message {
    display: none !important;
}

/* Hide WooCommerce default coupon removal notices */
.woocommerce-notice--success,
.woocommerce-notice--error {
    display: none !important;
}

/* Ensure error messages are properly styled and positioned */
.woocommerce-error {
    background: linear-gradient(135deg, var(--destructive), #dc2626) !important;
    color: white !important;
    border: 2px solid rgba(220, 38, 38, 0.3) !important;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3) !important;
}

.woocommerce-error li a {
    color: white !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
}

.woocommerce-error li a strong {
    color: white !important;
    font-weight: 600 !important;
}

.woocommerce-error li {
    color: white !important;
}

/* Popup animations */
@keyframes fadeInScale {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOutScale {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Auto-hide animation */
.woocommerce-message.hide,
.woocommerce-info.hide,
.woocommerce-error.hide,
.woocommerce-notice.hide,
[role="alert"].hide {
    animation: fadeOutScale 0.3s ease-in forwards !important;
}

/* Close button styling */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-notice .button {
    background: rgba(255, 255, 255, 0.2) !important;
    color: inherit !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.8rem !important;
    margin-left: var(--spacing-sm) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce-notice .button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Custom close button */
.woocommerce-message-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: inherit !important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

.woocommerce-message-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
}

/* Mobile responsive - Only for non-cart pages */
@media (max-width: 768px) {
    body:not(.woocommerce-cart) .woocommerce-message,
    body:not(.woocommerce-cart) .woocommerce-info,
    body:not(.woocommerce-cart) .woocommerce-error,
    body:not(.woocommerce-cart) .woocommerce-notice,
    body:not(.woocommerce-cart) [role="alert"] {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: 90% !important;
        width: 90% !important;
        padding: var(--spacing-lg) var(--spacing-xl) !important;
        font-size: 0.9rem !important;
    }
    
    body:not(.woocommerce-cart) .woocommerce-message-close {
        top: 8px !important;
        right: 8px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 16px !important;
    }
    
    /* Cart page mobile notifications */
    .woocommerce-cart .woocommerce-message,
    .woocommerce-cart .woocommerce-info,
    .woocommerce-cart .woocommerce-error,
    .woocommerce-cart .woocommerce-notice,
    .woocommerce-cart [role="alert"] {
        padding: 0.8rem !important;
        font-size: 0.85rem !important;
        margin: 0.8rem 0 !important;
    }
}

/* Coupon Section */
.coupon-section {
    background-color: var(--muted);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: var(--spacing-xl);
}

.coupon-section h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.coupon-section h3::before {
    content: '🎫';
    font-size: 1.5rem;
}

.coupon-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.coupon-input-group {
    display: flex;
    gap: var(--spacing-md);
    align-items: stretch;
    flex-wrap: nowrap;
}

.coupon-input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2);
}

.apply-coupon-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--secondary), #b30000);
    color: var(--secondary-foreground);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    background: linear-gradient(135deg, #b30000, var(--secondary));
    transform: translateY(-1px);
}

.coupon-help {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
    font-style: italic;
}

/* Order Summary Section */
.checkout-summary {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    position: static;
    order: 1;
}

.checkout-summary-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--foreground);
    text-align: center;
}

.order-items {
    margin-bottom: var(--spacing-xl);
}

.order-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--muted);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border);
}

.order-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--background);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--foreground);
    line-height: 1.3;
}

.order-item-meta {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.order-item-meta .meta-item {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--background);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.order-item-quantity {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.order-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.order-totals {
    border-top: 2px solid var(--border);
    padding-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.order-total-row:last-child {
    border-bottom: none;
}

.order-total-row.total {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

/* Shipping Methods Styling */
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shipping-methods li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-shipping-methods li:not(:last-child) {
    margin-bottom: 8px;
}

.woocommerce-shipping-methods label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    width: 100%;
}

.woocommerce-shipping-methods label:hover {
    border-color: var(--accent);
}

.woocommerce-shipping-methods input[type="radio"] {
    display: none;
}

.woocommerce-shipping-methods input[type="radio"]:checked ~ label,
.woocommerce-shipping-methods input[type="radio"]:checked + label {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #15803d;
}

.woocommerce-shipping-methods .woocommerce-Price-amount {
    margin-left: auto;
    font-weight: 600;
    color: var(--accent);
}

/* Payment Section */
.payment-section {
    margin-bottom: var(--spacing-xl);
}

.payment-section h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--foreground);
    border-bottom: 2px solid var(--primary);
    padding-bottom: var(--spacing-sm);
}



/* Ensure Square iframe is visible on mobile - Show all fields */
.sq-card-iframe-container {
    border-radius: var(--radius);
    overflow: visible; /* Allow overflow to show all fields */
    background-color: var(--background);
    border: 1px solid var(--border);
    min-height: 120px; /* Increased height to accommodate all fields */
    width: 100%;
}

.sq-card-component {
    border-radius: var(--radius);
    border: none !important;
    width: 100% !important;
    height: 120px !important; /* Fixed height to show all fields */
}

/* Square Card Wrapper */
.sq-card-wrapper {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
}

.sq-card-message {
    display: none;
}

/* Payment Method Content */
.payment-method-content {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-sm);
    transition: all 0.3s ease;
}



.payment-method-content p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

/* Professional Checkbox Alignment - Same Line, Vertically Centered */
.payment-method-content .form-row {
        margin-bottom: var(--spacing-md);
    display: flex
;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.payment-method-content input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: var(--primary) !important;
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
}

.payment-method-content label[for*="tokenize"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--spacing-sm) !important;
    font-weight: 500 !important;
    color: var(--foreground) !important;
    cursor: pointer !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
    vertical-align: middle;
    line-height: 1.4;
    
}

.payment-method-content label[for*="tokenize"]:hover {
    color: var(--primary) !important;
}

.payment-method-content input[type="checkbox"]:checked + label[for*="tokenize"] {
    color: var(--primary) !important;
}

/* Square Form Fieldset Cleanup */
#wc-square-credit-card-credit-card-form {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wc-square-credit-card-new-payment-method-form {
    background-color: transparent !important;
}

.wc-square-credit-card-new-payment-method-form input[type="hidden"] {
    display: none !important;
}

/* Force Square to show all fields on mobile */
#wc-square-credit-card-container iframe {
    height: 120px !important;
    min-height: 120px !important;
}

@media (max-width: 768px) {
    #wc-square-credit-card-container iframe {
        height: 100px !important;
        min-height: 100px !important;
    }
}

@media (max-width: 480px) {
    #wc-square-credit-card-container iframe {
        height: 90px !important;
        min-height: 90px !important;
    }
}

/* Mobile Responsive - Ensure All Fields Visible */
@media (max-width: 768px) {
    .payment-method-content {
        padding: var(--spacing-md);
        margin-top: var(--spacing-sm);
    }
    
    #wc-square-credit-card-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-xs) 0;
    }
    
    /* Ensure Square iframe shows all fields on mobile */
    .sq-card-iframe-container {
        min-height: 100px;
        height: 100px !important;
        overflow: visible;
    }
    
    .sq-card-component {
        height: 100px !important;
    }
    
    .payment-method-content label[for*="tokenize"] {
        padding: var(--spacing-xs) var(--spacing-sm) !important;
        font-size: 0.85rem !important;
    }
    
    .payment-method-content input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 480px) {
    .payment-method-content {
        padding: var(--spacing-sm);
    }
    
    .payment-method-content p {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .payment-method-content label[for*="tokenize"] {
                padding: 10px !important;
        margin-top: 4px !important;
        font-size: 0.8rem !important;
    }
    
    .payment-method-content input[type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Extra small screens - ensure all fields visible */
    .sq-card-iframe-container {
        min-height: 90px;
        height: 90px !important;
        overflow: visible;
    }
    
    .sq-card-component {
        height: 90px !important;
    }
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--muted);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-label:hover {
    border-color: var(--primary);
    background-color: var(--background);
}

.payment-method-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.payment-method-label input[type="radio"]:checked + .payment-method-text {
    color: var(--primary);
}

.payment-method-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.2s ease;
}

.payment-method-text i {
    font-size: 1.125rem;
}

/* Checkout Actions */
.checkout-actions {
    text-align: center;
}

.checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary), #e6b800);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #e6b800, var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.checkout-btn i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-content {
        flex-direction: column;

    }
    
    .checkout-summary {
        flex: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-layout {
        padding: 0;
    }
    
    .checkout-form-section,
    .checkout-summary {
        padding: 0;
    }
    
    .form-row-group {
        grid-template-columns: 1fr;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .checkout-form-header h2 {
        font-size: 1.5rem;
    }
    
    /* Mobile checkout order */
    .checkout-content {
        display: flex;
        flex-direction: column;
     
    }
    
    .checkout-form-section {
        order: 1;
    }
    
    .checkout-summary {
        order: 2;
    }
    
    .payment-section {
        order: 3;
    }
    
    .checkout-actions {
        order: 4;
    }
    
    .billing-details,
    .shipping-details,
    .order-notes {
        padding: var(--spacing-lg);
    }
    
    .coupon-input-group {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        width: 100%;
        justify-content: center;
    }
}

.cart-main {
    padding: var(--spacing-2xl) 0;
}

.cart-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.cart-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.cart-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.cart-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.cart-empty {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.cart-empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.cart-empty-icon {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-lg);
}

.cart-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.cart-empty p {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-xl);
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.cart-items {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.cart-items-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.cart-items-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: var(--spacing-md);
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.1);
}

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.cart-item-details h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.cart-item-details h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-details h4 a:hover {
    color: #dc2626;
}

.cart-item-meta {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.meta-item {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.cart-item-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-controls .quantity input {
    width: 60px;
    padding: 8px;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    background: white;
}

.quantity-controls .quantity input:focus {
    outline: none;
    background: #f8f9fa;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background-color: var(--background);
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.quantity-btn:hover {
    background-color: var(--muted);
}

.quantity-input {
    width: 50px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 0.875rem;
    background-color: var(--background);
}

.cart-item-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #dc2626;
    text-align: center;
}

.cart-item-remove a {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    color: #6c757d;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-item-remove a:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.cart-summary {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.cart-summary-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--foreground);
}

.cart-totals {
    margin-bottom: var(--spacing-lg);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border);
}

.cart-total-row.total {
    font-weight: 600;
    font-size: 1.125rem;
    border-top: 2px solid var(--border);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */

.checkout-main {
    padding: var(--spacing-2xl) 0;
}

.checkout-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.checkout-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.checkout-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}



.checkout-empty {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.checkout-empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.checkout-empty-icon {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-lg);
}

.checkout-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.checkout-empty p {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-xl);
}

.checkout-form-wrapper {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-sidebar {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.order-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--foreground);
}

.order-items {
    margin-bottom: var(--spacing-lg);
}

.order-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--muted);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
}

.order-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--foreground);
}

.order-item-meta {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.order-item-meta span {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--card);
    border-radius: var(--radius);
    color: var(--muted-foreground);
}

.order-item-quantity {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.order-item-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.order-totals {
    border-top: 1px solid var(--border);
    padding-top: var(--spacing-md);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.order-total-row.total {
    font-weight: 600;
    font-size: 1.125rem;
}

/* ==========================================================================
   BOOSTER PACKS & SPECIAL COLLECTION SECTIONS
   ========================================================================== */

.booster-packs,
.special-collection {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background);
}

.special-collection {
    background-color: var(--muted);
}

/* ==========================================================================
   BACK TO TOP BUTTON FIX
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER FIXES
   ========================================================================== */

.site-footer {
    margin-top: 0 !important;
    padding-top: var(--spacing-2xl);
    background-color: var(--muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

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

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-section p {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Footer Contact Info */
.footer-section .contact-info {
    margin-bottom: var(--spacing-lg);
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.footer-section .contact-item i {
    margin-right: var(--spacing-sm);
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.footer-section .contact-item span {
    color: var(--muted-foreground);
}

/* Footer Social Icons */
.footer-section .social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-section .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-section .social-icon.facebook {
    background-color: #1877f2;
}

.footer-section .social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-section .social-icon.trustpilot {
    background-color: #00B67A;
}

.footer-section .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-section .social-icon.facebook:hover {
    background-color: #166fe5;
}

.footer-section .social-icon.trustpilot:hover {
    background-color: #009966;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.copyright .powered-by {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    opacity: 0.8;
}

.copyright .powered-by a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright .powered-by a:hover {
    color: #333333;
    text-decoration: underline;
}


#wc-square-credit-card-credit-card-form {
	border: none;
}

/* ==========================================================================
   PRODUCT SOCIAL SHARING
   ========================================================================== */

.product-social-sharing {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--border-color-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: var(--spacing-xs);
}

.social-buttons {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    font-size: 14px;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.facebook:hover {
    background: #166fe5;
    border-color: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.twitter:hover {
    background: #1a94da;
    border-color: #1da1f2;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #22c55e;
    border-color: #25d366;
}

.social-btn.pinterest {
    background: #bd081c;
    color: white;
}

.social-btn.pinterest:hover {
    background: #9a0718;
    border-color: #bd081c;
}

.social-btn.reddit {
    background: #ff4500;
    color: white;
}

.social-btn.reddit:hover {
    background: #e03d00;
    border-color: #ff4500;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .product-social-sharing {
        margin-top: var(--spacing-sm);
        padding: var(--spacing-xs) 0;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .share-label {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .social-buttons {
        gap: var(--spacing-xs);
    }
    
    .social-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ==========================================================================
   POKEMON DATA SECTION
   ========================================================================== */

.pokemon-data-section {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.pokemon-data-section h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pokemon-blue);
    margin: 0 0 var(--spacing-md) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--pokemon-yellow);
    padding-bottom: var(--spacing-xs);
}

.pokemon-data-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.pokemon-data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--background-light);
    border-radius: 0px;
    border-left: 4px solid var(--pokemon-red);
    transition: all var(--transition-fast);
    margin-bottom: 5px;
}

.pokemon-data-item:hover {
    background: rgba(59, 76, 202, 0.05);
    border-left-color: var(--pokemon-red);
    transform: translateX(2px);
}

.data-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    min-width: 80px;
}

.data-value {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.95rem;
    text-align: right;
    flex: 1;
}

/* Rarity-specific styling */
.data-value.rarity-common {
    color: #6c757d;
}

.data-value.rarity-uncommon {
    color: #28a745;
}

.data-value.rarity-rare {
    color: #007bff;
}

.data-value.rarity-ultra-rare {
    color: #6f42c1;
}

.data-value.rarity-secret-rare {
    color: #dc3545;
}

.data-value.rarity-legendary {
    color: #fd7e14;
}

.data-value.rarity-promo {
    color: #20c997;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pokemon-data-section {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .pokemon-data-section h4 {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .pokemon-data-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .data-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .data-value {
        text-align: left;
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   RESPONSIVE DESIGN FOR PAGES
   ========================================================================== */

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        order: 2;
    }
    
    .products-content {
        order: 1;
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .product-image-section {
        position: static;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .card-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
    
    .purchase-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }
    
    .purchase-controls .quantity {
        justify-content: center;
    }
    
    .add-to-cart-btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        display: flex;
        flex-direction: row;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        position: relative;
    }
    
    .cart-item-image {
        flex-shrink: 0;
    }
    
    .cart-item-image img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-details h4 {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-xs);
        line-height: 1.3;
    }
    
    .cart-item-details h4 a {
        color: var(--foreground);
        text-decoration: none;
    }
    
    .cart-item-details h4 a:hover {
        color: #dc2626;
    }
    
    .cart-item-quantity {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .cart-item-quantity label {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--muted-foreground);
    }
    
    .cart-item-quantity .quantity {
        display: flex;
        align-items: center;
    }
    
    .cart-item-quantity input[type="number"] {
        width: 50px;
        text-align: center;
        padding: 6px;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 0.85rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
        font-weight: 600;
        color: #dc2626;
    }
    
    .cart-item-remove {
        position: absolute;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .cart-item-remove a {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fee2e2;
        color: #dc2626;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        font-size: 14px;
    }
    
    .cart-item-remove a:hover {
        background: #dc2626;
        color: #fff;
        transform: scale(1.1);
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-direction: column;
        text-align: center;
    }
    
    .order-item-image {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .products-header h1 {
        font-size: 2rem;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .cart-item-image img {
        width: 60px;
        height: 60px;
    }
    
    .order-item-image img {
        width: 50px;
        height: 50px;
    }
}

/* WooCommerce Error Messages */
.woocommerce-error,
.woocommerce-error ul li,
.woocommerce-error p,
.woocommerce-error li a,
.woocommerce-error li a strong {
    color: white !important;
}

.woocommerce-error li a {
    pointer-events: none !important;
    cursor: default !important;
}

/* My Account Page Styles */
.my-account-main {
    padding: 40px 0;
    
    min-height: 80vh;
}

.my-account-header {
    text-align: center;
    margin-bottom: 40px;
}

.my-account-header h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.my-account-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.account-welcome {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.account-welcome h2 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 10px;
}

.account-navigation {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.account-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-nav-item {
    border-bottom: 1px solid #e9ecef;
}

.account-nav-item:last-child {
    border-bottom: none;
}

.account-nav-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
}

.account-nav-link:hover,
.account-nav-link.current {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.account-nav-link.logout-link:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.account-nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-content p {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Guest Login Styles */
.my-account-guest {
    max-width: 800px;
    margin: 0 auto;
}

.guest-login-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    align-items: center;
}

.login-form-container,
.register-form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-form-container h2,
.register-form-container h2 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-form-container p,
.register-form-container p {
    color: #6c757d;
    margin-bottom: 25px;
}

.login-form-container .form-row,
.register-form-container .form-row {
    margin-bottom: 20px;
    text-align: left;
}

.login-form-container label,
.register-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.login-form-container .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
}

.login-form-container .woocommerce-form__input-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.login-form-container .input-text,
.register-form-container .input-text {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form-container .input-text:focus,
.register-form-container .input-text:focus {
    border-color: #dc2626;
    outline: none;
}

.login-form-container .woocommerce-button,
.register-form-container .woocommerce-button {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.login-form-container .woocommerce-button:hover,
.register-form-container .woocommerce-button:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
}

/* Hide password strength indicator */
.woocommerce-password-strength {
    display: none !important;
}

.woocommerce-password-hint {
    display: none !important;
}

.password-strength-meter {
    display: none !important;
}

.lost-password {
    text-align: center;
    margin-top: 15px;
}

.lost-password a {
    color: #dc2626;
    text-decoration: none;
}

.lost-password a:hover {
    text-decoration: underline;
}

.register-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    color: white;
}

/* Checkout Login Options */
.checkout-login-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.checkout-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-login-header h2 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 10px;
}

.checkout-login-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.checkout-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.checkout-option {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.checkout-option:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(220, 38, 38, 0.2);
}

.option-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.option-content h3 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 10px;
}

.option-content p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.checkout-option .btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.checkout-option .btn-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.checkout-option .btn-outline:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.checkout-form-container {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Order Status Styling */
.status-processing {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-on-hold {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-refunded {
    background: #e5e7eb;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .guest-login-section {
        grid-template-columns: 1fr;
    }
    
    .checkout-options {
        grid-template-columns: 1fr;
    }
    
    .account-nav-list {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages Styling */
.legal-page,
.contact-page,
.faq-page,
.shipping-page,
.returns-page {
    padding: 40px 0;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    color:black;
    margin-bottom: 0;
}

.legal-content,
.contact-content,
.faq-content,
.shipping-content,
.returns-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.legal-content section,
.contact-content section,
.faq-content section,
.shipping-content section,
.returns-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2,
.contact-content h2,
.faq-content h2,
.shipping-content h2,
.returns-content h2 {
    color: #1a1a2e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.legal-content h3,
.contact-content h3,
.faq-content h3,
.shipping-content h3,
.returns-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.legal-content p,
.contact-content p,
.faq-content p,
.shipping-content p,
.returns-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul,
.contact-content ul,
.faq-content ul,
.shipping-content ul,
.returns-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li,
.contact-content li,
.faq-content li,
.shipping-content li,
.returns-content li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.contact-icon {
    background: #ffd700;
    color: #1a1a2e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.contact-details p {
    margin-bottom: 0.3rem;
    color: #666;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.contact-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.contact-message.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #d97706;
}

.contact-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.contact-message i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a2e;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

/* FAQ Page Specific */
.faq-categories {
    margin-top: 2rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #1a1a2e;
    font-size: 1.2rem;
}

.faq-question i {
    color: #ffd700;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: #f8f9fa;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

/* Shipping Page Specific */
.shipping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.shipping-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.shipping-icon {
    background: #ffd700;
    color: #1a1a2e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.shipping-details h3 {
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.shipping-time {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.shipping-cost {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.packaging-features {
    list-style: none;
    padding: 0;
}

.packaging-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.packaging-features i {
    color: #28a745;
    margin-right: 1rem;
    width: 20px;
}

.processing-steps {
    margin-top: 1.5rem;
}

.processing-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.step-number {
    background: #ffd700;
    color: #1a1a2e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

/* Returns Page Specific */
.returns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.return-conditions ul {
    list-style: none;
    padding: 0;
}

.condition-met {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: #d4edda;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.condition-met i {
    color: #28a745;
    margin-right: 1rem;
    width: 20px;
}

.return-steps {
    margin-top: 1.5rem;
}

.return-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.refund-details {
    margin-top: 1.5rem;
}

.refund-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.special-circumstances {
    margin-top: 1.5rem;
}

.circumstance {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.non-returnable {
    list-style: none;
    padding: 0;
}

.non-returnable li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: #f8d7da;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.non-returnable i {
    color: #dc3545;
    margin-right: 1rem;
    width: 20px;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .contact-grid,
    .shipping-grid,
    .returns-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .legal-content,
    .contact-content,
    .faq-content,
    .shipping-content,
    .returns-content {
        padding: 1.5rem;
        margin: 0 1rem;
        border-radius: 10px;
    }
    
    .contact-method,
    .shipping-option,
    .processing-step,
    .return-step {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon,
    .shipping-icon,
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .contact-details,
    .shipping-details,
    .step-content {
        text-align: center;
    }
    
    .contact-form-container {
        margin-top: 2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        box-sizing: border-box;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-content,
    .contact-content,
    .faq-content,
    .shipping-content,
    .returns-content {
        padding: 1rem;
        margin: 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .contact-grid,
    .shipping-grid,
    .returns-grid {
        gap: 1rem;
    }
    
    .contact-method,
    .shipping-option,
    .processing-step,
    .return-step {
        padding: 0.8rem;
        background: #ffd700;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .contact-icon,
    .shipping-icon {
        width: 40px;
        height: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Login Error Popup Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Cart Update Button Styling */
.woocommerce-cart-form button[name="update_cart"] {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.woocommerce-cart-form button[name="update_cart"]:hover:not(:disabled) {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.woocommerce-cart-form button[name="update_cart"]:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.woocommerce-cart-form button[name="update_cart"]:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Cart Update Error Message */
.cart-update-error {
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Top Bar Styling */
.top-bar {
    background: var(--secondary);
    color: white;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    transform: translateZ(0); /* Create new stacking context */
}

.top-bar-content {
    padding: 8px 0;
    white-space: nowrap;
    overflow: hidden;
}

.top-bar-texts {
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 50px;
}

.top-bar-text {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-bar-text a {
    color: white;
    text-decoration: underline;
}

.top-bar-text a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Keep animation running on hover/touch */

/* Mobile Top Bar */
@media (max-width: 768px) {
    .top-bar-text {
        font-size: 0.8rem;
    }
    
    .top-bar-texts {
        gap: 30px;
    }
    
    .site-header {
        top: 35px!important; /* Account for top bar height on mobile */
    }
}
