/* Shop Page Styles - Modern & Minimalist */

.woocommerce-products-header {
    text-align: left;
    /* Align left for a more modern editorial look */
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: transparent;
    /* Remove background color for cleaner look */
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-products-header__title {
    font-size: 4rem;
    /* Larger, bolder title */
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
    letter-spacing: -1px;
    /* Tighter tracking for modern feel */
}

.woocommerce-products-header p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    font-weight: 300;
}

.shop-categories-container {
    max-width: 1400px;
    /* Wider container for modern feel */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.product-category-section {
    margin-bottom: var(--spacing-xl);
}

.category-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.category-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.category-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 400px;
    text-align: right;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /* Slightly wider cards */
    gap: var(--spacing-lg);
    /* More breathing room */
}

/* Modern Dynamic Product Card */
.home-category-card {
    background: rgba(255, 255, 255, 0.95);
    /* Semi-transparent white */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    /* More rounded */
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.home-category-card h3 {
    color: #0a0e17 !important;
    /* Force dark title inside white cards */
}

/* Animated gradient overlay on hover */
.home-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.home-category-card:hover::before {
    opacity: 1;
}

.home-category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2),
        0 0 0 1px rgba(0, 217, 255, 0.1);
}

.card-image {
    height: 320px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    /* Gradient background */
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    position: relative;
}

/* Cyan accent bar on image */
.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-hover));
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.4s ease;
}

.home-category-card:hover .card-image::after {
    opacity: 1;
    transform: scaleY(1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.home-category-card:hover .card-image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1);
}

.cat-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s infinite;
}

.card-content {
    padding: var(--spacing-sm);
    display: block;
    position: relative;
    z-index: 2;
}

.card-content p {
    color: #334155 !important;
    /* Force dark grey for description inside cards */
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    color: #0a0e17 !important;
    /* Force dark color inside cards */
}

.product-title a {
    color: #0a0e17 !important;
    /* Force dark color inside cards */
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--color-accent) !important;
}

.product-meta {
    display: flex;
    flex-direction: column;
    /* Stack vertically for clarity */
    gap: 8px;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.meta-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.meta-item .label {
    display: inline-block;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    /* Align values */
}

.meta-item .value {
    color: var(--color-text-muted);
}

.product-includes {
    display: block;
    /* Show it! */
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.product-includes h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.product-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-includes li {
    font-size: 0.85rem;
    color: var(--color-text-main);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xs);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-sm);
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-body);
}

.btn-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.btn-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    text-decoration: none;
}

@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .category-description {
        text-align: left;
    }

    .woocommerce-products-header__title {
        font-size: 3rem;
    }
}

/* Homepage Styles - Minimalist */

.hero-section {
    position: relative;
    /* CRITICAL: Needed for absolute positioned video */
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    margin-bottom: var(--spacing-lg);
    min-height: 85vh;
    /* Taller hero */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 108%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(0, 78, 137, 0.6) 100%);
    z-index: 1;
}

.hero-content h1 {
    font-size: 6rem;
    /* Even larger */
    margin-bottom: var(--spacing-sm);
    line-height: 0.9;
    color: #fff;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.5rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    font-weight: 300;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
    color: var(--color-accent);
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1;
}

.stat-item p {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.home-categories-section {
    padding: var(--spacing-xl) 0;
    background-color: transparent;
    /* Let body gradient show through */
}

.section-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-heading);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Wider cards */
    gap: var(--spacing-lg);
}

/* Homepage specific card overrides if needed, otherwise uses .home-category-card from top */
/* We want these to look like the shop cards: clean, image-focused */

.home-category-card.featured {
    position: relative;
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    /* Right aligned for modern look */
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: white;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4),
        0 0 20px rgba(0, 217, 255, 0.2);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4),
            0 0 20px rgba(0, 217, 255, 0.2);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 217, 255, 0.6),
            0 0 30px rgba(0, 217, 255, 0.4);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.site-header {
    background-color: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-icon img {
    transform: rotate(10deg);
}

.site-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.text-white {
    color: #fff;
}

.text-cyan {
    color: var(--color-accent);
}

/* Navigation */
.site-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-navigation ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.site-navigation a:hover,
.site-navigation .current-menu-item>a {
    color: #fff;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.site-navigation a:hover::after,
.site-navigation .current-menu-item>a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    position: relative;
}

.header-actions a:hover {
    color: var(--color-accent);
}

/* Fix GTranslate dropdown expanding the header */
.gtranslate-custom-wrapper {
    position: relative;
    z-index: 1001;
}

/* Force GTranslate dropdown container to not effect the layout flow */
.gtranslate-custom-wrapper .gtranslate_wrapper,
.gtranslate-custom-wrapper [id^="gtranslate_"] {
    position: static !important;
}

.gtranslate-custom-wrapper .gt_selector {
    position: relative !important;
}

.gtranslate-custom-wrapper .gt_options {
    position: absolute !important;
    top: 100% !important;
    right: 0;
    max-height: 350px !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    background: #fff; /* Ensure contrast */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Responsive Header */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .site-navigation ul {
        display: none;
        /* Hidden by default on mobile, JS would toggle this */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-navigation.active ul {
        display: flex;
    }

    .site-navigation {
        justify-content: flex-end;
        flex: 0;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle.floating-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 9999;
    background: rgba(10, 14, 23, 0.8);
    /* Dark background for contrast */
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-toggle.floating-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
    stroke: #fff;
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Dark theme icon state */
[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .site-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}

/* Cart Page Styles */
.glass-panel {
    background: #000000b5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cart-table-wrapper {
    overflow-x: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.shop_table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #e9f1fd !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Column Specific Styles */
.shop_table .product-remove {
    width: 50px;
    text-align: center;
    padding-left: 1rem;
}

.shop_table .product-thumbnail {
    width: 100px;
    text-align: center;
}

.shop_table .product-name {
    padding-left: 1.5rem;
}

.shop_table .product-price {
    text-align: center;
    white-space: nowrap;
    padding: 1.5rem 1.25rem;
}

.shop_table .product-quantity {
    text-align: center;
    padding: 1.5rem 2rem;
}

.shop_table .product-subtotal {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    padding-right: 2rem;
}

.shop_table td {
    padding: 1.5rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e9f1fd !important;
}

[data-theme="dark"] .shop_table td {
    color: #e9f1fd !important;
}

.shop_table tr:last-child td {
    border-bottom: none;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-name a {
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: var(--color-accent-hover);
}

.product-price,
.product-subtotal {
    font-weight: 600;
    color: var(--color-text-main);
}

[data-theme="dark"] .product-price,
[data-theme="dark"] .product-subtotal {
    color: var(--color-text-light);
}

.product-remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product-remove .remove:hover {
    background: #ff4d4d;
    color: white;
}

/* Quantity Input */
.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.product-quantity input.qty {
    width: 70px !important;
    text-align: center;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    color: #0f172a !important;
    border-radius: 4px !important;
    padding: 0.5rem !important;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
    appearance: textfield;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-quantity input.qty::-webkit-outer-spin-button,
.product-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-quantity input.qty:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

/* Ensure input remains white/visible even in dark mode if that's the request, 
   or we can make it a light grey for dark mode realism. 
   User said "change background to white", so we stick to light/white input. */
[data-theme="dark"] .product-quantity input.qty {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #334155;
}

[data-theme="dark"] .product-quantity input.qty:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.2);
}

/* Cart Actions */
.actions {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
    text-align: right;
}

.coupon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.coupon label {
    display: none;
    /* Hide label for cleaner look */
}

.coupon .input-text {
    padding: 0.7rem 1rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.95rem;
    min-width: 200px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.coupon .input-text:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

[data-theme="dark"] .coupon .input-text {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #334155;
}

button[name="apply_coupon"] {
    background: var(--color-accent);
    color: #0a0e17;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 217, 255, 0.2);
    height: auto;
    line-height: normal;
}

button[name="apply_coupon"]:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 217, 255, 0.3);
}

.update-cart-button,
button[name="update_cart"] {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.update-cart-button:hover,
button[name="update_cart"]:hover {
    background: var(--color-accent);
    color: #0a0e17;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 217, 255, 0.3);
}

/* Cart Collaterals */
.cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100%;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart_totals:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.cart_totals .shop_table th {
    width: 40%;
    padding: 1rem 0;
}

.cart_totals .shop_table td {
    text-align: right;
    padding: 1rem 0;
}

.wc-proceed-to-checkout {
    margin-top: 2rem;
}

.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--color-accent);
    color: #000;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.checkout-button:hover {
    background: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

@media (max-width: 768px) {
    .coupon {
        float: none;
        width: 100%;
        margin-bottom: 1rem;
    }

    .coupon .input-text {
        flex: 1;
    }

    button[name="update_cart"] {
        float: none;
        width: 100%;
    }

    .cart_totals {
        max-width: 100%;
    }
}

/* Shipping Calculator Styles */
.woocommerce-shipping-calculator {
    margin-top: 1rem;
    text-align: left;
}

.shipping-calculator-button {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.shipping-calculator-button:hover {
    color: var(--color-accent-hover);
}

.shipping-calculator-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.shipping-calculator-form p {
    margin-bottom: 1rem !important;
    text-align: left;
}

.shipping-calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: left;
}

.shipping-calculator-form .input-text,
.shipping-calculator-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #1a1f2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.shipping-calculator-form .input-text::placeholder {
    color: #94a3b8;
}

.shipping-calculator-form .input-text:focus,
.shipping-calculator-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.1);
}

.shipping-calculator-form button[type="submit"] {
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.shipping-calculator-form button[type="submit"]:hover {
    background: var(--color-accent);
    color: #000;
}

/* Fix Select2 Dropdowns in Cart */
.select2-container .select2-selection--single {
    height: 45px !important;
    background: #1a1f2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 45px !important;
    padding-left: 1rem !important;
    text-align: left !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
}

.select2-dropdown {
    background: #1a1f2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color-accent) !important;
    color: #000 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop_table tbody tr {
    transition: background-color 0.3s ease;
}

.shop_table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Footer Styles */
.site-footer {
    background-color: #0a0e17;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    color: #000;
    transform: translateY(-3px);
}

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

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.newsletter-col p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--color-accent);
}

.newsletter-form button {
    background: var(--color-accent);
    color: #000;
    border: none;
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--color-accent-hover);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Global Mobile Fixes */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}