* {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Almarai Regular */
@font-face {
    font-family: 'Almarai';
    src: url('../fonts/Almarai-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: url('../fonts/Almarai-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: url('../fonts/Almarai-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: url('../fonts/Almarai-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --color-p: rgb(197, 143, 87);
    --color-s: linear-gradient(180deg, var(--color-p) 0%, #222 100%);
    --color-th: linear-gradient(0deg, var(--color-p) 0%, #222 100%);
    --color-secondary: #ffcc80;
    --color-dark: #444;
    --color-light: #ffffff;
    --color-gray: #f8f8f8;
    --shadow-light: 0 3px 4px 0px rgb(0 0 0 / 8%);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

body {
    display: flex;
    overflow-x: hidden;
    font-family: 'Almarai', sans-serif;
    background-color: var(--color-light);
    color: var(--color-dark);
    flex-direction: row-reverse;
    height: 100vh;
}

.btn {
    font-size: 16px;
}

.font-sm {
    direction: rtl;
    font-size: 14px;
}

.text-des {
    font-size: 16px;
}

.text-price {
    font-size: 16px;
}

.no-scroll {
    overflow-y: hidden;
}

.body-d-page {
    flex-direction: row;
}

.container {
    max-width: 98% !important;
}

a {
    text-decoration: none !important;
}

.btn-primary {
    min-height: auto !important;
    box-shadow: 0 1px 4px 1px #00000040;
    position: relative;
    overflow: hidden;
    background: var(--color-s) !important;
    border: none !important;
    transition: all 0.5s ease-in-out;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
}

.btn-primary:hover::after {
    animation: shimmer 1.0s forwards;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.fa-star {
    color: gold;
    font-size: 22px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9))
}

.seles {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: #00000091;
}

#step-1,
#step-2,
#step-3,
#step-4 {
    border-top: 4px solid var(--color-p) !important;
}

.h1-header-page {
    /*    padding-top: 70px;*/
    filter: drop-shadow(2px 4px 6px #000000);
}

.nav-link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* الهوفر */

/* active page */
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-3px);
}

.modal {
    z-index: 999999;
}

.part-box .svg-inline--fa {
    filter: drop-shadow(1px 2px 1px #777);
}

/************** side bar *******************/
.sidebar2 {
    position: fixed;
    top: 0;
    right: 0;
    width: 65px;
    height: 100vh;
    background: var(--color-s);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: width 0.4s ease;
    overflow: hidden;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 99990;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar2.null-side-2 {
    padding: 0;
    width: 0 !important;
}

.logoT {
    padding: 10px 1px !important;
}

.sidebar2:hover {
    width: 200px;
}

.sidebar2 div {
    width: 100%;
}

.sidebar2 a {
    cursor: pointer;
    font-size: 22px;
    direction: rtl;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 8px;
    margin: 0px 10px;
}


.sidebar2 a span {
    margin: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-size: 17px;
}

.sidebar2:hover a span {
    opacity: 1;
}

.sidebar2 a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-3px);
}

.sidebar2 .logoT {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar2 .logoT img {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.nullPro {
    font-size: 14px !important;
}

.sidebar2:hover .logoT span {
    opacity: 1;
}

.logout-btn {
    background: #c49361;
}

.i-about {
    font-size: 24px;
}

.i-book {
    font-size: 25px !important;
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.4);
}

.icon-badge {
    opacity: 1 !important;
}

.nullPro-2 {
    display: none;
}


#saveSp2 {
    flex: 0 0 65px;
    /* عرض ثابت 65px */
    height: 100vh;
}

.boTo {
    width: 90%;
    flex: 1;
}

.form-control {
    padding: 5px;
}

.icon-badge {
    position: absolute;
    top: -2px;
    right: -13px;
    background: #c49361;
    color: white;
    font-size: 12px !important;
    padding: 0px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/************** hero section index ******************/

.hero-section {
    position: relative;
    height: 400px;
    background: url('../imgWeb/2149030435.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    opacity: 0.4;
    position: absolute;
    inset: 0;
    background: var(--color-s);
}

.hero-content {
    backdrop-filter: blur(5px);
    border-radius: 20px;
    background-color: #00000075;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    max-width: 90%;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.quick-search select,
.quick-search button {
    min-height: 40px;
}

/*********** side bar ************/
.sidebar-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    height: 100vh;
    background: var(--color-s);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transform: translateX(100%);
    transition: 0.4s ease;
    overflow-y: auto;
}

/* Open sidebar */
.sidebar-container.open {
    transform: translateX(0);
}

/* Header */
.sidebar-header {
    color: white;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#closeSidebar {
    opacity: 1;
    padding: 0;
    display: flex;
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.sidebar-content {
    color: white;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 65%);
    z-index: 99995;
    display: none;
}

#overlay2 {
    z-index: 99991 !important;
}

.overlay.active {
    display: block;
}

/* Category */
/*
.category {
    border-bottom: 1px solid #eee;
}
*/

.category-header {
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.category-header:hover {
    background-color: #d9a570;
}

.category-header i {
    margin-left: 10px;
    color: #6c757d;
}

.toggle-icon {
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

/* Category Items */
.category-items {
    display: none;
    padding: 0 20px 10px 20px;
    margin: 0;
}

.category-items li {
    list-style: none;
    border-bottom: 1px solid #eee;
}

.category-items li:last-child {
    border-bottom: none;
}

.category-items a {
    text-decoration: none;
    color: #f9f9f9;
    display: block;
    padding: 8px 0;
    transition: 0.2s;
}

.category-items a:hover {
    color: var(--color-p);
}

/*********** hero ***************/
.slider-container {
    max-height: 300px;
    height: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.img {
    width: 100%;
    height: 100%;
}

.slider {
    display: flex;
    transition: transform var(--transition-medium);
    height: 100%;
    width: 100%;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    /*    object-fit: cover;*/
    display: none;
}

.slide.active {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--color-p);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    padding: 5px 15px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.indicators {
    z-index: 2;
    margin-bottom: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--color-p);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hero {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.ticker-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 35px;
    white-space: nowrap;
    background: linear-gradient(174deg, var(--color-p) 0%, #1e1e1e 100%);
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollTicker 25s linear infinite;
}

.ticker {
    display: inline-block;
    color: var(--color-light);
    padding: 0 30px;
    font-weight: bold;
    font-size: 1rem;
    line-height: 35px;
    border-radius: 5px;
}

/* Animation Keyframes */
@keyframes scrollTicker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/************** category  ***************/
.Categories {
    border-radius: var(--border-radius);

}

.img-Cat-1 {
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1px;
}

.section-title {
    color: var(--color-p);
    font-size: 30px;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.car-item {
    border-radius: var(--border-radius);
    min-width: 90px;
    flex: 0 0 auto;
    text-decoration: none;
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-item:hover {
    transform: scale(1.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.car-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    background-color: white;
}

.car-name {
    margin-top: 3px;
    font-weight: bold;
    font-size: 14px;
    color: var(--color-dark);
}

/********* parts ***************/
.car-slider-container {
    position: relative;
    padding: 20px 40px;
}

.car-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
    padding: 5px 10px;
    justify-content: center;
}

.car-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    color: var(--color-p);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background-color: var(--color-p);
    color: white;
}

.scroll-btn.prev {
    left: 5px;
}

.scroll-btn.next {
    right: 5px;
}

.part-box {
    flex: 0 0 auto;
    width: 80px;
    height: 100px;
    background: white;
    border: 1px solid var(--color-p);
    border-radius: 12px;
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease;
}

.part-box:hover {
    background-color: var(--color-p);
    color: white;
    transform: translateY(-5px);
}

.part-box .icon-box {
    color: var(--color-dark);
    font-size: 26px;
    margin-bottom: 5px;
}

.part-box .label {
    font-size: 14px;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/***************** banner ******************/
.banner-slider {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.banner-track {
    display: flex;
    width: 100%;
    max-height: 250px;
    transition: transform 1s ease-in-out;
}

.banner-img {
    width: 100%;
}

#filterCar {
    text-align: -webkit-center;
}

.list-group-item.active {
    z-index: 2;
    color: white;
    background-color: var(--color-p);
    border-color: var(--color-p);
}

/***************** offer *******************/
.offer-card-new {
    width: 300px;
}

.offer-card-new img {
    aspect-ratio: 1.5 / 1 !important;
}

.object-fit-cover {
    object-fit: cover;
}

button.btn.btn-outline-success {
    height: 100% !important;
}

/************** button offers ***************/
.icon-index-c-1 {
    top: -25px;
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--color-p);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
    z-index: 1;
    box-shadow: 0px 1px 5px 2px #0000001c !important;
}

.text-decoration-none.text-dark .feature-box.px-1 {
    border-bottom: 3px solid var(--color-p);
    box-shadow: 0px 2px 8px 2px #0000001c !important
}

.text-decoration-none.text-dark .feature-box:hover .icon-index-c-1 {
    transform: scale(1.1);
}

.text-decoration-none.text-dark .feature-box h6 {
    font-weight: bold;
    margin-top: 10px;
}

/******************* product ****************/
.container,
.proIndex {
    border-radius: var(--border-radius)
}

.d-cart {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card {
    transition: transform 0.3s ease;
}

.card-img-top.product-img {
    aspect-ratio: 1/1;
    object-fit: cover;
    height: 220px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.02);
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
}

.storeBT {
    border: none;
    justify-content: space-between;
    color: var(--color-p);
    border-radius: var(--border-radius);
}

.CartBt {
    border: none;
    display: flex;
    align-items: center;
}

.page-link {
    color: var(--color-p);
}

/*********** features section **************/
.features-section .rounded-4.feature-box {
    border-top: 3px solid var(--color-p);
    height: 100%;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
    transition: 0.3s ease;
}

.features-section .rounded-4.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.rounded-4.feature-box:hover .icon-circle {
    left: 60%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.features-section .icon-circle {
    width: 45px;
    height: 45px;
    background-color: var(--color-p, #c58f57);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
}

/************ model **********************/
.modal-header {
    justify-content: space-between;
}

/************* model login  ***************/
.modal-content {
    animation: fadeInUp 0.4s ease-in-out;
}

#loginModal {
    z-index: 999999;
}

small#phoneError {
    font-size: 14px;
}

.modal-backdrop.show {
    opacity: 0.7 !important;
    z-index: 99999;
}

@media (min-width: 576px) {
    .modal-sm {
        --bs-modal-width: 450px !important;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/************* model data *******************/
.modal-content {
    animation: fadeInUp 0.4s ease-in-out;
}

#userModal {
    z-index: 999999;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/******************* fav *******************/
#favModal {
    z-index: 999999;
}

/* Offcanvas custom look for cart/fav */
.custom-offcanvas {
    width: min(420px, 92vw);
    border-left: 0;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.custom-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eee;
    justify-content: space-between;
}

.custom-offcanvas .offcanvas-title {
    font-weight: 700;
}

/* Cart/Fav items modern look */
.custom-offcanvas .fav-item .border,
.custom-offcanvas .cart-item {
    height: fit-content;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cart-item-modern {
    padding: 10px;
    border: 1px solid #f0f0f0 !important;
    margin-top: 8px;
}

div#cartItems {
    direction: ltr;
}

.smaller {
    font-size: 15px;
    color: gray;
}

.offcanvas-backdrop.show {
    z-index: 99991;
}

.offcanvas-body {
    overflow-y: scroll !important;
}

.cart-item-modern .qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7f7f7;
    border-radius: 999px;
    padding: 2px 6px;
}

.cart-item-modern .qty-control .qty-num {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

.btn-icon.btn-remove-cart {
    background: #fff;
    color: #dc3545;
    border: 1px solid #f0d7db;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.btn-icon.btn-remove-cart:hover {
    background: #fff2f3;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-offcanvas .cart-item .btn,
.custom-offcanvas .fav-item .btn {
    border-radius: 8px;
}

.custom-offcanvas .img-cart-1 {
    border-radius: 8px;
}

div#cartOffcanvas,
div#favOffcanvas {
    z-index: 99999;
    width: min(420px, 95vw);
}

@media (max-width: 920px) {

    div#cartOffcanvas,
    div#favOffcanvas {
        width: 60%;
    }
}

/* Sticky footer inside offcanvas */
.cart-footer-sticky {
    margin-top: auto;
    padding: 10px 12px;
    border-top: 1px solid #eee;
    background: #fff;
}

#Cont-fav-notification {
    top: 65px;
    text-align: center;
    background-color: #00000000;
    z-index: 99999999999;
}

#fav-notification {
    vertical-align: middle;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 0px 20px 8px #00000025;
    display: inline-block;
}

.btn-add-fav {
    border: none;
    position: relative;
}

.flying-heart {
    position: absolute;
    font-size: 30px;
    pointer-events: none;
    opacity: 1;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    z-index: 9999;
}

.fade-out-left {
    animation: slideOutLeft 0.5s forwards ease-in-out;
}

.footer-icons a {
    color: white;
    font-size: 26px;
}

.list-unstyled a {
    color: white;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%);
    }
}

/******************* cart *******************/
#cartModal {
    z-index: 999999;
}

.fade-out-left {
    transition: all 0.4s ease;
    transform: translateX(-100%);
    opacity: 0;
}

.d-add-cart strong,
#cartTotal {
    font-weight: bold;
    color: brown !important;
}

#cartTotal {
    font-size: 18px;
}

.img-cart-1 {
    object-fit: cover;
    max-height: 70px;
    max-width: 70px;
}

/******************* checkout *******************/
.rounded .section-title {
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: .5rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
}

.parentTotalCh1 {
    color: #555;
}

.totalCh1 {
    color: #c92121;
}

.nextBB {
    padding: 5px 14px;
}

.d3 {
    display: none;
}

.is-invalid {
    border-color: #dc3545;
}

.form-control.otp-input {
    background-image: none !important;
    padding: 0 !important;
}

.stepper {
    display: flex;
    flex-direction: column;
    margin-bottom: 150px;
    align-items: center;
}

.step {
    width: 40px;
    height: 40px;
    background: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    transition: background 0.3s;
    z-index: 2;
}

.step.active {
    background: var(--color-p);
}

.line {
    width: 4px;
    height: 40px;
    background: #ccc;
    transition: background 0.3s;
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.line.active {
    background: var(--color-p);
}

.data-user-inter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.step-content {
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

/*************** invoice ********************/
.invoice-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #00000010;
    padding: 20px;
}

.invoice-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.product-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.product-item:last-child {
    border-bottom: none;
}

.pro-img-inv.product-img {
    border-radius: 5px;
    max-width: 70px;
    max-height: 70px;
    object-fit: cover;
}

.status {
    font-weight: bold;
}

.status.waiting {
    color: #ffa500;
}

.status.delivered {
    color: green;
}

.invoice h2 {
    font-weight: bold;
    color: var(--color-p);
}

/******************* details *******************/
.breadcrumb {
    background-color: transparent;
}

.product-section {
    padding-top: 60px;
}

.product-image {
    max-width: 100%;
    border-radius: 8px;
}

.product-details h1 {
    color: var(--color-p);
}

.discription-pro {
    font-size: 24px !important;
}

.btn-custom {
    border: none;
    background-color: var(--success-color);
    color: var(--light-gray);
}

.btn-custom:hover {
    background-color: var(--green-primary);

}

.specs-table td {
    font-weight: bold;
    color: var(--color-dark);
}

.specs-table th {
    color: var(--color-p);
}

.dImage {
    max-width: 400px;
    max-height: 400px;
}

.dImage img {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px 0px #00000026;
}

.dRow {
    justify-content: center;
    flex-direction: row-reverse;
}

.ddP {
    text-align: justify;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding: 0 10px;
    float: none;
}

/******************* footer *******************/
.style-footer {
    color: var(--color-p);
    margin-bottom: -20px;
}

footer {
    background: var(--color-s);
    position: relative;
    z-index: 9
}

.footer-icons i {
    font-size: 1.2rem;
    color: var(--color-light);
}

/************** store ********************/
.heroStore h1 {
    color: var(--color-dark);
}

.heroStore select,
.heroStore input {
    height: 48px;
}

.heroStore button {
    height: 48px;
}

/******************* contact ***************/
.contact-icon {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contact-icon .icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon span {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-icon:hover .icon-circle {
    color: white;
    background: var(--color-p);
    transform: scale(1.2) rotate(8deg);
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.7);
}

.contact-icon:hover {
    color: var(--color-p, #ff9800);
}

.contact-icon {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.6s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wave {
    transform: rotateX(180deg);
    width: 100%;
    color: var(--color-p);
    margin-top: -1px !important;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-p, #ff9800);
    color: white;
}

.accordion-button i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    transform: rotate(90deg);
}

.accordion-button::after {
    position: absolute;
    left: 20px;
}

.contact-card {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    display: block;
}

.contect-header-i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/******************* about ********************/
.about-hero {
    background: var(--color-p);
    position: relative;
}

.r-ser {
    justify-content: space-evenly;
}

.services {
    border-bottom: 4px solid var(--color-p) !important;
    background: white;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 1px 2px 10px 0px #0000001f;
    padding: 10px;
    transition: all 0.4s ease;
}

.services:hover {
    transform: scale(1.02) rotate(5deg);
    color: #ff9800;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.6);
    border-bottom: 4px solid #ff9800 !important;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-p, #007bff);
    transition: all 0.4s ease;
    display: inline-block;
}

.goals .service-icon {
    font-size: 2.5rem;
    color: var(--color-p, #ff9800);
    transition: transform 0.3s ease, color 0.3s ease;
}

.goals:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    color: #ff9800;
}

.goals {
    padding-top: 15px;
    border-radius: 10px;
    box-shadow: 1px 2px 10px 0px #0000001f;
    margin: 10px;
    background: white;
}

.img-rewiew {
    max-height: 70px;
    object-fit: cover;
    max-width: 70px;
    border-radius: 5px;
}

.list-group.list-group-flush li.list-group-item {
    display: flex;
    justify-content: space-between;
}

.process-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.process-overlay.show {
    display: flex;
}

.process-modal {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: min(520px, 92vw);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    animation: pop .28s ease;
}

@keyframes pop {
    from {
        transform: scale(.96);
        opacity: .6;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 20px rgba(40, 167, 69, .35);
    margin: 12px 0;

}

.overlayImg {
    display: flex;
    backdrop-filter: blur(2px);
    top: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000000b5;
    z-index: 99999999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.overlayImg.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.overlayImg img {
    max-width: 85%;
    border-radius: 20px;
    padding: 10px;
}

#img-D {
    cursor: pointer;
}

#close-d {
    position: absolute;
    top: 10px;
    left: 10px;
}

a .svg-inline--fa {
    font-size: 22px !important;
}

@media (min-width: 768px) {

    .sidebar2,
    .cont-group-3 {
        transform: none !important;
    }
}

@media (max-width: 767px) {
    body {
        flex-direction: column;
    }

    .body-d-page {
        flex-direction: column;
        direction: rtl;
    }

    h6,
    h5 {
        font-size: 18px;
    }

    .btn-primary {
        font-size: 16px;
    }

    #Cont-fav-notification {
        top: 45px;
        font-size: 16px;
    }

    .scroll-anim {
        transition: transform .6s ease;
        will-change: transform;
    }

    /* إخفاء الأول وهو طالع لفوق */
    .hide-up {
        transform: translateY(-200%);
    }

    /* إخفاء الثاني وهو نازل لتحت */
    .hide-down {
        transform: translateY(200%);
    }

    .boTo {
        width: 100%;
    }

    #saveSp2 {
        flex: 0 0 50px;
        display: block;
    }

    .sidebar2 .Group-1 a span {
        margin: 0 5px;
    }

    .sidebar2 {
        background: var(--color-p);
        padding: 5px 0;
        width: 100% !important;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
    }

    .sidebar2.null-side-2 {
        display: block !important;
    }

    .sidebar2 div {
        display: flex;
        width: auto;
    }

    .Group-1 {
        flex-direction: row-reverse;
    }

    .Group-2 {
        display: none !important;
    }

    .cont-group-3 {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        padding: 3px;
        background: var(--color-p);
        display: flex !important;
        justify-content: space-around;
    }

    .Group-3 {
        width: 100% !important;
        justify-content: space-evenly;
    }

    .sidebar2 a {
        flex-direction: column;
        font-size: 16px;
        padding: 0px;
        margin: 2px 3px;
    }

    .sidebar2 .Group-3 a {
        flex-direction: row !important;
        margin: 5px 3px;
    }

    .sidebar2 .Group-3 a span {
        margin: 0 0 0 15px;
        font-size: 16px;
    }

    .sidebar2 .logoT {
        flex-direction: row-reverse;
        padding: 3px !important;
        margin: 0 4px;
    }

    .sidebar2 a span {
        opacity: 1;
        font-size: 14px;
    }

    .icon-badge {
        box-shadow: -1px 2px 5px 0px #0000003d;
        top: -8px;
        right: -16px;
        background: #555;
    }

    .nullPro {
        display: none;
    }

    .nullPro-2 {
        display: block;
    }

    /*  hero  */
    .hero-section {
        height: 270px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-index-in {
        font-size: 16px;
        max-width: 290px !important;
    }

    button.btn.btn-primary {
        font-size: 16px;
        padding: 4px 10px;
    }

    .ticker-container {
        height: auto;
    }

    .ticker {
        padding: 0px 12px;
        font-size: 14px;
        line-height: 1;
    }

    .section-title {
        font-size: 26px;
    }

    .car-img {
        width: 80px;
        height: 80px;
    }

    /*  /////////  */
    .car-slider-container {
        padding: 10px 25px;
    }

    .text-muted {
        font-size: 18px;
    }

    .part-box .label {
        font-size: 13px;
    }

    .part-box {
        width: 70px;
        height: 80px;
    }

    .part-box .icon-box {
        font-size: 20px;
    }

    .scroll-btn {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }

    .offer-card-new {
        width: 300px;
    }

    /*  ///////////////  */


    .icon-index-c-1 {
        width: 40px;
        height: 40px;
        top: -15px;
    }

    .icon-index-c-1 svg {
        height: 18px;
    }

    .text-decoration-none.text-dark .feature-box h6 {
        font-size: 16px;
        margin: 5px 0;
        color: var(--color-dark);
    }

    /*   ////////////// */
    .main-cart {
        padding: 0 5px;
    }

    .d-cart {
        padding: 10px 5px;
    }

    .d-cart h6 {
        color: var(--color-dark)
    }

    .d-cart div {
        justify-content: space-around;
    }

    .d-cart button {
        border: none;
    }

    .add-span {
        display: none;
    }

    .CartBt svg {
        height: 24px;
    }

    .main-cart .badge {
        margin: 5px !important;
        font-size: 14px;
    }

    .fa-star {
        font-size: 18px;
    }

    /*    ///////////// */
    .features-section .icon-circle {
        width: 45px;
        height: 44px;
        top: -23px;
    }

    .style-footer {
        margin-bottom: -2px;
    }

    /* /////////////////   */
    .sidebar-container {
        width: 40%;
    }

    .sidebar-header {
        padding: 8px 20px;
    }

    .sidebar-content {
        font-size: 16px;
    }

    .category-header {
        padding: 10px 20px;
    }

    /*    /////////// */
    .d-add-cart span {
        font-size: 16px;
    }

    .d-add-cart .text-muted {
        font-size: 16px;
    }

    /*    *********************/
    .h1-header-page {
        padding-top: 0px;
    }



    .nav-style {
        position: absolute;
        top: -39px;
    }

}

@media (max-width: 320px) {
    .wave {
        margin-top: -4px !important;
    }
}

@media (max-width: 576px) {
    .sidebar2 .logoT img {
        width: 55px !important;
    }

    #mobileNav {
        display: block !important;
    }

    #action-side {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        z-index: 99993;
    }

    /* اخفي كل الجروبات الافتراضية */
    #action-side .Group-1,
    #action-side .Group-2 {
        display: none !important;
    }

    /* نسخة الموبايل */
    .mobile-sections,
    .mobile-logo,
    .mobile-pages {
        display: block !important;
    }

    .mobile-logo {
        flex: 1;
        text-align: center;
    }

    .mobile-sections {
        order: -1;
        /* يمين */
    }

    .mobile-pages {
        order: 1;
        /* يسار */
    }

    .mobile-btn {
        font-size: 20px;
        cursor: pointer;
        padding: 5px 10px;
    }

    .mobile-logo span {
        font-weight: bold;
        margin-right: 5px;
    }

    /* روابط القائمة */
    #mobileMenu a {
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        text-decoration: none;
    }

    #mobileMenu a:hover {
        color: #007bff;
    }

    /* شكل القائمة */
    #mobileMenu .cont-link-page-m {
        background: var(--color-s);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sidebar2 .logoT {
        justify-content: center;
    }

    /*    ///////////////  */
    .sidebar2 .Group-3 a {
        flex-direction: column !important;
        margin: 4px 0px 0 0;
    }

    .sidebar2 .Group-3 a span {
        margin: -9px 0 0 0;
        font-size: 14px;
    }

    .icon-badge {
        right: -6px;
        top: 0px;
    }

    .S-ord {
        display: flex !important;
    }

    .out-mob {
        display: none !important;
    }

    .sidebar2 {
        border: none;
        overflow: initial;
    }

    /*  ---------------  */
    .section-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    button.btn.btn-primary {
        font-size: 14px;
        padding: 4px 7px;
    }

    .hero-index-in {
        font-size: 16px;
        max-width: 70% !important;
    }

    .hero-content {
        padding: 10px;
    }

    .form-control {
        padding: 3px 10px;
        font-size: 16px;
    }

    .car-slider-container {
        padding: 2px 0px;
    }

    .car-item {
        min-width: 60px;
        padding: 2px;
    }

    .car-img {
        width: 60px;
        height: 60px;
    }

    .part-box {
        padding: 1px;
        word-break: break-word;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .part-box .icon-box {
        margin-bottom: 0px;
    }

    .icon-box .svg-inline--fa {
        height: 18px;
    }

    .part-box {
        width: 54px;
        height: 72px;
    }

    .scroll-btn.prev {
        left: -12px;
    }

    .scroll-btn.next {
        right: -12px;
    }

    .scroll-btn {
        font-size: 20px;
        width: 10px;
        height: 28px;
    }

    .text-muted {
        font-size: 16px;
    }

    .sidebar-container {
        width: 50%;
    }

    .icon-index-c-1 {
        width: 25px;
        height: 25px;
        top: -15px;
    }

    .icon-index-c-1 svg {
        height: 14px;
    }

    .text-decoration-none.text-dark .feature-box h6 {
        font-size: 14px;
        margin: 5px 0;
        color: var(--color-dark);
    }

    .offer-card-new {
        width: 250px;
    }

    /* شيل كلمة "أضف للسلة" في الموبايل */
    .CartBt span {
        display: none;
    }

    h5,
    .d-cart h6 {
        margin-bottom: 5px;
        font-size: 16px;
    }

    .btn-add-fav,
    .CartBt {
        font-size: 0;
        padding: 4px 8px;
    }

    .cont-FA-offer .btn-add-fav svg,
    .cont-FA-offer .CartBt svg {
        height: 15px !important;
    }

    .storeBT svg {
        height: 20px;
    }

    .btn-add-fav svg,
    .CartBt svg {
        height: 20px;
    }

    .mb-xs-1 {
        margin-bottom: .25rem !important;
        /* نفس قيمة mb-1 */
    }

    .cont-Feat-box {
        margin-top: 10px;
        padding: 6px;
    }

    .rounded-4.feature-box {
        padding: 5px !important;
    }

    .cont-Feat-box svg {
        height: 20px;
    }

    .features-section .icon-circle {
        width: 35px;
        height: 35px;
        top: -20px;
    }

    .nav-style {
        top: -25px;
    }

    #Cont-fav-notification {
        top: 70px;
        font-size: 14px;
    }

    #Cont-fav-notification svg {
        height: 16px;
    }

    .category-header {
        padding: 7px 8px;
        font-weight: normal;
    }

    .category-header span {
        font-size: 14px;
    }

    .category-items a {
        font-size: 14px;
        padding: 5px 13px;
    }

    .modal-body-cart {
        padding: 1px !important;
    }

    .col-12.cart-item.border-bottom.py-2.m-0.mt-1.bg-white {
        padding: 5px 0;
    }

    .badge.bg-secondary.rounded-circle {
        display: none;
    }

    .modal-title {
        font-size: 18px;
        font-weight: bold;
    }

    .img-cart-1,
    .img-rewiew {
        max-height: 60px;
        max-width: 60px;
    }

    .text-dele {
        display: none;
    }

    #cartModal .btn-remove-cart {
        border: none;
        padding: 0;
    }

    #cartModal .text-start {
        text-align: center !important;
    }

    .h1-header-page {
        /*        padding-top: 75px;*/
        text-align: center;
    }

    button.accordion-button.collapsed {
        text-align: right;
        padding-left: 50px;
        padding-right: 0px;
    }

    .services,
    .goals {
        margin: 10px 0px;
    }

    .sec-2-about,
    .sec-3-about {
        padding: 0 15px;
    }

    #step-1,
    #step-2,
    #step-3,
    #step-4 {
        padding: 10px 5px !important;
    }

    .stepper {
        padding: 0 5px;
    }

    .step {
        width: 25px;
        height: 25px;
    }

    #logoutBtn {
        display: block !important;
    }

    .CartBt-d {
        font-size: small;
    }

    .label-ord-s {
        font-size: 18px;
    }

    div#cartOffcanvas,
    div#favOffcanvas {
        width: min(400px, 75vw)
    }
}
