/* PCGamer.fun Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0a0d10;
    --bg-card: rgba(18, 22, 28, 0.7);
    --border-color: rgba(255, 255, 255, 0.07);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-red: #ff0000;
    --accent-cyan: #00d9ff;
    --accent-glow: rgba(255, 0, 0, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Lexend', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 217, 255, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

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

/* Header & Navbar */
header {
    background: rgba(10, 13, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #06080a;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-left span {
    margin-right: 15px;
}

.top-bar-left i {
    color: var(--accent-red);
    margin-right: 4px;
}

.nav-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.search-box-container {
    flex: 0 1 500px;
    position: relative;
}

.search-box-container input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    padding-right: 45px;
    border-radius: 30px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.search-box-container input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.search-box-container button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.search-box-container button:hover {
    color: var(--accent-red);
}

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

.cart-icon {
    position: relative;
    font-size: 1.4rem;
    cursor: pointer;
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-red);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

/* Category Menu Bar */
.category-bar {
    background: #080b0e;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
}

.category-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 25px;
}

.category-nav::-webkit-scrollbar {
    height: 4px;
}

.category-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.category-link {
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
}

.category-link:hover, .category-link.active {
    color: #fff;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition-smooth);
    box-shadow: 0 0 5px var(--accent-red);
}

.category-link:hover::after, .category-link.active::after {
    width: 100%;
}

/* Grid Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(0, 217, 255, 0.02) 100%);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Main Section */
.main-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    backdrop-filter: blur(10px);
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

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

.filter-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-checkbox:hover {
    color: #fff;
}

.filter-checkbox input {
    margin-right: 10px;
    accent-color: var(--accent-red);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.05);
}

.product-img-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: var(--transition-smooth);
}

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

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

.product-category {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-red);
}

.btn-add-cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-cart:hover {
    background: var(--accent-red);
    color: #000;
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Detail Product Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

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

.gallery-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-btn {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.thumbnail-btn.active, .thumbnail-btn:hover {
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
}

.thumbnail-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

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

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-meta-row {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.stock-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    font-weight: 600;
    font-size: 0.75rem;
    align-self: flex-start;
}

.stock-tag.in-stock {
    background: transparent;
    color: var(--accent-cyan);
}

.stock-tag.out-of-stock {
    background: transparent;
    color: #ef4444;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.regular-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.product-detail-short {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 15px;
}

.action-row {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

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

.quantity-btn {
    background: rgba(255, 255, 255, 0.02);
    border: none;
    color: #fff;
    width: 40px;
    height: 48px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.quantity-input {
    width: 50px;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
}

.btn-buy-now {
    flex-grow: 1;
    background: var(--accent-red);
    color: #000;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.btn-buy-now:hover {
    background: #e60000;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.product-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.tab-header {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid var(--accent-red);
    width: fit-content;
    padding-bottom: 5px;
}

.tab-content-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tab-content-text p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #06080a;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Shopping Cart Offcanvas drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #080b0e;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

@media (max-width: 450px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.cart-drawer.open {
    right: 0;
}

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

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-close-cart {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-cart:hover {
    color: var(--accent-red);
}

.cart-items-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    position: relative;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    padding: 5px;
}

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

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 5px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 5px;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-remove-item:hover {
    color: #ef4444;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #06080a;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-subtotal span:last-child {
    color: var(--accent-red);
}

.btn-checkout {
    width: 100%;
    background: var(--accent-red);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-checkout:hover {
    background: #e60000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* Backdrop for cart drawer */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
}

.cart-backdrop.open {
    display: block;
}

/* Live Search overlay results */
.search-results-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #080b0e;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1100;
    display: none;
}

.search-results-overlay.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
}

.search-result-info {
    flex-grow: 1;
}

.search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 3px;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 700;
}

/* ==========================================
   WELCOME MODAL PREMIUM GLASSMORPHISM
   ========================================== */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.welcome-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 6, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.welcome-modal-container {
    position: relative;
    width: 90%;
    max-width: 780px;
    background: rgba(10, 13, 16, 0.95);
    border: 2px solid var(--accent-red);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.25);
    overflow: hidden;
    z-index: 10;
    animation: modalFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.welcome-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-modal-close:hover {
    background: var(--accent-red);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.welcome-modal-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 420px;
}

@media (max-width: 768px) {
    .welcome-modal-content {
        grid-template-columns: 1fr;
    }
    .welcome-modal-graphic {
        display: none;
    }
}

.welcome-modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98) 0%, rgba(8, 10, 12, 0.98) 100%);
}

.welcome-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.2);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.welcome-modal-header i {
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.welcome-modal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.welcome-modal-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px 20px;
    transition: var(--transition-smooth);
}

.welcome-modal-list li:hover {
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.02);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.05);
}

.bullet-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.bullet-icon {
    font-size: 1.5rem;
    color: var(--accent-red);
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.welcome-modal-footer-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 0, 0, 0.07);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-left: 4px solid var(--accent-red);
    color: #f3f4f6;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.05);
}

.banner-icon {
    font-size: 1.5rem;
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.welcome-modal-graphic {
    background-size: cover;
    background-position: center;
    position: relative;
}

.welcome-modal-graphic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 13, 16, 0.95), transparent 30%);
}

/* ==========================================
   SEO ENRICHMENT BLOCK
   ========================================== */
.seo-enrichment-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.6;
}

.seo-enrichment-block p {
    margin-bottom: 12px;
}

.seo-link {
    color: var(--accent-red);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.seo-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

/* ==========================================
   CAROUSEL BANNER STYLES
   ========================================== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 380px;
    background: #080b0e;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 240px;
    }
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--accent-red);
    color: #000;
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255,0,0,0.4);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    width: 24px;
    border-radius: 5px;
}

/* Dynamic CSS fallback slide */
.carousel-slide-dynamic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    background: linear-gradient(135deg, #0f1622 0%, #05070a 100%);
    position: relative;
}

.carousel-slide-dynamic::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
}

.carousel-slide-content {
    max-width: 550px;
    z-index: 5;
    animation: slideUpIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff;
}

.carousel-slide-content h2 span {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(255,0,0,0.3);
}

.carousel-slide-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ==========================================
   PROMO BANNERS DOUBLE GRID
   ========================================== */
.promo-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .promo-banners-grid {
        grid-template-columns: 1fr;
    }
}

.promo-banner {
    position: relative;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.promo-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.promo-banner.banner-notebooks {
    background: linear-gradient(135deg, #11141a 0%, #06080b 100%);
    border-color: rgba(255,0,0,0.15);
}

.promo-banner.banner-notebooks:hover {
    border-color: rgba(255,0,0,0.35);
    box-shadow: 0 10px 25px rgba(255,0,0,0.05);
}

.promo-banner.banner-pcs {
    background: linear-gradient(135deg, #e3e6ec 0%, #c8cbd2 100%);
    border-color: rgba(0,0,0,0.05);
}

.promo-banner-content {
    z-index: 5;
}

.promo-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.banner-notebooks .promo-subtitle { color: var(--accent-red); }
.banner-pcs .promo-subtitle { color: #6b7280; }

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.banner-notebooks .promo-title { color: #fff; }
.banner-pcs .promo-title { color: #111827; }

.btn-promo {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.banner-notebooks .btn-promo {
    background: #fff;
    color: #000;
}

.banner-notebooks:hover .btn-promo {
    background: var(--accent-red);
    color: #000;
    box-shadow: 0 0 10px rgba(255,0,0,0.4);
}

.banner-pcs .btn-promo {
    background: #111827;
    color: #fff;
}

.banner-pcs:hover .btn-promo {
    background: #000;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ==========================================
   ACORDION Y DETALLES DE COMPRA
   ========================================== */
.product-accordions {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    color: #fff;
}

.accordion-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content {
    padding-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Tabla de características */
.table-specs {
    width: 100%;
    border-collapse: collapse;
}

.table-specs td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.table-specs td:first-child {
    font-weight: 600;
    color: #fff;
    width: 30%;
}

/* Lista de Métodos de Pago */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px 15px;
    transition: var(--transition-smooth);
}

.payment-method-row:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

.payment-logo {
    width: 50px;
    height: 30px;
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}

.payment-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-text strong {
    color: #fff;
}

.payment-text span {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ==========================================
   COMPARTIR REDES SOCIALES
   ========================================== */
.share-block {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

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

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: var(--transition-smooth);
}

.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-pin { background: #bd081c; }
.share-li { background: #0a66c2; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

/* ==========================================
   BOTON FLOTANTE WHATSAPP
   ========================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #20ba5a;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(10, 13, 16, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   MERCADOPAGO CART BUTTON
   ========================================== */
.btn-checkout-mp {
    width: 100%;
    background: #009ee3;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-checkout-mp:hover {
    background: #008cd0;
    box-shadow: 0 0 15px rgba(0, 158, 227, 0.3);
}
