/* ========================================
   WEBSHOP FULL WIDTH & COLOR ENHANCEMENTS
   ======================================== */

/* Force full width for webshop page - CRITICAL RULES */
.page-webshop .page-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: clamp(16px, 2vw, 32px) !important;
    padding-right: clamp(16px, 2vw, 32px) !important;
}

.page-webshop .content-section {
    max-width: none !important;
    width: 100% !important;
}

.page-webshop .glass-card {
    max-width: none !important;
    width: 100% !important;
}

/* Ensure no container is limiting width */
.page-webshop .container,
.page-webshop .container-fluid {
    max-width: none !important;
    width: 100% !important;
}

/* ========================================
   PRODUCT GRID RESPONSIVE LAYOUT
   ======================================== */

/* Mobile - 1 column */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

/* Tablet - 2 columns */
@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop - 3 columns */
@media (min-width: 1024px) {
    .page-webshop .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Large Desktop - 4 columns */
@media (min-width: 1280px) {
    .page-webshop .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.75rem;
    }
}

/* Extra Large Desktop - 5 columns */
@media (min-width: 1536px) {
    .page-webshop .product-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 2rem;
    }
}

/* Ultra Wide - 6 columns */
@media (min-width: 1920px) {
    .page-webshop .product-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 2rem;
    }
}

/* ========================================
   PRODUCT CARD COLOR ENHANCEMENTS
   ======================================== */

/* Product Title - Bright Cyan/Green */
.product-card .product-title {
    color: #4FFFB0 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-shadow: 0 0 10px rgba(79, 255, 176, 0.4);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Product Price - Gold */
.product-card .product-price {
    color: #FFD700 !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.3px;
}

/* Old Price (Sale) - Red with strikethrough */
.product-card .product-price .old {
    color: #FF6B6B !important;
    text-decoration: line-through;
    opacity: 0.75;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-left: 0.5rem;
}

/* Product ID and secondary info - Gray */
.product-card .product-body .muted {
    color: #9CA3AF !important;
    font-size: 0.875rem;
}

/* ========================================
   ENHANCED BADGES
   ======================================== */

.product-card .badge-hot {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.product-card .badge-sale {
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* ========================================
   PRODUCT CARD HOVER EFFECTS
   ======================================== */

.product-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(79, 255, 176, 0.25) !important;
}

/* ========================================
   ENHANCED BUY BUTTON
   ======================================== */

.product-card .btn-buy {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card .btn-buy:hover {
    background: linear-gradient(135deg, #0e8074 0%, #2dd467 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.4);
}

/* ========================================
   PRODUCT META LAYOUT
   ======================================== */

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

/* ========================================
   WEBSHOP TOOLBAR
   ======================================== */

.webshop-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.toolbar-left {
    flex: 1;
    min-width: 200px;
}

.toolbar-right {
    flex-shrink: 0;
}

/* ========================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 639px) {
    .product-card .product-title {
        font-size: 1rem !important;
    }
    
    .product-card .product-price {
        font-size: 1.1rem !important;
    }
    
    .webshop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }
}
