/**
 * Shop Page Styles - Neon Drift Café
 */

.shop-page {
    padding-top: 100px;
    min-height: 100vh;
}

/* Cart Container */
.cart-container {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 100;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4);
}

.cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.6);
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Shop Categories */
.shop-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.product-card.hidden {
    display: none;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(157, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--neon-cyan);
    color: var(--dark-bg);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
}

.product-badge.hot {
    background: var(--neon-pink);
    color: white;
}

.product-badge.limited {
    background: var(--neon-yellow);
    color: var(--dark-bg);
}

.product-badge.premium {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

/* Shipping Info */
.shipping-info {
    padding: 4rem 2rem;
    text-align: center;
}

.shipping-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-item h3 {
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: flex-end;
}

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

.cart-content {
    width: 100%;
    max-width: 450px;
    background: var(--darker-bg);
    border-left: 1px solid var(--neon-cyan);
    padding: 2rem;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

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

.cart-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--neon-pink);
}

.cart-content h2 {
    font-family: var(--font-display);
    margin-bottom: 2rem;
}

.cart-items {
    min-height: 200px;
}

.cart-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cart-item-icon {
    font-size: 2rem;
}

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

.cart-item-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--neon-pink);
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-glow);
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

#cartTotal {
    color: var(--neon-cyan);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border: none;
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-page {
        padding-top: 80px;
    }
    
    .cart-container {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        z-index: 999;
    }
    
    .cart-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .cart-icon {
        font-size: 1.1rem;
    }
    
    .cart-count {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .shop-categories {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
        min-height: 44px;
        letter-spacing: 1px;
    }
    
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-icon {
        font-size: 3rem;
    }
    
    .product-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 0.95rem;
    }
    
    .product-info p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .product-price {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .add-to-cart {
        padding: 0.625rem;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    /* Shipping Info Mobile */
    .shipping-info {
        padding: 2rem 1rem;
    }
    
    .shipping-info h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-item {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }
    
    .info-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .info-item h3 {
        font-size: 1rem;
    }
    
    .info-item p {
        font-size: 0.85rem;
    }
    
    /* Cart Modal Mobile */
    .cart-content {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .cart-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    .cart-content h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .cart-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .cart-item-icon {
        font-size: 1.5rem;
    }
    
    .cart-item-name {
        font-size: 0.85rem;
    }
    
    .cart-item-price {
        font-size: 0.85rem;
    }
    
    .cart-total {
        font-size: 1.1rem;
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
    
    .checkout-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        gap: 0.875rem;
    }
    
    .shop-categories {
        padding: 0.75rem;
    }
    
    .category-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-icon {
        font-size: 3.5rem;
    }
}
