/* Add custom CSS styles below */


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

body {
    font-family: "Changa", sans-serif !important;
    font-optical-sizing: auto;

    font-style: normal;
}


.s-reviews-header,
.s-slider-block__title-right h2,
section.s-block.s-block--banners.container h2 {
    text-align: center !important;


    width: 100%;
    font-size: 1.4rem;
    padding: 0px;


    font-weight: bold !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #dcbc62;
}








/* Nav Bar */
salla-advertisement.hydrated {
    display: none !important;
}

body.index .store-header {
    position: initial !important;
}





/* ===== أنيميشن اهتزاز اللوجو ===== */
@keyframes hvr-wobble-top {
    16.65% {
        transform: skew(-12deg);
    }

    33.3% {
        transform: skew(10deg);
    }

    49.95% {
        transform: skew(-6deg);
    }

    66.6% {
        transform: skew(4deg);
    }

    83.25% {
        transform: skew(-2deg);
    }

    100% {
        transform: skew(0);
    }
}

.navbar-brand img,
img[alt*="logo"],
img[alt*="سجودي"] {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    transform-origin: 0 100%;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover,
.navbar-brand img:focus,
img[alt*="logo"]:hover {
    animation-name: hvr-wobble-top;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}









/* المنتجات */
i.sicon-heart + span {
    display: none !important;
}
.s-product-card-sale-price h4{
  color:rgba(153, 27, 27, var(--tw-bg-opacity, 1)) !important;

}
.s-button-text {
    font-size: 13px !important;
    /* text-shadow: 1px 1px 1px #000; */
}

/* ===== توحيد ارتفاع البطاقات ===== */
.swiper-wrapper.s-slider-swiper-wrapper {
    align-items: stretch !important;
}

.swiper-slide.s-products-slider-card {
    height: auto !important;
    display: flex !important;
}

.swiper-slide.s-products-slider-card custom-salla-product-card,
custom-salla-product-card.s-product-card-entry {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

.swiper-slide.s-products-slider-card custom-salla-product-card > div,
custom-salla-product-card.s-product-card-entry > div {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* ===== 🖼️ الصورة: تثبيت النسبة ===== */
custom-salla-product-card.s-product-card-entry .s-product-card-image {
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    position: relative !important;
}

custom-salla-product-card.s-product-card-entry .s-product-card-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

custom-salla-product-card.s-product-card-entry .s-product-card-image img,
custom-salla-product-card.s-product-card-entry .s-product-card-image-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ===== المحتوى ===== */
custom-salla-product-card.s-product-card-entry .s-product-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* ===== العنوان: سطران ثابتان ===== */
custom-salla-product-card.s-product-card-entry .s-product-card-content-main {
    flex: 0 0 auto !important;
    min-height: 48px !important;
}

custom-salla-product-card.s-product-card-entry .s-product-card-content-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ===== السعر والتقييم ===== */
custom-salla-product-card.s-product-card-entry .s-product-card-content-sub {
    flex: 0 0 auto !important;
}

/* ===== الفوتر: الزر دائماً في الأسفل ===== */
custom-salla-product-card.s-product-card-entry .s-product-card-content-footer {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
   
}




/* sections */

/* titles in sections */
section.s-block.s-block--banners.container>.s-block__title {
    justify-content: center !important;
}




/* البطاقة الأساسية */
section.s-block--banners .banner-entry.square-photos {
    display: block !important;
    position: relative !important;
    overflow: visible !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 6px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    box-shadow: 2px 2px 4px #ccc,
        -2px -2px 4px #ccc,
        -2px 2px 4px #ccc,
        2px -2px 4px #ccc !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
}

/* إزالة اللمعة والطبقة الداكنة والـ shine */
section.s-block--banners .banner-entry.square-photos::before,
section.s-block--banners .banner-entry.square-photos::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

/* عند المرور: تصغير + ظل ذهبي */
section.s-block--banners .banner-entry.square-photos:hover {
    transform: scale(0.95) !important;
    box-shadow: 2px 2px 4px #dcbc62,
        -2px -2px 4px #dcbc62,
        -2px 2px 4px #dcbc62,
        2px -2px 4px #dcbc62 !important;
}

section.s-block--banners .banner-entry.square-photos:active {
    transform: scale(0.92) !important;
}

/* الخلفية داخل البطاقة */
section.s-block--banners .banner-entry.square-photos .lazy__bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 6px !important;
    transition: filter 0.25s ease !important;
}

section.s-block--banners .banner-entry.square-photos:hover .lazy__bg {
    filter: brightness(1.05) !important;
}

/* إخفاء أي عنوان داخل البطاقة */
section.s-block--banners .banner-entry.square-photos h2,
section.s-block--banners .banner-entry.square-photos figcaption {
    display: none !important;
}



/* ===== الموبايل: عنصران في السطر ===== */
/* ========== الموبايل: عنصران في السطر ========== */
@media (max-width: 767px) {
    .grid.two-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .grid.two-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
}

/* ========== التابلت: 3 عناصر في السطر ========== */
@media (min-width: 768px) and (max-width: 991px) {
    .grid.two-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 32px !important;
    }
    
    .grid.two-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 64px) / 3) !important;
        max-width: calc((100% - 64px) / 3) !important;
    }
}

/* ========== اللابتوب والشاشات الكبيرة: 6 عناصر في السطر ========== */
@media (min-width: 992px) {
    .grid.two-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 32px !important;
    }
    
    .grid.two-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 160px) / 6) !important;
        max-width: calc((100% - 160px) / 6) !important;
    }
}
/* ========== الموبايل: عنصران في السطر ========== */
@media (max-width: 767px) {
    section.s-block--banners .grid.one-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    section.s-block--banners .grid.one-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
}

/* ========== التابلت: 3 عناصر في السطر ========== */
@media (min-width: 768px) and (max-width: 991px) {
    section.s-block--banners .grid.one-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 32px !important;
    }
    
    section.s-block--banners .grid.one-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 64px) / 3) !important;
        max-width: calc((100% - 64px) / 3) !important;
    }
}

/* ========== اللابتوب: عناصر بحجم 1/6 (نفس الأقسام السابقة) ========== */
@media (min-width: 992px) {
    section.s-block--banners .grid.one-row.md\:grid-cols-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 32px !important;
    }
    
    section.s-block--banners .grid.one-row.md\:grid-cols-3 > .banner-entry {
        flex: 0 0 calc((100% - 160px) / 6) !important;
        max-width: calc((100% - 160px) / 6) !important;
    }
}


/* مزايا المتجر */
.feature-icon {
    border: 2px solid #dcbc62;
    background: white !important;
    transition: 0.3s all linear;
    box-shadow: 1px 1px 1px #dcbc62, -1px -1px 1px #dcbc62, -1px 1px 1px #dcbc62, 1px -1px 1px #dcbc62 !important;
}


.feature-icon i {
    opacity: 0.85;
    font-weight: bold !important;
    color: #dcbc62 !important
}









/* foooter */




/* =========================================================
   تعديلات الفوتر - النسخة المُعدَّلة للثيم الجديد
   ========================================================= */

/* ===== عام ===== */
footer.store-footer {
    overflow-x: hidden;
}

/* ===== العناوين (روابط مهمة / تواصل معنا) ===== */
footer.store-footer h3,
footer.store-footer .s-contacts-title {
    border: 0;
    text-align: center;
    background: #f5f7f9;
    padding: 8px 0;
    border-radius: 3px 20px 3px 20px !important;
    box-shadow: 1px 1px 3px #dcbc62,
        -1px -1px 3px #dcbc62,
        -1px 1px 3px #dcbc62,
        1px -1px 3px #dcbc62 !important;
    margin-bottom: 25px;
    font-weight: bold;
    color: #444;
}

@media (min-width: 1024px) {
    footer>.store-footer__inner.container.text-center.md\:text-right>.grid.grid-col-1.lg\:grid-cols-5.gap-8.lg\:gap-6 {

        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ===== محتوى "من نحن" (الفقرة التعريفية) ===== */
footer.store-footer p.max-w-sm {
    text-align: center;
    padding: 0 20px;
    margin: 15px auto 25px;
    line-height: 1.8;
}

/* ===== الشعار ===== */
footer.store-footer a.flex img {
    max-width: 210px;
    transition: transform 0.3s ease;
}

footer.store-footer a.flex:hover img {
    transform: scale(1.03);
}

/* ===== قائمة روابط الفوتر ===== */
footer.store-footer .s-menu-footer-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 15px !important;
}

footer.store-footer .s-menu-footer-item {
    margin-bottom: 0px !important;
    padding: 0px 3px !important;

    color: inherit;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.7;
}

footer.store-footer .s-menu-footer-item:hover {
    color: #000 !important;
    font-weight: bold;
    letter-spacing: 0.65px;
}

/* ===== قائمة التواصل ===== */
footer.store-footer .s-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px !important;
    align-items: center;
}

footer.store-footer .s-contacts-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 14px;
}

footer.store-footer .s-contacts-item:hover {
    color: #000 !important;
    font-weight: bold;
    letter-spacing: 1.5px;
}

footer.store-footer .s-contacts-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

footer.store-footer .s-contacts-item:hover .s-contacts-icon svg {
    transform: scale(1.2);
}

/* ===== أيقونات السوشيال (استبدال بأيقونات ملونة) ===== */
footer.store-footer .s-social-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 0;
}

footer.store-footer .s-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 1px 1px 4px rgba(220, 188, 98, 0.6),
        -1px -1px 4px rgba(220, 188, 98, 0.6) !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

footer.store-footer .s-social-link a:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 2px 2px 8px rgba(220, 188, 98, 0.9),
        -2px -2px 8px rgba(220, 188, 98, 0.9) !important;
}

/* أيقونة السوشيال داخل الرابط */
footer.store-footer .s-social-icon svg {
    width: 24px !important;
    height: 24px !important;
    transition: fill 0.3s ease;
}

/* ألوان مخصصة لكل منصة */
footer.store-footer .s-social-link a[title="instagram"] svg {
    fill: #E4405F;
}

footer.store-footer .s-social-link a[title="twitter"] svg {
    fill: #000;
}

footer.store-footer .s-social-link a[title="snapchat"] svg {
    fill: #FFFC00;
}

footer.store-footer .s-social-link a[title="youtube"] svg {
    fill: #FF0000;
}

footer.store-footer .s-social-link a[title="facebook"] svg {
    fill: #1877F2;
}

footer.store-footer .s-social-link a[title="tiktok"] svg {
    fill: #000;
}

/* ===== الفوتر السفلي (الحقوق + المدفوعات) ===== */
footer.store-footer .md\:flex.items-center.justify-between.py-4.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
}

footer.store-footer .copyright-text {
    font-weight: bold;
    text-shadow: 0.5px 0.5px 0.5px #dcbc62;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

footer.store-footer .copyright-text a {
    color: #dcbc62;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer.store-footer .copyright-text a:hover {
    color: #000;
}

/* ===== قائمة المدفوعات ===== */
footer.store-footer .s-payments-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

footer.store-footer .s-payments-list-item {
    transform: scale(0.9) !important;
    transition: transform 0.3s ease;
}

footer.store-footer .s-payments-list-item:hover {
    transform: scale(1) !important;
}

/* ===== أنيميشن "buzz" للعناصر عند المرور ===== */
@keyframes hvr-buzz-out {
    10% {
        transform: translateX(3px) rotate(2deg);
    }

    20% {
        transform: translateX(-3px) rotate(-2deg);
    }

    30% {
        transform: translateX(3px) rotate(2deg);
    }

    40% {
        transform: translateX(-3px) rotate(-2deg);
    }

    50% {
        transform: translateX(2px) rotate(1deg);
    }

    60% {
        transform: translateX(-2px) rotate(-1deg);
    }

    70% {
        transform: translateX(2px) rotate(1deg);
    }

    80% {
        transform: translateX(-2px) rotate(-1deg);
    }

    90% {
        transform: translateX(1px) rotate(0);
    }

    100% {
        transform: translateX(-1px) rotate(0);
    }
}

footer.store-footer .s-social-link a:hover {
    animation: hvr-buzz-out 0.75s linear 1;
}

/* ===== موبايل ===== */
@media screen and (max-width: 576px) {
    footer.store-footer .s-social-list {
        padding: 10px 0;
        gap: 8px;
    }

    footer.store-footer .s-social-link a {
        width: 40px !important;
        height: 40px !important;
    }

    footer.store-footer .s-social-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    footer.store-footer h3,
    footer.store-footer .s-contacts-title {
        font-size: 15px;
        padding: 6px 0;
    }

    footer.store-footer .s-menu-footer-item {
        font-size: 13px;
    }
}

/* ===== لابتوب (تخطيط عمودي منطقي) ===== */
@media (min-width: 992px) {
    footer.store-footer .grid.lg\:grid-cols-5 {
        align-items: start;
    }

    footer.store-footer .s-menu-footer-list,
    footer.store-footer .s-contacts-list {
        align-items: flex-start;
    }

    footer.store-footer .s-menu-footer-item {
        text-align: right;
    }
}

footer.store-footer a.flex.items-center.justify-center.md\:justify-start.md\:m-0 {
    margin: auto;
    justify-content: center;
    align-items: center;
}

footer.store-footer .copyright-text a,
.copyright-text p {
    color: black !important;
}



/* صفحة المنتجات *//* تفعيل الترتيب المرن */
.main-content {
    display: flex;
    flex-direction: column;
}

/* 1) اسم المنتج أولاً */
.main-content > h1 {
    order: 1;
}

/* 2) السعر ثانياً */
.main-content > div.flex.whitespace-nowrap.gap-4.items-center.mb-4 {
    order: 2;
}

/* 3) التقييمات */
.main-content > salla-rating-stars {
    order: 3;
}

/* 4) الوصف */
.main-content > div.product__description {
    order: 4;
}

/* 5) الوسوم / التاجات */
.main-content > div.mb-3 {
    order: 5;
}

/* 6) رقم الموديل */
.main-content > div.mb-4.flex.justify-between.sm\:grid.sm\:grid-cols-3 {
    order: 6;
}

/* 7) cashback + hook */
.main-content > salla-cashback-banner {
    order: 7;
}

.main-content > salla-hook[name="product:single.description"] {
    order: 8;
}

/* 9) التقسيط (تمارا) */
.main-content > salla-installment {
    order: 9;
}

/* 10) الفورم (الإضافة للسلة) */
.main-content > form.product-form {
    order: 10;
}

/* 11) الشحن */
.main-content > div.flex.items-center.gap-2.mb-4 {
    order: 11;
}

/* 12) وسائل الدفع */
.main-content > salla-payments {
    order: 12;
}

/* 13) البديل عند نفاذ المخزون */
.main-content > section.s-block--bundle-out-of-stock-alternative {
    order: 13;
}

/* 14) اشترِ معاً */
.main-content > salla-bought-together {
    order: 14;
}

/* 15) التقييمات الموثقة */
.main-content > salla-verified-review {
    order: 15;
}

/* 16) hook النهاية */
.main-content > salla-hook[name="product:single.description.end"] {
    order: 16;
}

/* 17) الطلب السريع */
.main-content > salla-quick-order {
    order: 17;
}

.app-inner .container.product__description.p-2.px-5.sm\:p-1.leading-7.mb-3 {
    display: none !important;
}

/* إخفاء زر "اقرأ المزيد" */
#btn-show-more {
    display: none !important;
}

/* إلغاء القيد على ارتفاع المقال حتى يظهر المحتوى كاملاً */
#more-content {
    max-height: none !important;
    overflow: visible !important;
}