:root {
    --main-color: #660099;
    --second-color: #3d005b;
    --third-color: black;
    --body: #fae5fe;
    --logo: url(https://cdn.files.salla.network/theme/721358458/a4f1fa01-aef8-430b-b8f2-aa098ad64394.webp);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track-piece {
    background-color: var(--body);
    -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:vertical {
    height: 200px;
    background-color: var(--main-color);
    -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:vertical:hover {
    background-color: var(--second-color);
}

::-webkit-scrollbar-thumb:horizontal {
    width: 200px;
    background-color: transparent;
    -webkit-border-radius: 0;
}

::selection {
    color: var(--main-color);
    background: var(--second-color);
}

/* ===== Loading Screen with Logo Animation ===== */
body:not(.product-index):not(.product-single):after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background: var(--body) var(--logo);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 360px;
    animation-name: logo-intro;
    animation-duration: 2.5s;
    animation-fill-mode: forwards;
    border: none;
}

@keyframes logo-intro {
    0% { opacity: 1; transform: scale(0.5) rotate(0deg); }
    20% { opacity: 1; transform: scale(1.1) rotate(360deg); }
    40% { opacity: 1; transform: scale(1) rotate(360deg); }
    70% { opacity: 1; transform: scale(1) rotate(360deg); }
    85% { opacity: 0.5; transform: scale(1) rotate(360deg); }
    100% { opacity: 0; transform: scale(0.3) rotate(720deg); pointer-events: none; }
}

/* ===== Logo Breathing Animation ===== */
@keyframes logo-breathing {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.06); filter: brightness(1.15); }
}

.flex-col {
    background: var(--body);
}

.s-block {
    margin-top: 2rem;
    background: unset;
}

/* ===== Header / Top Bar ===== */
header.store-header:before {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: black;
    font-weight: bold;
    height: 50px;
    animation: moveText 20s linear infinite;
    white-space: nowrap;
}

@keyframes moveText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes scrollBrands {
    0% { background-position-x: 0; }
    50% { background-position-x: 35000px; }
    100% { background-position-x: 0; }
}

@media(max-width: 767px) {
    header.store-header:before {
        background-size: 180%;
        height: 39px;
        background-position: center;
        margin-bottom: -2px;
    }
}

/* ===== Navigation ===== */
.bg-inherit {
    background-color: inherit;
    background: var(--body);
}

.top-navbar {
    display: flex;
    min-height: 48px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background: unset;
}

.s-contacts-topnav-link:last-child:where([dir=rtl],[dir=rtl] *) {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .main-menu li.root-level>a { color: var(--main-color); }
    .main-menu li.root-level>a:hover { color: var(--second-color); }
}

.sicon-user-circle {
    content: "\f072";
    color: var(--main-color);
    border: none;
}

.sicon-user-circle:hover {
    content: "\f072";
    color: var(--second-color);
}

.header-btn__icon.icon:where([dir=rtl],[dir=rtl] *) {
    margin-left: 9px;
    margin-right: 0;
    margin-right: initial;
    color: var(--main-color) !important;
    border: none;
}

.header-btn__icon.icon:hover {
    margin-left: 9px;
    margin-right: 0;
    margin-right: initial;
    color: var(--second-color) !important;
}

.sicon-shopping-bag:before { content: "\e901"; text-align: center; }
.sicon-user-circle:before { content: "\f077"; text-align: center; }
i.text-base.sicon-shopping-bag:before { content: "\ea6e"; text-align: center; }

.s-cart-summary-total {
    font-weight: 600;
    color: var(--main-color);
}

.sicon-menu { content: "\ed7f"; color: var(--main-color); }
.sicon-menu:hover { content: "\ed7f"; color: var(--second-color); }

.s-contacts-topnav-link:where([dir=rtl],[dir=rtl] *) {
    border-left-width: 1px;
    color: var(--main-color);
}

.s-contacts-topnav-link:hover {
    border-left-width: 1px;
    color: var(--second-color);
}

.topnav-link-item:last-child:where([dir=rtl],[dir=rtl] *) {
    border-width: 0; padding-left: 0; color: var(--main-color);
}
.topnav-link-item:last-child:hover {
    border-width: 0; padding-left: 0; color: var(--second-color);
}

.topnav-link-item.right-side:first-child:where([dir=rtl],[dir=rtl] *) {
    padding-right: 0; color: var(--main-color);
}
.topnav-link-item.right-side:first-child:hover {
    padding-right: 0; color: var(--second-color);
}

.s-search-icon svg { height: 1rem; width: 1rem; fill: var(--main-color); }
.s-cart-summary-count { top: -.125rem; background-color: var(--second-color); }

/* ===== Search Box ===== */
.top-navbar .s-search-input {
    border: 2px solid var(--second-color) !important;
    background: #ffffff !important;
    color: var(--third-color) !important;
    box-shadow: none;
    border-radius: 8px;
}
.top-navbar .s-search-input::placeholder { color: #888 !important; }
.top-navbar .s-search-input:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 3px rgba(102, 0, 153, 0.15);
    outline: none;
}

.s-user-menu-trigger { background: transparent; }

.main-nav-container {
    min-height: 70px;
    background: var(--main-color);
    box-shadow: none;
}

@media (min-width: 1024px) {
    .main-nav-container {
        min-height: 100px;
        background: var(--main-color);
        box-shadow: none;
    }
}

/* ===== Header Logo ===== */
.navbar-brand img {
    height: 90px !important;
    max-height: 90px !important;
    width: auto !important;
    animation: logo-breathing 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 65px !important;
        max-height: 65px !important;
    }
}

.navbar-brand img:hover {
    -webkit-animation: blink-1 0.6s both;
    animation: blink-1 0.6s both;
}

@keyframes blink-1 {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* ===== Sidebar (Mobile) ===== */
@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--navbar.mm-spn--main:where([dir=rtl],[dir=rtl] *):after {
        padding-right: .75rem;
        background: var(--body);
        color: var(--main-color);
    }
}

.mm-spn.mm-spn--navbar ul {
    top: calc(50px + 1px);
    top: calc(var(--mm-spn-item-height) + 1px);
    background: var(--body);
    color: var(--main-color);
}

@media only screen and (max-width: 1024px) {
    .mm-spn li a span:hover { padding: 0; color: var(--second-color); }
}

/* ===== Content / Banners ===== */
.banner-entry {
    width: 50vw;
    min-height: 100px;
    background: unset;
}

.lazy__bg {
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.lazy__bg:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: linear-gradient(to right, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.13) 77%, rgba(255,255,255,0.5) 92%, rgba(255,255,255,0.0) 100%);
}

.lazy__bg:hover:after {
    opacity: 1;
    left: 130%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

.lazy__bg:active:after { opacity: 0; }

.gap-3 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .banner-entry { height: auto; }
}

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

/* ===== Banner Fade Animation ===== */
@keyframes banner-fade-slide {
    0% { opacity: 0.7; transform: scale(1.02); }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.02); }
}

salla-slider.photos-slider .swiper-slide-active {
    animation: banner-fade-slide 4s ease-in-out;
}

.s-slider-block__display-all {
    display: inline-block;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
}
.s-slider-block__display-all:hover { color: var(--second-color); }

a.s-block__display-all { color: var(--main-color); }
a.s-block__display-all:hover { color: var(--second-color); }

.s-slider-block__title h2 {
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--main-color);
    padding: 10px;
    border-radius: 26px;
}

.s-block__title h2 {
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--main-color);
    padding: 10px;
    border-radius: 32px;
}

.banner--fixed img {
    display: block;
    width: 100%;
    border-radius: .375rem;
    border-style: none;
    background: none;
    object-fit: cover;
}

.s-breadcrumb-item { display: inline-block; color: var(--main-color); }
.s-breadcrumb-item:hover { color: var(--second-color); }
.s-breadcrumb-primary-reverse li { color: var(--second-color); opacity: 0.8; }
.profile-header .breadcrumbs a { color: var(--second-color); }

.btn--outline-primary {
    border-width: 1px;
    border-color: var(--main-color);
    color: var(--main-color);
}

.no-content-placeholder .icon {
    margin-bottom: 1rem;
    display: flex;
    height: 8rem;
    width: 8rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: var(--body);
    background: var(--main-color);
}

.no-content-placeholder p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--main-color);
}

.rtl\:pl-3:where([dir=rtl],[dir=rtl] *) {
    padding-left: .75rem;
    color: var(--third-color);
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--body);
    background: var(--main-color);
    padding: 5px;
    border-radius: 30px;
    text-align: center;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: var(--main-color);
}

span.text-gray-500.line-through { color: var(--second-color); }

label.hidden.sm\:block.rtl\:ml-3.ltr\:mr-3.whitespace-nowrap {
    color: var(--main-color);
}

.product__description a { color: var(--main-color); }

.s-products-list-placeholder span {
    margin-bottom: 1rem;
    display: flex;
    height: 8rem;
    width: 8rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--main-color);
}

.s-products-list-placeholder p {
    padding-top: .5rem;
    text-align: center;
    color: var(--main-color);
}

.s-products-list-placeholder span svg {
    margin-left: auto;
    margin-right: auto;
    height: 4rem;
    width: 4rem;
    fill: var(--body);
    text-align: center;
}

.s-block--photos-slider { margin-top: 0 !important; }
.swiper { padding-left: 0 !important; }

salla-slider.photos-slider .swiper-slide {
    position: relative;
    margin-top: -5px;
    margin-left: 1.1rem;
    margin-right: 10px;
    height: auto;
    width: 102%;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        position: relative;
        margin-top: -5px;
        margin-left: 1.1rem;
        margin-right: 2px;
        height: auto;
        width: 107%;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }
}

.s-block--tabs-produtcs .tab-trigger.is-active button {
    border-color: var(--main-color);
    color: var(--third-color);
    background: var(--main-color);
}

button.btn--wishlist.animated.hidden.sm\:inline-flex.s-button-element.s-button-icon.s-button-outline.s-button-light-outline.s-button-loader-center.s-button-wrap.hydrated.not-added {
    color: var(--second-color);
}

.btn--wishlist.is-added { color: var(--main-color); }

.s-comments-product {
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: unset;
}

.s-breadcrumb-arrow svg {
    height: .875rem;
    width: .875rem;
    fill: var(--second-color);
}

.s-add-product-button-mini-checkout-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    white-space: nowrap;
    font-size: .8rem;
    color: #ffffff;
    background: 0 0 !important;
    width: 107%;
    height: 110%;
    justify-content: center;
}

.s-add-product-button-mini-checkout-content:hover { color: var(--body); }

button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock,
button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    opacity: 0;
}

.s-login-modal-header-icon svg {
    height: 1.25rem;
    width: 1.25rem;
    flex-shrink: 0;
    fill: var(--main-color);
}

.s-modal-title { color: var(--main-color); }
span.s-login-modal-header-icon { border: 2px solid var(--main-color); }
label.s-login-modal-label { color: var(--main-color); font-weight: bold; }
.iti__selected-dial-code { color: var(--main-color); font-weight: bold; }
input.s-tel-input-control.tel-input.s-ltr { border: 2px solid var(--main-color); }
a.s-login-modal-link { color: var(--main-color); }
a.s-login-modal-link:hover { color: var(--second-color); }

/* ===== Features Icons ===== */
.s-block--features__item .feature-icon {
    margin-bottom: .75rem;
    display: flex;
    height: 6rem;
    width: 6rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    background-color: var(--main-color);
}

.s-block--features__item .feature-icon i { font-size: 3.875rem; line-height: 2.25rem; color: var(--body); }
.s-block--features__item .feature-icon svg { fill: var(--body); }
.s-block--features__item .feature-icon img {
    filter: brightness(0) saturate(100%) invert(58%) sepia(60%) saturate(1000%) hue-rotate(230deg);
}

.s-block--features__item h2 {
    margin-bottom: .25rem;
    font-size: 20px;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
}

.s-block--features__item p {
    font-size: 15px;
    line-height: 1.25rem;
    color: var(--main-color);
    font-weight: 700;
}

#salla-modal:not(.s-search-modal)>div.s-modal-wrapper>div>div.s-modal-header:before {
    display: block !important;
    content: '';
    background: var(--logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 102px;
    margin: 15px auto;
}

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-bottom: 0px;
    }
}

/* ======================================================
   ===== Product Card - Keyframes =====
   ====================================================== */

.s-button-primary-outline {
    fill: #ffffff;
    color: #ffffff;
    border: solid var(--main-color);
}

.s-button-primary-outline:hover {
    background: var(--main-color);
    color: #ffffff;
    border: solid var(--main-color);
}

@keyframes gradient-border-spin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes border-rotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes card-shine {
    0%, 80% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes card-pulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(208, 142, 255, 0.5); }
    50%  { transform: scale(1.02); box-shadow: 0 0 15px 5px rgba(208, 142, 255, 0.3); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(208, 142, 255, 0); }
}

@keyframes pulse-glow {
    0%   { box-shadow: 0 0 0 0 rgba(208, 142, 255, 0.6); }
    50%  { box-shadow: 0 0 15px 5px rgba(208, 142, 255, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(208, 142, 255, 0); }
}

/* ===== Product Card - بوردر دوار متحرك ===== */
.s-product-card-entry {
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    border-radius: 16px !important;
    overflow: visible !important;
    margin-top: 20px;
    padding: 3px !important;
    background: linear-gradient(270deg, #660099, #d08eff, #ff006e, #fb5607, #ffbe0b, #3a86ff, #660099) !important;
    background-size: 600% 600% !important;
 
    box-shadow: 0 4px 15px rgba(61, 0, 91, 0.3);
}

.s-product-card-entry:hover {
    animation: gradient-border-spin 2s ease infinite, border-rotate 3s linear infinite, card-pulse 1.5s ease-in-out infinite !important;
}

@media (max-width: 767px) {
    .s-product-card-entry {
        margin-top: 14px;
        margin-left: 4px;
        margin-right: 4px;
        padding: 2px !important;
    }
}

.s-product-card-vertical {
    background: unset;
    overflow: visible !important;
}

/* ===== Product Card Content - اسم + سعر نازلين تحت ===== */
.s-product-card-content {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.25rem .75rem .75rem !important;
    border-radius: 0 0 14px 14px !important;
    align-items: center !important;
    background: var(--second-color) !important;
    border: none !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    min-height: 210px !important;
    transform: translateY(-2px) !important;
    gap: 8px !important;
}

.s-product-card-content-sub {
    margin-top: 10px;
    margin-bottom: .75rem;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
}

.s-product-card-content-title a {
    display: block;
    font-size: .9rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    text-align: center;
    height: 22px;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.s-product-card-content-title a:hover {
    color: var(--body) !important;
}

.s-product-card-price {
    font-size: .95rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
}

.s-product-card-sale-price h4 { color: var(--body) !important; }
.s-product-card-sale-price { color: #ffffff; }

.s-product-card-content * { color: #ffffff !important; }
.s-product-card-content .s-product-card-price,
.s-product-card-content .s-product-card-sale-price {
    color: #ffffff !important;
    font-weight: 700;
    font-size: .95rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ======================================================
   ===== صور المنتجات - ارتفاع أكبر =====
   ====================================================== */

.s-product-card-vertical .s-product-card-image,
.s-product-card-image {
    flex: unset;
    border-radius: 14px 14px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    height: 280px !important;
    max-height: 280px !important;
    background: #ffffff !important;
}

@media (max-width: 767px) {
    .s-product-card-vertical .s-product-card-image,
    .s-product-card-image {
        height: 220px !important;
        max-height: 220px !important;
    }
}

@media (max-width: 390px) {
    .s-product-card-vertical .s-product-card-image,
    .s-product-card-image {
        height: 190px !important;
        max-height: 190px !important;
    }
}

.s-product-card-image img,
.s-product-card-image img.loaded,
.s-product-card-image-cover,
.s-product-card-image-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 14px 14px 0 0 !important;
}

.s-product-card-image img,
.s-product-card-image-cover {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.s-product-card-image .s-product-card-image-cover:first-of-type,
.s-product-card-image .s-product-card-image-cover:nth-of-type(2),
.s-product-card-image img:nth-of-type(1),
.s-product-card-image img:nth-of-type(2) {
    animation: none !important;
}

.s-product-card-image .s-product-card-image-cover:nth-of-type(n+2),
.s-product-card-image img:nth-of-type(n+2) {
    display: none !important;
}

.s-product-card-image::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 70%
    ) !important;
    background-size: 200% 100% !important;
    animation: card-shine 4s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 2 !important;
    border-radius: 14px 14px 0 0 !important;
}

.s-product-card-vertical .s-product-card-image-cover:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* ======================================================
   ===== أزرار السلة =====
   ====================================================== */

.s-button-wide {
    width: 100% !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    background: var(--main-color) !important;
    border: solid 2px #ffffff !important;
    box-shadow: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.s-button-wide:hover {
    background: var(--second-color) !important;
    box-shadow: 0 0 15px rgba(208, 142, 255, 0.5) !important;
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    color: #ffffff !important;
    border-radius: 40px 10px !important;
    background: var(--main-color) !important;
    border: solid 2px #ffffff !important;
    box-shadow: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center:hover {
    box-shadow: 0 0 15px rgba(208, 142, 255, 0.5);
}

.s-product-card-entry .s-add-product-button-main,
.s-product-card-entry salla-add-product-button,
.s-product-card-entry .s-add-product-button-mini-checkout,
.s-product-card-entry .s-product-card-content-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    position: relative !important;
    transform: none !important;
    width: 100% !important;
    pointer-events: auto !important;
    margin-top: auto !important;
    z-index: 15 !important;
    min-height: 42px !important;
}

.s-add-product-button-main .s-add-product-button-mini-checkout .s-fast-checkout-button.outline {
    --salla-fast-checkout-button-border-radius: .75rem;
    width: 50%;
    color: #ffffff;
    border-radius: 40px 10px;
    background: none !important;
    border: solid 2px #ffffff;
    border-block-start-width: 2px;
    border-block-end-width: 6px;
}

.s-fast-checkout-button.outline {
    background-color: transparent;
    color: #ffffff;
    border-radius: 40px 10px;
    background: none !important;
    border: solid 2px #ffffff;
    border-block-start-width: 2px;
    border-block-end-width: 6px;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    width: 67px;
    transition: width 500ms ease 0s;
    color: #ffffff;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center:hover {
    width: 200px;
}

.s-product-card-entry .s-button-wide,
.s-product-card-entry button.s-button-wide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
}

.s-button-wide,
.s-fast-checkout-button.outline,
.s-add-product-button-mini-checkout-content {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.s-button-wide:hover,
.s-fast-checkout-button.outline:hover,
.s-add-product-button-mini-checkout-content:hover {
    animation: none;
    box-shadow: 0 0 20px 5px rgba(208, 142, 255, 0.5);
    transition: box-shadow 0.3s ease;
}

/* ======================================================
   ===== مسافات بين الأقسام =====
   ====================================================== */

.s-block--tabs-produtcs,
.s-block--products-slider {
    margin-top: 40px !important;
    margin-bottom: 18px !important;
    padding-top: 15px;
}

.s-block + .s-block { margin-top: 30px !important; }

.s-block--photos-slider + .s-block,
.s-block--fixed-banner + .s-block {
    margin-top: 35px !important;
}

.s-products-list,
.s-products-slider-container,
.s-block--products-slider .swiper,
.s-block--products-slider .swiper-wrapper,
.s-block--products-slider .swiper-slide {
    overflow: visible !important;
}

.s-block--products-slider .swiper,
.s-block--products-slider .swiper-wrapper {
    padding-bottom: 24px !important;
}

.s-product-card-entry,
.s-product-card-vertical {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 420px !important;
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 18px !important;
}

@media (max-width: 767px) {
    .s-block--tabs-produtcs,
    .s-block--products-slider {
        margin-top: 25px !important;
        padding-top: 10px;
    }
    .s-block + .s-block { margin-top: 20px !important; }

    .s-product-card-entry,
    .s-product-card-vertical {
        min-height: 370px !important;
        margin-bottom: 14px !important;
    }

    .s-product-card-content {
        min-height: 188px !important;
        padding: .55rem .55rem .65rem !important;
    }

    .s-product-card-content .s-product-card-content-title a {
        font-size: .78rem !important;
        line-height: 1.35 !important;
    }

    .s-product-card-content .s-product-card-price,
    .s-product-card-content .s-product-card-sale-price {
        font-size: .83rem !important;
    }

    .s-product-card-entry .s-button-wide,
    .s-product-card-entry button.s-button-wide {
        min-height: 38px !important;
        padding: 8px 10px !important;
        font-size: .82rem !important;
    }
}

@media (max-width: 390px) {
    .s-product-card-entry,
    .s-product-card-vertical {
        min-height: 350px !important;
    }
}

/* ===== Footer ===== */
.footer-is-light .store-footer .store-footer__inner {
    background: var(--body);
    color: var(--main-color);
    border-radius: 84px;
    border-bottom: 7px solid var(--main-color);
    font-weight: 500;
    text-align: center;
}

.store-footer h3 {
    margin-bottom: .75rem;
    font-size: 25px;
    font-family: sans-serif;
    line-height: 1.75rem;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    color: var(--main-color);
}

a.flex.items-center.m-0 {
    display: flex;
    flex-direction: column;
}

a.flex.items-center.m-0:after {
    content: "من نحن";
    width: 100%;
    margin-bottom: .75rem;
    line-height: 1.75rem;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    color: var(--main-color);
    font-size: 25px;
    font-family: sans-serif;
}

@media (max-width: 1024px) {
    .store-footer a h3:nth-child(1) {
        font-size: 1rem;
        color: transparent;
        background-image: var(--logo);
        background-size: 100%;
        background-repeat: no-repeat;
        scale: 4;
        line-height: 4;
        background-position: center;
        margin-top: 15px;
    }
}

.store-footer a h3:nth-child(1) { display: none; }

@media (min-width: 1024px) {
    .rtl\:lg\:pr-20:where([dir=rtl],[dir=rtl] *) {
        padding-right: 5rem;
        background: var(--logo);
        background-repeat: no-repeat;
        background-size: contain;
        scale: 1;
        line-height: 0;
        margin-bottom: 0px;
        margin-top: 0px;
        min-height: 130px;
    }
}

.s-menu-footer-item:hover {
    margin-bottom: 1.25rem;
    display: block;
    font-size: .875rem;
    line-height: 1;
    color: var(--second-color);
}

.s-contacts-item:hover {
    display: flex;
    align-items: center;
    font-size: .875rem;
    line-height: 1;
    color: var(--second-color);
}

.copyright-text p { color: var(--main-color); padding-top: 20px; }
a.hover\:text-primary:hover { color: var(--second-color); }

.store-footer__inner {
    border-bottom-width: 1px;
    border-style: dashed;
    border-bottom-color: rgba(255, 255, 255, .1);
    padding-top: 2rem;
    padding-bottom: 2rem;
    border: none;
}

.footer-is-light .store-footer {
    background: var(--body);
    border-radius: 85px 85px 0px 0px;
}

.s-social-link a:hover {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    font-size: .875rem;
    line-height: 1.25rem;
    transition: all 300ms cubic-bezier(.4,0,.2,1);
    color: var(--second-color);
}

.s-social-list { display: flex; gap: .625rem; justify-content: center; }

.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s-menu-footer-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s-contacts-list.s-contacts-list-vertical {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

span.unicode { display: none; }
.footer-is-light .store-footer .contact-social { border: none; }

/* ===== Categories - أيقونات ===== */
.slide--cat-entry {
    align-items: center;
    border-radius: .375rem;
    border-width: 1px;
    display: flex;
    flex-direction: column;
    height: 9rem;
    justify-content: center;
    padding: .75rem;
    text-align: center;
    transition-duration: .5s;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    background: none;
    color: var(--main-color);
}

.slide--cat-entry:hover {
    transform: scale(1.08);
}

.cat-icon {
    margin-left: 6px;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-item,
.categories a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-item:hover .cat-icon,
.categories a:hover .cat-icon {
    transform: scale(1.3);
}

.s-product-card-horizontal .s-product-card-content {
    margin-bottom: 0;
    background: var(--second-color);
}

.s-reviews-container .swiper-slide-active .s-reviews-testimonial {
    opacity: 1;
    box-shadow: 5px 0 0 0 var(--color-main);
    background: none;
}

/* ===== Banner / Product Page ===== */
.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 200px;
    margin-bottom: 20px;
}

.banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 100%;
    transition: left 0.5s ease-in-out;
}

.banner.active { left: 0; }

@media (min-width: 1200px) {
    .banner-container { height: 400px; }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    border: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: var(--second-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
}

.product-price {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}

@media (min-width: 1200px) {
    .product-name { font-size: 22px; }
    .product-price { font-size: 18px; padding: 8px 12px; }
}

/* ===== Dropdown Menu ===== */
.s-menu-dropdown,
.sub-menu,
.dropdown-menu {
    background: #ffffff !important;
    border: 2px solid var(--main-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(61, 0, 91, 0.2) !important;
    animation: dropdown-appear 0.3s ease-out !important;
}

@keyframes dropdown-appear {
    0% { opacity: 0; transform: translateY(-10px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.s-menu-dropdown a,
.sub-menu a,
.dropdown-menu a {
    padding: 10px 16px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.s-menu-dropdown a:hover,
.sub-menu a:hover,
.dropdown-menu a:hover {
    background: rgba(102, 0, 153, 0.1) !important;
}

.s-menu-dropdown a::before,
.sub-menu a::before,
.dropdown-menu a::before {
    content: '' !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #660099, #d08eff) !important;
    flex-shrink: 0 !important;
}