/*
Theme Name: LaserBeam Pro
Theme URI: https://laserbeam-pro.com
Author: LaserBeam Team
Author URI: https://laserbeam-pro.com
Description: A premium dark-themed WordPress theme designed for single laser pointer product e-commerce. Features WooCommerce integration, product gallery, shopping cart, and checkout functionality.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laserbeam-pro
Tags: e-commerce, dark, single-product, laser, woocommerce, responsive
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Primary Colors - Purple Theme */
    --primary: #a855f7;
    --primary-dark: #7c3aed;
    --primary-light: #c084fc;
    --primary-glow: rgba(168, 85, 247, 0.3);
    
    /* Accent Colors */
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --secondary: #f43f5e;
    
    /* Background Colors */
    --bg-primary: #0f0a1a;
    --bg-secondary: #1a1025;
    --bg-tertiary: #251a35;
    --bg-card: #1e1430;
    --bg-hover: #2a1f3d;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #c4b5d4;
    --text-muted: #8b7aa0;
    
    /* Border Colors */
    --border-primary: #3d2f55;
    --border-light: #4a3a65;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-dark: linear-gradient(180deg, #1a1025 0%, #0f0a1a 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.25);
    --shadow-accent: 0 0 30px rgba(6, 182, 212, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-primary);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.6);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(15, 10, 26, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.site-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo span {
    color: var(--primary);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

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

.main-nav a:hover::after {
    width: 100%;
}

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

.header-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.header-icon:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO PRODUCT SECTION
   ======================================== */
.hero-product {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Product Gallery */
.hero-product-gallery {
    position: relative;
}

.main-image {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.main-image:hover img {
    transform: scale(1.03);
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Product Info */
.hero-product-info h1 {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-product-info h1 span {
    color: var(--primary);
}

.product-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.price-current {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.price-original {
    font-size: 24px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    padding: 6px 12px;
    background: var(--secondary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-features-list {
    list-style: none;
    margin-bottom: 28px;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.product-features-list i {
    color: var(--primary);
    font-size: 18px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.quantity-input {
    width: 60px;
    height: 48px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

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

/* Product Meta */
.product-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.product-meta-item i {
    color: var(--accent);
    font-size: 16px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   APPLICATIONS SECTION
   ======================================== */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.application-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.application-image {
    height: 200px;
    overflow: hidden;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.application-content {
    padding: 24px;
}

.application-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--accent);
}

.application-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   STRUCTURE SECTION
   ======================================== */
.structure-section {
    background: var(--bg-secondary);
}

.structure-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.structure-image {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.structure-image img {
    width: 100%;
    height: auto;
}

.structure-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.structure-info h2 span {
    color: var(--primary);
}

.structure-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.structure-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.structure-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.structure-item:hover {
    border-color: var(--primary);
}

.structure-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.structure-item-icon i {
    font-size: 20px;
    color: var(--primary);
}

.structure-item-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.structure-item-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   PORTABILITY SECTION
   ======================================== */
.portability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portability-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.portability-info h2 span {
    color: var(--accent);
}

.portability-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.portability-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.portability-spec {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.portability-spec-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.portability-spec-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portability-image {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portability-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   SPECS SECTION
   ======================================== */
.specs-section {
    background: var(--bg-secondary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.spec-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.review-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.review-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-rating {
    color: #fbbf24;
    font-size: 14px;
}

.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
        var(--bg-primary);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-content h2 span {
    color: var(--primary);
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-price {
    margin-bottom: 32px;
}

.cta-price .current {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.cta-price .original {
    font-size: 24px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 16px 0 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.footer-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-payment {
    display: flex;
    gap: 12px;
    font-size: 28px;
    color: var(--text-muted);
}

/* ========================================
   CART MODAL
   ======================================== */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cart-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
}

.cart-close {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-primary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total span:first-child {
    font-size: 16px;
    color: var(--text-secondary);
}

.cart-total span:last-child {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.cart-actions {
    display: flex;
    gap: 12px;
}

.cart-actions .btn {
    flex: 1;
}

/* ========================================
   NOTIFICATION
   ======================================== */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-glow);
    transform: translateX(150%);
    transition: transform var(--transition-normal);
    z-index: 3000;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 20px;
    color: var(--primary);
}

.notification span {
    font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-product-content,
    .structure-content,
    .portability-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-primary);
        padding: 24px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-product-info h1 {
        font-size: 32px;
    }
    
    .price-current {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .applications-grid,
    .reviews-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .portability-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-price .current {
        font-size: 40px;
    }
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.woocommerce-message {
    border-left: 4px solid var(--primary);
}

.woocommerce-info {
    border-left: 4px solid var(--accent);
}

.woocommerce-error {
    border-left: 4px solid var(--secondary);
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--primary);
    outline: none;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   WooCommerce 原生结账页暗黑模式修复补丁
   ======================================== */

/* 修复输入框和下拉菜单颜色 */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-primary) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px !important;
}

/* 修复输入框文字颜色 */
.woocommerce form .form-row label {
    color: var(--text-secondary) !important;
}

/* 修复订单确认区的表格背景 */
.woocommerce table.shop_table {
    background-color: transparent !important;
    border-collapse: collapse;
    border: 1px solid var(--border-primary);
}
.woocommerce table.shop_table th, 
.woocommerce table.shop_table td {
    color: var(--text-primary) !important;
    border-color: var(--border-primary) !important;
    background: transparent !important;
}

/* 修复支付选择区域的背景 (极其重要) */
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
    background-color: var(--bg-secondary) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px;
}

/* 修复支付方式展开后的提示框颜色 */
#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
    background-color: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-primary);
}
/* 修复支付提示框顶部的小三角指示器 */
#add_payment_method #payment div.payment_box::before, 
.woocommerce-cart #payment div.payment_box::before, 
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--bg-card) !important;
}

/* 隐藏多余的第二个标题 (如果还存在的话) */
.woocommerce-checkout h3 {
    color: var(--primary) !important;
    margin-top: 20px;
}

/* ========================================
   WooCommerce 购物车原生排版修复补丁
   ======================================== */
.woocommerce-cart table.shop_table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    background: var(--bg-card) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}
.woocommerce-cart table.shop_table thead {
    background: var(--bg-secondary) !important;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    display: table-cell !important;
    padding: 15px !important;
    text-align: left !important;
    border-bottom: 1px solid var(--border-primary) !important;
    vertical-align: middle !important;
}
.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 80px !important;
    border-radius: var(--radius-sm);
}
.woocommerce-cart .cart-collaterals {
    margin-top: 40px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--bg-card) !important;
    padding: 30px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 500px !important;
    float: right !important;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
    color: var(--primary) !important;
    margin-bottom: 20px !important;
    font-family: 'Orbitron', sans-serif;
}
