@media only screen and (max-width: 768px) {
    .best-seller .card:not(.active) .border-action {
        left: -7px;
    }
    .best-seller .card.active .border-action {
        width: 110%;
    }
    .best-seller {
        position: relative;
        height: 875px;
    }
    .best-seller #next-prev-mobile {
        position: absolute;
        bottom: 120px;
        left: 38%;
        display: flex;
        gap: 21px;
    }
    .best-seller #next,
    .best-seller #prev {
        background: #2f512d;
        border: none;
        color: #fff;
        border-radius: 50px;
        width: 30px;
        height: 30px;
    }
    .best-seller .section-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        top: -32px;
    }
    .best-seller.scrolled .section-title {
        top: 9px;
    }
    .best-seller .animate-in-mobole {
        background: #2f512d;
        width: 100%;
        height: 383px;
        position: absolute;
        top: 180px;
        border-top-left-radius: 41%;
    }

    .best-seller.scrolled > header.text-center {
        color: #fff;
    }
    .best-seller {
        padding: 50px 0 20px 0;
    }

    .best-seller.scrolled > header.text-center {
        margin-bottom: -125px;
    }

    .best-seller .elements {
        width: 100%;
        padding: 131px 0 50px 0;
        margin: 0 -8px;
    }

    .best-seller .elements::after {
        width: 100%;
        border-radius: 20%;
        display: none;
    }

    .best-seller .slick-next {
        left: 36%;
    }

    .best-seller .slick-prev {
        right: 35%;
    }
    .best-seller header h1 {
        font-size: 50px;
        margin-bottom: 27px;
    }
    .best-seller header p {
        font-size: 15px;
    }
    .discount-home {
        margin-bottom: 75px;
    }
    /* Discount */

    /* .discount .circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 10px;
    }
    .discount-wrapper {
        animation: none;
        flex-direction: column;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .discount-item {
        width: 100%;
        text-align: center;
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.5s ease-in-out;
        display: flex;
        justify-content: center;
    }

    .discount-item.active {
        opacity: 1;
        position: relative;
    } */
    .discount-item {
        padding: 0;
        margin: 0 1.3rem;
    }
    .discount .circle {
        width: 35px;
        height: 35px;
        font-size: 12px;
        border-radius: 50%;
    }

    /* features */
    .features {
        height: 690px;
        display: flex;
        align-items: center;
        margin: 70px 0 !important;
    }
    .app-features {
        width: 100%;
        padding: 27px !important;
        right: 0;
        border-radius: 10px;
        align-items: self-start;
        background: unset;
        box-shadow: none;
    }
    .app-features .text {
        width: 100%;
        text-align: center;
    }
    .app-features .text .app-text {
        width: 100%;
    }

    .features .items {
        display: flex; /* مهم جداً */
        flex-wrap: wrap; /* يخلي كل عنصرين في سطر */
        width: 100%;
        left: 0;
        transform: none;
        top: 300px;
        padding: 0 16px;
        gap: 26px; /* مسافة بين العناصر */

        padding: 25px 24px;
        border-radius: 15px;
    }

    .features .items .item {
        flex: 0 0 calc(50% - 15px); /* نص العرض ناقص نصف المسافة */
        padding: 5px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #f7f7f7;
        border-radius: 30px;
        margin: 0 !important;
    }

    .features .items .item .content {
        width: 80%;
        text-align: center;
    }
    .features .items .item img {
        width: 55px;
    }
    .features .items .item h5 {
        font-size: 16px;
    }
    .features .items .item p {
        font-size: 10px !important;
        padding: 10px 0;
    }
    /* Sliers */
    .slider {
        height: auto;
    }
    .slider .slick-slider .slick-track {
        height: 185px;
    }
    .slider .slick-slider .slick-track img {
        background-size: cover;
    }
    .slider .slide img {
        width: 100%;
        object-fit: fill;
        display: block;
        height: 210px;
        max-height: 250px;
    }
    .slider .caption {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        bottom: 0;
        top: unset;
        background: rgba(0, 0, 0, 0.2);
        padding: 7px 0 36px 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        flex-direction: column;
    }
    .slider .caption h1 {
        font-size: 40px;
        margin-bottom: 17px;
    }
    .slider .caption small {
        font-size: 15px;
    }

    .slider .slick-next,
    .slider .slick-prev {
        display: none !important;
    }
    .slider .slick-dots {
        bottom: -30px;
    }
    /* Page Inside */
    .page-inside {
        padding-top: 170px;
    }
    /* More Producs */
    .product-details {
        flex-wrap: wrap;
    }
    .product-details .product-gallery {
        width: 100%;
        /* flex-wrap: wrap; */
        height: 305px;
        margin-bottom: 108px;
    }
    .product-details .product-gallery .thumbnail-images {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        /* overflow-x: auto; */
        margin: 20px 0;
    }
    .product-details .product-gallery .thumbnail-images img {
        width: 20%;
        border-radius: 10px;
    }

    .product-details .product-gallery .main-image {
        width: 100%;
        height: 100%;
    }
    .more-products .descrption h3 {
        font-size: 10px;
    }
    .more-products .descrption .prices {
        padding-top: 0;
    }
    .more-products .slick-dots {
        display: none !important;
    }
    .more-products .slick-next {
        left: 60%;
    }
    .more-products .slick-prev.slick-arrow {
        right: 215px !important;
    }
    .more-products .elements {
        padding: 55px 0 64px 0 !important;
        width: 100%;
    }
    .more-products .descrption .prices .price {
        font-size: 18px;
    }
    .more-products .card {
        margin: 0 3px;
    }
    .more-products .card .image {
        height: 150px;
    }
    .more-products .card .image img {
        height: 100%;
    }

    .product-details .product-info {
        width: 100%;
    }
    .product-details .product-header {
        flex-wrap: wrap;
        margin: 40px 0;
    }
    .product-details .product-title {
        margin: 20px 0;
        font-weight: bold;
    }
    /* .product-details .product-price-discount,
    .product-details .product-price {
        text-align: center;
    } */
    .single-product .product-details {
        border: none;
        background-color: #fff;
    }
    .single-product .product-details .product-info {
        width: 100%;
    }
    .single-product .product-details .product-info .product-header {
        gap: 20px;
        flex-direction: column-reverse;
        justify-content: center;
        position: relative;
    }
    .single-product .product-details .product-info .product-header-right {
        width: 100%;
        justify-content: space-between;
    }
    .single-product .product-details .product-info .product-header-left {
        left: 6px;
        top: -30px;
    }
    .single-product .product-header-left {
        text-align: left;
        padding: 10px 15px;
        margin-left: 0 !important;
        margin-top: -4px;
    }
    .single-product .product-header-left img {
        width: 55px;
    }
    /* carts-page */
    .app-summary .summary {
        padding: 20px 23px;
        flex-direction: row-reverse;
        gap: 36px;
    }

    .carts-page .carts-items .cart-item {
        flex-direction: column-reverse;
        margin: 12px auto !important;
    }
    .carts-page .carts-items .cart-item img {
        width: 21px;
    }
    .carts-page .logo-top img {
        width: 45px !important;
    }
    .carts-page .cart-item .cart-item-info {
        width: 100%;
        padding-top: 50px;
    }

    .carts-page .cart-item .favorite-item-visual {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-wrap: nowrap;
        margin-top: -31px;
    }
    .carts-page .cart-item .favorite-item-visual .cart-details {
        width: 100%;
        padding: 0 5px;
        gap: 0;
        margin-top: -15px;
    }
    .carts-page .cart-item .favorite-item-visual .cart-details .name-meta-info {
        display: flex;
        flex-direction: column;
    }
    .carts-page
        .cart-item
        .favorite-item-visual
        .cart-details
        .name-meta-info
        h2 {
        font-size: 13px;
        padding: 0px 0px 10px 0px;
    }
    .carts-page .container-fluid {
        padding: 0;
    }
    .carts-page .color-dot,
    .carts-page .product-color-dot {
        width: 15px;
        height: 15px;
    }
    .carts-page .carts-items .cart-item .cart-item-info {
        align-items: end;
        padding-top: 2px;
        padding-left: 6px;
        margin-bottom: 8px !important;
        position: absolute;
        bottom: 14px;
        left: 0;
    }
    .carts-page .carts-items .cart-item .cart-item-info .brand-logo {
        top: unset;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .carts-page .cart-actions {
        gap: 10px !important;
        margin-bottom: -14px;
    }
    .carts-page .cart-actions .border-actions {
        gap: 0;
    }
    .carts-page .cart-actions .border-actions button {
        padding: 2px 5px !important;
        font-size: 9px;
    }
    .carts-page .cart-actions span.quantity {
        padding: 2px 5px;
        font-size: 10px !important;
    }
    .carts-page .not-color {
        font-size: 10px;
        position: absolute;
        right: 38px;
    }
    .carts-page .update-product-for-cart {
        padding: 1px 6px;
        font-size: 10px;
        position: absolute;
        right: 117px;
    }
    .submit-arrow {
        position: absolute;
        left: 29px !important;
    }

    #editVariantModal .modal-content {
        width: 100%;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    #editVariantModal .product-header {
        justify-content: flex-start;
        align-items: center;
        font-size: 11px;
        margin-top: 8px;
        padding-right: 25px;
    }
    #editVariantModal .product-header .product-header-right {
        justify-content: space-between;
        align-items: center;
    }
    #editVariantModal .product-header .product-header-right .starts {
        margin: 0 !important;
        padding: 0 !important;
    }
    #editVariantModal .product-header .product-header-left {
        margin-bottom: 0 !important;
        text-align: center;
        position: absolute;
        left: 0;
        top: 0;
        margin-left: 0;
    }
    #editVariantModal .product-header .product-header-left img {
        width: 75px;
    }
    #editVariantModal .modal-content .app-images {
        flex-direction: column;
        gap: 5px !important;
    }
    #editVariantModal .modal-content .app-images .thumbnails-container {
        flex-direction: row !important;
        overflow-x: overlay;
    }
    #editVariantModal .modal-content .app-images .thumbnails-container img {
        width: 60px;
        height: 60px;
    }
    .quantity-control {
        font-size: 11px;
        height: 23px;
    }
    .quantity-control .btn-qty {
        color: #fff;
    }

    #mainProductImage {
        height: 280px;
    }
    /* favorites-page */
    .favorites-page .quantity-control {
        padding: 0 !important;
        height: 28px;
    }
    .favorites-page .quantity-control .qty-value,
    .favorites-page .quantity-control .btn-qty {
        font-size: 10px;
    }

    .favorites-page .favorite-items {
        gap: 60px;
    }
    .favorites-page .favorite-items .favorite-item {
        flex-direction: column;
        padding: 0;
    }
    .favorites-page .favorite-item-visual {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .favorites-page .product-details {
        flex: 1;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 35px;
    }
    .favorites-page .favorite-items .favorite-item .favorite-item-info {
        gap: 18px;
        width: 100%;
        justify-content: center;
        align-items: center;
        background: #fafafa;
        margin-bottom: 24px;
        padding: 30px 10px;
        position: relative;
        flex-direction: row;
    }
    .favorites-page
        .favorite-items
        .favorite-item
        .favorite-item-info
        .add-fav {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .favorites-page
        .favorite-items
        .favorite-item
        .favorite-item-info
        .add-fav
        img {
        width: 20px;
    }
    .favorites-page
        .favorite-items
        .favorite-item
        .favorite-item-info
        .btn-cart {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .favorites-page
        .favorite-items
        .favorite-item
        .favorite-item-info
        .btn-cart
        img {
        width: 20px;
    }

    .favorites-page .name-meta-info {
        display: flex;
        flex-direction: column;
    }
    .favorites-page .product-pricing .price-one {
        font-size: 12px;
    }
    .favorites-page .product-pricing .price-two {
        font-size: 17px;
    }
    /* Footer */
    .footer {
        padding: 22px 0 1px 0;
    }
    .footer header p {
        width: 100%;
    }
    .app-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5px 0;
    }
    .bottom-footer {
        padding: 9px 0;
    }
    .bottom-footer img {
        width: 187px;
    }
    .bottom-footer .right h6,
    .bottom-footer .right p {
        font-size: 10px;
    }
    .app-footer .info {
        border-bottom: 1px solid #cb7035;
        margin-bottom: 20px;
    }
    .app-footer .info,
    .app-footer .links {
        width: 80%;
    }
    .footer .app-footer .info .social {
        margin: 19px 0;
    }
    .bottom-footer .app-bottom-footer {
        flex-direction: column;
        gap: 6px;
    }
    .bottom-footer .app-bottom-footer .right {
        flex-direction: row;
        gap: 26px;
    }
    .footer .app-footer .info .social a {
        font-size: 22px;
    }
    .bottom-footer .app-bottom-footer .right img {
        width: 40px;
    }
    .footer .app-footer .info ul li {
        font-size: 12px;
    }

    .footer img {
        width: 70%;
    }

    /* Profile Page الصفحة الشخصية لتغير البيانات */
    .profile-page h2 {
        padding-right: 10px;
        padding-bottom: 15px;
    }
    .app-steps {
        margin-bottom: 47px !important;
    }
    .icon-menu .icon-circle {
        width: 55px;
        height: 55px;
        border: 3px solid #e63a19;
    }
    .icon-menu .icon-circle img {
        width: 100%;
        height: 100%;
    }
    .icon-menu.horizontal-scroll {
        gap: 5px;
    }

    .partials-profile-data.partials {
        padding: 70px 27px;
    }
    .icon-menu.horizontal-scroll .menu-item p {
        font-size: 11px;
    }
    .step .circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
    .app-steps h6 {
        padding: 0 !important;
        margin-right: 9px;
    }
    .app-steps h6 img {
        width: 50px;
    }
    .app-steps .title {
        font-size: 10px !important;
    }
    .step:not(:last-child)::after {
        top: 20px !important;
    }

    .shipping-via {
        padding-right: 20px !important;
        padding-bottom: 25px !important;
    }
    .shipping-via h4 {
        font-size: 16px;
    }
    .shipping-via img {
        width: 67px;
    }
    .shipping-via p {
        font-size: 13px;
    }

    .form-profile .form-control {
        width: 100% !important;
    }
    .gender-options {
        margin-top: 3px;
    }
    .form-profile .change-data {
        background: none !important;
        color: #ba2204;
        font-size: 15px;
        padding: 0 10px;
    }

    .partials-profile-data .notifications {
        margin-top: 20px !important;
    }
    .app-buttons-update-profile {
        display: flex;
        flex-direction: column-reverse;
    }

    .app-button-logout {
        direction: rtl !important;
    }

    /* ---- locations --- */
    .partials {
        padding: 0 !important;
        margin-top: 50px;
    }
    .top-page-location {
        flex-wrap: wrap;
        gap: 10px !important;
    }
    .partials .address-box {
        margin: 0 28px;
        min-width: 280px !important;
        padding: 13px 18px !important;
        font-size: 12px;
    }
    .top-page-location .map-box {
        margin: 20px 25px !important;
    }

    .address-form {
        margin-top: 15px !important;
        gap: 0 !important;
        flex-wrap: wrap !important;
    }
    .address-form .form-box {
        flex: 100% !important;
    }
    #static-map {
        height: 300px !important;
    }

    /* carts */
    .page-inside {
        padding: 106px 0 0 0 !important;
    }
    .notify {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 7px !important;
        padding: 15px 11px !important;
        margin-top: 0 !important;
    }
    .notify .heading {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
    }
    .notify h6 {
        font-size: 12px;
    }
    .notify .more {
        display: flex;
        flex-direction: row-reverse;
    }
    .notify a {
        font-size: 13px;
        padding: 7px 5px;
        border-radius: 10px;
        font-weight: normal !important;
        text-align: center;
    }
    .notify a.read-more-two {
        font-size: 12px;
        width: 21%;
        text-align: left;
    }
    .carts-page .carts-items .cart-item {
        width: 100%;
        border-radius: 0 !important;
        border: 1px solid #eee;
        padding: 7px 10px 4px 10px !important;
        position: relative;
        overflow: hidden;
    }
    .carts-page .carts-items .cart-item .favorite-item-visual img {
        width: 100%;
    }

    .carts-page .carts-items .cart-item .favorite-item-visual .img-price {
        width: 20px;
    }

    .carts-page
        .carts-items
        .cart-item
        .favorite-item-visual
        img:not(.img-price) {
        width: 20%;
        border-radius: 14px;
    }
    .carts-page .cart-pricing {
        position: absolute;
        bottom: 9px;
        display: flex;
        flex-direction: row-reverse;
    }
    .carts-page .cart-pricing .price-two {
        font-size: 12px;
        padding-bottom: 0;
    }
    .carts-page .favorite-item-visual {
        gap: 10px;
    }
    .carts-page .cart-meta-info {
        justify-content: space-between;
        gap: 0;
        margin-top: 0;
        flex-wrap: wrap;
        gap: 14px;
        padding-bottom: 16px;
        position: relative;
    }

    .price-sar2-modal {
        font-size: 12px;
    }

    .carts-page .cart-pricing .price-one {
        font-size: 8px;
    }
    /* Public */
    .container-m,
    .container-features-m {
        margin: 0;
    }
    .magnifier-glass {
        display: none !important;
    }
    .app-summary {
        margin: 30px 0 !important;
    }

    .drown-profile .dropdown-menu-end[data-bs-popper] {
        right: -80px;
    }

    .modal-body {
        padding: 1px 0 !important;
    }
    .single-product .container-fluid {
        padding: 0;
    }
    .single-product .product-gallery {
        margin-top: 0;
        flex-direction: column-reverse;
    }
    .single-product .product-gallery .main-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .single-product .product-details {
        width: 100%;
        margin: 0 auto;
        padding: 20px 10px;
        border-radius: 0;
        display: flex;
    }
    .single-product .product-details .app-product-details-header {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
    }
    .single-product
        .product-details
        .app-product-details-header
        .product-header-right {
        justify-content: unset !important;
    }
    .product-header-right .counts-buy {
        font-size: 10px;
    }
    .single-product .thumbnail-images {
        margin-top: 0;
    }
    .single-product .product-info .product-colors,
    .single-product .product-info .product-sizes {
        flex-direction: column;
        gap: 10px;

        margin: 20px 0;
    }
    .single-product .product-info .product-price,
    .single-product .product-price {
        font-size: 20px;
    }
    .customModal form button,
    .btn-custom {
        margin: 7px !important;
    }
    .close-modal {
        position: absolute;
        right: 15px;
        top: 3px;
    }
    #editVariantForm > div {
        /* flex-direction: column; */
        gap: 15px !important;
        align-items: flex-start !important;
    }
    /* .best-seller .card .image{} */
    .best-seller .card {
        margin: 0 3px;
    }
    .best-seller .card .image {
        height: 120px;
    }
    .best-seller .card .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .best-seller .card header,
    .more-products .card header {
        flex-direction: column-reverse;
        gap: 5px;
        padding: 7px 0px;
    }
    .best-seller .card header .starts {
        font-size: 12px;
    }
    .best-seller .card .image:hover img {
        transform: scale(1);
    }
    .best-seller .descrption h3 {
        font-size: 13px;
        padding-bottom: 8px;
    }
    .best-seller .descrption small,
    .price-product-card {
        font-size: 16px;
    }
    .more-products .card .bg-success {
        width: 20px;
        height: 30px;
    }
    .more-products .card header {
        flex-direction: column-reverse;
    }
    .more-products .card header .starts {
        font-size: 13px;
        margin-bottom: 1px;
    }

    .best-seller .card .bg-success {
        width: 48px;
        height: 30px;
    }
    .add-to-cart-btn img {
        width: 20px;
    }
    .more-products .card header .icons,
    .best-seller .card header .icons {
        width: 95%;
        align-items: center;
        justify-content: space-between;
    }
    .best-seller .slick-dots li.slick-active {
        width: 95% !important;
    }
    .best-seller .slick-dots li:not(.slick-active) {
        display: none;
    }
    .more-products .card header a,
    .best-seller .card header a {
        font-size: 19px;
    }

    .add-to-fav-btn img,
    .more-products .card img {
        width: 20px;
    }
    .slider {
        margin: 50px auto;
    }
    .add-to-fav-btn.added i {
        font-size: 16px !important;
    }
    .app-features .text .app-text h2 {
        font-size: 38px !important;
        line-height: 1.6;
    }
    .best-seller .slick .slick-slide {
        padding: 0 !important;
    }
    .more-products .add-to-fav-btn,
    .best-seller .add-to-fav-btn {
        position: absolute;
        right: 44px;
    }
    .best-seller .slick .product-card {
        width: 100% !important;
    }
    .navbar-brand img {
        width: 110px;
    }
    .hero-section.parallax {
        height: 900px;
    }
    .hero-section.parallax img {
        top: 575px;
    }
    .best-seller .slick-prev {
        right: 34% !important;
    }
    .modal {
        /* top: 53px; */
        z-index: 99999999999999999;
        padding: 0;
        margin: 0;
    }
    .modal .modal-dialog {
        padding: 0;
        margin: 0;
    }
    .modal .modal-dialog .modal-content {
        padding: 0;
        margin: 0;
    }
    .product-reviews {
        margin-top: 0;
    }
    .single-product .product-info .product-description.toggle-section {
        margin: 10px 0;
    }

    .customModal form {
        padding: 0 10px;
    }
    .customModal form a {
        font-size: 11px;
    }
    .customModal .social a {
        font-size: 11px;
        border: 1px solid #f1f1f1;
    }
    .customModal .social a img {
        width: 12px;
    }
    .customModal form button,
    .btn-custom {
        padding: 8px;
    }
    .customModal form button {
        margin: 10px 0;
    }
    .customModal .form-control {
        font-size: 12px;
    }
    .customModal .element .item img {
        width: 38px;
    }
    .customModal .element .item span {
        font-size: 12px;
    }

    .elements {
        display: flex;
        overflow-x: auto; /* بدل hidden */
        gap: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        cursor: grab; /* شكل اليد */
    }

    .elements:active {
        cursor: grabbing;
    }

    .elements .card {
        flex: 0 0 45%;
        scroll-snap-align: start;
    }

    .elements::-webkit-scrollbar {
        display: none;
    }
    .slider .slick-dots li button:before {
        width: 15px;
        height: 15px;
    }
    .fixed-discount,
    .fixed-discount-inside {
        top: 55px;
    }

    /* Page Category */
    .category-page .products {
        grid-template-columns: repeat(1, 1fr);
        width: 97%;
    }

    .category-page .section-top-category-page {
        padding: 18px 8px;
    }
    .category-page header h1 {
        order: -1;
        font-size: 35px;
    }
    .category-page header button.btn {
        font-size: 13px;
        padding: 0;
    }
    .category-page header div {
        font-size: 13px;
    }
    .category-page header button {
        font-size: 13px;
    }

    .category-page .add-to-fav-btn {
        right: 37px;
    }

    .section-top-category-page {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px; /* مسافة بين الـ divs */
        flex-wrap: wrap;
    }

    .section-top-category-page > .dropdown {
        flex: 1; /* يخلي كل dropdown ياخد مساحة متساوية */
    }

    .section-top-category-page h1 {
        flex-basis: 100%; /* العنوان ينزل في سطر لوحده */
        text-align: center;
        margin: 10px 0;
    }
    .category-page .dropdown .dropdown-menu .search-element {
        padding: 25px 4px;
    }
    .category-page .dropdown.search-order.first {
        text-align: right;
        padding: 13px 0;
    }
    .category-page .dropdown.search-order .brands .element {
        padding: 0 0;
    }
    .category-page .dropdown.search-order .brands img {
        width: 80px;
    }
    .category-page .dropdown.search-order .brands {
        margin: 0;
    }

    .attr-choice.active,
    .size-option.active {
        width: 20px !important;
        height: 26px !important;
    }

    #editModalContent .buttons {
        padding: 10px;
        margin-top: 20px;
    }

    .app-color-price {
        display: flex;
        flex-direction: column-reverse;
        /* justify-content: column-reverse; */
        margin: 16px 0;
        padding: 10px 6px;
        border-radius: 10px;
        gap: 15px;
    }
    .app-color-price .my-4 {
        margin: 0 !important;
        display: flex;
        flex-direction: column;
    }
    .app-color-price #editVariantForm .mb-3 {
        margin: 0 !important;
    }
    .app-color-price .fs-2 {
        font-size: 15px !important;
    }
    .app-color-price .price-sar2-modal {
        font-size: 10px !important;
    }
    .favorites-page .add-to-cart-btn {
        font-size: 10px;
    }
    #loadMoreCartItemsBtn,
    #loadMoreFavoritesBtn {
        margin-top: 0;
        margin-bottom: 40px;
        font-size: 10px;
        border-radius: 8px;

        padding: 9px 40px;
    }
    #editVariantModal .modal-dialog {
        position: relative;
    }
    #editVariantModal .modal-dialog .modal-content {
        position: absolute;
        top: 0;
    }
    #editVariantModal .modal-content .btn-success {
        padding: 10px 0;
    }
    .category-page .products {
        gap: 5px;
    }
    .category-page .products {
        grid-template-columns: repeat(2, 1fr);
        width: 97%;
    }
    .category-page .products .card .icons a {
        font-size: 17px;
    }
    .category-page .container-fluid {
        padding: 0;
    }
    .app-product-price-color {
        display: flex;
        flex-direction: column-reverse;
        padding: 10px 0;
    }
    .category-page .products .card img.cover {
        height: 150px;
    }
    .slider:not(.slider.slider-top) {
        margin: 10px auto;
    }
    p.congrats {
        font-size: 12px !important;
    }
    .btn-next-payment {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }
    .partials .address-actions {
        left: 18px !important;
        font-size: 14px !important;
        bottom: 30% !important;
    }
    .location-page h4.color-one {
        margin: 0 20px;
    }

    .notifications p {
        font-size: 13px !important;
    }
    .notifications .form-profile i{
            font-size: 21px;
    }
    .notifications .custom-radio
    {
            width: 17px !important;
    height: 17px !important;
    }

    .notifications .logout{
        padding: 11px 21px !important;
    }

    .partials-profile-data  h3{
        margin-bottom: 0 !important;
            padding-right: 21px;
    }
}

@media only screen and (max-width: 413px) {
    .carts-page .carts-items .cart-item .cart-item-info {
        bottom: -8px;
    }
    .carts-page .cart-actions {
        margin-bottom: 5px;
    }
}

@media (min-width: 576px) {
    .customModal .modal-dialog {
        max-width: 600px;
    }
}
