/* ============================================
   ANIMATIONS - الحركات المتحركة
   ============================================ */

/* حركة البانر الرئيسي */
@keyframes banner-zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* حركة العناوين المتدرجة */
@keyframes title-pan {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

/* حركة نبض الأزرار */
@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 162, 83, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(200, 162, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 162, 83, 0); }
}

/* حركة توهج السعر */
@keyframes price-glow {
    0% { text-shadow: 0 0 3px rgba(229, 62, 62, 0.4); }
    50% { text-shadow: 0 0 12px rgba(229, 62, 62, 0.8); }
    100% { text-shadow: 0 0 3px rgba(229, 62, 62, 0.4); }
}

/* حركة الظهور التدريجي */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* حركة الدوران الذهبي */
@keyframes gold-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* حركة النبض للأيقونات */
@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* ============================================
   SOCIAL MEDIA GRADIENTS - ألوان السوشيال ميديا
   ============================================ */

a[href*=instagram]:not(.banner-entry) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transition: transform 0.3s ease;
}

a[href*=instagram]:not(.banner-entry):hover {
    transform: scale(1.1);
    animation: icon-bounce 0.6s ease;
}

a[href*=twitter] {
    background: linear-gradient(45deg, #00acee, #36d8ff, #00acee);
}

a[href*=snapchat] {
    background: linear-gradient(120deg, #fffc00, #fffc00);
}

a[href*=tiktok] {
    background: linear-gradient(120deg, #69c9d0, #C8A253, #ee1d52);
}

a[href*=facebook] {
    background: linear-gradient(45deg, #3776f2, #00b1f7);
}

a[href*=youtube] {
    background: linear-gradient(45deg, #580f1b, #dc2743);
}


/* ============================================
   PRODUCT CARDS - كروت المنتجات
   ============================================ */

.s-products-slider-slider .s-product-card-entry,
.s-products-list .s-product-card-entry {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

.s-products-slider-slider .s-product-card-entry:hover,
.s-products-list .s-product-card-entry:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(200, 162, 83, 0.2), 
                0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #C8A253;
}


/* ============================================
   TITLES & HEADINGS - العناوين
   ============================================ */

.s-slider-block__title h2,
.s-block__title h2 {
    font-size: 28px !important;
    font-weight: 800;
    background: linear-gradient(to right, 
                #C8A253, 
                #d4b16a, 
                #C8A253, 
                #b89443,
                #C8A253);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-pan 8s linear infinite;
    padding-bottom: 10px;
    position: relative;
}

.s-slider-block__title h2::after,
.s-block__title h2::after {
    display: none !important;
}


/* ============================================
   BUTTONS - الأزرار
   ============================================ */

.s-products-slider-slider .s-product-card-entry .s-button-primary-outline,
.s-products-list .s-product-card-entry .s-button-primary-outline {
    background: linear-gradient(135deg, #C8A253 0%, #b89443 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold;
    animation: button-pulse 2.5s infinite;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(200, 162, 83, 0.3);
}

.s-products-slider-slider .s-product-card-entry .s-button-primary-outline:hover,
.s-products-list .s-product-card-entry .s-button-primary-outline:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, #d4b16a 0%, #C8A253 100%) !important;
    animation-play-state: paused;
    box-shadow: 0 6px 20px rgba(200, 162, 83, 0.5);
}

button.tab-trigger.is-active {
    color: white !important;
    background: #C8A253 !important;
    border-color: #C8A253 !important;
    transition: all 0.3s ease;
}

button.s-product-card-wishlist-btn {
    background: #C8A253 !important;
    transition: all 0.3s ease;
}

button.s-product-card-wishlist-btn:hover {
    transform: scale(1.1);
    animation: icon-bounce 0.6s ease;
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background: transparent !important;
    color: #C8A253 !important;
    border: 2px solid #C8A253 !important;
    transition: all 0.3s ease;
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center:hover {
    background: #C8A253 !important;
    color: white !important;
}


/* ============================================
   PRICES - الأسعار
   ============================================ */

.s-products-slider-slider .s-product-card-price,
.s-products-list .s-product-card-price {
    color: #e53e3e;
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.s-products-slider-slider .s-product-card-entry:hover .s-product-card-price,
.s-products-list .s-product-card-entry:hover .s-product-card-price {
    animation: price-glow 1.5s infinite ease-in-out;
    transform: scale(1.05);
}

.flex.whitespace-nowrap.gap-4.items-center * {
    font-size: 32px;
    font-weight: 900;
    color: #e53e3e;
    animation: price-glow 2s infinite ease-in-out;
}


/* ============================================
   FOOTER - الفوتر
   ============================================ */

.store-footer__inner {
    background: linear-gradient(135deg, #1a1a1a 0%, #C8A253 100%) !important;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.store-footer__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(200, 162, 83, 0.2), 
                transparent);
    animation: gold-shimmer 3s infinite;
    pointer-events: none;
}

/* إخفاء اللوجو بصرياً مع الحفاظ على إمكانية النقر */
.store-footer__inner .grid > div:nth-of-type(1) > a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.store-footer__inner .grid > div:nth-of-type(1) > a::after {
    content: none !important;
    display: none !important;
}

.store-footer__inner .grid > div:nth-of-type(1) > a h3 {
    font-size: 0 !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

.store-footer__inner .grid > div:nth-of-type(1) > a img {
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden;
}

#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a > h3 {
    font-size: 0 !important;
    opacity: 0 !important;
    height: 0 !important;
}

footer.store-footer {
    box-shadow: 0 -5px 30px rgba(200, 162, 83, 0.3);
}

.store-footer h3 {
    background: rgba(200, 162, 83, 0.2);
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(200, 162, 83, 0.3);
    transition: all 0.3s ease;
}

.store-footer h3:hover {
    background: rgba(200, 162, 83, 0.3);
    transform: translateY(-2px);
}

.store-footer a {
    transition: all 0.3s ease;
    font-size: 18px;
}

.store-footer a:hover {
    color: #C8A253 !important;
    transform: translateX(5px);
}

.copyright-text p {
    color: white !important;
}

li.s-social-link {
    background: #C8A253;
    border-radius: 20px;
    transition: all 0.3s ease;
}

li.s-social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(200, 162, 83, 0.4);
}

.s-social-link a svg {
    width: 17px;
    fill: currentColor;
}

.flex.rtl\:space-x-reverse.space-x-2.items-end,
salla-social.s-social-list.hydrated,
a.flex.items-center.m-0 {
    justify-content: center !important;
}

salla-contacts.s-contacts.hydrated {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

ul.s-social-list {
    justify-content: center;
}


/* ============================================
   BANNER - البانر
   ============================================ */

.s-block.s-block--fixed-banner.wide-placeholder {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.s-block.s-block--fixed-banner.wide-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    animation: banner-zoom 20s ease-in-out infinite;
}

.s-block--fixed-banner .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}


/* ============================================
   NAVBAR - القائمة العلوية
   ============================================ */

.navbar-brand img {
    max-height: 4rem;
    max-width: 100px;
    width: auto;
    transition: all 0.3s ease;
}

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

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 79px;
}


/* ============================================
   UTILITIES - أدوات مساعدة
   ============================================ */

.s-menu-topnav-list {
    display: none;
}

.floating-wpp .floating-wpp-button {
    top: -172px !important;
}

salla-advertisement.hydrated {
    display: none;
}

.bg-white.py-2\.5.mb-5.rounded-md.inline-flex.text-sm {
    display: none;
}

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


/* ============================================
   MOBILE RESPONSIVE - الموبايل
   ============================================ */

@media (max-width: 768px) {
    .s-products-slider-slider .s-products-slider-card.swiper-slide {
        width: 55% !important;
        min-width: 0 !important;
    }

    .s-products-list-wrapper.s-products-list-vertical-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .s-slider-block__title h2,
    .s-block__title h2 {
        font-size: 22px !important;
    }
}

@media only screen and (max-width: 600px) {
    .gap-8 {
        gap: 1rem;
    }

    .s-payments-list {
        flex-wrap: nowrap;
    }

    .footer-is-light .store-footer .store-footer__inner {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }

    .md\:flex.items-center.justify-between.py-4.container.text-center {
        background: linear-gradient(135deg, #1a1a1a 0%, #C8A253 100%);
    }

    .container.grid.grid-col-1.lg\:grid-cols-6.gap-8.lg\:gap-6 {
        gap: 26px;
    }

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


/* ============================================
   DESKTOP RESPONSIVE - الديسكتوب
   ============================================ */

@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: 1fr 1fr 1fr;
    }

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


/* ============================================
   SMOOTH TRANSITIONS - انتقالات سلسة
   ============================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, button, img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تحسين الأداء */
.s-product-card-entry,
.s-slider-block__title h2,
button {
    will-change: transform;
}