/* =========================================
   الدرة كير — Purple Salla Theme
   Inspired by Midlife Clinic layout
   ========================================= */

:root {
  --purple-dark: #3B164C;
  --purple: #63247A;
  --purple-main: #762D91;
  --purple-light: #A66BB8;
  --lavender: #F2E8F6;
  --lavender-2: #E7D5ED;
  --white: #FFFFFF;
  --text: #29202D;
  --muted: #756B79;
  --border: #E8DDEA;
}


/* ==============================
   BODY
   ============================== */

{/* */
body {
    background-color: #E3D4F2 !important;
}

.s-block,
.home-block,
.store-home {
    background-color: transparent !important;
}}


/* ==============================
   HEADER
   ============================== */

header,
.s-block--header,
.store-header {
  background: #FFFFFF !important;
}

header a,
.s-block--header a {
  color: var(--purple-dark) !important;
  transition: 0.3s ease;
}

header a:hover,
.s-block--header a:hover {
  color: var(--purple-main) !important;
}


/* ==============================
   MAIN NAVIGATION
   ============================== */

.navbar,
.main-nav,
.s-menu {
  background: #FFFFFF !important;
}

.navbar a:hover,
.main-nav a:hover,
.s-menu a:hover {
  color: var(--purple-main) !important;
}


/* ==============================
   BUTTONS
   ============================== */

button,
.btn,
.s-button-element,
button[type="submit"] {
  background: var(--purple-main) !important;
  border-color: var(--purple-main) !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
}

button:hover,
.btn:hover,
.s-button-element:hover,
button[type="submit"]:hover {
  background: var(--purple-dark) !important;
  border-color: var(--purple-dark) !important;
  transform: translateY(-1px);
}


/* ==============================
   PRODUCT CARDS
   ============================== */

.s-product-card {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.s-product-card:hover {
  border-color: var(--purple-light) !important;
  box-shadow: 0 10px 30px rgba(99, 36, 122, 0.12) !important;
  transform: translateY(-4px);
}

.s-product-card-content {
  background: #FFFFFF !important;
}


/* ==============================
   PRODUCT TITLES
   ============================== */

.s-product-card h3,
.s-product-card .s-product-card-content h3,
.s-product-card a {
  color: var(--purple-dark) !important;
}

.s-product-card h3:hover {
  color: var(--purple-main) !important;
}


/* ==============================
   PRICES
   ============================== */

.s-product-card-price,
.price,
.s-product-card .price {
  color: var(--purple-main) !important;
  font-weight: 700 !important;
}

.s-product-card-sale-price {
  color: var(--purple-main) !important;
}

.s-product-card-old-price {
  color: #999 !important;
}


/* ==============================
   DISCOUNT BADGES
   ============================== */

.s-product-card-sale,
.s-product-card .badge,
.badge {
  background: var(--purple-main) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
}


/* ==============================
   SECTIONS
   ============================== */

.s-block {
  margin-bottom: 35px;
}

.s-block-title h2,
.s-block-title h3 {
  color: var(--purple-dark) !important;
  font-weight: 700 !important;
}

.s-block-title p {
  color: var(--muted) !important;
}


/* ==============================
   CATEGORY CARDS
   ============================== */

.s-category-card {
  background: var(--lavender) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: 0.3s ease !important;
}

.s-category-card:hover {
  background: var(--lavender-2) !important;
  transform: translateY(-3px);
}

.s-category-card h3,
.s-category-card a {
  color: var(--purple-dark) !important;
  font-weight: 600 !important;
}


/* ==============================
   BANNERS
   ============================== */

.s-block--banners {
  border-radius: 18px !important;
  overflow: hidden !important;
}

.s-block--banners img {
  transition: transform 0.5s ease;
}

.s-block--banners a:hover img {
  transform: scale(1.02);
}


/* ==============================
   BEFORE / AFTER
   ============================== */

.s-block--before-after {
  border-radius: 18px !important;
  overflow: hidden !important;
}


/* ==============================
   REVIEWS / TESTIMONIALS
   ============================== */

.s-block--testimonials,
.s-block--reviews {
  background: var(--lavender) !important;
  border-radius: 22px !important;
  padding: 30px 20px !important;
}

.s-block--testimonials .card,
.s-block--reviews .card {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
}

.s-block--testimonials h3,
.s-block--reviews h3 {
  color: var(--purple-dark) !important;
}

.s-block--testimonials p,
.s-block--reviews p {
  color: var(--muted) !important;
}


/* ==============================
   RATINGS / STARS
   ============================== */

.rating,
.s-rating-stars,
.fa-star {
  color: #8E4BA8 !important;
}


/* ==============================
   SEARCH
   ============================== */

input,
textarea,
select {
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--purple-main) !important;
  box-shadow: 0 0 0 3px rgba(118, 45, 145, 0.10) !important;
  outline: none !important;
}


/* ==============================
   CART
   ============================== */

.s-cart-summary,
.cart-summary {
  border-radius: 16px !important;
  border: 1px solid var(--border) !important;
}

.cart-total,
.s-cart-summary-total {
  color: var(--purple-main) !important;
  font-weight: 700 !important;
}/* =============================
/* Purple Scrollbar */

::-webkit-scrollbar {
  width: 8px !important;
}

::-webkit-scrollbar-track {
  background: #F8F2FA !important;
}

::-webkit-scrollbar-thumb {
  background: #762D91 !important;
  border-radius: 10px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #3B164C !important;
}*/
/* تغيير خلفية صفحات المتجر */
html,
body,
.app,
.app-layout,
.store-layout,
main {
    background-color: #E3D4F2 !important;
}

/* خلفية المحتوى الرئيسي */
main > div,
.store-home,
.home-page,
.s-block {
    background-color: #E3D4F2 !important;
}
/* 
html,
body {
    background: #E3D4F2 !important;
    background-color: #E3D4F2 !important;
}
/* ==============================
   شاشة تحميل المتجر
   ============================== */

#clinic-loading-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(227, 212, 242, 0.72);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

#clinic-loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* اللوجو */
#clinic-loading-screen .loading-logo {
    width: 145px;
    max-width: 45vw;
    height: auto;

    animation:
        logoEnter 1s ease forwards,
        logoPulse 2s ease-in-out 1s infinite;

    filter: drop-shadow(0 8px 20px rgba(80, 40, 110, 0.15));
}

@keyframes logoEnter {
    0% {
        opacity: 0;
        transform: scale(0.65);
    }

    70% {
        opacity: 1;
        transform: scale(1.05);
    }

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

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}
:root {
    --clinic-purple: #76518F;
    --clinic-purple-dark: #513467;
    --clinic-purple-light: #9672AD;
    --clinic-purple-soft: #B79AC7;
    --clinic-white: #FFFFFF;
}

/* ==============================
   FOOTER MAIN AREA
   ============================== */

footer,
.store-footer {
    position: relative !important;
    background: linear-gradient(
        135deg,
        var(--clinic-purple-dark) 0%,
        var(--clinic-purple) 55%,
        #68447F 100%
    ) !important;

    color: #fff !important;
    overflow: visible !important;
    margin-top: 90px !important;
}

/* ==============================
   WAVY TOP
   ============================== */

footer::before,
.store-footer::before {
    content: "" !important;

    position: absolute !important;
    top: -90px !important;
    left: -5% !important;

    width: 110% !important;
    height: 130px !important;

    background: linear-gradient(
        135deg,
        var(--clinic-purple-dark) 0%,
        var(--clinic-purple) 55%,
        #68447F 100%
    ) !important;

    border-radius: 50% 50% 0 0 / 70% 70% 0 0 !important;

    z-index: -1 !important;
}

/* موجة أكثر نعومة */
footer::after,
.store-footer::after {
    content: "" !important;

    position: absolute !important;
    top: -65px !important;
    left: -10% !important;

    width: 120% !important;
    height: 90px !important;

    background: var(--clinic-purple) !important;

    border-radius: 45% 55% 0 0 / 100% 100% 0 0 !important;

    opacity: .55 !important;

    z-index: -2 !important;
}

/* ==============================
   FOOTER TEXT
   ============================== */

footer *,
.store-footer * {
    color: #fff !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.store-footer h1,
.store-footer h2,
.store-footer h3,
.store-footer h4,
.store-footer h5,
.store-footer h6 {
    color: #fff !important;
    font-weight: 700 !important;
}

footer a,
.store-footer a {
    color: #fff !important;
    text-decoration: none !important;
    transition: .3s ease !important;
}

footer a:hover,
.store-footer a:hover {
    color: #E9DDF0 !important;
}

/* ==============================
   CONTACT / FOOTER CONTENT
   ============================== */

.store-footer__inner,
.store-footer__top,
.store-footer__middle {
    background: transparent !important;
}

/* ==============================
   FOOTER SOCIAL ICONS
   ============================== */

footer .social-links,
footer .social-icons,
.store-footer .social-links,
.store-footer .social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 14px !important;

    flex-wrap: wrap !important;
}

/* الدوائر */
footer .social-links a,
footer .social-icons a,
.store-footer .social-links a,
.store-footer .social-icons a {
    width: 52px !important;
    height: 52px !important;

    min-width: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #fff !important;
    border-radius: 50% !important;

    background: transparent !important;

    transition: all .3s ease !important;
}

/* Hover */
footer .social-links a:hover,
footer .social-icons a:hover,
.store-footer .social-links a:hover,
.store-footer .social-icons a:hover {
    background: #fff !important;

    color: var(--clinic-purple) !important;

    transform: translateY(-5px) !important;
}

footer svg,
.store-footer svg {
    color: #fff !important;
    fill: currentColor !important;
}

/* ==============================
   FOOTER DIVIDER
   ============================== */

footer hr,
.store-footer hr {
    border: 0 !important;

    border-top: 1px dashed rgba(255,255,255,.35) !important;

    margin: 35px 0 !important;
}

/* ==============================
   PAYMENT METHODS
   ============================== */

footer img,
.store-footer img {
    object-fit: contain !important;
}

/* ==============================
   IMPORTANT LINKS
   ============================== */

footer ul,
.store-footer ul {
    list-style: none !important;
    padding: 0 !important;
}

footer li,
.store-footer li {
    margin-bottom: 8px !important;
}

/* ==============================
   FLOATING SOCIAL BAR
   ============================== */

.clinic-floating-social {
    position: fixed !important;

    left: 0 !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 999999 !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 7px !important;

    padding: 10px 7px !important;

    background: #fff !important;

    border-radius: 0 16px 16px 0 !important;

    box-shadow: 0 5px 25px rgba(0,0,0,.15) !important;
}

.clinic-floating-social a {
    width: 43px !important;
    height: 43px !important;

    min-width: 43px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border: 2px solid var(--clinic-purple) !important;

    border-radius: 50% !important;

    background: #fff !important;

    color: var(--clinic-purple) !important;

    text-decoration: none !important;

    transition: all .3s ease !important;
}

.clinic-floating-social a:hover {
    background: var(--clinic-purple) !important;

    color: #fff !important;

    transform: translateX(5px) !important;
}

.clinic-floating-social svg {
    width: 21px !important;
    height: 21px !important;

    color: var(--clinic-purple) !important;

    fill: currentColor !important;
}

.clinic-floating-social a:hover svg {
    color: #fff !important;
}

/* ==============================
   PRODUCTS HORIZONTAL
   ============================== */

/* أحدث المنتجات */
.s-block--products-slider .swiper-wrapper {
    display: flex !important;

    flex-wrap: nowrap !important;

    gap: 16px !important;
}

/* إلغاء النزول الرأسي */
.s-block--products-slider .swiper-slide {
    flex: 0 0 250px !important;

    width: 250px !important;

    max-width: 250px !important;
}

/* لو القسم Grid */
.s-block--products .grid,
.s-block--products-slider .grid {
    display: flex !important;

    flex-wrap: nowrap !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    gap: 16px !important;

    scrollbar-width: none !important;

    -ms-overflow-style: none !important;
}

.s-block--products .grid::-webkit-scrollbar,
.s-block--products-slider .grid::-webkit-scrollbar {
    display: none !important;
}

.s-block--products .grid > *,
.s-block--products-slider .grid > * {
    flex: 0 0 250px !important;

    width: 250px !important;

    max-width: 250px !important;
}

/* كروت المنتجات */
.s-product-card {
    border-radius: 18px !important;

    overflow: hidden !important;

    transition: all .3s ease !important;
}

.s-product-card:hover {
    transform: translateY(-5px) !important;

    box-shadow:
        0 12px 30px rgba(118,81,143,.20) !important;
}

/* ==============================
   MOBILE
   ============================== */

@media (max-width: 768px) {

    footer,
    .store-footer {
        margin-top: 65px !important;
    }

    footer::before,
    .store-footer::before {
        top: -65px !important;

        height: 95px !important;
    }

    footer::after,
    .store-footer::after {
        top: -45px !important;

        height: 65px !important;
    }

    /* Floating icons */
    .clinic-floating-social {
        padding: 7px 5px !important;

        gap: 5px !important;

        border-radius: 0 13px 13px 0 !important;
    }

    .clinic-floating-social a {
        width: 36px !important;
        height: 36px !important;

        min-width: 36px !important;
    }

    .clinic-floating-social svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Footer social */
    footer .social-links a,
    footer .social-icons a,
    .store-footer .social-links a,
    .store-footer .social-icons a {
        width: 46px !important;
        height: 46px !important;

        min-width: 46px !important;
    }

    /* Products */
    .s-block--products-slider .swiper-slide,
    .s-block--products .grid > *,
    .s-block--products-slider .grid > * {
        flex: 0 0 185px !important;

        width: 185px !important;

        max-width: 185px !important;
    }
}
.fixed-products-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 45px;
}

.fixed-products-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.fixed-products-track::-webkit-scrollbar {
    display: none;
}

.fixed-products-item {
    flex: 0 0 250px !important;
    width: 250px !important;
}

/* الأسهم */

.fixed-products-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #76518F !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(81, 52, 103, .25);
    transition: .25s ease;
}

.fixed-products-arrow:hover {
    background: #513467 !important;
    transform: translateY(-50%) scale(1.08);
}

.fixed-products-prev {
    right: 5px;
}

.fixed-products-next {
    left: 5px;
}

@media (max-width: 767px) {

    .fixed-products-slider {
        padding: 10px 38px;
    }

    .fixed-products-item {
        flex: 0 0 185px !important;
        width: 185px !important;
    }

    .fixed-products-arrow {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}