/*
Theme Name: Sahali Store
Theme URI: https://digitalboostdz.com/sahali
Author: Digital Boost DZ
Author URI: https://digitalboostdz.com
Description: Theme boutique e-commerce professionnelle – Paiement à la livraison (COD)
Version: 2.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sahali-store
Tags: e-commerce, woocommerce, rtl-language-support, right-to-left, custom-logo, custom-menu
*/

/* =========================================
   1. المتغيرات (Variables)
   ========================================= */
:root {
    --primary-color: #259bea;
    --secondary-color: #ffdf86;
    --success-color: #25D366;
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e5e5e5;
    --font-main: 'Cairo', sans-serif;
    --transition: all 0.3s ease;
}

/* =========================================
   2. إعادة التعيين (Reset)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    font-family: var(--font-main);
    background-color: #fcfcfc;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   3. الشريط العلوي المتحرك (CSS Animation)
   ========================================= */
.top-bar {
    background-color: #1a7fc1;
    color: #ffffff;
    height: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1050;
}

.top-bar-track {
    display: flex;
    flex-direction: column;
    animation: topbar-scroll 12s infinite;
}

.top-bar-slide {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 8px;             
    direction: rtl;      
}

.top-bar-text {
    font-size: 16px;
    letter-spacing: 0.5px;
}

@keyframes topbar-scroll {
    0%         { transform: translateY(0); }
    2%         { transform: translateY(0); }
    25%        { transform: translateY(0); }
    
    27%        { transform: translateY(-40px); }
    50%        { transform: translateY(-40px); }
    
    52%        { transform: translateY(-80px); }
    75%        { transform: translateY(-80px); }
    
    77%        { transform: translateY(-120px); }
    99.99%     { transform: translateY(-120px); }
    100%       { transform: translateY(0); }
}

/* =========================================
   4. الهيدر (Header)
   ========================================= */
.main-header {
    background: var(--white);
    padding: 15px 0;
    z-index: 1000;
    position: sticky;
    top: 0;
    border-bottom: none;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.logo {
    justify-self: start;
}

.logo img,
.footer-col img {
    max-height: 50px;
    width: auto;
}

.main-nav {
    justify-self: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.left-section {
    justify-self: end;
}

.header-actions {
    display: flex;
    gap: 30px;
}

.icon-btn {
    font-size: 18px;
    position: relative;
}

.mobile-toggle {
    display: none;
}

#site-search {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    transition: all 0.3s ease;
}

/* =========================================
   أيقونات SVG
   ========================================= */
.icon-svg {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    flex-shrink: 0;
}

.icon-btn .icon-svg {
    width: 20px;
    height: 20px;
}

.social-links .icon-svg {
    width: 20px;
    height: 20px;
}

.floating-call .icon-svg {
    width: 28px;
    height: 28px;
}

/* =========================================
   5. قسم السلايدر (Slider)
   ========================================= */
.slider-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.mainSwiper {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* أسهم السلايدر */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(37, 155, 234, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 155, 234, 0.4);
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: scale(0.95);
    background: rgba(37, 155, 234, 0.8);
}

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev {
    left: 15px;
}

/* =========================================
   6. قسم المنتجات (Products Grid)
   ========================================= */
.section {
    padding: 60px 0;
}

.products-section {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #000;
    display: inline-block;
    border-bottom: 5px solid #7dd3fc;
    padding-bottom: 5px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.category-tag {
    font-size: 16px;
    color: #f5a623;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-weight: 800;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
}

.product-price ins {
    color: #259bea;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
}

.product-price del {
    color: #ff0000;
    font-size: 15px;
    font-weight: 700;
    text-decoration: line-through;
    white-space: nowrap;
}

.product-price .screen-reader-text {
    display: none;
}

.product-price span.amount {
    display: inline;
}

.product-card .btn-buy-now {
    display: block;
    width: 100%;
    text-align: center;
    background: #259bea;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    margin-top: auto;
    border: none;
}

.product-card .btn-buy-now:hover {
    background: #1a7eb8;
}

/* =========================================
   7. قسم البانرات (Banners / Categories)
   ========================================= */
.banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.banner-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 155, 234, 0.15);
}

.banner-item.large {
    grid-column: span 2;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(37, 155, 234, 0.3),
        0 10px 20px rgba(37, 155, 234, 0.15);
}

.banner-item:hover img {
    transform: scale(1.03);
}

.banner-item:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 155, 234, 0.25);
}

/* =========================================
   8. قسم تسوق حسب ميزانيتك (Budget Section)
   ========================================= */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.budget-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 155, 234, 0.2);
}

.budget-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.budget-card .budget-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
    width: calc(100% - 40px);
}

.budget-card .budget-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.budget-card .btn-arrow {
    font-size: 14px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    display: inline-block;
}

.budget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 155, 234, 0.35);
}

.budget-card:hover img {
    transform: scale(1.05);
}

.budget-card:hover .budget-content h3 {
    transform: translateY(-5px);
}

.budget-card:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   9. قسم اتصل بنا (Contact Section)
   ========================================= */
.contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    gap: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 155, 234, 0.5);
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-text p {
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-contact {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #1a7fc1;
}

/* =========================================
   10. الفوتر (Footer)
   ========================================= */
.main-footer {
    position: relative;
    background: #fff;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.footer-col img {
    margin-bottom: 15px;
    max-width: 150px;
    height: auto;
    display: block;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid;
    font-size: 20px;
    transition: all 0.35s ease;
}

.social-links a.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.social-links a.facebook:hover {
    background: #1877f2;
    color: #fff;
    transform: translateY(-4px);
}

.social-links a.tiktok {
    border-color: #000;
    color: #000;
}

.social-links a.tiktok:hover {
    background: #000;
    color: #fff;
    transform: translateY(-4px);
}

.social-links a.instagram {
    border: 2px solid transparent;
    color: #e1306c;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(45deg, #feda75, #d62976, #962fbf) border-box;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf);
    color: #fff;
    transform: translateY(-4px);
}

.copyrights {
    background: #ffffff;
    color: #666666;
    text-align: center;
    padding: 12px 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 -4px 20px rgba(37, 155, 234, 0.25);
}

/* =========================================
   11. العناصر العائمة (Floating Elements)
   ========================================= */
@keyframes phone-shake {
    0% { transform: rotate(0) scale(1); }
    5% { transform: rotate(10deg) scale(1.1); }
    10% { transform: rotate(-10deg) scale(1.1); }
    15% { transform: rotate(10deg) scale(1.1); }
    20% { transform: rotate(-10deg) scale(1.1); }
    25% { transform: rotate(0) scale(1); }
    100% { transform: rotate(0) scale(1); }
}

.floating-call {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #00f234;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: phone-shake 3s infinite ease-in-out;
    transform-origin: center;
    will-change: transform;
}

.floating-call:hover {
    animation: none;
    transform: scale(1.1);
}

/* =========================================
   12. إمكانية الوصول (Accessibility)
   ========================================= */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================================
   13. صندوق البحث المنسدل (Search Dropdown)
   ========================================= */
.search-wrapper {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.search-dropdown input {
    width: 280px;
    padding: 12px 18px;
    font-size: 15px;
    font-family: var(--font-main);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    outline: none;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-dropdown input:focus {
    border-color: #1a7eb8;
    box-shadow: 0 8px 30px rgba(37, 155, 234, 0.25);
}

.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--white);
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: translateX(-50%) rotate(-45deg);
    z-index: 2001;
}

/* =========================================
   14. التجاوب - شاشات كبيرة (min-width: 992px)
   ========================================= */
@media (min-width: 992px) {
    .main-footer {
        padding-top: 50px;
        box-shadow: 0 -8px 35px rgba(0, 0, 0, 0.12);
    }
}

/* =========================================
   15. التجاوب - الموبايل (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- BODY --- */
    body {
        padding-bottom: 0;
    }

    /* --- الهيدر --- */
    .main-header {
        height: 70px;
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
    }

    .header-container {
        position: relative;
        height: 100%;
        width: 100%;
    }

    /* --- اللوغو --- */
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
        margin: 0;
        line-height: 0;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    /* --- القائمة المنزلقة (Mobile Menu - White Glass) --- */
    .main-nav {
    display: block;
    position: fixed;
    top: 110px;
    right: -120%;
    z-index: 990;
    width: auto;
    min-width: 220px;
    max-width: 80%;
    padding: 20px 0 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom-left-radius: 20px;
    box-shadow:
        -6px 12px 30px rgba(0, 0, 0, 0.06),
        0 8px 25px rgba(37, 155, 234, 0.2),
        0 15px 40px rgba(37, 155, 234, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        rgba(37, 155, 234, 0.5),
        var(--primary-color),
        rgba(37, 155, 234, 0.5),
        transparent
    );
    border-radius: 3px;
}

.main-nav.active {
    right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
    margin: 0;
}

.main-nav ul li {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(37, 155, 234, 0.1);
}

.main-nav ul li:last-child {
    border-bottom: none;
}

.main-nav ul li a {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    display: block;
    transition: 0.25s ease;
    white-space: nowrap;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
    padding-right: 6px;
}

    /* --- أزرار الهيدر --- */
    .left-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        direction: ltr;
        pointer-events: none;
        z-index: 1002;
    }

    .mobile-toggle,
    .header-actions {
        pointer-events: auto;
    }

    /* --- زر القائمة 3D --- */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: linear-gradient(145deg, #f8f9fa, #e8ecef);
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
        gap: 5px;
        box-shadow:
            3px 3px 6px rgba(0, 0, 0, 0.1),
            -2px -2px 5px rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
        font-size: 0;
    }

    .mobile-toggle span {
        display: block;
        width: 20px;
        height: 2.5px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        transform-origin: center;
    }

    .mobile-toggle span:nth-child(2) {
        width: 14px;
    }

    .mobile-toggle:active {
        box-shadow:
            1px 1px 3px rgba(0, 0, 0, 0.1),
            -1px -1px 2px rgba(255, 255, 255, 0.5);
        transform: scale(0.95);
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-toggle.open {
        background: linear-gradient(145deg, #e8f4fd, #d4ecfb);
        border-color: var(--primary-color);
    }

    .header-actions {
        display: flex;
    }

    /* --- البحث في الموبايل --- */
    .search-dropdown {
        position: fixed;
        top: 75px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 400px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .search-dropdown.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .search-dropdown input {
        width: 100%;
    }

    .search-dropdown::before {
        display: none;
    }

    /* --- السلايدر --- */
    .mainSwiper {
        height: 300px;
    }

    /* --- المنتجات --- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* --- البانرات --- */
    .banners-grid {
        grid-template-columns: 1fr;
    }

    .banner-item.large {
        grid-column: span 1;
    }

    .banner-item {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(37, 155, 234, 0.2);
    }

    .banner-item img {
        border-radius: 12px;
    }

    .banner-item:active {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(37, 155, 234, 0.35);
    }
    
    /* --- العناوين الرئيسية في الهاتف --- */
.section-header h2 {
    font-size: 22px;
    border-bottom: 3px solid #7dd3fc;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 13px;
}

.section-header {
    margin-bottom: 25px;
}

/* --- الميزانية في الهاتف --- */
.budget-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 30px;
}

.budget-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- أسهم السلايدر في الهاتف --- */
.swiper-button-next,
.swiper-button-prev {
    width: 34px;
    height: 34px;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 12px;
    height: 12px;
}

.swiper-button-next {
    right: 8px;
}

.swiper-button-prev {
    left: 8px;
}

/* --- أسعار وعناوين المنتجات في الهاتف --- */
.product-price ins {
    font-size: 17px;
}

.product-price del {
    font-size: 13px;
}

/* --- ترتيب الأسعار في الهاتف --- */
.product-price {
    flex-direction: column;
    gap: 2px;
}

.product-title {
    font-size: 14px;
    height: 42px;
}
    

    /* --- اتصل بنا --- */
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        padding: 20px;
    }

    .contact-card img {
        width: 100%;
        max-width: 380px;
        height: auto;
    }

    .contact-text {
        align-items: center;
    }

    /* --- الفوتر --- */
    .main-footer {
        padding-top: 45px;
        border-top: 3px solid #e0e0e0;
        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.12);
        position: relative;
        padding-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .copyrights {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 800;
}
    
    /* --- أنيماشن بطاقات الميزانية --- */
@keyframes budget-pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.budget-card {
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(37, 155, 234, 0.2);
}
.budget-card:nth-child(2) {
    animation-delay: 1s;
}

.budget-card:nth-child(3) {
    animation-delay: 2s;
}

.budget-card:active {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 155, 234, 0.3);
}

.budget-card:hover {
    animation: none;
}
    
    /* --- تقليل المسافات بين الأقسام --- */
.section {
    padding: 35px 0;
}

.slider-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* --- تصغير زر الواتساب --- */
.floating-call {
    width: 48px;
    height: 48px;
    bottom: 20px;
    left: 15px;
}

.floating-call .icon-svg {
    width: 22px;
    height: 22px;
}

}
