:root {
  --primary: #ff8326;
  --primary-dark: #e6731f;
  --primary-light: #fff0e0;
  --primary-gradient: linear-gradient(135deg, #ff8326, #e6731f);
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border-light: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(255,131,38,0.15);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

body {
      background: #f8f9fa;
      font-family: 'Cairo', sans-serif;
      text-align: right;
      color: #212529;
    }
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top:not(.modern-nav) {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 10px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
/* === Modern Nav Base === */
.modern-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    height: 72px;
    padding: 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.modern-nav.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

/* Nav container padding */
.modern-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 12px 0 16px;
    width: 100%;
    flex: 1;
}
.modern-nav .nav-center {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* Logo */
.modern-nav .nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 4px 0;
}
.modern-nav .nav-logo img {
    width: 52px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.modern-nav .nav-logo:hover img {
    transform: scale(1.05);
}

/* Toggler */
.modern-nav .navbar-toggler {
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--primary-light, #fff0e0);
    color: var(--primary, #ff8326);
    font-size: 1.2rem;
    transition: background 0.2s;
}
.modern-nav .navbar-toggler:hover {
    background: var(--primary, #ff8326);
    color: #fff;
}
.modern-nav .navbar-toggler:focus {
    box-shadow: none;
}

/* Nav links container */
.modern-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

/* Nav link base */
.modern-nav .navbar-nav .nav-link {
    position: relative;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.modern-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--primary, #ff8326);
    border-radius: 2px;
    transition: transform 0.3s ease;
}
.modern-nav .navbar-nav .nav-link:hover {
    color: var(--primary, #ff8326);
    background: rgba(255, 131, 38, 0.08);
}
.modern-nav .navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.modern-nav .navbar-nav .nav-link.active {
    color: var(--primary, #ff8326);
    background: rgba(255, 131, 38, 0.1);
}
.modern-nav .navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* === Right actions (search, cart, profile) === */
.modern-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Search button */
.modern-nav .btn-search-modern {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: var(--primary-light, #fff0e0);
    color: var(--primary, #ff8326);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    cursor: pointer;
}
.modern-nav .btn-search-modern:hover {
    background: var(--primary, #ff8326);
    color: #fff;
    transform: scale(1.05);
}

/* Cart icon */
.modern-nav .nav-cart {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.modern-nav .nav-cart:hover {
    background: rgba(255, 131, 38, 0.1);
    color: var(--primary, #ff8326);
}
.modern-nav .nav-cart i {
    font-size: 1.15rem;
}
.modern-nav .nav-cart .cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary, #ff8326);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(255, 131, 38, 0.35);
    border: 2px solid #fff;
}

/* Profile / Login button */
.modern-nav .nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    background: var(--primary-gradient, linear-gradient(135deg, #ff8326, #e6731f));
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.2s;
}
.modern-nav .nav-profile-btn:hover {
    box-shadow: 0 4px 16px rgba(255, 131, 38, 0.4);
    transform: translateY(-1px);
    color: #fff;
}
.modern-nav .nav-profile-btn i {
    font-size: 0.9rem;
}

/* Profile dropdown */
.modern-nav .nav-profile-dropdown {
    position: relative;
}
.modern-nav .nav-profile-dropdown .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 180px;
    margin-top: 8px;
    animation: dropdownFade 0.25s ease;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
}
.modern-nav .nav-profile-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    transition: background 0.2s, color 0.2s;
}
.modern-nav .nav-profile-dropdown .dropdown-item:hover {
    background: rgba(255, 131, 38, 0.1);
    color: var(--primary, #ff8326);
}
.modern-nav .nav-profile-dropdown .dropdown-item.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Desktop: show collapse, center nav links */
@media (min-width: 1200px) {
    .modern-nav .navbar-collapse {
        display: flex !important;
        justify-content: center;
        flex: 1;
    }
}

/* Mobile: collapse hidden by default, fixed overlay when shown */
@media (max-width: 1199.98px) {
    .modern-nav {
        height: auto;
        min-height: 64px;
    }
    .modern-nav .nav-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 12px;
    }
    .modern-nav .nav-center {
        flex: 0;
    }
    .modern-nav .navbar-collapse.show,
    .modern-nav .navbar-collapse.collapsing {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
        padding: 12px 16px;
        z-index: 1040;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .modern-nav .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }
    .modern-nav .navbar-nav .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        border-radius: 12px;
    }
    .modern-nav .navbar-nav .nav-link::after {
        bottom: 2px;
    }
    .modern-nav .nav-actions {
        flex: 1;
        justify-content: flex-end;
    }
}

/*** Navbar End ***/

/* Search modal overlay fix */
#searchModal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 88px !important;
    }
}

@media (max-width: 991.98px) {
    .hero-header,
    .page-header {
        margin-top: 80px !important;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    width: 100%; /* يجعل الصورة تأخذ عرض العنصر الحاوي */
    height: auto; /* يحافظ على نسبة العرض إلى الارتفاع */
    object-fit: cover; /* يضمن ملاءمة الصورة داخل العنصر بدون تشويه */
    max-height: 200px; /* يمكنك تعديل هذا الارتفاع حسب الحاجة */
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    color: var(--bs-primary);
    margin-bottom: 0;
     letter-spacing: 1px;
    text-transform: uppercase;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.testimonial-item {
    padding: 15px; /* تحسين المسافة حول كل عنصر */
}

.bg-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px; /* تحديد الحد الأقصى لعرض الصورة */
    margin: 0 auto; /* مركز الصورة */
}
.testimonial-item img {
    width: 100%; /* تجعل الصورة تأخذ عرض العنصر الحاوي */
    height: auto; /* تحافظ على نسبة العرض إلى الارتفاع */
}


/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/

/* Description Section */
    .mydesc-section {
      margin-bottom: 3rem;
    }
    .mydesc-row {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      align-items: center;
      justify-content: space-between;
    }
    /* === About / 'من نحن' modern section === */
    .mydesc-section {
        padding: 48px 0;
        background: linear-gradient(180deg, rgba(255,248,240,0.6), rgba(255,255,255,0));
    }
    .mydesc-card {
        background: linear-gradient(180deg, #fff, #fff); /* subtle */
        border-radius: 18px;
        padding: 28px;
        box-shadow: 0 10px 30px rgba(18,24,38,0.06);
    }
    .mydesc-image-wrap {
        width: 320px;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(255,131,38,0.06);
        background: linear-gradient(135deg, rgba(255,131,38,0.06), rgba(255,131,38,0.02));
    }
    .mydesc-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        transform: translateZ(0);
        transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
    }
    .mydesc-image-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.06));
        pointer-events: none;
    }
    .mydesc-image-wrap:hover .mydesc-image { transform: scale(1.04); }
    .mydesc-text .mydesc-title {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 12px;
        color: var(--text-dark);
    }
    .mydesc-text p { color: #616f77; line-height: 1.8; margin-bottom: 10px; }
    .mydesc-text .mydesc-note { color: #8a99a1; font-size: 0.95rem; }

    @media (max-width: 768px) {
        .mydesc-card { padding: 18px; }
        .mydesc-image-wrap { width: 240px; }
        .mydesc-text .mydesc-title { font-size: 1.4rem; }
    }

    /* Extra modern refinements (adjusted to use Bootstrap grid) */
    .mydesc-card {
        /* keep card visual but let .row/.col handle layout */
        background: linear-gradient(180deg, #fff, #fff);
        border-radius: 18px;
        padding: 22px 20px;
        box-shadow: 0 10px 30px rgba(18,24,38,0.06);
        position: relative;
    }
    .mydesc-deco-blob {
        position: absolute;
        right: -60px;
        top: -40px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle at 30% 30%, rgba(255,131,38,0.12), rgba(255,131,38,0.04) 40%, transparent 60%);
        border-radius: 50%;
        filter: blur(18px);
        pointer-events: none;
    }
    .mydesc-features {
        display: flex;
        gap: 12px 18px;
        flex-wrap: wrap;
        margin-top: 14px;
    }
    .feature-item {
        display: flex;
        gap: 10px;
        align-items: center;
        min-width: 140px;
        flex: 1 1 auto;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: inline-grid;
        place-items: center;
        background: linear-gradient(135deg, rgba(255,131,38,0.12), rgba(255,131,38,0.06));
        color: var(--primary);
        font-weight: 700;
        flex-shrink: 0;
    }
    .feature-text { color: #45555c; font-weight: 600; font-size: 0.95rem; }
    .btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        color: #fff;
        border-radius: 12px;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 12px 36px rgba(230,115,31,0.18);
        transition: transform .22s ease, box-shadow .22s ease;
    }
    .btn-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(230,115,31,0.22); }

    /* Animations */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: translateY(0);} }
    .mydesc-text, .mydesc-image-wrap { animation: fadeUp .7s ease both; }
    .mydesc-text { animation-delay: .05s; }
    .mydesc-image-wrap { animation-delay: .12s; }

    /* Responsive adjustments */
    @media (max-width: 992px) {
        .mydesc-deco-blob { display: none; }
        .mydesc-image-wrap { margin-bottom: 8px; max-width: 280px; }
    }

    /* Ensure image doesn't overflow and stays visually balanced */
    .mydesc-image { max-height: 380px; width: 100%; object-fit: cover; }


    /* Description text container on right */
    .mydesc-text {
      flex: 1 1 50%;
      min-width: 280px;
    }
        .mydesc-text h2 {
            font-weight: 700;
            font-size: 2rem;
            margin-bottom: 1rem;
            position: relative;
            padding-bottom: 0.5rem;
            text-align: center; /* center the heading */
            width: 100%;
            margin-left: 0; /* reset if parent text-end */
        }
    /* horizontal line under heading */
        .mydesc-text h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            height: 4px;
            width: 60px;
            background-color: #ff8326;
            border-radius: 2px;
        }
    /* paragraph decorative lines on left side */
    .mydesc-text p {
      font-size: 1.125rem;
      line-height: 1.6;
      position: relative;
      padding-right: 1rem;
      margin-bottom: 1.25rem;
    }
    .mydesc-text p::before {
      content: "";
      position: absolute;
      top: 0.5rem;
      right: 0;
      height: 100%;
      width: 3px;
      background: #ff8326;
      border-radius: 2px;
    }
    /* Image container on left */
    .mydesc-image-container {
      position: relative;
      flex: 0 0 280px;
      max-width: 280px;
      min-width: 180px;
      aspect-ratio: 1 / 1;
    }
    .mydesc-color-block {
      position: absolute;
      top: 10px;
      left: 15px;
      width: 100%;
      height: 100%;
      background-color: #ff8326;
      border-radius: 1.5rem;
      z-index: 1;
    }
    .mydesc-image {
      position: relative;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 1.5rem;
      box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
      z-index: 2;
      display: block;

      /* Added vertical offset downward */
      top: 20px;
    }

    /* Adjust layout on small screens */
    @media (max-width: 767.98px) {
      .mydesc-row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
      }
      .mydesc-text {
        flex: 1 1 100%;
        padding: 0 0.5rem;
      }
      .mydesc-text p::before {
        display: none;
      }
      .mydesc-image-container {
        flex: 0 0 auto;
        max-width: 220px;
        width: 80vw;
        aspect-ratio: 1 /1;
        margin-bottom: 1.5rem;
      }
      .mydesc-image {
        top: 10px; /* reduce offset on small screens */
      }
    }
/* Description Section End*/

/*** myprod-carousel Start ***/
.myprod-carousel-item {
      padding: 1rem;
      background: white;
      border-radius: 0.5rem;
      box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
      overflow: hidden;
    }
    .myprod-card {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #fff;
      padding: 1rem;
      border-radius: 0.5rem;
      box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
      height: 150px;
    }
    .myprod-image {
      max-width: 100px;
      max-height: 100px;
      object-fit: cover;
      border-radius: 0.5rem;
      box-shadow: 0 2px 6px rgb(0 0 0 / 0.15);
      flex-shrink: 0;
    }
    .myprod-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: right;
      flex-grow: 1;
    }
    .myprod-name {
      font-weight: 700;
      font-size: 1.1rem;
      color: #212529;
      margin-bottom: 0.25rem;
    }
    .myprod-price {
      font-weight: 600;
      font-size: 1rem;
      color: #198754; /* Bootstrap's green */
    }
    .carousel-control-prev, .carousel-control-next {
      filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
      width: 3rem;
      height: 3rem;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
      background-size: 100%, 100%;
      filter: invert(1);
    }
   /*** myprod-carousel End ***/ 

/*** custom-stat-card start ***/
    .custom-stat-card {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  .custom-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }
  .custom-icon {
    font-variation-settings:
      'FILL' 1,
      'wght' 600,
      'GRAD' 0,
      'opsz' 48;
    font-size: 3rem;
    color: #0e0d0d;
  }
  .custom-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 6px;
    color: #ff8326;
  }
  .custom-stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff8326;
  }
  @media (max-width: 575.98px) {
    .custom-stat-card {
        margin-bottom: 20px;
    }
  }

/*** custom-stat-card End ***/



/****** promo Start ***/
        .promo-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            align-items: center;
        }

        .promo-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .promo-image {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
            margin-left: 15px;
        }

        .promo-details h4 {
            color: #000;
            font-weight: bold;
        }

        .promo-details p {
            color: #444;
            font-size: 0.95rem;
        }

        .carousel-inner {
            overflow: visible;
        }

        @media (max-width: 768px) {
            .promo-image {
                width: 80px;
                height: 80px;
            }
        }
/****** promo End ***/




/*** Footer Start ***/
.footer {
    position: relative;
    background: #ff8326;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    pointer-events: none;
}
.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
    pointer-events: none;
}
.footer .footer-divider {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer .footer-logo {
    width: 90px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 16px;
}
.footer .footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}
.footer .footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Alexandria', 'Cairo', sans-serif;
}
.footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
}
.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .footer-links li {
    margin-bottom: 10px;
}
.footer .footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer .footer-links a:hover {
    color: #fff;
    transform: translateX(-4px);
}
.footer .footer-links a i {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    transition: opacity 0.3s ease;
}
.footer .footer-links a:hover i {
    opacity: 1;
}
.footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}
.footer .footer-contact-item .contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.footer .footer-contact-item:hover .contact-icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: scale(1.05);
}
.footer .footer-contact-item .contact-text {
    margin: 0;
    line-height: 1.5;
}
.footer .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer .footer-social a:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.footer .footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.copyright {
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.12);
}
.copyright .copyright-text {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin: 0;
}
.copyright .copyright-text a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.copyright .copyright-text a:hover {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}
/*** Footer End ***/

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ff8326, #e6731f) !important;
    border: none !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255,131,38,0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255,131,38,0.4);
    color: #fff;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/*** Quantity Selector ***/
.qty-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    direction: ltr;
}
.qty-selector .qty-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #ff8326;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.15s;
    line-height: 1;
}
.qty-selector .qty-btn:hover {
    background: #e6731f;
}
.qty-selector .qty-input {
    width: 28px;
    height: 22px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #212529;
    padding: 0;
    background: #fff;
    -moz-appearance: textfield;
    outline: none;
}
.qty-selector .qty-input::-webkit-inner-spin-button,
.qty-selector .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-selector .qty-input:focus {
    border-color: #ff8326;
}
/*** Quantity Selector End ***/

/*** Order from Supplier Btn ***/
button[name="item_id"].btn-order-supplier {
    transition: all 0.3s ease !important;
    background-image: none !important;
}
button[name="item_id"].btn-order-supplier:hover,
button[name="item_id"].btn-order-supplier:active,
button[name="item_id"].btn-order-supplier:focus {
    background: #ff8326 !important;
    background-image: none !important;
    border-color: #ff8326 !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255,131,38,0.5) !important;
}

/*** Footer Responsive ***/
@media (max-width: 768px) {
    .footer .footer-logo { width: 72px; }
    .footer .footer-title { margin-top: 12px; }
    .footer .footer-social { justify-content: flex-start; }
    .back-to-top { width: 38px; height: 38px; bottom: 20px; right: 20px; font-size: 0.95rem; }
}

