/* الخلفية العامة */
body {
    background: rgba(243, 244, 246, var(--tw-bg-opacity));
}

@media (min-width: 768px) {
    .two-row .banner-entry:first-child {
        height: 200px;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* إخفاء عنصر معين في الجوال */
@media screen and (max-width: 768px) {
    .line-clamp-2 {
        display: none;
    }
}

/* تنسيق المحاذاة */
.flex-center {
    display: flex;
    align-items: end;
    justify-content: unset;
}

.pb-16 {
    padding-bottom: 3rem;
}

/* ضبط الهيدر */
.top-navbar {
    display: flex;
    height: 47px;
    padding: 0.5rem 0;
}

/* إزالة الظل من الناف */
.main-nav-container {
    box-shadow: none !important;
}

/* تحسين عرض البنرات */
.banner-entry>div {
    background-size: contain !important;
    background-repeat: no-repeat;
}

/* تحسين أزرار السحب */
.s-slider-nav-arrow {
    border-color: #2f3a5a !important;
    background-color: #2f3a5a !important;
}

.s-slider-nav-arrow svg,
.s-slider-nav-arrow:not(:disabled):hover svg {
    fill: #ffffff !important;
}

/* ضبط المسافات */
.py-8 {
    padding-top: 0rem;
    padding-bottom: 2rem;
}

/* تحسين مظهر أسعار المنتجات */
.s-product-card-price {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #7b5050;
}

/* تحسين شريط البحث */
.s-search-input {
    width: 99%;
}

/* تحسين البنرات */
@media (max-width: 768px) {
.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

/* تحسين ألوان الهيدر والتبويبات */
.s-block--tabs-produtcs .tab-trigger.is-active button {
    background-color: #441752;
    color: #ffffff;
}


@font-face {
    font-family: 'Careem';
    src: url('https://raw.githubusercontent.com/amr099/Fonts/master/CAREEM-REGULAR.DB5F2BCA26992ED25A89.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #111111 !important
}

body {
    font-family: 'Careem', sans-serif;
}

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 80px;
}

.navbar-brand img {
    max-height: 6rem;
    max-width: 100px;
    width: auto;
}

/* Carousel */

.s-block--photos-slider {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}

.s-block--photos-slider * {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.s-block--photos-slider .swiper-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Footer */



@media (min-width: 1024px) {
    footer .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}



/* Social Icons */

a[href*="instagram"] {
    background: -o-linear-gradient(45deg,
            #f09433 0,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    background: linear-gradient(45deg,
            #f09433 0,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    color: #fff
}

a[href*="tiktok"] {
    background: -o-linear-gradient(330deg, #69c9d0, #000, #ee1d52);
    background: linear-gradient(120deg, #69c9d0, #000, #ee1d52);
    color: #fff
}

a[href*="facebook"] {
    background: -o-linear-gradient(45deg, #3776f2, #00b1f7);
    background: linear-gradient(45deg, #3776f2, #00b1f7);
}

a[href*="twitter"] {
    background: #000;
}

a[href*="youtube"] {
    background-color: #c4302b;
}

a[href*="snapchat"] {
    background-color: #ff0;
    color: #000;
}

a[href*="twitter"],
a[href*="snapchat"],
a[href*="facebook"],
a[href*="tiktok"],
a[href*="instagram"] {
    border: unset !important;
}

@media (max-width: 769px) {
    footer * {
        margin: 0 auto;
        text-align: center;
    }
}

/* Loading Screen */

.index:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff url(https://cdn.salla.sa/form-builder/BAdGdyoLJ4JJpInCeVPIANoEoRIQZmkbJxB4YMkr.png);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9 !important;
    background-size: 250px !important;
    background-repeat: no-repeat;
    background-position: center !important;
    animation-name: logobg;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

@keyframes logobg {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Special Heading */

.s-slider-block__title h2,
.s-block__title h2 {
    font-size: 48px !important;
    position: relative;
    color: var(--color-primary) !important;
}

.s-slider-block__title h2:before,
.s-block__title h2:before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    background-color: #d9d9d9;
    transform: translate(20px, 30px);
    position: absolute;
    z-index: -1;
}

@media (max-width: 1024px) {

    .s-slider-block__title h2,
    .s-block__title h2 {
        font-size: 28px !important;
    }

    .s-slider-block__title h2:before,
    .s-block__title h2:before {
        height: 20px;
        transform: translate(10px, 20px);
    }
}