body {
    background-color: #fff;
}

h2 {
    font-weight: 700;
}

.card-title {
    font-weight: 700;
}

.card-text {
    font-size: 0.95rem;
}

.row {
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.actHart {
    color: brown !important;
}

/************** index ****************/
.nullPro{
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0px 3px 1px #00000047;
    color: #555;
}
/************** list ****************/
.list {
    color: brown !important;
    display: flex;
    cursor: pointer;
    z-index: 99;
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #ffc107;
    padding: 15px 7px;
    border-radius: 5px;
    box-shadow: 0px 1px 8px 1px #59595966;
}

.iconList {
    font-size: 24px;
    color: #333;
}

.MainTitle {
    margin: 0 10px;
    box-shadow: 0px 2px 4px 1px #00000038;
    padding: 8px;
    border-radius: 5px;
    color: #333;
    background-color: #ffc107;
}

.MainTitle .title {
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
}

.CountD {
    margin-top: 30px;
}

.Dproducts {
    margin: 10px;
    border-bottom: 1px solid #0000002b;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.Dproducts p {
    margin: 0 !important;
}

.delete {
    cursor: pointer;
    font-weight: bold;
    padding: 0px 10px;
    border-radius: 5px;
    background-color: #ff000091;
    color: #333;
    box-shadow: 0px 1px 4px 1px #00000045;
}

.Qunt {
    position: absolute;
    z-index: 9999;
    right: -7px;
    top: -9px;
    background-color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0px 1px 3px 1px #000000ad;
}

/************** side Bar ****************/
#back {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #000000cc;
    display: none;
}

/************** side Bar ****************/
.sideBar {
    z-index: 9999;
    background-color: #e7e7e7;
    position: fixed;
    height: 100vh;
    /*    overflow-y: auto;*/
    top: 0;
    right: -100%;
    transition: right 0.4s ease-in-out;
    box-shadow: -1px 0 8px 3px #000000bf;
}

.sideBar.active {
    right: 0;
}

.close {
    cursor: pointer;
    position: absolute;
    left: -50px;
    z-index: 9999;
    border: wheat;
    color: #333;
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #ffc107;
    box-shadow: 0 1px 4px 1px #0000006b;
}

.title.tt2 {
    padding: 20px;
    text-align: center;
    font-size: 18px;
}

/************** nav bar ****************/
.navbar {
    z-index: 99999 !important;
}

.navbar > .container {
    flex-direction: row-reverse;
}

.navbar-brand img {
    height: 40px;
}

ul.navbar-nav.ms-auto {
    margin: 0px !important;
}

a.nav-link {
    padding: 5px 10px;
}

.navbar-nav .nav-link.active {
    color: #ff9c07 !important;
    border-bottom: 2px solid #fcda74;
}

.navbar-nav .nav-link {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #fcda74;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: #f3a416 !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/************** hero ****************/
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    position: relative;
    overflow: visible;
    text-align: center;
    padding-top: 200px;
    flex-direction: column;
}

.back {
    z-index: 9;
    background-color: rgb(37 37 37 / 87%) !important;
}

.Cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.contImgTable {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: -40vmin;
    z-index: 99;
    justify-content: center;
}

.imgTable {
    width: 80vmin;
    /* متجاوب: 30% من أصغر أبعاد الشاشة */
    height: 80vmin;

}

.imgTable img,
.Cover img {
    width: 100%;
    height: 100%;
}

.imgTable img {
    object-fit: contain;
}

.heroContainer {
    color: white;
    z-index: 99;
}

.heroContainer h1 {
    color: rgb(255 193 7) !important;
    z-index: 99;
}

.heroContainer a.btn.btn-dark.mt-3 {
    border: 1px solid #4d4d4d;
    background: #00000033;
}

/********** Food Categories index ************/
.scrollCategories .card {
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    min-width: 200px;
    height: 200px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 1px 8px 0px #00000085 !important;
    transition: 0.3s ease;
}

.scrollCategories .card:hover {
    transform: translateY(-10px);
}

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

.scrollCategories {
    padding: 10px;
    scroll-behavior: smooth;
}

.scrollCategories::-webkit-scrollbar {
    height: 8px;
}

.scrollCategories::-webkit-scrollbar-thumb {
    background-color: #f9e15d;
    border-radius: 10px;
}

.nameCategories {
    padding: 7px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, rgb(0 0 0 / 97%), rgb(0 0 0 / 34%));
    color: #ffc107;
}

/************ product index ******************/
.special-card .card {
    transition: transform 0.3s ease;
}

.special-card.active .card {
    transform: scale(1.05);
    z-index: 2;
}

.img-wrapper {
    height: 220px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-wrapper span {
    color: #333;
    cursor: pointer;
    padding: 7px 10px;
    margin: 5px;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px #000000a6;
}

.hart {
    left: 0;
}

/************ more product ******************/
/*---------------------------------------------------*/
.link9 {
    margin-top: 40px;
    font-weight: bold;
    box-shadow: 0px 1px 2px 0px #59595966;
    height: 50px;
    align-items: center;
    color: #000;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
}

.mask {
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    padding: 0;
    height: 25px;
    overflow: hidden;
}

.link-container {
    transition: transform 0.4s ease;
}

.title {
    display: block;
    font-size: 20px;
    line-height: 20px;
    transition: transform 0.4s ease;
}

.link-title1 {
    transform-origin: right center;
}

.link-title2 {
    transform-origin: left center;
    transform: rotate(20deg);
}

.link-icon {
    position: relative;
    width: 35px;
    height: 35px;
    background: #f8f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    overflow: hidden;
}

.icon {
    display: block;
    position: absolute;
    transition: transform 0.4s ease;
}

.icon:nth-child(2) {
    transform: translate(40px);
}


.link9:hover .link-container {
    transform: translateY(-20px);
}

.link9:hover .link-title1 {
    transform: rotate(20deg);
    color: red;
}

.link9:hover .link-title2 {
    transform: rotate(0);
    color: red;
}

.link9:hover .icon:first-child {
    transform: translate(-40px);
    color: red;
}

.link9:hover .icon:nth-child(2) {
    transform: translate(0px);
    color: red;
}

/************ about index ******************/
.stat-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 0 4px 1px rgb(0 0 0 / 53%);
}

/**************** gallery index ******************/
.gallery-img-wrapper {
    cursor: pointer;
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gallery-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ContImgGalary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000cc;
    /* خلفية شفافة */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-img-wrapper:hover .ContImgGalary {
    opacity: 1;
}

.titleImgGalary {
    color: #ffc107;
    font-size: 1.2rem;
    text-align: center;
}

/************ footer *******************/
.footer {
    margin-top: 50px;
    background-color: #212529;
    padding: 20px;
    text-align: center;
    color: #aaa;
    box-shadow: 0px -2px 4px 1px #00000082;
}

.footer .section-title {
    color: #ffc107;
}

.footer .section {
    text-align: -webkit-center;
    padding: 20px;
}

.footer h2 {
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 10px;
}

.IconFooter {
    cursor: pointer;
    font-size: 30px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
}

.IconFooter a {
    color: #ffc107;
}

.FCreat {
    background-color: #111;
    color: #a1a1a1 !important;
    display: flex;
    padding: 20px 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

.FCreat p {
    margin-bottom: 0 !important;
    color: #ffc107 !important;
}

.FIcon {
    font-size: 26px;
    display: flex;
    justify-content: space-between;
}

.FIcon a {
    color: #ffc107 !important;
    margin: 0 10px;
}

/************ menu *******************/
/************ categories *******************/
.menuSection {
    margin: 0 !important;
    padding: 0 !important;
}

.menuSection .special-card {
    margin: 0;
    padding: 10px;
}

.menuSection:first-of-type {
    margin-top: 150px !important;
}

.menuSection h2 {
    margin-top: 50px;
    margin-bottom: 0px !important;
}

.menu-categories {
    width: 100%;
    position: fixed;
    z-index: 999;
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    left: 0;
}

.category-links {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    padding: 0 1rem;
    flex-direction: row-reverse;
}

.category-links a {
    padding: 8px 16px;
    background-color: #e9ecef;
    color: #111;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.category-links a:hover {
    background-color: #ffc107;
    color: #000;
}

.category-links {
    padding: 10px;
    scroll-behavior: smooth;
}

.category-links::-webkit-scrollbar {
    height: 8px;
}

.category-links::-webkit-scrollbar-thumb {
    background-color: #f9e15d;
    border-radius: 10px;
}

.category-links a.act {
    background-color: #f9e15d;
}

/******** sections menu ***************/


/************ media *******************/
@media (min-width: 576px) {
    .container, .container-sm {
/*         max-width: 100%; */
    }
}
@media (max-width: 480px) {

    * {
        font-size: 16px;
    }

    /************ index ******************/
    /************ nav ******************/
    .navbar-toggler {
        font-size: 18px;
    }

    .navbar-brand img {
        height: 30px;
    }

    .list {
        bottom: 80px;
        right: 20px;
    }

    .iconList {
        font-size: 16px;
    }

    /************ hero index ******************/
    .hero {
        justify-content: center;
    }

    /************ sections index ******************/
    .scrollCategories .card {
        width: 130px;
        min-width: 130px;
        height: 130px;
    }

    .title {
        font-size: 16px;
    }

    .link-icon {
        width: 20px;
        height: 20px;
    }

    /************ product index ******************/
    .card-title {
        font-size: 16px;
    }

    .card-text {
        font-size: 14px;
    }

    .img-wrapper {
        height: 135px;
    }

    .col-6.col-md-4.special-card.aos-init.aos-animate {
        padding: 5px;
    }

    .img-wrapper span {
        padding: 3px;
        margin: 2px !important;
        font-size: 14px;
        border-radius: 5px;
    }

    .special-card.active .card {
        transform: scale(1.04);
    }

    /************ footer ******************/
    .FCreat {
        flex-direction: column;
    }

    .FCreat {
        font-size: 14px;
        padding: 16px;
    }

    .FIcon {
        font-size: 18px;
    }

    .ii {
        font-size: 20px;
    }

    /************ menu ******************/
    .menu-categories {
        padding: 5px 0;
    }

    .category-links a {
        padding: 5px 10px;
    }

    .category-links {
        padding: 5px;
    }

    /************ menu ******************/
    .MainTitle .title {
        padding: 2px;
        font-size: 16px;
    }

    .close {
        left: -45px;
        font-size: 16px;
    }

    .Dproducts * {
        font-size: 14px;
    }

    .title.tt2 {
        padding: 15px 5px;
        font-size: 14px;
    }
}
