/* ========================================
   Product List Page
   ======================================== */

.productList {
    width: 100%;
    padding: 10px 0 30px;
}

.productList-in {
    width: 100%;
}

.productList-in > ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
    padding: 0;
    list-style: none;
}


/* ========================================
   Product Item
   ======================================== */

.productItem {
    width: 50%;
    padding: 12px;
    box-sizing: border-box;
    list-style: none;
}

.productItem-in {
    display: flex;
    width: 100%;
    min-height: 230px;
    background: #fff;
    border: 1px solid #eeeeee;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.productItem-in:hover {
    border-color: #0c5474;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}


/* ========================================
   Product Image
   ======================================== */

.productItem-image {
    width: 45%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.productItem-image a {
    display: block;
    width: 100%;
    text-align: center;
}

.productItem-image img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 190px;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.productItem-in:hover .productItem-image img {
    transform: scale(1.05);
}


/* ========================================
   Product Information
   ======================================== */

.productItem-info {
    width: 55%;
    padding: 20px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


/* Product Title */

.productItem-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}

.productItem-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #333;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.productItem-title a:hover {
    color: #0c5474;
}


/* Brand */

.productItem-brand {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #777;
}

.productItem-brand span {
    color: #333;
    font-weight: 600;
}


/* Price */

.productItem-price {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    color: #0c5474;
}

.productItem-price span {
    margin-right: 5px;
    color: #555;
    font-size: 14px;
    font-weight: 400;
}


/* Description */

.productItem-description {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.7;
    color: #888;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* View Details */

.productItem-more {
    margin-top: auto;
}

.productItem-more a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.6;
    color: #0c5474;
    text-decoration: none;
    transition: all 0.3s ease;
}

.productItem-more a i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.productItem-more a:hover {
    color: #083b52;
}

.productItem-more a:hover i {
    margin-left: 9px;
}


/* ========================================
   Pagination
   ======================================== */

.pagination-wrapper {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.pagination {
    width: 100%;
}


/* ========================================
   Mobile
   ======================================== */

@media (max-width: 768px) {

    .productList {
        padding: 5px 0 25px;
    }

    .productList-in > ul {
        display: block;
        margin: 0;
    }

    .productItem {
        width: 100%;
        padding: 8px 0;
    }

    .productItem-in {
        min-height: 180px;
    }

    .productItem-image {
        width: 40%;
        padding: 10px;
    }

    .productItem-image img {
        width: 100%;
        height: 150px;
    }

    .productItem-info {
        width: 60%;
        padding: 15px 12px;
    }

    .productItem-title {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .productItem-brand {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .productItem-price {
        margin-bottom: 5px;
        font-size: 16px;
    }

    .productItem-description {
        margin-bottom: 8px;
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .productItem-more a {
        font-size: 13px;
    }
}


/* ========================================
   Small Mobile
   ======================================== */

@media (max-width: 480px) {

    .productItem-in {
        min-height: 160px;
    }

    .productItem-image {
        width: 38%;
        padding: 8px;
    }

    .productItem-image img {
        height: 125px;
    }

    .productItem-info {
        width: 62%;
        padding: 12px 10px;
    }

    .productItem-title {
        font-size: 15px;
    }

    .productItem-brand {
        font-size: 12px;
    }

    .productItem-price {
        font-size: 15px;
    }

    .productItem-description {
        display: none;
    }

    .productItem-more a {
        font-size: 12px;
    }
}