/*==============================================================================
    CATALOG
==============================================================================*/

/*------------------------------------------------------------------------------
    LAYOUT
------------------------------------------------------------------------------*/

.catalog-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 40px 0 60px;
}

.catalog-sidebar {
    width: 320px;
    min-width: 320px;
    flex-shrink: 0;
}

.catalog-content {
    flex: 1;
    min-width: 0;
}

/*------------------------------------------------------------------------------
    TOOLBAR
------------------------------------------------------------------------------*/

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

.catalog-toolbar-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalog-title {
    margin: 0;
    color: #253D4E;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.catalog-result,
.catalog-subtitle {
    margin: 8px 0 0;
    color: #7E7E7E;
    font-size: 15px;
}

.catalog-subtitle strong {
    color: #253D4E;
}

.catalog-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalog-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-select label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.catalog-select select {
    min-width: 160px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFF;
    outline: none;
}

.catalog-select select:focus {
    border-color: #FD6E00;
}

.catalog-view {
    display: flex;
    gap: 8px;
}

.catalog-view-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFF;
    cursor: pointer;
    transition: .25s;
}

.catalog-view-btn:hover {
    background: #FFF3EB;
    border-color: #FD6E00;
    color: #FD6E00;
}

.catalog-view-btn.active {
    background: #FD6E00;
    border-color: #FD6E00;
    color: #FFF;
}

/*------------------------------------------------------------------------------
    SIDEBAR WIDGETS
------------------------------------------------------------------------------*/

.catalog-widget {
    margin-bottom: 25px;
    padding: 22px;
    border: 1px solid #EDF1F7;
    border-radius: 18px;
    background: #FFF;
}

.catalog-widget:last-child {
    margin-bottom: 0;
}

.catalog-widget-header {
    margin-bottom: 20px;
}

.catalog-widget-header h2,
.catalog-widget-header h3,
.catalog-widget-header h4 {
    margin: 0;
    color: #253D4E;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.catalog-category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-category-list li,
.catalog-sidebar .catalog-widget ul li {
    margin-bottom: 0;
}

.catalog-category-list li:last-child {
    margin-bottom: 0;
}

.catalog-category-list a,
.catalog-sidebar .catalog-widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-category-list a {
    padding: 10px 16px;
    color: #253D4E;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition:
        background .25s,
        color .25s,
        transform .20s;
}

.catalog-sidebar .catalog-widget ul li a {
    padding: 9px 10px;
}

.catalog-category-list a:hover {
    background: #FFF4EC;
    color: #FD6E00;
    transform: translateX(4px);
}

.catalog-category-list li.active a {
    background: #FD6E00;
    color: #FFF;
}

.catalog-category-list span {
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 600;
}

.catalog-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #253D4E;
}

.catalog-check:last-child {
    margin-bottom: 0;
}

.catalog-check input {
    width: 18px;
    height: 18px;
}

.catalog-price-range {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #FFF8F2;
    color: #FD6E00;
    font-weight: 700;
}

/*------------------------------------------------------------------------------
    MOBILE CATEGORY
------------------------------------------------------------------------------*/

.catalog-mobile-category {
    display: none;
}

.catalog-mobile-category select {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFF;
    color: #253D4E;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.catalog-mobile-category select:focus {
    border-color: #FD6E00;
}

/*------------------------------------------------------------------------------
    COMPLETE CATALOGUE / SECTIONS
------------------------------------------------------------------------------*/

.catalog-section {
    margin-bottom: 60px;
}

.catalog-section:last-child {
    margin-bottom: 0;
}

.catalog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #EEF2F7;
}

.catalog-section-title {
    position: relative;
    margin: 0;
    color: #253D4E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.catalog-section-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 10px;
    border-radius: 10px;
    background: #3BB77E;
}

.catalog-section-count {
    margin: 7px 0 0;
    color: #8A949E;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}

.catalog-section-link {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.catalog-section-link:hover {
    color: #FD6E00;
    text-decoration: underline;
}

.catalog-anchor {
    scroll-margin-top: 120px;
}

/*------------------------------------------------------------------------------
    PRODUCT GRID
------------------------------------------------------------------------------*/

.catalog-products {
    width: 100%;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

.catalog-grid.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.catalog-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.catalog-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.catalog-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.catalog-grid > * {
    min-width: 0;
}

.catalog-grid > .product-cart-wrap {
    width: 100%;
    margin: 0;
    height: 100%;
}

.catalog-grid > .product-cart-wrap img {
    width: 100%;
}

.catalog-section .product-grid-4 > [class*="col-"] {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 20px;
}

/*------------------------------------------------------------------------------
    PRODUCT CARD
------------------------------------------------------------------------------*/

.catalog-product-grid .col-lg-1-5 {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.catalog-product-grid .product-cart-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFF;
    border: 1px solid #EEF2F7;
    border-radius: 18px;
    overflow: hidden;
    transition: all .30s ease;
}

.catalog-grid .product-cart-wrap:hover,
.catalog-product-grid .product-cart-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    border-color: #FD6E00;
}

.catalog-product-grid .product-img-action-wrap {
    height: 210px;
    min-height: 210px;
    padding: 12px;
    margin: 0;
    background: #FAFAFA;
}

.catalog-product-grid .product-img {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-product-grid .product-img a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-product-grid .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.catalog-product-grid .product-cart-wrap:hover .product-img img {
    transform: scale(1.04);
}

.catalog-product-grid .product-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 14px;
}

.catalog-product-grid .product-content-wrap h2 {
    margin: 0;
    min-height: 44px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.catalog-product-grid .product-content-wrap h2 a {
    color: #253D4E;
    text-decoration: none;
}

.catalog-product-grid .product-content-wrap h2 a:hover {
    color: #FD6E00;
}

.catalog-product-grid .product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.catalog-product-grid .product-card-bottom .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.catalog-product-grid .product-price > span:first-child {
    color: #FD6E00;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.catalog-product-grid .product-price .old-price {
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
    white-space: nowrap;
}

.catalog-product-grid .product-card-bottom .add-cart,
.catalog-page .product-card-bottom .add-to-cart {
    flex-shrink: 0;
    margin-left: auto;
}

.catalog-product-grid .product-card-bottom .add-cart .add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 82px;
    padding: 0 14px;
    border-radius: 9px;
    background: #FFF3EB;
    color: #FD6E00;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.catalog-product-grid .product-card-bottom .add-cart .add:hover {
    background: #FD6E00;
    color: #FFF;
    transform: translateY(-1px);
}

.catalog-page .product-cart-wrap .product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
}

.catalog-page .product-cart-wrap .product-card-bottom .product-price {
    flex: 1;
    min-width: 0;
}

/*------------------------------------------------------------------------------
    PRODUCT CARD - LEGACY / GENERIC CLASSES
------------------------------------------------------------------------------*/

.product-cart-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFF;
    border: 1px solid #EEF2F7;
    border-radius: 18px;
    overflow: hidden;
    transition: all .30s ease;
}

.product-cart-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    border-color: #FD6E00;
}

.product-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #FFF;
}

.product-img img {
    max-width: 100%;
    max-height: 210px;
    object-fit: contain;
    transition: .35s;
}

.product-cart-wrap:hover .product-img img {
    transform: scale(1.05);
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.product-category {
    margin-bottom: 8px;
    color: #888;
    font-size: 13px;
}

.product-title {
    margin: 0;
    min-height: 52px;
    color: #253D4E;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.product-price .price {
    color: #FD6E00;
    font-size: 26px;
    font-weight: 700;
}

.product-price .old-price {
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
}

.product-cart-btn {
    height: 42px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    background: #FFF3EB;
    color: #FD6E00;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.product-cart-btn:hover {
    background: #FD6E00;
    color: #FFF;
}

.product-wishlist {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EEE;
    border-radius: 50%;
    background: #FFF;
    transition: .25s;
}

.product-wishlist:hover {
    color: #FD6E00;
    border-color: #FD6E00;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 30px;
    background: #FF4D4F;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
}

/*------------------------------------------------------------------------------
    PAGINATION
------------------------------------------------------------------------------*/

.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 36px 0 10px;
}

.catalog-pagination ul {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-pagination li {
    margin: 0;
}

.catalog-pagination a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFF;
    color: #253B4D;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.catalog-pagination a:hover {
    border-color: #35B779;
    color: #35B779;
    transform: translateY(-1px);
}

.catalog-pagination li.active a,
.catalog-pagination a.active {
    background: #FF7A00;
    border-color: #FF7A00;
    color: #FFF;
    box-shadow: 0 6px 16px rgba(255, 122, 0, .20);
}

.catalog-pagination-prev,
.catalog-pagination-next {
    font-size: 18px !important;
}

.catalog-section {
    scroll-margin-top: 150px;
}

/*------------------------------------------------------------------------------
    EMPTY / NO PRODUCT
------------------------------------------------------------------------------*/

.catalog-no-product,
.catalog-empty {
    text-align: center;
}

.catalog-no-product {
    padding: 80px 30px;
    color: #7E7E7E;
}

.catalog-empty {
    padding: 100px 30px;
}

.catalog-empty__icon {
    margin-bottom: 25px;
    color: #D9D9D9;
    font-size: 70px;
}

.catalog-empty h2 {
    margin: 0 0 12px;
    color: #253D4E;
    font-size: 32px;
    font-weight: 700;
}

.catalog-empty p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: #7E7E7E;
    line-height: 1.8;
}

/*==============================================================================
    RESPONSIVE
==============================================================================*/

/*------------------------------------------------------------------------------
    DESKTOP
------------------------------------------------------------------------------*/

@media (min-width: 993px) {

    .catalog-product-grid .col-lg-1-5 {
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

}

/*------------------------------------------------------------------------------
    LARGE TABLET / SMALL DESKTOP
------------------------------------------------------------------------------*/

@media (max-width: 1400px) {

    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 1200px) {

    .catalog-wrapper {
        gap: 24px;
    }

    .catalog-sidebar {
        width: 260px;
        min-width: 260px;
        position: sticky;
        top: 130px;
        align-self: flex-start;
    }

}

/*------------------------------------------------------------------------------
    TABLET
------------------------------------------------------------------------------*/

@media (max-width: 992px) {

    .catalog-wrapper {
        flex-direction: column;
    }

    .catalog-sidebar {
        display: none;
        width: 100%;
        min-width: 100%;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-toolbar {
        width: 100%;
        display: block;
        margin: 0 0 20px;
        padding: 0;
    }

    .catalog-toolbar-left {
        display: none;
    }

    .catalog-toolbar-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .catalog-mobile-category,
    .catalog-sort {
        min-width: 0;
        margin: 0;
    }

    .catalog-mobile-category {
        display: block;
        flex: 1 1 0;
    }

    .catalog-sort {
        flex: 0 0 auto;
    }

    .catalog-mobile-category select,
    .catalog-sort select {
        display: block;
        width: 100%;
        height: 42px;
        min-height: 42px;
        margin: 0;
        padding: 0 34px 0 13px;
        border: 1px solid #E5E7EB;
        border-radius: 9px;
        background: #FFF;
        color: #253D4E;
        font-size: 13px;
        font-weight: 500;
        outline: none;
        box-shadow: none;
        cursor: pointer;
    }

    .catalog-mobile-category select:focus,
    .catalog-sort select:focus {
        border-color: #D8DEE6;
        box-shadow: none;
    }

    .catalog-category-list,
    .catalog-sidebar .catalog-widget-header,
    .catalog-sidebar .catalog-filter-widget,
    .catalog-show,
    .catalog-view {
        display: none;
    }

    .catalog-section-header {
        padding-top: 5px;
    }

    .catalog-section-title {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        font-size: 22px;
        letter-spacing: -0.2px;
    }

    .catalog-section-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .catalog-section-count {
        width: 100%;
        margin-top: 7px;
        text-align: center;
    }

    .catalog-section .product-grid-4 > [class*="col-"] {
        width: 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .catalog-product-grid .product-card-bottom {
        align-items: center;
    }

    .catalog-product-grid .product-card-bottom .product-price {
        align-items: center;
        gap: 8px;
    }

    .catalog-product-grid .product-card-bottom .add-cart .add {
        height: 32px;
        padding: 0 14px;
    }

    .catalog-product-grid .product-content-wrap {
        display: flex;
        flex-direction: column;
    }

    .catalog-product-grid .product-price-action {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: auto;
    }

}

/*------------------------------------------------------------------------------
    MOBILE
------------------------------------------------------------------------------*/

@media (max-width: 768px) {

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .catalog-toolbar-right {
        flex-wrap: wrap;
        gap: 12px;
    }

    .catalog-section .product-grid-4 > [class*="col-"] {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .catalog-section-header {
        display: block;
        width: 100%;
        text-align: center;
    }

    .catalog-section-header > div,
    .catalog-section-title,
    .catalog-section-count {
        width: 100%;
        text-align: center;
    }

    .catalog-section-title {
        margin: 0;
    }

    .catalog-section-count {
        margin: 6px 0 0;
    }

    .catalog-page .product-cart-wrap .product-card-bottom {
        align-items: flex-end;
        gap: 6px;
    }

    .catalog-page .product-cart-wrap .product-card-bottom .product-price {
        line-height: 1.2;
    }

}

/*------------------------------------------------------------------------------
    SMALL MOBILE
------------------------------------------------------------------------------*/

@media (max-width: 576px) {

    .catalog-wrapper {
        margin: 15px 0 40px;
    }

    .catalog-title {
        font-size: 28px;
    }

    .catalog-widget {
        padding: 18px;
    }

    .catalog-pagination a {
        width: 40px;
        height: 40px;
    }

    .catalog-product-grid .product-img-action-wrap {
        height: 145px;
        min-height: 145px;
        padding: 8px;
    }

    .catalog-product-grid .product-content-wrap {
        padding: 10px;
    }

    .catalog-product-grid .product-content-wrap h2 {
        min-height: 36px;
        margin-bottom: 5px;
        font-size: 13px;
        line-height: 1.35;
    }

    .catalog-product-grid .product-price > span:first-child {
        font-size: 16px;
    }

    .catalog-product-grid .product-price .old-price {
        font-size: 10px;
    }

    .catalog-product-grid .product-card-bottom {
        align-items: center;
        gap: 5px;
        margin-top: 8px;
    }

    .catalog-product-grid .product-card-bottom .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .catalog-product-grid .product-card-bottom .add-cart .add {
        height: 36px;
        min-width: 58px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 11px;
    }

    .catalog-grid .product-cart-wrap {
        height: auto;
        min-height: 0;
        margin: 0;
        border-radius: 14px;
    }

    .catalog-grid .product-cart-wrap .product-img-action-wrap {
        height: 145px;
        min-height: 145px;
        padding: 8px;
        margin: 0;
    }

    .catalog-grid .product-cart-wrap .product-img {
        height: 100%;
    }

    .catalog-grid .product-cart-wrap .product-img img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 125px;
    }

    .catalog-grid .product-cart-wrap .product-content-wrap {
        padding: 10px;
    }

    .catalog-grid .product-cart-wrap .product-category {
        margin-bottom: 5px;
        font-size: 11px;
        line-height: 1.2;
    }

    .catalog-grid .product-cart-wrap h2 {
        min-height: 36px;
        margin-bottom: 5px;
        font-size: 13px;
        line-height: 1.35;
    }

    .catalog-grid .product-cart-wrap .product-card-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        width: 100%;
        margin-top: 8px;
    }

    .catalog-grid .product-cart-wrap .product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        margin: 0;
    }

    .catalog-grid .product-cart-wrap .product-price > span:first-child {
        font-size: 16px;
        line-height: 1;
    }

    .catalog-grid .product-cart-wrap .product-price .old-price {
        font-size: 10px;
        line-height: 1;
    }

    .catalog-grid .product-cart-wrap .add-cart {
        margin-left: auto;
        flex-shrink: 0;
    }

    .catalog-grid .product-cart-wrap .add-cart .add {
        height: 36px;
        min-width: 58px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 11px;
    }

}

/** MODIFIED **/

/* =========================================================
   CATALOG PRODUCT CARD
   MOBILE ONLY
   ========================================================= */

@media (max-width: 767px) {

    /* Product card */
    .product-cart-wrap {
        /* height: 440px; */
        /* min-height: 440px; */
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Image area */
    .product-cart-wrap .product-img-action-wrap {
        height: 200px;
        min-height: 200px;
        flex: 0 0 245px;
        padding: 0;
    }

    .product-cart-wrap .product-img {
        /* height: 245px; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-cart-wrap .product-img img {
        max-width: 85%;
        max-height: 190px;
        width: auto;
        object-fit: contain;
    }

    /* Content */
    .product-cart-wrap .product-content-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 8px 20px 14px;
    }

    /* Category */
    .product-cart-wrap .product-category {
        margin: 0 0 4px;
        line-height: 1.2;
    }

    /* Product name */
    .product-cart-wrap .product-content-wrap h2 {
        margin: 0 0 8px;
        line-height: 1.25;
        min-height: 38px;
        max-height: 38px;
        overflow: hidden;
    }

    /* =====================================================
       IMPORTANT:
       Override THEME .product-card-bottom
       ===================================================== */

    .product-cart-wrap .product-card-bottom {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 0 !important;
        width: 100%;
    }

    /* =====================================================
       PRICE ROW
       ===================================================== */

    .product-cart-wrap .product-card-bottom .product-price {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        min-height: 28px;
    }

    /* Selling price */
    .product-cart-wrap .product-card-bottom .product-price .current-price {
        margin: 0;
        line-height: 1.2;
    }

    /* MRP */
    .product-cart-wrap .product-card-bottom .product-price .old-price {
        margin-left: auto;
        white-space: nowrap;
        line-height: 1.2;
    }

    /* =====================================================
       ADD BUTTON — NEW ROW
       ===================================================== */

    .product-cart-wrap .product-card-bottom .add-cart {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        margin: 0 !important;
    }

    .product-cart-wrap .product-card-bottom .add-cart .add {
        margin: 0 auto;
    }

    /* Quantity box */
    .product-cart-wrap .product-card-bottom .add-cart .cart-qty {
        margin: 0 auto;
    }

}

/* =========================================================
   CATALOG PRODUCT CARD — MOBILE ONLY
   Do not affect desktop/theme
   ========================================================= */

@media (max-width: 767px) {

    /* -----------------------------------------------------
       PRODUCT CARD
       ----------------------------------------------------- */
    .catalog-page .product-cart-wrap {
        min-height: 0 !important;
        height: 100% !important;
        padding-bottom: 12px !important;
    }

    /* -----------------------------------------------------
       PRODUCT IMAGE AREA
       Prevent image stretching + reduce empty space
       ----------------------------------------------------- */
    .catalog-page .product-img-action-wrap {
        height: 145px !important;
        min-height: 145px !important;
        padding: 10px 10px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .catalog-page .product-img-action-wrap .product-img {
        height: 125px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .catalog-page .product-img-action-wrap .product-img img {
        width: auto !important;
        height: auto !important;
        max-width: 90% !important;
        max-height: 120px !important;
        object-fit: contain !important;
    }

    /* -----------------------------------------------------
       PRODUCT CONTENT
       ----------------------------------------------------- */
    .catalog-page .product-content-wrap {
        padding: 5px 12px 0 !important;
    }

    /* Category */
    .catalog-page .product-category {
        text-align: center !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    /* Product name */
    .catalog-page .product-content-wrap h2 {
        text-align: center !important;
        margin: 0 !important;
        line-height: 1.25 !important;
    }

    /* -----------------------------------------------------
       PRICE + MRP
       ----------------------------------------------------- */
    .catalog-page .product-card-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-top: 8px !important;
        gap: 7px !important;
    }

    .catalog-page .product-price {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 2px !important;
    }

    /* Selling price — left */
    .catalog-page .product-price .current-price {
        font-size: 15px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    /* Small separator */
    .catalog-page .product-price .old-price {
        position: relative !important;
        margin-left: auto !important;
        padding-left: 10px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .catalog-page .product-price .old-price::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        width: 1px !important;
        height: 16px !important;
        background: #d9d9d9 !important;
        transform: translateY(-50%) !important;
    }

    /* -----------------------------------------------------
       ADD TO CART — NEW ROW / CENTER
       ----------------------------------------------------- */
    .catalog-page .product-card-bottom .add-cart {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .catalog-page .product-card-bottom .add-cart > a,
    .catalog-page .product-card-bottom .add-cart .btn-add-cart {
        width: 100% !important;
        max-width: 180px !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

    /* Quantity control when product is already in cart */
    .catalog-page .product-card-bottom .add-cart .cart-qty {
        margin: 0 auto !important;
    }

    .product-cart-wrap .product-content-wrap .product-price span {
        font-size: 15px;
        font-weight: bold;
        color: #3BB77E;
    }

    .product-cart-wrap .product-content-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 8px 20px 0px;
        text-align: center;
    }

    .product-cart-wrap .product-content-wrap h2 {
        font-size: 13px;
    }

    .product-cart-wrap .product-img-action-wrap .product-img a {
        overflow: hidden;
        display: block;
        text-align: center;
    }

    .product-img {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0px !important;
        background: #FFF;
    }

    .product-cart-wrap .product-img-action-wrap {
        max-height: 200px;
    }

}

