/* ==================================================
   GOOGLE FONTS
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Changa:wght@200..800&display=swap');

*,
body {
    font-family: "Changa", sans-serif;
}

/* ==================================================
   ROOT VARIABLES
================================================== */
:root {
    --main-color: #ad8163;
    --second-color: #000;
    --third-color: #fff;
    --hover-color: #25c3f1;
    --logo: url(https://cdn.files.salla.network/theme/627996177/8e6fb824-ce52-4a64-955a-f5e60e247f62.webp);
}

/* ==================================================
   GENERAL STYLES
================================================== */
body {
    background: #FFF;
}

.main-menu li {
    color: var(--main-color);
}

.s-block {
    margin-top: unset;
}

.s-block:not(:first-of-type) {
    margin-top: 50px !important;
}

/* ==================================================
   HEADER & NAVBAR
================================================== */
@media (min-width: 1024px) {
    .top-navbar {
        background: var(--main-color);
        color: var(--third-color);
    }
}

.topnav-is-dark .top-navbar,
.store-footer h3 {
    background-color: var(--main-color) !important;
}

.navbar-brand img {
    max-height: 5rem !important;
    width: 400px;
    object-fit: cover;
}

@media only screen and (min-width: 1024px) {
    .main-menu li > a {
        padding-left: .55rem !important;
        padding-right: .55rem;
    }
}

/* ==================================================
   TYPOGRAPHY & COLORS
================================================== */
.s-product-card-content-title a,
.s-product-card-price,
.s-search-icon svg,
.s-slider-block__title h2,
.store-footer a,
.store-footer p,
i.header-btn__icon.icon.sicon-shopping-bag,
i.header-btn__icon.sicon-user-circle {
    color: var(--main-color);
}

.s-block__title h2,
.s-slider-block__title-right h2 {
    color: var(--main-color);
    text-align: center;
}

.s-product-card-content {
    color: #000;
}

.s-product-card-content a {
    color: var(--main-color);
    text-align: center;
}

.product__description *,
.main-content h1,
.main-content,
.form-label,
.s-breadcrumb-item,
.content--single-page,
.s-cart-summary-total,
.s-block--features__item h2,
.s-block--features__item p
{
    color: var(--main-color) !important;
}

/* ==================================================
   SECTION TITLES
================================================== */
.s-slider-block__title-left {
    display: none;
}

.s-slider-block__title h2:where([dir=rtl], [dir=rtl] *) {
    padding-left: 0 !important;
}

.s-slider-block__title-right h2::after,
.s-block__title h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 12px;
    margin: 8px auto 0;
    background-image: url('https://cdn.files.salla.network/homepage/627996177/4a491cc8-6fd6-43c1-994e-5e41b3cc2f48.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
/* ==================================================
   PRODUCT CARDS
================================================== */
.s-product-card-vertical {
    transition: .3s ease-out;
}

.s-product-card-content-sub {
    justify-content: center;
    color: var(--hover-color);
}

.s-product-card-content-sub:hover,
.s-product-card-content-title a:hover,
.s-products-slider-card:hover {
    color: var(--hover-color);
}

.s-product-card-image img {
    max-width: 100%;
}

.s-product-card-entry:hover,
.s-block--features__item:hover {
    cursor: pointer;
}

.s-product-card-vertical .s-product-card-wishlist-btn button {
    background-color: var(--hover-color) !important;
}

/* ==================================================
   BUTTONS
================================================== */
.s-button-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    outline: 0;
    font-weight: 700;
    transition: .3s ease-in-out;
}

.s-button-btn:hover {
    background-color: var(--main-color);
    color: #fff;
}

.s-button-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 100%;
    opacity: .6;
    background-image: linear-gradient(
        120deg,
        #fff0 30%,
        #fffc,
        #fff0 70%
    );
}

.s-button-btn:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.s-button-element:not(:disabled):not([loading]) {
    pointer-events: auto;
    border-color: var(--main-color);
    color: var(--main-color);
}

.s-button-element:not(:disabled):not([loading]):hover {
    border-color: var(--main-color);
    color: #fff;
    background-color: var(--main-color);
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background: var(--third-color);
    color: var(--main-color);
}

button.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    color: var(--third-color);
}

/* ==================================================
   FEATURES SECTION
================================================== */
section.s-block.s-block--features.container {
    text-align: center;
}

section.s-block.s-block--features.container::before {
    content: "مميزات المتجر";
    color: var(--main-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 2px;
}

.s-block--features__item {
    border: 1px solid var(--main-color);
    margin-top: 20px;
    box-shadow: 0 10px 17px #000f,
                10px 10px #00000038;
}

.s-block--features__item .feature-icon i {
    color: var(--third-color);
}

/* ==================================================
   FOOTER
================================================== */
.footer-is-light .store-footer .store-footer__inner,
.store-footer .contact-social ul {
    text-align: center !important;
    justify-content: center !important;
}

.store-footer h3 {
    color: var(--third-color) !important;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    padding-top: .3rem;
    padding-bottom: .3rem;
    box-shadow: #0000001a 0 4px 12px;
}

.store-footer .store-footer__inner::before {
    content: "";
    display: block;
    width: 140px;
    height: 110px;
    margin: auto auto 20px;
    text-align: center;
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: sigal 1.2s linear infinite;
}

.store-footer__inner {
    background-color: var(--third-color) !important;
    border-radius: 20px !important;
    border-top: 1px solid var(--main-color);
}

.store-footer__inner ul,
.s-social-list {
    justify-content: center;
}

.store-footer h3,
.s-menu-footer-list {
    text-align: center;
}

.store-footer a .rtl\:ml-2\.5 {
    background: var(--second-color);
}

.copyright-text > a {
    color: var(--third-color);
}

/* ==================================================
   ICONS & SHADOWS
================================================== */
.header-btn__icon,
.s-slider-nav-arrow,
.store-footer a .rtl\:ml-2\.5 {
    box-shadow: #0000003d 0 3px 8px;
}

.s-user-menu-login-btn path {
    outline: 1px dashed var(--main-color) !important;
    fill: var(--main-color) !important;
}

/* ==================================================
   SLIDER
================================================== */
@media (min-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        width: 100% !important;
    }
}

.home-slider:not(.photos-slider) .swiper-slide:not(.photos-slider)::before {
    background: transparent !important;
}

/* ==================================================
   LAYOUT & CONTAINERS
================================================== */
.s-block:first-of-type .container {
    max-width: 100% !important;
}

.md\:flex.items-center.justify-between.py-4.container.text-center {
    max-width: 100% !important;
    justify-content: center;
    background: var(--main-color);
}

span.text-sm.copyright-text {
    margin: 0 10px;
}

p.text-gray-400.mb-2\.5.md\:mb-0,
p.text-gray-400.mb-2\.5.md\:mb-0 a {
    color: #FFF;
}

.s-contacts-list {
    align-items: center;
}

/* ==================================================
   CUSTOM GRID
================================================== */
@media (min-width: 520px) {
    .container.grid.grid-col-1.lg\:grid-cols-6.gap-8.lg\:gap-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    salla-slider.photos-slider .swiper:where([dir=rtl], [dir=rtl] *) {
        padding-left: 0 !important;
    }

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

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper:where([dir=rtl], [dir=rtl] *) {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 640px) {
    .sm\:gap-8 {
        gap: 0rem;
    }
}

/* ==================================================
   PERFORMANCE
================================================== */
.lazy-container {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

body.loading *:not(.loader) {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ==================================================
   ANIMATIONS
================================================== */
@keyframes fade-in {
    0%,
    75% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(.1);
    }
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60%,
    100% {
        left: 100%;
    }
}

@keyframes sigal {
    0% {
        filter: drop-shadow(2px 4px 6px #504d46);
    }

    100% {
        filter: none;
    }
}

.s-block--features__item {
    box-shadow: unset;
}