/* ========================================
   SecureVideo Store - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #e7f1ff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --text-color: #333;
    --text-muted: #6c757d;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    animation: topBarShine 8s infinite;
}

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

.top-bar-links a,
.top-bar-social a {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
    transition: var(--transition);
}

.top-bar-links a:hover,
.top-bar-social a:hover {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.top-bar-links a {
    margin-right: 20px;
}

/* Header */
.main-header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
}

.logo-icon {
    color: #00f3ff;
    margin-right: 8px;
    font-size: 32px;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.logo-text {
    color: #fff;
}

.logo-text span {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Search Form */
.search-form {
    position: relative;
}

.search-form .input-group {
    border: 2px solid rgba(0, 243, 255, 0.3);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.search-form .input-group:focus-within {
    border-color: #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.search-form input {
    border: none;
    padding: 12px 15px;
    background: transparent;
    color: #fff;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form input:focus {
    outline: none;
    box-shadow: none;
}

.search-form .btn-search {
    background: linear-gradient(135deg, #00f3ff, #0066ff);
    color: #000;
    border: none;
    padding: 0 20px;
    transition: var(--transition);
}

.search-form .btn-search:hover {
    background: var(--primary-dark);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

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

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-suggestion-item:hover {
    background: var(--primary-light);
}

.search-suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.search-suggestion-info h5 {
    font-size: 14px;
    margin-bottom: 2px;
}

.search-suggestion-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.header-action {
    position: relative;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
}

.action-link:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
    color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.action-link i {
    font-size: 20px;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.action-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff00ff, #ff0066);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Dropdown */
.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 100;
}

.header-action:hover .account-dropdown {
    display: block;
}

.account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.account-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.account-dropdown hr {
    margin: 5px 0;
    border-color: var(--border-color);
}

/* Navigation */
.main-nav {
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #fff;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    position: relative;
}

.main-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.5), transparent);
}

.nav-categories {
    position: relative;
    display: inline-block;
}

.categories-btn {
    background: linear-gradient(135deg, #00f3ff, #0066ff);
    color: #000;
    border: none;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.categories-btn:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.categories-btn i {
    font-size: 16px;
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-top: none;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
    display: none;
    z-index: 50;
    border-radius: 0 0 10px 10px;
}

.nav-categories:hover .categories-menu {
    display: block;
}

.category-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.category-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-item > a:hover {
    background: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    padding-left: 25px;
}

.category-item > a i {
    color: #00f3ff;
    width: 20px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.category-item:hover .subcategory-dropdown {
    display: block;
}

.subcategory-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    display: none;
}

.subcategory-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.subcategory-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.nav-links {
    display: inline-flex;
    gap: 30px;
    margin-left: 30px;
}

.nav-links a {
    display: block;
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f3ff, #ff00ff);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding-top: 0;
}

/* Category Banner Strip */
.category-banner-strip {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 255, 200, 0.1);
    overflow-x: auto;
}

.category-banner-strip .row {
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.category-banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
    max-width: 180px;
    flex: 0 0 auto;
    margin: 0 8px;
}

.category-banner-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 255, 200, 0.3),
        0 0 20px rgba(0, 255, 200, 0.2);
}

.category-banner-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #00ffc8, #ff00ff, #bc13fe);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-banner-item:hover::before {
    opacity: 1;
}

.category-banner-image {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 14px;
}

.category-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.category-banner-item:hover .category-banner-image img {
    transform: scale(1.15);
}

.category-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
    border-radius: 14px;
}

.category-banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-banner-title i {
    color: #00ffc8;
    font-size: 18px;
    margin-bottom: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.5);
}

/* Scrollbar personalizzata */
.category-banner-strip::-webkit-scrollbar {
    height: 6px;
}

.category-banner-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.category-banner-strip::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00ffc8, #bc13fe);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-banner-item {
        min-width: 100px;
        max-width: 120px;
        margin: 0 5px;
    }
    
    .category-banner-image {
        height: 70px;
    }
    
    .category-banner-title {
        font-size: 9px;
        padding: 8px 4px;
    }
    
    .category-banner-title i {
        font-size: 14px;
    }
}

/* Hero Section - Override for neon theme */
.hero-section {
    position: relative;
    background: transparent;
    padding: 60px 0;
    overflow: hidden;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(188, 19, 254, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(0, 243, 255, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-new {
    background: var(--primary-color);
    color: #fff;
}

.badge-sale {
    background: var(--danger-color);
    color: #fff;
}

.badge-hot {
    background: var(--warning-color);
    color: var(--dark-color);
}

.badge-out {
    background: var(--secondary-color);
    color: #fff;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-action-btn.wishlist.active {
    background: var(--danger-color);
    color: #fff;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating i {
    color: var(--warning-color);
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.product-quantity {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.out-of-stock {
    color: var(--danger-color);
}

/* Category Cards */
.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.category-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.category-card .count {
    font-size: 13px;
    color: var(--text-muted);
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title .view-all {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
.main-footer {
    background: #1a1a2e;
    color: #fff;
    margin-top: 60px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

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

.newsletter-form .input-group {
    border-radius: var(--radius);
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 15px;
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-payments {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-payments i {
    font-size: 24px;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.8);
}

/* Cookie Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.cookie-options {
    display: flex;
    gap: 20px;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.cookie-option small {
    font-size: 12px;
    color: var(--text-muted);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Alerts */
#alert-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .search-form {
        margin: 15px 0;
    }
    
    .main-header .col-lg-5 {
        order: 3;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar-links, 
    .top-bar-social {
        justify-content: center;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-options {
        justify-content: center;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        font-size: 26px;
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-item .page-link {
    color: var(--text-color);
    border-color: var(--border-color);
    padding: 8px 14px;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary-color);
}

/* Filters Sidebar */
.filters-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.filter-group .form-check {
    margin-bottom: 8px;
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 100px;
    text-align: center;
}

/* Product Detail */
.product-detail-image {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-detail-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-detail-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.product-detail-thumbnails img.active,
.product-detail-thumbnails img:hover {
    border-color: var(--primary-color);
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-detail-sku {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-detail-price {
    margin-bottom: 25px;
}

.product-detail-price .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-price .old-price {
    font-size: 20px;
    margin-left: 15px;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-color);
    cursor: pointer;
}

.quantity-input input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 16px;
}

.product-detail-meta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.product-detail-meta p {
    margin-bottom: 8px;
    font-size: 14px;
}

.product-detail-meta strong {
    color: var(--text-color);
}

/* Cart */
.cart-table {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--light-color);
    padding: 15px;
    font-weight: 600;
    font-size: 14px;
}

.cart-table td {
    padding: 15px;
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius);
}

.cart-product-info h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-product-info .sku {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.cart-summary h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

/* Checkout */
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    position: relative;
}

.checkout-step::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--border-color);
    position: absolute;
    right: -25px;
}

.checkout-step:last-child::after {
    display: none;
}

.checkout-step.active .step-number {
    background: var(--primary-color);
    color: #fff;
}

.checkout-step.completed .step-number {
    background: var(--success-color);
    color: #fff;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.checkout-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Login/Register */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-card h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.social-login {
    margin-bottom: 25px;
}

.social-login-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.social-login-btn:hover {
    background: var(--light-color);
}

.social-login-btn.google {
    background: #fff;
}

.social-login-btn.google:hover {
    background: #f8f9fa;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider span {
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Dashboard */
.dashboard-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.dashboard-sidebar ul li {
    margin-bottom: 5px;
}

.dashboard-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--radius);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.dashboard-sidebar ul li a:hover,
.dashboard-sidebar ul li a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.dashboard-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

/* Admin Styles */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
    padding: 0;
}

.admin-sidebar .logo {
    padding: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .logo-icon {
    color: var(--primary-color);
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-nav a i {
    width: 20px;
}

.admin-content {
    padding: 30px;
    background: #f5f7fa;
    min-height: 100vh;
}

.admin-header {
    background: #fff;
    padding: 20px 30px;
    margin: -30px -30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.admin-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.admin-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.stat-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.stat-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.stat-icon.danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.stat-info h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--light-color);
    font-weight: 600;
    font-size: 14px;
}

.data-table tr:hover {
    background: var(--primary-light);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.status-badge.processing {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

.status-badge.shipped {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

.status-badge.delivered {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.status-badge.paid {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.failed {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

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

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast i {
    font-size: 20px;
}

.toast.success i {
    color: var(--success-color);
}

.toast.error i {
    color: var(--danger-color);
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
