﻿/* =========================================================
   1. AliExpress-inspired Product Card (.ali-card-thumb)
   ========================================================= */
.product-inner:has(.ali-card-thumb) {
    position: relative;
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 16px !important;
    padding: 6px 6px 10px !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-inner:has(.ali-card-thumb):hover {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11) !important;
    border-color: #eeeeee !important;
    z-index: 15;
}

.product-inner .ali-card-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 8px;
    padding-top: 0 !important;
    aspect-ratio: 1 / 1;
}

.product-inner .ali-card-thumb .product-loop__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.product-inner .ali-card-thumb .img-fluid-eq__dummy {
    display: none;
}

.product-inner .ali-card-thumb .img-fluid-eq__wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-inner .ali-card-thumb .product-thumbnail__img {
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-inner:has(.ali-card-thumb):hover .ali-card-thumb .product-thumbnail__img {
    transform: scale(1.03);
}

.product-inner .ali-card-thumb .ribbons {
    top: 8px;
    left: 8px;
    z-index: 3;
}

.product-inner .ali-card-thumb .ribbons .ribbon {
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
}

.product-inner .ali-welcome-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22px;
    background: linear-gradient(90deg, #ff1e4d 0%, #ff476c 100%);
    color: #ffffff;
    font-size: 11px;
    font-style: italic;
    line-height: 22px;
    padding: 0 48px 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.product-inner .ali-floating-cart {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 5;
}

.product-inner .ali-floating-cart .cart-form,
.product-inner .ali-floating-cart .product-button {
    margin: 0;
    padding: 0;
}

.product-inner .ali-floating-cart .btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #191919 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-inner .ali-floating-cart .btn:hover:not(.disabled) {
    background: #191919 !important;
    color: #ffffff !important;
    border-color: #191919 !important;
    transform: scale(1.05);
}

.product-inner .ali-floating-cart .btn .svg-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-inner .ali-floating-cart .btn .svg-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.product-inner .ali-floating-cart .add-to-cart-text {
    display: none !important;
}

.product-inner .ali-card-details {
    padding: 0 4px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-inner .ali-card-details .product-content-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.product-inner .ali-card-details .product__title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    height: 36px;
    overflow: hidden;
}

.product-inner .ali-card-details .product__title a {
    color: #191919 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .ali-card-details .product__title a:hover {
    color: #f00633 !important;
}

.product-inner .ali-choice-inline {
    display: inline-block;
    background: #ffda00;
    color: #191919;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    padding: 0 5px;
    border-radius: 4px;
    line-height: 15px;
    margin-right: 4px;
    vertical-align: 1px;
}

.product-inner .ali-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: #757575;
    line-height: 18px;
    min-height: 18px;
}

.product-inner .ali-rating-row .star-rating-wrapper {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.product-inner .ali-rating-row .ali-rating-score {
    font-weight: 600;
    color: #191919;
    font-size: 12px;
}

.product-inner .ali-divider {
    display: inline-block;
    width: 1px;
    height: 9px;
    background-color: #dbdbdb;
    margin: 0 3px;
}

.product-inner .ali-sold-count {
    font-size: 12px;
    color: #191919;
}

.product-inner .ali-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 26px;
}

.product-inner .ali-price-row .product-price {
    margin: 0 !important;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.product-inner .ali-price-row .product-price ins .amount,
.product-inner .ali-price-row .product-price-original .amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #191919 !important;
    letter-spacing: -0.02em;
    line-height: 24px;
}

.product-inner .ali-price-row.ali-price-sale .product-price-sale ins .amount {
    color: #f00633 !important;
}

.product-inner .ali-price-row .product-price del,
.product-inner .ali-price-row .product-price del .amount {
    font-size: 12px !important;
    color: #757575 !important;
    font-weight: 400 !important;
}

.product-inner .ali-discount-badge {
    display: inline-block;
    background: #fff0f2;
    color: #f00633;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.4;
}

.product-inner .ali-shipping-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
}

.product-inner .ali-free-shipping {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #018941;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-inner .ali-store-link {
    color: #757575;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .ali-store-link:hover {
    color: #191919;
}

.product-inner:has(.ali-card-thumb) .deal-sold .progress {
    height: 6px !important;
    background-color: #ffe5ea !important;
}

.product-inner:has(.ali-card-thumb) .deal-sold .progress-bar {
    background-color: #f00633 !important;
}

/* AliExpress-style hover action pills ("See preview" & "Save to wishlist") */
.product-inner .ali-hover-actions {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.product-inner:has(.ali-card-thumb):hover .ali-hover-actions {
    display: flex;
}

.product-inner .ali-btn-preview,
.product-inner .ali-btn-similar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.product-inner .ali-btn-preview {
    background: #191919;
    color: #ffffff !important;
}

.product-inner .ali-btn-preview:hover {
    opacity: 0.88;
}

.product-inner .ali-btn-similar {
    background: #ffffff;
    color: #191919 !important;
    border: 1px solid #d9d9d9;
}

.product-inner .ali-btn-similar:hover,
.product-inner .ali-btn-similar.added-to-wishlist {
    border-color: #191919;
}


/* =========================================================
   2. MartFury-style Product Card (.mf-card-thumb)
   ========================================================= */
.product-inner:has(.mf-card-thumb) {
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    padding: 15px !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-inner:has(.mf-card-thumb):hover {
    border-color: #c0c0c0 !important;
    box-shadow: none !important;
}

.product-inner .mf-card-thumb {
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
}

.product-inner .mf-card-thumb .product-loop__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.product-inner .mf-card-thumb .img-fluid-eq__dummy {
    display: none;
}

.product-inner .mf-card-thumb .img-fluid-eq__wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-inner .mf-card-thumb .product-thumbnail__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top-right MartFury badges */
.product-inner .mf-card-thumb .mf-badges {
    position: absolute;
    top: 0;
    right: 0;
    left: auto !important;
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.product-inner .mf-card-thumb .mf-badges .mf-badge {
    position: static;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    padding: 4px 10px;
    border-radius: 4px;
    color: #ffffff;
}

.product-inner .mf-card-thumb .mf-badges .mf-badge--sale {
    background-color: #d63e02;
}

.product-inner .mf-card-thumb .mf-badges .mf-badge--out-stock {
    background-color: #000000;
}

/* Bottom-center hover action bar */
.product-inner .mf-card-thumb .mf-actions-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    background-color: #ffffff;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    z-index: 5;
    white-space: nowrap;
}

.product-inner:has(.mf-card-thumb):hover .mf-card-thumb .mf-actions-bar {
    transform: translate(-50%, 0);
}

.product-inner .mf-actions-bar .mf-action-cart .cart-form,
.product-inner .mf-actions-bar .mf-action-cart .product-button {
    margin: 0;
    padding: 0;
}

.product-inner .mf-actions-bar .mf-action-cart .btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #222222 !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-inner .mf-actions-bar .mf-action-cart .btn:hover:not(.disabled) {
    background-color: #fcb800 !important;
    color: #ffffff !important;
}

.product-inner .mf-actions-bar .mf-action-cart .btn .svg-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-inner .mf-actions-bar .mf-action-cart .btn .svg-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.product-inner .mf-actions-bar .mf-action-cart .add-to-cart-text {
    display: none !important;
}

.product-inner .mf-actions-bar .product-loop__buttons {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.product-inner .mf-actions-bar .product-loop__buttons .product-loop_button .product-loop_action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    color: #222222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-inner .mf-actions-bar .product-loop__buttons .product-loop_button .product-loop_action:hover {
    background-color: #fcb800;
    color: #ffffff;
}

.product-inner .mf-actions-bar .product-loop__buttons .product-loop_button .text {
    display: none;
}

/* MartFury details area */
.product-inner .mf-card-details {
    padding: 10px 0 0 !important;
    flex: 1;
}

.product-inner .mf-card-details .product-content-box {
    padding: 0;
}

.product-inner .mf-vendor {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.product-inner .mf-vendor a {
    color: #000000;
}

.product-inner .mf-title {
    font-size: 14px !important;
    line-height: 1.25em !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    min-height: 35px;
    font-weight: 400 !important;
}

.product-inner .mf-title a {
    color: #0066cc !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-inner .mf-title a:hover {
    color: #fcb800 !important;
}

.product-inner .mf-rating .star-rating-wrapper {
    margin: 0 0 6px !important;
}

.product-inner .mf-rating .user-rating {
    color: #edb867;
}

.product-inner .mf-price .product-price {
    margin: 0 !important;
}

.product-inner .mf-price .product-price-original .amount {
    font-size: 16px !important;
    font-weight: 500;
    color: #000000 !important;
}

.product-inner .mf-price .product-price-sale ins .amount {
    font-size: 16px !important;
    font-weight: 600;
    color: #d62a00 !important;
}

.product-inner .mf-price--deal .product-price-sale ins .amount {
    font-size: 18px !important;
    font-weight: 600;
    color: #4d7300 !important;
}

.product-inner .mf-price del,
.product-inner .mf-price del .amount {
    font-size: 13px !important;
    color: #666666 !important;
}

.product-inner .mf-deal-sold .progress {
    height: 11px !important;
    background-color: #e4e4e4 !important;
    border-radius: 0 !important;
}

.product-inner .mf-deal-sold .progress-bar {
    background-color: #fcb800 !important;
}

.product-inner .mf-deal-sold .deal-text {
    font-size: 14px;
    color: #666666;
}


/* =========================================================
   3. Compact Section Vertical Spacing
   ========================================================= */
.widget-featured-banners.py-5,
.widget-featured-brands.py-5,
.widget-products-with-category.py-5,
.widget-product-deals-day.py-5,
.widget-testimonials.py-5,
.widget-blog.py-5,
[class*="widget-"].py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.widget-product-categories.pt-5 {
    padding-top: 1.25rem !important;
}

.widget-product-categories .product-categories-body.pb-4 {
    padding-bottom: 0.75rem !important;
}

.widget-header.mb-2 {
    margin-bottom: 0.35rem !important;
}

.section-banner-wrapper {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}


/* =========================================================
   4. QawmiShop-Size Section Headings (.widget-header)
   ========================================================= */
.widget-header {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 76px 8px 18px;
    min-height: 42px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 14px !important;
}

.widget-header > * {
    padding-left: 0 !important;
}

.widget-testimonials .widget-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.widget-header .widget-header,
.widget-app-downloads .widget-header,
.section-content .widget-header {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.widget-header h2,
.widget-header h2.py-2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px;
    text-transform: capitalize;
    padding: 0 !important;
    margin: 0 !important;
}

.widget-header p {
    display: inline-block;
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 0 10px !important;
}

.widget-header a {
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.widget-header a:hover {
    color: rgb(255, 73, 73) !important;
}

/* "Browse by Category" -> QawmiShop 22px bold heading */
.widget-product-categories .widget-header {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    padding: 0 72px 0 0 !important;
    margin-bottom: 14px !important;
}

.widget-product-categories .widget-header h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px;
    text-transform: capitalize;
}

/* "Top Saver Today" -> QawmiShop 20px bold heading */
.widget-product-deals-day .widget-header {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    padding: 0 72px 10px 0 !important;
    margin-bottom: 18px !important;
}

.widget-product-deals-day .widget-header h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

@media (max-width: 991.98px) {
    .widget-header h2,
    .widget-header h2.py-2 {
        font-size: 18px !important;
    }
}

.widget-product-deals-day .widget-header .ps-4 a {
    color: #000000;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
}

.widget-product-deals-day .widget-header .ps-4 a:hover {
    color: #fcb800 !important;
    border-bottom-color: #fcb800;
}

.widget-product-deals-day .countdown-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.widget-product-deals-day .header-countdown {
    background-color: #d63e02 !important;
    color: #ffffff !important;
    border-radius: 3px;
    padding: 6px 16px;
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
}

.widget-product-deals-day .header-countdown .ends-text,
.widget-product-deals-day .header-countdown .expire-countdown,
.widget-product-deals-day .header-countdown .expire-countdown span {
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .widget-header {
        padding: 7px 68px 7px 14px;
        min-height: 36px;
    }

    .widget-product-deals-day .widget-header {
        padding: 0 70px 10px 0 !important;
    }

    .widget-product-deals-day .countdown-wrapper {
        margin-top: 8px;
    }

    .widget-product-deals-day .header-countdown {
        padding: 5px 10px;
        font-size: 13px;
    }
}


/* =========================================================
   5. Clean Carousel Arrow Alignment (.arrows-top-right)
   ========================================================= */
.arrows-top-right .arrows-wrapper {
    top: -41px !important;
    right: 14px !important;
    gap: 6px;
    align-items: center;
}

.arrows-top-right .arrows-wrapper .slick-arrow {
    width: 26px;
    height: 26px;
    line-height: 24px;
    margin: 0 !important;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.arrows-top-right .arrows-wrapper .slick-arrow:hover {
    background-color: #fcb800;
    border-color: #fcb800;
    color: #ffffff;
}

.widget-product-categories .arrows-top-right .arrows-wrapper {
    top: -41px !important;
    right: 0 !important;
}

.widget-product-deals-day .arrows-top-right .arrows-wrapper {
    top: -60px !important;
    right: 0 !important;
}

@media (max-width: 767px) {
    .arrows-top-right .arrows-wrapper {
        top: -36px !important;
        right: 10px !important;
    }

    .widget-product-categories .arrows-top-right .arrows-wrapper {
        top: -40px !important;
        right: 0 !important;
    }

    .widget-product-deals-day .arrows-top-right .arrows-wrapper {
        top: -66px !important;
        right: 0 !important;
    }
}


/* =========================================================
   6. Exact MartFury-Style Category Cards (.ps-block--category)
   ========================================================= */
.widget-product-categories .product-categories-box .slick-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
}

.widget-product-categories .product-category-item {
    padding: 6px !important;
    height: auto !important;
}

.widget-product-categories .category-item-body {
    background-color: #ffffff !important;
    border: 1px solid #bfbfbf !important;
    border-radius: 0 !important;
    padding: 16px 12px !important;
    box-shadow: none !important;
    height: 100%;
    transition: all 0.4s ease;
}

.widget-product-categories .category-item-body:hover {
    border-color: #fcb800 !important;
}

.widget-product-categories .category__thumb {
    display: flow-root !important;
    width: 100% !important;
    max-width: 150px;
    margin: 0 auto 12px !important;
}

.widget-product-categories .category__thumb img {
    object-fit: contain;
}

.widget-product-categories .category__text {
    padding: 4px 0 0 !important;
}

.widget-product-categories .category__name {
    display: block;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.widget-product-categories .category-item-body:hover .category__name {
    color: #0099cc !important;
}

@media (max-width: 479px) {
    .widget-product-categories .product-category-item {
        padding: 6px !important;
    }

    .widget-product-categories .category-item-body {
        padding: 20px 10px !important;
    }

    .widget-product-categories .category__thumb {
        max-width: 110px;
        margin-bottom: 10px !important;
    }

    .widget-product-categories .category__name {
        font-size: 14px !important;
    }
}


/* =========================================================
   7. QawmiShop-Style Product Card (.qw-card-thumb)
   ========================================================= */
.product-inner:has(.qw-card-thumb) {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #c9c9c9 !important;
    border-radius: 6px !important;
    padding: 12px 14px 16px !important;
    box-shadow: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-inner:has(.qw-card-thumb):hover {
    border-color: #c9c9c9 !important;
}

.product-inner .qw-card-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #fbfbfb;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    padding-top: 0 !important;
}

.product-inner .qw-card-thumb .product-loop__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.product-inner .qw-card-thumb .img-fluid-eq__dummy {
    display: none;
}

.product-inner .qw-card-thumb .img-fluid-eq__wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-inner .qw-card-thumb .product-thumbnail__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-inner .qw-card-thumb .ribbons {
    top: 6px;
    left: 6px;
    z-index: 3;
}

.product-inner .qw-card-thumb .ribbons .ribbon {
    height: 20px;
    line-height: 16px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
}

.product-inner .qw-card-thumb .ribbons .featured.ribbon {
    background-color: #ff8c46;
}

.product-inner .qw-card-thumb .ribbons .out-stock {
    background-color: #222222;
}

/* Top-right hover overlay action icons */
.product-inner .qw-card-thumb .product-loop__buttons {
    position: absolute;
    top: 4px;
    right: 4px;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 4;
}

.product-inner:has(.qw-card-thumb):hover .qw-card-thumb .product-loop__buttons {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991.98px) {
    .product-inner .qw-card-thumb .product-loop__buttons {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-inner .qw-card-thumb .product-loop__buttons .product-loop_button .product-loop_action {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: rgb(255, 73, 73);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.product-inner .qw-card-thumb .product-loop__buttons .product-loop_button .text {
    display: none;
}

/* Details area */
.product-inner .qw-card-details {
    padding: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-inner .qw-card-details .product-content-box {
    padding: 0;
}

.product-inner .qw-card-details .product__title {
    margin: 2px 0 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4em !important;
    height: 2.85em;
    overflow: hidden;
}

.product-inner .qw-card-details .product__title a {
    color: #111827 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .qw-card-details .product__title a:hover {
    color: rgb(255, 73, 73) !important;
}

.product-inner .qw-card-details .star-rating-wrapper {
    margin: 0 0 4px !important;
    height: 12px;
    display: flex;
    align-items: center;
}

.product-inner .qw-card-details .star-rating-wrapper .svg-icon {
    width: 12px;
    height: 12px;
}

.product-inner .qw-card-details .product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.2;
    margin: 0 0 4px !important;
}

.product-inner .qw-card-details .product-price ins .amount,
.product-inner .qw-card-details .product-price-original .amount {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #cb4321 !important;
    margin-right: 4px;
}

.product-inner .qw-card-details .product-price del,
.product-inner .qw-card-details .product-price del .amount {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #9ca3af !important;
}

/* Full-width "Add to Cart" button */
.product-inner .qw-bottom-box {
    padding: 6px 0 0;
}

.product-inner .qw-bottom-box .cart-form,
.product-inner .qw-bottom-box .product-button {
    margin: 0;
    padding: 0;
}

.product-inner .qw-bottom-box .btn {
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background-color: rgb(255, 73, 73) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.product-inner .qw-bottom-box .btn:hover:not(.disabled) {
    opacity: 0.9;
}

.product-inner .qw-bottom-box .btn .svg-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-inner .qw-bottom-box .btn .svg-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

@media (max-width: 767.98px) {
    .widget-header h2,
    .widget-header h2.py-2 {
        font-size: 15.5px !important;
    }

    .widget-product-categories .widget-header h2 {
        font-size: 18px !important;
    }
}


/* =========================================================
   8. AliExpress Classic Card (First Version) (.ali-classic-thumb)
   ========================================================= */
.product-inner:has(.ali-classic-thumb) {
    background: #ffffff;
    border: 1px solid #efefef !important;
    border-radius: 12px !important;
    padding: 8px 8px 12px !important;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-inner:has(.ali-classic-thumb):hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
    border-color: #e2e2e2 !important;
    transform: translateY(-2px);
}

.product-inner .ali-classic-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 10px;
    padding-top: 0 !important;
    aspect-ratio: 1 / 1;
}

.product-inner .ali-classic-thumb .product-loop__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.product-inner .ali-classic-thumb .img-fluid-eq__dummy {
    display: none;
}

.product-inner .ali-classic-thumb .img-fluid-eq__wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-inner .ali-classic-thumb .product-thumbnail__img {
    transition: transform 0.35s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-inner:has(.ali-classic-thumb):hover .ali-classic-thumb .product-thumbnail__img {
    transform: scale(1.04);
}

.product-inner .ali-classic-thumb .ribbons {
    top: 8px;
    left: 8px;
    z-index: 3;
}

.product-inner .ali-classic-thumb .ribbons .ribbon {
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    letter-spacing: 0.01em;
}

.product-inner .ali-classic-thumb .product-loop__buttons {
    top: 8px;
    right: 8px;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 4;
}

.product-inner:has(.ali-classic-thumb):hover .ali-classic-thumb .product-loop__buttons {
    opacity: 1;
    transform: translateY(0);
}

.product-inner .ali-classic-thumb .product-loop__buttons .product-loop_button .product-loop_action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    padding: 0;
}

.product-inner .ali-classic-thumb .product-loop__buttons .product-loop_button .product-loop_action:hover {
    background: #fd384f;
    color: #fff;
}

.product-inner .ali-classic-thumb .product-loop__buttons .product-loop_button .text {
    display: none;
}

.product-inner .ali-classic-floating-cart {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 5;
}

.product-inner .ali-classic-floating-cart .cart-form,
.product-inner .ali-classic-floating-cart .product-button {
    margin: 0;
    padding: 0;
}

.product-inner .ali-classic-floating-cart .btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #191919 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-inner .ali-classic-floating-cart .btn:hover:not(.disabled) {
    background: #fd384f !important;
    color: #ffffff !important;
    border-color: #fd384f !important;
    transform: scale(1.06);
}

.product-inner .ali-classic-floating-cart .btn .svg-icon {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-inner .ali-classic-floating-cart .btn .svg-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.product-inner .ali-classic-floating-cart .add-to-cart-text {
    display: none !important;
}

.product-inner .ali-classic-details {
    padding: 0 4px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-inner .ali-classic-details .product-content-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.product-inner .ali-classic-details .product__title {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.38 !important;
    min-height: 37px;
}

.product-inner .ali-classic-details .product__title a {
    color: #191919 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .ali-classic-details .product__title a:hover {
    color: #fd384f !important;
}

.product-inner .ali-classic-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #757575;
    line-height: 1.2;
}

.product-inner .ali-classic-rating-row .star-rating-wrapper {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.product-inner .ali-classic-rating-row .ali-classic-rating-score {
    font-weight: 600;
    color: #191919;
    font-size: 12px;
}

.product-inner .ali-classic-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.product-inner .ali-classic-price-row .product-price {
    margin: 0 !important;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.product-inner .ali-classic-price-row .product-price ins .amount,
.product-inner .ali-classic-price-row .product-price-original .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #191919 !important;
    letter-spacing: -0.02em;
}

.product-inner .ali-classic-price-row .product-price-sale ins .amount {
    color: #fd384f !important;
}

.product-inner .ali-classic-price-row .product-price del,
.product-inner .ali-classic-price-row .product-price del .amount {
    font-size: 12px !important;
    color: #999999 !important;
    font-weight: 400 !important;
}

.product-inner .ali-classic-discount-badge {
    display: inline-block;
    background: #fff0f2;
    color: #fd384f;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.4;
}

.product-inner .ali-classic-store-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 11.5px;
    color: #757575;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .ali-classic-choice-tag {
    background: #ffda00;
    color: #191919;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.3;
    flex-shrink: 0;
}

.product-inner .ali-classic-store-meta a {
    color: #666666;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-inner .ali-classic-store-meta a:hover {
    color: #191919;
}

.product-inner:has(.ali-classic-thumb) .deal-sold .progress-bar {
    background-color: #fd384f !important;
}


/* =========================================================
   9. MartFury Marketplace Header (.header-js-handler)
   ========================================================= */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) {
    background-color: #ffffff;
}

/* Top utility bar */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-top {
    background-color: var(--mf-top-bg, #ffffff) !important;
    border-bottom: none !important;
    padding: 8px 0 !important;
    font-size: 13px;
    color: var(--mf-top-text, #666666);
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-top a {
    color: var(--mf-top-text, #666666);
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-top a:hover {
    color: #fcb800;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-top .header-info-right ul > li:not(:last-child) {
    position: relative;
    margin-right: 14px;
    padding-right: 14px;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-top .header-info-right ul > li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    border-right: 1px solid #e1e1e1;
}

/* Middle main header */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle {
    background-color: var(--mf-middle-bg, #ffffff) !important;
    border-bottom: none !important;
    padding: 18px 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header-wrapper {
    padding: 0 !important;
    min-height: 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle.sticky-active,
.header.header-js-handler.header-is-sticky .header-middle {
    border-bottom: 1px solid #cccccc !important;
    padding: 10px 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header-items.header__left .logo img {
    max-height: 40px;
}

/* MartFury search bar with category dropdown + #fcb800 Search button */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    width: 100%;
    max-width: 620px;
    height: 42px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .form-group--icon {
    display: block !important;
    position: relative;
    min-width: 82px;
    max-width: 220px;
    height: 42px !important;
    line-height: 40px !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 4px 0 0 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .product-category-label {
    height: 40px !important;
    padding: 0 26px 0 14px !important;
    color: #000000 !important;
    background: transparent !important;
    border-right: 1px solid #cccccc !important;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    white-space: nowrap;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .product-category-label label {
    margin: 0 !important;
    cursor: pointer;
    text-transform: none !important;
    font-weight: 400 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .product-category-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .input-search-product {
    height: 42px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 15px !important;
    border: 1px solid #e1e1e1 !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 0 14px !important;
    flex: 1;
    min-width: 0;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .mf-search-btn {
    height: 42px !important;
    width: auto !important;
    background-color: #fcb800 !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 0 4px 4px 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-quick-search .mf-search-btn:hover {
    opacity: 0.9;
}

/* Right header actions (Wishlist, Cart with #fcb800 badges, Login/Register) */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .header__extra,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .header-compare,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .header-wishlist,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .cart--mini {
    margin: 0 !important;
    padding: 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .header-support,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .cart-text {
    display: none !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .header-item-counter {
    background-color: #fcb800 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .btn-compare,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .btn-wishlist,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right .btn-shopping-cart {
    color: #000000 !important;
    display: inline-flex !important;
    align-items: center;
    position: relative;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-user-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px !important;
    color: #000000;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-user-links a {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-user-links a:hover {
    color: #fcb800;
}

/* Bottom Navigation Bar */
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom {
    background-color: var(--mf-bottom-bg, #ffffff) !important;
    border-top: 1px solid #e1e1e1 !important;
    border-bottom: 1px solid #e1e1e1 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .header-wrapper {
    padding: 0 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation {
    background-color: var(--mf-bottom-bg, #ffffff) !important;
    min-height: 50px !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .container-xxxl {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__left {
    flex-shrink: 0;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__left .menu--product-categories {
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__left .menu--product-categories .menu__toggle-title {
    text-transform: none !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__left .menu--product-categories .menu__toggle {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    color: #000000 !important;
    padding: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__left .menu--product-categories .menu__toggle .svg-icon {
    color: #000000 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 8px !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu > li {
    flex-shrink: 0;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu > li > a {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    padding: 14px 9px !important;
    white-space: nowrap;
    transition: color 0.25s ease;
}

@media (max-width: 1380px) {
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu > li > a {
        font-size: 13.5px !important;
        padding: 14px 7px !important;
    }
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu > li.current-menu-item > a,
.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__center .menu > li > a:hover {
    color: #fcb800 !important;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-bottom .navigation .navigation__right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .mf-header-hotline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #000000;
    white-space: nowrap;
}

/* Mobile Header (#fcb800 yellow MartFury style) */
@media (max-width: 1199.98px) {
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle {
        padding: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__left,
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__center,
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .header__right > :not(.cart--mini),
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-middle .cart--mini > .header__extra {
        display: none !important;
    }

    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-mobile {
        background-color: var(--mf-mobile-bg, #fcb800) !important;
        border-bottom: none !important;
    }

    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-mobile .logo img {
        filter: brightness(0);
        max-height: 36px;
    }

    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-mobile .menu-icon,
    .header.header-js-handler:is(.mf-header-marketplace, .mf-header-classic) .header-mobile .open-search-panel {
        color: var(--mf-mobile-icon, #000000) !important;
    }
}



/* =========================================================
   10. MartFury Classic Yellow Header (.mf-header-classic)
   ========================================================= */
.header.header-js-handler.mf-header-classic {
    background-color: var(--mf-middle-bg, #fcb800) !important;
}

.header.header-js-handler.mf-header-classic .header-middle {
    background-color: var(--mf-middle-bg, #fcb800) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: 20px 0 !important;
}

.header.header-js-handler.mf-header-classic .header-middle .header__right .btn-compare,
.header.header-js-handler.mf-header-classic .header-middle .header__right .btn-wishlist,
.header.header-js-handler.mf-header-classic .header-middle .header__right .btn-shopping-cart,
.header.header-js-handler.mf-header-classic .mf-user-header,
.header.header-js-handler.mf-header-classic .mf-user-links a {
    color: var(--mf-middle-text, #000000) !important;
}

.header.header-js-handler.mf-header-classic .header-middle .logo img {
    filter: brightness(0);
}

.header.header-js-handler.mf-header-classic .mf-quick-search .form-group--icon,
.header.header-js-handler.mf-header-classic .mf-quick-search .input-search-product {
    border: none !important;
}

.header.header-js-handler.mf-header-classic .mf-quick-search .mf-search-btn {
    background-color: var(--mf-btn-bg, #000000) !important;
    color: var(--mf-btn-text, #ffffff) !important;
}

.header.header-js-handler.mf-header-classic .header-middle .header__right .header-item-counter {
    background-color: var(--mf-btn-bg, #000000) !important;
    color: var(--mf-btn-text, #ffffff) !important;
}

.header.header-js-handler.mf-header-classic .header-middle .header__right a:hover,
.header.header-js-handler.mf-header-classic .mf-user-links a:hover {
    color: #ffffff !important;
}

.header.header-js-handler.mf-header-classic .header-bottom,
.header.header-js-handler.mf-header-classic .header-bottom .navigation {
    background-color: var(--mf-bottom-bg, #fcb800) !important;
    border-top: none !important;
    border-bottom: none !important;
}

.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__left .menu--product-categories .menu__toggle,
.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__left .menu--product-categories .menu__toggle .svg-icon,
.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__center .menu > li > a {
    color: var(--mf-bottom-text, #000000) !important;
}

.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__center .menu > li.current-menu-item > a,
.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__center .menu > li > a:hover {
    color: #ffffff !important;
}

.header.header-js-handler.mf-header-classic .header-bottom .navigation .navigation__right {
    flex-shrink: 0;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li {
    position: relative;
    margin-right: 10px;
    padding-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li .language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    min-width: 110px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li:hover .language-dropdown {
    display: block;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li .language-dropdown li a {
    display: block;
    padding: 6px 14px;
    color: #000000;
    font-size: 13px;
    text-decoration: none;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li .language-dropdown li a:hover {
    background-color: #f7f7f7;
    color: #fcb800;
}

@media (max-width: 1199.98px) {
    .header.header-js-handler.mf-header-classic .header-middle {
        padding: 0 !important;
        border-bottom: none !important;
    }
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li:last-child {
    margin-right: 0;
    padding-right: 0;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 15px;
    background-color: #000000;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li > a,
.header.header-js-handler.mf-header-classic .mf-nav-extra > li > .language-dropdown-active {
    color: var(--mf-bottom-text, #000000);
    font-size: 14px;
    font-weight: 400;
    padding: 15px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li > .language-dropdown-active img {
    width: 18px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.header.header-js-handler.mf-header-classic .mf-nav-extra > li > a:hover,
.header.header-js-handler.mf-header-classic .mf-nav-extra > li > .language-dropdown-active:hover {
    color: #ffffff;
}


/* =========================================================
   11. MartFury Search Trending (.ps-search-trending)
   ========================================================= */
.ps-search-trending {
    padding: 70px 0;
    margin: 0;
    background-color: #eeeeee;
}

.ps-search-trending .ps-section__header {
    margin-bottom: 20px;
    padding: 0;
    border-bottom: none;
}

.ps-search-trending .ps-section__header h3 {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.ps-search-trending .ps-section__header h3 span {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin-left: 10px;
}

.ps-search-trending .ps-block--categories-tabs {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
}

.ps-search-trending .ps-block__header {
    padding: 0 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ps-search-trending .ps-block__header::-webkit-scrollbar {
    display: none;
}

.ps-search-trending .ps-tab-list {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    justify-content: space-between;
}

.ps-search-trending .ps-tab-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 12px;
    min-width: 118px;
    flex: 1 0 auto;
    border-bottom: 2px solid transparent;
    color: #000000;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ps-search-trending .ps-tab-list a i {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 10px;
    color: #000000;
    transition: color 0.25s ease;
}

.ps-search-trending .ps-tab-list a span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #000000;
}

.ps-search-trending .ps-tab-list a.active,
.ps-search-trending .ps-tab-list a:hover {
    border-bottom-color: #fcb800;
}

.ps-search-trending .ps-tab-list a.active i,
.ps-search-trending .ps-tab-list a:hover i {
    color: #fcb800;
}

.ps-search-trending .ps-tabs {
    border-top: 1px solid #e1e1e1;
}

.ps-search-trending .ps-tabs .ps-tab {
    display: none;
    padding: 20px 60px 20px;
}

.ps-search-trending .ps-tabs .ps-tab.active {
    display: block;
}

.ps-search-trending .ps-block__item {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    text-align: center;
}

.ps-search-trending .ps-block__item a {
    display: block;
    flex: 0 0 12.5%;
    max-width: 12.5%;
    margin-bottom: 36px;
    padding: 0 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
}

.ps-search-trending .ps-block__item a img {
    display: block;
    margin: 0 auto 8px;
    max-height: 120px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease-out;
}

.ps-search-trending .ps-block__item a:hover img {
    transform: scale(1.1);
}

.ps-search-trending .ps-block__item a span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ps-search-trending .ps-block__item a:hover span {
    color: #fcb800;
}

@media (max-width: 1199.98px) {
    .ps-search-trending .ps-tabs .ps-tab {
        padding: 20px 30px;
    }

    .ps-search-trending .ps-tab-list a {
        min-width: 104px;
        padding: 16px 10px;
    }

    .ps-search-trending .ps-tab-list a i {
        font-size: 30px;
    }

    .ps-search-trending .ps-tab-list a span {
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .ps-search-trending .ps-block__item a {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 767.98px) {
    .ps-search-trending .ps-tabs .ps-tab {
        padding: 20px 15px;
    }

    .ps-search-trending .ps-block__item a {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 479.98px) {
    .ps-search-trending .ps-section__header h3 {
        font-size: 18px;
    }

    .ps-search-trending .ps-section__header h3 span {
        font-size: 12px;
    }

    .ps-search-trending .ps-block__header {
        padding: 0 15px;
    }

    .ps-search-trending .ps-tabs .ps-tab {
        padding: 20px 10px;
    }

    .ps-search-trending .ps-block__item a {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}


/* =========================================================
   12. MartFury Category Product Box (.ps-block--product-box)
   ========================================================= */
.mf-product-box-section {
    background-color: #eeeeee;
    padding: 20px 0;
}

.ps-block--product-box {
    background-color: #ffffff;
    margin-bottom: 10px;
}

.ps-block--product-box .ps-block__header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e1e1e1;
}

.ps-block--product-box .ps-block__header h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

.ps-block--product-box .ps-block__header h3 a {
    color: #000000;
    text-decoration: none;
}

.ps-block--product-box .ps-block__header h3 a:hover {
    color: #fcb800;
}

.ps-block--product-box .ps-block__header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ps-block--product-box .ps-block__header ul li a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ps-block--product-box .ps-block__header ul li a:hover {
    color: #fcb800;
}

.ps-block--product-box .ps-block__content {
    display: flex;
    flex-flow: row nowrap;
}

.ps-block--product-box .ps-block__left {
    padding: 20px;
    width: calc(100% - 320px);
    max-width: calc(100% - 320px);
    border-right: 1px solid #e1e1e1;
}

.ps-block--product-box .mf-box-banner {
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.ps-block--product-box .mf-box-banner a {
    display: block;
}

.ps-block--product-box .mf-box-banner img {
    width: 100%;
    aspect-ratio: 829 / 241;
    max-height: 270px;
    object-fit: cover;
    display: block;
}

.ps-block--product-box .ps-block__products .ps-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0 0 15px 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #e1e1e1;
}

.ps-block--product-box .ps-block__products .ps-tab-list a {
    line-height: 20px;
    font-size: 16px;
    color: #666666;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ps-block--product-box .ps-block__products .ps-tab-list li.active a,
.ps-block--product-box .ps-block__products .ps-tab-list a:hover {
    color: #fcb800;
    font-weight: 500;
}

.ps-block--product-box .ps-block__products .ps-tabs .ps-tab {
    display: none;
}

.ps-block--product-box .ps-block__products .ps-tabs .ps-tab.active {
    display: block;
}

.ps-block--product-box .ps-block__right {
    width: 320px;
    max-width: 320px;
    padding: 20px;
    flex-shrink: 0;
}

.ps-block--product-box .ps-block__right figure {
    margin: 0;
}

.ps-block--product-box .ps-block__right figcaption {
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    border-bottom: 1px solid #e1e1e1;
}

.ps-block--product-box .ps-product--horizontal {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 22px;
    padding-right: 10px;
}

.ps-block--product-box .ps-product--horizontal:last-child {
    margin-bottom: 0;
}

.ps-block--product-box .ps-product--horizontal .ps-product__thumbnail {
    width: 60px;
    max-width: 60px;
    flex-shrink: 0;
}

.ps-block--product-box .ps-product--horizontal .ps-product__thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.ps-block--product-box .ps-product--horizontal .ps-product__content {
    width: 100%;
    padding-left: 16px;
}

.ps-block--product-box .ps-product--horizontal .ps-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25em;
    color: #0066cc;
    margin-bottom: 4px;
    text-decoration: none;
}

.ps-block--product-box .ps-product--horizontal .ps-product__title:hover {
    color: #fcb800;
}

.ps-block--product-box .ps-product--horizontal .star-rating-wrapper {
    margin: 0 0 4px !important;
}

.ps-block--product-box .ps-product--horizontal .ps-product__price .product-price-original .amount,
.ps-block--product-box .ps-product--horizontal .ps-product__price .product-price-sale ins .amount {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

.ps-block--product-box .ps-product--horizontal .ps-product__price.sale .product-price-sale ins .amount {
    color: #d62a00 !important;
}

.ps-block--product-box .ps-product--horizontal .ps-product__price del,
.ps-block--product-box .ps-product--horizontal .ps-product__price del .amount {
    font-size: 12px !important;
    color: #666666 !important;
}

@media (max-width: 1199.98px) {
    .ps-block--product-box .ps-block__header {
        flex-flow: row wrap;
        gap: 10px;
    }
}

@media (max-width: 991.98px) {
    .ps-block--product-box .ps-block__content {
        flex-flow: column wrap;
    }

    .ps-block--product-box .ps-block__left {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
    }

    .ps-block--product-box .ps-block__right {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .ps-block--product-box .mf-box-banner img {
        height: 130px;
    }

    .ps-block--product-box .ps-block__left,
    .ps-block--product-box .ps-block__right {
        padding: 14px;
    }
}


/* =========================================================
   13. MartFury Autopart Slider (1920x430 Desktop/Tablet + Mobile)
   ========================================================= */
.mf-autopart-slider {
    position: relative;
    width: 100%;
    max-width: 1920px;
    padding: 0;
    margin: 0 auto;
    background-color: #ffffff;
    overflow: hidden;
}

.mf-autopart-slider .ps-banner--autopart {
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

.mf-autopart-slider .ps-banner--autopart img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 1920px;
    aspect-ratio: 1920 / 430 !important;
    object-fit: cover;
    margin: 0 auto;
}

.mf-autopart-slider .ps-banner__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    width: 100%;
    padding-left: 140px;
    padding-right: 40px;
    z-index: 3;
}

.mf-autopart-slider .ps-banner__content h4 {
    text-transform: uppercase;
    font-weight: 600;
    color: #0098ce;
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 10px 0;
}

.mf-autopart-slider .ps-banner__content h3 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2em;
    color: #000000;
    margin: 0 0 10px 0;
}

.mf-autopart-slider .ps-banner__content p {
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
    margin: 0;
}

.mf-autopart-slider .ps-banner__content .ps-btn {
    display: inline-block;
    background-color: #dd2400;
    color: #ffffff !important;
    padding: 12px 24px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.mf-autopart-slider .ps-banner__content .ps-btn:hover {
    background-color: #b81e00;
}

/* Prev / Next transparent 48x48 arrows */
.mf-autopart-slider .mf-autopart-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 4;
    pointer-events: none;
}

.mf-autopart-slider .mf-autopart-arrows .slick-arrow {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border: none;
    background-color: transparent !important;
    color: #000000 !important;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none !important;
}

/* Pagination dots */
.mf-autopart-slider .slick-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 4;
}

.mf-autopart-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 0;
    color: transparent;
    cursor: pointer;
}

.mf-autopart-slider .slick-dots li.slick-active button {
    background-color: #dd2400;
}

@media (max-width: 1366px) {
    .mf-autopart-slider .ps-banner__content h4 {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    .mf-autopart-slider .ps-banner__content {
        padding: 0 30px;
    }

    .mf-autopart-slider .ps-banner__content h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .mf-autopart-slider .ps-banner__content h3 {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .mf-autopart-slider .ps-banner__content .ps-btn {
        padding: 8px 18px;
        margin-top: 10px;
        font-size: 14px;
    }

    .mf-autopart-slider .mf-autopart-arrows {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .mf-autopart-slider {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }

    .mf-autopart-slider .ps-banner--autopart img {
        width: 100% !important;
        height: auto !important;
        max-width: 800px;
        aspect-ratio: 800 / 450 !important;
        object-fit: cover;
        margin: 0 auto;
    }

    .mf-autopart-slider .ps-banner__content {
        padding: 0 20px;
    }

    .mf-autopart-slider .ps-banner__content h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .mf-autopart-slider .ps-banner__content h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .mf-autopart-slider .ps-banner__content p {
        font-size: 12px;
    }

    .mf-autopart-slider .ps-banner__content .ps-btn {
        padding: 8px 16px;
        margin-top: 10px;
        font-size: 13px;
    }
}


/* =========================================================
   14. Featured Brands Box Marquee (.mf-brand-marquee-wrap)
   ========================================================= */
.mf-brand-marquee-wrap {
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    position: relative;
}

.mf-brand-marquee-track {
    display: flex;
    width: max-content;
    animation: mfBrandMarquee 28s linear infinite;
}

.mf-brand-marquee-wrap:hover .mf-brand-marquee-track {
    animation-play-state: paused;
}

.mf-brand-marquee-group {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
}

.mf-brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 74px;
    padding: 12px 20px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
    border: 1px solid #cce7f8;
    box-shadow: 0 4px 12px rgba(0, 120, 210, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mf-brand-box:hover {
    transform: translateY(-2px);
    border-color: #7cc4f5;
    box-shadow: 0 6px 18px rgba(0, 120, 210, 0.14);
}

.mf-brand-box img {
    display: block;
    max-width: 100%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes mfBrandMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .mf-brand-box {
        width: 150px;
        height: 62px;
        padding: 10px 14px;
    }

    .mf-brand-box img {
        max-height: 38px;
    }

    .mf-brand-marquee-group {
        gap: 12px;
        padding-right: 12px;
    }
}


/* =========================================================
   15. Product Category Banner (1920x400 All Devices)
   ========================================================= */
.mf-category-banner-wrap {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
}

.mf-category-banner-wrap a,
.mf-category-banner-wrap picture,
.mf-category-banner-wrap img {
    display: block !important;
    width: 100% !important;
}

.mf-category-banner-wrap img {
    height: auto !important;
    max-width: 1920px;
    aspect-ratio: 1920 / 400 !important;
    object-fit: cover;
    margin: 0 auto;
}


/* =========================================================
   16. MartFury Theme Ads #1 - Equal Columns (.mf-theme-ads-equal)
   ========================================================= */
.mf-theme-ads-equal {
    margin: 24px 0;
}

.mf-theme-ads-equal .ps-collection {
    display: block;
    border-radius: 0;
    overflow: hidden;
}

.mf-theme-ads-equal .ps-collection a {
    display: block;
}

.mf-theme-ads-equal .ps-collection img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

@media (max-width: 991.98px) {
    .mf-theme-ads-equal .ps-collection {
        margin-bottom: 24px;
    }

    .mf-theme-ads-equal .row > [class*="col-"]:last-child .ps-collection {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .mf-theme-ads-8-4 .row {
        align-items: stretch;
    }

    .mf-theme-ads-8-4 .ps-collection,
    .mf-theme-ads-8-4 .ps-collection a,
    .mf-theme-ads-8-4 .ps-collection img {
        height: 100%;
    }

    .mf-theme-ads-8-4 .ps-collection img {
        object-fit: cover;
    }
}


/* =========================================================
   17. Site Features Card & Mobile Auto-Slider (.mf-site-features-card)
   ========================================================= */
.mf-site-features-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 16px 12px;
    margin: 20px 0;
}

.mf-site-features-card .slick-track {
    display: flex !important;
    align-items: center;
}

.mf-site-features-card .mf-feature-slide {
    position: relative;
    padding: 4px 16px;
    border-right: 1px solid #e5e7eb;
}

.mf-site-features-card .mf-feature-slide:last-child {
    border-right: none;
}

.mf-site-features-card .mf-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mf-site-features-card .mf-feature-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-site-features-card .mf-feature-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.mf-site-features-card .mf-feature-content {
    min-width: 0;
}

.mf-site-features-card .mf-feature-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 2px;
}

.mf-site-features-card .mf-feature-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .mf-site-features-card {
        padding: 12px 6px;
        border-radius: 10px;
        margin: 14px 0;
    }

    .mf-site-features-card .mf-feature-slide {
        padding: 2px 10px;
    }

    .mf-site-features-card .mf-feature-item {
        justify-content: flex-start;
        gap: 8px;
    }

    .mf-site-features-card .mf-feature-icon {
        width: 26px;
        height: 26px;
    }

    .mf-site-features-card .mf-feature-icon img {
        width: 26px;
        height: 26px;
    }

    .mf-site-features-card .mf-feature-title {
        font-size: 12px;
    }

    .mf-site-features-card .mf-feature-desc {
        font-size: 11px;
    }
}


/* =========================================================
   18. Dark Navy Footer + Close Columns w/ Dividers + Right Subscribe
   ========================================================= */
.mf-footer-modern {
    background-color: var(--mf-footer-bg, #0f2137);
    color: var(--mf-footer-link, #cbd5e1);
}

.mf-footer-modern .footer-info {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb !important;
}

.mf-footer-modern .footer-widgets {
    background-color: var(--mf-footer-bg, #0f2137);
    color: var(--mf-footer-link, #cbd5e1);
}

.mf-footer-modern .footer-widgets .row.border-top {
    border-top: none !important;
    padding-top: 36px !important;
    padding-bottom: 32px !important;
    align-items: flex-start;
}

/* Newsletter / Subscribe (QawmiShop / Farmart crisp style) */
.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .widget {
    margin-bottom: 0 !important;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .widget-title {
    color: var(--mf-footer-heading, #ffffff) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .widget-description {
    color: var(--mf-footer-text, #94a3b8) !important;
    font-size: 13px;
    line-height: 1.5;
    padding-bottom: 0 !important;
    margin-bottom: 14px !important;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100%;
    height: 48px !important;
    padding: 4px !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    overflow: hidden;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .input-group-text {
    background-color: #ffffff !important;
    border: none !important;
    color: #6b7280 !important;
    padding: 0 8px 0 10px !important;
    display: inline-flex;
    align-items: center;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .form-control {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px 0 0 !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .btn.btn-primary {
    height: 38px !important;
    min-width: 104px;
    line-height: 1 !important;
    background-color: var(--mf-footer-btn-bg, #ff4949) !important;
    border: none !important;
    color: var(--mf-footer-btn-text, #ffffff) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.mf-footer-modern .footer-widgets .col-xl-3:has(.form-widget) .btn.btn-primary:hover {
    opacity: 0.9;
}

/* Dark navy columns (Site Info + Useful Links + Help Center + Business) */
.mf-footer-modern .footer-widgets .widget-title {
    color: var(--mf-footer-heading, #ffffff) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

.mf-footer-modern .footer-widgets .widget-description,
.mf-footer-modern .footer-widgets li,
.mf-footer-modern .footer-widgets span,
.mf-footer-modern .footer-widgets p {
    color: var(--mf-footer-text, #94a3b8);
    font-size: 13px;
}

.mf-footer-modern .footer-widgets a {
    color: var(--mf-footer-link, #cbd5e1) !important;
    font-size: 13px;
    line-height: 1.85;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mf-footer-modern .footer-widgets a:hover {
    color: var(--mf-footer-hover, #38bdf8) !important;
}

.mf-footer-modern .footer-widgets .svg-icon {
    color: var(--mf-footer-hover, #38bdf8);
}

/* Useful Links, Help Center, Business: close together with vertical dividers */
.mf-footer-modern .footer-widgets .col-xl-2 {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 148px;
    padding: 0 18px !important;
    border-right: 1px solid var(--mf-footer-border, rgba(255, 255, 255, 0.14));
}

.mf-footer-modern .footer-widgets .col-xl-2:has(+ .col-xl-3) {
    border-right: none;
}

.mf-footer-modern .footer-widgets .col-xl-2 .mb-5 {
    margin-bottom: 0 !important;
}

/* Bottom links & copyright bar */
.mf-footer-modern .footer__links {
    border-top: 1px solid var(--mf-footer-border, rgba(255, 255, 255, 0.08));
    padding: 16px 0;
    color: var(--mf-footer-text, #94a3b8);
}

.mf-footer-modern .footer__links strong,
.mf-footer-modern .footer__links p {
    color: var(--mf-footer-link, #cbd5e1) !important;
}

.mf-footer-modern .footer__links a {
    color: var(--mf-footer-text, #94a3b8) !important;
    font-size: 12.5px;
}

.mf-footer-modern .footer__links a:hover {
    color: var(--mf-footer-hover, #38bdf8) !important;
}

.mf-footer-modern > .container-xxxl > .row.border-top {
    border-top: 1px solid var(--mf-footer-border, rgba(255, 255, 255, 0.1)) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.mf-footer-modern .copyright,
.mf-footer-modern .copyright span,
.mf-footer-modern .footer-socials p {
    color: var(--mf-footer-text, #94a3b8) !important;
    font-size: 12.5px;
}

.mf-footer-modern .footer-socials a {
    color: var(--mf-footer-link, #cbd5e1) !important;
}

.mf-footer-modern .footer-socials a:hover {
    color: var(--mf-footer-hover, #38bdf8) !important;
}

/* Mobile footer: 3 close columns with vertical dividers + Subscribe below */
@media (max-width: 1199.98px) {
    .mf-footer-modern .footer-widgets .row.border-top {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        row-gap: 20px;
    }

    .mf-footer-modern .footer-widgets .col-xl-2 {
        flex: 0 0 33.3333% !important;
        width: 33.3333% !important;
        max-width: 33.3333% !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    .mf-footer-modern .footer-widgets .col-xl-2 .widget-title {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    .mf-footer-modern .footer-widgets .col-xl-2 a {
        font-size: 12px !important;
        line-height: 1.7;
    }
}

@media (max-width: 767.98px) {
    .mf-footer-modern .footer-widgets .col-xl-2 {
        padding: 0 8px !important;
    }
}
