/* ===========================================================
   Mohammed Khidr - Public Site Styles
   =========================================================== */

:root {
    --navy-950: #0b1220;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-500: #64748b;
    --navy-200: #e2e8f0;
    --navy-100: #f1f5f9;
    --amber-500: #d4a017;
    --amber-600: #b8860b;
    --white: #ffffff;
    --danger: #dc2626;
    --success: #16a34a;
    --radius: 10px;
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--navy-800);
    background: var(--navy-100);
    line-height: 1.6;
}

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

html.splash-active {
    overflow: hidden;
}

/* ---------- Splash screen (electric shock intro) ---------- */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-950);
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.splash-screen.splash-hide {
    opacity: 0;
    pointer-events: none;
}

.splash-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.85) 0%, rgba(212, 160, 23, 0) 55%);
    animation: splash-burst 0.7s ease-out forwards;
}

@keyframes splash-burst {
    0% { opacity: 1; transform: scale(0.15); }
    100% { opacity: 0; transform: scale(2.2); }
}

.splash-arcs {
    position: absolute;
    inset: 0;
}

.splash-arc {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(var(--amber-500), transparent);
    transform-origin: top center;
    opacity: 0;
    animation: splash-arc-flash 0.7s ease-out forwards;
}

.splash-arc-1 { transform: rotate(18deg); animation-delay: 0.05s; }
.splash-arc-2 { transform: rotate(95deg); animation-delay: 0.14s; }
.splash-arc-3 { transform: rotate(160deg); animation-delay: 0.02s; }
.splash-arc-4 { transform: rotate(210deg); animation-delay: 0.18s; }
.splash-arc-5 { transform: rotate(270deg); animation-delay: 0.09s; }
.splash-arc-6 { transform: rotate(330deg); animation-delay: 0.22s; }

@keyframes splash-arc-flash {
    0% { opacity: 0; height: 0; }
    35% { opacity: 0.9; height: 130px; }
    100% { opacity: 0; height: 160px; }
}

.splash-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-bolt {
    width: 64px;
    height: 100px;
    fill: var(--amber-500);
    filter: drop-shadow(0 0 18px rgba(212, 160, 23, 0.8));
    animation: splash-bolt-flicker 1.5s ease-in-out 0.1s 1;
}

@keyframes splash-bolt-flicker {
    0% { opacity: 0; }
    8% { opacity: 1; }
    16% { opacity: 0.3; }
    24% { opacity: 1; }
    30% { opacity: 0.25; }
    38% { opacity: 1; }
    60% { opacity: 0.7; }
    70% { opacity: 1; }
    100% { opacity: 1; }
}

.splash-brand {
    margin-top: 18px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    animation: splash-brand-in 0.5s ease 0.9s forwards;
}

@keyframes splash-brand-in {
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .splash-flash,
    .splash-arc {
        display: none;
    }
    .splash-bolt {
        animation: none;
        opacity: 1;
    }
    .splash-brand {
        animation: none;
        opacity: 1;
    }
}

a { text-decoration: none; color: inherit; }

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

/* ---------- Header ---------- */
.site-header {
    background: var(--navy-900);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}

.logo {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: var(--shadow);
}

.logo-badge img {
    height: 62px;
    width: auto;
    display: block;
}

.logo-badge-sm {
    padding: 4px 6px;
    border-radius: 8px;
}

.logo-badge-sm img {
    height: 38px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;
    color: var(--navy-200);
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.15s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--amber-500);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 6px;
}

.lang-switch {
    font-size: 0.85rem;
    color: var(--navy-500) !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 8px 16px !important;
}

.lang-switch::after { display: none; }

.lang-switch:hover {
    background: rgba(212, 160, 23, 0.15);
    color: var(--amber-500) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--navy-950);
}

.btn-primary:hover {
    background: var(--amber-600);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-900);
}

.btn-secondary {
    background: var(--navy-800);
    color: var(--white);
}

.btn-secondary:hover { background: var(--navy-700); }

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    margin: 0 0 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--navy-200);
    max-width: 640px;
    margin: 0 auto 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Hero electric intro animation ---------- */
.hero-electric {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(11, 18, 32, 0.6), rgba(30, 41, 59, 0.45)), url('../images/home-hero-bg.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.bolt-icon {
    font-size: 2.5rem;
    color: var(--amber-500);
    text-shadow: 0 0 18px rgba(212, 160, 23, 0.7);
    animation: bolt-flicker 4s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes bolt-flicker {
    0%, 18%, 22%, 62%, 66%, 100% { opacity: 1; }
    20% { opacity: 0.35; }
    64% { opacity: 0.5; }
}

/* ---------- Product marquee (Home hero) ---------- */
.product-marquee {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 20px 0;
}

.product-marquee-track {
    display: flex;
    width: max-content;
    gap: 56px;
    animation: marquee-scroll 32s linear infinite;
    will-change: transform;
}

.product-marquee:hover .product-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: var(--navy-200);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.marquee-icon {
    width: 30px;
    height: 30px;
    color: var(--amber-500);
    flex-shrink: 0;
    animation: marquee-icon-glow 3s ease-in-out infinite;
}

.marquee-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes marquee-icon-glow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(212, 160, 23, 0)); }
    50% { filter: drop-shadow(0 0 6px rgba(212, 160, 23, 0.65)); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Interactive icon pulse (About/Home feature icons) ---------- */
.icon-pulse {
    transition: transform 0.25s ease;
}

.feature-grid > div:hover .icon-pulse {
    transform: scale(1.15) rotate(-4deg);
}

.category-icon {
    font-size: 1.6rem;
    color: var(--amber-500);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
}

/* ---------- Sections ---------- */
.section {
    padding: 72px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2rem;
    color: var(--navy-900);
}

.section-subtitle {
    text-align: center;
    color: var(--navy-500);
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-alt { background: var(--white); }

/* ---------- Cards / grids ---------- */
.grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--navy-100);
}

.card-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-500);
    font-size: 0.9rem;
}

.card-body { padding: 20px; }

.card-body h3 { margin: 0 0 8px; color: var(--navy-900); }

.card-body p {
    color: var(--navy-500);
    font-size: 0.95rem;
    margin: 0 0 14px;
}

.badge {
    display: inline-block;
    background: var(--navy-100);
    color: var(--navy-700);
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    margin-inline-end: 6px;
    margin-bottom: 6px;
}

.badge-amber {
    background: rgba(212, 160, 23, 0.15);
    color: var(--amber-600);
}

/* ---------- Feature list (About / Home) ---------- */
.feature-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}

.feature-grid .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.15);
    color: var(--amber-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

/* ---------- Location map (Home page) ---------- */
.map-card {
    position: relative;
    display: block;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.map-card-overlay {
    position: absolute;
    inset-inline-start: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--navy-900);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    transition: transform 0.2s;
}

.map-card:hover .map-card-overlay {
    transform: translateY(-3px);
}

.map-card-pin {
    font-size: 1.2rem;
}

.map-card-cta {
    color: var(--amber-600);
    font-weight: 700;
    margin-inline-start: 6px;
}

/* ---------- Stat strip / brands / tagline (About page) ---------- */
.stat-strip {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat-strip-item {
    flex: 1 1 160px;
    text-align: center;
    padding: 28px 20px;
    border-inline-end: 1px solid var(--navy-100);
}

.stat-strip-item:last-child {
    border-inline-end: none;
}

.stat-strip-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy-900);
}

.stat-strip-label {
    color: var(--navy-500);
    font-size: 0.9rem;
    margin-top: 4px;
}

.brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 90px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--amber-500);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-chip img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tagline-banner {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    padding: 48px 0;
    text-align: center;
}

.tagline-banner p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0;
}

/* ---------- Products sidebar (drill-down: Category > Subcategory > Type) ---------- */
.products-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.products-sidebar {
    width: 270px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    position: sticky;
    top: 108px;
}

.sidebar-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.sidebar-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--navy-900);
}

.sidebar-close {
    display: none;
}

.wave-divider {
    width: 64px;
    height: 6px;
    margin-top: 8px;
    background-image:
        linear-gradient(135deg, var(--amber-500) 25%, transparent 25%),
        linear-gradient(225deg, var(--amber-500) 25%, transparent 25%),
        linear-gradient(45deg, var(--amber-500) 25%, transparent 25%),
        linear-gradient(315deg, var(--amber-500) 25%, transparent 25%);
    background-position: 0 0, 4px 0, 4px -4px, 0 4px;
    background-size: 8px 8px;
    background-repeat: repeat-x;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-all-link {
    font-weight: 700;
    color: var(--navy-900);
    padding: 8px 0;
    border-bottom: 1px solid var(--navy-100);
    margin-bottom: 10px;
}

.sidebar-all-link.active,
.sidebar-all-link:hover {
    color: var(--amber-600);
}

.sidebar-cat-group {
    margin-bottom: 4px;
}

.sidebar-cat-link {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-800);
    padding: 10px 0;
    transition: color 0.15s;
}

.sidebar-cat-link:hover {
    color: var(--navy-900);
}

.sidebar-cat-link.active {
    color: var(--navy-900);
}

.sidebar-sub-list {
    display: flex;
    flex-direction: column;
    padding-inline-start: 12px;
    margin-bottom: 6px;
}

.sidebar-sub-link {
    color: var(--navy-500);
    font-size: 0.9rem;
    padding: 8px 0 8px 14px;
    border-inline-start: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.sidebar-sub-link:hover {
    color: var(--navy-800);
}

.sidebar-sub-link.active {
    color: var(--amber-600);
    font-weight: 700;
    border-inline-start-color: var(--amber-500);
}

.sidebar-type-list {
    display: flex;
    flex-direction: column;
    padding-inline-start: 26px;
    margin-bottom: 6px;
}

.sidebar-type-link {
    color: var(--navy-500);
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color 0.15s;
}

.sidebar-type-link:hover {
    color: var(--navy-800);
}

.sidebar-type-link.active {
    color: var(--amber-600);
    font-weight: 700;
}

.products-main {
    flex: 1;
    min-width: 0;
}

.sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    cursor: pointer;
}

.sidebar-overlay {
    display: none;
}

/* ---------- Filters (Products page) ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-bar select,
.filter-bar input[type="text"] {
    padding: 10px 14px;
    border: 1px solid var(--navy-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    flex: 1;
    min-width: 160px;
}

/* ---------- Product detail ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.product-detail img,
.product-detail .card-img.placeholder {
    border-radius: var(--radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.product-detail h1 { margin-top: 0; color: var(--navy-900); }

.spec-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.spec-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--navy-100);
    display: flex;
    justify-content: space-between;
}

.spec-list li span:first-child {
    color: var(--navy-500);
    font-weight: 600;
}

/* ---------- Forms (contact + admin) ---------- */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
    max-width: 640px;
    margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy-800);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--navy-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--amber-500);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success { background: rgba(22, 163, 74, 0.12); color: var(--success); }
.alert-error { background: rgba(220, 38, 38, 0.12); color: var(--danger); }

/* ---------- Contact info blocks ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.contact-info .info-item {
    margin-bottom: 24px;
}

.contact-info .info-item h4 {
    margin: 0 0 4px;
    color: var(--navy-900);
}

.contact-info .info-item p { margin: 0; color: var(--navy-500); }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--navy-500);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-950);
    color: var(--navy-200);
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    padding: 48px 20px 24px;
}

.footer-inner h3 { color: var(--white); margin: 0 0 8px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover,
.footer-admin a:hover { color: var(--amber-500); }

.footer-bottom {
    border-top: 1px solid var(--navy-800);
    padding: 18px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--navy-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    .product-detail { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .product-detail img,
    .product-detail .card-img.placeholder { height: 280px; }
    .stat-strip { flex-direction: column; }
    .stat-strip-item {
        border-inline-end: none;
        border-bottom: 1px solid var(--navy-100);
    }
    .stat-strip-item:last-child { border-bottom: none; }
    .map-card { height: 280px; }

    .sidebar-toggle { display: flex; }

    .products-layout { display: block; }

    .products-sidebar {
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 300;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .products-sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(11, 18, 32, 0.5);
        z-index: 299;
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--navy-100);
        color: var(--navy-700);
        border: none;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
    }

    html[dir="rtl"] .products-sidebar {
        transform: translateX(100%);
    }

    html[dir="rtl"] .products-sidebar.open {
        transform: translateX(0);
    }
}

@media (max-width: 700px) {
    .nav-toggle { display: block; }

    .header-inner { height: 76px; }
    .logo-badge img { height: 48px; }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--navy-900);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        display: none;
        gap: 4px;
    }

    .main-nav.open { display: flex; }

    .main-nav a::after { display: none; }
    .main-nav a.active { background: rgba(212, 160, 23, 0.15); border-radius: var(--radius); }

    .nav-divider {
        width: auto;
        height: 1px;
        margin: 6px 14px;
    }

    .lang-switch { text-align: center; }

    .hero h1 { font-size: 2rem; }
    .hero { padding: 64px 0; }
    .bolt-icon { font-size: 2rem; }
}

@media (max-width: 480px) {
    .filter-bar select,
    .filter-bar input[type="text"] {
        min-width: 0;
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .logo-bolt,
    .bolt-icon,
    .marquee-icon {
        animation: none;
    }
    .product-marquee-track {
        animation: none;
    }
    .card,
    .btn,
    .icon-pulse {
        transition: none;
    }
}
