/* ===================================
   HyperNexa Store - Main Stylesheet
   Modern Tech E-commerce Design
   =================================== */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;

    --border-color: #e2e8f0;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -10px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1400px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 28px;
}

/* Navigation */
.nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 12px 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
}

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

.dropdown-toggle i {
    font-size: 10px;
    margin-left: 4px;
}

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

.search-icon,
.cart-icon {
    font-size: 20px;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
}

.search-icon:hover,
.cart-icon:hover {
    color: var(--primary-color);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 500px;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 48px 16px 16px;
    font-size: 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-close {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 24px;
    color: var(--text-medium);
}

.search-results {
    margin-top: 16px;
    max-height: 400px;
    overflow-y: auto;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.3), transparent 50%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.3), transparent 50%),
        url('../img/gaming_banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

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

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    gap: 12px;
}

/* Featured Collections */
.featured-collections {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.collection-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.collection-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.collection-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.collection-card p {
    color: var(--text-medium);
}

/* Best Sellers */
.best-sellers {
    padding: 80px 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.bestseller {
    background: var(--warning-color);
}

.product-badge.new {
    background: var(--success-color);
}

.product-details {
    padding: 20px;
}

.product-category {
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

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

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

.stars {
    color: var(--warning-color);
    font-size: 14px;
}

.rating-count {
    color: var(--text-light);
    font-size: 13px;
}

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

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

.product-original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card .btn {
    width: 100%;
}

/* Value Props */
.value-props {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.value-item {
    text-align: center;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-medium);
}

/* Video Section */
.video-section {
    padding: 80px 0;
}

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

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail i {
    position: absolute;
    font-size: 64px;
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail i {
    transform: scale(1.1);
}

.video-card h3 {
    padding: 20px;
    font-size: 18px;
    color: var(--text-dark);
}

.video-card p {
    padding: 0 20px 20px;
    color: var(--text-medium);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.testimonial-card .stars {
    margin-bottom: 16px;
    font-size: 16px;
}

.testimonial-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    border: none;
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: 2px solid white;
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
}

.newsletter-form .btn:hover {
    background: var(--bg-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

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

.footer-col a {
    color: #9ca3af;
    font-size: 14px;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 16px;
    font-size: 28px;
    opacity: 0.7;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header.small {
    padding: 60px 0;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

.about-page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

/* ===== SHOP PAGE ===== */
.shop-section {
    padding: 60px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Shop Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.filter-group {
    margin-bottom: 32px;
}

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

.filter-group h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    color: var(--text-dark);
    font-size: 14px;
}

.reset-filters {
    margin-top: 24px;
}

/* Shop Controls */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.results-count {
    color: var(--text-medium);
    font-size: 15px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-options label {
    color: var(--text-medium);
    font-size: 14px;
}

.sort-options select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    cursor: pointer;
    background: white;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.pagination-btn,
.pagination-number {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled),
.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== CART PAGE ===== */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

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

.cart-item-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cart-item-details p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 12px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
}

.cart-item-remove {
    text-align: right;
}

.cart-item-remove button {
    color: var(--danger-color);
    font-size: 14px;
    padding: 8px;
}

.cart-item-remove button:hover {
    text-decoration: underline;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

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

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

.summary-row span:first-child {
    color: var(--text-medium);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.discount-code {
    margin: 24px 0;
    display: flex;
    gap: 8px;
}

.discount-code input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    border-top: 2px solid var(--border-color);
    font-size: 20px;
    font-weight: 700;
}

.trust-badges {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-medium);
}

.trust-badge i {
    color: var(--success-color);
    font-size: 18px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

/* Upsell Section */
.upsell-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.upsell-section h3 {
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.upsell-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.upsell-card input[type="checkbox"] {
    margin-top: 4px;
}

.upsell-card input:checked~.upsell-content {
    border-left-color: var(--primary-color);
}

.upsell-content {
    flex: 1;
    border-left: 3px solid transparent;
    padding-left: 16px;
}

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

.upsell-content p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 8px;
}

.upsell-price {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-header {
    border-bottom: 2px solid var(--border-color);
}

.checkout-steps {
    display: flex;
    gap: 32px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

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

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-weight: 600;
    font-size: 14px;
}

.checkout-section {
    padding: 60px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-form {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.checkout-step h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.shipping-options {
    margin-bottom: 32px;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.shipping-option:hover {
    border-color: var(--primary-light);
}

.shipping-option input[type="radio"]:checked~.shipping-content {
    font-weight: 600;
}

.shipping-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.shipping-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 12px;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shipping-info strong {
    font-size: 16px;
}

.shipping-info span {
    color: var(--text-medium);
    font-size: 14px;
}

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

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

.payment-method:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.payment-method i {
    font-size: 32px;
}

.payment-method input[type="radio"] {
    display: none;
}

.secure-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--success-color);
}

.checkout-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

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

.order-summary {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.summary-item-image {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

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

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

.summary-item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.summary-item-info p {
    font-size: 12px;
    color: var(--text-medium);
}

.summary-item-price {
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== CATEGORY PAGES ===== */
.category-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

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

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.category-banner h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-banner p {
    font-size: 20px;
    opacity: 0.95;
}

.category-section {
    padding: 60px 0;
}

.category-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-medium);
    font-size: 18px;
    line-height: 1.7;
}

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

.products-header h2 {
    font-size: 28px;
}

.product-count {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 400;
}

/* Buying Guide */
.buying-guide {
    margin-top: 80px;
    padding: 48px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.buying-guide h2 {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
}

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

.guide-item h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.guide-item ul {
    list-style: disc;
    padding-left: 20px;
}

.guide-item li {
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== PRODUCT PAGE ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
}

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

.breadcrumb i {
    font-size: 10px;
}

.product-section {
    padding: 60px 0;
}

/* Product Detail Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.main-image-wrapper {
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.zoom-trigger {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 18px;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 5;
}

.zoom-trigger:hover {
    opacity: 1;
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumb-item {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

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

.thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
}


/* Product Info */
.product-badges {
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 8px;
}

.badge-bestseller {
    background: var(--warning-color);
    color: white;
}

.badge-new {
    background: var(--success-color);
    color: white;
}

#product-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-info .product-rating {
    margin-bottom: 24px;
}

.product-info .product-rating .stars {
    font-size: 16px;
}

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

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

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

.discount-badge {
    padding: 6px 12px;
    background: var(--danger-color);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.product-short-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 32px;
}

/* Product Variants */
.product-variants {
    margin-bottom: 32px;
}

.variant-group {
    margin-bottom: 20px;
}

.variant-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.color-option:hover,
.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Product Actions */
.product-actions {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

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

.qty-btn {
    width: 40px;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--bg-gray);
}

#quantity {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
}

#quantity:focus {
    outline: none;
}

.product-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.product-trust .trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.product-trust .trust-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 2px;
}

.product-trust .trust-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-trust .trust-item strong {
    font-size: 15px;
    color: var(--text-dark);
}

.product-trust .trust-item span {
    font-size: 13px;
    color: var(--text-medium);
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.meta-item {
    display: flex;
    gap: 8px;
}

.meta-item strong {
    color: var(--text-dark);
    min-width: 100px;
}

.meta-item span {
    color: var(--text-medium);
}

.stock-status {
    color: var(--success-color);
    font-weight: 600;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 60px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 32px;
}

.tab-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-medium);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.tab-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.tab-content h4 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.tab-content p {
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.tab-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.tab-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 16px 0;
}

.specs-table td:first-child {
    width: 200px;
    color: var(--text-medium);
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.included-list i {
    color: var(--success-color);
    font-size: 18px;
}

.note {
    padding: 16px;
    background: var(--bg-light);
    border-left: 4px solid var(--warning-color);
    border-radius: var(--border-radius-sm);
    margin-top: 24px;
}

/* Reviews */
.reviews-summary {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.rating-overview {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.average-rating .stars {
    font-size: 24px;
    margin-bottom: 8px;
}

.total-reviews {
    font-size: 14px;
    color: var(--text-medium);
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.rating-bar .bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: var(--warning-color);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.review-item {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

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

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-info strong {
    font-size: 16px;
}

.verified {
    font-size: 13px;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-rating {
    color: var(--warning-color);
}

.review-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.review-content p {
    line-height: 1.7;
    margin-bottom: 12px;
}

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

/* Related Products */
.related-products-section {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.related-products-section h2 {
    font-size: 32px;
    margin-bottom: 32px;
}

/* Image Zoom Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.image-zoom-modal.active {
    display: flex;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

#zoomed-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.about-text .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    opacity: 0.9;
}

.values-section {
    margin-bottom: 80px;
}

.values-section h2 {
    font-size: 36px;
    margin-bottom: 48px;
}

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

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

.story-section {
    max-width: 900px;
    margin: 0 auto 80px;
}

.story-section h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.story-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.stats-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 80px;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-medium);
}

.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-page-header {
    background:
        linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)),
        url('https://images.unsplash.com/photo-1557426272-fc759fdf7a8d?auto=format&fit=crop&q=80&w=1400');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-form-inner {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-container h2 {
    font-size: 32px;
    margin-bottom: 32px;
}

.contact-form {
    position: relative;
}

.form-success {
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--success-color);
    margin-top: 20px;
    text-align: center;
}

.form-success i {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.contact-card p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-card .small {
    font-size: 13px;
}

.social-contact h3 {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: center;
}

.social-links.large {
    justify-content: center;
}

.social-links.large a {
    width: 50px;
    height: 50px;
    font-size: 22px;
}

/* Contact Emphasis Section */
.contact-emphasis {
    padding: 80px 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 80px;
    overflow: hidden;
}

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

.emphasis-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.emphasis-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.emphasis-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.emphasis-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.emphasis-features i,
.emphasis-features img {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.emphasis-features i {
    font-size: 18px;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .emphasis-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .emphasis-features li {
        justify-content: center;
    }
}

/* FAQ */
.faq-section {
    margin-top: 80px;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 48px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question i:not(.fa-chevron-down),
.faq-question img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.faq-question i:not(.fa-chevron-down) {
    color: var(--primary-color);
    text-align: center;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 20px 24px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===== BLOG PAGE ===== */
.blog-section {
    padding: 60px 0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.article-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.article-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    flex-wrap: wrap;
}

.article-category {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
}

.article-date,
.article-reading-time {
    color: var(--text-light);
}

.article-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.article-content p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-image {
    aspect-ratio: 16/9;
    background: var(--bg-light);
    overflow: hidden;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 12px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }

    .product-layout,
    .checkout-layout,
    .cart-layout,
    .contact-layout,
    .about-content,
    .featured-article {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .header-content {
        height: 70px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .collections-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .quantity-selector {
        width: 100%;
    }

    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .checkout-steps {
        gap: 16px;
    }

    .step-label {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 36px;
    }

    #product-title {
        font-size: 28px;
    }

    .current-price {
        font-size: 32px;
    }

    .faq-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

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

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary,
    .cart-summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.slide-in {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Print Styles */
@media print {

    .header,
    .footer,
    .hero,
    .newsletter,
    .btn,
    .product-actions {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .product-section,
    .checkout-section {
        padding: 0;
    }
}

/* ===================================
   NEW REDESIGN STYLES
   =================================== */

/* Header Adjustments */
.header-content {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.logo span {
    color: var(--text-dark);
}

.nav ul {
    gap: 24px;
}

.nav a {
    color: #1a1a1a;
    font-weight: 500;
}

.header-center {
    display: flex;
    justify-content: center;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    gap: 12px;
}

.search-bar i {
    color: #94a3b8;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions i {
    font-size: 20px;
    color: #1a1a1a;
}

/* New Hero Styles */
.hero-new {
    padding: 32px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.hero-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    background: #0f172a;
    /* Darker base */
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.15);
    /* Subtle cyber glow */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.5), transparent 60%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.4), transparent 60%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 150% 150%, 150% 150%;
    animation: gradientPulse 8s ease infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
        opacity: 0.8;
    }

    100% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: brightness(0.85) saturate(1.2);
    transition: transform 0.5s ease;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-main:hover img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    z-index: 10;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-overlay .badge {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-overlay h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-overlay p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-side-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 238px;
    display: flex;
    background: #1e293b;
    color: white;
    transition: transform 0.3s ease;
}

.hero-side-card:hover {
    transform: translateY(-5px);
}

.hero-side-card .side-content {
    padding: 32px;
    width: 60%;
    z-index: 2;
}

.hero-side-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.hero-side-card p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.hero-side-card img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 90%;
    object-fit: contain;
}

/* Specific card overrides if needed, currently unified */
/* Specific card overrides if needed, currently unified */
/* .card-wearables, .card-audio reserved for future use */

.explore-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.explore-link:hover {
    gap: 12px;
    color: white;
}

.card-audio .side-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-hot {
    background: #ef4444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.btn-white {
    background: white;
    color: #000;
    width: fit-content;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
}

/* Value Props New */
.value-props-new {
    padding: 48px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 40px 0;
}

.value-props-new .value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.value-props-new .value-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.value-props-new i {
    font-size: 24px;
    color: var(--primary-color);
}

.value-text h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.value-text p {
    font-size: 13px;
    color: #64748b;
}

/* Shop by Category New */
.shop-category {
    padding: 60px 0;
}

.shop-category .section-header {
    justify-content: center;
    position: relative;
    margin-bottom: 48px;
}

.shop-category .section-title {
    margin-bottom: 0;
    text-align: center;
}

.shop-category .view-all {
    position: absolute;
    right: 0;
}

@media (max-width: 768px) {
    .shop-category .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .shop-category .view-all {
        position: static;
    }
}

.category-scroll {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.category-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.category-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

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

.category-item span {
    font-size: 13px;
    font-weight: 500;
}

/* Trending Now New */
.trending-now {
    padding: 60px 0;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.trending-now .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    border: none;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.product-card .product-image {
    background: transparent;
    padding-top: 100%;
}

.product-card .product-info {
    padding: 20px;
    background: white;
}

.badge-discount,
.badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.badge-discount {
    background: #ef4444;
}

.badge-new {
    background: #3b82f6;
}

.product-info .category {
    font-size: 11px;
    color: #94a3b8;
    text-transform: unset;
    margin-bottom: 4px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 16px;
}

.rating i {
    color: #f59e0b;
}

.rating span {
    color: #94a3b8;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prices {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

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

.add-to-cart {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Mid Banner New */
.mid-banner {
    padding: 40px 0;
}

.banner-content {
    background: #0f172a;
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
}

.banner-text {
    color: white;
    max-width: 400px;
}

.banner-text h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.banner-text p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    display: inline-block;
    border-radius: 8px;
}

.banner-img img {
    width: 100%;
    transform: scale(1.4);
    object-fit: contain;
}

/* Newsletter New */
.newsletter-new {
    padding: 60px 0;
}

.newsletter-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    background: #f1f5f9;
    border: none;
    padding: 16px 24px;
    border-radius: 8px 0 0 8px;
}

.newsletter-form button {
    border-radius: 0 8px 8px 0;
}

/* Footer New */
.footer-new {
    padding: 80px 0 40px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.footer-new .footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
}

.footer-brand p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

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

.footer-col ul li a {
    color: #64748b;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.footer-bottom p {
    font-size: 13px;
    color: #94a3b8;
}

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

.payment-icon {
    width: 48px;
    height: 30px;
    background: #f8fafc;
    border-radius: 4px;
}

/* Shop Redesign Styles */
.breadcrumbs {
    padding: 1rem 0;
    color: var(--text-medium);
    font-size: 0.85rem;
}

.breadcrumbs ul {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
}

.breadcrumbs a {
    color: var(--text-medium);
    text-decoration: none;
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--text-light);
}

.shop-page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../img/gaming_banner.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin: 1rem auto;
    max-width: var(--container-width);
    padding: 4rem 2rem;
    color: white;
    overflow: hidden;
}

.header-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.header-banner p {
    font-size: 1.1rem;
    max-width: 500px;
    opacity: 0.9;
}

.badge-blue {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Shop Layout New */
.shop-section-new {
    padding: 3rem 0;
}

.shop-layout-new {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

/* Sidebar Styles */
.shop-sidebar-new .filter-group {
    margin-bottom: 2.5rem;
}

.shop-sidebar-new h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-medium);
}

.filter-list li.active {
    color: var(--primary-color);
    font-weight: 700;
}

.filter-list .count {
    color: var(--primary-light);
    background: #eff6ff;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Price Range Slider */
.range-slider {
    position: relative;
    height: 6px;
    margin: 2rem 0;
}

.slider-track {
    height: 100%;
    background: #e2e8f0;
    border-radius: 5px;
}

.slider-min,
.slider-max {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

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

.range-inputs input {
    width: 70px;
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--primary-color);
}

/* Fast Shipping Toggle */
.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider-toggle {
    background-color: var(--primary-color);
}

input:checked+.slider-toggle:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

.slider-toggle.round {
    border-radius: 34px;
}

.slider-toggle.round:before {
    border-radius: 50%;
}

/* Products Bar */
.shop-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.bar-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.sort-box select {
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
}

.view-toggle button {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    color: var(--text-medium);
    cursor: pointer;
}

.view-toggle button.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* New Product Grid */
.products-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card-new {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.product-image-new {
    position: relative;
    padding-top: 100%;
    background: #f8fafc;
}

.product-image-new img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-badge-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
}

.product-badge-new.bestseller {
    background: #3b82f6;
}

.product-badge-new.new {
    background: #10b981;
}

.product-badge-new.discount {
    background: #ef4444;
}

.product-info-new {
    padding: 1.5rem;
}

.product-rating-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars-new {
    color: #fbbf24;
    font-size: 0.8rem;
}

.reviews-count {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Recommendation Section */
.recommendation-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #e2e8f0;
}

.recommendation-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

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

@media (max-width: 1200px) {
    .recommendation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .recommendation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Ensure product cards don't grow too large */
.product-card-new {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-new {
    flex-shrink: 0;
}

.product-info-new {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-desc-new {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: auto;
    /* Changed from 1.5rem to auto */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box-new {
    display: flex;
    flex-direction: column;
}

.product-old-price {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-price-new {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.fast-tag {
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Load More Section */
.load-more-section {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.load-text {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.load-progress {
    width: 200px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
}

.btn-load-more {
    padding: 0.8rem 2.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-load-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #eff6ff;
}

@media (max-width: 992px) {
    .shop-layout-new {
        grid-template-columns: 1fr;
    }

    .shop-sidebar-new {
        display: none;
        /* Mobile filter implementation would go here */
    }

    .products-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Zoom Modal Styles */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-modal[style*="display: block"] {
    opacity: 1;
}

.zoom-content {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-modal[style*="display: block"] .zoom-content {
    transform: scale(1);
}


.zoom-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.zoom-close:hover {
    color: var(--primary-color);
}

.zoom-content {
    width: 100%;
}

/* ===== CATEGORY BANNERS ===== */
.category-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
    z-index: 1;
}

.category-banner.essential {
    background-image: url('../img/hero_gaming_chair.png');
}

.category-banner.smart {
    background-image: url('../img/product_drone.png');
}

.category-banner.wear {
    background-image: url('../img/audio_gear.png');
}

.category-banner.auto {
    background-image: url('../img/gaming_banner.png');
}

.category-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.category-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.category-banner p {
    font-size: 18px;
    opacity: 0.9;
}