/* ==================START HEADER==================== */
header {
    z-index: 111;
    position: relative;

    &.scroll {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        animation: fixed 1s ease-in-out forwards;
        z-index: 99999;
    }

    .navbar-brand {
        width: 115px;
    }

    .offcanvas-end {
        width: 215px;
        height: 100dvh;
    }

    .nav-item {
        position: relative;

        .nav-link,
        .dropdown-item {
            font-weight: 600;
            font-size: 16px;
            color: var(--title-color);
            transition: all 0.4s;
        }

        .nav-drop {
            position: relative;
            font-weight: 600;
            font-size: 16px;
            color: var(--title-color);
            transition: all 0.4s;

            &::after {
                content: "\f078";
                font-family: var(--icon-font);
                display: inline-block;
                margin-right: 6px;
                transition: transform 0.3s ease;
            }
        }

        &:hover .nav-drop::after {
            transform: rotate(180deg);
        }

        .sub-menu {
            position: absolute;
            top: 100%;
            right: -14px;
            padding: 18px 20px;
            background-color: var(--white-color);
            min-width: 230px;
            text-align: right;
            border-radius: 0;
            box-shadow: 0px 4px 15px rgba(1, 15, 28, 0.06);

            visibility: hidden;
            opacity: 0;
            z-index: -1;
            transform: scaleY(0);
            transform-origin: top center;
            transition: all 0.4s ease;

            .dropdown-item {
                position: relative;
                padding-right: 0;
                transition: all 0.3s ease-in-out;

                &::before {
                    content: "\f6f0";
                    font-family: var(--icon-font);
                    position: absolute;
                    top: 6px;
                    right: 10px;
                    font-size: 1em;
                    line-height: 1;
                    color: var(--theme-color);
                    font-weight: 900;
                    display: inline-block;
                    max-width: 14px;
                    text-align: center;
                    border-radius: 50%;
                    opacity: 0;
                    transition: 0.3s ease-in-out;
                    transform: rotateY(180deg);
                    padding-inline: 30px;
                }

                &:hover {
                    color: var(--theme-color);
                    padding-right: 35px;

                    &::before {
                        opacity: 1;
                        right: 0;
                    }
                }
            }
        }

        &:hover .sub-menu {
            visibility: visible;
            opacity: 1;
            z-index: 9;
            transform: scaleY(1);
        }

        &:hover .nav-link,
        &:hover .nav-drop {
            color: var(--theme-color);
        }
    }

    .header-button {
        .header-form {
            display: flex;
            width: 100%;
            max-width: 500px;
            border: 1px solid var(--border-color);
            border-radius: 25px;
            /* padding-right: 20px; */
            /* overflow: hidden; */

            .form-select {
                display: flex;
                align-items: center;
                width: 160px;
                padding: 0 27px;
                padding-right: 40px;
                height: 50px;
                font-size: 14px;
                font-weight: 500;
                color: var(--title-color);
                background-color: transparent;
                background-position: right 20px center;
                border: none;
                border-radius: 0;
                box-shadow: none;

                &::after {
                    display: none;
                }

                .option {
                    font-weight: 500;
                    color: var(--title-color);
                }
            }

            .form-group {
                position: relative;

                i {
                    position: absolute;
                    top: 18px;
                    right: 10px;
                    font-size: 14px;
                    color: var(--theme-color);
                }

                .nice-select .option {
                    text-align: right;
                }

                input[type="text"] {
                    border: none;
                    /* border-right: 1px solid var(--border-color); */
                    border-radius: 0;
                    box-shadow: none;
                    padding: 0 0.75rem !important;
                    /* padding: 0.82rem 0.75rem !important; */
                }
            }
        }

        & .simple-icon {
            padding: 10px;
        }
    }

    .icon-btn {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 50px;
        min-height: 50px;
        border-radius: 50%;
        background-color: transparent;
        border: 1px solid var(--border-color);
        color: var(--title-color);
        transition: all 0.4s;

        i {
            font-size: 20px;
        }

        &:hover {
            background-color: var(--theme-color);
            color: var(--white-color);

            & span {
                background-color: var(--title-color);

            }
        }

        & span {
            position: absolute;
            top: -10px;
            right: -14px;
            font-weight: 400 !important;
            font-size: 18px;
            color: #fff;
            background-color: #e67132;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 8px;
            transition: all 0.4s;
        }
    }

    @media (max-width: 575px) {
        .header-icon {
            max-width: 160px;
        }

        .navbar-toggler,
        .navbar-toggler:focus {
            border: none;
            outline: 0;
            box-shadow: none;
        }

        .navbar-toggler i {
            width: 50px;
            height: 50px;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.4s;
        }

        .navbar-toggler:hover i {
            background-color: var(--theme-color);
            color: var(--white-color);
        }
    }
}

/* @media only screen and (max-width: 992px) {
  .menu-icon-toggler {
    width: 3.125rem;
  }
} */
/* ==================END HEADER==================== */

/* ==================START HOME==================== */
#home {
    background-image: linear-gradient(180deg,
    #e6f5f9 0%,
    rgba(230, 245, 249, 0) 100%);
    padding-top: 15px;

    & .shapes-wrapper {
        .hero-shape1 {
            position: absolute;
            top: 100px;
            left: -50px;
            width: 250px;
            animation: moveShape1 4s ease-in-out infinite alternate;
        }

        .hero-shape2 {
            position: absolute;
            bottom: 170px;
            right: -30px;
            width: 230px;
            animation: moveShape2 4s ease-in-out infinite alternate;
        }
    }

    .hero-inner {
        position: relative;
        /*background-image: url(./../assets/hero-bg1-1.png);*/
        background-position: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        height: 600px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        width: min(100%, calc(100% - 15px));
        margin-inline: auto;

        .hero-footer {
            position: absolute;
            bottom: 30px;
            color: #01225ea1;
            inset-inline-start: 50px;

            & p {
                display: flex;
                align-items: center;
                gap: 5px;
                /* font-family: sans-serif; */
                font-size: 20px;
                font-weight: 500;

            }

            & img {
                width: 55px;
                filter: brightness(0) invert(1);
            }
        }

        .hero-insta-icon {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            bottom: -72px;
            inset-inline-end: 10px;

            color: #93dcf9;
            transform: rotate(333deg);

            & i {
                background: #50c6f4;
                height: 78px;
                aspect-ratio: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 21px;
                font-size: 76px;
                color: #01225e82;
            }

            &::after {
                content: '';
                position: absolute;
                top: -43px;
                inset-inline-start: -105px;
                width: 120px;
                aspect-ratio: 1;
                background: url('../assets/Frame.svg') no-repeat;
                background-size: contain;
            }
        }
    }

    .hero-sub-title {
        /* margin-bottom: 29px; */
        font-size: 20px;
        font-weight: 500;
        font-family: var(--title-font);
        color: var(--theme-color);
        background-color: rgba(255, 255, 255, 0.4);
        display: inline-block;
        width: min(100%, 50%);
        /* English */
        /* padding: 8px 30px 8px 10px;
        border-radius: 4px 0 0 4px;
        -webkit-clip-path: polygon(
          100% 0%,
          calc(100% - 12px) 50%,
          100% 100%,
          0 100%,
          0 0
        );
        clip-path: polygon(100% 0%, calc(100% - 12px) 50%, 100% 100%, 0 100%, 0 0); */
        padding-block: 6px;
        padding-inline: 12px;
        text-align: center;
        border-radius: 0 4px 4px 0;
        /* ← تدوير الزاوية اليمنى بدل اليسرى */

        -webkit-clip-path: polygon(0% 0%, 12px 50%, 0% 100%, 100% 100%, 100% 0%);
        clip-path: polygon(0% 0%, 12px 50%, 0% 100%, 100% 100%, 100% 0%);
    }

    .btnContainer {
        width: 100%;
        margin-inline: auto;
        display: flex;
        place-content: center;
    }

    .hero-main-title {
        font-size: 76px;
        letter-spacing: -0.03em;
        color: var(--white-color);

        &.special-font {
            font-family: "fokaha", sans-serif;
        }
    }

    .small-title {
        font-size: 36px;
        font-weight: 500;
        color: #fff;
        margin-top: 16px;

        & .special-color {
            color: #ffef93;
        }
    }

    .gridSystem {

        gap: 16px;

        width: min(100%, calc(100% - 150px));
        height: 100%;
        margin-inline: auto;
        align-items: center;

        grid-template-columns: 1fr;

        @media (min-width: 992px) {
            width: min(100%, calc(100% - 300px));
            grid-template-columns: .8fr 1.2fr;
        }

        @media (max-width: 580px) {
            width: min(100%, 98%);
        }

        .ImageSide {
            position: relative;
            height: 100%;
            align-content: end;

            @media (max-width: 991px) {
                display: none;
            }

            .hero-img-main {
                width: min(100%, 600px);

            }

            .hero-img-msg {
                position: absolute;
                width: min(100%, 650px);
                inset-inline-end: -100px;
                top: 91px;

            }
        }
    }


    .btn-solid-main {
        background-color: var(--white-color);
        color: var(--title-color);

        &:hover {
            color: var(--white-color);
        }
    }

    @media (min-width: 576px) and (max-width: 991px) {
        /* .hero-inner {
          height: calc(100vh - 197px);
          height: 100vh;
        } */
        /* .hero-img-container { */
        /* min-width: 600px; */
        /* left: 50%;
          transform: translateX(-51%);
        } */
        /* .hero-content {
          position: absolute;
          top: 20%;
          right: 50%;
          transform: translate(50%, -50%);
          -webkit-transform: translate(50%, -20%);
          -moz-transform: translate(50%, -50%);
          -ms-transform: translate(50%, -50%);
          -o-transform: translate(50%, -50%);
        } */
        /* .hero-main-title {
          font-size: 46px;
          line-height: 1.24;
        }
      } */
    }

    @media (max-width: 575px) {
        .hero-content {
            margin-bottom: 190px;
        }

        .hero-sub-title {
            font-size: 13px;
        }

        .hero-main-title {
            font-size: 32px;
            line-height: 1.3;
        }

        .btn-solid-main {
            font-size: 14px;
        }

        .hero-img-container {
            width: 370px;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media (min-width: 575px) and (max-width: 768px) {
        .hero-inner {
            height: calc(100vh - 197px);
            height: 100vh;
        }

        .hero-content {
            margin-bottom: 190px;
        }

        .hero-sub-title {
            font-size: 14px;
        }

        .hero-main-title {
            font-size: 38px;
        }

        .hero-img-container {
            width: 400px;
            left: 50%;
            transform: translateX(-50%);
        }

        .btn-solid-main {
            font-size: 14.5px;
        }
    }

    @media (min-width: 768px) and (max-width: 991px) {
        .hero-inner {
            height: auto;
        }

        .hero-content {
            margin-top: 40px;
            margin-bottom: auto;
            padding-block: 50px;
        }

        .hero-sub-title {
            font-size: 13px;
        }

        .hero-main-title {
            font-size: 35px;
            line-height: 1.3;
        }

        .hero-img-container {
            width: 400px;
            left: 0;
            transform: translateX(0);
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
        }

        .btn-solid-main {
            font-size: 14px;
        }
    }

    @media (min-width: 991px) and (max-width: 1400px) {
        .hero-inner {
            height: 470px;
        }

        .hero-sub-title {
            font-size: 16px;
        }

        .hero-main-title {
            font-size: 52px;
        }

        .hero-img-container {
            width: 500px;
            left: 0;
            transform: translateX(0);
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
        }

        .btn-solid-main {
            font-size: 16px;
        }
    }
}

@keyframes moveShape1 {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-30px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes moveShape2 {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateY(30px) scale(0.95);
        opacity: 0.4;
    }
}

/* ==================END HOME==================== */

/* ==================START FEATURES==================== */
#features {

    .feature-list1,
    .feature-list2,
    .feature-list3,
    .feature-list4 {
        --f2: #e67132;
        --f3: #71d863;
        --f4: #15befd;
        position: relative;
        padding: 22px;
        text-wrap-style: pretty;

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 30px;
            /* background: var(--theme-color); */
            opacity: 0.15;
            z-index: -1;
        }

        .media-body {
            text-align: start;
        }

        & .box-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        & .box-text {
            font-weight: 600;
        }

        & .box-icon {
            width: 80px;
            height: 80px;
            line-height: 80px;
            text-align: center;
            /* background-color: var(--theme-color); */
            border-radius: 16px;
            font-size: 44px;
            color: var(--white-color);
            display: flex;
            align-items: center;
            justify-content: center;

            & img {
                object-fit: none;
            }
        }
    }

    .feature-list1 {
        &::after {
            background-color: var(--title-color);
        }

        & .box-icon {
            background-color: var(--title-color);
        }
    }

    .feature-list2 {
        &::after {
            background-color: var(--f2);
        }

        & .box-icon {
            background-color: var(--f2);
        }
    }

    .feature-list3 {
        &::after {
            background-color: var(--f3);
        }

        & .box-icon {
            background-color: var(--f3);
        }
    }

    .feature-list4 {
        &::after {
            background-color: var(--f4);
        }

        & .box-icon {
            background-color: var(--f4);
        }
    }

    @media (max-width: 574px) {

        .feature-list1 .box-title,
        .feature-list2 .box-title,
        .feature-list3 .box-title,
        .feature-list4 .box-title {
            font-size: 19px;
        }
    }

    @media (min-width: 575px) and (max-width: 767px) {

        .feature-list1 .box-title,
        .feature-list2 .box-title,
        .feature-list3 .box-title,
        .feature-list4 .box-title {
            font-size: 18px;
        }
    }

    @media (min-width: 768px) and (max-width: 991px) {

        .feature-list1 .box-title,
        .feature-list2 .box-title,
        .feature-list3 .box-title,
        .feature-list4 .box-title {
            font-size: 20px;
        }
    }

    @media (min-width: 991px) and (max-width: 1400px) {

        .feature-list1 .box-title,
        .feature-list2 .box-title,
        .feature-list3 .box-title,
        .feature-list4 .box-title {
            font-size: 24px;
        }
    }
}

/* ==================END FEATURES==================== */

/* ==================START BANNER==================== */
#promo-banner {
    .swiper-slide img {
        height: 300px;
        object-fit: cover;
        width: 100%;
        border-radius: 12px;
    }

    .swiper {
        overflow-y: unset;
        overflow-x: clip;
    }

    .swiper-pagination {
        bottom: -37px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* ==================END BANNER==================== */

/* ==================START TRENDING==================== */
#trending-items {
    /* background-color: var(--smoke-color); */
    position: relative;

    .cloud-bg {
        background-image: url("../assets/shape-21.png");
        background-size: auto;
        background-repeat: repeat-x;
        background-position: top left;
        position: absolute;
        left: 0;
        width: 100%;
        height: 42px;
        animation: cloud-move 30s linear infinite;
        -webkit-animation: cloud-move 30s linear infinite;
    }

    .cloud-bg-top {
        top: 0;
    }

    .cloud-bg-bottom {
        bottom: 0;
        transform: rotateX(180deg);
        -webkit-transform: rotateX(180deg);
        -moz-transform: rotateX(180deg);
        -ms-transform: rotateX(180deg);
        -o-transform: rotateX(180deg);
    }

    #trending-items {
        position: relative;
        overflow: hidden; /* عشان الموجة ما تطلعش برا */
    }

    .top-wave {
        position: absolute;
        inset: 0; /* top:0; left:0; right:0; bottom:0 */
        background-color: var(--smoke-color);
        --mask: radial-gradient(43.54px at 50% 61.2px, #000 99%, #0000 101%) calc(50% - 68px) 0/136px 100%,
        radial-gradient(43.54px at 50% -27.2px, #0000 99%, #000 101%) 50% 34px/136px 100% repeat-x;
        -webkit-mask: var(--mask);
        mask: var(--mask);
        z-index: 0; /* تحت المحتوى */
    }

    .productsBody,
    .empty-state {
        position: relative;
        z-index: 1; /* فوق الـ wave */
    }


    .trending-link {
        position: relative;
        font-weight: bold;
        font-size: 1rem;
        color: var(--theme-color);
        background: var(--white-color);
        /* padding: 3px 10px; */
        width: 145px;
        height: 35px;
        border-radius: 8px;
        border: 1px solid var(--theme-color);
        transition: all 0.4s ease;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        /* &::after {
          content: "";
          position: absolute;
          right: 0;
          bottom: -4px;
          width: 0;
          height: 2px;
          background-color: var(--theme-color);
          transition: width 0.4s ease;
        } */

        /* &:hover::after,
        &.active::after {
          width: 100%;
        } */

        &:hover,
        &.active {
            color: var(--white-color);
            background-color: var(--theme-color);
        }
    }

    .trending-items-product {
        border: 1px solid #d6dfe1;
        border-radius: 20px;
        background: #fff;
        overflow: hidden;
        position: relative;
        /* min-height: 390px; */
        max-height: 360px;
        transition: all 0.3s ease-in-out;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .trending-items-product:hover .trending-items-product-body {
        background-color: var(--smoke-color);
    }

    /* Product Image Wrapper */

    .trending-items-product-img {
        /* position: relative; */
        overflow-y: hidden;
        width: min(260px, 100%);
        margin: auto;
        max-height: 200px;

        @media (min-width: 768px) and (max-width: 1400px) {
            width: auto;
        }

        @media (max-width: 580px) {
            padding: 0 !important;
        }
    }

    .trending-items-product-img img {
        width: 100%;
        display: block;
    }

    .trending-items-discount {
        background: var(--theme-color);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 20px;
        position: absolute;
        top: 20px;
        right: 25px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    /* Action Icons */

    .trending-items-icons {
        list-style: none;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 15px;
        left: -30px;
        /*transform: translateX(50px);
        */
        transition: all 0.3s ease;
    }

    .trending-items-product:hover .trending-items-icons {
        /* transform: translateX(0); */
        left: 15px;
    }

    .trending-items-icons li {
        margin-bottom: 5px;
    }

    .trending-items-icons li a {
        background: var(--title-color);
        color: #fff;
        width: 27px;
        height: 27px;
        font-size: 11px;
        border-radius: 50%;
        text-align: center;
        line-height: 28px;
        display: block;
        transition: background 0.3s ease;
    }

    .trending-items-icons li a:hover {
        background: var(--theme-color);
    }

    /* Product Content */

    .trending-items-product-body {
        background: transparent;
        padding: 20px;
        /* position: absolute; */
        /* bottom: -22px; */
        width: 100%;
        /* min-height: 165px; */
        transition: all 0.4s ease;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;

        /* background-color: red; */

        .product-info {
            font-size: 13px;
            transition: transform 0.4s ease;
        }
    }

    .trending-items-product {
        transition: all 0.4s ease;
    }

    .trending-items-product:hover .trending-items-product-body {
        /* bottom: -44px; */
        /* transform: translateY(-40px); */
    }

    .trending-items-product:hover .product-info {
        visibility: hidden !important;
    }

    .trending-items-title {
        font-size: 17px;
        font-weight: 500;
        margin-bottom: 7px;
    }

    .trending-items-title a {
        color: var(--title-color);
        text-decoration: none;
        transition: color 0.3s;
    }

    .trending-items-title a:hover {
        color: var(--theme-color);
    }

    .trending-items-price {
        font-size: 16px;
        font-weight: 600;
        color: var(--title-color);
    }

    .old-price {
        color: #999;
        font-size: 15px;
        margin-right: 8px;
        text-decoration: line-through;
    }

    .trending-items-product .btn-outline-main {
        /* width: 100%; */
        padding: 6px 16px;

        transform: translateY(100px);
        opacity: 0;
        transition: all 0.4s ease;

        @media (max-width: 580px) {
            min-width: 100%;
            padding: 12px 6px;
            font-size: 14px;
            margin: 0;
        }
    }

    .trending-items-product:hover .btn-outline-main {
        opacity: 1;
        transform: translateY(-50px);
    }

    #productDetailsModal .btn-outline-main {
        bottom: -7px;
    }

    /* Responsive Spacing */
    @media screen and (max-width: 990px) {
        .trending-items-product {
            margin-bottom: 30px;
        }
    }
}

@keyframes cloud-move {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 1000px;
    }
}

/* ==================END TRENDING==================== */

/* ==================START TESTIMONIAL==================== */
#testimonials {
    .swiper {
        overflow-y: unset;
        overflow-x: clip;
    }

    .swiper-slide {
        height: auto;
        background: none;
        display: flex;
        align-items: stretch;
    }

    .card {
        height: 160px !important;
        width: 388px;
        text-wrap-style: pretty;
        border-radius: 20px;

        @media screen and (max-width: 576px) {
            width: 335px;
            margin: auto;
        }

    }

    #testimonialStars .star {
        font-size: 1.5rem;
        color: #ffc107;
        transition: color 0.2s;
    }

    .swiper-pagination {
        bottom: -37px !important;
    }

    .swiper-pagination-bullet-active {
        background: var(--secondary-color);
    }
}

/* ==================END TESTIMONIAL==================== */

/* ==================START SHOP PAGE==================== */
#shop {

    /* height: 350px; */

    & #trending-items {
        background-color: transparent !important;
    }

    .shop-categories {
        border: 1px solid var(--border-color);
        border-radius: 30px;

        h5 {
            position: relative;
            font-size: 24px;
            color: var(--title-color);

            &::after {
                content: "";
                height: 2px;
                width: 84px;
                background-image: linear-gradient(to left,
                var(--secondary-color),
                transparent);
                position: absolute;
                bottom: -10px;
                right: 0;
            }
        }

        .form-check-input:checked {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
        }

        .form-check-label {
            font-size: 1rem;
            color: var(--title-color);
            cursor: pointer;
        }

        .form-check {
            .form-check-input {
                float: right;
                margin-left: 0.5em;
                box-shadow: none;

                &:focus {
                    border-color: rgba(0, 0, 0, 0.25);
                }
            }
        }

        .shop-categories-size {
            a {
                height: 30px;
                width: 35px;
                line-height: 28px;
                text-align: center;
                border-radius: 4px;
                border: 1px solid rgba(92, 112, 126, 0.3);
                background-color: transparent;
                padding: 0;
                margin-bottom: 0;
                font-size: 14px;
                transition: all 0.4s;

                &:hover {
                    background: transparent;
                    border-color: var(--secondary-color);
                    color: var(--secondary-color);
                }
            }
        }
    }
}

/* ==================END SHOP PAGE==================== */

/* ==================START CART PAGE==================== */
.cart {
    .cart-table {
        border-radius: 20px;
        overflow: hidden;
        border-spacing: 0;

        thead,
        tbody,
        tfoot,
        tr,
        th,
        td {
            border-color: var(--border-color) !important;
        }

        th {
            color: var(--title-color);
            font-weight: 700;
            font-size: 1rem;
            padding: 16px;
            border-bottom: 1px solid var(--border-color);
        }

        td {
            vertical-align: middle;
            padding: 16px 12px;
            font-size: 0.95rem;
            color: var(--title-color);
            border-bottom: 1px solid var(--border-color);
        }

        @media (max-width: 768px) {

            td,
            th {
                font-size: 14px;
                padding: 10px 6px;
            }
        }
    }

    .img-cart {
        img {
            max-width: 60px;
            border-radius: 10px;
        }

        @media (max-width: 768px) {
            max-width: 50px;
        }
    }

    .quantity-wrapper {
        direction: rtl;
        width: fit-content;
        min-width: 120px;
        margin: 0 auto;

        .btn {
            padding: 4px 10px;
            font-size: 14px;
            font-weight: bold;
            border-radius: 4px !important;
            color: var(--title-color);
            border-color: var(--border-color);
            transition: all 0.3s ease;
            height: 34px;
            min-width: 34px;
        }

        .qty-input {
            font-size: 14px;
            font-weight: 500;
            width: 45px;
            height: 34px;
            padding: 2px;
            text-align: center;
            border-radius: 4px !important;
            border: 1px solid var(--border-color);
            color: var(--title-color);
        }
    }

    .btn-outline-danger {
        border-radius: 50%;
        padding: 6px 10px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .cart-totals-table {
        td {
            padding: 16px 12px;
            vertical-align: middle;
            border-top: 1px solid var(--border-color);
            color: var(--title-color);

            &:first-child {
                width: 40%;
            }
        }
    }

    .change-address {
        font-weight: bold;
        text-decoration: underline;
        color: var(--title-color);
        font-size: 14px;
        transition: color 0.3s ease;

        &:hover {
            color: var(--theme-color);
        }
    }
}

/* ==================END CART PAGE==================== */

/* ==================START PRODUCT DETAILS PAGE==================== */
#product-details {
    .product-gallery {
        .main-img {
            border-radius: 20px;
            background-color: var(--gray-color);
        }
    }

    .product-details-info {
        h2 {
            color: var(--title-color);
        }

        .product-price {
            color: var(--theme-color);
        }

        ul {
            li {
                i {
                    font-size: 16px;
                    color: var(--theme-color);
                }
            }
        }
    }

    .form-control[type="number"] {
        text-align: center;
    }

    .btn-solid-main {
        padding: 8px 0;
    }

    @media (max-width: 768px) {

        .product-details-info,
        .product-gallery,
        .tab-content {
            padding: 20px;
        }

        .nav-tabs .nav-link {
            padding: 10px 16px;
            font-size: 14px;
        }

        .btn-solid-main {
            margin: 0;
        }
    }

    .product-gallery .thumbnails {
        gap: 10px;
        flex-wrap: wrap;
    }

    .product-gallery .thumbnails img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.3s, transform 0.3s;
    }

    .product-gallery .main-img img {
        transition: opacity 0.4s ease-in-out;
    }

    .product-gallery .thumbnails img.active {
        border: 1px solid rgb(217, 218, 219);
        opacity: 1;
        transform: scale(1.05);
        transition: all 0.3s ease;
    }
}

/* ==================END PRODUCT DETAILS PAGE==================== */

/* ==================START CHECKOUT==================== */
#checkout {
    /* background-color: var(--gray-color); */

    .nice-select {
        text-align: right !important;

        &::after {
            left: 15px;
            right: auto;
        }

        & .list {
            overflow-y: scroll;
            height: 160px;
            left: auto;
            right: 0;

            & li {
                text-align: right;
            }
        }

        .nice-select {
            direction: rtl !important;
            /* نحافظ على اتجاه النص */
            text-align: right;
        }
    }

    .card {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border: 1px solid #eff0f2;
        border-radius: 1rem;
        margin-bottom: 24px;
        -webkit-box-shadow: 0 2px 3px #e4e8f0;
        box-shadow: 0 2px 3px #e4e8f0;
    }

    .activity-checkout {
        list-style: none;
    }

    .activity-checkout .checkout-icon {
        position: absolute;
        top: -4px;
        left: -24px;
    }

    .activity-checkout .checkout-item {
        position: relative;
        padding-bottom: 24px;
        padding-left: 35px;
        border-left: 2px solid #f5f6f8;
    }

    .activity-checkout .checkout-item:first-child {
        border-color: #3b76e1;
    }

    .activity-checkout .checkout-item:first-child:after {
        background-color: #3b76e1;
    }

    .activity-checkout .checkout-item:last-child {
        border-color: transparent;
    }

    .activity-checkout .checkout-item.crypto-activity {
        margin-left: 50px;
    }

    .activity-checkout .checkout-item .crypto-date {
        position: absolute;
        top: 3px;
        left: -65px;
    }

    .avatar-xs {
        height: 1rem;
        width: 1rem;
    }

    .avatar-sm {
        height: 2rem;
        width: 2rem;
    }

    .avatar {
        height: 3rem;
        width: 3rem;
    }

    .avatar-md {
        height: 4rem;
        width: 4rem;
    }

    .avatar-lg {
        height: 5rem;
        width: 5rem;
    }

    .avatar-xl {
        height: 6rem;
        width: 6rem;
    }

    .avatar-title {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background-color: #3b76e1;
        color: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-weight: 500;
        height: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%;
    }

    .avatar-group {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 8px;
    }

    .avatar-group .avatar-group-item {
        margin-left: -8px;
        border: 2px solid #fff;
        border-radius: 50%;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
    }

    .avatar-group .avatar-group-item:hover {
        position: relative;
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px);
    }

    .card-radio {
        background-color: #fff;
        border: 2px solid #eff0f2;
        border-radius: 0.75rem;
        padding: 0.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

    .card-radio:hover {
        cursor: pointer;
    }

    .card-radio-label {
        display: block;
    }

    .edit-btn {
        width: 35px;
        height: 35px;
        line-height: 40px;
        text-align: center;
        position: absolute;
        right: 25px;
        margin-top: -50px;
    }

    .card-radio-input {
        display: none;
    }

    .card-radio-input:checked + .card-radio {
        border-color: #3b76e1 !important;
    }

    .font-size-16 {
        font-size: 16px !important;
    }

    .text-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    a {
        text-decoration: none !important;
    }

    .form-control {
        display: block;
        width: 100%;
        padding: 0.47rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.5;
        color: #545965;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #e2e5e8;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0.75rem;
        -webkit-transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
        transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    }

    .edit-btn {
        width: 35px;
        height: 35px;
        line-height: 40px;
        text-align: center;
        position: absolute;
        right: 25px;
        margin-top: -50px;
    }

    .ribbon {
        position: absolute;
        right: -26px;
        top: 20px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        color: #fff;
        font-size: 13px;
        font-weight: 500;
        padding: 1px 22px;
        font-size: 13px;
        /* font-weight: 500; */
    }
}

/* ==================END CHECKOUT==================== */

/* ==================START CONTACT==================== */
#contact {
    .form-container {
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 20px;
    }

    .contact-form {
        border-radius: 20px;
        background-color: var(--gray-color);
        /* padding: 20px 50px; */
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        background-color: var(--gray-color);
        color: var(--theme-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }

    .contact-info h5 {
        color: #000;
    }

    .contact-info p {
        color: #333;
        font-size: 14px;
    }

    form .form-control {
        border: 1px solid #ccc;
        box-shadow: none;
    }

    @media (max-width: 767.98px) {
        .form-container {
            flex-direction: column;
            padding: 1rem;
        }

        .contact-form {
            padding: 1rem !important;
        }

        .contact-info {
            gap: 2rem !important;
        }

        .contact-info .info-item {
            flex-direction: row;
            align-items: flex-start;
        }

        .contact-info .icon-wrapper {
            flex-shrink: 0;
        }

        .contact-form .row .col {
            width: 100%;
            margin-bottom: 1rem;
        }

        .contact-form h4 {
            font-size: 20px;
            text-align: center;
        }

        .contact-form textarea,
        .contact-form input {
            font-size: 14px;
        }
    }
}

/* ==================END CONTACT==================== */

/* ==================START DELIVERY==================== */
#delivery {
    .delivery-card {
        background: #ffffff;
        border-right: 6px solid var(--theme-color) !important;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        min-height: 300px;
    }

    .nav-tabs .nav-link {
        color: var(--title-color);
        font-weight: 600;
        border: none;
        background-color: #fff;
        border-radius: 8px;
        padding: 15px 10px;
        margin: 0 5px;
        transition: all 0.3s ease;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        transition: all 0.4s;
        border-bottom: 3px solid transparent;
    }

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link:hover {
        border-bottom: 3px solid var(--theme-color);
        border-radius: 8px;
        color: var(--theme-color);
    }

    /* المحتوى داخل التبويبات */

    .custom-list {
        list-style: none;
        padding: 0;
    }

    .custom-list li {
        display: flex;
        align-items: center;
        padding: 1rem 1.2rem;
        background-color: #fdfdfd;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); */
        transition: 0.3s;
    }

    .custom-list li:hover {
        background-color: #f0faff;
    }

    .icon {
        color: var(--theme-color);
        font-size: 1.3rem;
        margin-left: 12px;
    }

    .icon:hover {
        transform: rotate(5deg) scale(1.1);
        transition: 0.3s;
    }

    /* الفقرات */

    .section-paragraph {
        font-size: 1rem;
        line-height: 1.9;
        color: #444;
        background: #fefefe;
        padding: 1.2rem 1.5rem;
        border-radius: 12px;
        /* border: 1px solid #eee; */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    }
}

/* ==================END DELIVERY==================== */

/* ==================START FOOTER==================== */
#footer {
    background-color: var(--title-color);
    position: relative;
    /* overflow: hidden; */
    z-index: 11;

    .footer-bg {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-image: url("./assets/footer_bg_1.webp");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.5;
        z-index: -1;
    }

    .footer-wave {
        position: absolute;
        top: -79px;
        background-color: var(--title-color);
        width: 100%;
        height: 150px;
        --mask: radial-gradient(43.54px at 50% 61.2px, #000 99%, #0000 101%) calc(50% - 68px) 0/136px 100%,
        radial-gradient(43.54px at 50% -27.2px, #0000 99%, #000 101%) 50% 34px/136px 100% repeat-x;
        -webkit-mask: var(--mask);
        mask: var(--mask);
    }

    .footer-border {
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 50px;

        &::after {
            content: "";
            height: 2px;
            width: 100%;
            background-image: linear-gradient(to left,
            var(--secondary-color),
            transparent);
            position: absolute;
            bottom: -10px;
            right: 0;

            /* transform: translateX(50px); */
        }
    }

    .footer-img-container {
        width: 150px;
        height: 150px;
        background-color: #fff;
        border-radius: 50%;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;

        @media (max-width: 576px) {
            width: 130px;
            height: 130px;
        }
    }

    .footer-title {
        color: var(--secondary-color);
        position: relative;

        &::after {
            content: "";
            height: 2px;
            width: 84px;
            background-image: linear-gradient(to left,
            var(--secondary-color),
            transparent);
            position: absolute;
            bottom: -10px;
            right: 50%;
            transform: translateX(50px);
        }
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: var(--secondary-color);
    }

    .social-icon {
        display: inline-block;
        color: #fff;
        margin-left: 10px;
        font-size: 18px;
        transition: color 0.3s;
    }

    .social-icon:hover {
        color: var(--secondary-color);
    }

    .footer-copy {
        color: var(--secondary-color);
    }
}

/* ==================END FOOTER==================== */
/* AE =>26/7/2025 */
/* .old-price, .riyal-symbol, .shop-categories {
  display: none;
} */

@keyframes fixed {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}
#product-details {
    .product-gallery {
        .main-img {
            border-radius: 20px;
            background-color: var(--gray-color);
        }
    }

    .product-details-info {
        h2 {
            color: var(--title-color);
        }

        .product-price {
            color: var(--theme-color);
        }

        ul li i {
            font-size: 16px;
            color: var(--theme-color);
        }
    }

    .form-control[type="number"] {
        text-align: center;
    }

    .btn-solid-main {
        padding: 8px 0;
    }

    @media (max-width: 768px) {
        .product-details-info,
        .product-gallery,
        .tab-content {
            padding: 20px;
        }

        .nav-tabs .nav-link {
            padding: 10px 16px;
            font-size: 14px;
        }

        .btn-solid-main {
            margin: 0;
        }
    }

    .thumb-swiper .swiper-slide {
        width: auto !important;
        margin-left: unset;
        margin-right: 10px;
    }
}
