
/* =========================================
   BRAND PRODUCTS PAGE
========================================= */

.brand-products-page {
    min-height: 70vh;
    padding: 35px 0 55px;
    background: #f7f8fa;
}

.brand-products-container {
    padding-left: 35px;
    padding-right: 35px;
    max-width: 1600px;
    margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e9ebef;
}

.brand-eyebrow {
    display: inline-block;
    color: #ff6f61;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.page-title {
    color: #202b3c;
    font-size: 30px;
    font-weight: 750;
    margin: 0 0 7px;
    line-height: 1.3;
}

.page-subtitle {
    color: #7a8492;
    font-size: 14px;
    margin: 0;
}

.brand-product-count {
    min-width: 85px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eceef2;
    text-align: center;
}

.brand-product-count span {
    display: block;
    color: #ff6f61;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.2;
}

.brand-product-count small {
    display: block;
    margin-top: 4px;
    color: #7a8492;
    font-size: 11px;
}

/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

/* =========================================
   PRODUCT CARD
========================================= */

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eaedf1;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(30, 45, 65, .09);
}

/* =========================================
   PRODUCT IMAGE
========================================= */

.product-image-box {
    height: 215px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #f0f1f3;
    text-decoration: none;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* =========================================
   PRODUCT BODY
========================================= */

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-title {
    min-height: 44px;
    color: #273142;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   PRICE
========================================= */

.product-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 15px;
}

.price-label {
    color: #929baa;
    font-size: 11px;
    font-weight: 500;
}

.price-value {
    color: #202b3c;
    font-size: 19px;
    font-weight: 750;
}

/* =========================================
   VIEW BUTTON
========================================= */

.view-btn {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff6f61;
    border: 1px solid #ff6f61;
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: .2s ease;
}

.view-btn:hover {
    background: #ed594c;
    border-color: #ed594c;
    color: #fff;
}

.view-arrow {
    font-size: 17px;
    line-height: 1;
}

/* =========================================
   EMPTY STATE
========================================= */

.empty-products {
    grid-column: 1 / -1;
    padding: 65px 20px;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    text-align: center;
}

.empty-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1ef;
    border-radius: 50%;
    color: #ff6f61;
    font-size: 25px;
}

.empty-products h3 {
    color: #273142;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-products p {
    color: #8993a1;
    font-size: 13px;
    margin: 0;
}

/* =========================================
   PAGINATION
========================================= */

.brand-pagination {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.brand-pagination nav {
    width: 100%;
}

.brand-pagination .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.brand-pagination .page-link {
    border-radius: 6px !important;
    border: 1px solid #e5e8ed;
    color: #343f50;
}

.brand-pagination .active .page-link {
    background: #ff6f61;
    border-color: #ff6f61;
    color: #fff;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-image-box {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .brand-products-page {
        padding: 24px 0 40px;
    }

    .brand-products-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand-header {
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image-box {
        height: 165px;
        padding: 12px;
    }

    .product-body {
        padding: 12px;
    }

    .product-title {
        font-size: 13px;
        min-height: 40px;
    }

    .price-value {
        font-size: 17px;
    }

    .view-btn {
        min-height: 38px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .product-grid {
        gap: 9px;
    }

    .product-image-box {
        height: 140px;
    }

    .product-body {
        padding: 9px;
    }

    .product-title {
        font-size: 12px;
    }

    .brand-product-count {
        min-width: 65px;
        padding: 9px;
    }
}
