/* 
 * Blackview Yemen SPA Stylesheet
 * Modern, Professional, and Responsive
 */

/* ================= Variables & Settings ================= */
:root {
    /* Brand Colors (Blackview theme) */
    --primary-color: #0088cc;
    /* Professional tech blue */
    --primary-hover: #006699;
    --dark-color: #1a1a1a;
    --darker-color: #111111;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-text: #666666;
    --gray-light: #e0e0e0;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;

    /* Typography */
    --font-primary: 'Cairo', sans-serif;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

.text-ltr {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: plaintext;
}

.text-rtl {
    direction: rtl !important;
    text-align: right !important;
}

/* ================= Reset & Base Styles ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.bg-light {
    background-color: var(--white);
}

/* ================= Typography & Components ================= */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--darker-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-text);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-order {
    background-color: #25d366; /* WhatsApp Green */
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-order:hover {
    background-color: #128c7e; /* Darker WhatsApp Green */
    color: var(--white);
    transform: translateY(-2px);
}

/* ================= Header & Navigation ================= */
.header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--darker-color);
    font-weight: 800;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

/* --- Language Dropdown --- */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.btn-lang-toggle {
    background: transparent;
    color: var(--darker-color);
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: var(--transition);
}

.btn-lang-toggle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.header.scrolled .btn-lang-toggle {
    background: transparent;
}

.header.scrolled .btn-lang-toggle:hover,
.btn-lang-toggle:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
    border-color: transparent;
}

.btn-lang-toggle:hover::after {
    width: 100%;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    display: flex;
    flex-direction: column;
    padding: 8px;
    z-index: 101;
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-wrapper:focus-within .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown-menu button {
    background: none;
    border: none;
    color: var(--dark-color);
    padding: 10px 15px;
    text-align: right;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

[dir="ltr"] .lang-dropdown-menu button {
    text-align: left;
}

.lang-dropdown-menu button:hover,
.lang-dropdown-menu button.active {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-color);
}

/* ================= Hero Section ================= */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--darker-color) 0%, #2c3e50 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Aesthetically pleasing abstract tech orb for hero */
.glass-orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(0, 136, 204, 0.4));
    box-shadow: 0 0 40px rgba(0, 136, 204, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.glass-orb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-style: dashed;
    animation: spin 20s linear infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: var(--light-color);
}

/* ================= About Section ================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-color);
}

.about-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--gray-text);
}

/* ================= Products Section ================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.2);
}

.product-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

/* --- Premium Slider Styles --- */
.product-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.slider-track img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: contain; /* Show full product */
    background-color: #ffffff;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    opacity: 0;
}

.product-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

[dir="rtl"] .slider-prev { left: auto; right: 10px; }
[dir="rtl"] .slider-next { right: auto; left: 10px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 10px;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* Show full product details */
    background-color: #ffffff;
    transition: transform 0.5s ease;
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--darker-color);
    direction: ltr;
    text-align: right;
    /* Keep title aligned right in Arabic layout but allow LTR flow */
}

.product-desc {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    direction: ltr;
    text-align: right;
}

/* ================= Contact Section ================= */
/* ================= Contact Section (Premium Redesign) ================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-card.highlight {
    background: linear-gradient(135deg, var(--white) 0%, #f0f7ff 100%);
    border-top: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.1);
    border-color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 136, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--darker-color);
}

.contact-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.card-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-hover);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= Footer ================= */
.footer {
    background-color: var(--darker-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--gray-text);
    margin-bottom: 20px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-text);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ================= Animations ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animate {
    animation: fadeIn 0.8s forwards;
}

/* ================= Responsive Design ================= */
@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h2 {
        font-size: 2.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .header {
        height: 70px;
    }

    .nav-container {
        height: 70px;
    }

    .hero {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }

    .products-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= Dynamic / Firebase-Powered Elements ================= */

/* Product category label */
.product-category {
    display: inline-block;
    background-color: rgba(0, 136, 204, 0.1);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Out-of-stock badge override */
.badge-out {
    background-color: #e74c3c !important;
}

/* New arrival badge override */
.badge-new {
    background-color: #28a745 !important;
    left: 20px !important;
    right: auto !important;
}

[dir="ltr"] .badge-new {
    right: 20px !important;
    left: auto !important;
}

/* Disabled order button */
.btn-order:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading spinner in products section */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(0, 136, 204, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spinnerSpin 0.85s linear infinite;
}

@keyframes spinnerSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Admin nav link in header */
.nav-admin-link {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-links .nav-admin-link {
    color: var(--white);
}

.nav-admin-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-admin-link::after {
    display: none;
    /* remove underline pseudo-element */
}

/* Specifications Modal */
.specs-modal-content {
    max-width: 800px;
    width: 95%;
    border-radius: 4px; /* Squarer look based on image */
    background: var(--white);
    border-top: 6px solid var(--primary-color); /* Blue top border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.specs-modal-content .modal-header {
    background: transparent;
    color: var(--dark-color);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specs-modal-content .modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.specs-modal-content .modal-close {
    background: transparent;
    color: #888;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.2s;
    font-weight: 300;
}

.specs-modal-content .modal-close:hover {
    color: #333;
    background: transparent;
    transform: none;
}

.specs-modal-content .modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #f7f7f7;
    transition: background 0.2s;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:hover {
    background-color: #fcfcfc;
}

.specs-table td {
    padding: 16px 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 35%;
    background: transparent;
    border-left: none;
}

.specs-table td:last-child {
    color: #555;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.product-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.btn-specs {
    background: #f8f9fa !important;
    color: var(--dark-color) !important;
    border: 1.5px solid #e0e0e0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-specs:hover {
    background: #fff !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-order {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.btn-order:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

/* Modal Overlay Animation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: specsSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes specsSlide {
    from {
        transform: translateY(30px);
        opacity: 0;
        scale: 0.98;
    }

    to {
        transform: translateY(0);
        opacity: 1;
        scale: 1;
    }
}

/* ================= Custom LTR Adjustments ================= */
[dir="ltr"] .product-info h3,
[dir="ltr"] .product-price {
    text-align: left;
}

[dir="ltr"] .contact-info .info-item i {
    margin-right: 15px;
    margin-left: 0;
}

[dir="rtl"] .contact-info .info-item i {
    margin-left: 15px;
    margin-right: 0;
}

/* ================= Language Switcher ================= */
.lang-switch-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
}

.btn-lang {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-lang:hover, .btn-lang.active {
    color: var(--primary-color);
}

.mobile-lang-switch {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-lang-mobile {
    background: #f0f0f0;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lang-mobile.active {
    background: var(--primary-color);
    color: #fff;
}

/* ================= About Description & Vision ================= */
.company-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.vision-section {
    margin-top: 80px;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.vision-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.vision-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 136, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.vision-content p {
    font-size: 1.15rem;
    color: var(--dark-color);
    line-height: 1.8;
}