/* ============================================
   SHOP PREMIUM STYLES
   E-commerce Orange Theme | Product Animations
   ============================================ */

:root {
    --shop-orange: #ff8c42;
    --shop-dark-orange: #e07028;
}

/* === SHOP HERO === */
.shop-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a0f08 0%, #2c1810 50%, #1a0f08 100%);
    overflow: hidden;
}

.hero-overlay-shop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 140, 66, 0.1), transparent 70%);
}

.shop-hero .hero-content {
    text-align: center;
    z-index: 1;
}

.shop-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.shop-subtitle {
    font-size: 1.3rem;
    color: #999;
    margin-bottom: 3rem;
}

/* === MISSION BANNER === */
.mission-banner {
    background: linear-gradient(90deg, var(--shop-orange), var(--shop-dark-orange));
    padding: 2rem 5%;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #000;
}

.mission-content i {
    font-size: 2rem;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* === SHOP DESCRIPTION === */
.shop-description {
    padding: 8rem 5%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.03) 0%, transparent 100%);
}

.shop-desc-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

.label-shop {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--shop-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.desc-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.desc-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 1.5rem;
}

.desc-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    border-color: var(--shop-orange);
    transform: scale(1.05);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--shop-orange);
    margin-bottom: 1rem;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--shop-orange);
    font-family: 'Space Grotesk', monospace;
    margin-bottom: 0.5rem;
}

.stat-text {
    display: block;
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === CATEGORY FILTERS === */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.2);
    color: #999;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--shop-orange);
    color: var(--shop-orange);
}

.filter-btn.active {
    background: var(--shop-orange);
    border-color: var(--shop-orange);
    color: #000;
}

/* === PRODUCT GRID === */
.shop-section {
    padding: 6rem 5%;
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 140, 66, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--shop-orange);
    box-shadow: 0 20px 40px rgba(255, 140, 66, 0.2);
}

.product-image {
    position: relative;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
}

.product-card:hover .placeholder-img {
    transform: scale(1.1);
}

/* Product Specific Colors */
.headset {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f08 100%);
}

.keyboard {
    background: linear-gradient(135deg, #3e2723 0%, #2c1810 100%);
}

.shirt {
    background: linear-gradient(135deg, #212121 0%, #1a1a1a 100%);
}

.mouse {
    background: linear-gradient(135deg, #1a0f08 0%, #0a0505 100%);
}

.ssd {
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
}

.gpu {
    background: linear-gradient(135deg, #4a148c 0%, #311b92 100%);
}

.cable {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.mug {
    background: linear-gradient(135deg, #6b4e3d 0%, #4b3621 100%);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.new {
    background: var(--shop-orange);
    color: #000;
}

.badge.sale {
    background: #ff3333;
    color: #fff;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-info .desc {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--shop-orange);
    font-family: 'Space Grotesk', monospace;
}

.price .old {
    font-size: 1.2rem;
    color: #666;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.add-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 140, 66, 0.1);
    border: 2px solid var(--shop-orange);
    border-radius: 50%;
    color: var(--shop-orange);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.add-btn:hover {
    background: var(--shop-orange);
    color: #000;
    transform: rotate(90deg);
}

/* === CART SIDEBAR === */
.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    height: 100vh;
    width: 400px;
    background: #1a1a1a;
    border-left: 2px solid var(--shop-orange);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--shop-orange);
}

.close-cart {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-cart:hover {
    color: var(--shop-orange);
    transform: rotate(90deg);
}

.cart-items {
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--shop-orange);
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.cart-item-remove:hover {
    color: #ff3333;
}

.cart-footer {
    padding: 2rem;
    border-top: 2px solid rgba(255, 140, 66, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--shop-orange);
}

.checkout-btn-cart {
    width: 100%;
    padding: 1.2rem;
    background: var(--shop-orange);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn-cart:hover {
    box-shadow: 0 0 30px rgba(255, 140, 66, 0.5);
    transform: translateY(-2px);
}

/* === CHECKOUT MODAL === */
.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.checkout-modal.active {
    display: flex;
}

.checkout-content {
    background: #1a1a1a;
    border: 2px solid var(--shop-orange);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkout-header h2 {
    font-size: 2rem;
    color: var(--shop-orange);
}

.close-checkout {
    background: none;
    border: none;
    color: #999;
    font-size: 2rem;
    cursor: pointer;
}

.checkout-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--shop-orange);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--shop-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.submit-order {
    width: 100%;
    padding: 1.2rem;
    background: var(--shop-orange);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .shop-title {
        font-size: 4rem;
    }

    .shop-desc-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .desc-stats {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 3rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .desc-stats {
        flex-direction: column;
    }
}