/* ========================
Variables
======================== */
:root {
    --one: #942E70;
    --two: #49012F;
    --logo: url(https://cdn.salla.sa/form-builder/vYdtq4MVC3Q3PlGcZgrRYCOpbioW7mxbYwpzp35X.png);
    --logo2: url(https://cdn.salla.sa/form-builder/wYBJVTichx5AHhVXAgcGT5uwH30NtqN8hlhBzLK9.png);
    --background: #E4D1CD;
    /* --background2: linear-gradient(to right, #F4E8E1, #FEF3ED); */
    --three: #D6D7D8;
    --black: #000000;
    --white: #FFFFFF;
    --danger: red;
}

/* ========================
    Base / Layout
======================== */
html,
body {
    overflow-x: hidden !important;
}

body,
.main-nav-container,
.main-nav-container .bg-inherit,
#mobile-menu {
    background: var(--background) !important;
    background-repeat: repeat !important;
    background-size: cover !important;
}


.container {
    max-width: unset;
}

#mainnav>div>div>div {
    width: 90%;
    margin: auto;
}

#mainnav>div>div>div>div:nth-child(1),
#mainnav>div>div>div>div:nth-child(1)>custom-main-menu,
.s-reviews-header {
    width: 100%;
}

#mainnav>div>div>div>div:nth-child(1)>custom-main-menu {
    display: flex;
    justify-content: center;
}


.cart-item {
    opacity: 1 !important;
}

/* ========================
    Hero Section
======================== */
.heroSection {
    margin: 0px !important;
    padding: 0px !important;
}

/* ========================
    Welcome Popup
======================== */
#rub-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 14000;
    animation: fadeIn 0.5s ease forwards;
}


#rub-popup-box {
    background: var(--background);
  background-size: cover;
    color: var(--two);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    height: fit-content;
    position: relative;
    border: dashed 1px var(--one);
    animation: slideFromBottom 0.6s ease forwards;
}

#rub-popup-logo {
    max-width: 150px;
    margin: auto;
    animation: pulse 1.8s infinite;
}

#rub-popup-text {
    font-size: 16px;
    font-size: 16px;
    line-height: 3;
    margin: 2rem auto;
    color: var(--one);
}

#rub-close-popup {
    display: inline-block;
    font-size: 40px;
    cursor: pointer;
    margin: auto;
    color: var(--one);
    animation: arrowMove 1s infinite alternate ease-in-out;
}

@keyframes arrowMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(8px);
    }
}


@media (max-width: 500px) {
    #rub-popup-box {
        width: 90vw;
        height: auto;
    }

    #rub-popup-logo {
        width: 80px;
    }

    #rub-popup-text {
        font-size: 15px;
    }
}

/* Popup animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideFromBottom {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

/* Banner / Blocks background */
.banner-entry,
.s-block,
.s-block--tabs-produtcs,
.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner,
.s-comments-product,
.banner--fixed img {
    background: transparent !important;
}

#app section.s-block.s-block--fixed-banner.wide-placeholder,
#app section.s-block.s-block--fixed-banner.wide-placeholder>div,
.s-block {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#app section.s-block.s-block--fixed-banner.wide-placeholder>div,
.s-block {
    max-width: inherit;
}

.s-block--best-offers {
    margin-top: 0 !important;
}

/* ========================
   Header search 
======================== */
.top-navbar {
    display: none;
}

/* نخلي الإنبت مخفي افتراضياً */
header .search-in-header {
    display: none;
    max-width: 240px;
    margin-inline: 10px;
}

/* يظهر لما نضغط */
header .search-in-header.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 105px;
    background: var(--two);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.s-search-icon svg {
    fill: var(--white);
}

/* زرار العدسة */
.mobile-search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-inline: 8px;
    display: inline-flex;
    /* دايمًا ظاهر */
    align-items: center;
    justify-content: center;
}

.mobile-search-toggle .sicon-search {
    color: var(--one);
}



/* ========================
Typography & Colors
======================== */
#mainnav li a,
#mobile-menu a,
.s-menu-topnav-list a,
.s-contacts-header a,
.content--single-page h1,
.content--single-page .content-entry p,
.content--single-page .content-entry h4,
.s-breadcrumb-wrapper li,
.main-content h1,
.main-content h2,
.main-content p,
.main-content ul li,
.main-content ol li,
.space-x-2 span,
.rtl .fix-align,
[dir=rtl] .fix-align,
b,
strong,
.form-label .s-product-options-option-label small,
p,
h2,
.s-slider-block__title div h2,
.s-slider-block__title div a,
.s-slider-block__title div button,
.copyright-text>p>a {
    color: var(--one) !important;
}

/* Titles / small titles */
.s-block__title,
.max-w-sm,
.copyright-text p,
.s-menu-topnav-list,
#app header>div.top-navbar>div>salla-contacts,
.product__description .article--main p span,
.product__description .article--main p strong,
.text-gray-500,
nav {
    color: var(--four) !important;
    font-weight: 800;
}

.copyright-text p {
    font-weight: bold;
    color: var(--two) !important;
}

/* Breadcrumbs / product headings */
.product__description,
.s-breadcrumb-item,
.main-content .whitespace-nowrap.gap-4 h2,
#page-main-title,
#app div>div>div>div.mb-4.sm\:mb-6.flex.justify-between.items-center>div>div>label {
    color: var(--one);
}

/* ========================
    Navbar & Brand animation
  ======================== */
header {
    display: flex;
    flex-direction: column-reverse;
}

.s-contacts-header {
    display: none;
}

.navbar-brand {
    animation: 7s infinite navbarBrandAnimation;
}

@keyframes navbarBrandAnimation {

    0%,
    90%,
    100% {
        transform: scale(1) rotate(0) translate(0, 0);
    }

    10% {
        transform: scale(1.05) rotate(2deg) translate(2px, -2px);
    }

    20% {
        transform: scale(1.1) rotate(-2deg) translate(-2px, 2px);
    }

    30% {
        transform: scale(.95) rotate(1deg) translate(3px, -3px);
    }

    40% {
        transform: scale(1) rotate(-1deg) translate(-3px, 3px);
    }

    50% {
        transform: scale(1.03) rotate(0) translate(0, -2px);
    }

    60% {
        transform: scale(1.08) rotate(2deg) translate(2px, 0);
    }

    70% {
        transform: scale(1) rotate(-2deg) translate(-2px, 0);
    }

    80% {
        transform: scale(1.05) rotate(0) translate(0, 2px);
    }
}

/* Typing animation for nav links */
#mainnav li a,
#mobile-menu a,
.s-menu-topnav-list a,
.s-contacts-header a,
.s-slider-block__title h2 {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    max-width: 0;
    animation: typing 1s steps(20) forwards;
}

@keyframes typing {
    from {
        max-width: 0;
    }

    to {
        max-width: 100%;
    }
}

/* ========================
Buttons & Checkout
======================== */
.s-button-wide {
    color: var(--four);
    background: var(--one) !important;
    border: solid 2px var(--one);
    border-radius: 0px;
    /*box-shadow: 2px 2px 1px var(--two);*/
    transition: .9s ease;
}

.s-button-wide:hover,
.s-button-wide:focus {
    color: var(--one);
    border: solid 2px var(--one);
    opacity: 1 !important;
    background: var(--two) !important;
}

.s-button-wide:hover i.text-base.sicon-shopping-bag:before {
    color: var(--one);
}

.s-fast-checkout-button.outline {
    border: 1px solid var(--one);
    color: var(--one);
}

.s-fast-checkout-button.outline,
.s-fast-checkout-button,
div.main-content.md\:sticky.md\:overflow-hidden.top-24.w-full.md\:w-2\/4.md\:pb-16>form>section.sticky-product-bar.bg-white.p-5.rounded-md.rounded-b-none>salla-add-product-button>div>salla-mini-checkout-widget {
    border: solid 2px var(--two) !important;
    border-radius: 15px;
    box-shadow: 2px 2px 1px var(--two);
}

/* Sticky product bar / Buy buttons width rules (kept as-is) */
.main-content.md\:sticky.md\:overflow-hidden.top-24.w-full.md\:w-2\/4.md\:pb-16>form>section.sticky-product-bar.bg-white.p-5.rounded-md.rounded-b-none>salla-add-product-button>div>salla-button>button,
#cart-submit>button,
.main-content.w-full.md\:w-2\/4.md\:pb-16>form>section>salla-add-product-button>div>salla-button>button {
    width: 100%;
}

/* ========================
Product Cards & Sliders
======================== */
/* Product card basics */
.s-product-card-vertical {
    background: transparent;
}

.s-product-card-entry {
    background: var(--background);
    border: dashed var(--one) 2px;
}
}


.s-product-card-sale-price {
    margin: auto;
}

.s-product-card-price,
#has_discount {
    color: var(--danger);
    margin: auto;
}

/* Card content layout adjustments */
.s-product-card-content {
    flex-direction: row !important;
    justify-content: space-evenly;
    padding-bottom: 0 !important;
}

.s-product-card-content-footer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0s;
}

.s-products-slider-card:hover .s-product-card-content-footer {
    opacity: 1;
    visibility: visible;
    transform: translateY(-29px);
    transition-delay: 0.2s;
}

.s-product-card-content-sub {
    width: fit-content !important;
    white-space: nowrap;
}

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

/* Image styles */
.s-product-card-image img {
    border-bottom: 2px solid var(--two);
        border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    border-radius: 25px 25px 0px 0px;
    animation: signalTwo 1200ms linear infinite;
    border: 2px solid var(--two);

}

.s-product-card-fit-height .s-product-card-image {
    padding: 0;
}

/* Fit-height entry */
.s-product-card-content {
    border-bottom-left-radius: .75rem;
    border-bottom-left-radius: .75rem;
}

/* Icon font weight */
[class^=sicon-],
[class*=" sicon-"] {
    font-weight: 800;
}

/* Slider / swiper basics */
.swiper {
    padding-left: 0 !important;
}

#main-links-2>div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-rtl.swiper-backface-hidden div {
    justify-content: center !important;
}

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


.s-slider-block__title-left {
    border-radius: 25px;
    justify-content: space-evenly;
    margin-left: .2rem;
}

.s-slider-block__display-all {
    background: 0 0;
    color: var(--one);
}

.slide--cat-entry {
    border: 1px solid var(--one);
    padding: 0 !important;


}

.slide--cat-entry img {
    scale: 3;
    margin-top: 1rem;
}

/* Slider nav arrow */
.s-slider-nav-arrow {
    scale: .7;
}

.s-slider-nav-arrow svg {
    fill: var(--four);
}

.s-slider-nav-arrow:not(:disabled):hover svg,
.s-slider-nav-arrow svg {
    fill: var(--one);
}

/* Featured products / spacing */
#featured-products-style2-7 {
    padding: 0;
}

#best-offers-5-slider {
    padding: 0 !important;
}



/* =========================
QuickView Button Styling
========================= */
/* ===== Quick View button + Modal ===== */

.quickview-btn {
    color: var(--one);
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.90);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); */
    border: solid .1px var(--color-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.s-product-card-vertical .s-product-card-wishlist-btn button {
    transition: background 0.3s, transform 0.2s;

}

.quickview-btn i {
    color: var(--one);
    opacity: .75;

}

.quickview-btn i:hover {
    opacity: 1;
}

.s-product-card-image {
    position: relative;
    overflow: visible;
}


.quickview-btn:hover,
.s-product-card-vertical .s-product-card-wishlist-btn button:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Modal */
#quickview-modal {
    position: fixed;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    justify-content: center;
    align-items: center;
    z-index: 12000;
    padding: 20px;
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);

}

#quickview-modal.open {
    display: flex;
    pointer-events: auto;
    animation: modalFadeScaleIn 0.4s ease forwards;
}


.quickview-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 26px;
    cursor: pointer;
    color: var(--one);
    z-index: 20;
    pointer-events: auto;
    transition: transform 0.3s ease, color 0.3s ease;
}

.quickview-close:hover {
    color: var(--danger);
    transform: rotate(90deg) scale(1.2);
}


/* ✅ Animation للمودال */
@keyframes modalFadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

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

@keyframes modalFadeScaleOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

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

#quickview-modal .quickview-content {
    max-width: 65vw;
    max-height: 80vh;
    overflow-y: scroll;
     background: url(https://i.gifer.com/nyh.gif);
    border-radius: 10px;
border: 2px solid var(--one);   
 transform: translateY(20px);
    transition: transform 0.5s ease;
    position: relative;
    overflow-y: scroll;
}

#quickview-modal.open .quickview-content {
    transform: translateY(0);

}

.quickview-content .section-video-bg {
    top: 0;
    left: 0;
}

.quickview-content .section-video-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 208, 204,0.7)!important;

}

#quickview-modal .quickview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 18px;
}

#quickview-modal img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

#quickview-modal .qv-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}

#quickview-modal .qv-info h3 {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    color: var(--one);
}

#quickview-modal .qv-price-div {
    color: var(--danger);
    font-weight: 700;
}

#quickview-modal .qv-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}

#quickview-modal .qv-link {
    background: var(--black);
    color: var(--two);
    width: 100%;
}

#quickview-modal .qv-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
    justify-content: space-evenly;
}

#quickview-modal .qv-desc {
    color: var(--two);
}

#quickview-modal .qv-qty-btn {
    background: var(--one);
    border: 1px solid var(--one);
    padding: 6px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

#quickview-modal .qv-qty-btn:hover {
    background: var(--three);
}

#quickview-modal .qv-qty-input {
    width: 50px;
    text-align: center;
    font-size: 16px;
    border: 1px solid var(--one);
    border-radius: 6px;
    padding: 4px;
}

#quickview-modal .quickview-addtocart {
    background: var(--one);
    color: var(--two);
}


/* responsive */
@media (max-width: 720px) {
    #quickview-modal .quickview-grid {
        grid-template-columns: 1fr;
    }
}



/* ========================
        reviews    
======================== */
.s-reviews-header {
    background-color: var(--two);
    color: var(--one);
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.2;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.s-reviews-header:hover {
    background-color: var(--two);
    color: var(--one);
    transform: scale(1.05);
}

.s-reviews-testimonial {
    background: var(--two) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.s-reviews-testimonial::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(207, 182, 2, 0.664) 0%, transparent 40%);
    animation: glassMove 12s infinite linear;
}

.s-reviews-testimonial__text {
    color: var(--one) !important;
    position: relative;
    z-index: 2;
}

@keyframes glassMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(10px, 10px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* ========================
Animations / Keyframes
======================== */

/* KEEP the second version of signalTwo (per your request) */
@keyframes signalTwo {
    0% {
        box-shadow: 0px 0px 0px var(--two) !important;
    }

    100% {
        box-shadow: 4px 4px 12px var(--two) !important;
    }
}

@keyframes signal {
    0% {
        box-shadow: 0 0 0 0 #e8cdad;
    }

    100% {
        box-shadow: 0 0 0 5px #fff;
    }
}

@keyframes signal4 {
    0% {
        transform: scale(1);
        opacity: .8;
    }

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

/* Footer logo flash & rotate */
@keyframes flash {
    0% {
        filter: drop-shadow(2px 4px 6px #504d46);
    }

    100% {
        filter: none;
    }
}

@keyframes logobg {

    0%,
    70% {
        opacity: 1;
    }

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

@keyframes logoRotate {
    0% {
        opacity: 1;
        transform: rotate(0) scale(1.1);
    }

    25% {
        opacity: .5;
    }

    50% {
        opacity: 0;
        visibility: hidden;
        transform: rotate(360deg) scale(1.1);
    }

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

/* Slide animations */
@keyframes slideFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

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

@keyframes slideFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* banner animations */

/* يمين */
@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* شمال */
@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}



/* Fade/pulse */


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

/* ========================
    Footer
    ======================== */
footer.store-footer {
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    color: var(--three);
    z-index: 1;

}

footer.store-footer .footer-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1 !important;
    pointer-events: none;
}

footer.store-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0,.1);
    z-index: 0;
    pointer-events: none;
}

footer.store-footer>* {
    position: relative;
    z-index: 1;
}

footer.store-footer>*:not(.footer-bg-video) {
    position: relative;
    z-index: 1;
}

footer.store-footer .store-footer__inner,
footer.store-footer .copyright-text,
footer.store-footer .md\:flex,
footer.store-footer .store-footer__inner * {
    position: relative;
    z-index: 2;
}

.rtl\:lg\:pl-20:where([dir=rtl], [dir=rtl] *) {
    display: none;
}

.store-footer h3 {
    color: var(--two) !important;
    padding: .5rem 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(163, 0, 0, 0.5);
    border-radius: 12px;
    display: none;
}

.s-menu-footer-list a,
salla-contacts a,
.max-w-sm,
.s-product-card-content-title a,
.s-reviews-header {
    text-align: center !important;
}

.s-menu-footer-list {
    justify-self: center;
    display: grid;
    gap: 0rem;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.s-menu-footer-item:last-child {
    margin-bottom: auto !important;
}

.store-footer__inner {
    padding-top: 0 !important;
    padding-bottom: 0px !important;
}


.store-footer .contact-social {
    border: 0;
}

.s-contacts-list-vertical {
    border-top: none;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

#contact-slot a span.s-contacts-icon {
    height: .8rem;
    width: .8rem;
    border: none;
    margin-left: 0;
}

#contact-slot a span.unicode {
    display: none;
}

footer>div.md\:flex.items-center.justify-between.py-4.container.text-center {
    width: 80%;
    flex-direction: column;
}

salla-payments {
    margin-top: 1rem;
}

.footer-logo {
    max-width: 120px;
    margin: 0 auto 20px;
    display: block;
    opacity: 0;
    transform: translateY(-20px);
    animation: logoAppear 1.2s ease forwards;
    z-index: 1;
    position: relative;
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

div.store-footer__inner>.lg\:grid-cols-6 {
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
    justify-items: center;
    display: flex !important;
    justify-content: center;
}

footer>div.store-footer__inner>div>div:nth-child(2),
footer>div.store-footer__inner>div>div:nth-child(3) {
    width: fit-content;
}


salla-contacts a,
.s-menu-footer-list a {
    color: var(--one);
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
    margin: 8px 0;
    display: block;
    white-space: nowrap;
    transition: all .3s ease;
}
#app section:nth-child(12){
    margin-top: 5rem  !important;
      aspect-ratio: 16 / 9;

}
salla-contacts a:hover,
.s-menu-footer-list a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--one);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.footer-copy {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.9;
}


/* استايل النص الجديد */
.footer-adfaz {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}


/* ========================
    Media Queries
    ======================== */
/* ==================== الموبايل ==================== */

@media (max-width: 767px) {
    .footer-logo {
        max-height: 90px;
    }

    salla-contacts {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .custom-footer video {
        object-fit: cover;
    }

    .footer-logo {
        max-width: 90px;
        margin-bottom: 8px;
    }

    .footer-adfaz {
        font-size: 13px;
    }
}

/* ==================== الديسكتوب ==================== */
@media (min-width: 768px) {
    salla-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .custom-footer {
        height: 600px;
    }

}


/* ========================
Icons & small bits
======================== */
.sicon-heart {
    color: var(--one) !important;
    position-area: center;
    width: 100%;
}

salla-cart-summary {
    margin-right: 0 !important;
}

.sicon-shopping-bag:before {
    content: "\e901";
    text-align: center;
}

i.text-base.sicon-shopping-bag:before {
    content: "\ea6e";
    text-align: center;
    color: var(--four);
    background: transparent !important;
}

.sicon-user-circle:before {
    content: "\f077";
}

.sicon-user-circle,
#s-cart-icon>i {
    color: var(--one) !important;
    background: transparent !important;
    border: none;
}

.sicon-user-circle:hover,
#s-cart-icon>i:hover {
    background: var(--three) !important;
}

.s-cart-summary-content {
    white-space: nowrap;
}

.sicon-sar:before {
    color: var(--danger);
    font-size: large;
}

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

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #fff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--two);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--one);
}


/* ========================
Category slide appearance (JS adds .appear / .show)
======================== */

.s-block,
section {
    width: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* العناصر الفردية */
section.appear:nth-child(odd) {
    animation: fadeInFromRight 0.9s ease-out forwards;
    animation-delay: 0.2s;
}

/* العناصر الزوجية */
section.appear:nth-child(even) {
    animation: fadeInFromLeft 0.9s ease-out forwards;
    animation-delay: 0.4s;
}


/* Products slider reveal classes */
.s-products-slider-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.s-products-slider-card.show {
    opacity: 1 !important;
    transform: translateY(0);
}

.s-products-slider-card.show:nth-child(odd) {
    animation: slideFromTop 0.7s ease-out forwards;
}

.s-products-slider-card.show:nth-child(even) {
    animation: slideFromBottom 0.7s ease-out forwards;
}


/* ========================
Lazy background hover (3D effect)
======================== */

.banner-entry {
    padding: 0 !important;
}

.lazy__bg {
    background-repeat: no-repeat;
    transition: transform 0.6s ease-out;
    transform-origin: center;
    perspective: 1000px;
    background-size: cover !important;
    transition: transform 0.6s ease, filter 0.6s ease;

}

.banner-entry:hover .lazy__bg {
    transform: scale(1.1);
    filter: brightness(1.5);
}

video.fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* ⏳ مدة الانتقال */
}

video.fade.active {
    opacity: 1;
}

/* ========================
FAQ (questions/answers)
======================== */
.question_content {
    width: 80%;
    margin: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* يخلي كل سطر فيه سؤالين */
    gap: 15px;
    margin-top: 20px;
    align-items: start;
    /* يخلي كل عنصر يبدأ من أعلى بدون ما يضغط اللي جنبه */
}

.question-item {
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.question:hover {
    background: #e9ecef;
}

.answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    background: #ffffff;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.answer.open {
    max-height: 300px;
    padding: 10px;
}

.question i {
    transition: transform 0.3s;
}

.question.active i {
    transform: rotate(180deg);
}


/* ========================
    video background for a section
   ======================= */

.section-video-bg {
    position: absolute;
    inset: 0;
    /* يغطي كل السكشن */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* خلف المحتوى */
    pointer-events: none;
    /* ما يمنعش الكليك */
}

.section-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    /* لو عايز فلتر شفاف */
    z-index: -1;
    pointer-events: none;
}

/* ========================
Stats Section
======================== */
.stats-section {
    text-align: center;
    background: transparent;
    margin-top: 25px;
    min-height: 50vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw;
    width: 80%;
    margin: 0 auto;
}

.stat-item {
    background: var(--three) !important;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex: 1 1 calc(33.33% - clamp(10px, 1.5vw, 20px));
    min-width: 220px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 10px 20px var(--two);
}

.icon-wrapper {
    position: relative;
    height: clamp(50px, 6vw, 60px);
    width: clamp(50px, 6vw, 60px);
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.stat-icon {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--three);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease;
}

.secondary-icon {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--one);
    opacity: 0.3;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.5s ease;
}

.stat-item:hover .stat-icon {
    transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
}

.stat-item:hover .secondary-icon {
    opacity: 0.8;
    transform: translate(-50%, -50%) rotate(0deg) scale(1.1);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--one);
    display: block;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.stat-item p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin: 0;
    font-weight: 500;
}

.stat-item::before {
    content: '';
    position: absolute;
    background: linear-gradient(to right, var(--three)) !important;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.stat-item:hover::before {
    opacity: 1;
}


/* ========================
    promoMessages bubble   
======================== */

#promoMessages-bubble {
    position: fixed;
    max-width: 250px;
    background: var(--two);
    border: 2px solid var(--one);
    color: var(--one);
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px var(--one);
    font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: default;
    z-index: 9999999;
    opacity: 0;
    transition: opacity 0.5s ease, top 0.5s ease;
    user-select: none;
}

#promoMessages-bubble.active {
    opacity: 1;
}

/* Translation Button */

.translate-wrapper {
    position: relative;
    margin: auto;
    background: var(--one);
    width: 100%;
}


.translate-button {
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100%;
    background: var(--color-primary);
}

.translate-button:hover {
    transform: scale(1.1);
}

.translate-button .translate-icon {
    scale: 1.5;
}

.translate-button .translate-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--three);
    transition: fill 0.3s ease, transform 0.2s ease;
}

.translate-menu {
    display: none;
    list-style: none;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 38px;
    left: 0;
    background: var(--black);
    border: 1px solid var(--one);
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.translate-menu.visible {
    display: block;
}

.translate-menu li {
    padding: 8px 12px;
    cursor: pointer;
    color: var(--one);
}

.translate-menu li:hover {
    background: var(--one);
    color: var(--two);
}

/* إخفاء شريط جوجل المزعج */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.skiptranslate {
    display: none !important;
}

/* ========================
Translate Toast
======================== */

#translate-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    color: var(--two);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-20px);
    z-index: 9999;
}

#translate-toast.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ========================
Scroll to top button
======================== */
.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--one);
    color: var(--three);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: opacity 0.4s;
    z-index: 9999;
}

.scroll-to-top.show {
    display: block;
}

.scroll-to-top:hover {
    opacity: 0.8;
}



/* ========================
Responsive tweaks
======================== */
@media only screen and (min-width:600px) {

    .s-menu-footer-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem;
    }

    .contact-slot {
        align-self: center;
    }

    .lg\:col-span-2 {
        grid-column: span 1/span 1;
    }


}


@media (min-width: 1024px) {
    .lg\:block {
        justify-items: center !important;
        margin-top: 1.2rem;
    }
}

@media (max-width: 1025px) {
    #mainnav>div:before {
        height: 0px;
    }

    #mainnav>div>div>div {
        justify-content: space-between;
    }

    #mainnav>div>div>div>div.flex.items-center.justify-end {
        position: static;
        justify-content: end;
    }
}

@media (max-width:1024px) {
    .s-slider-controls-outer .s-slider-block__title-nav {
        display: flex;
    }
}

@media (max-width: 426px) {
    .s-advertisement-content-main {
        font-size: .65rem;
    }

    header.store-header:before {
        font-weight: 700;
        font-size: 20px;
    }

    .s-products-slider-card {
        max-width: 7.75rem;
    }

    .s-slider-block__display-all,
    .s-product-card-content-title a {
        font-size: .5rem;
    }

    .s-button-wide,
    .s-product-card-price {
        font-size: .4rem;
    }

    .slide-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        height: 100%;
    }

    .image-link {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--one);
        border-radius: 10px;
        padding: 5px;
        overflow: hidden;
        height: 100%;
    }

    .slider-image {
        width: 90%;
        border: 3px solid var(--two);
        border-radius: 5px;
    }
}

@media (max-width: 431px) {
    .s-products-slider-card {
        max-width: 9.22rem;
    }

    .s-slider-block__display-all,
    .s-product-card-content-title a {
        font-size: .6rem;
    }

    .s-button-wide,
    .s-product-card-price {
        font-size: .5rem;
    }
}

/* End of cleaned CSS */