:root {
    --main-color: #660099;
    --second-color: #3d005b;
    --third-color: black;
    --body: #F7E7CE;
    --gold: #DAA520;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
  --logo: url(https://cdn.files.salla.network/theme/1912755784/f7602aec-fadf-4d4f-9e5d-9db23d28cfb6.webp);--logo: url(https://cdn.files.salla.network/theme/1912755784/f7602aec-fadf-4d4f-9e5d-9db23d28cfb6.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-scrollbar-thumb:vertical { height: 200px; background-color: var(--main-color); }
::-webkit-scrollbar-thumb:vertical:hover { background-color: var(--second-color); }
::-webkit-scrollbar-thumb:horizontal { width: 200px; background-color: transparent; }
::selection { color: var(--gold-light); background: var(--second-color); }

/* ===== Loading Screen ===== */
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: logo-intro 2.5s 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; }
}

@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: initial; color: var(--main-color) !important; border: none;
}
.header-btn__icon.icon:hover {
    margin-left: 9px; 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 { 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(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); }
}

/* ===== Banners ===== */
.banner-entry {
    width: 100%;
}

@media (max-width: 768px) {
    .banner-entry {
        width: 100% !important;
        height: auto !important;
    }

    .lazy__bg {
        background-size: cover !important; /* بدل contain */
        background-position: center;
    }
}
}

.banner-entry:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 30px rgba(102, 0, 153, 0.25);
}

.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) 100%);
}

.lazy__bg:hover:after {
    opacity: 1; left: 130%;
    transition: left 0.7s ease, top 0.7s ease, opacity 0.15s 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 Animations ===== */
@keyframes banner-fade-slide {
    0%   { opacity: 0; transform: scale(1.05) translateY(15px); }
    15%  { opacity: 1; transform: scale(1) translateY(0); }
    85%  { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(1.05) translateY(-15px); }
}

@keyframes banner-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(102, 0, 153, 0.2); }
    50%      { box-shadow: 0 0 25px rgba(102, 0, 153, 0.5), 0 0 50px rgba(208, 142, 255, 0.2); }
}

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

.banner--fixed {
    animation: banner-zoom-rotate 1s ease-out forwards;
}

@keyframes banner-zoom-rotate {
    0%   { opacity: 0; transform: scale(0.92) rotate(-1deg); }
    20%  { opacity: 1; transform: scale(1) rotate(0deg); }
    80%  { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.banner--fixed:hover {
    animation: banner-glow 2s ease-in-out infinite;
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

.banner--fixed img {
    display: block; width: 100%; border-radius: .375rem;
    border-style: none; background: none; object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.banner--fixed:hover img { transform: scale(1.03); filter: brightness(1.05); }

/* ===== Titles & Links ===== */
.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;
}

.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: 0;
}

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        margin-left: 1.1rem; margin-right: 2px; width: 107%;
    }
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-bottom: 0px;
    }
}

.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: 1rem 0; 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;
}

/* ======================================================
   ===== PRODUCT CARD — KEYFRAMES =====
   ====================================================== */

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

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

@keyframes card-3d-hover {
    0%   { transform: perspective(800px) rotateY(0deg) scale(1); }
    25%  { transform: perspective(800px) rotateY(3deg) scale(1.03); }
    50%  { transform: perspective(800px) rotateY(0deg) scale(1.05); }
    75%  { transform: perspective(800px) rotateY(-3deg) scale(1.03); }
    100% { transform: perspective(800px) rotateY(0deg) scale(1); }
}

@keyframes card-appear {
    0%   { opacity: 0; transform: translateY(40px) scale(0.9) rotate(-1deg); }
    60%  { opacity: 1; transform: translateY(-8px) scale(1.02) rotate(0deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes card-glow-purple {
    0%   { box-shadow: 0 0 8px rgba(102, 0, 153, 0.3), 0 0 0 rgba(208, 142, 255, 0); }
    50%  { box-shadow: 0 0 20px rgba(102, 0, 153, 0.5), 0 0 40px rgba(208, 142, 255, 0.3); }
    100% { box-shadow: 0 0 8px rgba(102, 0, 153, 0.3), 0 0 0 rgba(208, 142, 255, 0); }
}

@keyframes card-border-dance {
    0%   { border-color: #660099; }
    25%  { border-color: #9b30ff; }
    50%  { border-color: #d08eff; }
    75%  { border-color: #9b30ff; }
    100% { border-color: #660099; }
}

@keyframes card-image-zoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes gold-pulse-glow {
    0%   { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.6); }
    50%  { box-shadow: 0 0 18px 6px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0); }
}

@keyframes gold-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ======================================================
   ===== PRODUCT CARD — STROKE جريدينت موف =====
   ====================================================== */

.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);
}

.s-product-card-entry {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    border-radius: 16px !important;
    overflow: visible !important;
    margin-top: 20px;
    padding: 3px !important;
    background: linear-gradient(270deg, #660099, #9b30ff, #d08eff, #b366e0, #660099) !important;
    background-size: 400% 400% !important;
    animation: gradient-border-spin 4s ease infinite, card-appear 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3);
}

.s-product-card-entry:nth-child(1) { animation-delay: 0s !important; }
.s-product-card-entry:nth-child(2) { animation-delay: 0.12s !important; }
.s-product-card-entry:nth-child(3) { animation-delay: 0.24s !important; }
.s-product-card-entry:nth-child(4) { animation-delay: 0.18s !important; }
.s-product-card-entry:nth-child(5) { animation-delay: 0.30s !important; }
.s-product-card-entry:nth-child(6) { animation-delay: 0.36s !important; }

.s-product-card-entry:hover {
    animation: gradient-border-spin 1.2s ease infinite, card-3d-hover 2s ease-in-out infinite, card-glow-purple 2s ease-in-out infinite !important;
    box-shadow: 0 20px 50px rgba(102, 0, 153, 0.45), 0 0 30px rgba(208, 142, 255, 0.35) !important;
    z-index: 10;
}

@media (max-width: 767px) {
    .s-product-card-entry {
        margin-top: 14px; margin-left: 4px; margin-right: 4px; padding: 2px !important;
    }
    .s-product-card-entry:hover {
        animation: gradient-border-spin 1.5s ease infinite, card-glow-purple 2s ease-in-out infinite !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);
    transition: color 0.3s ease;
}
.s-product-card-content-title a:hover { color: var(--gold-light) !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);
}

/* ===== Product Images ===== */
.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;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.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-entry:hover .s-product-card-image img,
.s-product-card-entry:hover .s-product-card-image-cover {
    transform: scale(1.08) !important;
}

/* ======================================================
   ===== أزرار السلة — ذهبي =====
   ====================================================== */

.s-button-wide {
    width: 100% !important;
    color: var(--second-color) !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold)) !important;
    border: solid 2px var(--gold-dark) !important;
    box-shadow: 0 2px 10px rgba(218, 165, 32, 0.3) !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;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
}

.s-button-wide:hover {
    background: linear-gradient(135deg, var(--gold-light), #FFF8DC, var(--gold-light)) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(218, 165, 32, 0.3) !important;
    transform: scale(1.03) !important;
    color: var(--second-color) !important;
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    color: var(--second-color) !important;
    border-radius: 40px 10px !important;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold)) !important;
    border: solid 2px var(--gold-dark) !important;
    box-shadow: 0 2px 10px rgba(218, 165, 32, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    font-weight: 700 !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 20px rgba(255, 215, 0, 0.6);
}

.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: var(--second-color);
    border-radius: 40px 10px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
    border: solid 2px var(--gold-dark);
    border-block-start-width: 2px;
    border-block-end-width: 6px;
    font-weight: 700;
}

.s-fast-checkout-button.outline {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
    color: var(--second-color);
    border-radius: 40px 10px;
    border: solid 2px var(--gold-dark);
    border-block-start-width: 2px;
    border-block-end-width: 6px;
    font-weight: 700;
}

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;
    color: var(--second-color);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
    font-weight: 700;
}

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: gold-pulse-glow 2.5s 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: gold-shimmer 2s linear infinite !important;
    background-size: 200% auto !important;
    box-shadow: 0 0 25px 8px rgba(255, 215, 0, 0.5) !important;
    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;
    }

    .banner-entry {
        width: 100vw !important; margin-left: -4px; margin-right: -4px; border-radius: 8px;
    }

    salla-slider.photos-slider .swiper-slide {
        width: 100% !important; margin-left: 0.5rem; margin-right: 0.5rem;
    }
}

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

/* ===== تابلت ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .s-product-card-entry { margin-top: 16px; }

    .s-product-card-vertical .s-product-card-image,
    .s-product-card-image { height: 250px !important; max-height: 250px !important; }

    .s-product-card-content { min-height: 200px !important; }
    .banner-entry { width: 48vw; border-radius: 10px; }
}

/* ===== شاشات كبيرة ===== */
@media (min-width: 1200px) {
    .s-product-card-entry { margin-top: 24px; padding: 4px !important; }

    .s-product-card-vertical .s-product-card-image,
    .s-product-card-image { height: 320px !important; max-height: 320px !important; }

    .s-product-card-content {
        min-height: 230px !important; padding: 1.5rem 1rem 1rem !important;
    }

    .s-product-card-content-title a { font-size: 1rem !important; height: 26px !important; }
    .banner-entry { border-radius: 16px; }
}

/* ===== 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; 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: 2rem 0; border: none;
}

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

.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: all 0.5s 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(--gold);
    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(218, 165, 32, 0.3);
}

.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: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--second-color); 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;
}
/* ============================= */
/* 🔥 FIX البنرات في الموبايل */
/* ============================= */
@media (max-width: 768px) {
    .banner-entry {
        width: 100% !important;
        height: auto !important;
    }

    .lazy__bg {
        background-size: cover !important;
        background-position: center !important;
    }

    .banner-entry img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}


/* ============================= */
/* 🔥 FIX صور المنتجات */
/* ============================= */
.s-product-card-image img,
.s-product-card-image-cover,
.s-product-card-image-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* ============================= */
/* 🔥 FIX لون الهيدر */
/* ============================= */
header.store-header:before {
    color: #ffffff !important;
}


/* ============================= */
/* 🔥 تحسين إضافي يمنع القص */
/* ============================= */
.s-product-card-image {
    overflow: hidden !important;
}

.banner-entry {
    overflow: hidden !important;
}