/* ============================================ */
/* PRODUCTS PAGES CSS (categories, shop, result) */
/* ============================================ */

/* Breadcrumb Section */
.breadcrumb-section {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 15px 0;
}

.breadcrumb-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    font-size: 13px;
    color: #64748B;
}

.breadcrumb-list li a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: #2563EB;
}

.breadcrumb-list li.active {
    color: #0F172A;
    font-weight: 600;
}

.separator {
    font-size: 10px;
    color: #CBD5E1;
}

/* Page Hero Section */
.page-hero-section {
    background: #FFFFFF;
    padding: 30px 0;
    border-bottom: 1px solid #E2E8F0;
}

.page-hero-section.small-hero {
    border-bottom: none;
    padding: 25px 0;
}

.page-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.page-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.page-hero-description {
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
    max-width: 800px;
    margin: 0;
}

/* Products Page Section */
.products-page-section {
    padding: 40px 0;
    background: #F8FAFC;
    min-height: 60vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Product Card */
.product-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.15);
    border-color: #CBD5E1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.sale {
    background: #F97316;
    color: white;
}

/* Product Image */
.product-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Product Details */
.product-details {
    padding: 14px;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 36px;
}

.product-name a {
    color: #0F172A;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover {
    color: #2563EB;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 11px;
    color: #F59E0B;
}

.stars i.far {
    color: #CBD5E1;
}

.review-count {
    font-size: 11px;
    color: #64748B;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.sale-price {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
}

.regular-price {
    font-size: 12px;
    color: #64748B;
    text-decoration: line-through;
}

.discount-badge {
    font-size: 11px;
    font-weight: 700;
    color: #F97316;
}

/* Buy Button */
.buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    background: #2563EB;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.buy-now-btn:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

/* No Results Section */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-results-icon i {
    font-size: 36px;
    color: #2563EB;
}

.no-results h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 25px;
}

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #2563EB;
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-now-btn:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .page-hero-title {
        font-size: 24px;
    }
    .page-hero-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 12px 0;
    }
    .page-hero-section {
        padding: 20px 0;
    }
    .page-hero-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .page-hero-description {
        font-size: 13px;
    }
    .products-page-section {
        padding: 30px 0;
    }
    .product-details {
        padding: 10px;
    }
    .product-name {
        font-size: 11px;
        min-height: 30px;
    }
    .sale-price {
        font-size: 14px;
    }
    .buy-now-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    .no-results {
        padding: 40px 15px;
    }
    .no-results h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 10px;
    }
    .product-name {
        font-size: 10px;
    }
    .sale-price {
        font-size: 13px;
    }
    .regular-price {
        font-size: 10px;
    }
    .discount-badge {
        font-size: 9px;
    }
    .page-hero-title {
        font-size: 18px;
    }
    .page-hero-description {
        font-size: 12px;
    }
}