/* ======================================================
   CATEGORY PAGE
====================================================== */

.category-page{

    padding:60px 0 90px;

}

.category-page .section-heading{

    margin-bottom:48px;

}

.category-page h1{

    margin-bottom:12px;

}

.category-page .section-heading p{

    max-width:720px;

}

.breadcrumb{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin:0 0 32px;

    padding:0;

    list-style:none;

    background:none;

}

.breadcrumb li{

    font-size:14px;

}

.breadcrumb li+li::before{

    content:"/";

    margin-right:8px;

    color:#b7b7b7;

}

.breadcrumb a{

    color:var(--color-primary);

    text-decoration:none;

}

.category-pagination{

    margin-top:56px;

    display:flex;

    justify-content:center;

}

.category-pagination .pagination{

    margin:0;

}

.category-empty{

    text-align:center;

    padding:80px 20px;

}

.category-empty p{

    margin-bottom:32px;

    font-size:20px;

    color:var(--color-text-light);

}

/* ===========================
   Tablet
=========================== */

@media (max-width:992px){

    .category-page{

        padding:48px 0 72px;

    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px){

    .category-page{

        padding:40px 0 56px;

    }

    .breadcrumb{

        font-size:13px;

        margin-bottom:24px;

    }

}

/* ======================================================
   CATEGORY PRODUCTS
====================================================== */

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
}

.category-products-grid .product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-products-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.category-products-grid .product-card__image {
    display: block;
    width: 100%;
    overflow: hidden;
}

.category-products-grid .product-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.category-products-grid .product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.category-products-grid .product-card h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}

.category-products-grid .product-card h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.category-products-grid .product-price {
    margin-top: auto;
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
}

.category-products-grid .price-old {
    margin-left: 8px;
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.category-products-grid .product-button {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.category-products-grid .product-button:hover {
    background: var(--color-primary-hover);
}

/* ===========================
   Tablet
=========================== */

@media (max-width: 992px) {

    .category-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px) {

    .category-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .category-products-grid .product-card {
        border-radius: 16px;
    }

    .category-products-grid .product-card__body {
        padding: 14px;
    }

    .category-products-grid .product-card h3 {
        font-size: 18px;
    }

    .category-products-grid .product-price {
        font-size: 20px;
    }

    .category-products-grid .product-button {
        min-height: 40px;
        padding: 9px 8px;
        font-size: 14px;
    }

}

/* ===========================
   OUT OF STOCK
=========================== */

.category-products-grid .product-card--out-of-stock {
    background: #f1f1f1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.category-products-grid .product-card--out-of-stock:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.category-products-grid .product-card--out-of-stock .product-card__image img {
    opacity: .82;
}

.category-products-grid .product-card--out-of-stock h3 a {
    color: #777;
}

.category-products-grid .product-card--out-of-stock .product-price,
.category-products-grid .product-card--out-of-stock .price-new {
    color: #8a8a8a;
}

.category-products-grid .product-card--out-of-stock .product-button {
    background: #ef4b3e;
    color: #fff;
    cursor: not-allowed;
}

.category-products-grid .product-card--out-of-stock .product-button:hover {
    background: #ef4b3e;
}