/* ===== ONE TOOL - STYLE.CSS ===== */
/* Brand Colors: Blue #1A3FD8, Green #8DC63F, Gray #F0F0F0 */

:root {
    --primary: #1A3FD8;
    --primary-dark: #1230a8;
    --primary-light: #4a6be8;
    --accent: #8DC63F;
    --accent-dark: #6fa030;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --gray-mid: #e0e0e0;
    --gray-dark: #555555;
    --text-dark: #1a1a2e;
    --text-mid: #444444;
    --shadow: 0 8px 30px rgba(26, 63, 216, 0.12);
    --shadow-hover: 0 16px 40px rgba(26, 63, 216, 0.22);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Poppins', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="ltr"] body { font-family: var(--font-en); }

body {
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 198, 63, 0.4);
}
.cta-button.outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.cta-button.outline:hover {
    background: var(--primary);
    color: var(--white);
}
.cta-button.full-width { width: 100%; justify-content: center; }
.cta-button.whatsapp-btn { background: #25d366; }
.cta-button.whatsapp-btn:hover { background: #1da851; box-shadow: 0 8px 20px rgba(37,211,102,0.4); }
.cta-button.email-btn { background: var(--primary); }
.cta-button.email-btn:hover { background: var(--primary-dark); }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(26, 63, 216, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(26, 63, 216, 0.2);
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.section-header p { font-size: 1.1rem; color: var(--gray-dark); max-width: 600px; margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
/* تنسيق شعار الصورة */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px; /* المسافة بين الصورة والنص */
    cursor: pointer;
}

.logo-img {
    height: 45px; /* يمكنك التحكم في حجم الشعار من هنا */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* تحسين مظهر النص بجانب الشعار */
.logo-text {
    display: flex;
    align-items: center;
}

/* عند تصغير الشاشة (وضع الهاتف) */
@media (max-width: 768px) {
    .logo-img {
        height: 35px; /* تصغير الشعار قليلاً في الهواتف */
    }
    .logo-text {
        display: none; /* اختيارياً: إخفاء النص في الهواتف والاكتفاء بالصورة */
    }
}

.navbar.scrolled .logo-one { color: var(--primary); }
.navbar:not(.scrolled) .logo-one { color: var(--white); }
.navbar:not(.scrolled) .logo-tool { color: var(--white); }
.navbar:not(.scrolled) .logo-star { color: var(--accent); }

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--white);
}
.navbar.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover { background: rgba(141, 198, 63, 0.2); color: var(--accent) !important; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Cart Icon */
.cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--white);
}
.navbar.scrolled .cart-icon { background: var(--gray-light); color: var(--text-dark); }
.cart-icon:hover { background: var(--accent); color: var(--white) !important; }
#cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lang Button */
.lang-btn, .lang-btn-mobile {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    font-family: inherit;
}
.navbar.scrolled .lang-btn { background: var(--primary); color: var(--white); border-color: var(--primary); }
.lang-btn:hover { background: var(--accent); border-color: var(--accent); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Lang Item */
.mobile-lang-item { display: none; }
.lang-btn-mobile {
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.slider-wrapper { position: relative; height: 100%; }
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-content {
    color: var(--white);
    max-width: 800px;
    padding: 20px;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease;
}
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.slide-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}
.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 36px;
    opacity: 0.9;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
}
.slider-nav:hover { background: var(--accent); border-color: var(--accent); }
html[dir="rtl"] .prev { right: 24px; }
html[dir="rtl"] .next { left: 24px; }
html[dir="ltr"] .prev { left: 24px; }
html[dir="ltr"] .next { right: 24px; }
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
/* ===== HERO SLIDER (FIXES) ===== */

/* الصورة داخل السلايد */
.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* طبقة التظليل (Overlay) */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1;
}

/* اجعل محتوى السلايد فوق الـ overlay */
.slide-content {
    position: relative;
    z-index: 2;
}

/* تحسين إظهار/إخفاء السلايدات */
.slide {
    visibility: hidden;
    pointer-events: none;
    will-change: opacity;
}

.slide.active {
    visibility: visible;
    pointer-events: auto;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--primary);
    padding: 40px 0;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px;
}
.stat-item i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 900; }
.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* ===== ABOUT ===== */
.about-section { padding: 100px 0; background: var(--gray-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image { position: relative; }
.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-badge-float {
    position: absolute;
    bottom: -20px;
    left: 30px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow);
}
html[dir="ltr"] .about-badge-float { left: auto; right: 30px; }
.about-content { padding: 20px 0; }
.about-content h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; color: var(--text-dark); }
.about-content > p { color: var(--gray-dark); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.9; }
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.value-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    border-right: 4px solid var(--accent);
    transition: var(--transition);
}
html[dir="ltr"] .value-card { border-right: none; border-left: 4px solid var(--accent); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.value-card h4 { font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.value-card p { font-size: 0.88rem; color: var(--gray-dark); }

/* ===== PRODUCTS ===== */
.products-section { padding: 100px 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-img-wrap { position: relative; overflow: hidden; height: 220px; }
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 63, 216, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-btn {
    padding: 12px 28px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}
.product-btn:hover { background: var(--accent); color: var(--white); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.product-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 10px; }
.product-rating i { color: #f5a623; font-size: 0.85rem; }
.rating-count { font-size: 0.8rem; color: var(--gray-dark); margin-right: 4px; }
html[dir="ltr"] .rating-count { margin-right: 0; margin-left: 4px; }
.product-info p { font-size: 0.9rem; color: var(--gray-dark); margin-bottom: 12px; line-height: 1.6; }
.product-tag-color {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(26, 63, 216, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

/* ===== COLOR SYSTEM ===== */
.color-system-section { padding: 80px 0; background: var(--primary); }
.color-system-section .section-tag { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.3); }
.color-system-section .section-header h2 { color: var(--white); }
.color-system-section .section-header p { color: rgba(255,255,255,0.8); }
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.color-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.color-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.2); }
.color-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.color-card.red .color-dot { background: #e74c3c; }
.color-card.blue .color-dot { background: #3498db; }
.color-card.yellow .color-dot { background: #f1c40f; }
.color-card.green .color-dot { background: #2ecc71; }
.color-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.color-card p { font-size: 0.9rem; opacity: 0.85; }

/* ===== CLIENTS ===== */
.clients-section { padding: 100px 0; background: var(--gray-light); }
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.client-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: default;
}
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); background: var(--primary); color: var(--white); }
.client-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; transition: var(--transition); }
.client-card:hover i { color: var(--accent); }
.client-card h4 { font-size: 1rem; font-weight: 700; }

/* ===== CONTACT ===== */
.contact-section { padding: 100px 0; }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-info-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.info-item { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.info-item i { font-size: 1.3rem; color: var(--accent); width: 28px; flex-shrink: 0; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.social-icon:hover { background: var(--accent); transform: translateY(-4px); }
.contact-logo-area { margin-top: auto; }
.contact-logo-area .logo-one { font-size: 1.6rem; font-weight: 900; color: var(--white); font-family: 'Poppins', sans-serif; }
.contact-logo-area .logo-tool { font-size: 1.6rem; font-weight: 900; color: rgba(255,255,255,0.7); font-family: 'Poppins', sans-serif; }
.contact-logo-area .logo-star { font-size: 1rem; color: var(--accent); }
.contact-logo-area p { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-group input, .form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--gray-mid);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 63, 216, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    text-align: center;
}
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-logo { margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 2px; }
.footer-logo .logo-one { font-size: 1.5rem; font-weight: 900; color: var(--white); font-family: 'Poppins', sans-serif; }
.footer-logo .logo-tool { font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,0.6); font-family: 'Poppins', sans-serif; }
.footer-logo .logo-star { font-size: 1rem; color: var(--accent); }
.footer p { font-size: 0.9rem; }

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.35s ease;
}
@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}
html[dir="ltr"] .close-btn { left: auto; right: 16px; }
.close-btn:hover { background: #e74c3c; color: var(--white); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image-wrap { height: 400px; }
.modal-image-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); }
html[dir="ltr"] .modal-image-wrap img { border-radius: 0 var(--radius) var(--radius) 0; }
.modal-details { padding: 36px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-details h2 { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); }
.modal-rating { display: flex; align-items: center; gap: 4px; }
.modal-rating i { color: #f5a623; }
.modal-rating .rating-count { font-size: 0.85rem; color: var(--gray-dark); }
.modal-details p { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.8; }
.modal-color-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(26, 63, 216, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}
.modal-color-info i { color: var(--accent); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.modal-actions .cta-button { flex: 1; justify-content: center; padding: 12px 20px; font-size: 0.9rem; }

/* Cart Modal */
.cart-modal-content { max-width: 560px; padding: 36px; }
.cart-modal-content h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
#cart-items-container { min-height: 80px; margin-bottom: 20px; }
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-mid);
    gap: 10px;
    font-size: 0.95rem;
}
.cart-item:last-child { border-bottom: none; }
.cart-empty { text-align: center; color: var(--gray-dark); padding: 30px 0; font-size: 1rem; }
.cart-footer { border-top: 2px solid var(--gray-mid); padding-top: 20px; }
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.cart-actions { display: flex; gap: 12px; }
.cart-actions .cta-button { flex: 1; justify-content: center; padding: 12px 16px; font-size: 0.9rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
html[dir="rtl"] .whatsapp-float { right: 30px; }
html[dir="ltr"] .whatsapp-float { left: 30px; }
.whatsapp-float:hover { transform: scale(1.12); color: var(--white); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-image img { height: 350px; }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .hamburger { display: flex; }
    .desktop-lang { display: none; }
    .mobile-lang-item { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        gap: 8px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    html[dir="ltr"] .nav-menu { right: auto; left: -100%; transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-menu.active { right: 0; }
    html[dir="ltr"] .nav-menu.active { left: 0; right: auto; }
    .nav-link { color: var(--text-dark) !important; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
    .nav-link:hover { background: rgba(26, 63, 216, 0.08); }

    /* Slider */
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }

    /* Sections */
    .section-header h2 { font-size: 1.8rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .products-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image-wrap { height: 220px; }
    .modal-image-wrap img { border-radius: var(--radius) var(--radius) 0 0 !important; }
    .cart-modal-content { padding: 24px; }
    .cart-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 1.8rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .color-grid { grid-template-columns: 1fr 1fr; }
    .modal-actions { flex-direction: column; }
}
