/* Red20 storefront: compact, clean marketplace styling for the home page. */
body {
    background: #f7f8fa;
}

/* Shared My Account styling: readable dark navigation and consistent actions. */
.my-account-section {
    background: #f8fafc;
}

.my-account-section .my-account-tab {
    border: 1px solid #e5eaf0;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
}

.my-account-section .my-account-tab .nav-link {
    color: #334155 !important;
    font-weight: 600;
}

.my-account-section .my-account-tab .nav-link:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.my-account-section .my-account-tab .nav-link.active {
    border-left: 3px solid #111827;
    background: #111827 !important;
    color: #fff !important;
}

.my-account-section .my-account-tab .nav-link.active .left-aside {
    color: #ffe500 !important;
}

/* Cart page: clear hierarchy, readable labels and a polished checkout summary. */
.cart-page-wrapper {
    padding: 34px 0 64px;
    background: #f7f8fa;
}

.cart-page-content > .row {
    align-items: flex-start;
    margin-right: -10px;
    margin-left: -10px;
}

.cart-page-content .cart-items-column,
.cart-page-content .cart-summary-column {
    margin-top: 0 !important;
    padding-right: 10px;
    padding-left: 10px;
}

.cart-page-content .cart-table-wrapper,
.cart-page-content .cart-product-summary {
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.cart-page-content .cart-table-wrapper {
    margin-bottom: 22px;
    padding: 22px 20px;
    overflow-x: auto;
}

.cart-page-content .cart-items-column > .cart-table-wrapper:first-child {
    min-height: 290px;
}

.cart-page-content #clear_cart {
    margin: 0 0 18px !important;
    padding: 9px 16px;
    border: 1px solid #fecaca !important;
    border-radius: 8px;
    background: #fff !important;
    color: #dc2626 !important;
    font-size: 13px;
    font-weight: 700;
}

.cart-page-content #clear_cart:hover {
    background: #fef2f2 !important;
}

.cart-page-content #cart_item_table {
    min-width: 680px;
    margin-bottom: 0;
    color: #111827;
}

.cart-page-content #cart_item_table thead th {
    padding: 12px 10px;
    border-bottom: 1px solid #dfe5ec !important;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cart-page-content #cart_item_table tbody td {
    padding: 18px 10px;
    border-top: 1px solid #edf0f3;
    color: #475569 !important;
    font-size: 13px;
    vertical-align: middle !important;
}

.cart-page-content #cart_item_table tbody tr:first-child td {
    border-top: 0;
}

.cart-page-content #cart_item_table .widget-image {
    width: 82px;
    height: 82px;
    padding: 6px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    line-height: normal;
}

.cart-page-content #cart_item_table .widget-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.cart-page-content #cart_item_table .cart-product-title {
    display: block;
    min-width: 150px;
    margin: 0 0 10px;
    line-height: 1.35;
}

.cart-page-content #cart_item_table .cart-product-title a {
    color: #111827 !important;
    font-size: 15px;
    font-weight: 800;
}

.cart-page-content #cart_item_table .cart-product-title a:hover {
    color: #d49f00 !important;
}

.cart-page-content #cart_item_table .save-for-later {
    padding: 7px 11px;
    border: 0 !important;
    border-radius: 7px;
    background: #111827 !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
}

.cart-page-content #cart_item_table .save-for-later:hover {
    background: #374151 !important;
}

.cart-page-content #cart_item_table .product-quantity,
.cart-page-content #cart_item_table .item-quantity {
    white-space: nowrap;
}

.cart-page-content #cart_item_table .num-in {
    display: inline-flex;
    float: none;
    align-items: center;
    width: 110px;
    height: 40px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fff;
}

.cart-page-content #cart_item_table .num-in span {
    flex: 0 0 32px;
    width: 32px;
    height: 38px;
    float: none;
}

.cart-page-content #cart_item_table .num-in input {
    flex: 1 1 auto;
    width: 42px;
    height: 38px;
    float: none;
    color: #111827;
    font-size: 14px;
}

.cart-page-content #cart_item_table .total-price {
    color: #111827 !important;
    font-weight: 800;
    white-space: nowrap;
}

.cart-page-content #cart_item_table .product-removal i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626 !important;
    font-size: 14px;
    background: #fff7f7;
}

.cart-page-content #cart_item_table .product-removal i:hover {
    background: #fee2e2;
}

.cart-page-content .cart-product-summary {
    min-height: 0;
    margin: 0;
    padding: 24px 28px 28px;
}

.cart-page-content .cart-product-summary h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
}

.cart-page-content .cart-total-price .table {
    margin: 0 0 24px;
    border-top: 1px solid #e5eaf0;
}

.cart-page-content .cart-total-price .total-price td {
    padding: 16px 10px;
    border-bottom: 1px solid #e5eaf0;
    color: #111827 !important;
    font-size: 16px;
    font-weight: 800;
}

.cart-page-content .cart-total-price .total-price td:last-child {
    color: #111827 !important;
    text-align: right;
}

.cart-page-content .checkout-method #checkout,
.cart-page-content .checkout-method #checkout button {
    display: block;
    width: 100%;
}

.cart-page-content .checkout-method #checkout button {
    min-height: 50px;
    border: 0 !important;
    border-radius: 9px;
    background: #ffe500 !important;
    color: #111827 !important;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.cart-page-content .checkout-method #checkout button:hover:not(:disabled) {
    background: #f4cf00 !important;
    transform: translateY(-1px);
}

.cart-page-content .checkout-method #checkout button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 1199.98px) {
    .cart-page-content .cart-summary-column {
        margin-top: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .cart-page-wrapper {
        padding: 20px 0 42px;
    }

    .cart-page-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .cart-page-content .cart-table-wrapper,
    .cart-page-content .cart-product-summary {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .cart-page-content .cart-product-summary h3 {
        font-size: 23px;
    }
}

/* Checkout page: structured details panel and a high-contrast order summary. */
.checkout-page-wrapper {
    padding: 34px 0 64px;
    background: #f7f8fa;
}

.checkout-page-content #checkout_form > .row {
    align-items: flex-start;
    margin-right: -10px;
    margin-left: -10px;
}

.checkout-page-content .checkout-details-column,
.checkout-page-content .checkout-summary-column {
    margin-top: 0 !important;
    padding-right: 10px;
    padding-left: 10px;
}

.checkout-page-content .checkout-details-column {
    padding: 26px 30px 30px;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.checkout-page-content .checkout-form-title {
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e5eaf0;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.checkout-page-content .ship-details-wrapper {
    padding: 0;
}

.checkout-page-content .ship-title-details {
    min-height: 42px;
    align-items: center;
    border-bottom: 1px solid #e5eaf0;
}

.checkout-page-content .ship-title-details h5 {
    margin: 0;
    padding: 0 0 12px !important;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
}

.checkout-page-content .ship-title-details .edit-icon {
    padding-bottom: 12px;
    color: #d49f00;
    font-size: 16px;
}

.checkout-page-content .shipped-details {
    margin-top: 14px !important;
    padding: 14px 16px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #f8fafc;
}

.checkout-page-content .shipped-details p {
    margin: 0 0 4px;
    color: #475569 !important;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-page-content .shipped-details p:last-child {
    margin-bottom: 0;
    color: #111827 !important;
    font-weight: 700;
}

.checkout-page-content #deliverable_status {
    margin: 16px 0 4px;
}

.checkout-page-content #deliverable_status b {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857 !important;
    font-size: 12px;
    line-height: 1.45;
}

.checkout-page-content .checkout-details-column > hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #e5eaf0;
}

.checkout-page-content .checkout-details-column .form-control,
.checkout-page-content .checkout-details-column .input-group-text {
    min-height: 44px;
    border-color: #dbe2ea;
    border-radius: 8px;
    color: #111827;
    font-size: 13px;
}

.checkout-page-content .checkout-details-column .form-control:focus {
    border-color: #f0c900;
    box-shadow: 0 0 0 3px rgba(255, 229, 0, .18);
}

.checkout-page-content .checkout-details-column h4 {
    margin: 18px 0 10px !important;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.checkout-page-content #time_slots {
    margin-top: 12px !important;
}

.checkout-page-content #time_slots .custom-control {
    margin: 7px 0;
    color: #334155;
    font-size: 13px;
}

.checkout-page-content #time_slots .custom-control-label {
    cursor: pointer;
}

.checkout-page-content .payment-methods {
    margin-top: 0 !important;
    padding-top: 0;
}

.checkout-page-content .payment-methods .shipped-details {
    max-width: 580px;
    padding: 0;
    border: 0;
    background: transparent;
}

.checkout-page-content .table-step-shipping {
    width: 100%;
    margin: 0;
}

.checkout-page-content .table-step-shipping tr {
    border-bottom: 1px solid #edf0f3;
}

.checkout-page-content .table-step-shipping td {
    padding: 12px 8px;
    color: #111827;
    font-size: 14px;
    vertical-align: middle;
}

.checkout-page-content .table-step-shipping label {
    margin: 0;
    cursor: pointer;
}

.checkout-page-content .table-step-shipping input[type="radio"] {
    accent-color: #111827;
}

.checkout-page-content .payment-gateway-images {
    width: 42px;
    height: 30px;
    object-fit: contain;
}

.checkout-page-content #bank_transfer_slide .alert {
    margin: 18px 0 0;
    border: 0;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}

.checkout-page-content #bank_transfer_slide .alert-warning {
    background: #fffbeb;
    color: #92400e;
}

.checkout-page-content #bank_transfer_slide .alert-info {
    background: #eff6ff;
    color: #1e3a8a;
}

.checkout-page-content .checkout-summary-column {
    position: sticky;
    top: 20px;
}

.checkout-page-content .checkout-order-wrapper {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.checkout-page-content .checkout-title {
    padding: 22px 24px 16px;
    border-bottom: 1px solid #e5eaf0;
}

.checkout-page-content .checkout-title h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.checkout-page-content .order-details {
    padding: 0 24px 24px;
}

.checkout-page-content .product-checkout-title {
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
}

.checkout-page-content .product-checkout-title h2,
.checkout-page-content .product-checkout-title a {
    padding: 0;
    color: #64748b !important;
    font-size: 14px;
    font-weight: 600;
}

.checkout-page-content .product-checkout {
    margin-top: 0 !important;
}

.checkout-page-content .product-checkout .border-line {
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
}

.checkout-page-content .product-checkout .product-wrap {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
}

.checkout-page-content .product-checkout .widget-image {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    padding: 5px;
    border: 1px solid #e5eaf0;
    border-radius: 9px;
    line-height: normal;
}

.checkout-page-content .product-checkout .widget-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.checkout-page-content .product-checkout .product-info {
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-page-content .product-checkout .product-title {
    display: block;
    overflow: hidden;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-page-content .product-checkout .qty,
.checkout-page-content .product-checkout .product-info > div:not(.qty) {
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}

.checkout-page-content .product-checkout .item-price {
    flex: 0 0 auto;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-page-content .cart-total-price {
    margin-top: 16px;
}

.checkout-page-content .cart-total-price .table {
    margin-bottom: 18px;
    border-top: 1px solid #e5eaf0;
}

.checkout-page-content .cart-total-price td {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f3;
    color: #64748b !important;
    font-size: 12px;
}

.checkout-page-content .cart-total-price td:last-child {
    text-align: right;
    white-space: nowrap;
}

.checkout-page-content .cart-total-price .total-price td {
    padding: 15px 0;
    color: #111827 !important;
    font-size: 16px;
    font-weight: 800;
}

.checkout-page-content .cart-total-price .total-price td:last-child {
    color: #111827 !important;
}

.checkout-page-content .order-details > .input-group {
    margin-bottom: 14px;
}

.checkout-page-content .order-details > .input-group > a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.checkout-page-content #promocode_input {
    min-height: 42px;
    border-radius: 8px 0 0 8px;
}

.checkout-page-content #redeem_btn,
.checkout-page-content #clear_promo_btn {
    min-height: 42px;
    padding: 0 15px;
    border: 0 !important;
    border-radius: 0 8px 8px 0;
    background: #111827 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

.checkout-page-content #place_order_btn {
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    border: 0 !important;
    border-radius: 9px;
    background: #ffe500 !important;
    color: #111827 !important;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.checkout-page-content #place_order_btn:hover:not(:disabled) {
    background: #f4cf00 !important;
    transform: translateY(-1px);
}

.checkout-page-content #place_order_btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 1199.98px) {
    .checkout-page-content .checkout-summary-column {
        position: static;
        margin-top: 22px !important;
    }
}

@media (max-width: 575.98px) {
    .checkout-page-wrapper {
        padding: 20px 0 44px;
    }

    .checkout-page-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .checkout-page-content .checkout-details-column,
    .checkout-page-content .checkout-order-wrapper {
        border-radius: 12px;
    }

    .checkout-page-content .checkout-details-column {
        padding: 20px 16px 22px;
    }

    .checkout-page-content .checkout-form-title {
        font-size: 21px;
    }

    .checkout-page-content .order-details {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* Orders page cards and actions. */
.my-account-section .col-md-8 > .card-header {
    margin-bottom: 10px;
    padding: 16px 20px !important;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
}

.my-account-section .col-md-8 > .card-header .h4 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.my-account-section .orders-section {
    padding: 0 !important;
}

.my-account-section .orders-section > .border-0 {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e5eaf0 !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(15, 23, 42, .06);
}

.my-account-section .orders-section > .border-0 > .card-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid #edf0f3;
    background: #fff !important;
}

.my-account-section .orders-section > .border-0 > .card-header .row {
    align-items: center;
}

.my-account-section .orders-section > .border-0 > .card-header p {
    margin: 0 0 5px;
    color: #64748b;
    font-size: 14px;
}

.my-account-section .orders-section > .border-0 > .card-header p:last-child {
    margin-bottom: 0;
}

.my-account-section .orders-section > .border-0 > .card-header .button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
}

.my-account-section .orders-section > .border-0 > .card-header .button-primary-outline {
    border: 1px solid #111827;
    color: #111827;
    background: #fff;
}

.my-account-section .orders-section > .border-0 > .card-header .button-primary-outline:hover {
    color: #fff;
    background: #111827;
}

.my-account-section .orders-section > .border-0 > .card-header .reorder-btn {
    border: 1px solid #111827;
    background: #111827 !important;
    color: #fff;
}

.my-account-section .orders-section > .border-0 > .card-body {
    padding: 18px 20px !important;
}

.my-account-section .orders-section .media {
    align-items: center;
}

.my-account-section .orders-section .media-body h5 {
    margin: 0 0 5px !important;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.my-account-section .orders-section .media-body p {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 13px;
}

.my-account-section .orders-section .media-body .product-rating-small {
    margin: 5px 0 13px !important;
}

.my-account-section .orders-section .media > img {
    width: 100px;
    height: 100px;
    margin-left: 20px;
    object-fit: contain;
}

.my-account-section .orders-section .media-body h4 {
    margin: 14px 0 0 !important;
    color: #111827;
    font-size: 16px;
}

.my-account-section .orders-section > .border-0 > .card-footer {
    padding: 12px 20px !important;
    border-top: 1px solid #edf0f3;
    background: #fff !important;
}

.my-account-section .orders-section > .border-0 > .card-footer .btn-6-1,
.my-account-section .orders-section > .border-0 > .card-footer .btn-6-3,
.my-account-section .orders-section > .border-0 > .card-footer .btn-6-5 {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 !important;
    border: 1px solid #dc2626;
    border-radius: 7px;
    background: #fff !important;
    color: #dc2626 !important;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .my-account-section .col-md-8 > .card-header .h4 {
        font-size: 20px;
    }

    .my-account-section .orders-section > .border-0 > .card-header,
    .my-account-section .orders-section > .border-0 > .card-body,
    .my-account-section .orders-section > .border-0 > .card-footer {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .my-account-section .orders-section > .border-0 > .card-header .row {
        display: block;
    }

    .my-account-section .orders-section > .border-0 > .card-header .flex-col {
        display: flex;
        margin-top: 12px;
    }

    .my-account-section .orders-section .media > img {
        width: 76px;
        height: 76px;
        margin-left: 10px;
    }
}

.my-account-section .my-account-tab .left-aside {
    color: #64748b;
}

.my-account-section form {
    padding: 24px;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
}

.my-account-section form label {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.my-account-section form .form-control {
    min-height: 42px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    color: #111827;
    background: #fff;
}

.my-account-section form .form-control:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .08);
}

.my-account-section form .submit_btn,
.my-account-section form button[type="submit"],
.my-account-section form .button-success,
.my-account-section form .btn-primary,
.my-account-section form .btn-warning {
    min-height: 42px;
    padding: 9px 22px;
    border: 0 !important;
    border-radius: 8px;
    background: #111827 !important;
    color: #fff !important;
    font-weight: 700;
}

.my-account-section form .submit_btn:hover,
.my-account-section form button[type="submit"]:hover,
.my-account-section form .button-success:hover,
.my-account-section form .btn-primary:hover,
.my-account-section form .btn-warning:hover {
    background: #374151 !important;
    color: #fff !important;
}

.my-account-section .profile_image .avatar {
    width: 92px;
    height: 92px;
    border: 1px solid #e5eaf0;
    border-radius: 50%;
    object-fit: cover;
    background: #f8fafc;
}

/* Header follows the single yellow marketplace bar in the supplied reference. */
.shopping-cart-sidebar {
    width: 420px;
    max-width: min(420px, 100vw);
    border-left: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: -10px 0 28px rgba(15, 23, 42, .14);
}

.shopping-cart-sidebar .container.header {
    max-width: none;
    padding: 0 18px;
}

.shopping-cart-sidebar .container.header .row {
    min-height: 62px;
    margin: 0;
}

.shopping-cart-sidebar .title,
.shopping-cart-sidebar .close-sidebar {
    padding: 0;
}

.shopping-cart-sidebar .title h1 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
}

.shopping-cart-sidebar .close-sidebar a {
    color: #374151 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.shopping-cart-sidebar .button-rounded {
    border-radius: 8px !important;
}

.shopping-cart-sidebar > .text-center.mt-2 {
    margin-top: 14px !important;
}

.shopping-cart-sidebar > .text-center.mt-2 .button-danger {
    border: 1px solid #dbe2ea !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 700;
}

.shopping-cart-sidebar .shopping-cart-sm {
    max-width: none;
    margin: 18px 14px 12px !important;
    padding: 0 !important;
}

.shopping-cart-sidebar .shopping-cart-sm .cart-product {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid #edf0f3;
}

.shopping-cart-sidebar .shopping-cart-sm .cart-product .product-image {
    float: none !important;
    grid-column: 1;
    grid-row: 1;
    width: 78px !important;
    height: 78px;
    margin: 0;
}

.shopping-cart-sidebar .shopping-cart-sm .product-image img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.shopping-cart-sidebar .shopping-cart-sm .cart-product .product-details {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: auto !important;
    overflow: hidden;
}

.shopping-cart-sidebar .shopping-cart-sm .cart-product-title {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopping-cart-sidebar .shopping-cart-sm .product-details > span,
.shopping-cart-sidebar .shopping-cart-sm .product-descriptions {
    color: #64748b;
    font-size: 12px;
}

.shopping-cart-sidebar .shopping-cart-sm .product-descriptions {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shopping-cart-sidebar .shopping-cart-sm .product-pricing {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 0 !important;
    min-width: 0;
    white-space: nowrap;
}

.shopping-cart-sidebar .shopping-cart-sm .product-price,
.shopping-cart-sidebar .shopping-cart-sm .product-line-price {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 auto;
    white-space: nowrap;
}

.shopping-cart-sidebar .shopping-cart-sm .product-sm-quantity {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    white-space: nowrap;
}

.shopping-cart-sidebar .shopping-cart-sm .product-sm-quantity input {
    width: 60px !important;
    min-width: 60px;
    height: 32px;
    margin-left: 0 !important;
    padding: 0 8px;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    text-align: center;
}

.shopping-cart-sidebar .shopping-cart-sm .remove-product {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #fecaca !important;
    border-radius: 6px;
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.shopping-cart-sidebar .view_cart_button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border: 0 !important;
    border-radius: 8px !important;
    background: #111827 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.shopping-cart-sidebar .view_cart_button:hover {
    background: #374151 !important;
    color: #fff !important;
}

.shopping-cart-sidebar.is-closed-right {
    transform: translateX(420px);
}

@media (max-width: 575.98px) {
    .shopping-cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .shopping-cart-sidebar.is-closed-right {
        transform: translateX(100%);
    }
}

#header.header-varient .topbar {
    display: none;
}

#header.header-varient > nav.navbar {
    width: 100%;
    max-width: none;
    min-height: 76px;
    padding: 0 38px;
    background: #ffea00 !important;
    border: 0;
}

#header .navbar-brand {
    display: flex;
    align-items: center;
    width: 132px;
    height: 60px;
    margin-right: 22px;
    padding: 0;
    border-right: 1px solid rgba(0, 0, 0, .14);
}

#header .brand-logo-link {
    width: 120px;
    max-height: 50px;
    object-fit: contain;
}

#header .header-location {
    min-width: 195px;
    gap: 9px;
    color: #1e293b;
    line-height: 1.05;
}

#header .header-location > .fa-map-marker-alt {
    color: #1f2937;
    font-size: 18px;
}

#header .header-location span {
    display: flex;
    flex-direction: column;
}

#header .header-location small {
    font-size: 10px;
}

#header .header-location strong {
    font-size: 12px;
}

#header .location-chevron {
    margin-left: auto;
    font-size: 10px;
}

#header #navbarNavDropdown {
    display: flex !important;
    flex: 1;
    align-items: center;
}

#header #navbarNavDropdown > .col-md-6:first-child {
    flex: 1;
    width: auto;
    max-width: none;
    padding: 0 18px;
}

#header .navbar-top-search-box {
    height: 44px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
}

#header .navbar-top-search-box .search_product,
#header .navbar-top-search-box .select2-container {
    height: 44px !important;
    border: 0 !important;
    background: #fff;
}

#header #navbarNavDropdown > .col-md-6:last-child {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

#header #navbarNavDropdown .navbar-nav {
    align-items: center;
    gap: 10px;
}

#header #navbarNavDropdown .navbar-nav a,
#header #navbarNavDropdown .navbar-nav i {
    color: #1f2937 !important;
}

/* Keep language/account controls visually flat on the yellow header. */
#header #navbarNavDropdown .navbar-nav > li > a,
#header #navbarNavDropdown .navbar-nav > li > a:hover,
#header #navbarNavDropdown .navbar-nav > li > a:focus,
#header #navbarNavDropdown .navbar-nav > li > a:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#header #navbarNavDropdown .navbar-nav > li {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#header #navbarNavDropdown .header-icon {
    padding: 8px 5px !important;
}

#header .header-bottom {
    height: 48px;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
}

#header .header-bottom > .main-content {
    max-width: none;
    padding: 0 38px;
}

#header .header-bottom-inner {
    height: 48px;
    align-items: stretch;
}

#header .header-bottom .col-left {
    flex: 0 0 245px;
    max-width: 245px;
}

#header .header-categories-nav,
#header .header-categories-nav-wrap,
#header .menu-opener {
    height: 48px;
}

#header .menu-opener {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

#header .menu-opener .burger-menu {
    margin-right: 8px;
}

#header .header-bottom .col-center {
    flex: 1;
    max-width: none;
}

#header .header-bottom .main-nav,
#header .header-bottom .menu-main-navigation-container,
#header .header-bottom .cd-morph-dropdown,
#header .header-bottom .main-nav > ul {
    height: 48px;
}

#header .header-bottom .main-nav > ul {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

#header .header-bottom .main-nav > ul > li {
    display: flex;
    align-items: center;
    border-right: 1px solid #eef0f2;
}

#header .header-bottom .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
}

#header .header-bottom .main-nav > ul > li > a:hover {
    background: #fff8a3;
    color: #111827;
}

#header .header-bottom .col-right {
    flex: 0 0 110px;
    max-width: 110px;
    align-items: center;
    justify-content: flex-end;
}

#header .header-deals {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: flex !important;
        height: 64px;
        align-items: stretch;
        justify-content: space-around;
        padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
        border-top: 1px solid #e5e7eb;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -5px 18px rgba(15, 23, 42, .08);
    }

    .mobile-bottom-nav-item {
        position: relative;
        display: flex;
        min-width: 58px;
        flex: 1 1 20%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #6b7280 !important;
        font-size: 9px;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none !important;
        transition: color .2s ease, transform .2s ease;
    }

    .mobile-bottom-nav-item i {
        color: #6b7280;
        font-size: 15px;
        line-height: 1;
    }

    .mobile-bottom-nav-item:hover,
    .mobile-bottom-nav-item:focus,
    .mobile-bottom-nav-item.is-active {
        color: #111827 !important;
    }

    .mobile-bottom-nav-item:hover i,
    .mobile-bottom-nav-item:focus i,
    .mobile-bottom-nav-item.is-active i {
        color: #d4b900;
    }

    .mobile-bottom-nav-item.is-active::before {
        content: '';
        position: absolute;
        top: -5px;
        width: 24px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: #d4b900;
    }

    .mobile-bottom-cart-icon {
        position: relative;
        display: inline-flex;
    }

    .mobile-bottom-cart-count {
        position: absolute;
        top: -8px;
        right: -11px;
        display: none;
        width: 15px;
        height: 15px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #ef4444;
        color: #fff;
        font-size: 8px;
        font-weight: 700;
    }

    .mobile-bottom-cart-count.has-count {
        display: inline-flex;
    }

    body {
        padding-bottom: 64px;
    }

    .whatsapp-icon {
        display: block !important;
        bottom: 72px;
        left: 12px;
        z-index: 1041;
    }

    /* Keep floating widgets out of the mobile bottom navigation area. */
    #chat-button,
    #chat-iframe,
    .darkmode-toggle,
    .darkmode-layer--button {
        display: none !important;
    }
}

/* Match product-listing cards with the home-page product design. */
.listing-page .product-listing .row.w-100 > [class*="col-"] {
    padding-right: 7px;
    padding-left: 7px;
}

.listing-page .product-listing .row.w-100 .product-grid {
    height: 350px;
    min-height: 350px;
    padding: 0 0 70px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(31, 41, 55, .12);
    transition: transform .22s ease, box-shadow .22s ease;
    will-change: transform;
}

.listing-page .product-listing .row.w-100 .product-grid:hover {
    box-shadow: 0 10px 24px rgba(31, 41, 55, .2);
    transform: translateY(-5px);
}

.listing-page .product-listing .row.w-100 .product-grid .product-image {
    width: 100%;
    height: 208px !important;
    padding: 0;
}

.listing-page .product-listing .row.w-100 .product-grid .product-image-container {
    width: 100%;
    max-width: 220px;
    height: 192px !important;
    margin: 0 auto;
    line-height: 192px;
}

.listing-page .product-listing .row.w-100 .product-grid .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.listing-page .product-listing .row.w-100 .product-grid .product-rating-small {
    display: none !important;
}

.listing-page .product-listing .row.w-100 .product-grid .add-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
}

.listing-page .product-listing .row.w-100 .product-grid .add-favorite button {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #9ca3af;
    font-size: 15px;
}

.listing-page .product-listing .row.w-100 .product-grid .product-new-label {
    top: 10px;
    left: 0;
    padding: 4px 8px;
    border-radius: 0 4px 4px 0;
    background: #2dbb73;
    font-size: 10px;
}

.listing-page .product-listing .row.w-100 .product-grid .product-content {
    right: 8px;
    bottom: 7px;
    left: 8px;
    padding: 0 4px 2px;
    background: #fff;
}

.listing-page .product-listing .row.w-100 .product-grid .title,
.listing-page .product-listing .row.w-100 .product-grid .title a,
.listing-page .product-listing .row.w-100 .product-grid .title a:hover {
    height: 36px;
    margin: 0;
    overflow: hidden;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
}

.listing-page .product-listing .row.w-100 .product-grid .product-content p {
    margin: 6px 0 8px !important;
    color: #111827;
    font-size: 17px !important;
    line-height: 1.2;
    text-align: center;
}

.listing-page .product-listing .row.w-100 .product-grid .product-content p .striped-price {
    color: #ef4444;
    font-size: 11px;
}

.listing-page .product-listing .row.w-100 .product-grid .add-to-cart {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 2px;
    background: #ffe500;
    color: #111 !important;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.listing-page .product-listing .row.w-100 .product-grid .add-to-cart:hover,
.listing-page .product-listing .row.w-100 .product-grid .add-to-cart:focus {
    background: #ffe500 !important;
    color: #111 !important;
    box-shadow: 0 2px 6px rgba(17, 24, 39, .16);
}

.listing-page .product-listing .row.w-100 .product-grid .social {
    display: flex;
    width: auto;
    gap: 7px;
    align-items: center;
    justify-content: center;
}

.listing-page .product-listing .row.w-100 .product-grid .social li a {
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    line-height: 32px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
}

.listing-page .product-listing .row.w-100 .product-grid .social li a:hover {
    background: #ffe500;
    color: #111827;
}

/* Professional horizontal cards for the product list view. */
.listing-page .list-product-view {
    margin-top: 16px !important;
    margin-right: 0;
    margin-left: 0;
}

.listing-page .list-product-view > .col-12:first-child {
    margin-bottom: 14px;
    padding: 0 7px;
}

.listing-page .list-product-row {
    display: flex;
    align-items: stretch;
    min-height: 280px;
    margin: 0 7px 14px;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(31, 41, 55, .12);
    transition: transform .22s ease, box-shadow .22s ease;
}

.listing-page .list-product-row:hover {
    box-shadow: 0 10px 24px rgba(31, 41, 55, .18);
    transform: translateY(-3px);
}

.listing-page .list-product-media,
.listing-page .list-product-details {
    padding: 0;
}

.listing-page .list-product-media {
    flex: 0 0 42%;
    max-width: 42%;
}

.listing-page .list-product-media .product-grid {
    height: 280px;
    min-height: 280px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.listing-page .list-product-media .product-image {
    display: flex;
    width: 100%;
    height: 280px !important;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.listing-page .list-product-media .product-image-container {
    width: 100%;
    max-width: 340px;
    height: 245px !important;
    margin: 0 auto;
    line-height: 190px;
}

.listing-page .list-product-media .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.listing-page .list-product-media .product-new-label {
    top: 12px;
    left: 0;
    padding: 4px 8px;
    border-radius: 0 4px 4px 0;
    background: #2dbb73;
    font-size: 10px;
}

.listing-page .list-product-media .add-favorite {
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
}

.listing-page .list-product-media .add-favorite button {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #9ca3af;
    font-size: 15px;
}

.listing-page .list-product-details {
    display: flex;
    flex: 1 1 auto;
    max-width: 58%;
    align-items: center;
    padding: 28px 34px;
}

.listing-page .list-product-details .product-content {
    position: static !important;
    width: 100%;
    padding: 0;
    background: transparent;
}

.listing-page .list-product-details .list-product-title {
    margin: 0;
    padding: 0 0 13px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.listing-page .list-product-details .list-product-title a,
.listing-page .list-product-details .list-product-title a:hover {
    color: #111827;
    text-decoration: none;
}

.listing-page .list-product-details .product-rating-small {
    width: auto;
    margin: 0 0 12px !important;
    padding: 0;
}

.listing-page .list-product-details .list-product-desc {
    margin: 0 0 11px;
    color: #6b7280;
    font-size: 14px;
}

.listing-page .list-product-details .list-view-price {
    margin: 0 0 12px !important;
}

.listing-page .list-product-details .list-view-price p {
    margin: 0 !important;
    color: #111827 !important;
}

.listing-page .list-product-details .list-view-price #price {
    font-size: 21px !important;
    font-weight: 700;
}

.listing-page .list-product-details .list-view-price .striped-price {
    margin-left: 7px;
    color: #ef4444 !important;
    font-size: 12px !important;
}

.listing-page .list-product-details .button {
    display: block;
}

.listing-page .list-product-details .add-to-cart {
    display: inline-block;
    width: auto;
    min-width: 122px;
    padding: 9px 15px;
    border: 0;
    border-radius: 3px;
    background: #ffe500;
    color: #111 !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.listing-page .list-product-details .add-to-cart:hover,
.listing-page .list-product-details .add-to-cart:focus {
    background: #ffe500 !important;
    color: #111 !important;
    box-shadow: 0 3px 8px rgba(17, 24, 39, .16);
}

@media (max-width: 575.98px) {
    /* Keep the Products heading on its own full-width row. */
    .listing-page .product-listing .row.w-100 > .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 8px;
        margin-bottom: 0;
        padding-top: 8px;
        padding-bottom: 14px;
    }

    .listing-page .product-listing .row.w-100 > .col-12 .h4 {
        margin: 0;
        font-size: 19px;
        line-height: 1.25;
    }

    .listing-page .product-listing .row.w-100 > .col-md-3.col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5px;
        padding-left: 5px;
    }

    .listing-page .product-listing .row.w-100 .product-grid {
        height: 310px;
        min-height: 310px;
        padding-bottom: 64px;
    }

    .listing-page .product-listing .row.w-100 .product-grid .product-image {
        height: 170px !important;
    }

    .listing-page .product-listing .row.w-100 .product-grid .product-image-container {
        height: 158px !important;
        line-height: 158px;
    }

    .listing-page .product-listing .row.w-100 .product-grid .title,
    .listing-page .product-listing .row.w-100 .product-grid .title a {
        font-size: 11px;
    }

    .listing-page .product-listing .row.w-100 .product-grid .product-content p {
        font-size: 14px !important;
    }
}

@media (max-width: 767.98px) {
    .listing-page .list-product-view {
        margin-top: 10px !important;
    }

    .listing-page .list-product-view > .col-12:first-child {
        margin-bottom: 10px;
        padding: 0 5px;
    }

    .listing-page .list-product-row {
        display: block;
        min-height: 0;
        margin: 0 5px 12px;
    }

    .listing-page .list-product-media,
    .listing-page .list-product-details {
        width: 100%;
        max-width: 100%;
    }

    .listing-page .list-product-media .product-grid,
    .listing-page .list-product-media .product-image {
        height: 180px !important;
        min-height: 180px;
    }

    .listing-page .list-product-media .product-image-container {
        height: 160px !important;
        line-height: 160px;
    }

    .listing-page .list-product-details {
        padding: 15px 16px 17px;
    }

    .listing-page .list-product-details .list-product-title {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .listing-page .list-product-details .product-rating-small {
        margin-bottom: 9px !important;
    }

    .listing-page .list-product-details .list-product-desc {
        font-size: 12px;
    }
}

/* Product detail page: spacious two-column layout inspired by the reference. */
.product-page-content {
    margin-top: 16px !important;
    margin-bottom: 24px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-page-content > .card {
    overflow: hidden;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .08);
}

.product-page-content > .card > .row {
    align-items: stretch;
}

.product-page-content .product-preview-image-section-md {
    padding: 26px 30px 22px;
    border-right: 1px solid #edf0f3;
}

.product-page-content .product-gallery-top {
    height: 360px;
}

.product-page-content .product-preview-image-section-md .product-view-image {
    height: 330px;
}

.product-page-content .product-preview-image-section-md .product-view-image-container {
    display: flex;
    height: 300px;
    align-items: center;
    justify-content: center;
}

.product-page-content .product-preview-image-section-md .product-view-image-container img {
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
}

.product-page-content .product-preview-image-section-md .swiper-button-next,
.product-page-content .product-preview-image-section-md .swiper-button-prev {
    color: #9ca3af;
}

.product-page-content .product-page-details {
    padding: 30px 38px 34px;
}

.product-page-content .product-page-details .product-title {
    margin: 0 0 12px !important;
    color: #111827;
    font-size: 27px !important;
    font-weight: 700;
    line-height: 1.25;
}

.product-page-content .product-page-details > p:first-of-type {
    margin: 0 0 14px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.product-page-content .product-page-details > hr {
    margin: 0 0 16px;
    border-top: 1px solid #e5e7eb;
}

.product-page-content .product-page-details .product-rating-small {
    display: flex;
    width: auto;
    align-items: center;
    margin: 0 0 16px !important;
    padding: 0;
}

.product-page-content .product-page-details .price {
    margin: 0 0 16px !important;
    color: #111827;
    font-size: 27px;
    font-weight: 700;
}

.product-page-content .product-page-details .striped-price {
    margin-left: 7px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
}

.product-page-content .product-page-details .num-block {
    display: block;
    clear: both;
    width: fit-content;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.product-page-content .product-page-details .num-in {
    display: flex;
    float: none;
    height: 40px;
    margin-top: 0;
    border: 1px solid #dfe5ec;
    border-radius: 9px;
    background: #fff;
}

.product-page-content .product-page-details .num-in span {
    display: flex;
    float: none;
    width: 32px;
    height: 38px;
    align-items: center;
    justify-content: center;
}

.product-page-content .product-page-details .num-in input {
    float: none;
    width: 42px;
    height: 38px;
    margin: 0;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    overflow: visible !important;
    flex-direction: initial !important;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column > .buttons,
.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column > a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 9px;
    font-size: 14px !important;
    font-weight: 700;
    text-decoration: none;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #add_cart {
    border: 1px solid #ff6500;
    background: #fff8f3 !important;
    color: #f05a00 !important;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #buy_now {
    border: 1px solid #ff6500;
    background: #ff6500 !important;
    color: #fff !important;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column > a[href*="api.whatsapp"] {
    grid-column: 1 / -1;
    border: 1px solid #22c55e;
    background: #f0fdf4 !important;
    color: #16a34a !important;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #compare,
.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #add_to_favorite_btn {
    border: 1px solid #dfe5ec;
    background: #fff !important;
    color: #4b5563 !important;
}

.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #compare:hover,
.product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column #add_to_favorite_btn:hover {
    border-color: #ff6500;
    color: #f05a00 !important;
}

.product-page-content .product-page-details > .mt-2,
.product-page-content .product-page-details > .mt-3 {
    color: #4b5563;
    font-size: 13px;
}

.product-page-content .product-page-details .product-permission-feature {
    display: flex;
    gap: 24px;
    margin-top: 18px !important;
}

.product-page-content .product-page-details .product-permission-feature > [class*="col-"] {
    width: auto;
    flex: 0 0 auto;
    max-width: none;
    padding: 0;
}

.product-page-content .product-page-details .product-details-title {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .product-page-content {
        margin-top: 8px !important;
        margin-bottom: 16px !important;
    }

    .product-page-content .product-preview-image-section-md {
        padding: 14px 14px 8px;
        border-right: 0;
    }

    .product-page-content .product-gallery-top {
        height: 270px;
    }

    .product-page-content .product-preview-image-section-md .product-view-image {
        height: 245px;
    }

    .product-page-content .product-preview-image-section-md .product-view-image-container {
        height: 220px;
    }

    .product-page-content .product-preview-image-section-md .product-view-image-container img {
        max-height: 210px;
    }

    .product-page-content .product-page-details {
        padding: 18px 16px 22px;
    }

    .product-page-content .product-page-details .product-title {
        font-size: 22px !important;
    }

    .product-page-content .product-page-details .d-flex.gap-2.overflow-auto.flex-column {
        grid-template-columns: 1fr;
    }

    .product-page-content .product-page-details .product-permission-feature {
        gap: 12px;
    }
}

#header .header-deals:hover {
    color: #b91c1c;
}

/* Professional account dashboard styling. */
.account-dashboard {
    padding: 28px 0 46px;
    background: #f8fafc;
}

.account-dashboard > .main-content > .col-md-12 {
    margin: 0 0 22px !important;
    padding: 0 10px;
}

.account-dashboard .user-detail {
    padding: 0;
}

.account-dashboard .user-detail h6 {
    margin-bottom: 4px !important;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 600;
}

.account-dashboard .user-detail h5 {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.account-dashboard > .main-content > .row.mb-5 {
    display: flex;
    align-items: flex-start;
    margin: 0 !important;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-4 {
    padding: 0 10px;
}

.account-dashboard .my-account-tab {
    padding: 10px !important;
    border: 1px solid #e5eaf0;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
}

.account-dashboard .my-account-tab .nav-item {
    margin-top: 3px !important;
}

.account-dashboard .my-account-tab .nav-link {
    padding: 12px 14px !important;
    border-left: 3px solid transparent;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.account-dashboard .my-account-tab .nav-link:hover {
    border-left-color: #ffe500;
    background: #fffbea;
    color: #111827 !important;
}

.account-dashboard .my-account-tab .nav-link.active {
    border-left-color: #f2c900;
    background: #fff7c2 !important;
    color: #111827 !important;
}

.account-dashboard .my-account-tab .left-aside {
    width: 22px;
    margin-right: 7px;
    color: #64748b;
}

.account-dashboard .my-account-tab .nav-link.active .left-aside,
.account-dashboard .my-account-tab .nav-link:hover .left-aside {
    color: #c39e00;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0 10px;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card {
    display: block;
    width: auto;
    max-width: none !important;
    flex: none !important;
    min-height: 132px;
    margin: 0 !important;
    border: 1px solid #e5eaf0 !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card:hover {
    border-color: #f1d65c !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .11);
    transform: translateY(-3px);
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #111827 !important;
    text-decoration: none;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card .card-header {
    width: 100%;
    padding: 15px 10px 8px;
    border: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card .card-body {
    padding: 5px 10px 15px;
}

.account-dashboard .dashboard-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff8c7;
    color: #c39e00 !important;
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .account-dashboard {
        padding: 18px 0 30px;
    }

    .account-dashboard > .main-content > .col-md-12 {
        margin-bottom: 16px !important;
        padding: 0 12px;
    }

    .account-dashboard .user-detail h5 {
        font-size: 20px;
    }

    .account-dashboard > .main-content > .row.mb-5 > .col-md-4,
    .account-dashboard > .main-content > .row.mb-5 > .col-md-8 {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
    }

    .account-dashboard > .main-content > .row.mb-5 > .col-md-4 {
        margin-bottom: 18px;
    }

    .account-dashboard > .main-content > .row.mb-5 > .col-md-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card {
        min-height: 116px;
    }

    .account-dashboard > .main-content > .row.mb-5 > .col-md-8 > .card .card-header {
        padding-top: 12px;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    #header,
    #header.header-varient > nav.navbar,
    #header .banner-swiper,
    .banner-swiper,
    .banner-swiper .swiper-wrapper,
    .banner-swiper .center-swiper-slide,
    .banner-swiper .center-swiper-slide a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #header.header-varient > nav.navbar {
        min-height: 106px;
        height: 106px;
        position: relative;
        padding: 0 14px;
    }

    #header .header-bottom {
        display: none !important;
    }

    #header .navbar-brand {
        position: absolute;
        top: 7px;
        left: 50%;
        width: 116px;
        height: 52px;
        margin: 0;
        transform: translateX(-50%);
        border-right: 0;
    }

    #header .brand-logo-link {
        width: 105px;
    }

    #header #navbarNavDropdown {
        display: none !important;
    }

    #header .navbar-toggler {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 3;
        padding: 4px 7px;
    }

    #header .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }

    #header .mobile-header-actions {
        position: absolute;
        top: 14px;
        right: 13px;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 18px;
    }

    #header .mobile-header-actions a,
    #header .mobile-header-actions a:hover,
    #header .mobile-header-actions a:focus {
        color: #1f2937;
        font-size: 18px;
        text-decoration: none;
    }

    #header .container.d-lg-none {
        display: block !important;
        position: absolute;
        top: 54px;
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 13px;
    }

    #header .mobile-search,
    #header .mobile-search .search_product,
    #header .mobile-search .select2-container {
        width: 100% !important;
        height: 40px !important;
    }

    #header .mobile-search .select2-container {
        border-radius: 4px;
        background: #fff;
    }

    #header .header-bottom > .main-content {
        padding: 0 14px;
    }

    #header .header-bottom .col-left {
        flex-basis: 190px;
        max-width: 190px;
    }

    #header + .deeplink_wrapper:empty {
        display: none;
    }

    #header + .deeplink_wrapper:empty + section.mt-2 {
        margin-top: 0 !important;
    }

    /* Category rail: touch-swipe on mobile, no forced centering. */
    .category-section .row {
        display: block;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .category-section ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        gap: 18px !important;
        padding: 0 4px 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: none;
    }

    .category-section ul::-webkit-scrollbar {
        display: none;
    }

    .category-section li {
        flex: 0 0 84px;
        scroll-snap-align: start;
    }

    /* Brands retain the existing Swiper behavior on narrow screens. */
    .product-section .brand-swiper {
        width: 100% !important;
        overflow: hidden;
        touch-action: pan-x;
    }

    .product-section .brand-swiper .swiper-wrapper {
        display: flex;
    }

    .product-section .swiper-slide-brand {
        flex: 0 0 96px;
        width: 96px !important;
        margin: 0 !important;
    }

    .category-section .category-section-title h3 {
        font-size: 15px;
    }

    .product-section .my-3 h3,
    .product-section .my-3 .h3 {
        font-size: 16px !important;
    }
}

.main-content {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

/* Banner stays at the same visual height on every desktop screen. */
.banner-swiper {
    height: auto !important;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.banner-swiper .center-swiper-slide,
.banner-swiper .center-swiper-slide a {
    width: 100%;
    height: auto;
}

.banner-swiper .center-swiper-slide img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none;
    object-fit: contain;
    border-radius: 8px;
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 78px);
    max-width: 1380px;
    box-sizing: border-box;
    min-height: 70px;
    height: 70px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #e0e3e8;
    background: #fff;
}

.home-service-item {
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border-right: 1px solid #e0e3e8;
    color: #3b4a5a;
}

.home-service-item:last-child {
    border-right: 0;
}

.home-service-item > i {
    min-width: 28px;
    color: #3c5870;
    font-size: 25px;
    text-align: center;
}

.home-service-item div {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.home-service-item strong {
    color: #1f2937;
    font-size: 12px;
}

.home-service-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #7c8794;
    font-size: 10px;
}

/* Category and brand rails match the small circular tiles in the reference. */
.category-section {
    padding: 14px 18px 10px;
    background: #fff !important;
    border-radius: 8px;
    border: 0;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .10);
}

.category-section .category-section-title h3,
.product-section > .featured-section-title h3,
.product-style-default .section-title {
    color: #202124 !important;
    font-size: 18px;
    font-weight: 700;
}

.category-section .category-section-title h3 {
    font-size: 16px;
}

.product-section .my-3 h3,
.product-section .my-3 .h3 {
    margin-bottom: 0;
    color: #202124 !important;
    font-size: 18px !important;
    font-weight: 700;
}

.product-section .my-3 .featured-section-view-more {
    color: #111827 !important;
    font-size: 11px;
    font-weight: 700;
}

.product-section .my-3 .featured-section-view-more:hover,
.product-section .my-3 .featured-section-view-more:focus {
    color: #111827 !important;
    text-decoration: none;
}

.category-section ul,
.product-section .brand-swiper .swiper-wrapper {
    align-items: flex-start;
}

.category-section ul {
    gap: 26px !important;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.category-section li {
    min-width: 84px;
}

.category-section li img,
.brand_image img,
.brand_img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
    padding: 5px;
    border: 1px solid #e4e7eb;
    border-radius: 50%;
    background: #fff;
}

.category-section li h4,
.brand-swiper h6 {
    width: 84px;
    margin: 8px auto 0 !important;
    overflow: hidden;
    color: #4b5563 !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-section {
    padding: 14px 18px !important;
    border-radius: 8px;
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .10);
}

.product-section > .my-3,
.product-style-default .featured-section-title {
    margin: 0 0 12px !important;
}

.product-section .swiper-slide-brand {
    width: 104px !important;
    background: transparent;
}

.product-section .swiper-slide-brand > a {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.product-section .brand_image {
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
}

.product-section .brand_image img,
.product-section .brand_img {
    flex: 0 0 70px;
}

.product-section .swiper-slide-brand h6 {
    display: block;
    height: 28px;
    margin-top: 8px !important;
    text-align: center;
}

.product-style-default {
    position: relative;
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .10);
}

.product-style-default .featured-section-title {
    position: relative;
    padding: 4px 8px 0;
}

.product-style-default .section-title {
    margin: 0 0 3px;
    color: #172033;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.25;
}

.product-section .section-title {
    font-size: 18px !important;
    line-height: 1.25;
}

.product-style-default .title-sm {
    color: #748094;
    font-size: 12px !important;
    line-height: 1.3;
}

.product-style-default .featured-section-view-more {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #2166d1 !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.product-style-default .featured-section-title .col-md-2 {
    align-self: center;
    margin-top: 0 !important;
    padding-right: 8px;
}

.section-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    padding-right: 8px;
}

.section-header-actions button {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #425466;
    cursor: pointer;
}

.section-header-actions button:hover {
    background: #f1f5f9;
    color: #111827;
}

.section-header-actions .featured-section-view-more {
    position: static;
    margin-left: 2px;
    color: #2166d1 !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.section-header-actions .featured-section-view-more::after {
    content: '  ›';
    font-size: 18px;
    line-height: 0;
    vertical-align: -1px;
}

.product-style-default .featured-section-view-more::after {
    content: '  ›';
    font-size: 18px;
    line-height: 0;
    vertical-align: -1px;
}

.product-style-default > .product-image-swiper-next,
.product-style-default > .product-image-swiper-prev {
    display: none !important;
}

.product-style-default .featured-section-title hr {
    display: none;
}

.product-style-default .product-rating-small {
    display: none !important;
}

.product-style-default .featured-section-title hr {
    margin: 10px 0 0;
    border-color: #edf0f2;
}

/* Explore/deal strips keep their supplied colors while fixing image height. */
.main-content > .cont,
.product-style-default > .cont {
    min-height: 110px;
    padding: 14px 18px;
    overflow: hidden;
    border-radius: 8px;
}

.cont .p {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.explore-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.explore-header .p {
    margin: 0;
}

.explore-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.explore-actions button {
    display: inline-flex !important;
    width: 32px !important;
    height: 32px !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #425466;
    box-shadow: none;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}

.explore-actions button:hover {
    background: #f1f5f9;
}

.explore-actions a {
    margin-left: 2px;
    color: #111827 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.explore-actions a:hover,
.explore-actions a:focus,
.explore-actions a:active {
    color: #111827 !important;
    text-decoration: none;
}

.explore-swiper {
    display: block !important;
    width: 100%;
    height: auto !important;
    overflow: hidden;
    padding: 0 2px 4px !important;
}

.explore-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: max-content;
    transition: transform .35s ease;
}

.explore-swiper .swiper-slide-brand {
    margin: 0 !important;
}

.explore-swiper .swiper-controls {
    display: none;
}

.cont .imm {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none;
    object-fit: initial;
    background: transparent;
    border-radius: 5px;
}

.cont .swiper-wrapper {
    align-items: center;
}

.cont .swiper-slide-brand {
    height: auto !important;
}

.explore-swiper .swiper-slide-brand {
    padding: 0 5px;
}

/* Product cards: uniform image area, clear hierarchy, yellow purchase CTA. */
.product-image-swiper {
    padding: 10px 2px 22px;
}

.product-image-swiper .ss {
    width: 16.666667% !important;
    padding: 0 5px;
}

.product-image-swiper .product-grid {
    height: 286px;
    padding-bottom: 6px;
    border: 0 !important;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(31, 41, 55, .12);
    transition: transform .22s ease, box-shadow .22s ease;
    will-change: transform;
}

.product-image-swiper .product-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(31, 41, 55, .20);
}

/* Keep the same card language across every home section style. */
.product-section .product-grid {
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(31, 41, 55, .12);
    transition: transform .22s ease, box-shadow .22s ease;
}

.product-section .product-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(31, 41, 55, .20);
}

.product-section .product-grid .title,
.product-section .product-grid .title a {
    text-align: center;
}

.product-section .product-grid .title a:hover,
.product-section .product-grid .title a:focus {
    color: #111827 !important;
}

.product-section .product-grid .product-rating-small {
    display: none !important;
}

.product-section .product-grid .add-to-cart {
    padding: 8px 10px;
    background: #ffe500;
    color: #111 !important;
}

.product-section .product-grid .add-to-cart:hover {
    background: #ffe500 !important;
    color: #111 !important;
}

/* Normalize the card proportions for style 1, style 2 and future home styles. */
.product-section .product-grid {
    min-height: 350px;
    padding-bottom: 6px;
    overflow: hidden;
}

.product-section .product-grid .product-image {
    height: 220px;
    padding: 8px;
}

.product-section .product-grid .product-image-container {
    width: 100%;
    height: 200px;
    line-height: 200px;
}

.product-section .product-grid .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-section .product-grid .product-content {
    padding: 0 8px 5px;
}

.product-section .product-grid .rating-container,
.product-section .product-grid > .product-content > input.rating-loading {
    display: none !important;
}

.product-style-default .product-image-swiper .product-grid {
    height: 350px;
}

.product-style-default .product-image-swiper .product-image {
    height: 220px;
}

.product-style-default .product-image-swiper .product-image-container {
    height: 200px;
    line-height: 200px;
}

.product-image-swiper .product-image {
    height: 205px;
    padding: 8px;
}

.product-image-swiper .product-image-container {
    width: 100%;
    height: 185px;
    line-height: 185px;
}

.product-image-swiper .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-swiper .product-grid .product-content {
    bottom: 6px;
    padding: 0 8px 5px;
}

.product-image-swiper .product-grid .title {
    height: 30px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.product-image-swiper .product-grid .title a,
.product-image-swiper .product-grid .title a:hover,
.product-image-swiper .product-grid .title a:focus {
    color: #111827 !important;
}

.product-image-swiper .product-grid .price,
.product-image-swiper .product-grid #price {
    color: #111827;
    font-size: 12px !important;
    font-weight: 700;
}

.product-image-swiper .product-grid .add-to-cart {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 2px;
    background: #ffe500;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.product-image-swiper .product-grid .add-to-cart:hover {
    background: #ffe500 !important;
    color: #111 !important;
    box-shadow: 0 2px 5px rgba(17, 24, 39, .16);
}

.product-image-swiper .product-grid .social {
    display: flex;
    width: auto;
    gap: 7px;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.product-image-swiper .product-grid .social li a {
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    line-height: 32px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
}

.product-image-swiper .product-grid .social li a:hover {
    background: #ffe500;
    color: #111827;
}

.product-image-swiper .product-grid .product-new-label {
    top: 8px;
    left: 8px;
    padding: 2px 5px;
    border-radius: 2px;
    background: #2dbb73;
    font-size: 9px;
}

@media (max-width: 991.98px) {
    .home-service-strip {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 28px);
        height: auto;
        min-height: 70px;
    }

    .home-service-item:nth-child(2) {
        border-right: 0;
    }

    .product-image-swiper .ss {
        width: 25% !important;
    }
}

@media (max-width: 575.98px) {
    .category-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .category-section ul {
        gap: 12px !important;
        justify-content: flex-start !important;
    }

    .home-service-strip {
        display: flex;
        grid-template-columns: none;
        width: calc(100% - 20px);
        height: 70px;
        min-height: 70px;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .home-service-item,
    .home-service-item:nth-child(2) {
        flex: 0 0 210px;
        height: 68px;
        justify-content: flex-start;
        border-right: 1px solid #e0e3e8;
        border-bottom: 0;
    }

    .home-service-item:last-child {
        border-right: 0;
    }

    .product-image-swiper .ss {
        width: 50% !important;
    }

    .product-image-swiper .product-grid {
        height: 276px;
    }
}

/* Compact spacing for all home-page sections */
.main-content > .category-section,
.main-content > .product-section,
.main-content > .product-style-default,
.main-content > .cont,
.product-style-default,
.product-section {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.main-content > .category-section,
.main-content > .product-section,
.main-content > .product-style-default,
.main-content > .cont {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.product-style-default .featured-section-title,
.product-section > .my-3 {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

.product-style-default .product-image-swiper,
.product-section .brand-swiper {
    padding-top: 4px;
    padding-bottom: 8px;
}

/* App download banner */
.mobile-app.product-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px;
    margin: 14px 0 !important;
    padding: 38px 54px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: linear-gradient(112deg, #ff5a00 0%, #ff7628 48%, #ffad6d 100%) !important;
    box-shadow: 0 10px 28px rgba(243, 91, 18, .18) !important;
}

.mobile-app.product-section::after {
    content: '20';
    position: absolute;
    top: -72px;
    right: 34px;
    z-index: -1;
    color: rgba(255, 255, 255, .13);
    font-size: 250px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.mobile-app.product-section .row {
    min-height: 224px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mobile-app .mobile-app-wrapper {
    display: flex;
    width: 212px;
    height: 212px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(134, 52, 12, .14);
}

.mobile-app .mobile-app-wrapper img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mobile-app .text-area {
    margin: 0 !important;
    padding: 0 12px;
    text-align: center;
}

.mobile-app .mobile-app-text {
    margin: 0 0 8px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .7px;
    line-height: 1.2;
    text-transform: uppercase;
}

.mobile-app .text-area h3.header-p {
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.mobile-app .text-area p.header-p {
    margin: 0 auto !important;
    color: rgba(255, 255, 255, .96) !important;
    font-size: 14px;
    line-height: 1.5;
}

.mobile-app .text-area > div:last-child {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px !important;
}

.mobile-app .download_section {
    display: block;
    width: 145px;
    height: auto;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mobile-app .download_section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(73, 30, 5, .2);
}

@media (max-width: 767.98px) {
    .mobile-app.product-section {
        min-height: 0;
        margin: 10px 0 !important;
        padding: 24px 14px !important;
        border-radius: 18px !important;
    }

    .mobile-app.product-section::after {
        top: -30px;
        right: -6px;
        font-size: 150px;
    }

    .mobile-app.product-section .row {
        min-height: 0;
    }

    .mobile-app.product-section .row > div {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .mobile-app .mobile-app-wrapper {
        width: 126px;
        height: 126px;
        padding: 14px;
        border-radius: 20px;
        margin: 0 auto 18px;
    }

    .mobile-app .text-area {
        padding: 0;
    }

    .mobile-app .mobile-app-text {
        font-size: 13px;
        letter-spacing: .4px;
    }

    .mobile-app .text-area h3.header-p {
        font-size: 23px;
    }

    .mobile-app .text-area p.header-p {
        font-size: 12px;
    }

    .mobile-app .text-area > div:last-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
        margin-top: 14px !important;
    }

    .mobile-app .text-area > div:last-child a {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .mobile-app .download_section {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
    }
}

/* Clean light footer */
#dark-footer.footer-section-footer {
    background: #fff !important;
    color: #1f2937;
    border-top: 1px solid #eef0f3;
}

#dark-footer .footer-cta {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #e9edf2;
}

#dark-footer .single-cta {
    display: flex;
    align-items: center;
    min-height: 52px;
}

#dark-footer .single-cta i {
    flex: 0 0 32px;
    float: none;
    color: #f2d900;
    font-size: 27px;
    margin-top: 0;
    text-align: center;
}

#dark-footer .cta-text h3 {
    margin: 0 0 3px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

#dark-footer .cta-text p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

#dark-footer .footer-content-footer {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
}

#dark-footer .footer-logo-footer {
    display: inline-flex;
    max-width: 215px;
    max-height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 9px 13px;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    background: #fff;
}

#dark-footer .footer-logo-footer img {
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}

#dark-footer .footer-social-icon h4,
#dark-footer .footer-widget-heading h4 {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

#dark-footer .footer-social-icon h4 {
    margin-bottom: 14px;
}

#dark-footer .footer-social-icon a {
    margin-right: 8px;
}

#dark-footer .footer-social-icon i {
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease;
}

#dark-footer .footer-social-icon i:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(15, 23, 42, .16);
}

#dark-footer .footer-widget-heading h4 {
    margin-bottom: 30px;
}

#dark-footer .footer-widget-heading h4::before {
    bottom: -10px;
    width: 34px;
    height: 3px;
    border-radius: 4px;
    background: #f2d900;
}

#dark-footer .footer-text p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
}

#dark-footer .footer-widget ul {
    margin: 0;
    padding: 0;
}

#dark-footer .footer-widget ul li {
    margin-bottom: 9px;
}

#dark-footer .footer-widget ul li a {
    display: inline-block;
    padding: 3px 8px 3px 0;
    border-radius: 4px;
    color: #6b7280;
    font-size: 14px;
    transition: color .2s ease, padding-left .2s ease;
}

#dark-footer .footer-widget ul li a:hover,
#dark-footer .footer-widget ul li a:focus {
    padding-left: 3px;
    color: #111827 !important;
    background: #f7f8fa;
    text-decoration: none;
}

#dark-footer .footer-cta a,
#dark-footer .footer-cta a:hover,
#dark-footer .footer-cta a:focus {
    color: inherit;
    text-decoration: none;
}

/* Keep navigation hover states readable and understated. */
#header .header-bottom .main-nav > ul > li > a:hover,
#header .header-bottom .main-nav > ul > li > a:focus,
#header #navbarNavDropdown .navbar-nav > li > a:hover,
#header #navbarNavDropdown .navbar-nav > li > a:focus {
    background: #f7f8fa !important;
    color: #111827 !important;
    box-shadow: inset 0 -2px 0 #f2d900 !important;
}

#dark-footer .copyright-area {
    padding: 17px 0;
    background: #f7f8fa !important;
    border-top: 1px solid #eef0f3;
}

#dark-footer .copyright-text p {
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    #dark-footer .footer-cta,
    #dark-footer .footer-content-footer {
        padding-top: 22px !important;
        padding-bottom: 18px !important;
    }

    #dark-footer .footer-cta .row > div {
        margin-bottom: 18px;
    }

    #dark-footer .footer-cta .row > div:last-child {
        margin-bottom: 0;
    }

    #dark-footer .footer-content-footer .row > div {
        margin-bottom: 26px;
    }

    #dark-footer .footer-content-footer .row > div:last-child {
        margin-bottom: 0;
    }

    #dark-footer .footer-widget-heading h4 {
        margin-bottom: 24px;
    }

    #dark-footer .copyright-area {
        padding: 14px 0;
    }
}

/* Let the hero render first, then reveal the heavier home content smoothly. */
.home-lazy-sections {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}

.home-lazy-sections.home-sections-ready {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .home-lazy-sections {
        transform: none;
        transition: none;
    }
}

/* Professional All Categories dropdown */
@media (min-width: 992px) {
    #header .header-bottom .col-left {
        position: relative;
        z-index: 1100;
    }

    #header .header-categories-nav-wrap {
        background: #fff;
        border-right: 1px solid #eef0f3;
    }

    #header .header-categories-nav .menu-opener {
        min-width: 245px;
        max-width: none;
        height: 48px;
        padding: 0 14px;
        background: #fff;
        color: #111827 !important;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .2px;
    }

    #header .header-categories-nav .menu-opener .burger-menu {
        margin-top: 0;
        margin-bottom: 0;
    }

    #header .header-categories-nav .menu-opener .burger-menu i {
        margin-right: 9px;
    }

    #header .header-categories-nav .categories-menu-dropdown {
        top: 48px;
        right: auto;
        left: 0;
        width: 270px;
        z-index: 1200;
        transform: translateY(7px) translateZ(0);
        border-radius: 0 0 10px 10px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
    }

    #header .header-categories-nav.show-menu:hover .categories-menu-dropdown {
        transform: translateY(0) translateZ(0);
    }

    #header .categories-menu-dropdown .menu-categorie-container,
    #header .categories-menu-dropdown .vertical-nav,
    #header .categories-menu-dropdown .vertical-navigation .menu {
        width: 270px;
    }

    #header .categories-menu-dropdown .vertical-navigation .menu {
        display: block !important;
        overflow: hidden;
        border: 1px solid #e5e7eb;
        border-top: 0;
        border-radius: 0 0 10px 10px;
        background: #fff;
    }

    #header .categories-menu-dropdown .vertical-nav > a {
        display: block;
        padding: 0;
        border-bottom: 1px solid #eef0f3;
        background: #fff;
        color: #1f2937;
        text-decoration: none;
    }

    #header .categories-menu-dropdown .vertical-nav > a:hover {
        background: #f8fafc;
    }

    #header .categories-menu-dropdown .category-span {
        min-height: 52px;
        margin: 0;
        padding: 5px 11px;
        align-items: center;
    }

    #header .categories-menu-dropdown .category-span > .col-md-4 {
        width: 48px;
        max-width: 48px;
        flex: 0 0 48px;
        padding: 0;
    }

    #header .categories-menu-dropdown .category-span .svg-icon-image {
        display: block;
        width: 42px;
        height: 42px;
        object-fit: cover;
        border-radius: 7px;
        background: #f3f4f6;
    }

    #header .categories-menu-dropdown .category-line-height {
        display: block;
        margin: 0 0 0 12px;
        color: #1f2937 !important;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.25;
    }

    #header .categories-menu-dropdown .see-all-category {
        display: flex;
        min-height: 44px;
        align-items: center;
        padding: 0 16px !important;
        background: #fff;
        color: #111827 !important;
        font-size: 13px;
        font-weight: 700 !important;
        text-decoration: none;
    }

    #header .categories-menu-dropdown .vertical-nav > a:last-child:hover,
    #header .categories-menu-dropdown .see-all-category:hover {
        background: #f8fafc;
        color: #111827 !important;
    }
}

/* Category listing page */
.category-page-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

.category-page-section.category-section {
    padding: 26px 28px 30px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #f6f8fb !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07) !important;
}

.category-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.category-page-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #ff5a00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.category-page-header h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.category-page-products-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff5a00 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.category-page-products-link:hover,
.category-page-products-link:focus {
    color: #111827 !important;
}

.category-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.category-page-item {
    min-width: 0;
}

.category-page-card {
    display: flex;
    min-height: 220px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 9px 9px 16px;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
    color: #111827;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-page-card:hover,
.category-page-card:focus {
    border-color: #d8dee8;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
    color: #111827;
    transform: translateY(-3px);
}

.category-page-image-wrap {
    display: flex;
    width: 100%;
    height: 158px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
}

.category-page-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-page-name {
    display: block;
    width: 100%;
    margin-top: 12px;
    overflow: hidden;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-page-grid > .col-12 {
    grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
    .category-page-wrapper {
        margin-top: 10px !important;
        margin-bottom: 16px !important;
        padding: 0 10px;
    }

    .category-page-section.category-section {
        padding: 18px 12px 20px !important;
        border-radius: 14px !important;
    }

    .category-page-header {
        margin-bottom: 14px;
    }

    .category-page-header h1 {
        font-size: 24px;
    }

    .category-page-products-link {
        font-size: 11px;
    }

    .category-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-page-card {
        min-height: 174px;
        padding: 7px 7px 11px;
        border-radius: 12px;
    }

    .category-page-image-wrap {
        height: 118px;
        border-radius: 9px;
    }

    .category-page-name {
        margin-top: 8px;
        font-size: 11px;
    }
}

/* Product category and subcategory listing */
.category-listing-hero {
    display: flex;
    max-width: 1440px;
    min-height: 178px;
    align-items: center;
    gap: 24px;
    margin: 16px auto 14px;
    padding: 18px 22px;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15, 23, 42, .06);
}

.category-listing-hero-image {
    display: flex;
    width: 210px;
    height: 142px;
    flex: 0 0 210px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e1e6ec;
    border-radius: 14px;
    background: #f8fafc;
}

.category-listing-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-listing-hero-copy {
    min-width: 0;
}

.category-listing-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #ff5a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.category-listing-hero-copy h1 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.category-listing-hero-copy p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.listing-page {
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

.listing-page .product-listing {
    padding-top: 12px !important;
    padding-bottom: 20px !important;
    background: transparent;
}

.listing-page .product-listing > .row > .filter-sidebar-view,
.listing-page .product-listing > .row > [class*="col-lg-"] > .filter-section {
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.listing-page .product-listing > .row > .filter-sidebar-view {
    padding: 18px !important;
}

.listing-page .filter-sidebar-view h6,
.listing-page .filter-sidebar-view .product_filter_btn {
    color: #111827;
    font-weight: 700;
}

.listing-page .filter-sidebar-view .product_filter_btn {
    color: #ff5a00;
    font-size: 12px;
}

.listing-page .product-listing > .row > [class*="col-lg-"] > .filter-section {
    padding: 18px !important;
}

.subcategory-heading {
    width: 100%;
    max-width: 100%;
    padding: 0 0 13px !important;
    border-bottom: 1px solid #e5e7eb;
}

.subcategory-heading .h3 {
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.subcategory-section.category-section {
    width: 100%;
    margin: 16px 0 8px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: #fff !important;
    box-shadow: none !important;
}

.subcategory-section .subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 14px;
    margin: 0;
}

.subcategory-section .subcategory-item {
    width: auto;
    max-width: none;
    padding: 0;
}

.subcategory-section .subcategory-card {
    display: block;
    width: 100%;
    min-height: 170px;
    padding: 8px 8px 12px;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.subcategory-section .subcategory-card:hover {
    border-color: #d6dde6;
    box-shadow: 0 9px 18px rgba(15, 23, 42, .11);
    transform: translateY(-3px);
}

.subcategory-section .subcategory-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    text-decoration: none !important;
}

.subcategory-section .subcategory-image-wrap {
    display: flex;
    width: 100%;
    height: 125px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9px;
    background: #f8fafc;
}

.subcategory-section .subcategory-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-section .subcategory-name {
    display: block;
    width: 100%;
    margin-top: 10px;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 767.98px) {
    .category-listing-hero {
        min-height: 0;
        flex-direction: column;
        gap: 13px;
        margin: 6px 10px 4px;
        padding: 14px;
        text-align: center;
    }

    .category-listing-hero-image {
        width: 112px;
        height: 94px;
        flex-basis: 94px;
        border-radius: 11px;
    }

    .category-listing-hero-copy h1 {
        font-size: 24px;
    }

    .category-listing-hero-copy p {
        font-size: 12px;
    }

    .listing-page {
        padding: 0 10px;
    }

    .listing-page .product-listing {
        padding-top: 8px !important;
    }

    .listing-page .product-listing > .row > [class*="col-lg-"] > .filter-section {
        padding: 13px !important;
    }

    .subcategory-heading {
        padding-bottom: 10px !important;
    }

    .subcategory-heading .h3 {
        font-size: 19px;
    }

    .subcategory-section .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .subcategory-section .subcategory-card {
        min-height: 152px;
        padding: 6px 6px 9px;
    }

    .subcategory-section .subcategory-image-wrap {
        height: 108px;
    }

    .subcategory-section .subcategory-name {
        margin-top: 7px;
        font-size: 11px;
    }
}

/* Product-listing brand filters */
#brand-filters-desktop .brand_filter,
#brand-filters-mobile .brand_filter {
    display: flex;
    align-items: center;
    gap: 12px !important;
    margin-top: 12px !important;
    padding: 0 !important;
}

#brand-filters-desktop .brand_div,
#brand-filters-mobile .brand_div {
    margin: 0;
    padding: 0;
}

#brand-filters-desktop .brand_div label,
#brand-filters-mobile .brand_div label {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px;
    border: 1px solid #e1e6ec;
    border-radius: 9px;
    background: #fff;
}

#brand-filters-desktop .brand_filter_img,
#brand-filters-mobile .brand_filter_img {
    display: block;
    width: 44px !important;
    height: 44px !important;
    max-width: 100%;
    object-fit: contain;
}

#brand-filters-desktop .brand_div input,
#brand-filters-mobile .brand_div input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Mobile filter drawer */
@media (max-width: 991.98px) {
    .listing-page .product-listing {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 8px !important;
    }

    /* Match the product panel width with the category hero above it. */
    .listing-page .product-listing > .row > .col-md-12 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .listing-page .product-listing > .row > [class*="col-lg-"] > .filter-section {
        margin-top: 0 !important;
        padding: 4px 10px 8px !important;
    }

    .listing-page .product-listing .filter-bars {
        width: 34px;
        height: 34px;
        padding: 0;
        line-height: 34px;
    }

    .listing-page .product-listing .sort-by {
        display: flex;
        float: none !important;
        flex-direction: column;
        padding: 0 !important;
    }

    .listing-page .product-listing .sort-by > .dropdown {
        display: flex;
        float: none !important;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 8px !important;
    }

    .listing-page .product-listing .row.w-100 > .col-12 .h4 {
        margin-left: 8px;
    }

    .listing-page .product-listing .sort-by .ele-wrapper,
    .listing-page .product-listing .sort-by .ele-wrapper .form-group {
        width: 100%;
        margin: 0;
        padding: 0 !important;
    }

    .listing-page .js-filter-nav.open {
        position: fixed !important;
        inset: 0;
        display: block !important;
        width: 100vw !important;
        height: 100vh !important;
        max-height: none;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 0;
        background: rgba(15, 23, 42, .28);
        z-index: 10000;
    }

    .listing-page .js-filter-nav.open .js-filter-nav__list {
        display: block !important;
        width: min(100%, 520px);
        height: 100%;
        max-height: none;
        margin: 0 auto;
        padding: 68px 16px 24px;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 0 28px rgba(15, 23, 42, .2);
    }

    .listing-page .js-filter-nav.open .js-filter-nav__list > div {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .listing-page .js-menu.active {
        position: fixed !important;
        top: 16px;
        right: max(16px, calc((100vw - 520px) / 2 + 16px));
        z-index: 10002;
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .14);
    }

    .listing-page .js-menu.active .menu__line {
        top: auto !important;
        right: 8px;
        bottom: auto !important;
        left: 8px;
        width: 18px;
        height: 2px;
        margin: 0;
        background: #111827;
    }

    .listing-page .js-menu.active .menu__line:nth-child(1) {
        transform: rotate(45deg) !important;
    }

    .listing-page .js-menu.active .menu__line:nth-child(3) {
        transform: rotate(-45deg) !important;
    }

    .listing-page .js-filter-nav.open #brand-filters-mobile .brand_filter {
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .listing-page .js-filter-nav.open #brand-filters-mobile .brand_div label {
        width: 60px;
        height: 60px;
    }

    .listing-page .js-filter-nav.open #brand-filters-mobile .brand_filter_img {
        width: 48px !important;
        height: 48px !important;
    }

    .listing-page .js-filter-nav.open .filter_attributes,
    .listing-page .js-filter-nav.open #brand-filters-mobile,
    .listing-page .js-filter-nav.open #category-filters-mobile {
        margin-bottom: 24px !important;
        padding-bottom: 16px;
        border-bottom: 1px solid #eef0f3;
    }

    .listing-page .js-filter-nav.open .filter_attributes > .d-flex,
    .listing-page .js-filter-nav.open #brand-filters-mobile > .d-flex,
    .listing-page .js-filter-nav.open #category-filters-mobile > .d-flex {
        min-height: 30px;
        align-items: center;
    }

    .listing-page .js-filter-nav.open .filter_attributes h6,
    .listing-page .js-filter-nav.open #brand-filters-mobile h6,
    .listing-page .js-filter-nav.open #category-filters-mobile h6 {
        color: #111827;
        font-size: 15px;
        font-weight: 700;
    }

    .listing-page .js-filter-nav.open .product_filter_btn {
        color: #ff5a00 !important;
        font-size: 12px;
        font-weight: 700;
    }

    .listing-page .js-filter-nav.open > .js-filter-nav__list > div > .d-flex:last-child {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin: 0 -16px;
        padding: 14px 16px 4px;
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid #eef0f3;
    }

    .listing-page .js-filter-nav.open > .js-filter-nav__list > div > .d-flex:last-child .button {
        min-height: 40px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
    }
}

/* Keep the dark active account state consistent after all theme media rules. */
.my-account-section .my-account-tab .nav-link.active {
    border-left: 3px solid #111827 !important;
    background: #111827 !important;
    color: #fff !important;
}

.my-account-section .my-account-tab .nav-link.active .left-aside {
    color: #ffe500 !important;
}
