/* =====================================================
   PRODUCT PAGE STYLES — Matches homepage design system
   Theme: #2962FF (primary), #2962FF (accent), #0D1B2A (dark)
   ===================================================== */

/* Product Hero Banner */
.prod-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    overflow: hidden;
}

.prod-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.92), rgba(27, 58, 107, 0.88));
}

.prod-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 60px;
}

.prod-hero-subtitle {
    color: #2962FF;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    background: rgba(41, 98, 255, 0.15);
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
}

.prod-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.prod-hero-title span {
    color: #2962FF;
    position: relative;
}

.prod-hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.prod-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.prod-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.prod-hero-breadcrumb a:hover {
    color: #2962FF;
}

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

.prod-hero-breadcrumb span {
    color: #2962FF;
    font-weight: 600;
}

/* Main Products Section */
.prod-main {
    padding: 50px 50px 80px;
    max-width: 1500px;
    margin: 0 auto;
}

/* Override category tabs for product page (links instead of buttons) */
.prod-main .category-tabs {
    margin-bottom: 20px;
}

.prod-main .cat-tab {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Results bar */
.prod-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 5px;
}

.prod-results-count {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* Product grid on product page — slightly larger cards */
.prod-main .product-grid-wrap {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Product description line */
.pc-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Out of stock badge */
.pc-badge-oos {
    background: linear-gradient(135deg, #ef5350, #d32f2f) !important;
    color: #fff !important;
    right: 10px;
    left: auto !important;
    top: 10px;
}

/* Disabled cart button */
.pc-btn-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.pc-btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Empty state */
.prod-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.prod-empty i {
    font-size: 64px;
    color: #B3CBFF;
    margin-bottom: 20px;
    display: block;
}

.prod-empty h3 {
    font-size: 24px;
    color: #0D1B2A;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.prod-empty p {
    color: #888;
    font-size: 15px;
    margin-bottom: 25px;
}

.prod-empty-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2962FF, #1B47CC);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.prod-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 98, 255, 0.35);
}

/* Features Strip */
.prod-features-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: linear-gradient(135deg, #0D1B2A, #1B3A6B);
    padding: 0;
}

.prod-feature-item {
    flex: 1 1 250px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 35px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s;
}

.prod-feature-item:last-child {
    border-right: none;
}

.prod-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.prod-feature-item>i {
    font-size: 28px;
    color: #2962FF;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 98, 255, 0.12);
    border-radius: 12px;
}

.prod-feature-item h4 {
    font-size: 15px;
    color: #fff;
    margin: 0 0 3px;
    font-weight: 600;
}

.prod-feature-item p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
    .prod-main {
        padding: 40px 30px 60px;
    }
}

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

    .prod-hero {
        min-height: 280px;
    }

    .prod-features-strip {
        flex-wrap: wrap;
    }

    .prod-feature-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .prod-hero-title {
        font-size: 32px;
    }

    .prod-hero-desc {
        font-size: 15px;
    }

    .prod-hero-content {
        padding: 90px 15px 40px;
    }

    .prod-hero {
        min-height: 240px;
    }

    .prod-main {
        padding: 30px 15px 50px;
    }

    .prod-main .product-grid-wrap {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .prod-feature-item {
        flex: 1 1 100%;
        padding: 20px 25px;
    }
}

@media (max-width: 576px) {
    .prod-hero-title {
        font-size: 26px;
    }

    .prod-hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .prod-hero-desc {
        font-size: 13px;
    }

    .prod-main .product-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .prod-results-bar {
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .prod-hero-title {
        font-size: 22px;
    }

    .prod-main .product-grid-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}