/* =========================================================
   PRODUCTS PAGE
   ========================================================= */
.products-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 42px 80px;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */

.products-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    font-size: 13px;
    color: #707070;
}

.products-page .breadcrumb a {
    color: #303030;
}

.products-page .breadcrumb a:hover {
    text-decoration: underline;
}

.products-page .breadcrumb-separator {
    color: #aaa;
}

/* =========================================================
   PRODUCT SECTION
   ========================================================= */

.products-page .product-section {
    margin-bottom: 62px;
}

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

.products-page .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.products-page .section-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.products-page .section-description {
    margin: 7px 0 0;
    font-size: 13px;
    color: #707070;
}

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

.products-page .product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 18px;
}

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

.products-page .product-card {
    min-width: 0;
    display: block;
    cursor: pointer;
    transition: transform 0.22s ease;
}

.products-page .product-card:hover {
    transform: translateY(-4px);
}

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

.products-page .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
}

.products-page .product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.products-page .product-card:hover .product-image img {
    transform: scale(1.035);
}

/* =========================================================
   IMAGE PLACEHOLDER
   ========================================================= */

.products-page .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #a0a0a0;
    font-size: 12px;
}

/* =========================================================
   STATUS BADGE
   ========================================================= */

.products-page .product-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    background: #0a0a0a;
    color: #ffffff;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =========================================================
   PRODUCT INFO
   ========================================================= */

.products-page .product-info {
    padding-top: 11px;
}

/* CATEGORY */

.products-page .product-category {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #707070;
}

/* NAME */

.products-page .product-name {
    margin: 0;
    min-height: 38px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #0a0a0a;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PRICE */

.products-page .product-price {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

/* PRODUCT META */

.products-page .product-meta {
    min-height: 17px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    font-size: 11px;
    color: #707070;
}

.products-page .meta-dot {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: #999;
}

/* =========================================================
   SECTION DIVIDER
   ========================================================= */

.products-page .section-divider {
    width: 100%;
    height: 1px;
    margin: 5px 0 58px;
    background: #dedede;
}

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

.products-page .empty {
    padding: 80px 20px;
    text-align: center;
    border: 1px dashed #ccc;
    border-radius: 12px;
    color: #707070;
    background: #f8f8f8;
}

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

@media (max-width: 1200px) {

    .products-page .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 850px) {

    .products-page {
        padding: 24px 22px 60px;
    }

    .products-page .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }

}

@media (max-width: 560px) {

    .products-page {
        padding: 20px 16px 50px;
    }

    .products-page .breadcrumb {
        margin-bottom: 26px;
    }

    .products-page .section-title {
        font-size: 22px;
    }

    .products-page .section-description {
        font-size: 12px;
    }

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

    .products-page .product-name {
        font-size: 13px;
    }

    .products-page .product-price {
        font-size: 15px;
    }

    .products-page .product-category {
        font-size: 8px;
    }

}

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

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 10px;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    background: #ffffff;
    color: #333333;

    font-family: "Arial Rounded MT for SE", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.pagination-button:hover {
    background: #f5f5f5;
    border-color: #dddddd;
    color: #222222;
}

.pagination-button.active {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
}

.pagination-button.disabled {
    background: #fafafa;
    border-color: #eeeeee;
    color: #bbbbbb;
    cursor: default;
}
