html[lang="ar"] {
    font-family: 'Cairo', sans-serif !important;
}

html,
body {
    position: relative;
    overflow-x: hidden !important;
    width: 100%;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    border: none;
    background: #108910;
    color: #fff;
    opacity: 0.9
}

.btn:hover {
    border: 1px solid transparent;
}

.header-wrap {
    padding: 10px 0;
}

.header-nav {
    width: 100%;
}

.header-wrap .header-nav nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.hero-slider-1 .single-hero-slider a {
    padding: 0;
}

.hero-slider-1 img {
    height: 100%;
    /* object-fit: cover; */
    width: 100%;
}

.header-style-1 .header-top-ptb-1 {
    padding: 10px 0;
    border-bottom: 1px solid #f7f7f7;
}

.header-wrap .header-nav .main-menu {
    width: 100%;
}

.remove-padding {
    padding: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 6px 0;
}

.breadcrumb li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0 2px;
    color: #4b5b4b;
    font-size: 13px;
}

.breadcrumb li a {
    color: #0b5b2d;
    text-decoration: none;
    background: #f2f7f2;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e3eee3;
}

.breadcrumb li.active {
    color: #2e3d2e;
    background: #f7f7f7;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #ececec;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}

@media (max-width: 991px) {
    .breadcrumb {
        gap: 4px;
    }
    .breadcrumb li,
    .breadcrumb li a {
        font-size: 12px;
    }
}

.product-cart-wrap .product-img-action-wrap .product-img a img {
    height: 200px;
    object-fit: contain;
    /* padding: 8px; */
}

.product-content-wrap button.btn.btn-primary.btn-block {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    color: #ffffff;
    border: none;
    background-color: #108910;
    border-radius: 10px;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.product-content-wrap button.btn.btn-primary.btn-block svg {
    width: 20px;
    height: 19px;
    fill: #fff;
}

/* Default button styles */

button.btn.btn-primary.btn-block.custom-btn {
    width: auto;
    border-radius: 20px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.5s ease, transform 0.5s ease;
    max-height: 35px;
}

button.btn.btn-primary.btn-block.custom-btn .btn-text {
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.3s ease;
    position: absolute;
}

.product-cart-wrap .product-content-wrap .product-price span {
    /* color: #000 !important; */
}

button.btn.btn-primary.btn-block.custom-btn:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
    padding: 10px 10px 10px 0px;
    position: relative;
}

button.btn.btn-primary.btn-block.custom-btn i {
    font-size: 15px;
    background: #108910;
    padding: 10px;
    z-index: 1;
}

button.btn.btn-primary.btn-block.custom-btn:hover .btn-text {
    display: flex;
    color: #fff;
    font-size: 14px;
}


.custom-cart-btn .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.15;
}

.custom-cart-btn .btn-text i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    align-self: center;
    flex-shrink: 0;
}

.custom-cart-btn .btn-label {
    display: inline-block;
    line-height: 1.15;
    text-align: center;
}

/* Arabic: keep cart icon closer to label */
html[lang="ar"] .custom-cart-btn .btn-text {
    gap: 2px;
}

.product-liser-home .product-cart-wrap {
    padding: 10px;
    margin: 5px;
}

span.btn.btn-secondary.btn-block.disabled {
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border: none;
    border-radius: 10px;
    width: 100%;
}

/* form.add-to-cart-btn {
    position: absolute;
    top: -48px;
    right: 2px;
} */

.mt-10 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 1rem !important;
}

.product_price {
    position: relative;
}

.widget-category-2 ul li a {
    width: 100%;
}

.search-container {
    width: 95%;
}

.search-container button:hover {
    background: transparent !important;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-wrapper .qty-btn {
    border: none;
    padding: 5px 10px;
    max-width:30.45px;
    width:100%;
    cursor: pointer;
    font-size: 18px;
    border-radius:10px;

    height: 100%;                 
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-wrapper .qty-btn.plus {
    background-color: #0ae1103d;
    color:#108910;
    padding:2px 5px 3px 5px;
}
.quantity-wrapper .qty-btn.plus:hover {
    background-color: #54d15457;
}
.quantity-wrapper .qty-btn.minus{
    background-color: #efefef;
    color:#c4c4c4; 
     padding:2px 5px 7px 5px;
     max-height:29px;
     width: 100%;
     max-width:30.45px;
     height:100%;

}
.quantity-wrapper .qty-btn.minus:hover {
    background-color: #cacaca6b;
    color:#efefef
}

.quantity-wrapper .quantity-input {
    width: 100%;
    text-align: center;
    padding: 5px;
    height: auto;
    border-radius: 0;
    border:none;
}

.qty-btn.minus::before,
.qty-btn-minus::before {
    top: 5px;
}
































/** language **/

/* Custom styling for the language selector */
#language_selector {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

#language_selector button {
    font-size: 14px;
}

#language_selector .btn-language.ar-btn {
    font-family: 'Cairo', sans-serif !important;
}

/* Style the select dropdown */
#language_selector .form-control.custom-select.language-dropdowns {
    width: 200px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 25px;
    /* Rounded corners */
    background-color: #f0f0f0;
    /* Soft light background */
    border: 1px solid #ced4da;
    /* Subtle border */
    transition: all 0.3s ease;
}

/* Hover effect for the select element */
#language_selector .form-control.custom-select.language-dropdowns:hover {
    background-color: #e9ecef;
    /* Light grey background on hover */
    border-color: #007bff;
    /* Blue border on hover */
}

/* Focus effect for the select element */
#language_selector .form-control.custom-select.language-dropdowns:focus {
    background-color: #fff;
    /* White background on focus */
    border-color: #007bff;
    /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    /* Blue glow on focus */
}

/* Hover effect for options in the dropdown */
#language_selector .form-control.custom-select.language-dropdowns option:hover {
    background-color: #108910;
    /* Green background on hover */
    color: #fff;
    /* White text on hover */
}

/* Style for the option elements */
#language_selector .form-control.custom-select.language-dropdowns option {
    font-size: 1rem;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
}

select.language-dropdowns {
    min-width: 100px;
}

/* Ensure the select looks consistent across browsers */
#language_selector .form-control.custom-select.language-dropdowns {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.btn.btn-language {
    background: transparent;
    padding: 0;
    color: #343538;
    font-weight: 500;
}

.btn.btn-language.active,
:not(.btn-check)+.btn-language:active,
.btn.btn-language:hover {
    background: transparent;
    color: #343538;
}

#language_selector .btn.btn-language {
    display: flex;
    align-items: center;
    gap: 10px;
}

#language_selector .btn.btn-language img {
    max-width: 30px;
    border-radius: 5px;
}

.col-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

/* Optional: Additional styling for mobile responsiveness */
@media (max-width: 576px) {
    #language_selector .form-control.custom-select.language-dropdowns {
        width: 100%;
        font-size: 0.9rem;
    }
}

#write_review:hover {
    color: #fff;
}

.slider-content {
    padding: 80px 40px;
    max-width: 40%;
}

.hero-slider-1 h1 {
    color: #fff;
    font-size: 44px;
    text-transform: capitalize;
}

.slider-content a {
    background: transparent;
    border: 1px solid #fff;
}

.slider-content a:hover {
    background: #fff;
    border: 1px solid #fff;
    color: #108910
}

.header-wrap button[type=submit]:hover {
    background: transparent !important;
}

.header-action-2 .header-action-icon-2 span.lable {
    color: #343538;
}

.product-cart-wrap .product-content-wrap h2 {
    display: block !important;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: capitalize;
    transition: .3s ease;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 0 8px;
}

.product-cart-wrap .product-content-wrap h2 a {
    text-transform: capitalize;
}

/* .detail-gallery .zoom-icon {
    z-index: 99999;
} */

.quatity-box .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.quatity-box .input-group .form-control {
    height: auto;
    max-width: 75px;
    min-width: 50px;
    text-align: center;
}

.quatity-box .input-group button.btn.btn-sm {
    border-radius: 10px;
}

.basket-line-actions {
    white-space: nowrap;
}

.basket-line-actions a {
    display: inline;
    white-space: nowrap;
}

.basket-inline-message-cell,
.basket-inline-errors {
    display: none;
}

.basket-line-message-row td {
    border-top: 0;
    padding-top: 0;
}

.basket-line-message-cell {
    padding: 0 0 18px;
}

.basket-line-message-cell .basket-line-errors {
    display: block;
    width: 100%;
}

.basket-line-message-cell .error-block {
    display: block;
    width: 100%;
    margin: 0;
    padding: 4px 10px;
    max-width: none;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
}

.basket-line-message-row td::before,
.basket-line-message-cell::before {
    content: none !important;
    display: none !important;
    float: none !important;
    margin-right: 0 !important;
}

h6.text-custom {
    font-size: 18px;
    color: #000;
}

td.image.product-thumbnail {
    text-align: center;
    margin: 0 auto;
    min-width: 90px;
    max-width: 100px;
}

td.image.product-thumbnail img {
    width: 100%;
}

tr.basket-items img {
    border: none;
}

.nav-checkout .nav-item i {
    color: #fff;
    font-size: 12px;
}

.navbar-expand-md .navbar-nav .nav-link span {
    padding-right: 10px;
}

.order-image {
    text-align: center;
}

.basket-items .image_container img {
    max-height: 125px;
    text-align: center;
}

.order-image a {
    display: block;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding: 0;
}

footer p {
    color: #343538;
}

.navbar-text {
    color: #fff;
    padding: 10px;
}

.custom-checkout .controls .radio label {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
}

.custom-checkout .controls .radio input,
.wishlist-shared-emails .form-group label input {
    width: 20px;
    height: 20px;
}

.wishlist-shared-emails .form-group .form-check {
    padding-left: 0;
}

.wishlist-shared-emails .form-group label {
    display: flex;
    gap: 7px;
}

.custom-checkout input#id_password {
    width: 100%;
    height: 64px;
    margin: 10px 0;
}

ul.errorlist li {
    margin-bottom: 20px;
    background-color: #FD6E6E;
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
}

.error-block {
    background-color: #E81F2A;
    margin: 20px 0;
    padding: 5px 10px;
    color: #fff;
    border-radius: 5px;
    display: block;
}

.custom-shipping-table label {
    margin-left: 10px;
}

a.close {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 18px;
}

.form-control {
    height: 64px;
    padding-left: 18px;
    font-size: 16px;
    background-color: #ffffff;
}

.nav-pills .nav-link {
    display: flex;
    border-radius: var(--bs-nav-pills-border-radius);
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;

}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: #108910;
}

.nav-link:focus,
.nav-link:hover {
    color: #108910;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #dc3545;
    opacity: 0.9
}

.popular-categories img {
    border-radius: 20px;
    margin-bottom: 15px;
    height: auto !important;
}

.popular-categories li {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popular-categories li:hover {
    transform: scale(1.02);
}


/** Category Tree **/

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    position: relative;
}

/* Main Menu Links */
.sidebar-widget ul li a {
    display: block;
    padding: 0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    padding: 9px 18px;
    background: #fff;
}

.sidebar-widget ul li a:hover {
    background: #108910;
    color: #fff;
}

.sidebar-widget ul li:hover i {
    color: #fff;
}

.sidebar-widget ul li ul {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hide by default */
    padding: 0;
    border-radius: 5px;
}

.sidebar-widget ul li:hover>ul {
    display: block;
}

/* Nested Submenu Position */
.sidebar-widget ul li ul li {
    position: relative;
}

.sidebar-widget ul li ul li ul {
    left: 100%;
    top: 0;
}

.sidebar-widget ul li i {
    color: #108910;
    position: absolute;
    right: 5px;
    top: 35%;
}

.widget-category-2 ul li ul li {
    margin-bottom: 0;
}

.sidebar-widget ul li:hover ul li i {
    color: #108910;
}

.sidebar-widget ul li:hover ul li:hover i {
    color: #fff;
}

.sidebar-widget ul li:hover ul li:hover ul li i {
    color: #108910;
}

.sidebar-widget ul li:hover ul li:hover ul li:hover i {
    color: #fff;
}

/** End Category Tree **/

#content_inner h3 {
    margin-top: 30px;
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}



.home-category-slider .product-cart-wrap .product-img-action-wrap .product-img a img {
    object-fit: cover;
    height: 280px;
}

.home-category-slider .product-cart-wrap .product-img-action-wrap {
    padding: 15px;
    overflow: hidden;
}

.home-category-slider .product-cart-wrap .product-img-action-wrap h3 {
    position: absolute;
    bottom: 15px;
    font-size: 17px;
    background: #108910d9;
    width: 100%;
    text-align: center;
    padding: 8px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.home-category-slider .carausel-4-columns-cover .carausel-4-columns-arrow {
    margin-top: -50px;
}

.single-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 30px;
}

.shop-product-fillter .totall-product {
    flex: 0 0 65%;
}

.shop-product-fillter .form-group.row {
    flex: 0 0 35%;
}

.shop-product-fillter .form-group.row label.col-form-label {
    text-align: right;
}

.shop-product-fillter .form-group.row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.shop-product-fillter .form-group.row select#id_sort_by {
    height: 50px;
    min-width: 125px;
    padding: 10px;
}

.custom-shop-list ul {
    display: flex;
    flex-wrap: wrap;
}

.custom-shop-list ul li {
    flex: 0 0 50%;
}

.main-menu>nav>ul>li i {
    color: #fff;
    font-size: 14px;
    padding-left: 2px;
}

/* .product-cart-wrap {
    border: none;
    border-radius: 0;
}
.product-cart-wrap .product-content-wrap {
    padding: 0px;
}
.product-cart-wrap:hover {
    box-shadow: none;
    border: none;
} */
.product-liser-home .instock.availability {
    display: none;
}

.product-liser-home .product-content-wrap h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    max-height: 2.8em;
}

.detail-gallery .product-image-slider img {
    max-height: 400px;
    object-fit: contain;
    padding: 20px;
}

#carausel-4-columns .product-cart-wrap .product-img-action-wrap .product-img a img {
    padding: 0px;
}

.slider-arrow .slider-btn {
    background: transparent
}

.slider-arrow .slider-btn:hover {
    background: transparent;
    color: #108910;
}

.slider-arrow .slider-btn.slider-next {
    right: -50px;
}

.slider-arrow .slider-btn.slider-prev {
    left: -50px;
}

.product-liser-home .slider-arrow {
    top: 40%;
}

.home-slide-cover .slider-arrow {
    left: 0;
    top: 45%;
}

.primary-sidebar .sidebar-widget .list-group input,.facet-checkbox {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.primary-sidebar .sidebar-widget .list-group dd, .sidebar-widget dd {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.primary-sidebar .sidebar-widget .list-group a {
    text-transform: capitalize;
}

table .product-thumbnail img {
    max-height: 80px;
    object-fit: contain;
}


.sidebar-widget ul li.hidden {
    display: none;
}

#ShowCategory {
    font-size: 13px;
    font-weight: 500;
    padding: 2px 10px;
    color: #ffffff;
    border: none;
    background-color: #108910;
    border-radius: 5px;
    width: 100%;
    display: block;
    max-width: fit-content;
    text-align: center;
    /* margin: 15px auto; */
    margin: 15px 0px;
}

.primary-sidebar.sticky-sidebar {
    z-index: 99;
    background: #fff
}

.header-action-2 .header-action-icon-2>a .cart-count {
    /* position: absolute;
    left: 0;
    top: -8px;
    background: #108910;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 2px;
    font-size: 11px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center; */
}

.basket-items tr p {
    margin-left: 10px;
}

.custom-checkbox .form-check-custom {
    width: 20px;
    height: 20px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 20px;
}

.custom-checkbox .form-check-label {
    margin-bottom: 0;
}
.form-check-input{
    border:1px solid #6c757d;
}
.form-check-input:focus{
   box-shadow:  0 0 0 .25rem #1089103b;
}
.form-check-input:focus{
    background: var(--bs-form-check-bg-image);
}
.form-check-input:checked {
    background-color: #108910;
    border-color: #108910;
}

.shipping-bar.navbar-expand-md .navbar-nav .nav-link span {
    padding-right: 0;
}

.shipping-bar.navbar-expand-md .navbar-nav .nav-link i,
.shipping-bar .navbar-text {
    padding: 0 10px;
}

.basket-title .image_container img {
    width: 100% !important;
    height: 105px;
    object-fit: contain;
}

.basket-title .image_container a {
    display: block;
    width: 100%;
}

td.actions {
    text-align: center;
    max-width: 75px;
}

.payment-box .col-sm-6 {
    text-transform: capitalize;
}

.detail-extralink.mb-50 {
    display: flex;
    gap: 15px;
}

.product-detail.accordion-detail h2.mt-10 {
    display: none;
}

.zoomContainer,
.zoomWindow {
    height: 400px !important;
}

@media (min-width: 1025px) {
    td.text-center.detail-info.quatity-box {
        min-width: 200px;
    }
}


@media print {

    body,
    html {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
    }

    header,
    footer,
    .page-header,
    .nav-checkout,
    .order-actions {
        display: none !important;
    }

    @page {
        margin: 0;
        padding: 0;
        width: 100;
        min-width: 100%;
    }

    body {
        visibility: visible;
        margin: 0;
        padding: 0;
    }

    .content {
        width: 100%;
    }
}

/* Checkout Page Styling */
.checkout-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.checkout-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.checkout-title h2 {
    border-bottom: 2px solid #108910;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Simplified Checkout Navigation Styling */
.checkout-nav-wrapper {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.checkout-nav .nav-pills {
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.checkout-nav .nav-link {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.checkout-nav .nav-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 137, 16, 0.15);
    border-color: #108910;
    background: rgba(16, 137, 16, 0.02);
}

.checkout-nav .nav-link.active {
    border-color: #108910;
    box-shadow: 0 4px 12px rgba(16, 137, 16, 0.2);
    background: linear-gradient(135deg, #108910 0%, #0d6e0d 100%);
    color: white;
}

.checkout-nav .nav-link.active .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.checkout-nav .nav-link.text-success {
    border-color: #108910;
    background: rgba(16, 137, 16, 0.05);
}

.checkout-nav .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #108910;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-right: 0.5rem;
}

.checkout-nav .nav-link.text-muted .step-number {
    background: #6c757d;
    border-color: #6c757d;
}

.checkout-nav .nav-link.text-success .step-number {
    background: #108910;
    border-color: #108910;
}

.checkout-nav .step-text {
    text-align: center;
    flex: 1;
}

.checkout-nav .step-text small {
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: block;
    margin-bottom: 0.1rem;
}

.checkout-nav .step-text span {
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.1;
    display: block;
}

.checkout-nav .fas.fa-check {
    margin-left: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .checkout-nav .nav-pills {
        gap: 0.4rem;
    }

    .checkout-nav .nav-link {
        min-height: 50px;
        padding: 0.6rem 0.8rem;
    }

    .checkout-nav .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .checkout-nav .step-text span {
        font-size: 0.75rem;
    }

    .checkout-nav .step-text small {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .checkout-nav .nav-pills {
        flex-direction: row;
        justify-content: center;
    }

    .checkout-nav .nav-link {
        min-height: auto;
        padding: 0.75rem;
        flex-direction: row;
        text-align: left;
    }

    .checkout-nav .step-text {
        text-align: left;
        margin-left: 0.5rem;
    }

    .checkout-nav .step-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* Simplified Checkout Cards Styling */
.checkout-content .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.checkout-content .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkout-content .card-header {
    background: #108910;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
}

.checkout-content .card-header h5 {
    font-weight: 600;
    margin: 0;
}

.checkout-content .card-body {
    padding: 1.5rem;
}

/* Simplified Checkout Form Styling */
.checkout-content .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.checkout-content .form-control:focus {
    border-color: #108910;
    box-shadow: 0 0 0 0.2rem rgba(16, 137, 16, 0.25);
}

.checkout-content .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Simplified Checkout Buttons */
.checkout-content .btn {
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkout-content .btn-success {
    background: #108910;
    border: none;
}

.checkout-content .btn-success:hover {
    background: #0d6e0d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 137, 16, 0.3);
}

.checkout-content .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.checkout-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Simplified Checkout Table Styling */
.checkout-content .table {
    margin: 0;
}

.checkout-content .table th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 1rem;
}

.checkout-content .table td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

.checkout-content .table-hover tbody tr:hover {
    background-color: rgba(16, 137, 16, 0.05);
}

/* Simplified Checkout Badges */
.checkout-content .badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.checkout-content .badge.bg-success {
    background: #108910 !important;
}

.checkout-content .badge.bg-secondary {
    background: #6c757d !important;
}

/* Simplified Checkout Address Styling */
.checkout-content address {
    font-style: normal;
    line-height: 1.6;
}

.checkout-content .text-muted {
    color: #6c757d !important;
}

/* Simplified Checkout Responsive Design */
@media (max-width: 768px) {
    .checkout-wrapper {
        padding: 1rem;
        margin: 0 0;
        border-radius: 0;
    }

    .checkout-nav .nav-link {
        min-height: 50px;
        padding: 0.6rem;
    }

    .checkout-content .card-body {
        padding: 1rem;
    }

    .checkout-content .table td,
    .checkout-content .table th {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .checkout-nav .nav-pills {
        flex-direction: row;
    }

    .checkout-nav .nav-link {
        min-height: auto;
        padding: 0.5rem;
    }

    .checkout-nav .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .checkout-content .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .checkout-content .flex-shrink-0 {
        margin-bottom: 0.5rem;
    }
}

/* Simplified Checkout Alert Styling */
.checkout-content .alert {
    border-radius: 6px;
    border: none;
    padding: 1rem 1.5rem;
}

.checkout-content .alert-danger {
    background: #dc3545;
    color: white;
}

.checkout-content .alert-success {
    background: #108910;
    color: white;
}

/* Simplified Checkout Sticky Elements */
.checkout-content .sticky-top {
    z-index: 1020;
}

/* Simplified Checkout Breadcrumb Styling */
.checkout-content .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.checkout-content .breadcrumb-item a {
    color: #108910;
    text-decoration: none;
}

.checkout-content .breadcrumb-item.active {
    color: #6c757d;
}

.checkout-content .breadcrumb-item+.breadcrumb-item::before {
    color: #6c757d;
}

/* Simplified Checkout Page Header */
.checkout-content .page-header {
    background: #f8f9fa;
    border-bottom: 2px solid #108910;
}

.checkout-content .page-header h1 {
    font-weight: 700;
    margin: 0;
}

/* Simplified Checkout Icons */
.checkout-content .fas {
    transition: all 0.3s ease;
}

/* Simplified Checkout Links */
.checkout-content a {
    color: #108910;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-content a:hover {
    color: #0d6e0d;
    text-decoration: underline;
}

/* Simplified Checkout Text Colors */
.checkout-content .text-success {
    color: #108910 !important;
}

.checkout-content .fw-bold {
    font-weight: 600 !important;
}

/* Checkout Layout Fixes */
.checkout-content {
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 20px;
}

.checkout-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Fix navbar z-index to prevent overlapping */
.navbar {
    z-index: 1030 !important;
}

/* Fix order totals positioning */
.checkout-content .sticky-top {
    z-index: 1000 !important;
    top: 100px !important;
}

/* Ensure proper spacing for place order button */
.checkout-content .form-group {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.checkout-content .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Payment Details Page Styling */
.checkout-content .payment-form {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.checkout-content .payment-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-content .payment-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.checkout-content .payment-form .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.checkout-content .payment-form .form-control:focus {
    border-color: #108910;
    box-shadow: 0 0 0 0.2rem rgba(16, 137, 16, 0.25);
}

/* Preview Page Styling */
.checkout-content .preview-section {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.checkout-content .preview-section h4 {
    color: #108910;
    border-bottom: 2px solid #108910;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Place Order Button Styling */
.checkout-content #place-order {
    background: linear-gradient(135deg, #108910 0%, #0d6e0d 100%);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 137, 16, 0.3);
}

.checkout-content #place-order:hover {
    background: linear-gradient(135deg, #0d6e0d 0%, #0a5a0a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 137, 16, 0.4);
}

.checkout-content #place-order:active {
    transform: translateY(0);
}

/* Responsive fixes for checkout */
@media (max-width: 768px) {
    .checkout-content .sticky-top {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }

    .checkout-wrapper {
        padding: 1rem;
        margin: 0 -15px;
        border-radius: 0;
    }

    .checkout-content .payment-form {
        padding: 1.5rem;
    }

    .checkout-content .preview-section {
        padding: 1rem;
    }

    .checkout-content .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .checkout-content {
        padding-top: 10px;
    }

    .checkout-wrapper {
        padding: 0.75rem;
    }

    .checkout-content .payment-form {
        padding: 1rem;
    }

    .checkout-content .preview-section {
        padding: 0.75rem;
    }

    .checkout-content .form-group {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Ensure proper spacing between sections */
.checkout-content .row {
    margin-bottom: 2rem;
}

.checkout-content .col-lg-8 {
    margin-bottom: 1rem;
}

/* Fix for payment method cards */
.checkout-content .payment-method-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.checkout-content .payment-method-card:hover {
    border-color: #108910;
    box-shadow: 0 2px 8px rgba(16, 137, 16, 0.1);
}

.checkout-content .payment-method-card.selected {
    border-color: #108910;
    background: rgba(16, 137, 16, 0.05);
}

/* Fix for order summary */
.checkout-content .order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-content .order-summary h5 {
    color: #108910;
    margin-bottom: 1rem;
}

/* Fix for shipping address display */
.checkout-content .shipping-address {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-content .shipping-address h5 {
    color: #108910;
    margin-bottom: 1rem;
}

/* Fix for shipping method display */
.checkout-content .shipping-method {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-content .shipping-method h5 {
    color: #108910;
    margin-bottom: 1rem;
}

/* Ensure proper z-index hierarchy */
.checkout-content .navbar {
    z-index: 1030 !important;
}

.checkout-content .checkout-nav-wrapper {
    z-index: 1020 !important;
}

.checkout-content .sticky-top {
    z-index: 1000 !important;
}

/* Fix for any floating elements */
.checkout-content .position-fixed {
    z-index: 1040 !important;
}

/* Ensure proper page flow */
.checkout-content .container {
    position: relative;
    z-index: 1;
}

/* Fix for any modal overlays */
.checkout-content .modal {
    z-index: 1050 !important;
}

.checkout-content .modal-backdrop {
    z-index: 1045 !important;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */

}

.product-cart-wrap .product-content-wrap .product-price .btn-primary.btn-block span {
    color: #fff !important;
    font-size: 16px;
}

    .table-wishlist {
    border: none;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
}

table.table.table-wishlist td,
table.table.table-wishlist th #basket_totals table th,
#basket_totals table td #basket_totals table tr {
    border: 0 !important;
}

table.table-wishlist tr,
#basket_totals .table tr {
    border-bottom: 1px solid #ececec !important;

}

#basket_totals {
    border: 1px solid #ececec !important;
    /* border-bottom: 0 !important; */
}

table td,
table th,
.table tr {
    border: 0 !important;
}

/* myDev11css */
@media only screen and (max-width: 991px) {
  .logo.logo-width-1 a img {
        width: 100%;
        max-width: 6rem;
        min-width: auto;
    }
}
@media only screen and (max-width: 768px) {
    .header-bottom {
        display: none;
    }

    .logo.logo-width-1 {
        margin-right: 0;
        width: 100%;
        position: relative;
        left: auto;
        transform: translateX(0);
    }

    .logo.logo-width-1 a img {
        width: 100%;
        max-width: 4rem;
        min-width: auto;
    }

    .header-wrap .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero-slider-1 img {
        height: auto;
        /* object-fit: contain; */
        width: 100%;
        border-radius: 15px;
    }

    .hero-slider-1 .single-hero-slider {
        height: auto;
    }

    .dot-style-1 ul li button {
        width: 10px;
        height: 10px;
    }

    .dot-style-1.dot-style-1-position-1 ul {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
    }

    .home-slider .hero-slider-1 {
        height: auto;
    }

    .carausel-6-columns,
    .carausel-4-columns {
        max-width: 100%;
        overflow: hidden;
        margin: 0 auto !important;
    }

    .carausel-4-columns-cover .carausel-4-columns .product-cart-wrap {
        margin-left: 4px;
        margin-right: 4px;
    }

    .popular-categories img {
        /* margin-bottom: 0px; */
        border-radius: 15px;
    }

    .product-cart-wrap .product-content-wrap {
        /* padding: 10px 20px 10px 20px; */
    }

    .product-cart-wrap .product-img-action-wrap {
        max-height: 100%;
    }

    .product-cart-wrap .product-img-action-wrap .product-img a img {
        object-fit: contain;
        padding: 5px;
        /* height: 234px; */
    }

    .slider-arrow .slider-btn.slider-next {
        right: -40px;
    }

    .slider-arrow .slider-btn.slider-prev {
        left: -40px;
    }

    .single-banner img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 15px;
    }

    .footer-link-widget:not(:last-child) {
        margin-right: 0;
    }

    .mobile-header-wrapper-style {
        width: 100%;
    }

    .mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-content-area {
        padding: 15px;
    }

    .mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-top {
        padding: 15px 15px 13px 15px;

    }

    .close-style-wrap.close-style-position-inherit {
        position: inherit;
    }
}

.container.page {}

.page-header h1 {
    font-size: 38px;
}

article p {
    /* font-size: 14px; */
}

/* New Header */

@media (max-width: 1199px) {
    .header-action-icon-2 .lable {
        font-size: 0 !important;
    }

    .header-action-icon-2 a .lable {
        font-size: 0 !important;
    }

    .header-action-icon-2 span.lable {
        font-size: 0 !important;
    }

    .header-action-icon-2 .lable img {
        width: 20px !important;
        height: 20px !important;
        margin-right: 0 !important;
    }

    .header-action-icon-2 a span.lable {
        font-size: 0 !important;
    }

    .search-style-2 {
        width: 555px;
        max-width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .search-style-2 {
        width: 33rem;
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .header-bottom {
        display: none !important;
    }

    .header-nav {
        display: none !important;
    }

    .main-menu {
        display: none !important;
    }

    .header-wrap .container {
        display: flex;
        align-items: flex-start;
    }

    .logo {
        flex: 1
    }

    .mobile-wishlist,.mobile-cart{
        width:20px;
    }

}

@media (max-width: 768px) {
    .search-style-2 {
        display: none !important;
    }
}

@media (max-width: 480px) {

    .header-action-right {
        display: none !important;
    }

    #saved_basket_formset .saved-later-table td.image.product-thumbnail::before {
        content: none !important;
        display: none !important;
    }
}

@media (max-width: 374px) {
    .col-6.col-sm-4.col-md-3.col-lg-2.col-xl-2.col-xxl-2 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .detail-extralink>div {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
    }

    .product-extra-link2 a,
    .product-extra-link2 .btn-wishlist {
        margin: 0;
    }

    .d-flex.justify-content-end.gap-2 {
        flex-direction: column !important;
        align-items: flex-end;
        /* keeps them aligned to the right */
    }
}

td.actions.text-center {
    max-width: 100% !important;
}

table.table-wishlist tr,
#basket_totals .table tr:last-child {
    border-bottom: 0px solid #ececec !important;
}

#mobile-filter-form select,
#mobile-filter-form .choices__inner {
    height: 50px !important;
}

.ship-responsive tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 286px;
    width:100%;
}

.ship-responsive tr p {
    margin-left: 5px;
}

.ship-responsive tr td:last-child {
    text-align: right;
}

/* For Order PDF */
@media print {
    @page {
        margin: 0 10mm;
    }

    * {
        margin: 0 !important;
    }

    .checkout-wrapper {
        box-shadow: unset;
    }

     /* Force all background colors to print */
    [class*="bg-success"] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    } 
    
    header,
    footer,
    .page-header,
    nav,
    p a,.btn {
        display: none !important;
    }
    #scrollUp, .fi-rs-arrow-small-up{
        display: none !important;
        visibility: hidden !important;
        position: static !important;  /* override fixed */
        z-index: -1 !important;
    }
    .border-bottom {
        border-bottom: 0 !important;
    }

    body,
    .container,
    .row,
    .col-sm-6,
    .col-sm-12,
    .table-responsive,
    .basket-table {
        border: 0;
        margin: 0 auto;
        padding: 0;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .basket-table,
    .table-responsive {
        page-break-inside: auto;
    }
}

/* End Print PDF */
.bootstrap-datetimepicker-widget table td span:hover,
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn:hover {
    background: #108910;
    color: white;
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn {
    color: #fff;
}
.button{
    color: white !important;
}
.nav-fill .nav-item, .nav-fill>.nav-link {
    flex: 1 1 230px !important;
    /* max-width: 300px !important; */
}
.card.card-body h3 {
    color: #253D4E !important;
}
/* State dropdown with chevron arrow */
.state-dropdown,
select[name="state"],
#id_state {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    padding-right: 35px !important;
    cursor: pointer !important;
}
.quantity-group .qty-btn {
  width: 36px;
  font-size: 18px;
  padding: 0;
}

.qty-input {
  max-width: 70px;
  padding: 0;
}

/* hide default arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
}
/* LOCK language button size */
.btn-language {
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.view-all-link {
  text-decoration: none;
  color: #108910; 
  font-size: 18px;
  font-weight: bold;
  line-height: normal; 
}

.view-all-link:hover {
  text-decoration: underline;
  text-decoration-color: #108910;
  color: #108910;
  offset: 2px;
  line-height: normal;
}

.tab-content.account.dashboard-content .profile-buttons .btn {
    width: 200px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
    margin-bottom: 10px;
    margin-top: 0px;
}

@media (max-width: 768px) {
    .detail-extralink.mb-50 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-extra-link2 {
        display: flex;
        justify-content: center;
        align-items: center;
        
    }

    .d-flex.flex-wrap.align-items-center.gap-3.mb-30 {
        justify-content: center !important;
    }

    .out-of-stock-actions.d-flex.flex-wrap.align-items-end.gap-3.mb-30 {
        justify-content: center !important;
    }
}

/* Basket row action loading state (row-scoped) */
.update-btn.basket-row-loading,
.update-btn.basket-row-loading:hover,
.update-btn.basket-row-loading:focus,
.update-btn.basket-row-loading:active {
    background-color: #6fae6f !important;
    color: #ffffff !important;
    border-color: #6fae6f !important;
    opacity: 1 !important;
}

@media (max-width: 992px) {
    .basket-unit-price-col {
        display: none !important;
    }

    .basket-update-btn {
        display: none !important;
    }

    .product-table tbody tr td:nth-child(5) .price_color {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .product-table tbody tr td:nth-child(5) .row-total-value {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    .product-table tbody tr td:nth-child(5) .price_color.row-total-loading .row-total-amount {
        visibility: hidden;
    }

    .product-table tbody tr td:nth-child(5) .price_color.row-total-loading .row-total-spinner {
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .row-total-spinner .spinner-border {
        --bs-spinner-animation-speed: 0.55s;
        --bs-spinner-border-width: 0.15em;
    }
}

.row-total-spinner {
    width: auto;
    align-items: center;
    justify-content: center;
}

.basket-line-actions .action-icon {
    display: none;
    font-size: 14px;
    line-height: 1;
}

.basket-item-name-wrap {
    display: inline-flex;
    align-items: center; 
    gap: 4px;
    max-width: 100%;
}

.saved-later-move-btn .move-icon {
    display: none;
}

@media (max-width: 525px) {
    .basket-line-actions .link-text {
        display: none;
    }

    .basket-line-actions .action-separator {
        display: inline;
    }

    .basket-line-actions .action-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    /* Always show full item name on mobile */
    .basket-item-name-link {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        vertical-align: bottom;
    }

    .basket-item-name-link.is-expanded {
        /* no-op: kept for compatibility but behaves the same as default */
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .product-table tbody tr td:nth-child(5) .price-title {
        display: none !important;
    }
}

@media (max-width: 500px) {

    .basket-items-heading {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .product-table :is(thead, .basket-unit-price-col, tbody tr td:nth-child(3)),
        #saved_basket_formset .saved-later-table thead {
        display: none !important;
    }

    :is(.product-table, #saved_basket_formset .saved-later-table),
    :is(.product-table, #saved_basket_formset .saved-later-table) :is(tbody, tr, td) {
        display: block;
    }

    :is(.product-table, #saved_basket_formset .saved-later-table) tbody tr:not(.basket-line-message-row) {
        display: grid;
        align-items: center;
        background: var(--bs-white);
        border-radius: 14px;
        box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
    }

    .product-table tbody tr:not(.basket-line-message-row) {
        grid-template:
            "image name"
            "image total"
            "image actions" / 80px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 10px;
        margin: 6px 10px;
    }

    #saved_basket_formset .saved-later-table tbody tr {
        grid-template-columns: 68px minmax(0, 1fr) 44px 48px;
        gap: 8px;
        padding: 12px;
        margin: 8px 6px;
    }

    :is(.product-table, #saved_basket_formset .saved-later-table) tbody tr td {
        padding: 0 !important;
        border: 0 !important;
    }

    .product-table tbody tr td:nth-child(1) {
        grid-area: image;
        align-self: stretch;
    }

    .product-table tbody tr td:nth-child(1) a {
        display: block;
        width: 80px;
        height: 80px;
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
    }

    :is(.product-table tbody tr td:nth-child(1) img, #saved_basket_formset .saved-later-table td.image img) {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-table tbody tr :is(td:nth-child(2), td:nth-child(5)) {
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }

    .product-table tbody tr td:nth-child(2) {
        grid-area: name;
        align-items: center;
    }

    .product-table tbody tr td:nth-child(2) h6 {
        margin: 0;
    }

    .product-table tbody tr td:nth-child(2) .basket-item-name-link {
        display: block;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.3;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 0 !important;
    }

    .product-table tbody tr td:nth-child(5) {
        grid-area: total;
        align-items: center;
    }

    .product-table tbody tr td:nth-child(5) .price_color {
        margin: 0;
    }

    .product-table tbody tr td:nth-child(2) .badge,
    .basket-line-actions .action-separator {
        display: none !important;
    }

    .product-table tbody tr td:nth-child(5) :is(.row-total-amount, .row-total-spinner) {
        display: inline-flex;
        align-items: center;
        font-size: 16px;
        line-height: 1.1;
        font-weight: 600;
        color: #2e7d32;
    }

    .product-table tbody tr td:nth-child(5) .row-total-spinner {
        width: auto;
        justify-content: flex-start;
        flex: 0 0 auto;
    }

    .product-table tbody tr td:nth-child(4) {
        grid-area: actions;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
        flex-wrap: wrap;
        text-align: left !important;
        white-space: nowrap;
    }

    .quatity-box .checkout-quantity {
        margin-top: 0 !important;
    }

    .quatity-box .input-group {
        margin-bottom: 0;
    }

    .quatity-box .quantity-wrapper {
        gap: 0;
        background: var(--bs-gray-100);
        border-radius: 999px;
    }

    .quatity-box .quantity-wrapper .qty-btn {
        min-width: 30px;
        width: 30px;
        max-width: 30px;
        height: 30px;
        padding: 0;
        font-size: 22px;
        line-height: 1;
        background: transparent;
        color: #111;
    }

    .quatity-box .quantity-wrapper .qty-btn.plus:focus,
    .quatity-box .quantity-wrapper .qty-btn.plus:active {
        background: var(--bs-gray-300) !important;
    }

    .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
        border-top-right-radius: 999px !important;
        border-bottom-right-radius: 999px !important;
    }

    .quatity-box .quantity-input {
        min-width: 36px;
        max-width: 40px;
        padding: 0;
        font-size: 17px;
        font-weight: 600;
        background: transparent;
        border: 0;
    }

    .basket-line-actions {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 !important;
    }

    .basket-line-actions :is(a, a .action-icon) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .basket-line-actions .action-icon {
        width: 18px;
        height: 18px;
        font-size: 16px;
    }

    .basket-line-actions a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #f8e9e9;
        color: #ef3340;
        text-decoration: none;
    }

    .basket-line-actions a .action-icon {
        padding: 0;
        line-height: 1;
    }

    .basket-line-actions a .action-icon :is(i, svg) {
        margin: 0 !important;
        display: inline-block;
        vertical-align: middle;
        line-height: 1;
        font-size: 16px;
    }

    .basket-line-actions a.save-link {
        background: #edf7ed;
        color: #108910;
    }

    .product-table tbody tr.has-basket-line-errors {
        margin-bottom: 6px;
        padding-bottom: 10px;
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }

    .product-table tbody tr td.basket-inline-message-cell {
        display: block !important;
        grid-column: 1 / -1;
        width: 100% !important;
        padding: 2px 0 0 !important;
        border: 0 !important;
    }

    .product-table tbody tr td.basket-inline-message-cell .basket-inline-errors {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
    }

    .product-table tbody tr td.basket-inline-message-cell .basket-inline-errors .error-block {
        display: block !important;
        flex: 1 1 100%;
        width: 100% !important;
        inline-size: 100% !important;
        max-width: none;
        margin: 0 !important;
        box-sizing: border-box;
        text-align: center !important;
    }

    .product-table tbody tr td.basket-inline-message-cell::before {
        content: none !important;
        display: none !important;
        float: none !important;
        margin-right: 0 !important;
    }

    .product-table tbody tr.basket-line-message-row {
        display: none !important;
    }

    .detail-extralink.mb-50,
    .product-extra-link2 {
        flex-direction: column;
        gap: 10px;
    }

    #saved_basket_formset .saved-later-table :is(td.image, td.price, td.saved-later-action, td.image a, td.saved-later-action .btn) {
        display: flex;
        align-items: center;
    }

    #saved_basket_formset .saved-later-table td.image {
        justify-content: flex-start;
    }

    #saved_basket_formset .saved-later-table td.image a {
        justify-content: center;
        width: 68px;
        height: 68px;
    }

    #saved_basket_formset .saved-later-table .product-name.saved-later-info {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "meta";
        grid-template-rows: auto auto;
        align-items: start;
        gap: 6px;
        min-width: 0;
        padding-left: 0;
    }

    #saved_basket_formset .saved-later-table .saved-later-info :is(h6, .saved-later-meta, .basket-item-name-wrap) {
        width: 100%;
        min-width: 0;
    }

    #saved_basket_formset .saved-later-table .saved-later-info h6 {
        grid-area: title;
        margin: 0;
    }

    #saved_basket_formset .saved-later-table .saved-later-info .basket-item-name-wrap {
        display: block;
    }

    #saved_basket_formset .saved-later-table .saved-later-info .basket-item-name-link {
        display: block;
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
        line-height: 1.3;
        font-size: 16px;
        font-weight: 600;
    }

    #saved_basket_formset .saved-later-table .saved-later-meta {
        grid-area: meta;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    #saved_basket_formset .saved-later-table .saved-later-remove-link {
        white-space: nowrap;
    }

    #saved_basket_formset .saved-later-table :is(td.price, td.saved-later-action, td.image a, td.saved-later-action .btn) {
        justify-content: center;
    }

    #saved_basket_formset .saved-later-table td.price {
        text-align: center;
    }

    #saved_basket_formset .saved-later-table td.price .price_color {
        margin: 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.2;
    }

    #saved_basket_formset .saved-later-table td.saved-later-action .btn {
        margin: 0;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        padding: 0;
    }

    #saved_basket_formset .saved-later-table .saved-later-move-btn .move-text {
        display: none;
    }

    #saved_basket_formset .saved-later-table .saved-later-move-btn .move-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #saved_basket_formset .saved-later-table td.saved-later-action .saved-later-move-btn i {
        font-size: 16px;
        line-height: 1;
    }

    .error-block {
        padding: 4px 8px;
        font-size: 14px;
        line-height: 1.15;
        margin: 12px 0;
    }

    html[lang="ar"] .product-table tbody tr td:nth-child(5) {
        justify-content: flex-end;
        text-align: right;
    }

    html[lang="ar"] .product-table tbody tr td:nth-child(2) {
        direction: rtl;
        text-align: right;
    }

    html[lang="ar"] .product-table tbody tr td:nth-child(2) .basket-item-name-link {
        direction: rtl;
        text-align: right;
    }

    html[lang="ar"] .product-table tbody tr td:nth-child(5) .price_color {
        text-align: right;
    }

    html[lang="ar"] .product-table tbody tr td:nth-child(5) .row-total-spinner {
        justify-content: flex-end;
    }
}

@media (max-width: 420px) {
    #saved_basket_formset .saved-later-table tbody tr {
        grid-template:
            "image info price"
            "image info action" / 56px minmax(0, 1fr) 40px;
        gap: 8px 10px;
        padding: 10px;
    }

    #saved_basket_formset .saved-later-table td.image a {
        width: 56px;
        height: 56px;
    }

    #saved_basket_formset .saved-later-table td.image {
        grid-area: image;
    }

    #saved_basket_formset .saved-later-table .product-name.saved-later-info {
        grid-area: info;
        align-self: stretch;
        grid-template-rows: auto 1fr auto;
    }

    #saved_basket_formset .saved-later-table .saved-later-info h6 {
        grid-row: 1;
    }

    #saved_basket_formset .saved-later-table .saved-later-meta {
        grid-row: 3;
        align-self: end;
    }

    #saved_basket_formset .saved-later-table :is(td.price, td.saved-later-action) {
        display: flex;
        justify-content: center;
    }

    #saved_basket_formset .saved-later-table td.price {
        grid-area: price;
        align-items: flex-start;
        text-align: center;
    }

    #saved_basket_formset .saved-later-table td.saved-later-action {
        grid-area: action;
        align-items: flex-end;
    }

    #saved_basket_formset .saved-later-table td.price .price_color {
        font-size: 16px;
        line-height: 1.15;
    }

    #saved_basket_formset .saved-later-table td.saved-later-action .btn {
        width: 36px;
        height: 36px;
    }

    #saved_basket_formset .saved-later-table td.saved-later-action .saved-later-move-btn i {
        font-size: 15px;
    }

    #saved_basket_formset .saved-later-table .saved-later-info .basket-item-name-link {
        font-size: 16px;
        line-height: 1.25;
    }
}


/* Footer social icons: highlight on hover and keyboard focus only */
footer .mobile-social-icon a:hover,
footer .mobile-social-icon a:focus-visible {
    background: #108910 !important;
}

footer .mobile-social-icon a:hover i,
footer .mobile-social-icon a:focus-visible i,
footer .mobile-social-icon a i:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Mouse click focus should reset to default (no sticky highlight) */
footer .mobile-social-icon a:focus:not(:focus-visible) {
    background: #343538 !important;
}

footer .mobile-social-icon a:focus:not(:focus-visible) i {
    color: #f7f5f0 !important;
    opacity: 1 !important;
}

/* rtl */
html[lang="ar"] .footer_info {
    margin-right: 0;
}

html[lang="ar"] .header-info > ul > li::before {
    right: auto;
    left: -10px;
}

html[lang="ar"] .desktop-wishlist-count, html[lang="ar"] .cart-count {
    left: auto;
    right: -10px;
}
html[lang="ar"]  .nav-pills .nav-link {
    gap:10px;
    margin-right: 0px;
}
html[lang="ar"]  i.fi-rs-home.mr-5 {
    margin-left: 5px;
    margin-right: 0px;
}
html[lang="ar"] .quatity-box .input-group {
    gap: 8px;
}

html[lang="ar"] i.fi-rs-sign-out.ml-15 {
    margin-right: 15px;
    margin-left: 0px;
}

html[lang="ar"] .header-info>ul>li:last-child {
    margin-right: 20px;
}
html[lang="ar"] .header-info i, html[lang="ar"] i.fas.fa-home.me-1 {
    margin-left: 5px;
    margin-right: 0px;
}
html[lang="ar"] .breadcrumb li {
    gap: 8px
}


[dir="rtl"] .search-style-2 form button {
    right: auto;
    left: 0;
}

[dir="rtl"] .mobile-search form {
    flex-direction: row-reverse;
}
[dir="rtl"]  .cart-dropdown-wrap {
  right: -75px;
}
[dir="rtl"] .main-menu .dropdown, [dir="rtl"] .main-menu .submenu {
    right: 0;
}
[dir="rtl"] .main-menu .submenu{
    right: 100%;
}
[dir="rtl"] .main-menu .dropdown li a,
[dir="rtl"] .main-menu .submenu li a {
    direction: ltr;
    flex-direction: row;
    text-align: left;
}

[dir="rtl"] .main-menu .dropdown li a i,
[dir="rtl"] .main-menu .submenu li a i {
    margin-left: unset;
    margin-right: 0;
    transform: rotate(180deg);
}
[dir="rtl"] .mobile-header-active .mobile-menu-list li i{
    transform:rotate(180deg)
}
[dir="rtl"] .main-menu .menu-scroll.is-scrollable {
    direction: ltr;
}

[dir="rtl"] .main-menu .dropdown li a, [dir="rtl"] .main-menu .submenu li a{
     flex-direction:row-reverse;
     text-align: right;
}

[dir="rtl"] #scrollUp {
    left: 3%;
    right: auto;
}

#scrollUp:hover i {
    color: #108910;
}

#scrollUp:hover {
    border-color: #108910;
}


.main-menu .dropdown li a, .main-menu .submenu li a{
    white-space:unset;
}

