
/* ALAIDEE PRODUCTS PREMIUM V1 */

.ald-products-page {
    background:#f5f6f8 !important;
}

.ald-products-page .ald-products-section {
    padding:18px 0 20px !important;
}

.ald-products-page .ald-products-section
.alaidee-container {
    width:100% !important;
    max-width:1440px !important;
    padding:0 16px !important;
    margin:0 auto !important;
    box-sizing:border-box;
}

/* PAGE TITLE */

.ald-products-page .ald-products-title {
    text-align:left !important;
    color:#172638 !important;
    font-size:24px !important;
    font-weight:700 !important;
    margin:0 0 4px !important;
    line-height:1.4 !important;
}

.ald-products-page .ald-products-description {
    color:#718096;
    font-size:13px;
    line-height:1.5;
    margin:0 0 16px;
}

/* PRODUCT COUNT */

.ald-products-page .ald-products-summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:0 0 8px;
    color:#6b7789;
    font-size:12px;
}

.ald-products-page .ald-products-summary
span:first-child {
    color:#263548;
    font-weight:600;
}

/* GRID */

.ald-products-page .ald-products-grid {
    display:grid !important;
    grid-template-columns:
        repeat(6,minmax(0,1fr));
    gap:12px;
    align-items:stretch;
}

.ald-products-page .ald-products-grid > .col {
    width:100% !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
}

/* PRODUCT CARD */

.ald-products-page .ald-products-card {
    display:flex !important;
    flex-direction:column !important;

    position:relative !important;

    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-height:none !important;

    background:#fff !important;
    border:1px solid #e3e7ed !important;
    border-radius:8px !important;

    padding:8px !important;
    margin:0 !important;

    box-sizing:border-box !important;

    box-shadow:
        0 2px 7px rgba(15,23,42,.035)
        !important;

    overflow:hidden !important;
    transition:border-color .18s,
               box-shadow .18s !important;
}

/* REMOVE OLD GOLD STRIP */

.ald-products-page .ald-products-card::before {
    content:none !important;
    display:none !important;
}

.ald-products-page .ald-products-card:hover {
    transform:none !important;
    border-color:#d4bc47 !important;
    box-shadow:
        0 3px 12px rgba(15,23,42,.07)
        !important;
}

/* PRODUCT IMAGE */

.ald-products-page .ald-products-card
> a:first-of-type {
    display:block !important;
    width:100% !important;
}

.ald-products-page .ald-products-card
.product-img-box {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;
    height:145px !important;
    min-height:0 !important;

    padding:6px 8px !important;
    margin:0 0 6px !important;

    box-sizing:border-box !important;
    background:#fff !important;
}

.ald-products-page .ald-products-card
.product-img-box img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
}

/* WISHLIST */

.ald-products-page .ald-products-card
.ald-wish-line {
    position:absolute !important;
    top:7px !important;
    right:7px !important;
    bottom:auto !important;
    left:auto !important;

    width:28px !important;
    height:28px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    z-index:5 !important;
}

.ald-products-page .ald-products-card
.ald-wish-button {
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
    padding:5px !important;
    margin:0 !important;
    border-radius:50% !important;
    background:#fff !important;
    border:1px solid #e3e7ed !important;
}

.ald-products-page .ald-products-card
.ald-wish-button svg {
    width:16px !important;
    height:16px !important;
}

/* BRAND */

.ald-products-page .ald-products-card h6 {
    font-size:12px !important;
    font-weight:700 !important;
    line-height:17px !important;
    margin:0 0 2px !important;
    padding:0 !important;
    color:#172638 !important;
}

/* PRODUCT NAME */

.ald-products-page .ald-products-card
.product-name {
    min-height:32px !important;
    max-height:32px !important;
    height:32px !important;

    font-size:11px !important;
    line-height:16px !important;

    margin:0 0 5px !important;
    padding:0 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    overflow-wrap:anywhere !important;
}

.ald-products-page .ald-products-card
.product-name a {
    color:#59677a !important;
}

/* PRICE */

.ald-products-page .ald-products-card .price {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-end !important;

    height:auto !important;
    min-height:24px !important;
    max-height:none !important;

    margin:auto 0 7px !important;
    padding:0 !important;
    gap:1px !important;
}

.ald-products-page .ald-products-card
.price-old:not(.show) {
    display:none !important;
}

.ald-products-page .ald-products-card
.price-old.show {
    display:block !important;
    visibility:visible !important;
    min-height:0 !important;
    margin:0 !important;
    font-size:10px !important;
    line-height:13px !important;
}

.ald-products-page .ald-products-card
.price-new {
    color:#16803d !important;
    font-size:19px !important;
    font-weight:700 !important;
    line-height:24px !important;
    margin:0 !important;
    padding:0 !important;
}

/* CART / RFQ BUTTON */

.ald-products-page .ald-products-card
> .btn {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;

    width:100% !important;
    min-height:32px !important;

    padding:6px 3px !important;
    margin:0 !important;

    border:0 !important;
    border-radius:6px !important;

    font-size:11px !important;
    font-weight:600 !important;
    line-height:16px !important;

    box-shadow:none !important;
}

.ald-products-page .ald-products-card
> .btn-warning {
    background:#f3cd26 !important;
    color:#172638 !important;
}

.ald-products-page .ald-products-card
> .btn-danger {
    background:#eef2f7 !important;
    color:#334155 !important;
}

.ald-products-page .ald-products-cart-icon {
    width:15px !important;
    height:15px !important;
    flex-shrink:0;
}

/* PAGINATION */

.ald-products-page .ald-products-pagination {
    display:flex;
    justify-content:center;
    padding:16px 8px 4px;
}

.ald-products-page .ald-products-pagination
.pagination {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:4px;
    margin:0 !important;
}

.ald-products-page .ald-products-pagination
.page-link {
    border:1px solid #e0e5ec !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#435168 !important;
    font-size:12px !important;
    padding:7px 10px !important;
    box-shadow:none !important;
}

.ald-products-page .ald-products-pagination
.active .page-link {
    background:#f3cd26 !important;
    border-color:#f3cd26 !important;
    color:#172638 !important;
    font-weight:700 !important;
}

/* SMALL DESKTOP */

@media (min-width:1024px)
and (max-width:1199.98px) {

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

/* TABLET */

@media (min-width:768px)
and (max-width:1023.98px) {

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

    .ald-products-page .ald-products-card
    .product-img-box {
        height:130px !important;
    }
}

/* MOBILE */

@media (max-width:767.98px) {

    .ald-products-page .ald-products-section {
        padding:10px 0 12px !important;
    }

    .ald-products-page .ald-products-section
    .alaidee-container {
        padding:0 7px !important;
    }

    .ald-products-page .ald-products-title {
        font-size:18px !important;
        margin:0 0 3px !important;
    }

    .ald-products-page
    .ald-products-description {
        font-size:11px !important;
        margin:0 0 9px !important;
    }

    .ald-products-page .ald-products-summary {
        font-size:10px !important;
        padding:0 0 6px !important;
    }

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

    .ald-products-page .ald-products-card {
        padding:6px !important;
        border-radius:8px !important;
    }

    .ald-products-page .ald-products-card
    .product-img-box {
        height:112px !important;
        padding:5px 7px !important;
        margin:0 0 4px !important;
    }

    .ald-products-page .ald-products-card
    .price-new {
        font-size:18px !important;
    }

    .ald-products-page .ald-products-card
    > .btn {
        min-height:32px !important;
    }

}

/* SMALL MOBILE */

@media (max-width:360px) {

    .ald-products-page .ald-products-card
    .product-img-box {
        height:100px !important;
    }

    .ald-products-page .ald-products-card
    > .btn {
        font-size:10px !important;
    }
}
