/*
Theme Name: Camel Store
Theme URI: https://camelstore.com
Author: Camel Store
Author URI: https://camelstore.com
Description: A premium dark theme for selling Discord bots. Features cyan and gold accents inspired by the Camel Store brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: camel-store
Tags: e-commerce, dark, custom-colors, custom-logo, featured-images, full-width-template
*/

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
    /* Colors */
    --cs-primary: #00D4FF;
    --cs-primary-dark: #00A8CC;
    --cs-primary-rgb: 0, 212, 255;
    --cs-secondary: #D4A843;
    --cs-secondary-rgb: 212, 168, 67;
    --cs-bg-dark: #0D1117;
    --cs-bg-card: #161B22;
    --cs-bg-elevated: #1C2333;
    --cs-bg-input: #21273A;
    --cs-text-primary: #E6EDF3;
    --cs-text-muted: #8B949E;
    --cs-text-heading: #F0F6FC;
    --cs-border: #30363D;
    --cs-accent-glow: rgba(0, 212, 255, 0.3);
    --cs-gold-glow: rgba(212, 168, 67, 0.3);
    --cs-success: #3FB950;
    --cs-danger: #F85149;
    --cs-warning: #D29922;
    --cs-discord: #5865F2;

    /* Typography */
    --cs-font-heading: 'Outfit', sans-serif;
    --cs-font-body: 'Inter', sans-serif;

    /* Spacing */
    --cs-section-padding: 100px 0;
    --cs-container-width: 1200px;
    --cs-gap: 24px;
    --cs-radius: 12px;
    --cs-radius-sm: 8px;
    --cs-radius-lg: 20px;

    /* Transitions */
    --cs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --cs-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Variables Override */
body.light-mode {
    --cs-bg-dark: #F0F2F5;
    --cs-bg-card: #FFFFFF;
    --cs-bg-elevated: #F8F9FA;
    --cs-bg-input: #FFFFFF;
    --cs-text-primary: #1C1E21;
    --cs-text-muted: #606770;
    --cs-text-heading: #1C1E21;
    --cs-border: #DADDE1;
    --cs-accent-glow: rgba(0, 212, 255, 0.1);
    --cs-gold-glow: rgba(212, 168, 67, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--cs-font-body);
    background-color: var(--cs-bg-dark);
    color: var(--cs-text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--cs-primary);
    text-decoration: none;
    transition: var(--cs-transition);
}

a:hover {
    color: var(--cs-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--cs-font-heading);
    color: var(--cs-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--cs-text-muted);
    margin-bottom: 1rem;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.cs-container {
    width: 100%;
    max-width: var(--cs-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.cs-section {
    padding: var(--cs-section-padding);
    position: relative;
}

.cs-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cs-section-header h2 {
    margin-bottom: 16px;
}

.cs-section-header h2 span {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.cs-gradient-text {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    opacity: 0;
    /* Start hidden */
}

.hover-lift {
    transition: var(--cs-transition) !important;
}

.hover-lift:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--cs-accent-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--cs-accent-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--cs-accent-glow);
    }
}

.glow-pulse {
    animation: glowPulse 2s infinite ease-in-out;
}

/* Glassmorphism Classes */
.cs-glass {
    background: rgba(22, 27, 34, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cs-border);
}

body.light-mode .cs-glass {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--cs-radius);
    font-family: var(--cs-font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--cs-transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.cs-btn:hover::before {
    left: 100%;
}

.cs-btn-primary {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark));
    color: #0D1117;
    box-shadow: 0 4px 20px var(--cs-accent-glow);
}

.cs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cs-accent-glow);
    color: #0D1117;
}

.cs-btn-secondary {
    background: transparent;
    color: var(--cs-primary);
    border: 2px solid var(--cs-primary);
}

.cs-btn-secondary:hover {
    background: rgba(var(--cs-primary-rgb), 0.1);
    transform: translateY(-2px);
    color: var(--cs-primary);
}

.cs-btn-gold {
    background: linear-gradient(135deg, var(--cs-secondary), #B8922E);
    color: #0D1117;
    box-shadow: 0 4px 20px var(--cs-gold-glow);
}

.cs-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cs-gold-glow);
    color: #0D1117;
}

/* ============================================
   NAVIGATION
   ============================================ */
.cs-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--cs-transition);
    padding: 0;
}

.cs-navbar.scrolled {
    border-bottom-color: var(--cs-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.cs-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.cs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-logo img {
    height: 45px;
    width: auto;
}

.cs-logo-text {
    font-family: var(--cs-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cs-text-heading);
}

.cs-logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cs-logo-float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(var(--cs-primary-rgb), 0.3));
}

.cs-logo:hover .cs-logo-img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 15px rgba(var(--cs-primary-rgb), 0.5));
}

@keyframes cs-logo-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Logo Variations */
.cs-footer-logo {
    height: 60px;
    filter: grayscale(100%) opacity(0.7) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    transition: all 0.4s ease;
    animation: none;
    /* Disable float for footer by default, or keep it subtle */
}

.cs-footer-brand:hover .cs-footer-logo {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 15px rgba(var(--cs-primary-rgb), 0.5));
    transform: scale(1.05);
}

.cs-hero-logo {
    height: auto;
    width: 100%;
    max-width: 450px;
    /* Larger for hero */
    animation: cs-logo-float 5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 30px rgba(var(--cs-primary-rgb), 0.4));
}

.cs-login-logo {
    height: 80px;
    margin: 0 auto 20px auto;
    animation: cs-logo-float 4s ease-in-out infinite;
}

.cs-dashboard-logo {
    transition: transform 0.3s ease;
}

.cs-dashboard-welcome:hover .cs-dashboard-logo {
    transform: rotate(10deg) scale(1.1);
}

.cs-logo-text span {
    color: var(--cs-primary);
}

.cs-nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-nav-menu a,
.cs-nav-menu li a {
    color: var(--cs-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.1);
    transition: var(--cs-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cs-nav-menu a:hover,
.cs-nav-menu a.active,
.cs-nav-menu li.current-menu-item>a,
.cs-nav-menu li.current_page_item>a {
    color: var(--cs-primary) !important;
    background: rgba(var(--cs-primary-rgb), 0.1) !important;
    border-color: var(--cs-primary) !important;
    box-shadow: 0 0 15px rgba(var(--cs-primary-rgb), 0.2) !important;
}

.cs-nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cs-lang-toggle.desktop-only {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--cs-primary-rgb), 0.05);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.2);
    border-radius: 50px;
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--cs-transition);
}

.cs-lang-toggle.desktop-only:hover {
    background: rgba(var(--cs-primary-rgb), 0.1);
    border-color: var(--cs-primary);
    color: var(--cs-primary);
}

.cs-nav-cart {
    position: relative;
    color: var(--cs-text-muted);
    font-size: 1.25rem;
    transition: var(--cs-transition);
}

.cs-nav-cart:hover {
    color: var(--cs-primary);
}

.cs-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--cs-primary);
    color: #0D1117;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-text-muted);
    transition: var(--cs-transition);
}

.cs-nav-user:hover {
    color: var(--cs-primary);
}

.cs-nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--cs-primary);
    object-fit: cover;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

/* Mobile Menu */
.cs-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.cs-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cs-text-primary);
    transition: var(--cs-transition);
    border-radius: 2px;
}

.cs-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.cs-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.cs-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.cs-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.cs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--cs-primary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cs-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--cs-secondary-rgb), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cs-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cs-hero-content {
    position: relative;
    z-index: 2;
}

.cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--cs-primary-rgb), 0.1);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--cs-primary);
    margin-bottom: 24px;
}

.cs-hero-badge i {
    animation: pulse-icon 2s infinite;
}

.cs-hero h1 {
    margin-bottom: 20px;
}

.cs-hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-hero-desc {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.cs-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cs-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--cs-border);
}

.cs-hero-stat h3 {
    font-size: 2rem;
    color: var(--cs-primary);
}

.cs-hero-stat p {
    font-size: 0.875rem;
    margin: 0;
}

.cs-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.cs-hero-image {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px var(--cs-accent-glow));
}

.cs-hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--cs-primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.cs-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--cs-gap);
}

.cs-feature-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--cs-transition);
    position: relative;
    overflow: hidden;
}

.cs-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cs-primary), var(--cs-secondary));
    opacity: 0;
    transition: var(--cs-transition);
}

.cs-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--cs-primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cs-feature-card:hover::before {
    opacity: 1;
}

.cs-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(var(--cs-primary-rgb), 0.1);
    border-radius: var(--cs-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--cs-primary);
    transition: var(--cs-transition);
}

.cs-feature-card:hover .cs-feature-icon {
    background: rgba(var(--cs-primary-rgb), 0.2);
    box-shadow: 0 0 20px var(--cs-accent-glow);
}

.cs-feature-card h4 {
    margin-bottom: 12px;
}

.cs-feature-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.cs-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cs-gap);
}

.cs-product-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    transition: var(--cs-transition);
    position: relative;
}

.cs-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--cs-primary-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cs-product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--cs-bg-elevated);
}

.cs-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cs-transition-slow);
}

.cs-product-card:hover .cs-product-image img {
    transform: scale(1.08);
}

.cs-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--cs-secondary);
    color: #0D1117;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.cs-product-info {
    padding: 24px;
}

.cs-product-info h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.cs-product-info .cs-product-desc {
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-product-price {
    font-family: var(--cs-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cs-primary);
}

.cs-product-price .cs-price-currency {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cs-text-muted);
}

.cs-product-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.cs-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.cs-steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--cs-primary), var(--cs-secondary), var(--cs-primary));
    opacity: 0.3;
}

.cs-step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cs-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--cs-bg-card), var(--cs-bg-elevated));
    border: 2px solid var(--cs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cs-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cs-primary);
    box-shadow: 0 0 30px var(--cs-accent-glow);
}

.cs-step-card h4 {
    margin-bottom: 12px;
}

.cs-step-card p {
    font-size: 0.9rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.cs-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cs-gap);
}

.cs-testimonial-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 32px;
    transition: var(--cs-transition);
}

.cs-testimonial-card:hover {
    border-color: rgba(var(--cs-primary-rgb), 0.3);
    transform: translateY(-4px);
}

.cs-testimonial-stars {
    color: var(--cs-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.cs-testimonial-text {
    font-style: italic;
    color: var(--cs-text-primary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.cs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cs-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.cs-testimonial-name {
    font-weight: 600;
    color: var(--cs-text-heading);
    font-size: 0.95rem;
}

.cs-testimonial-role {
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cs-cta {
    background: linear-gradient(135deg, rgba(var(--cs-primary-rgb), 0.08), rgba(var(--cs-secondary-rgb), 0.08));
    border-top: 1px solid var(--cs-border);
    border-bottom: 1px solid var(--cs-border);
}

.cs-cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cs-cta h2 {
    margin-bottom: 16px;
}

.cs-cta p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.cs-footer {
    background: var(--cs-bg-card);
    border-top: 3px solid var(--cs-primary);
    padding: 60px 0 0;
}

.cs-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.cs-footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
}

.cs-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cs-footer-social a {
    width: 40px;
    height: 40px;
    background: var(--cs-bg-elevated);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-text-muted);
    transition: var(--cs-transition);
}

.cs-footer-social a:hover {
    background: var(--cs-primary);
    color: #0D1117;
    border-color: var(--cs-primary);
    transform: translateY(-2px);
}

.cs-footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--cs-text-heading);
}

.cs-footer-column ul li {
    margin-bottom: 10px;
}

.cs-footer-column ul li a {
    color: var(--cs-text-muted);
    font-size: 0.9rem;
}

.cs-footer-column ul li a:hover {
    color: var(--cs-primary);
    padding-left: 4px;
}

.cs-footer-bottom {
    border-top: 1px solid var(--cs-border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--cs-text-muted);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */

/* Shop Page */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cs-gap);
}

.woocommerce ul.products li.product {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    transition: var(--cs-transition);
    padding: 0;
    margin: 0;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--cs-primary-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 0;
    height: 220px;
    object-fit: cover;
    transition: var(--cs-transition-slow);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--cs-font-heading);
    font-size: 1.1rem;
    color: var(--cs-text-heading);
    padding: 16px 20px 8px;
}

.woocommerce ul.products li.product .price {
    color: var(--cs-primary) !important;
    font-family: var(--cs-font-heading);
    font-size: 1.3rem !important;
    font-weight: 700;
    padding: 0 20px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount {
    color: var(--cs-primary);
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark)) !important;
    color: #0D1117 !important;
    border-radius: var(--cs-radius) !important;
    font-family: var(--cs-font-heading);
    font-weight: 600;
    margin: 16px 20px 20px !important;
    padding: 12px 24px !important;
    transition: var(--cs-transition) !important;
    border: none !important;
    text-transform: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    box-shadow: 0 4px 20px var(--cs-accent-glow);
    transform: translateY(-2px);
}

/* Single Product */
.woocommerce div.product {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 40px;
}

.woocommerce div.product p.price {
    color: var(--cs-primary) !important;
    font-family: var(--cs-font-heading);
    font-size: 2rem !important;
    font-weight: 800;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--cs-text-muted);
}

.woocommerce div.product form.cart .button {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark)) !important;
    color: #0D1117 !important;
    border-radius: var(--cs-radius) !important;
    font-family: var(--cs-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px !important;
    transition: var(--cs-transition) !important;
    border: none !important;
    box-shadow: 0 4px 20px var(--cs-accent-glow);
}

.woocommerce div.product form.cart .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cs-accent-glow);
}

/* Cart */
.woocommerce table.shop_table {
    background: var(--cs-bg-card);
    border-color: var(--cs-border) !important;
    border-radius: var(--cs-radius) !important;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--cs-bg-elevated);
    color: var(--cs-text-heading);
    font-family: var(--cs-font-heading);
    border-color: var(--cs-border) !important;
}

.woocommerce table.shop_table td {
    color: var(--cs-text-primary);
    border-color: var(--cs-border) !important;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: var(--cs-bg-input) !important;
    border: 1px solid var(--cs-border) !important;
    border-radius: var(--cs-radius-sm) !important;
    color: var(--cs-text-primary) !important;
    padding: 12px 16px !important;
    font-family: var(--cs-font-body);
    transition: var(--cs-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--cs-primary) !important;
    box-shadow: 0 0 0 3px var(--cs-accent-glow) !important;
    outline: none;
}

.woocommerce form .form-row label {
    color: var(--cs-text-primary);
    font-weight: 500;
}

.woocommerce #payment {
    background: var(--cs-bg-card) !important;
    border-radius: var(--cs-radius) !important;
    border-color: var(--cs-border) !important;
}

.woocommerce #payment div.payment_box {
    background: var(--cs-bg-elevated) !important;
    color: var(--cs-text-muted);
    border-radius: var(--cs-radius-sm);
    margin: 10px 0 0 0 !important;
    padding: 15px !important;
}

/* Payment Methods as Cards */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    background: var(--cs-bg-elevated);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    margin-bottom: 12px !important;
    padding: 15px 20px !important;
    list-style: none !important;
    transition: var(--cs-transition);
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
    border-color: var(--cs-primary);
    background: rgba(var(--cs-primary-rgb), 0.05);
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin-right: 12px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
    font-weight: 600;
    color: var(--cs-text-heading);
    cursor: pointer;
    display: inline-block;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method.selected {
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 1px var(--cs-primary);
}

.woocommerce #payment #place_order {
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark)) !important;
    color: #0D1117 !important;
    border-radius: var(--cs-radius) !important;
    font-family: var(--cs-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px !important;
    transition: var(--cs-transition) !important;
    box-shadow: 0 4px 20px var(--cs-accent-glow);
    border: none !important;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 24px;
    color: var(--cs-text-muted);
    border-bottom: 1px solid var(--cs-border);
    transition: var(--cs-transition);
    font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(var(--cs-primary-rgb), 0.1);
    color: var(--cs-primary);
    border-left: 3px solid var(--cs-primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 32px;
}

/* Notices */
.woocommerce-message {
    background: rgba(var(--cs-primary-rgb), 0.1) !important;
    border-top-color: var(--cs-primary) !important;
    color: var(--cs-text-primary) !important;
    border-radius: var(--cs-radius-sm) !important;
}

.woocommerce-error {
    background: rgba(248, 81, 73, 0.1) !important;
    border-top-color: var(--cs-danger) !important;
    color: var(--cs-text-primary) !important;
    border-radius: var(--cs-radius-sm) !important;
}

.woocommerce-info {
    background: rgba(var(--cs-secondary-rgb), 0.1) !important;
    border-top-color: var(--cs-secondary) !important;
    color: var(--cs-text-primary) !important;
    border-radius: var(--cs-radius-sm) !important;
}

/* Star ratings */
.woocommerce .star-rating span::before {
    color: var(--cs-secondary);
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--cs-primary);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.cs-page-content {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.cs-page-content h1 {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--cs-border);
}

/* ============================================
   ANIMATIONS & SHAPES
   ============================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-scale {
    0% {
        transform: rotate(0) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Utility Animations */
.cs-animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.cs-delay-100 {
    animation-delay: 0.1s;
}

.cs-delay-200 {
    animation-delay: 0.2s;
}

.cs-delay-300 {
    animation-delay: 0.3s;
}

/* Floating Shapes Background */
.cs-shape-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.cs-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.cs-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--cs-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cs-shape-2 {
    width: 500px;
    height: 500px;
    background: var(--cs-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.cs-shape-3 {
    width: 300px;
    height: 300px;
    background: #5865F2;
    /* Discord color */
    top: 40%;
    left: 60%;
    opacity: 0.2;
    animation-duration: 15s;
}

/* Page Transition Overlay */
.cs-page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cs-bg-dark);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-page-transition.active {
    transform: translateY(0);
}

.cs-page-transition.exit {
    transform: translateY(100%);
}

/* Stagger children */
.cs-animate-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cs-animate-children.animated>*:nth-child(1) {
    transition-delay: 0.1s;
}

.cs-animate-children.animated>*:nth-child(2) {
    transition-delay: 0.2s;
}

.cs-animate-children.animated>*:nth-child(3) {
    transition-delay: 0.3s;
}

.cs-animate-children.animated>*:nth-child(4) {
    transition-delay: 0.4s;
}

.cs-animate-children.animated>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cs-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cs-hero-visual {
        order: -1;
    }

    .cs-hero-image {
        max-width: 350px;
    }

    .cs-hero-desc {
        margin: 0 auto 32px;
    }

    .cs-hero-buttons {
        justify-content: center;
    }

    .cs-hero-stats {
        justify-content: center;
    }

    .cs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .cs-nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
        padding: 40px 20px;
    }

    .cs-nav-menu.active {
        transform: translateY(0);
    }

    .cs-nav-menu-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .cs-nav-menu a {
        font-size: 1.75rem;
        font-family: var(--cs-font-heading);
        font-weight: 700;
        color: var(--cs-text-primary);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .cs-nav-menu.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation */
    .cs-nav-menu.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .cs-nav-menu.active a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .cs-nav-menu.active a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .cs-nav-menu.active a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .cs-nav-menu.active a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .cs-nav-mobile-extra {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--cs-border);
        width: 100%;
        max-width: 250px;
        opacity: 0;
        transition: all 0.4s ease 0.4s;
    }

    .cs-nav-menu.active .cs-nav-mobile-extra {
        opacity: 1;
    }

    .cs-nav-mobile-extra .cs-lang-toggle {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--cs-border);
        padding: 12px 24px;
        border-radius: 50px;
        width: 100%;
        justify-content: center;
        color: var(--cs-text-primary);
    }

    .cs-nav-mobile-extra .cs-btn {
        width: 100%;
        justify-content: center;
    }

    .cs-mobile-toggle {
        display: flex;
        z-index: 2100;
    }

    .cs-mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: var(--cs-primary);
    }

    .cs-mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
        background: var(--cs-primary);
    }

    .cs-features-grid,
    .cs-steps-grid,
    .cs-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cs-products-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }

    .cs-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .cs-steps-grid::before {
        display: none;
    }

    .cs-footer-grid {
        grid-template-columns: 1fr;
    }

    .cs-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    :root {
        --cs-section-padding: 60px 0;
    }
}

/* ============================================
   MISC / SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cs-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--cs-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cs-primary);
}

/* Selection */
::selection {
    background: rgba(var(--cs-primary-rgb), 0.3);
    color: var(--cs-text-heading);
}

/* WooCommerce page wrapper */
.cs-woo-wrapper {
    padding: 120px 0 80px;
    min-height: 60vh;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.cs-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cs-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.6s;
    gap: 30px;
}

.cs-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.cs-loader-brand {
    position: relative;
    z-index: 2;
}

.cs-loader-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(var(--cs-primary-rgb), 0.5));
    animation: cs-pulse-glow 2s ease-in-out infinite alternate;
}

.cs-loader-spinner-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-loader-spinner-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--cs-primary);
    border-bottom-color: var(--cs-secondary);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.cs-loader-spinner-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 3px solid transparent;
    border-left-color: var(--cs-primary);
    border-right-color: var(--cs-secondary);
    border-radius: 50%;
    animation: spin-reverse 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes cs-pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(var(--cs-primary-rgb), 0.3));
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(var(--cs-primary-rgb), 0.8));
    }
}

/* ============================================
   DISCORD LOGIN CARD (My Account page)
   ============================================ */
.camel-discord-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 40px 20px;
}

.camel-discord-login-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    max-width: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.camel-discord-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5865F2, var(--cs-primary), #5865F2);
}

.camel-discord-login-card::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.camel-discord-login-icon {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.camel-discord-login-icon svg {
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.4));
}

.camel-discord-login-title {
    font-family: var(--cs-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cs-text-heading);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.camel-discord-login-desc {
    color: var(--cs-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.camel-discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    background: #5865F2;
    color: #FFFFFF !important;
    border: none;
    border-radius: 12px;
    font-family: var(--cs-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.35);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.camel-discord-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.camel-discord-login-btn:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.5);
    color: #FFFFFF !important;
}

.camel-discord-login-btn:hover::before {
    left: 100%;
}

.camel-discord-login-security {
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--cs-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.camel-discord-login-security i {
    color: var(--cs-success);
}

.camel-discord-login-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--cs-border);
    position: relative;
    z-index: 2;
}

.camel-discord-login-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

.camel-discord-login-feature i {
    color: var(--cs-primary);
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .camel-discord-login-card {
        padding: 40px 24px;
    }

    .camel-discord-login-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .camel-discord-login-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ============================================
   SHOP PAGE - CUSTOM CARDS
   ============================================ */
.cs-shop-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    transition: var(--cs-transition);
}

.cs-shop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--cs-primary-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cs-shop-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.cs-shop-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--cs-bg-elevated);
}

.cs-shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cs-transition-slow);
}

.cs-shop-card:hover .cs-shop-card-image img {
    transform: scale(1.08);
}

.cs-shop-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    background: var(--cs-secondary);
    color: #0D1117;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.cs-badge-digital {
    background: rgba(var(--cs-primary-rgb), 0.9);
    right: auto;
    left: 12px;
}

.cs-shop-card-info {
    padding: 24px;
}

.cs-shop-card-title {
    font-family: var(--cs-font-heading);
    font-size: 1.15rem;
    color: var(--cs-text-heading);
    margin-bottom: 8px;
}

.cs-shop-card-excerpt {
    font-size: 0.875rem;
    color: var(--cs-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.cs-shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-shop-card-price {
    font-family: var(--cs-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cs-primary);
}

.cs-shop-card-price del {
    font-size: 0.9rem;
    color: var(--cs-text-muted);
    font-weight: 400;
}

.cs-shop-card-price ins {
    text-decoration: none;
}

.cs-shop-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark));
    color: #0D1117;
    border-radius: var(--cs-radius);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--cs-font-heading);
    transition: var(--cs-transition);
}

.cs-shop-card:hover .cs-shop-card-btn {
    box-shadow: 0 4px 20px var(--cs-accent-glow);
}

/* ============================================
   EDIT ACCOUNT FORM
   ============================================ */
.cs-theme-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cs-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--cs-transition);
}

.cs-card:hover {
    border-color: var(--cs-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.cs-card-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 20px 24px;
    border-bottom: 1px solid var(--cs-border);
}

.cs-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cs-text-heading);
}

.cs-card-body {
    padding: 24px;
}

.cs-form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cs-form-group {
    margin-bottom: 24px;
}

.cs-form-group:last-child {
    margin-bottom: 0;
}

.cs-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--cs-text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.cs-input {
    width: 100%;
    background: var(--cs-bg-dark);
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--cs-text-primary);
    transition: var(--cs-transition);
    height: 48px;
}

.cs-input:focus {
    border-color: var(--cs-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--cs-primary-rgb), 0.2);
    background: var(--cs-bg-elevated);
}

.cs-help-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--cs-text-muted);
}

.cs-form-actions {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--cs-border);
    display: flex;
    justify-content: flex-end;
}

.cs-rtl .cs-form-actions {
    justify-content: flex-end;
    /* Keep button on left in RTL? No, usually follows direction. Button usually on end of flow. */
    /* If LTR: flex-end = right. If RTL: flex-end = left. So user expects button on left? */
    /* Let's keep it consistent. */
}

@media (max-width: 768px) {
    .cs-form-row-group {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ACCOUNT PAGES (Orders, Downloads, Addresses)
   ============================================ */
.cs-theme-page {
    /* Wrapper if needed */
}

/* Tables */
.cs-card-body .shop_table {
    border: none;
    margin: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cs-card-body .shop_table th {
    font-weight: 600;
    color: var(--cs-text-muted);
    padding: 16px;
    border-bottom: 2px solid var(--cs-border);
    text-align: left;
}

.cs-card-body .shop_table td {
    padding: 16px;
    border-bottom: 1px solid var(--cs-bg-dark);
    /* Subtle separator */
    color: var(--cs-text-primary);
    vertical-align: middle;
}

.cs-card-body .shop_table tr:last-child td {
    border-bottom: none;
}

/* Status Colors used in Orders */
.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Empty State */
.cs-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cs-empty-icon {
    font-size: 3rem;
    color: var(--cs-text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.cs-empty-state p {
    color: var(--cs-text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* Addresses */
.cs-addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cs-address-card {
    background: var(--cs-bg-dark);
    border: 1px solid var(--cs-border);
    border-radius: 12px;
    padding: 24px;
}

.cs-address-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cs-border);
}

.cs-address-card h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--cs-text-heading);
}

.cs-address-card address {
    font-style: normal;
    color: var(--cs-text-muted);
    line-height: 1.6;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--cs-bg-dark);
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    color: var(--cs-text-muted);
    text-decoration: none;
    transition: var(--cs-transition);
}

.woocommerce-pagination .current,
.woocommerce-pagination a:hover {
    background: var(--cs-primary);
    color: #fff;
    border-color: var(--cs-primary);
}

/* RTL Support */
.cs-rtl .cs-card-body .shop_table th,
.cs-rtl .cs-card-body .shop_table td {
    text-align: right;
}

@media (max-width: 768px) {
    .cs-addresses-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive Table (Stacking) */
    .shop_table_responsive thead {
        display: none;
    }

    .shop_table_responsive tr {
        display: block;
        border: 1px solid var(--cs-border);
        margin-bottom: 16px;
        border-radius: 8px;
        overflow: hidden;
    }

    .shop_table_responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--cs-border);
        background: var(--cs-bg-elevated);
    }

    .shop_table_responsive td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--cs-text-muted);
    }
}


/* ============================================
   PAGE HEADERS & WRAPPER
   ============================================ */
.cs-woo-wrapper,
.cs-page-content {
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 80px;
    min-height: 80vh;
}

.woocommerce-products-header {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--cs-border);
    position: relative;
}

.woocommerce-products-header__title.page-title,
.page-title,
.entry-title {
    font-size: 2.5rem;
    color: var(--cs-text-heading);
    margin: 0 0 16px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Fix RTL Title Alignment if needed */
.cs-rtl .woocommerce-products-header__title.page-title,
.cs-rtl .page-title,
.cs-rtl .entry-title {
    /* Ensure it doesn't get cut off by overflow */
    padding-right: 2px;
    /* Small buffer for italic fonts or clipping */
}

.cs-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.cs-cart-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--cs-text-heading);
}

.cs-cart-section-title i {
    color: var(--cs-primary);
}

.cs-cart-item-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--cs-text-muted);
}

.cs-cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--cs-transition);
}

.cs-cart-item:hover {
    border-color: rgba(var(--cs-primary-rgb), 0.3);
}

.cs-cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--cs-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cs-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-cart-item-details {
    flex: 1;
}

.cs-cart-item-name {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cs-cart-item-name a {
    color: var(--cs-text-heading) !important;
    text-decoration: none !important;
}

.cs-cart-item-meta {
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

.cs-cart-item-type i {
    color: var(--cs-primary);
    margin-right: 4px;
}

.cs-cart-item-price {
    font-size: 0.9rem;
    color: var(--cs-primary);
    margin-top: 6px;
    font-weight: 600;
}

.cs-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cs-cart-item-subtotal {
    font-family: var(--cs-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cs-text-heading);
    min-width: 80px;
    text-align: right;
}

.cs-remove-btn {
    color: var(--cs-danger) !important;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: var(--cs-radius-sm);
    transition: var(--cs-transition);
}

.cs-remove-btn:hover {
    background: rgba(248, 81, 73, 0.1);
}

.cs-cart-item-quantity input {
    width: 60px;
    text-align: center;
    background: var(--cs-bg-input);
    border: 1px solid var(--cs-border);
    color: var(--cs-text-primary);
    border-radius: var(--cs-radius-sm);
    padding: 8px;
}

.cs-cart-update {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.cs-cart-totals {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.cs-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--cs-border);
    font-size: 0.95rem;
    color: var(--cs-text-primary);
}

.cs-totals-total {
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cs-text-heading);
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid var(--cs-primary);
}

.cs-totals-total span:last-child {
    color: var(--cs-primary);
}

.cs-checkout-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    font-size: 1.05rem;
}

.cs-continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--cs-text-muted) !important;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: var(--cs-transition);
}

.cs-continue-shopping:hover {
    color: var(--cs-primary) !important;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.cs-checkout-page {
    padding: 20px 0;
}

.cs-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.cs-checkout-section {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.cs-checkout-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cs-border);
    color: var(--cs-text-heading);
}

.cs-checkout-section-title i {
    color: var(--cs-primary);
}

.cs-checkout-login-notice {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--cs-radius);
    padding: 20px 24px;
    text-align: center;
    font-size: 1rem;
}

.cs-checkout-login-notice a {
    color: #5865F2 !important;
    font-weight: 600;
}

.cs-checkout-login-notice i {
    color: #5865F2;
    margin-right: 8px;
}

/* Checkout form inputs */
.cs-checkout-form .form-row {
    margin-bottom: 16px;
}

.cs-checkout-form .form-row label {
    color: var(--cs-text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

.cs-checkout-form .form-row input.input-text,
.cs-checkout-form .form-row select {
    width: 100%;
    background: var(--cs-bg-input) !important;
    border: 1px solid var(--cs-border) !important;
    border-radius: var(--cs-radius-sm) !important;
    color: var(--cs-text-primary) !important;
    padding: 14px 16px !important;
    font-family: var(--cs-font-body);
    font-size: 0.95rem;
    transition: var(--cs-transition);
}

.cs-checkout-form .form-row input:focus,
.cs-checkout-form .form-row select:focus {
    border-color: var(--cs-primary) !important;
    box-shadow: 0 0 0 3px var(--cs-accent-glow) !important;
    outline: none;
}

/* Payment methods */
.cs-checkout-form .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-checkout-form .wc_payment_method {
    padding: 16px;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    margin-bottom: 12px;
    transition: var(--cs-transition);
}

.cs-checkout-form .wc_payment_method:hover,
.cs-checkout-form .wc_payment_method.active {
    border-color: var(--cs-primary);
}

.cs-checkout-form .payment_box {
    background: var(--cs-bg-elevated) !important;
    border-radius: var(--cs-radius-sm);
    padding: 16px;
    margin-top: 12px;
    color: var(--cs-text-muted);
    font-size: 0.9rem;
}

/* Place Order Button */
.cs-place-order {
    width: 100%;
    padding: 18px !important;
    font-size: 1.1rem !important;
    margin-top: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Order Review in sidebar */
.cs-order-review {
    position: sticky;
    top: 100px;
}

.cs-order-review .shop_table {
    border: none !important;
}

.cs-order-review .shop_table th,
.cs-order-review .shop_table td {
    padding: 12px 0;
    border-color: var(--cs-border) !important;
    color: var(--cs-text-primary);
    background: transparent !important;
}

.cs-order-review .shop_table tfoot .order-total th,
.cs-order-review .shop_table tfoot .order-total td {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cs-primary);
    border-top: 2px solid var(--cs-primary) !important;
}

/* Security Badge */
.cs-secure-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(var(--cs-primary-rgb), 0.05);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.2);
    border-radius: var(--cs-radius);
    margin-top: 16px;
}

.cs-secure-badge i {
    font-size: 1.5rem;
    color: var(--cs-success);
}

.cs-secure-badge strong {
    color: var(--cs-text-heading);
    display: block;
    margin-bottom: 2px;
}

.cs-secure-badge p {
    color: var(--cs-text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* Cross-sell & related hidden for cleanliness */
.cross-sells {
    display: none;
}

/* ============================================
   RESPONSIVE - CART & CHECKOUT
   ============================================ */
@media (max-width: 900px) {

    .cs-cart-grid,
    .cs-checkout-grid {
        grid-template-columns: 1fr;
    }

    .cs-cart-item {
        flex-wrap: wrap;
    }

    .cs-cart-item-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--cs-border);
    }
}

@media (max-width: 640px) {
    .cs-checkout-section {
        padding: 20px;
    }

    .cs-cart-totals {
        padding: 24px;
    }
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
.cs-single-product {
    padding: 20px 0;
}

.cs-sp-full-desc {
    margin: 30px 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-sp-section-title {
    font-size: 1.25rem;
    color: var(--cs-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.cs-sp-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.cs-sp-content p {
    margin-bottom: 15px;
}

.cs-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Gallery */
.cs-product-gallery {
    position: sticky;
    top: 100px;
}

.cs-product-main-image {
    position: relative;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
}

.cs-product-img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-sp-sale-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #F85149, #DA3633);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.cs-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--cs-radius-sm);
    overflow: hidden;
    border: 2px solid var(--cs-border);
    cursor: pointer;
    transition: var(--cs-transition);
    opacity: 0.6;
}

.cs-thumb.active,
.cs-thumb:hover {
    border-color: var(--cs-primary);
    opacity: 1;
}

.cs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details */
.cs-sp-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(var(--cs-primary-rgb), 0.1);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--cs-primary);
    margin-bottom: 16px;
}

.cs-sp-title {
    font-family: var(--cs-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--cs-text-heading);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cs-sp-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--cs-secondary);
    font-size: 0.9rem;
}

.cs-sp-rating span {
    color: var(--cs-text-muted);
    margin-left: 8px;
    font-size: 0.85rem;
}

.cs-sp-price {
    font-family: var(--cs-font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cs-primary);
    margin-bottom: 20px;
}

.cs-sp-price del {
    font-size: 1.3rem;
    color: var(--cs-text-muted);
    font-weight: 400;
}

.cs-sp-price ins {
    text-decoration: none;
}

.cs-sp-desc {
    color: var(--cs-text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.cs-sp-desc p {
    margin-bottom: 12px;
}

/* Feature Pills */
.cs-sp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cs-sp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--cs-bg-elevated);
    border: 1px solid var(--cs-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--cs-text-muted);
    font-weight: 500;
}

.cs-sp-pill i {
    color: var(--cs-primary);
    font-size: 0.85rem;
}

/* Add to Cart Area */
.cs-sp-cart-area {
    margin-bottom: 28px;
    padding: 24px;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
}

.cs-sp-cart-area .single_add_to_cart_button {
    width: 100%;
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark)) !important;
    color: #0D1117 !important;
    border: none !important;
    border-radius: var(--cs-radius) !important;
    padding: 18px 32px !important;
    font-family: var(--cs-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--cs-transition);
    box-shadow: 0 4px 20px var(--cs-accent-glow);
}

.cs-sp-cart-area .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cs-accent-glow);
}

.cs-sp-cart-area .quantity input {
    background: var(--cs-bg-input);
    border: 1px solid var(--cs-border);
    color: var(--cs-text-primary);
    border-radius: var(--cs-radius-sm);
    padding: 12px;
    width: 80px;
    text-align: center;
    margin-right: 12px;
}

/* Meta */
.cs-sp-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-sp-meta-item {
    font-size: 0.85rem;
    color: var(--cs-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-sp-meta-item i {
    color: var(--cs-primary);
    width: 16px;
    text-align: center;
}

.cs-sp-meta-item a {
    color: var(--cs-primary) !important;
}

/* Tabs */
.cs-sp-tabs {
    margin-top: 60px;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
}

.cs-sp-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--cs-border);
    background: var(--cs-bg-elevated);
    overflow-x: auto;
}

.cs-sp-tab-btn {
    padding: 16px 32px;
    background: transparent;
    border: none;
    color: var(--cs-text-muted);
    font-family: var(--cs-font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--cs-transition);
    position: relative;
    white-space: nowrap;
}

.cs-sp-tab-btn:hover {
    color: var(--cs-text-heading);
    background: rgba(255, 255, 255, 0.02);
}

.cs-sp-tab-btn.active {
    color: var(--cs-primary);
    background: rgba(0, 212, 255, 0.05);
}

.cs-sp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cs-primary);
    box-shadow: 0 -2px 10px rgba(0, 212, 255, 0.5);
}

.cs-sp-tabs-body {
    padding: 40px;
}

.cs-sp-tab-panel {
    display: none;
    color: var(--cs-text-primary);
    line-height: 1.8;
}

.cs-sp-tab-panel.active {
    display: block;
    animation: cs-fade-in 0.4s ease forwards;
}

@keyframes cs-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-sp-tab-panel h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--cs-text-heading);
    border-bottom: 1px solid var(--cs-border);
    padding-bottom: 16px;
}

.cs-sp-tab-panel p {
    margin-bottom: 20px;
    color: var(--cs-text-primary);
    opacity: 0.9;
}

/* WooCommerce shop_attributes (Additional Information) */
.cs-sp-tab-panel .shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border-radius: var(--cs-radius-sm);
    overflow: hidden;
    border: 1px solid var(--cs-border);
}

.cs-sp-tab-panel .shop_attributes th,
.cs-sp-tab-panel .shop_attributes td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--cs-border);
    text-align: left;
}

.cs-sp-tab-panel .shop_attributes tr:last-child th,
.cs-sp-tab-panel .shop_attributes tr:last-child td {
    border-bottom: none;
}

.cs-sp-tab-panel .shop_attributes th {
    font-weight: 600;
    color: var(--cs-text-heading);
    background: rgba(255, 255, 255, 0.03);
    width: 30%;
    border-right: 1px solid var(--cs-border);
}

.cs-sp-tab-panel .shop_attributes td p {
    margin: 0;
    color: var(--cs-text-muted);
}

/* Reviews in tab */
.cs-sp-tab-panel #reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .cs-sp-tab-panel #reviews {
        grid-template-columns: 1.5fr 1fr;
    }
}

.cs-sp-tab-panel #comments h2 {
    border-bottom: none;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.cs-sp-tab-panel .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-sp-tab-panel .comment_container {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--cs-bg-elevated);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    margin-bottom: 20px;
    transition: var(--cs-transition);
    align-items: flex-start;
}

.cs-sp-tab-panel .comment_container:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(28, 35, 51, 0.8);
}

.cs-sp-tab-panel .comment_container img.avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--cs-border);
    object-fit: cover;
    flex-shrink: 0;
}

.cs-sp-tab-panel .comment-text {
    flex: 1;
    min-width: 0;
    /* Prevents flex flex overflow */
}

.cs-sp-tab-panel .meta {
    font-size: 0.9rem;
    color: var(--cs-text-muted);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-sp-tab-panel .meta strong.woocommerce-review__author {
    color: var(--cs-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.cs-sp-tab-panel .woocommerce-review__awaiting-approval {
    display: block;
    margin-bottom: 10px;
    font-style: italic;
    color: var(--cs-warning);
    font-size: 0.9rem;
}

/* Beautiful Star Rating for Submitted Reviews */
.cs-sp-tab-panel .star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1.5em;
    line-height: 1.5em;
    font-size: 1em;
    width: 5.4em;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--cs-border);
}

.cs-sp-tab-panel .star-rating::before {
    content: '\f005\f005\f005\f005\f005';
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 2px;
}

.cs-sp-tab-panel .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    /* Hide WooCommerce text */
    color: var(--cs-secondary);
}

.cs-sp-tab-panel .star-rating span::before {
    content: '\f005\f005\f005\f005\f005';
    top: 0;
    position: absolute;
    left: 0;
    letter-spacing: 2px;
}

body.cs-rtl .cs-sp-tab-panel .star-rating,
body.cs-rtl .cs-sp-tab-panel .star-rating::before,
body.cs-rtl .cs-sp-tab-panel .star-rating span,
body.cs-rtl .cs-sp-tab-panel .star-rating span::before {
    right: 0;
    left: auto;
    float: right;
}

.cs-sp-tab-panel .description p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--cs-text-primary);
}

/* Review Form */
.cs-sp-tab-panel #review_form_wrapper {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cs-sp-tab-panel .comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: block;
    color: var(--cs-text-heading);
    font-family: var(--cs-font-heading);
    font-weight: 700;
}

.cs-sp-tab-panel .comment-form-rating {
    margin-bottom: 24px;
    background: var(--cs-bg-elevated);
    padding: 16px 20px;
    border-radius: var(--cs-radius-sm);
    border: 1px solid var(--cs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-sp-tab-panel .comment-form-rating label {
    margin-bottom: 0;
    color: var(--cs-text-heading);
    font-weight: 600;
}

.cs-sp-tab-panel .stars {
    margin-bottom: 0;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.cs-sp-tab-panel .stars a {
    color: var(--cs-text-muted);
    font-size: 0;
    /* Hide text */
    text-decoration: none;
    transition: var(--cs-transition);
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    margin-right: -4px;
    /* Fix inline-block spacing */
}

.cs-sp-tab-panel .stars a::before {
    content: '\f005';
    /* FontAwesome star solid */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.25rem;
    position: absolute;
    top: 0;
    left: 0;
}

.cs-sp-tab-panel .stars a:hover,
.cs-sp-tab-panel .stars a:hover~a,
.cs-sp-tab-panel .stars.selected a.active,
.cs-sp-tab-panel .stars.selected a.active~a,
.cs-sp-tab-panel .stars a.active {
    color: var(--cs-secondary);
}

.cs-sp-tab-panel .comment-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--cs-text-heading);
    font-size: 0.95rem;
}

.cs-sp-tab-panel .comment-form input[type="text"],
.cs-sp-tab-panel .comment-form input[type="email"],
.cs-sp-tab-panel .comment-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--cs-bg-input);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    color: var(--cs-text-primary);
    margin-bottom: 24px;
    font-family: var(--cs-font-body);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cs-sp-tab-panel .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cs-sp-tab-panel .comment-form input:focus,
.cs-sp-tab-panel .comment-form textarea:focus {
    outline: none;
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.cs-sp-tab-panel .form-submit {
    margin-bottom: 0;
    margin-top: 10px;
}

.cs-sp-tab-panel .comment-form input#submit {
    width: 100%;
    justify-content: center;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--cs-radius);
    cursor: pointer;
    background: linear-gradient(135deg, var(--cs-primary), var(--cs-primary-dark));
    color: #0D1117;
    font-weight: 700;
    font-family: var(--cs-font-heading);
    transition: var(--cs-transition);
    box-shadow: 0 4px 15px var(--cs-accent-glow);
}

.cs-sp-tab-panel .comment-form input#submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--cs-accent-glow);
}

/* Related Products */
.cs-sp-related {
    margin-top: 60px;
}

.cs-sp-related-heading {
    font-family: var(--cs-font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--cs-text-heading);
}

.cs-sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cs-gap);
}

.cs-sp-related-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    text-decoration: none !important;
    transition: var(--cs-transition);
}

.cs-sp-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--cs-primary-rgb), 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cs-sp-related-img {
    height: 180px;
    overflow: hidden;
}

.cs-sp-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cs-transition-slow);
}

.cs-sp-related-card:hover .cs-sp-related-img img {
    transform: scale(1.06);
}

.cs-sp-related-info {
    padding: 20px;
}

.cs-sp-related-info h4 {
    font-size: 1rem;
    color: var(--cs-text-heading);
    margin-bottom: 8px;
}

.cs-sp-related-price {
    font-family: var(--cs-font-heading);
    font-weight: 700;
    color: var(--cs-primary);
}

/* Hide default WooCommerce elements we replaced */
.cs-single-product .woocommerce-product-gallery,
.cs-single-product .product_title,
.cs-single-product .woocommerce-product-rating,
.cs-single-product .price,
.cs-single-product>.woocommerce-product-details__short-description,
.cs-single-product .product_meta,
.cs-single-product>.related.products,
.cs-single-product>.woocommerce-tabs {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .cs-product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cs-product-gallery {
        position: static;
    }

    .cs-sp-title {
        font-size: 1.6rem;
    }

    .cs-sp-price {
        font-size: 2rem;
    }

    .cs-sp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cs-sp-related-grid {
        grid-template-columns: 1fr;
    }

    .cs-sp-tabs-nav {
        flex-direction: column;
    }

    .cs-sp-tab-btn {
        text-align: left;
    }
}

/* ============================================
   LANGUAGE TOGGLE BUTTON
   ============================================ */
.cs-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(var(--cs-primary-rgb), 0.1);
    border: 1px solid rgba(var(--cs-primary-rgb), 0.25);
    border-radius: 50px;
    color: var(--cs-primary);
    font-family: var(--cs-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--cs-transition);
    white-space: nowrap;
}

.cs-lang-toggle:hover {
    background: rgba(var(--cs-primary-rgb), 0.2);
    border-color: var(--cs-primary);
    transform: translateY(-1px);
}

.cs-lang-toggle i {
    font-size: 0.9rem;
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */
.cs-rtl {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

/* Navbar RTL */
.cs-rtl .cs-navbar-inner {
    flex-direction: row-reverse;
}

.cs-rtl .cs-nav-menu {
    flex-direction: row-reverse;
}

.cs-rtl .cs-nav-actions {
    flex-direction: row-reverse;
}

/* Cards RTL */
.cs-rtl .cs-shop-card-footer {
    flex-direction: row-reverse;
}

.cs-rtl .cs-shop-card-badge {
    right: auto;
    left: 12px;
}

.cs-rtl .cs-badge-digital {
    left: auto;
    right: 12px;
}

/* Cart RTL */
.cs-rtl .cs-cart-item {
    flex-direction: row-reverse;
}

.cs-rtl .cs-cart-item-subtotal {
    text-align: left;
}

.cs-rtl .cs-cart-update {
    justify-content: flex-start;
}

/* Checkout RTL */
.cs-rtl .cs-checkout-section-title,
.cs-rtl .cs-cart-section-title {
    flex-direction: row-reverse;
}

.cs-rtl .cs-secure-badge {
    flex-direction: row-reverse;
}

/* Single Product RTL */
.cs-rtl .cs-sp-features {
    flex-direction: row-reverse;
}

.cs-rtl .cs-sp-pill {
    flex-direction: row-reverse;
}

.cs-rtl .cs-sp-meta-item {
    flex-direction: row-reverse;
}

.cs-rtl .cs-sp-rating {
    flex-direction: row-reverse;
}

/* Features section RTL */
.cs-rtl .cs-feature-item,
.cs-rtl .cs-stat-item {
    text-align: center;
}

/* Footer RTL */
.cs-rtl .cs-footer-bottom {
    flex-direction: row-reverse;
}

/* Discord login RTL */
.cs-rtl .cs-sp-category {
    flex-direction: row-reverse;
}

.cs-rtl .camel-discord-login-security {
    flex-direction: row-reverse;
}

.cs-rtl .camel-discord-login-features {
    flex-direction: row-reverse;
}

.cs-rtl .camel-discord-login-feature {
    flex-direction: row-reverse;
}

/* Forms RTL */
.cs-rtl input,
.cs-rtl textarea,
.cs-rtl select {
    text-align: right;
}

/* ============================================
   MY ACCOUNT DASHBOARD REDESIGN
   ============================================ */
.cs-dashboard-wrapper {
    padding: 40px 0 80px;
    background: var(--cs-bg-dark);
    min-height: 80vh;
}

.cs-dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.cs-dashboard-sidebar {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

/* User Profile Card */
.cs-user-profile-card {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(28, 35, 51, 1) 0%, rgba(22, 27, 34, 0) 100%);
    border-bottom: 1px solid var(--cs-border);
}

.cs-user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--cs-bg-elevated);
    box-shadow: 0 0 0 2px var(--cs-primary);
    margin-bottom: 16px;
}

.cs-user-info h3 {
    font-size: 1.1rem;
    margin: 0 0 4px;
    color: var(--cs-text-heading);
}

.cs-user-role {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--cs-secondary);
    background: rgba(212, 168, 67, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

/* Navigation */
.cs-dashboard-nav ul {
    list-style: none;
    margin: 0;
    padding: 12px;
}

.cs-dashboard-nav li {
    margin-bottom: 4px;
}

.cs-dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--cs-text-muted);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--cs-transition);
    text-decoration: none;
}

.cs-dashboard-nav a:hover {
    color: var(--cs-text-heading);
    background: var(--cs-bg-elevated);
}

.cs-dashboard-nav li.is-active a {
    color: var(--cs-primary);
    background: rgba(var(--cs-primary-rgb), 0.1);
    font-weight: 600;
}

.cs-dashboard-nav i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Content Area */
.cs-dashboard-content {
    min-height: 400px;
}

/* Dashboard Home */
.cs-dashboard-welcome {
    background: linear-gradient(135deg, var(--cs-bg-elevated) 0%, var(--cs-bg-card) 100%);
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.cs-dashboard-welcome::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--cs-primary-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cs-welcome-text h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--cs-text-heading);
}

.cs-welcome-text p {
    color: var(--cs-text-muted);
    margin: 0;
    max-width: 500px;
}

/* Stats Grid */
.cs-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.cs-stat-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: var(--cs-transition);
    position: relative;
    overflow: hidden;
}

.cs-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--cs-primary);
    background: var(--cs-bg-elevated);
}

.cs-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cs-bg-blue {
    background: rgba(var(--cs-primary-rgb), 0.15);
    color: var(--cs-primary);
}

.cs-bg-gold {
    background: rgba(212, 168, 67, 0.15);
    color: var(--cs-secondary);
}

.cs-bg-green {
    background: rgba(63, 185, 80, 0.15);
    color: #3FB950;
}

.cs-bg-purple {
    background: rgba(138, 75, 225, 0.15);
    color: #8a4be1;
}

.cs-stat-info h3 {
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--cs-text-heading);
}

.cs-stat-info p {
    font-size: 0.8rem;
    color: var(--cs-text-muted);
    margin: 0;
}

.cs-stat-arrow {
    margin-left: auto;
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    transition: var(--cs-transition);
}

.cs-stat-card:hover .cs-stat-arrow {
    transform: translateX(4px);
    color: var(--cs-primary);
}

/* Responsive Dashboard */
@media (max-width: 991px) {
    .cs-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .cs-dashboard-sidebar {
        position: static;
        margin-bottom: 32px;
    }
}

/* RTL Dashboard */
.cs-rtl .cs-dashboard-grid {
    grid-template-columns: 280px 1fr;
    /* Switch order visually effectively? Actually grid-template-columns direction depends on dir */
    /* Note: In CSS Grid with dir=rtl, column 1 is on the right. So 280px 1fr is correct for sidebar on right. */
    /* Wait, standard is sidebar on left for LTR. */
    /* For RTL, we want sidebar on Right. */
}

/* Re-verify grid directionality: 
   LTR: col1 (sidebar) | col2 (content)
   RTL: col1 (sidebar) | col2 (content) -> Starts from right.
   So sidebar will be on the right automatically.
*/

.cs-rtl .cs-dashboard-sidebar {
    /* No specific changes needed for layout if grid handles it */
}

.cs-rtl .cs-dashboard-nav a {
    text-align: right;
}

.cs-rtl .cs-stat-arrow {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(180deg);
    /* Flip arrow for RTL */
}

.cs-rtl .cs-stat-card:hover .cs-stat-arrow {
    transform: translateX(-4px) rotate(180deg);
}

.cs-rtl .cs-dashboard-welcome {
    flex-direction: row-reverse;
    /* If needed, but flex follows dir usually */
}

.cs-rtl .cs-dashboard-welcome::after {
    right: auto;
    left: 0;
    background: radial-gradient(circle at center, rgba(var(--cs-primary-rgb), 0.1) 0%, transparent 70%);
}

/* 404 Navbar Fix */
.error404 .cs-navbar {
    display: none !important;
}

/* Terminal Animation - Authentic Style */
.cs-terminal-window {
    width: 100%;
    max-width: 550px;
    background: #1a1e2e;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 10px;
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin: 0 auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    text-align: left;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cs-terminal-window:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
    box-shadow:
        0 0 50px rgba(0, 212, 255, 0.12),
        0 25px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cs-terminal-toolbar {
    background: #12162a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-terminal-dots {
    display: flex;
    gap: 8px;
}

.cs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 4px currentColor;
}

.cs-dot.red {
    background: #ff5f56;
    color: #ff5f56;
}

.cs-dot.yellow {
    background: #ffbd2e;
    color: #ffbd2e;
}

.cs-dot.green {
    background: #27c93f;
    color: #27c93f;
}

.cs-terminal-title {
    flex-grow: 1;
    text-align: center;
    font-size: 13px;
    color: #6b7a99;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    letter-spacing: 0.3px;
}

.cs-terminal-body {
    padding: 20px;
    min-height: 260px;
    max-height: 320px;
    overflow-y: auto;
    color: #c9d1d9;
    font-size: 14px;
    line-height: 1.7;
    background: linear-gradient(180deg, #1a1e2e 0%, #141827 100%);
}

.cs-command-line {
    margin-bottom: 4px;
    display: block;
    word-break: break-word;
}

.cs-command-line.input::before {
    content: "$ ";
    color: #79c0ff;
}

.cs-command-line.success {
    color: #3fb950;
}

.cs-command-line.info {
    color: #58a6ff;
}

.cs-command-line.warn {
    color: #d29922;
}

.cs-command-line.error {
    color: #f85149;
}

.cs-cursor-block {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: #c9d1d9;
    animation: blink-block 1s steps(2, start) infinite;
    vertical-align: text-bottom;
}

@keyframes blink-block {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes blink-cursor {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* WooCommerce Notices Refined */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #161b22 !important;
    color: #e6edf3 !important;
    border-top: 3px solid #3fb950 !important;
    /* Default success green */
    border-radius: 6px;
    padding: 15px 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
    /* Access icon via CSS content usually poorly placed, handled by text or custom structure */
}

/* Info */
.woocommerce-info {
    border-top-color: #58a6ff !important;
}

/* Error */
.woocommerce-error {
    border-top-color: #f85149 !important;
}

/* Button inside notice */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right;
    background: #21262d !important;
    color: #58a6ff !important;
    border: 1px solid #30363d !important;
    padding: 5px 15px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    margin-left: auto !important;
}

.woocommerce-message .button:hover {
    background: #30363d !important;
    color: #ffffff !important;
}

/* ============================================
   HIDE "ADDED TO CART" TOP NOTICE BANNER
   (keeps error notices visible, only hides the
   green "X has been added to your cart" bar)
   ============================================ */
.woocommerce-notices-wrapper .woocommerce-message {
    display: none !important;
}

/* ── Quantity input — simple dark styling ── */
.quantity {
    display: inline-flex;
    align-items: center;
}

.quantity input.qty,
input.qty {
    background: #0e1220 !important;
    color: #e6edf3 !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: 6px !important;
    outline: none !important;
    box-shadow: none !important;
    width: 60px !important;
    height: 38px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 8px !important;
    -moz-appearance: textfield !important;
    transition: border-color 0.2s !important;
}

.quantity input.qty:hover,
input.qty:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
}

.quantity input.qty:focus,
input.qty:focus {
    border-color: rgba(0, 212, 255, 0.7) !important;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.15) !important;
    outline: none !important;
}

/* Hide browser spinner arrows */
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    display: none !important;
    margin: 0 !important;
}

/* ── Hide duplicate WooCommerce Cart Totals block ── */
.woocommerce-cart .cart_totals,
.cart-collaterals,
.cart-collaterals .cart_totals {
    display: none !important;
}

/* ── Update cart button disabled state ── */
button[name="update_cart"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}