/* ---------------------------------------------------- */
/* كود CSS المخصص لمتجر onemoreboutiuqe.com - إصدار محسن */
/* ---------------------------------------------------- */

:root {
    /* الألوان الجديدة المستوحاة من طابع البوتيك (الوردي/البنفسجي الناعم) */
    --one: #F2A1A1; /* بنفسجي متوسط (Primary) */
    --two: #82D4FB; /* وردي ناعم (Secondary) */
    --three: #ffdfd6; /* لون فاتح جداً للخلفيات والتدرجات */
    --text-color: #333333; /* لون نص داكن لقراءة أفضل */
    --text-color-light: #ffffff; /* لون نص فاتح للخلفيات الداكنة */
    --background-color: #fcfcfc; /* خلفية شبه بيضاء نظيفة */
    --shadow-color: rgba(181, 126, 220, 0.3); /* ظل بلون بنفسجي خفيف */
    --card-gradient: linear-gradient(to bottom right, #F2A1A1, #e2a0b1, #b57edc); /* تدرج أنثوي ناعم */
    --logo: url(https://basic-settings.apps.salla.sa/_next/image?url=https%3A%2F%2Fcdn.salla.sa%2FwWljXn%2FiDpkYfpfTsfdELWT9eDB75EMWh8iDkpzV0nYATv3.png&w=256&q=75); /* تم الاحتفاظ به */
    --back: #f7f7f7; /* خلفية فاتحة */
    --back2: linear-gradient(to left, #F2A1A1, #82D4FB); /* تدرج للخلفيات الداكنة */
}

/* ---------------------------------------------------- */
/* BODY & GENERAL STYLES                                */
/* ---------------------------------------------------- */

body {
    background-color: var(--background-color);
    font-family: 'Tajawal', sans-serif; /* استخدام خط عربي عصري إن وجد */
    color: var(--text-color);
    animation: fadeIn 1s ease-in-out;
}

 ------------------------------------------------ */


.navbar-brand img {
  transform:scale(0.8);
 
}



/* ---------------------------------------------------- */
/* BANNER STYLES                                        */
/* ---------------------------------------------------- */

.banner-entry {
  
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ظل طبيعي */
    overflow: hidden;
    position: relative;
    animation: slideIn 1s ease-out;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* انتقال حيوي */
}

.banner-entry h3.text-with-border {
    border-radius: 0.2rem;
    border-style: solid;
    padding: 10px;
    /* استخدام اللون الوردي */
    color: var(--text-color-light);
    animation: textFocusIn 1s ease-out;
}


.banner-entry{
    width: 42vw;
    min-height: 100px;
  background-color: : transparent;
}


.banner--fixed img{
  
  background-color: : transparent !important; 
}
.banner-entry.square-photos.has-overlay.with-hover{

  background-color: : transparent !important;
}

.lazy__bg{
    background-size: 100% 100%;
     background-size: contain!important;
     background-repeat:no-repeat!important;
   background-color: : transparent !important;
}     


.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;
}
}
/* big banner in the top of store*/
.min-h-\[300px\]{
min-height: 95vh;
}

/* ---------------------------------------------------- */
/* PRODUCT CARD STYLES                                  */
/* ---------------------------------------------------- */

.s-product-card-entry {
    border: 1px solid var(--two);
    border-radius: 10px;
    background: var(--three); /* خلفية خفيفة للبطاقة */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    animation: zoomIn 0.6s ease-out;
}

.s-product-card-entry:hover {
    /* تأثير جذاب عند التمرير - تكبير ورفع خفيف ودوران معاكس */
    transform: scale(1.05) translateY(-3px) rotate(-0.5deg);
    box-shadow: 0 10px 25px var(--shadow-color);
}


/* ------------------------------------------------ */
/* افتراض أن هذا هو العنصر الذي يحمل النص (ملابس، عطور، إلخ) */
/* ------------------------------------------------ */
.banner-entry h3.text-with-border span {
    /* يجب استبدال هذه الفئة بالفئة الفعلية التي تحمل كلمة "ملابس" أو "عطور" */
    
    /* 1. جعل العنصر مطلق الموقع */
    position: absolute;
    
    /* 2. الإزاحة إلى الزاوية السفلية اليسرى */
    bottom: -15px; 
    left: -10px; 
    
    /* 3. إلغاء أي مواقع سابقة قد تكون في المنتصف */
    top: auto !important;
    right: auto !important;
    transform: none !important; /* إزالة أي تحويلات مركزية (مثل translate) */
    
    /* 4. تحسينات مرئية (اختياري) */
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.9); /* خلفية بيضاء شبه شفافة لقراءة أفضل */
    color: #03426f; /* نص داكن */
    border-radius: 6px;
    z-index: 10;
}

/* تأكد أن بطاقة التصنيف نفسها لديها 'position: relative' */
.slide--cat-entry {
    position: relative; 
    /* ... باقي الخصائص ... */
}

@media only screen and (max-width: 600px) {
    
    /* تعديلات على موقع النص داخل بطاقات التصنيف */
   .banner-entry h3.text-with-border span{
        /* تقليل الإزاحة لتناسب الشاشة الصغيرة */
        bottom: -10px; 
        left: -10px; 
        
        /* تصغير حجم الخط ليتناسب مع المساحة */
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    /* إذا كانت لديك فئة خاصة للنص، قد تكون هكذا: */
    .slide--cat-entry h4 {
        font-size: 0.35rem;
    }
}


/* ---------------------------------------------------- */
/* TITLE & BUTTON STYLES                                */
/* ---------------------------------------------------- */

/* عنوان متحرك بتدرج لوني */
.s-slider-block__title h2 {
    color: var(--one);
    font-size: 2rem; /* زيادة حجم الخط */
    text-align: center;
    background: linear-gradient(to right, var(--one), var(--two), #ffafcc); /* تدرج ألوان البوتيك */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto; /* لإتاحة حركة التدرج */
    animation: textFlow 4s linear infinite; /* حركة أبطأ وأكثر سلاسة */
}

/* زر "عرض الكل" (View All Button) */
.s-slider-block__display-all {
    background: var(--one);
    padding: 10px 25px;
    border-radius: 25px;
    color: var(--text-color-light);
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px rgba(181, 126, 220, 0.5); /* تأثير توهج ناعم */
    transition: all 0.3s ease;
}
.s-slider-block__display-all:hover {
        background: var(--three);
    box-shadow: 0 0 25px var(--shadow-color);
    transform: scale(1.05);
}

/* الأزرار العامة (General Buttons) */
.s-button-element:not(:disabled):not([loading]) {
    background: transparent; 
    color:#000;
    border: none;
    padding: 14px 30px; /* زيادة حجم الزر */
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: buttonPulse 2.5s infinite; /* نبض أبطأ */
}

.s-button-element:not(:disabled):not([loading]):hover {
    background: var(--two); 
  /* التغيير إلى اللون الوردي عند التمرير */
    transform: translateY(-5px); /* رفع الزر بوضوح */
    box-shadow: 0 12px 25px var(--shadow-color); /* ظل أقوى عند التمرير */
}


.navbar-brand img {
   
    width: 100%;
  height: 100%;
}

.banner--fixed img, .banner-entry {

    background-color: transparent;
   
}
.s-block--features__item {
    display: inline-block;
    background: linear-gradient(100deg, var(--one), var(--two));
    background-size: 200% 200%;
    color: transparent;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: 50px;
    opacity: 0.95;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: gradientMove 4s ease infinite, pulse 2s infinite ease-in-out;
}

.s-block--features__item:first-child {
    background-color: transparent;
}

/* ---------------------------------------------------- */
/* FOOTER STYLES                                        */
/* ---------------------------------------------------- */

.store-footer__inner {
    text-align: center !important;
    justify-content: center !important;
    width: 90%; /* عرض أوسع قليلاً */
    height: auto;
    border-width: 2px;
    border-radius: 20px;
    border-color: var(--one);
    border-style: solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: sigal 1500ms ease-in-out infinite alternate; /* تغيير الحركة لتكون سلسة */
    align-self: center !important;
    margin: 20px auto;
    background: var(--back2);
    padding: 15px;
}

/* ---------------------------------------------------- */
/* ANIMATIONS (Keyframes)                               */
/* ---------------------------------------------------- */

@keyframes textFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 8px var(--one); }
    50% { box-shadow: 0 0 25px var(--two); }
    100% { box-shadow: 0 0 8px var(--one); }
}

@keyframes sigal { /* تم تحسين الحركة لتناسب الظلال */
    0% {
        box-shadow: 0 0 10px var(--one);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 30px var(--two);
        transform: scale(1.02);
    }
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes textFocusIn {
    0% { letter-spacing: -0.5em; opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

/* ---------------------------------------------------- */
/* RESPONSIVE STYLES (Media Queries)                   */
/* ---------------------------------------------------- */

@media only screen and (max-width: 600px) {
    .s-products-slider-card { max-width: 200px; }
    .slide--cat-entry { width: 100px; height: 100px; border-radius: 50px; }
    .swiper-slide.slide--one-sixth { width: 50%; }
    .slide--cat-entry h4 { font-size: 0.8rem; }
    .slide--cat-entry i { font-size: 28px; }
    .banner-entry { width: 90%; height: auto; margin: 10px auto; }
}

@media (min-width: 600px) {
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

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

.alzaiem-copy-rights {
    
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 15px;
    margin-right: 250px;
 
}


/* Container */

.alzaiem-footer-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--one), var(--two));
    background-size: 100% 100%;
    color: white;
    font-weight: bold;
    font-size: 10px;
    padding: 4px 4px;
    border-radius: 50px;
    opacity: 0.95;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: gradientMove 4s ease infinite, pulse 2s infinite ease-in-out;
}


.alzaiem-footer-link:hover {
    transform: scale(0.7);
}


@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.1);
    }
}

.s-product-card-entry {
    position: relative; /* يجعل هذا العنصر هو المرجع للعناصر المطلقة بداخله */
    overflow: hidden;
    /* ... باقي خصائص البطاقة ... */
}


  ------------------------------------------------ */
.banner-entry h3.text-with-border span, .banner-entry p {

    
    /* 1. جعل العنصر مطلق الموقع */
    position: absolute;
    bottom: -9px; 
    left: -4px; 
    
    /* 3. إلغاء أي مواقع سابقة قد تكون في المنتصف */
    top: auto !important;
    right: auto !important;
    transform: none !important; /* إزالة أي تحويلات مركزية (مثل translate) */
     background-color: rgba(255, 255, 255, 0.9); /* خلفية بيضاء شبه شفافة لقراءة أفضل */
  
    color: var(--one); /* نص داكن */
    border-radius: 6px;
    z-index: 10;
}

/* إزالة أي خلفيات إضافية وتفعيل النبض */
.whatsapp-inline-icon {
    border-radius: 50% !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-custom-pop {
    animation: whatsappPulse 2s infinite;
}

.whatsapp-inline-icon img {
    display: block;
}

/* للموبايل: التأكد من أن الأزرار في سطر واحد مع الأيقونة */
@media only screen and (max-width: 768px) {
    .product-form-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px;
    }
}