:root {
    --hf-brand-blue: #0058b0;
    --hf-brand-blue-dark: #004188;
    --hf-brand-yellow: #f1ed00;
    --hf-brand-yellow-dark: #d8d200;
    --hf-brand-soft: #fffde6;
    --hf-ali-red: var(--hf-brand-blue);
    --hf-ali-red-2: var(--hf-brand-blue-dark);
    --hf-ali-soft: var(--hf-brand-soft);
    --hf-ali-border: #d7e3f5;
    --hf-ali-text: #143c71;
    --hf-ali-muted: #557096;
}

.product-card .product-seller {
    display: none;
}

.product-card .product-title {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.32;
}

.product-card .product-title a {
    font-size: inherit;
    line-height: inherit;
}

.product-card .product-price .price {
    font-size: 0.88rem;
}

.product-card .item-wishlist {
    font-size: 0.86rem;
}

.section-header .title,
.section-related-products .title {
    font-size: clamp(1.3rem, 1.16rem + 0.35vw, 1.5rem);
    line-height: 1.24;
}

/* Header: AliExpress-inspired top utility bar + bold search row */
#header {
    box-shadow: 0 4px 18px rgba(20, 26, 44, 0.08);
    border-bottom: 1px solid #edf0f6;
}

#header .top-bar {
    border-bottom: 0;
    background: linear-gradient(90deg, var(--hf-brand-blue-dark) 0%, var(--hf-brand-blue) 100%);
}

#header .top-bar .navbar-nav {
    padding: 7px 0;
}

#header .top-bar .navbar-nav .nav-item .nav-link,
#header .top-bar .navbar-nav .nav-item .nav-link i,
#header .top-bar .navbar-nav .nav-item .auth-sep {
    color: rgba(255, 255, 255, 0.94);
}

#header .top-bar .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
}

#header .top-bar .profile-dropdown .a-profile img {
    border: 2px solid rgba(255, 255, 255, 0.65);
}

#header .top-bar .profile-dropdown .dropdown-menu li a {
    color: #2f3548 !important;
}

#header .top-bar .btn-modal-location-header,
#header .top-bar .btn-reset-location {
    display: none !important;
}

#header .nav-top {
    padding: 15px 0 11px;
}

#header .nav-top .logo {
    margin-right: 16px;
    flex-shrink: 0;
}

#header .hf-header-location {
    flex-shrink: 0;
    margin-right: 14px;
}

#header .hf-header-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #cdddf3;
    background-color: var(--hf-brand-soft);
    border-radius: 12px;
    padding: 7px 12px;
    color: #134d95;
    min-width: 170px;
    text-align: left;
}

#header .hf-header-location-btn:hover {
    border-color: #9fbce3;
    background-color: #f8f37a;
}

#header .hf-header-location-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fffcd1;
    color: var(--hf-brand-blue);
    flex-shrink: 0;
}

#header .hf-header-location-content {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

#header .hf-header-location-label {
    display: block;
    font-size: 11px;
    line-height: 12px;
    color: #36629a;
}

#header .hf-header-location-value {
    display: block;
    font-size: 13px;
    line-height: 16px;
    color: #0d468b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    font-weight: 600;
}

#header .nav-top-left .top-search-bar {
    flex: 1;
    min-width: 0;
}

#header .top-search-bar .form_search_main {
    position: relative;
}

#header .top-search-bar .input-search {
    border: 2px solid var(--hf-ali-red) !important;
    border-radius: 999px !important;
    background: #fff !important;
    height: 48px;
    padding-right: 58px !important;
    box-shadow: 0 5px 16px rgba(255, 87, 40, 0.12);
}

#header .top-search-bar .btn-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0 !important;
    color: var(--hf-brand-blue);
    background: linear-gradient(90deg, var(--hf-brand-yellow), var(--hf-brand-yellow-dark));
    position: absolute;
    top: 4px;
    right: 4px;
}

#header .top-search-bar .btn-search i {
    color: var(--hf-brand-blue);
}

#header .nav-top-right .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 10px;
    padding: 8px 10px;
    color: #3d455c;
}

#header .nav-top-right .nav-item > a:hover {
    background-color: var(--hf-ali-soft);
    color: #d4542a !important;
}

#header .btn-sell-now {
    border-radius: 999px;
    border: 0 !important;
    background: linear-gradient(90deg, var(--hf-ali-red), var(--hf-ali-red-2)) !important;
    box-shadow: 0 8px 18px rgba(255, 96, 37, 0.22);
}

#header .nav-main {
    border-top: 1px solid #f1f3f8;
}

#header .mega-menu > .nav-item > .nav-link {
    color: #313a50;
    font-weight: 600;
    border-radius: 999px;
    padding: 11px 14px;
}

#header .mega-menu > .nav-item > .nav-link:hover {
    color: #c5491f;
    background-color: #fff3ed;
}

#header .hf-mobile-header-location-wrap {
    padding: 0 10px 10px;
}

#header .hf-mobile-header-location {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--hf-ali-red), var(--hf-ali-red-2));
}

#header .hf-mobile-header-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75vw;
}

/* Footer: dark AliExpress-style information block */
#footer {
    margin-top: 70px;
    color: #d8e7fb;
    background: linear-gradient(180deg, var(--hf-brand-blue) 0%, var(--hf-brand-blue-dark) 100%);
}

#footer .footer-top {
    padding: 52px 0;
}

#footer .hf-footer-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 34px;
}

#footer .hf-footer-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
}

#footer .hf-footer-benefit svg {
    color: #ffb798;
    flex-shrink: 0;
    margin-top: 1px;
}

#footer .hf-footer-benefit-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 3px;
}

#footer .hf-footer-benefit-text span {
    display: block;
    color: #d4d9e6;
    font-size: 12px;
    line-height: 1.4;
}

#footer .footer-title {
    color: var(--hf-brand-yellow);
    letter-spacing: 0.02em;
}

#footer .footer-about,
#footer .newsletter-footer .title-desc,
#footer .footer-bottom .copyright,
#footer .nav-footer ul li a,
#footer .nav-footer-bottom li a {
    color: #c7cfdf;
}

#footer .nav-footer ul li a:hover,
#footer .nav-footer-bottom li a:hover {
    color: #fff;
    border-color: #fff;
}

#footer .footer-social-links ul li a {
    border-color: rgba(255, 255, 255, 0.25);
    color: #e8ecf7;
    background-color: rgba(255, 255, 255, 0.04);
}

#footer .footer-social-links ul li a:hover {
    color: var(--hf-brand-blue) !important;
    border-color: var(--hf-brand-yellow) !important;
    background-color: var(--hf-brand-yellow);
}

#footer .form-newsletter-footer input {
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

#footer .form-newsletter-footer input::placeholder {
    color: #c0c8db;
}

#footer .form-newsletter-footer .btn-custom {
    border-radius: 10px;
    border: 0 !important;
    color: var(--hf-brand-blue) !important;
    background: linear-gradient(90deg, var(--hf-brand-yellow), var(--hf-brand-yellow-dark)) !important;
}

#footer .footer-payment-icons img {
    opacity: 0.9;
}

#footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Product detail page refresh */
.hf-product-page {
    background: linear-gradient(180deg, #f4f6fa 0, #ffffff 250px);
}

.hf-product-page .nav-breadcrumb {
    margin-bottom: 14px;
}

.hf-product-page .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 14px;
}

.hf-product-page .breadcrumb-item + .breadcrumb-item::before {
    color: #a6adbd;
}

.hf-product-page .breadcrumb-item a {
    color: #6c7488;
}

.hf-product-page .breadcrumb-item.active {
    color: #323b50;
}

.hf-product-page .hf-product-service-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hf-product-page .hf-product-service-strip span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #be4f29;
    background: #fff2ec;
    border: 1px solid #ffd2c2;
}

.hf-product-page .hf-product-details-shell {
    min-height: 0;
    margin-bottom: 22px;
}

.hf-product-page .col-product-details-left #product_slider_container,
.hf-product-page .col-product-details-right #response_product_details {
    background-color: #fff;
    border: 1px solid var(--hf-ali-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(20, 26, 44, 0.06);
}

.hf-product-page .product-slider-wrapper .slider-for-container {
    border: 0;
    border-radius: 12px;
    background: #f8f9fd;
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active img {
    border-color: var(--hf-ali-red);
}

.hf-product-page .product-title {
    color: var(--hf-ali-text);
    font-size: 1.65rem;
    line-height: 1.32;
}

.hf-product-page .product-content-details .meta {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ebeef5;
    background: #f8f9fd;
}

.hf-product-page .product-price-container .final-price {
    color: #ff3b2f;
    font-size: 2.3rem;
    letter-spacing: -0.02em;
}

.hf-product-page .product-price-container .original-price {
    font-size: 1.15rem;
    color: #8e97ab;
}

.hf-product-page .product-price-container .original-price::after {
    background-color: #aeb5c4;
    height: 1px;
}

.hf-product-page .product-price-container .discount-rate {
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--hf-ali-red), var(--hf-ali-red-2));
}

.hf-product-page .btn-contact-seller {
    border-radius: 999px;
    border: 1px solid #ffb89e;
    background-color: #fff2ec;
    color: #ce4b1f;
    font-weight: 600;
    padding: 9px 18px;
}

.hf-product-page .btn-contact-seller:hover {
    color: #b23f17;
    background-color: #ffe6dc;
}

.hf-product-page .product-content-details .details {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed #dfe4ef;
}

.hf-product-page .product-content-details .details .item-details {
    margin-bottom: 10px;
}

.hf-product-page .product-content-details .details .item-details .left {
    width: 140px;
}

.hf-product-page .product-content-details .details span {
    color: #25304a;
}

.hf-product-page .product-add-to-cart-container {
    margin-top: 4px;
    gap: 12px;
}

.hf-product-page .product-add-to-cart-container .button-container {
    min-width: 205px;
}

.hf-product-page .product-add-to-cart-container .button-container .btn-product-cart {
    height: 50px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, var(--hf-ali-red), var(--hf-ali-red-2)) !important;
    box-shadow: 0 8px 18px rgba(255, 96, 37, 0.3);
}

.hf-product-page .product-add-to-cart-container .button-container .btn-product-cart:disabled {
    color: #747d90 !important;
    background: #d8dde8 !important;
    box-shadow: none;
}

.hf-product-page .number-spinner {
    border-radius: 999px !important;
    border: 1px solid #e1e6f1;
}

.hf-product-page .number-spinner input {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.hf-product-page .number-spinner .btn-spinner-minus {
    border-right: 1px solid #e1e6f1 !important;
}

.hf-product-page .number-spinner .btn-spinner-plus {
    border-left: 1px solid #e1e6f1 !important;
}

.hf-product-page .button-container-wishlist .btn-wishlist {
    display: inline-flex;
    align-items: center;
    height: 50px;
    border: 1px solid #e2e6f1;
    border-radius: 999px;
    line-height: normal !important;
    padding: 0 18px;
    color: #353f59;
    font-weight: 600;
}

.hf-product-page .button-container-wishlist .btn-wishlist i {
    font-size: 20px;
}

.hf-product-page .button-container-wishlist .btn-wishlist span {
    top: 0;
}

.hf-product-page .button-container-wishlist .btn-wishlist:hover {
    border-color: #ffb89e;
    color: #ce4b1f;
}

.hf-product-page .product-delivery-est {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #dfe4ef;
}

.hf-product-page .product-delivery-est .item {
    color: #4e5871;
    margin-bottom: 11px;
}

.hf-product-page .product-delivery-est .badge-info-light {
    border-radius: 999px;
    border: 1px solid #ffd2c2;
    background-color: #fff2ec;
    color: #c75023;
    padding: 7px 11px;
}

.hf-product-page .product-description {
    margin-bottom: 58px;
    padding: 24px;
    border: 1px solid var(--hf-ali-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 26, 44, 0.06);
}

.hf-product-page .nav-tabs-horizontal {
    border-bottom: 1px solid #e8ecf4 !important;
}

.hf-product-page .nav-tabs-horizontal .nav-item .nav-link {
    padding: 14px 20px;
    margin-right: 0;
    color: #5e677e !important;
    border-bottom: 3px solid transparent !important;
}

.hf-product-page .nav-tabs-horizontal .nav-item .active,
.hf-product-page .nav-tabs-horizontal .nav-item .nav-link:hover {
    color: var(--hf-ali-red) !important;
    border-bottom-color: var(--hf-ali-red) !important;
}

.hf-product-page .product-description .tab-content .tab-pane {
    padding-top: 20px;
    min-height: 180px;
}

.hf-product-page .product-description .description {
    color: #2d3751;
    font-size: 15px;
    line-height: 1.8;
}

.hf-product-page .table-product-shipping .td-left,
.hf-product-page .table-product-additional-information .td-left {
    color: #2f3850;
}

.hf-product-page .section-related-products {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem !important;
}

.hf-product-page .section-related-products .title {
    color: #25304a;
    font-size: 0.88rem;
}

.hf-product-page .section-related-products .card-body {
    padding: 0.5rem 0.5rem 0.6rem;
}

.hf-product-page .section-related-products .product-title,
.hf-product-page .section-related-products .product-title a {
    font-size: 0.66rem !important;
    line-height: 1.08 !important;
}

.hf-product-page .section-related-products .product-title {
    margin-bottom: 0.28rem !important;
}

.hf-product-page .section-related-products .product-price .price {
    font-size: 0.58rem !important;
}

.hf-product-page .section-related-products .product-rating,
.hf-product-page .section-related-products .item-wishlist {
    font-size: 0.52rem !important;
}

.hf-product-page .section-related-products .row-product {
    margin-bottom: 0.5rem;
}

.hf-product-page .section-related-products .row-custom.text-center {
    margin-top: 0.25rem;
    margin-bottom: 0 !important;
}

.hf-product-page .section-related-products .link-see-more {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
}

.hf-product-page .section-related-products + .section-related-products {
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    .hf-product-page .col-product-details-right #response_product_details {
        position: sticky;
        top: 14px;
    }
}

@media (max-width: 1399px) {
    #header .hf-header-location-label {
        display: none;
    }

    #header .hf-header-location-value {
        max-width: 92px;
    }
}

@media (max-width: 1199px) {
    #footer .hf-footer-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #footer {
        margin-top: 44px;
    }

    .hf-product-page .product-title {
        font-size: 1.4rem;
    }

    .hf-product-page .col-product-details-left #product_slider_container,
    .hf-product-page .col-product-details-right #response_product_details {
        border-radius: 12px;
        padding: 14px;
    }

    .hf-product-page .product-price-container .final-price {
        font-size: 1.9rem;
    }

    .hf-product-page .product-description {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 28px;
        min-height: 0;
    }

    .hf-product-page .product-description .tab-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hf-product-page .product-description .tab-content > .tab-pane,
    .hf-product-page .product-description .tab-content .tab-pane {
        display: block !important;
        float: none;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
    }

    .hf-product-page .product-description .tab-content .card {
        float: none;
        margin: 0;
        border: 1px solid #dbe6f3 !important;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(15, 42, 82, 0.05);
    }

    .hf-product-page .product-description .tab-content .card .card-header {
        display: block !important;
        margin-bottom: 0;
        border-bottom: 1px solid #e4ebf6;
        background: linear-gradient(90deg, rgba(11, 77, 154, 0.08), rgba(255, 203, 44, 0.15));
    }

    .hf-product-page .product-description .tab-content .card-header .card-link {
        padding: 0.95rem 1rem;
        color: #173c68;
        font-size: 1rem;
        font-weight: 800;
    }

    .hf-product-page .product-description .tab-content .card-header .card-link i {
        color: #0b4d9a;
        font-size: 1.1rem;
    }

    .hf-product-page .product-description .collapse-description-content {
        display: none;
        margin: 0;
    }

    .hf-product-page .product-description .collapse-description-content.show {
        display: block;
    }

    .hf-product-page .product-description .tab-content-inner,
    .hf-product-page .product-description #review-result,
    .hf-product-page .product-description .comments-container,
    .hf-product-page .product-description .reviews-container {
        margin: 0;
        padding: 0.9rem 1rem 1rem;
    }

    .hf-product-page .product-description .description {
        padding-bottom: 0;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .hf-product-page .product-description .row-custom.text-right.m-b-10 {
        margin-top: 0.8rem;
        margin-bottom: 0 !important;
    }

    .hf-product-page .table-product-shipping {
        margin-bottom: 0;
    }

    .hf-product-page .table-product-shipping td,
    .hf-product-page .table-product-additional-information td {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .hf-product-page .product-shipping-methods:empty,
    .hf-product-page .product-location-map:empty {
        display: none;
    }

    .hf-product-page .product-add-to-cart-container .button-container {
        min-width: 100%;
        width: 100%;
    }

    .hf-product-page .product-add-to-cart-container .button-container .btn-product-cart {
        width: 100%;
    }

    .hf-product-page .product-add-to-cart-container .button-container-wishlist {
        width: 100% !important;
    }

    .hf-product-page .button-container-wishlist .btn-wishlist {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    #footer .hf-footer-benefits {
        grid-template-columns: 1fr;
    }

    .hf-product-page .hf-product-service-strip span {
        font-size: 11px;
        padding: 6px 10px;
    }

    .product-card .product-title {
        font-size: 0.84rem;
    }

    .product-card .product-price .price,
    .product-card .item-wishlist {
        font-size: 0.82rem;
    }

    .section-header .title,
    .section-related-products .title {
        font-size: 0.88rem;
    }

    .hf-product-page .section-related-products .product-title,
    .hf-product-page .section-related-products .product-title a {
        font-size: 0.58rem !important;
    }

    .hf-product-page .section-related-products .product-price .price,
    .hf-product-page .section-related-products .product-rating,
    .hf-product-page .section-related-products .item-wishlist {
        font-size: 0.5rem !important;
    }
}

/* Flipkart-inspired blue/yellow refinement */
:root {
    --hf-brand-blue: #2874f0;
    --hf-brand-blue-dark: #1f5fc4;
    --hf-brand-yellow: #ffe11b;
    --hf-brand-yellow-dark: #f7c800;
    --hf-brand-soft: #f5f9ff;
    --hf-ali-red: var(--hf-brand-blue);
    --hf-ali-red-2: var(--hf-brand-blue-dark);
    --hf-ali-soft: #f5f9ff;
    --hf-ali-border: #d9e6fb;
    --hf-ali-text: #1c3c72;
    --hf-ali-muted: #5d77a3;
}

body {
    background: #f1f3f6;
    color: #172337;
}

#header {
    box-shadow: 0 2px 10px rgba(15, 52, 96, 0.08);
    border-bottom: 0;
}

#header .top-bar {
    background: var(--hf-brand-blue);
}

#header .nav-top {
    padding: 12px 0 10px;
    background: var(--hf-brand-blue);
}

#header .nav-main {
    border-top: 0;
    background: #ffffff;
    box-shadow: inset 0 -1px 0 #e7edf8;
}

#header .hf-header-location-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

#header .hf-header-location-btn:hover {
    border-color: rgba(255, 255, 255, 0.44);
    background-color: rgba(255, 255, 255, 0.18);
}

#header .hf-header-location-icon {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--hf-brand-yellow);
}

#header .hf-header-location-label,
#header .hf-header-location-value {
    color: #ffffff;
}

#header .top-search-bar .input-search {
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none;
    height: 46px;
    background: #ffffff !important;
}

#header .hf-search-select-wrap {
    border-radius: 8px 0 0 8px;
    background: #f0f5ff;
    border-right: 1px solid #d7e3f7;
}

#header .top-search-bar .btn-search {
    border-radius: 0 8px 8px 0;
    width: 52px;
    height: 46px;
    top: 0;
    right: 0;
    background: var(--hf-brand-yellow);
    box-shadow: none;
}

#header .top-search-bar .btn-search:hover {
    background: var(--hf-brand-yellow-dark);
}

#header .nav-top-right .nav-item > a {
    color: #ffffff;
}

#header .nav-top-right .nav-item > a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

#header .btn-sell-now {
    background: var(--hf-brand-yellow) !important;
    color: #17325c !important;
    box-shadow: none;
}

#header .btn-sell-now:hover {
    background: var(--hf-brand-yellow-dark) !important;
}

#header .mega-menu > .nav-item > .nav-link {
    color: #172337;
    font-weight: 600;
    border-radius: 8px;
}

#header .mega-menu > .nav-item > .nav-link:hover {
    color: var(--hf-brand-blue);
    background-color: #eef4ff;
}

#header .hf-mobile-header-location {
    background: var(--hf-brand-blue);
    color: #ffffff;
}

.section-header .title,
.section-related-products .title {
    color: #172337;
}

.product-card {
    border: 1px solid #e7edf5;
    border-radius: 10px;
    box-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: #d2def5;
    box-shadow: 0 8px 18px rgba(33, 84, 156, 0.08);
}

.product-card .product-title,
.product-card .product-title a {
    color: #172337;
}

.product-card .product-title a:hover {
    color: var(--hf-brand-blue);
}

.product-card .product-price,
.product-card .product-price .price,
.hf-product-page .product-price,
.hf-product-page .product-price .price {
    color: #111111 !important;
    font-weight: 700;
}

.btn,
.button,
button.btn,
a.btn {
    border-radius: 8px;
}

.btn-primary,
.btn.btn-primary,
.pagination .active a,
.pagination .active span {
    background: var(--hf-brand-blue) !important;
    border-color: var(--hf-brand-blue) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--hf-brand-blue-dark) !important;
    border-color: var(--hf-brand-blue-dark) !important;
}

.badge,
.product-badge,
.label,
.tag-discount {
    border-radius: 6px;
}

.badge-warning,
.badge-yellow,
.tag-discount,
.product-card .item-badge-sale {
    background: var(--hf-brand-yellow) !important;
    color: #17325c !important;
}

a,
.link,
.link-blue {
    color: var(--hf-brand-blue);
}

a:hover,
.link:hover,
.link-blue:hover {
    color: var(--hf-brand-blue-dark);
}

#footer {
    background: #172337;
    color: #d6e4ff;
}

#footer a {
    color: #ffe11b;
}

#footer a:hover {
    color: #fff28a;
}

/* Remove all remaining multicolor accents */
#header .top-bar,
#header .nav-top,
#header .hf-mobile-header-location,
#header .btn-sell-now,
#footer,
.hf-profile-card,
.hf-profile-hero,
.hf-profile-summary,
.hf-admin-shell .topbar,
.hf-admin-shell .sidebar {
    background-image: none !important;
}

#header .top-bar,
#header .nav-top,
#header .hf-mobile-header-location,
.hf-profile-card,
.hf-profile-hero,
.hf-profile-summary {
    background-color: var(--hf-brand-blue) !important;
}

#header .btn-sell-now,
#header .top-search-bar .btn-search,
.badge-warning,
.badge-yellow,
.tag-discount,
.product-card .item-badge-sale {
    background-image: none !important;
    background-color: var(--hf-brand-yellow) !important;
}

#footer {
    background-color: #172337 !important;
}

.section .section-header::after,
.section-header::after,
.title::after,
.section-title::after,
.hf-accent-line,
.hf-color-line,
.hf-rainbow-line,
.product-section-title::after,
.tab-box-title::after {
    background-image: none !important;
    background: var(--hf-brand-blue) !important;
}

.section .section-header::before,
.section-header::before,
.product-section-title::before {
    background-image: none !important;
    background: var(--hf-brand-yellow) !important;
}

[style*="linear-gradient"],
[style*="radial-gradient"] {
    background-image: none !important;
}

/* Amazon-style cleanup for header and search */
:root {
    --hf-amz-navy: var(--hf-brand-blue-dark);
    --hf-amz-blue: var(--hf-brand-blue);
    --hf-amz-blue-2: #004a98;
    --hf-amz-accent: var(--hf-brand-yellow);
    --hf-amz-text-light: #f2f8ff;
}

#header .top-bar {
    background: var(--hf-amz-navy);
}

#header .top-bar .navbar-nav .nav-item .nav-link,
#header .top-bar .navbar-nav .nav-item .nav-link i,
#header .top-bar .navbar-nav .nav-item .auth-sep {
    color: #e5edf8;
}

#header .nav-top {
    background: var(--hf-amz-blue);
    padding: 12px 0;
}

#header .hf-header-location-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(19, 25, 33, 0.26);
    color: var(--hf-amz-text-light);
    min-width: 172px;
}

#header .hf-header-location-btn:hover {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(19, 25, 33, 0.38);
}

/* Storefront spacing pass: remove dead space from product cards and keep typography compact but readable */
.section .section-header {
    height: auto;
    min-height: 32px;
    margin-bottom: 12px;
}

.section .title,
.section-header .title,
.section-related-products .title {
    font-size: clamp(1.1rem, 1.02rem + 0.28vw, 1.35rem);
    line-height: 1.18;
}

.section-category-products,
.section-latest-products,
.section-related-products {
    margin-bottom: clamp(1.6rem, 2vw, 2.2rem) !important;
}

.row-product {
    margin-left: -8px;
    margin-right: -8px;
}

.col-product {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

.product-card {
    border-radius: 10px;
}

.product-card .card-body {
    padding: 0.65rem 0.7rem 0.7rem;
}

.product-card .product-title,
.product-card .product-title a {
    font-size: clamp(0.82rem, 0.78rem + 0.12vw, 0.92rem);
    line-height: 1.24;
}

.product-card .product-title {
    margin-bottom: 0.2rem;
    min-height: calc(1.24em * 2);
}

.product-card .product-rating {
    margin-bottom: 0.2rem;
}

.product-card .product-rating .rating i {
    font-size: 0.8rem;
}

.product-card .product-rating .item-wishlist {
    font-size: 0.78rem;
}

.product-card .product-footer {
    margin-top: 0.2rem;
}

.product-card .product-price,
.product-card .product-price .price,
.product-card .a-meta-request-quote,
.product-card .price-free {
    font-size: clamp(0.86rem, 0.82rem + 0.1vw, 0.95rem);
    line-height: 1.15;
}

.product-card .product-price del,
.product-card .discount-original-price {
    font-size: 0.76rem !important;
}

@media (min-width: 1200px) {
    .col-product-5 .product-card,
    .swiper-col-product-5 .product-card {
        min-height: 330px;
    }

    .col-product-6 .product-card,
    .swiper-col-product-6 .product-card {
        min-height: 300px;
    }
}

.hf-product-page .section-related-products {
    margin-top: 0.75rem;
    margin-bottom: 1rem !important;
}

.hf-product-page .section-related-products .title {
    font-size: clamp(1rem, 0.94rem + 0.14vw, 1.1rem);
}

.hf-product-page .section-related-products .card-body {
    padding: 0.56rem 0.58rem 0.62rem;
}

.hf-product-page .section-related-products .product-title,
.hf-product-page .section-related-products .product-title a {
    font-size: 0.78rem !important;
    line-height: 1.18 !important;
}

.hf-product-page .section-related-products .product-price .price {
    font-size: 0.82rem !important;
}

.hf-product-page .section-related-products .product-rating,
.hf-product-page .section-related-products .item-wishlist {
    font-size: 0.74rem !important;
}

@media (max-width: 575px) {
    .section .section-header {
        margin-bottom: 10px;
    }

    .section .title,
    .section-header .title,
    .section-related-products .title {
        font-size: 1rem;
    }

    .row-product {
        margin-left: -6px;
        margin-right: -6px;
    }

    .col-product {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }

    .product-card .card-body {
        padding: 0.58rem 0.62rem 0.62rem;
    }

    .product-card .product-title,
    .product-card .product-title a {
        font-size: 0.8rem;
    }

    .product-card .product-price,
    .product-card .product-price .price,
    .product-card .a-meta-request-quote,
    .product-card .price-free {
        font-size: 0.82rem;
    }

    .product-card .product-rating .item-wishlist {
        font-size: 0.74rem;
    }

    .hf-product-page .section-related-products .product-title,
    .hf-product-page .section-related-products .product-title a {
        font-size: 0.74rem !important;
    }

    .hf-product-page .section-related-products .product-price .price {
        font-size: 0.76rem !important;
    }

    .hf-product-page .section-related-products .product-rating,
    .hf-product-page .section-related-products .item-wishlist {
        font-size: 0.7rem !important;
    }
}

/* Compact public profile refresh */
.img-profile-cover {
    display: none !important;
}

.profile-page-top {
    position: relative;
    margin: 1rem 0 0.85rem;
    padding: 1.2rem 1.3rem 1.05rem;
    border-radius: 1.15rem;
    border: 1px solid #dbe7f5;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 42px rgba(17, 46, 92, 0.08);
    overflow: hidden;
}

.profile-page-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.34rem;
    background: linear-gradient(90deg, #0b4d9a 0%, #1f76d2 60%, #ffcb2c 100%);
}

.profile-page-top::after {
    content: "";
    position: absolute;
    top: -2.4rem;
    right: -1.6rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 203, 44, 0.16), rgba(255, 203, 44, 0));
    pointer-events: none;
}

.profile-details {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.profile-details .left {
    display: block;
    width: 8.8rem;
    min-width: 8.8rem;
    padding-right: 0;
}

.profile-details .img-profile {
    width: 8.8rem;
    height: 8.8rem;
    border-radius: 1rem;
    border: 0.28rem solid #fff;
    object-fit: cover;
    box-shadow: 0 16px 30px rgba(15, 41, 82, 0.12);
}

.profile-details .right {
    display: block;
    min-width: 0;
    width: 100%;
}

.profile-details .right > .row-custom {
    margin-bottom: 0.65rem;
}

.profile-details .right > .row-custom:last-child {
    margin-bottom: 0;
}

.profile-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
}

.profile-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.profile-side {
    width: min(27rem, 100%);
    flex: 0 0 min(27rem, 100%);
    padding: 0.95rem;
    border: 1px solid #e1ebf7;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
}

.row-profile-username {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.08;
    margin-bottom: 0.2rem;
}

.profile-details .username {
    font-size: clamp(1.75rem, 1.55rem + 0.7vw, 2.15rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #163964;
}

.icon-verified-member {
    color: #ffcb2c;
    font-size: 1.45rem;
    line-height: 1;
    margin-left: 0;
}

.profile-details .p-last-seen {
    margin-bottom: 0;
}

.last-seen {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.76rem;
    border-radius: 999px;
    border: 1px solid #dfe9f5;
    background: #fff;
    color: #5a6d80;
    font-size: 0.84rem;
    font-weight: 700;
}

.last-seen i {
    margin-right: 0.45rem;
    color: #b8c7d6;
}

.last-seen-online {
    border-color: #bfe5cb;
    background: #effaf3;
    color: #1c7d44;
}

.last-seen-online i {
    color: #8df0a9;
}

.profile-rating,
.profile-number-sales {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    min-height: auto;
    margin-right: 0.55rem;
    margin-bottom: 0.25rem !important;
    padding: 0.44rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
}

.profile-rating {
    background: #fff7d6;
    border-color: #f6e39a;
    color: #715600;
}

.profile-number-sales {
    background: #edf5ff;
    border-color: #d3e4f8;
    color: #1f4f84;
}

.profile-number-sales svg {
    fill: currentColor;
}

.profile-details .description {
    margin-bottom: 0;
    max-width: 42rem;
    color: #445a70;
    font-size: 0.95rem;
    line-height: 1.55;
}

.profile-details .user-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0;
}

.profile-details .user-contact .info {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    padding: 0.48rem 0.76rem;
    border: 1px solid #d7e4f3;
    border-radius: 999px;
    background: #fff;
    color: #51677d;
    font-size: 0.88rem;
    box-shadow: 0 8px 18px rgba(19, 51, 95, 0.04);
}

.profile-details .user-contact .info:last-child {
    border-right: 1px solid #d7e4f3;
}

.profile-details .user-contact .info i {
    margin-right: 0.42rem;
    color: #ffcb2c;
}

.profile-details .user-contact a,
.profile-details .user-contact button {
    color: #0b4d9a;
    font-weight: 700;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.7rem, 1fr));
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.profile-stat-item {
    display: block;
    min-height: 4.2rem;
    padding: 0.72rem 0.68rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #dce8f6;
    text-align: center;
    box-shadow: 0 10px 18px rgba(19, 51, 95, 0.04);
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    cursor: pointer;
}

.profile-stat-item:hover,
.profile-stat-item:focus {
    transform: translateY(-1px);
    border-color: #bfd6f0;
    background: #fefcf2;
    box-shadow: 0 14px 24px rgba(19, 51, 95, 0.08);
    text-decoration: none !important;
}

.profile-stat-item:focus {
    outline: 0;
}

.profile-stat-item:focus-visible {
    outline: 2px solid #ffcb2c;
    outline-offset: 2px;
}

.profile-stat-item strong {
    display: block;
    margin-bottom: 0.18rem;
    color: #163964;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 800;
}

.profile-stat-item span {
    display: block;
    color: #6d7f92;
    font-size: 0.79rem;
    line-height: 1.25;
    font-weight: 600;
}

.profile-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.profile-buttons .buttons,
.profile-buttons .buttons form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: 0;
}

.profile-buttons .btn-outline-gray {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.18rem;
    border: 1px solid #d8e5f4;
    border-radius: 999px;
    background: #fff;
    color: #143867;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(19, 51, 95, 0.05);
}

.profile-buttons .buttons form .btn-outline-gray {
    background: #ffcb2c;
    border-color: #f0c324;
    color: #16355d;
}

.profile-buttons .btn-outline-gray:hover,
.profile-buttons .btn-outline-gray:focus {
    border-color: #bfd4ec;
    background: #f5faff;
    color: #0f3d70;
}

.profile-buttons .buttons form .btn-outline-gray:hover,
.profile-buttons .buttons form .btn-outline-gray:focus {
    background: #ffd64d;
    border-color: #ffd64d;
}

.profile-social-row {
    margin-top: 0.1rem;
}

.profile-social-row .social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-social-row .social li {
    margin: 0;
}

.profile-social-row .social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d8e5f4;
    color: #1f5c9f;
    box-shadow: 0 8px 16px rgba(19, 51, 95, 0.04);
}

.profile-social-row .social li a:hover {
    background: #ffcb2c;
    border-color: #ffcb2c;
    color: #17335c;
}

.report-seller-sidebar-mobile {
    position: relative;
    z-index: 1;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid #e1ebf6;
}

.link-abuse-report {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #6b7c8f !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
}

.link-abuse-report:hover {
    color: #ffcb2c !important;
}

.nav-tabs-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0;
    border-bottom: 1px solid #e3e9f1;
}

.nav-tabs-profile .nav-item {
    margin-bottom: 0;
}

.nav-tabs-profile .nav-link {
    position: relative;
    padding: 0.2rem 0.15rem 0.9rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #6a7887;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
}

.nav-tabs-profile .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 0.22rem;
    border-radius: 999px;
    background: transparent;
}

.nav-tabs-profile .nav-link:hover,
.nav-tabs-profile .nav-link:focus {
    color: #0b4d9a;
}

.nav-tabs-profile .nav-link.active,
.nav-tabs-profile .nav-item.show .nav-link {
    color: #132f54;
}

.nav-tabs-profile .nav-link.active::after,
.nav-tabs-profile .nav-item.show .nav-link::after {
    background: linear-gradient(90deg, #0b4d9a, #ffcb2c);
}

.sidebar-tabs-content {
    min-height: 0;
}

.sidebar-tabs-content.container-products-page {
    margin-bottom: 5rem;
}

@media (max-width: 1199px) {
    .profile-headline {
        flex-direction: column;
    }

    .profile-side {
        width: 100%;
        flex-basis: auto;
        padding: 0.85rem;
    }

    .profile-buttons {
        justify-content: flex-start;
    }

    .profile-buttons .buttons,
    .profile-buttons .buttons form {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .profile-page-top {
        margin-top: 0.85rem;
        padding: 0.95rem;
        border-radius: 1rem;
    }

    .profile-details {
        display: block;
    }

    .profile-details .left {
        width: auto;
        min-width: 0;
        margin-bottom: 0.85rem;
    }

    .profile-details .img-profile {
        width: 6.8rem;
        height: 6.8rem;
    }

    .profile-details .username {
        font-size: 1.5rem;
    }

    .profile-details .description {
        font-size: 0.92rem;
    }

    .profile-details .user-contact .info {
        width: 100%;
        border-radius: 0.85rem;
        justify-content: flex-start;
    }

    .profile-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .profile-stat-item {
        min-height: 4rem;
    }

    .profile-buttons .buttons {
        width: 100%;
    }

    .profile-buttons .buttons form {
        flex: 1 1 100%;
    }

    .profile-buttons .btn-outline-gray,
    .profile-buttons .buttons form .btn-outline-gray {
        width: 100%;
    }

    .nav-tabs-profile {
        gap: 0.8rem;
    }

    .nav-tabs-profile .nav-link {
        padding-bottom: 0.72rem;
        font-size: 0.9rem;
    }

    .sidebar-tabs-content.container-products-page {
        margin-bottom: 3.5rem;
    }
}

/* Brand-only balance: keep the storefront on Hafiexpo blue + yellow */
:root {
    --hf-brand-blue-soft: #edf5ff;
    --hf-brand-blue-mid: #1f6fd4;
    --hf-brand-yellow-soft: #fff8cf;
    --hf-brand-yellow-deep: #d9b800;
    --hf-brand-ink: #18365f;
    --hf-brand-border-soft: #d6e4f6;
}

body {
    color: var(--hf-brand-ink);
}

.product-list-header {
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.product-list-header.no-active-filters {
    justify-content: flex-end;
}

.product-list-header .container-filter-products {
    margin-left: auto;
}

.product-list-header .product-sort-by {
    float: none;
}

.row-show-previous-products {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.row-show-previous-products .col-12 {
    padding-top: 0;
}

.btn-show-previous-products {
    margin-bottom: 0;
    padding: 0.62rem 1.05rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

.product-list-content {
    min-height: 0;
}

@media (max-width: 767px) {
    .product-list-header {
        margin-bottom: 0.5rem;
    }

    .product-list-header.no-active-filters {
        justify-content: stretch;
    }

    .product-list-header .container-filter-products,
    .product-list-header .product-sort-by {
        width: 100%;
    }

    .product-list-header .product-sort-by .dropdown,
    .product-list-header .product-sort-by .dropdown .btn {
        width: 100%;
    }
}

#header {
    border-bottom-color: #dce7f5;
    box-shadow: 0 6px 20px rgba(0, 88, 176, 0.08);
}

#header .top-bar {
    background: linear-gradient(90deg, var(--hf-brand-blue-dark) 0%, var(--hf-brand-blue) 100%) !important;
}

#header .nav-top {
    background: linear-gradient(90deg, #fefefe 0%, #f5faff 58%, #eef6ff 100%);
}

#header .nav-top-right .nav-item > a,
#header .mega-menu > .nav-item > .nav-link {
    color: #23406d;
}

#header .nav-top-right .nav-item > a:hover,
#header .mega-menu > .nav-item > .nav-link:hover {
    color: var(--hf-brand-blue) !important;
    background-color: var(--hf-brand-yellow-soft);
}

#header .hf-header-location-btn {
    border-color: #d6e5f8;
    color: #1a4f92;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

#header .hf-header-location-btn:hover {
    border-color: #b8cff0;
    background: linear-gradient(180deg, #fffef4 0%, #fff7d8 100%);
}

#header .hf-header-location-icon {
    color: var(--hf-brand-blue);
    background: var(--hf-brand-yellow-soft);
}

#header .top-search-bar .input-search {
    border: 2px solid var(--hf-brand-blue) !important;
    box-shadow: 0 7px 18px rgba(0, 88, 176, 0.12);
}

#header .top-search-bar .btn-search {
    background: linear-gradient(135deg, var(--hf-brand-yellow) 0%, #ffd633 100%);
    color: var(--hf-brand-blue);
}

#header .top-search-bar .btn-search i {
    color: var(--hf-brand-blue);
}

#header .btn-sell-now,
.hf-product-page .btn-product-cart,
.btn-product-cart {
    background: linear-gradient(135deg, var(--hf-brand-yellow) 0%, #ffd633 100%) !important;
    color: var(--hf-brand-blue) !important;
    box-shadow: 0 10px 22px rgba(241, 237, 0, 0.22);
}

.section .title,
.section-header .title,
.section-related-products .title {
    color: #1c3764;
}

.section .title::after,
.section-header .title::after,
.section-related-products .title::after {
    background: linear-gradient(90deg, var(--hf-brand-blue) 0%, var(--hf-brand-yellow) 100%);
}

.product-card {
    border-color: var(--hf-brand-border-soft);
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 2px 10px rgba(0, 88, 176, 0.035);
}

.product-card:hover {
    border-color: #d9d457;
    box-shadow: 0 14px 28px rgba(0, 88, 176, 0.11);
}

.product-card .product-card-badge-red {
    background: linear-gradient(135deg, #fff46a 0%, var(--hf-brand-yellow) 100%);
    color: var(--hf-brand-blue);
}

.product-card .product-card-badge-green {
    background: linear-gradient(135deg, var(--hf-brand-blue) 0%, var(--hf-brand-blue-mid) 100%);
    color: #fff;
}

.product-card .action-btn {
    border-color: var(--hf-brand-border-soft);
    color: var(--hf-brand-blue);
}

.product-card .cart-btn {
    border-color: #e7dc72;
    background: linear-gradient(180deg, #fffce0 0%, #fff4b8 100%);
    color: var(--hf-brand-blue);
}

.product-card .wishlist-btn {
    border-color: #d8e5f8;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    color: var(--hf-brand-blue);
}

.product-card .product-title a:hover,
.link-see-more:hover,
.section-related-products .link-see-more:hover {
    color: var(--hf-brand-blue);
}

.product-card .product-rating .rating i.filled,
.product-card .product-rating .rating .icon-star {
    color: var(--hf-brand-yellow-deep);
}

.product-card .product-price del,
.product-card .discount-original-price,
.product-card .product-rating .item-wishlist {
    color: #667a98 !important;
}

.hf-product-page .product-price-container .discount-rate {
    background: linear-gradient(135deg, #fffce0 0%, #fff3b2 100%);
    color: var(--hf-brand-blue);
    border: 1px solid #ece16f;
}

.hf-product-page .hf-product-service-strip span:nth-child(1) {
    background: #fff9d9;
    color: #7b6500;
    border-color: #ece16f;
}

.hf-product-page .hf-product-service-strip span:nth-child(2) {
    background: #eef5ff;
    color: var(--hf-brand-blue);
    border-color: #cadcf3;
}

.hf-product-page .hf-product-service-strip span:nth-child(3) {
    background: #f6fbff;
    color: #2e5d99;
    border-color: #d6e5f8;
}

.hf-product-page .button-container-wishlist .btn-wishlist,
.hf-product-page .btn-wishlist {
    border-color: #d6e5f8;
    color: var(--hf-brand-blue);
}

.link-see-more,
.section-related-products .link-see-more {
    color: #1f3762;
}

#footer {
    color: #d8e7fb;
    background: linear-gradient(180deg, var(--hf-brand-blue) 0%, var(--hf-brand-blue-dark) 100%);
}

#footer .footer-title {
    color: #ffffff;
}

#footer a:hover {
    color: var(--hf-brand-yellow);
}

/* Temu-inspired color remix: warmer mixed accents without changing the site structure */
:root {
    --hf-temu-orange: #ff5a1f;
    --hf-temu-orange-deep: #ef3f23;
    --hf-temu-gold: #ffcb3d;
    --hf-temu-cream: #fff7ef;
    --hf-temu-green: #18a957;
    --hf-temu-purple: #7a35c8;
    --hf-temu-ink: #1f1f24;
    --hf-temu-muted: #6f7280;
    --hf-temu-border: #f2ddd2;
}

body {
    color: var(--hf-temu-ink);
}

#header {
    border-bottom-color: #f0d9cf;
    box-shadow: 0 6px 24px rgba(255, 90, 31, 0.08);
}

#header .top-bar {
    background: linear-gradient(90deg, #18181c 0%, #24242b 100%) !important;
}

#header .nav-top {
    background: linear-gradient(90deg, #fff7ef 0%, #fffdf8 55%, #fff4e8 100%);
}

#header .nav-top-right .nav-item > a,
#header .mega-menu > .nav-item > .nav-link {
    color: #2a2b33;
}

#header .nav-top-right .nav-item > a:hover,
#header .mega-menu > .nav-item > .nav-link:hover {
    color: var(--hf-temu-orange-deep) !important;
    background-color: #fff0e5;
}

#header .hf-header-location-btn {
    border-color: #ffd7bf;
    color: #6b391f;
    background: linear-gradient(180deg, #fff8f1 0%, #ffeeda 100%);
}

#header .hf-header-location-btn:hover {
    border-color: #ffb78d;
    background: linear-gradient(180deg, #fff1e2 0%, #ffe4ca 100%);
}

#header .hf-header-location-icon {
    color: var(--hf-temu-orange);
    background: #fff2d5;
}

#header .top-search-bar .input-search {
    border-color: var(--hf-temu-orange) !important;
    box-shadow: 0 7px 18px rgba(255, 90, 31, 0.14);
}

#header .top-search-bar .btn-search {
    color: #fff;
    background: linear-gradient(135deg, var(--hf-temu-orange) 0%, var(--hf-temu-orange-deep) 60%, #ff7f2f 100%);
}

#header .top-search-bar .btn-search i {
    color: #fff;
}

#header .btn-sell-now {
    background: linear-gradient(135deg, var(--hf-temu-orange) 0%, #ff7a2f 55%, var(--hf-temu-gold) 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 90, 31, 0.24);
}

#header .btn-sell-now:hover {
    filter: saturate(1.05) brightness(0.98);
}

.section .title,
.section-header .title,
.section-related-products .title {
    color: #23242b;
    position: relative;
}

.section .title::after,
.section-header .title::after,
.section-related-products .title::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 4px;
    margin-left: 12px;
    border-radius: 999px;
    vertical-align: middle;
    background: linear-gradient(90deg, var(--hf-temu-orange) 0%, var(--hf-temu-gold) 52%, var(--hf-temu-purple) 100%);
}

.product-card {
    border-color: var(--hf-temu-border);
    background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
    box-shadow: 0 2px 10px rgba(31, 31, 36, 0.03);
}

.product-card:hover {
    border-color: #ffc7aa;
    box-shadow: 0 14px 28px rgba(255, 90, 31, 0.12);
}

.product-card .product-card-badge-red {
    background: linear-gradient(135deg, #ff5178 0%, var(--hf-temu-orange-deep) 100%);
}

.product-card .product-card-badge-green {
    background: linear-gradient(135deg, var(--hf-temu-green) 0%, #0f8a47 100%);
}

.product-card .action-btn {
    border-color: #f1ddd0;
    color: #2a2b33;
}

.product-card .cart-btn {
    border-color: #ffd0b5;
    background: linear-gradient(180deg, #fff4ea 0%, #ffe8d7 100%);
    color: var(--hf-temu-orange-deep);
}

.product-card .wishlist-btn {
    border-color: #e8d8fb;
    background: linear-gradient(180deg, #fbf6ff 0%, #f4edff 100%);
    color: var(--hf-temu-purple);
}

.product-card .product-title,
.product-card .product-title a {
    color: #22242b;
}

.product-card .product-title a:hover {
    color: var(--hf-temu-orange-deep);
}

.product-card .product-price,
.product-card .product-price .price,
.product-card .a-meta-request-quote,
.product-card .price-free {
    color: #111 !important;
}

.product-card .product-price del,
.product-card .discount-original-price,
.product-card .product-rating .item-wishlist {
    color: var(--hf-temu-muted) !important;
}

.product-card .product-rating .rating i.filled,
.product-card .product-rating .rating .icon-star {
    color: var(--hf-temu-gold);
}

.hf-product-page .product-price-container .final-price,
.hf-product-page .product-price-container .price,
.hf-product-page .product-content-details .price {
    color: #111 !important;
}

.hf-product-page .product-price-container .discount-rate {
    background: linear-gradient(135deg, #fff0e4 0%, #ffe0c4 100%);
    color: var(--hf-temu-orange-deep);
    border: 1px solid #ffc8a6;
}

.hf-product-page .hf-product-service-strip span:nth-child(1) {
    background: #fff4e8;
    color: #8a4213;
    border-color: #ffd5ba;
}

.hf-product-page .hf-product-service-strip span:nth-child(2) {
    background: #eefaf3;
    color: #167a44;
    border-color: #bfe7cf;
}

.hf-product-page .hf-product-service-strip span:nth-child(3) {
    background: #f7f0ff;
    color: #6f31ba;
    border-color: #dbc7fb;
}

.hf-product-page .button-container-wishlist .btn-wishlist,
.hf-product-page .btn-wishlist {
    border-color: #e2d0fb;
    color: var(--hf-temu-purple);
}

.hf-product-page .btn-product-cart,
.btn-product-cart {
    background: linear-gradient(135deg, var(--hf-temu-orange) 0%, var(--hf-temu-orange-deep) 65%, #ff7d35 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.hf-product-page .btn-product-cart:hover,
.btn-product-cart:hover {
    filter: brightness(0.98);
}

.link-see-more,
.section-related-products .link-see-more {
    color: #23242b;
}

.link-see-more:hover,
.section-related-products .link-see-more:hover {
    color: var(--hf-temu-orange-deep);
}

#footer {
    color: #d8e7fb;
    background: linear-gradient(180deg, var(--hf-brand-blue) 0%, var(--hf-brand-blue-dark) 100%);
}

#footer .footer-title {
    color: #ffffff;
}

#footer a:hover {
    color: var(--hf-brand-yellow);
}

#header .hf-header-location-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.14);
}

#header .hf-header-location-label {
    color: #d3dcea;
}

#header .hf-header-location-value {
    color: #fff;
}

#header .top-search-bar .input-search {
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #101418 !important;
    height: 44px;
    box-shadow: none;
    padding-right: 56px !important;
}

#header .top-search-bar .btn-search {
    width: 52px;
    height: 44px;
    border-radius: 0 10px 10px 0;
    border: 0 !important;
    top: 0;
    right: 0;
    background: var(--hf-amz-accent);
}

#header .top-search-bar .btn-search i {
    color: #11171d;
}

#header .nav-top-right .nav-item > a,
#header .nav-top-right .nav-item > button {
    color: #f4f7fc;
    border-radius: 10px;
    border: 1px solid transparent;
}

#header .nav-top-right .nav-item > a:hover,
#header .nav-top-right .nav-item > button:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

#header .hf-account-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    line-height: 1.2;
}

#header .hf-account-link i {
    font-size: 18px;
}

#header .nav-main {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 0;
    background: var(--hf-amz-blue);
}

#header .mega-menu > .nav-item > .nav-link {
    color: #f2f5fb;
    font-weight: 500;
}

#header .mega-menu > .nav-item > .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    #header .mobile-nav-container {
        min-height: 0;
    }

    #header .nav-mobile-header {
        position: relative;
        top: auto;
        left: auto;
    }

    #header .nav-mobile-header {
        padding: 0;
        background: var(--hf-amz-blue);
        box-shadow: none;
    }

    #header .nav-mobile-header .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    #header .nav-mobile-header .row {
        margin-left: 0;
        margin-right: 0;
    }

    #header .nav-mobile-header-container {
        min-height: 48px;
        padding: 0 6px;
    }

    #header .nav-mobile-header-container .flex-item {
        height: 48px;
    }

    #header .nav-mobile-header .flex-item-left {
        width: 44px;
    }

    #header .nav-mobile-header .flex-item-mid {
        width: calc(100% - 202px);
    }

    #header .nav-mobile-header .flex-item-right {
        width: 158px;
    }

    #header .nav-mobile-header-container .item-menu-icon button {
        color: #fff !important;
        font-size: 28px;
        padding: 4px !important;
    }

    #header .nav-mobile-header-container .mobile-logo {
        width: auto;
        height: 34px;
    }

    #header .nav-mobile-header-container .mobile-logo a img {
        width: auto;
        max-width: 126px;
        height: 34px;
    }

    #header .hf-mobile-header-actions {
        gap: 6px;
    }

    #header .hf-mobile-signin {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #fff !important;
        background: transparent !important;
        border: 0;
        padding: 0 2px;
        line-height: 1;
        text-decoration: none;
    }

    #header .hf-mobile-signin .icon-user {
        font-size: 34px !important;
    }

    #header .hf-mobile-signin-text {
        font-size: 13px;
        font-weight: 600;
        color: #f0f4fb;
        white-space: nowrap;
    }

    #header .hf-mobile-signin-arrow {
        font-size: 15px;
        position: relative;
        top: 1px;
    }

    #header .a-mobile-account {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0 !important;
        border-radius: 999px;
        border: 2px solid #fff;
        background: linear-gradient(180deg, var(--hf-brand-yellow), var(--hf-brand-yellow-dark)) !important;
        color: var(--hf-brand-blue) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
    }

    #header .a-mobile-account i {
        font-size: 19px !important;
        color: var(--hf-brand-blue) !important;
    }

    #header .a-mobile-account:hover {
        opacity: 0.96;
        text-decoration: none;
    }

    #header .a-mobile-cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        padding: 0 2px;
        line-height: 1;
    }

    #header .a-mobile-cart i {
        font-size: 30px !important;
    }

    #header .a-mobile-cart .notification {
        top: -1px;
        right: -1px;
        width: auto;
        height: auto;
        background: transparent;
        border-radius: 0;
        color: #f7a300;
        font-size: 13px;
        line-height: 1;
        font-weight: 700;
    }

    #header .mobile-search-form {
        display: block !important;
        padding: 6px 10px;
        background: var(--hf-amz-blue);
    }

    #header .mobile-search-form .input-search {
        height: 42px;
        border: 0 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #161b21 !important;
        box-shadow: none !important;
        outline: none !important;
        font-size: 15px;
        padding: 0 54px 0 12px !important;
    }

    #header .mobile-search-form .btn-search {
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 42px;
        border: 0 !important;
        border-radius: 0 10px 10px 0;
        background: #f3b356 !important;
        color: #11171d;
        box-shadow: none !important;
    }

    #header .mobile-search-form .btn-search i {
        color: #11171d;
        font-size: 24px;
    }

    #header .hf-mobile-quick-links {
        display: flex;
        align-items: center;
        gap: 24px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 4px 12px 12px;
        background: var(--hf-amz-blue);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #header .hf-mobile-quick-links::-webkit-scrollbar {
        display: none;
    }

    #header .hf-mobile-quick-link {
        font-size: 16px;
        color: #f2f6fc;
        line-height: 1.2;
        text-decoration: none;
        padding: 2px 0;
    }

    #header .hf-mobile-quick-link:hover {
        color: #fff;
        text-decoration: none;
    }

    #header .hf-mobile-header-location-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 5px 10px;
        background: var(--hf-amz-blue-2);
    }

    #header .hf-mobile-header-location {
        flex: 1;
        justify-content: space-between;
        border-radius: 6px;
        border: 0;
        padding: 6px 8px;
        background: transparent;
        color: #fff;
    }

    #header .hf-mobile-header-location-left {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    #header .hf-mobile-header-location-text {
        display: inline-flex;
        flex-direction: column;
        min-width: 0;
        text-align: left;
        line-height: 1.15;
    }

    #header .hf-mobile-header-location-label {
        font-size: 10px;
        color: #d7e1ef;
        text-transform: none;
        letter-spacing: 0;
    }

    #header .hf-mobile-header-location-value {
        font-size: 12px;
        color: #fff;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 52vw;
    }

    #header .hf-mobile-header-location-arrow {
        color: #d9e1ed;
        font-size: 14px;
        margin-left: 8px;
    }

    #header .hf-mobile-header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 18px;
        border-radius: 999px;
        background: #0d73d8;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.01em;
        text-decoration: none;
    }

    #header .hf-mobile-header-cta:hover {
        color: #fff;
        text-decoration: none;
        opacity: 0.95;
    }

    #navMobile.nav-mobile {
        top: 206px;
    }
}

@media (min-width: 993px) {
    #header .top-bar {
        display: block !important;
    }

    #header .nav-top {
        background: linear-gradient(90deg, #1678db 0%, #2f93ef 100%);
        padding: 8px 0;
    }

    #header .nav-top .logo {
        margin-right: 14px;
    }

    #header .nav-top .logo img {
        width: 126px;
        height: auto;
    }

    #header .hf-header-location {
        margin-right: 12px;
    }

    #header .hf-header-location-btn {
        min-width: 114px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.38);
        background: rgba(255, 255, 255, 0.14);
        padding: 6px 8px;
    }

    #header .hf-header-location-btn:hover {
        border-color: rgba(255, 255, 255, 0.72);
        background: rgba(255, 255, 255, 0.25);
    }

    #header .hf-header-location-icon {
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        border-radius: 50%;
    }

    #header .hf-header-location-label {
        font-size: 11px;
        color: #e7f2ff;
        line-height: 1;
    }

    #header .hf-header-location-value {
        font-size: 13px;
        color: #fff;
        line-height: 1.1;
        max-width: 90px;
        font-weight: 700;
    }

    #header .hf-desktop-search-form {
        position: relative;
        display: flex;
        align-items: center;
    }

    #header .hf-search-select-wrap {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 88px;
        display: block;
        background: #e6e6e6;
        border-radius: 8px 0 0 8px;
        border-right: 1px solid #d0d4d8;
        z-index: 3;
    }

    #header .hf-search-select {
        width: 100%;
        height: 100%;
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        outline: 0;
        background: transparent;
        color: #4b5662;
        font-size: 14px;
        padding: 0 22px 0 10px;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    #header .hf-search-select-wrap i {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 11px;
        color: #58616d;
        pointer-events: none;
    }

    #header .top-search-bar .input-search {
        height: 44px;
        border-radius: 8px !important;
        padding-left: 98px !important;
        padding-right: 58px !important;
    }

    #header .top-search-bar .btn-search {
        width: 52px;
        border-radius: 0 8px 8px 0;
        background: #f3a847;
    }

    #header .nav-top-right .nav {
        float: none;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 2px;
    }

    #header .nav-top-right .nav-item {
        margin-right: 0;
    }

    #header .nav-top-right .nav-item > a,
    #header .nav-top-right .nav-item > button {
        color: #f5fbff;
        border-radius: 4px;
        padding: 6px 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-decoration: none;
        background: rgba(255, 255, 255, 0.08);
    }

    #header .nav-top-right .nav-item > a:hover,
    #header .nav-top-right .nav-item > button:hover {
        border-color: #fff;
        background: #fff;
        color: #0d63c0;
    }

    #header .hf-nav-lang .hf-lang-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 14px;
    }

    #header .hf-account-link {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 6px 8px;
        line-height: 1.08;
    }

    #header .hf-nav-line1 {
        font-size: 12px;
        color: #d8e0eb;
    }

    #header .hf-nav-line2 {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
    }

    #header .hf-nav-orders a,
    #header .hf-nav-orders button {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        line-height: 1.08;
    }

    #header .hf-nav-wishlist,
    #header .hf-nav-sell {
        display: none !important;
    }

    #header .nav-item-cart a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 14px 7px 10px;
        border-radius: 999px;
        border: 1px solid #ffcf33;
        background: linear-gradient(135deg, #ffe47e 0%, #ffd24a 100%);
        box-shadow: 0 8px 16px rgba(255, 193, 7, 0.32);
        position: relative;
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    #header .nav-item-cart a i {
        font-size: 24px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff7d4;
        color: #0b4f99;
    }

    #header .nav-item-cart a .notification {
        top: -6px;
        left: 24px;
        background: #ff4d4f;
        color: #fff;
        font-size: 12px;
        width: 22px;
        height: 22px;
        line-height: 22px;
        border-radius: 50%;
        font-weight: 700;
        border: 2px solid #ffd34d;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    }

    #header .nav-item-cart .label-nav-icon {
        top: 0;
        font-size: 15px;
        font-weight: 800;
        color: #083f82;
    }

    #header .nav-item-cart a:hover {
        background: linear-gradient(135deg, #fff0a0 0%, #ffd95c 100%);
        border-color: #ffc928;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(255, 193, 7, 0.36);
    }

    #header .nav-main {
        background: var(--hf-brand-blue);
        border-top: 0;
        border-bottom: 0;
        padding: 0;
    }

    #header .nav-main .navbar {
        background: transparent !important;
        border: 0 !important;
    }

    #header .nav-main .navbar ul {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        gap: 4px;
        width: 100%;
        padding: 0 10px;
    }

    #header .nav-main .navbar ul::-webkit-scrollbar {
        display: none;
    }

    #header .nav-main .navbar ul .nav-item {
        padding: 0 !important;
    }

    #header .nav-main .navbar ul .nav-item .nav-link {
        display: inline-flex !important;
        align-items: center !important;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        padding: 6px 8px;
        border: 1px solid transparent;
        border-radius: 3px;
        text-decoration: none;
        line-height: 1.1;
        margin-right: 0;
    }

    #header .nav-main .navbar ul .nav-item .nav-link:hover {
        color: #fff;
        border-color: #fff;
        background: rgba(255, 255, 255, 0.08);
        text-decoration: none;
    }

    #header .nav-main .navbar > .navbar-nav > .nav-item:hover .nav-link:before {
        display: none;
    }
}

/* Desktop fallback: keep menu row text visible even with theme overrides */
@media (min-width: 993px) {
    #header .nav-main,
    #header .nav-main .navbar {
        background: var(--hf-brand-blue) !important;
    }

    #header .nav-main .navbar ul .nav-item .nav-link,
    #header .mega-menu > .nav-item > .nav-link,
    #header .mega-menu .nav-link {
        color: #ffffff !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }

    #header .nav-main .navbar ul .nav-item .nav-link:hover,
    #header .mega-menu > .nav-item > .nav-link:hover,
    #header .mega-menu .nav-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }
}

/* Search result product thumbnail size + tags + cart badge clarity */
#search_portal .search-item-image,
.search-results-ajax .search-item-image {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

#search_portal .search-item-image img,
.search-results-ajax .search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#search_portal .search-item-icon,
.search-results-ajax .search-item-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    border-radius: 6px;
}

#search_portal .search-item-icon i,
.search-results-ajax .search-item-icon i {
    font-size: 10px;
    line-height: 1;
}

#search_portal .search-item-tags,
.search-results-ajax .search-item-tags {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280 !important;
    line-height: 1.25;
}

/* Whole header blue override */
:root {
    --hf-whole-header-blue-1: #1f6fb8;
    --hf-whole-header-blue-2: #2f83cc;
    --hf-whole-header-blue-3: #175d9f;
}

#header,
#header .main-menu,
#header .top-bar,
#header .nav-top,
#header .nav-main {
    background: linear-gradient(90deg, var(--hf-whole-header-blue-1) 0%, var(--hf-whole-header-blue-2) 100%) !important;
}

#header .top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

#header .nav-top {
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

#header .top-bar .navbar-nav .nav-item .nav-link,
#header .top-bar .navbar-nav .nav-item .nav-link i,
#header .top-bar .navbar-nav .nav-item .auth-sep,
#header .nav-main .nav-link,
#header .nav-main .navbar .nav-item .nav-link {
    color: #f3f8ff !important;
}

#header .nav-top-right .nav-item > a,
#header .nav-top-right .nav-item > button {
    background: rgba(255, 255, 255, 0.13) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #f8fbff !important;
}

#header .nav-top-right .nav-item > a:hover,
#header .nav-top-right .nav-item > button:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
}

#header .hf-header-location-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

#header .hf-header-location-label {
    color: #e3f0ff !important;
}

#header .hf-header-location-value {
    color: #ffffff !important;
}

#header .nav-item-cart a {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 16px rgba(10, 44, 79, 0.26) !important;
}

#header .nav-item-cart a i {
    background: #fff6b8 !important;
    color: var(--hf-whole-header-blue-3) !important;
}

#header .nav-item-cart .label-nav-icon {
    color: #ffffff !important;
}

#header .a-mobile-account {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

#header .a-mobile-account i {
    color: #ffffff !important;
}

#header .nav-mobile-header,
#header .mobile-search-form,
#header .hf-mobile-quick-links,
#header .hf-mobile-header-location-wrap {
    background: linear-gradient(90deg, var(--hf-whole-header-blue-1) 0%, var(--hf-whole-header-blue-2) 100%) !important;
}

/* Bigger highlighted cart count */
#header .nav-item-cart a .notification,
#header .a-mobile-cart .notification {
    min-width: 30px !important;
    height: 30px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    color: #fff !important;
    background: radial-gradient(circle at 30% 30%, #ff7b7b 0%, #ff3e3e 45%, #e41010 100%) !important;
    border: 2px solid #fff4a8 !important;
    box-shadow: 0 0 0 3px rgba(255, 212, 77, 0.35), 0 7px 14px rgba(0, 0, 0, 0.35) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

#header .nav-item-cart a .notification {
    top: -12px !important;
    left: 22px !important;
}

#header .a-mobile-cart .notification {
    top: -10px !important;
    right: -10px !important;
}

/* Yellow account icon */
#header .a-mobile-account i,
#header .hf-account-link i,
#header .hf-mobile-signin .icon-user {
    color: #ffd84d !important;
}

#header .top-bar .profile-dropdown .a-profile img {
    border-color: #ffd84d !important;
    box-shadow: 0 0 0 2px rgba(255, 216, 77, 0.25);
}

/* Storefront spacing pass: remove dead space from product cards and keep typography compact but readable */
.section .section-header {
    height: auto;
    min-height: 32px;
    margin-bottom: 12px;
}

.section .title,
.section-header .title,
.section-related-products .title {
    font-size: clamp(1.1rem, 1.02rem + 0.28vw, 1.35rem);
    line-height: 1.18;
}

.section-category-products,
.section-latest-products,
.section-related-products {
    margin-bottom: clamp(1.6rem, 2vw, 2.2rem) !important;
}

.row-product {
    margin-left: -8px;
    margin-right: -8px;
}

.col-product {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

.product-card {
    border-radius: 10px;
}

.product-card .card-body {
    padding: 0.65rem 0.7rem 0.7rem;
}

.product-card .product-title,
.product-card .product-title a {
    font-size: clamp(0.82rem, 0.78rem + 0.12vw, 0.92rem);
    line-height: 1.24;
}

.product-card .product-title {
    margin-bottom: 0.2rem;
    min-height: calc(1.24em * 2);
}

.product-card .product-rating {
    margin-bottom: 0.2rem;
}

.product-card .product-rating .rating i {
    font-size: 0.8rem;
}

.product-card .product-rating .item-wishlist {
    font-size: 0.78rem;
}

.product-card .product-footer {
    margin-top: 0.2rem;
}

.product-card .product-price,
.product-card .product-price .price,
.product-card .a-meta-request-quote,
.product-card .price-free {
    font-size: clamp(0.86rem, 0.82rem + 0.1vw, 0.95rem);
    line-height: 1.15;
}

.product-card .product-price del,
.product-card .discount-original-price {
    font-size: 0.76rem !important;
}

@media (min-width: 1200px) {
    .col-product-5 .product-card,
    .swiper-col-product-5 .product-card {
        min-height: 330px;
    }

    .col-product-6 .product-card,
    .swiper-col-product-6 .product-card {
        min-height: 300px;
    }
}

.hf-product-page .section-related-products {
    margin-top: 0.75rem;
    margin-bottom: 1rem !important;
}

.hf-product-page .section-related-products .title {
    font-size: clamp(1rem, 0.94rem + 0.14vw, 1.1rem);
}

.hf-product-page .section-related-products .card-body {
    padding: 0.56rem 0.58rem 0.62rem;
}

.hf-product-page .section-related-products .product-title,
.hf-product-page .section-related-products .product-title a {
    font-size: 0.78rem !important;
    line-height: 1.18 !important;
}

.hf-product-page .section-related-products .product-price .price {
    font-size: 0.82rem !important;
}

.hf-product-page .section-related-products .product-rating,
.hf-product-page .section-related-products .item-wishlist {
    font-size: 0.74rem !important;
}

@media (max-width: 575px) {
    .section .section-header {
        margin-bottom: 10px;
    }

    .section .title,
    .section-header .title,
    .section-related-products .title {
        font-size: 1rem;
    }

    .row-product {
        margin-left: -6px;
        margin-right: -6px;
    }

    .col-product {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }

    .product-card .card-body {
        padding: 0.58rem 0.62rem 0.62rem;
    }

    .product-card .product-title,
    .product-card .product-title a {
        font-size: 0.8rem;
    }

    .product-card .product-price,
    .product-card .product-price .price,
    .product-card .a-meta-request-quote,
    .product-card .price-free {
        font-size: 0.82rem;
    }

    .product-card .product-rating .item-wishlist {
        font-size: 0.74rem;
    }

    .hf-product-page .section-related-products .product-title,
    .hf-product-page .section-related-products .product-title a {
        font-size: 0.74rem !important;
    }

    .hf-product-page .section-related-products .product-price .price {
        font-size: 0.76rem !important;
    }

    .hf-product-page .section-related-products .product-rating,
    .hf-product-page .section-related-products .item-wishlist {
        font-size: 0.7rem !important;
    }
}
⨯䘠瑩瀠潲畤瑣愠摮氠獩楴杮椠慭敧⁳畦汬⁹湩楳敤琠敨物戠硯獥眠瑩潨瑵挠潲灰湩⁧⼪⸊牰摯捵⵴慣摲⸠浩ⵧ牰摯捵⵴潣瑮楡敮Ⱳ⸊牰摯捵⵴慣摲⸠慣摲椭慭敧ਬ瀮潲畤瑣挭牡⁤瀮潲畤瑣椭慭敧ਬ献慥捲⵨牰摯捵⵴瑩浥⸠敳牡档瀭潲畤瑣椭慭敧ਬ瀮条ⵥ桳灯⸠桳灯椭整⵭浩条ⱥ⸊桳灯楰杮挭牡⁴椮杭挭牡⵴牰摯捵ⱴ⸊楷桳楬瑳琭扡敬⸠牰摯捵⵴浩条ⱥ⸊慴汢ⵥ瑩浥瀭潲畤瑣⸠敬瑦笠 †搠獩汰祡›汦硥℠浩潰瑲湡㭴 †愠楬湧椭整獭›散瑮牥℠浩潰瑲湡㭴 †樠獵楴祦挭湯整瑮›散瑮牥℠浩潰瑲湡㭴 †漠敶晲潬㩷栠摩敤⁮椡灭牯慴瑮਻††慢正牧畯摮›昣晦℠浩潰瑲湡㭴紊ਊ瀮潲畤瑣挭牡⁤椮杭瀭潲畤瑣挭湯慴湩牥椠杭ਬ瀮潲畤瑣挭牡⁤挮牡ⵤ浩条⁥浩Ⱨ⸊牰摯捵⵴慣摲⸠牰摯捵⵴浩条⁥浩Ⱨ⸊牰摯捵⵴慣摲椠杭ਬ献慥捲⵨牰摯捵⵴瑩浥⸠敳牡档瀭潲畤瑣椭慭敧椠杭ਬ瀮条ⵥ桳灯⸠桳灯椭整⵭浩条⁥浩Ⱨ⸊桳灯楰杮挭牡⁴椮杭挭牡⵴牰摯捵⁴浩Ⱨ⸊楷桳楬瑳琭扡敬⸠牰摯捵⵴浩条⁥浩Ⱨ⸊慴汢ⵥ瑩浥瀭潲畤瑣椠杭ਬ瀮潲楦敬搭瑥楡獬⸠浩ⵧ牰景汩⁥੻††楷瑤㩨愠瑵⁯椡灭牯慴瑮਻††敨杩瑨›畡潴℠浩潰瑲湡㭴 †洠硡眭摩桴›㠸‥椡灭牯慴瑮਻††慭⵸敨杩瑨›㠸‥椡灭牯慴瑮਻††扯敪瑣昭瑩›潣瑮楡⁮椡灭牯慴瑮਻††扯敪瑣瀭獯瑩潩㩮挠湥整⁲散瑮牥℠浩潰瑲湡㭴 †搠獩汰祡›汢捯⁫椡灭牯慴瑮਻††慭杲湩›畡潴℠浩潰瑲湡㭴 †戠捡杫潲湵㩤⌠晦⁦椡灭牯慴瑮਻੽⸊敦瑡牵摥挭瑡来牯敩⁳椮整⵭慣整潧祲椠杭ਬ昮慥畴敲ⵤ慣整潧祲椭整⁭浩Ⱨ⸊慣整潧祲戭潬正椠杭ਬ椮杭瀭潲畤瑣猭楬敤Ⱳ⸊牰摯捵⵴慧汬牥⵹浩条ⱥ⸊汢杯椭整⁭椮杭戭潬⁧浩Ⱨ⸊潰瑳椭整⁭椮杭戭潬⁧浩⁧੻††扯敪瑣昭瑩›潣瑮楡⁮椡灭牯慴瑮਻††扯敪瑣瀭獯瑩潩㩮挠湥整⁲散瑮牥℠浩潰瑲湡㭴 †洠硡眭摩桴›〱┰℠浩潰瑲湡㭴 †洠硡栭楥桧㩴ㄠ〰‥椡灭牯慴瑮਻††慢正牧畯摮›昣晦℠浩潰瑲湡㭴紊਍⨯倠潲畤瑣朠污敬祲愠瑣癩⁥癯牥楲敤›敮敶⁲牣灯洠楡⁮浩条⁥牯琠畨扭慮汩⁳⼪⸊牰摯捵⵴汳摩牥眭慲灰牥⸠汳摩牥昭牯挭湯慴湩牥ਬ瀮潲畤瑣猭楬敤⵲牷灡数⁲瀮潲畤瑣猭楬敤⁲献楷数⵲汳摩ⱥ⸊牰摯捵⵴汳摩牥眭慲灰牥⸠牰摯捵⵴汳摩牥⸠睳灩牥猭楬敤愠ਬ瀮潲畤瑣猭楬敤⵲牷灡数⁲琮畨扭猭楬敤⁲献楷数⵲汳摩ⱥ⸊牰摯捵⵴汳摩牥眭慲灰牥⸠桴浵ⵢ汳摩牥⸠睳灩牥猭楬敤戠瑵潴⁮੻††楤灳慬㩹映敬⁸椡灭牯慴瑮਻††污杩⵮瑩浥㩳挠湥整⁲椡灭牯慴瑮਻††番瑳晩⵹潣瑮湥㩴挠湥整⁲椡灭牯慴瑮਻††癯牥汦睯›楨摤湥℠浩潰瑲湡㭴 †戠捡杫潲湵㩤⌠晦⁦椡灭牯慴瑮਻੽⸊牰摯捵⵴汳摩牥眭慲灰牥⸠牰摯捵⵴汳摩牥⸠睳灩牥猭楬敤椠杭笠 †眠摩桴›畡潴℠浩潰瑲湡㭴 †栠楥桧㩴愠瑵⁯椡灭牯慴瑮਻††慭⵸楷瑤㩨㤠┴℠浩潰瑲湡㭴 †洠硡栭楥桧㩴㤠┴℠浩潰瑲湡㭴 †愠灳捥⵴慲楴㩯愠瑵⁯椡灭牯慴瑮਻††扯敪瑣昭瑩›潣瑮楡⁮椡灭牯慴瑮਻††扯敪瑣瀭獯瑩潩㩮挠湥整⁲散瑮牥℠浩潰瑲湡㭴 †搠獩汰祡›汢捯⁫椡灭牯慴瑮਻††慭杲湩›畡潴℠浩潰瑲湡㭴紊ਊ瀮潲畤瑣猭楬敤⵲牷灡数⁲琮畨扭猭楬敤⁲献楷数⵲汳摩⁥浩⁧੻††楷瑤㩨愠瑵⁯椡灭牯慴瑮਻††敨杩瑨›畡潴℠浩潰瑲湡㭴 †洠硡眭摩桴›㠸‥椡灭牯慴瑮਻††慭⵸敨杩瑨›㠸‥椡灭牯慴瑮਻††扯敪瑣昭瑩›潣瑮楡⁮椡灭牯慴瑮਻††扯敪瑣瀭獯瑩潩㩮挠湥整⁲散瑮牥℠浩潰瑲湡㭴 †搠獩汰祡›汢捯⁫椡灭牯慴瑮਻††慭杲湩›畡潴℠浩潰瑲湡㭴 †戠牯敤⵲慲楤獵›瀴⁸椡灭牯慴瑮਻੽
@media (max-width: 992px) {
    #navMobile.nav-mobile {
        top: 206px;
        bottom: 0;
        height: auto;
        max-height: calc(100dvh - 206px);
        overflow: hidden;
    }

    #navMobile .nav-mobile-sc {
        height: 100%;
        max-height: calc(100dvh - 206px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    #navMobile .nav-mobile-inner {
        min-height: min-content;
        padding-bottom: 2rem;
    }

    #navMobile .tab-content-mobile-menu,
    #navMobile .tab-pane {
        overflow: visible;
    }
}

@media (max-width: 992px) {
    #navMobile.nav-mobile {
        top: 112px !important;
        bottom: 0;
        height: auto !important;
        max-height: calc(100dvh - 112px) !important;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #navMobile .nav-mobile-sc {
        max-height: calc(100dvh - 112px) !important;
    }
}

.btn-add-remove-wishlist i,
.wishlist-btn i,
.item-wishlist i,
.hf-nav-wishlist a i,
.product-add-to-cart-container .btn-add-remove-wishlist i,
.product-card .wishlist-btn i,
.product-card .icon-heart,
.product-card .icon-heart-o {
    color: var(--hf-brand-yellow) !important;
}

.hf-header-location-icon,
.hf-header-location-icon svg,
.hf-mobile-header-location-left svg,
.hf-mobile-header-location-label,
.hf-mobile-header-location-value,
.hf-header-location-label,
.hf-header-location-value {
    color: var(--hf-brand-blue) !important;
}

.product-card .product-actions-overlay .wishlist-btn,
.product-card .product-actions-overlay .btn-add-remove-wishlist,
.row-product .product-card .product-actions-overlay .wishlist-btn,
.row-product .product-card .product-actions-overlay .btn-add-remove-wishlist {
    display: none !important;
}

@media (max-width: 992px) {
    #navMobile .nav-item-messages {
        margin-top: .5rem;
        padding: .25rem 0 0;
        border-top: 1px solid #d9e5f7;
    }

    #navMobile .nav-item-messages .btn-modal-location {
        display: flex;
        align-items: center;
        gap: .7rem;
        width: 100%;
        padding: .95rem 1rem;
        border: 1px solid #c8d9f5;
        border-radius: .95rem;
        background: linear-gradient(180deg, #fff7cc 0%, #fff2a4 100%);
        color: #133a79 !important;
        font-weight: 800;
        box-shadow: 0 10px 24px rgba(19, 58, 121, 0.08);
    }

    #navMobile .nav-item-messages .btn-modal-location i {
        color: #1352b5 !important;
        font-size: 1.25rem;
    }

    #navMobile .nav-item-messages .btn-modal-location:hover {
        text-decoration: none;
        color: #133a79 !important;
        border-color: #a8c4f2;
    }

    #navMobile .nav-item-messages .btn-reset-location {
        margin-top: .55rem;
        margin-left: .2rem;
        color: #1352b5;
        font-weight: 700;
    }
}

@media (max-width: 992px) {
    #header .hf-mobile-header-location-wrap {
        padding: 7px 10px 10px;
        background: var(--hf-amz-blue-2);
    }

    #header .hf-mobile-header-location {
        border: 1px solid rgba(255, 213, 79, 0.75) !important;
        border-radius: 12px !important;
        padding: 10px 12px !important;
        background: linear-gradient(180deg, rgba(255, 232, 140, 0.98) 0%, rgba(255, 214, 79, 0.98) 100%) !important;
        box-shadow: 0 10px 22px rgba(8, 42, 99, 0.18);
    }

    #header .hf-mobile-header-location-left svg,
    #header .hf-mobile-header-location-label,
    #header .hf-mobile-header-location-value,
    #header .hf-mobile-header-location-arrow {
        color: #133a79 !important;
    }

    #header .hf-mobile-header-location-label {
        font-size: 10px;
        font-weight: 700;
        opacity: 0.84;
    }

    #header .hf-mobile-header-location-value {
        font-size: 13px;
        font-weight: 800;
        max-width: 58vw;
    }
}

@media (max-width: 992px) {
    #header .hf-mobile-header-location-wrap {
        padding: 8px 10px 12px !important;
        background: linear-gradient(180deg, #1352b5 0%, #11479b 100%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #header .hf-mobile-header-location {
        border: 1px solid rgba(255, 214, 79, 0.82) !important;
        border-radius: 12px !important;
        padding: 11px 12px !important;
        background: linear-gradient(180deg, #ffe58d 0%, #ffd54f 100%) !important;
        box-shadow: 0 12px 24px rgba(9, 39, 92, 0.2);
    }

    #header .hf-mobile-header-location-left svg,
    #header .hf-mobile-header-location-label,
    #header .hf-mobile-header-location-value,
    #header .hf-mobile-header-location-arrow {
        color: #133a79 !important;
    }

    #header .hf-mobile-header-location-label {
        font-size: 10px !important;
        font-weight: 700 !important;
        opacity: 0.82;
    }

    #header .hf-mobile-header-location-value {
        font-size: 13px !important;
        font-weight: 800 !important;
    }
}

@media (max-width: 992px) {
    #header .a-mobile-cart .notification,
    #header .a-mobile-cart .span_cart_product_count {
        top: -3px !important;
        right: -5px !important;
        min-width: 24px !important;
        height: 24px !important;
        padding: 0 5px !important;
        border-radius: 999px !important;
        background: #ff4b4b !important;
        border: 2px solid #ffd54f !important;
        color: #fff !important;
        font-size: 13px !important;
        line-height: 20px !important;
        font-weight: 800 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    }
}

/* Location UI: brand yellow across desktop, mobile, and modal */
#header .top-bar .btn-modal-location-header,
#header .top-bar .btn-reset-location {
    color: #f1ed00 !important;
}

#header .hf-header-location-btn,
#header .hf-header-location-btn:hover,
#header .hf-mobile-header-location {
    border-color: #f1ed00 !important;
    background: linear-gradient(90deg, #f1ed00 0%, #d8d200 100%) !important;
    color: #172033 !important;
    box-shadow: 0 10px 24px rgba(241, 237, 0, 0.26);
}

#header .hf-header-location-icon {
    background: rgba(255, 255, 255, 0.38) !important;
    color: #172033 !important;
}

#header .hf-header-location-label,
#header .hf-header-location-value,
#header .hf-mobile-header-location,
#header .hf-mobile-header-location svg,
#header .hf-mobile-header-location .hf-mobile-header-location-label,
#header .hf-mobile-header-location .hf-mobile-header-location-value,
#header .hf-mobile-header-location .hf-mobile-header-location-arrow i {
    color: #172033 !important;
}

.location-modal .auth-box .title,
.location-modal-description {
    color: #9b7c00 !important;
}

.location-modal .btn-custom,
.location-modal .btn-location-submit,
.location-modal .btn-location-submit.is-loading {
    background: linear-gradient(90deg, #f1ed00 0%, #d8d200 100%) !important;
    color: #172033 !important;
    box-shadow: 0 14px 28px rgba(241, 237, 0, 0.24) !important;
}

.location-modal .form-control:focus,
.location-modal .select2-container--default.select2-container--focus .select2-selection--single,
.location-modal .select2-container--open .select2-selection--single {
    border-color: #f1ed00 !important;
    box-shadow: 0 0 0 4px rgba(241, 237, 0, 0.22) !important;
}

.location-modal .select2-results__option[aria-selected=true],
.location-modal .select2-results__option[data-selected=true] {
    color: #7b6200 !important;
}

/* Codex: mobile product gallery dots and below-gallery media strip */
.hf-product-page .product-slider-wrapper .product-slider-pagination {
    display: none;
}

@media (max-width: 767px) {
    .hf-product-page .product-slider-wrapper {
        flex-direction: column-reverse;
        gap: 12px;
        margin-bottom: 12px;
    }

    .hf-product-page .product-slider-wrapper .slider-for-container {
        width: 100%;
        padding-bottom: 14px;
    }

    .hf-product-page .product-slider-wrapper .product-slider .swiper-button-next,
    .hf-product-page .product-slider-wrapper .product-slider .swiper-button-prev {
        display: none !important;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider-wrapper {
        display: block;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        flex: 0 0 auto;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide {
        width: 58px !important;
        height: 58px !important;
        margin-bottom: 0 !important;
        border: 1px solid #e4e8f1;
        border-radius: 12px;
        background: #fff;
        opacity: 1;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide img,
    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide .product-video-thumb {
        border-radius: 10px;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active {
        border-color: var(--hf-ali-red);
        box-shadow: 0 0 0 2px rgba(255, 59, 47, 0.16);
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active img {
        border-color: transparent;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active .product-video-thumb {
        box-shadow: inset 0 0 0 2px var(--hf-ali-red);
    }

    .hf-product-page .product-slider-wrapper .product-slider-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: static;
        width: 100%;
        padding-top: 12px;
    }

    .hf-product-page .product-slider-wrapper .product-slider-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 !important;
        background: #c7d0e1;
        opacity: 1;
        transition: all 0.2s ease;
    }

    .hf-product-page .product-slider-wrapper .product-slider-pagination .swiper-pagination-bullet-active {
        width: 22px;
        border-radius: 999px;
        background: var(--hf-ali-red);
    }
}

/* Codex: desktop + mobile product gallery navigation refinement */
.hf-product-page .product-slider-wrapper {
    flex-direction: column-reverse;
    gap: 14px;
    margin-bottom: 16px;
}

.hf-product-page .product-slider-wrapper .slider-for-container {
    width: 100%;
    padding-bottom: 14px;
}

.hf-product-page .product-slider-wrapper .thumb-slider-wrapper {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    flex: 0 0 auto;
}

.hf-product-page .product-slider-wrapper .thumb-slider {
    width: 100%;
    height: auto;
    overflow: visible;
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide {
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 0 !important;
    border: 1px solid #e4e8f1;
    border-radius: 12px;
    background: #fff;
    opacity: 1;
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide img,
.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide .product-video-thumb,
.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide button {
    border-radius: 10px;
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active {
    border-color: var(--hf-ali-red);
    box-shadow: 0 0 0 2px rgba(255, 59, 47, 0.16);
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active img {
    border-color: transparent;
}

.hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide-thumb-active .product-video-thumb {
    box-shadow: inset 0 0 0 2px var(--hf-ali-red);
}

.hf-product-page .product-slider-wrapper .product-slider .swiper-button-next,
.hf-product-page .product-slider-wrapper .product-slider .swiper-button-prev {
    display: none !important;
}

.hf-product-page .product-slider-wrapper .product-slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: static;
    width: 100%;
    padding-top: 12px;
}

.hf-product-page .product-slider-wrapper .product-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #c7d0e1;
    opacity: 1;
    transition: all 0.2s ease;
}

.hf-product-page .product-slider-wrapper .product-slider-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    background: var(--hf-ali-red);
}

@media (max-width: 767px) {
    .hf-product-page .product-slider-wrapper {
        gap: 12px;
        margin-bottom: 12px;
    }

    .hf-product-page .product-slider-wrapper .thumb-slider .swiper-slide {
        width: 58px !important;
        height: 58px !important;
    }
}
