/* ==================== Landing Page (public) — Premium Redesign ==================== */

html { scroll-behavior: smooth; }
html, body.lp-body { margin: 0; padding: 0; }

body.lp-body {
    /* Background */
    --lp-bg: #F8FAFC;
    --lp-surface: #FFFFFF;
    --lp-surface-alt: #F1F5F9;
    --lp-border: #E2E8F0;

    /* Typography */
    --lp-text: #0F172A;
    --lp-text-light: #475569;
    --lp-text-faint: #94A3B8;

    /* Primary Brand */
    --lp-primary: #2563EB;
    --lp-primary-hover: #1D4ED8;
    --lp-primary-soft: #EFF6FF;
    --lp-primary-glow: rgba(37, 99, 235, 0.15);

    /* Accent */
    --lp-accent: #D97706;
    --lp-accent-hover: #B45309;
    --lp-accent-soft: #FFFBEB;

    /* Success / Error */
    --lp-success: #059669;
    --lp-success-soft: #ECFDF5;
    --lp-danger: #DC2626;
    --lp-danger-soft: #FEF2F2;
    --lp-warning-text: #B45309;

    /* Glass / overlay */
    --lp-glass-bg: rgba(255, 255, 255, 0.85);
    --lp-glass-bg-strong: rgba(255, 255, 255, 0.95);
    --lp-glass-border: rgba(226, 232, 240, 0.8);
    --lp-overlay-bg: rgba(2, 6, 23, 0.55);
    --lp-loader-bg: rgba(248, 250, 252, 0.9);

    /* Border Radius */
    --lp-radius-sm: 16px;
    --lp-radius-md: 20px;
    --lp-radius-lg: 28px;

    /* Shadows */
    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    --lp-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 20px -4px rgba(15, 23, 42, 0.06);
    --lp-shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.10), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    --lp-shadow-xl: 0 24px 48px -6px rgba(15, 23, 42, 0.14);
    --lp-sticky-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    --lp-glow-primary: 0 0 0 3px var(--lp-primary-soft), 0 0 20px -4px var(--lp-primary-glow);

    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'Cairo', sans-serif;
    padding-bottom: 96px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

::selection { background: var(--lp-primary-soft); color: var(--lp-primary); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--lp-text-faint); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--lp-text-light); }

/* ---------- Dark / night mode ---------- */
html[data-theme="dark"] body.lp-body {
    --lp-bg: #0B1120;
    --lp-surface: #151C2C;
    --lp-surface-alt: #1E293B;
    --lp-border: #334155;

    --lp-text: #F1F5F9;
    --lp-text-light: #94A3B8;
    --lp-text-faint: #64748B;

    --lp-primary: #60A5FA;
    --lp-primary-hover: #93C5FD;
    --lp-primary-soft: rgba(96, 165, 250, 0.12);
    --lp-primary-glow: rgba(96, 165, 250, 0.25);

    --lp-accent: #FBBF24;
    --lp-accent-hover: #FDE68A;
    --lp-accent-soft: rgba(251, 191, 36, 0.10);

    --lp-success: #34D399;
    --lp-success-soft: rgba(52, 211, 153, 0.10);
    --lp-danger: #F87171;
    --lp-danger-soft: rgba(248, 113, 113, 0.10);
    --lp-warning-text: #FCD34D;

    --lp-glass-bg: rgba(21, 28, 44, 0.85);
    --lp-glass-bg-strong: rgba(21, 28, 44, 0.96);
    --lp-glass-border: rgba(51, 65, 85, 0.6);
    --lp-overlay-bg: rgba(2, 6, 23, 0.75);
    --lp-loader-bg: rgba(11, 17, 32, 0.92);

    --lp-shadow-sm: 0 1px 2px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
    --lp-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 10px 20px -4px rgba(0,0,0,0.25);
    --lp-shadow-lg: 0 20px 40px -8px rgba(0,0,0,0.45), 0 8px 16px -4px rgba(0,0,0,0.25);
    --lp-shadow-xl: 0 24px 48px -6px rgba(0,0,0,0.55);
    --lp-sticky-shadow: 0 -4px 20px rgba(0,0,0,0.35);
    --lp-glow-primary: 0 0 0 3px var(--lp-primary-soft), 0 0 24px -4px var(--lp-primary-glow);
}

.lp-body * { box-sizing: border-box; }

.lp-body,
.lp-header, .lp-sticky-bar, .lp-modal-overlay, .lp-modal-box, .lp-global-loader,
.lp-hero-image, .lp-thumb, .lp-badge, .lp-feature-card, .lp-desc-card,
.lp-gallery-item, .lp-testi-card, .lp-faq-item, .lp-checkout-card,
.lp-input, .lp-select, .lp-textarea, .lp-delivery-btn, .lp-qty-stepper,
.lp-mini-product, .lp-nav-arrow, .lp-icon-btn, .lp-lang-btn {
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.lp-container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

@media (prefers-reduced-motion: reduce) {
    .lp-body *, .lp-body *::before, .lp-body *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Reveal-on-scroll ---------- */
.lp-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.lp-reveal.lp-in { opacity: 1; transform: translateY(0); }

@keyframes lp-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Staggered children animations triggered by parent reveal */
.lp-hero.lp-reveal.lp-in .lp-hero-image { animation: lp-fade-up 0.8s cubic-bezier(0.16,1,0.3,1) backwards; }
.lp-hero.lp-reveal.lp-in .lp-hero-info  { animation: lp-fade-up 0.7s cubic-bezier(0.16,1,0.3,1) backwards; animation-delay: 120ms; }

.lp-features.lp-reveal.lp-in .lp-feature-card { animation: lp-fade-up 0.65s cubic-bezier(0.16,1,0.3,1) backwards; }
.lp-features.lp-reveal.lp-in .lp-feature-card:nth-child(1) { animation-delay: 0ms; }
.lp-features.lp-reveal.lp-in .lp-feature-card:nth-child(2) { animation-delay: 90ms; }
.lp-features.lp-reveal.lp-in .lp-feature-card:nth-child(3) { animation-delay: 180ms; }
.lp-features.lp-reveal.lp-in .lp-feature-card:nth-child(4) { animation-delay: 270ms; }

.lp-testimonials.lp-reveal.lp-in .lp-testi-card { animation: lp-fade-up 0.65s cubic-bezier(0.16,1,0.3,1) backwards; }
.lp-testimonials.lp-reveal.lp-in .lp-testi-card:nth-child(1) { animation-delay: 0ms; }
.lp-testimonials.lp-reveal.lp-in .lp-testi-card:nth-child(2) { animation-delay: 100ms; }
.lp-testimonials.lp-reveal.lp-in .lp-testi-card:nth-child(3) { animation-delay: 200ms; }

.lp-section.lp-reveal.lp-in .lp-faq-item { animation: lp-fade-up 0.6s cubic-bezier(0.16,1,0.3,1) backwards; }
.lp-section.lp-reveal.lp-in .lp-faq-item:nth-child(1) { animation-delay: 0ms; }
.lp-section.lp-reveal.lp-in .lp-faq-item:nth-child(2) { animation-delay: 80ms; }
.lp-section.lp-reveal.lp-in .lp-faq-item:nth-child(3) { animation-delay: 160ms; }

.lp-gallery-wrap.lp-reveal.lp-in .lp-gallery-item { animation: lp-fade-up 0.6s cubic-bezier(0.16,1,0.3,1) backwards; }
.lp-gallery-wrap.lp-reveal.lp-in .lp-gallery-item:nth-child(1) { animation-delay: 0ms; }
.lp-gallery-wrap.lp-reveal.lp-in .lp-gallery-item:nth-child(2) { animation-delay: 100ms; }

.lp-checkout-section.lp-reveal.lp-in .lp-checkout-card { animation: lp-fade-up 0.7s cubic-bezier(0.16,1,0.3,1) backwards; }

/* ---------- Header ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 150;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 10px 20px; min-height: 60px;
    background: var(--lp-glass-bg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--lp-glass-border);
}
.lp-header-left { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 10px; }
.lp-header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; grid-column: 2; justify-self: center; }
.logo i {
    font-size: 20px; color: var(--lp-primary);
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--lp-primary-soft); display: flex; align-items: center; justify-content: center;
}
.logo h1 { font-size: 19px; font-weight: 900; color: var(--lp-text); letter-spacing: -0.3px; }
.logo span { color: var(--lp-primary); font-weight: 900; }

.lp-icon-btn {
    width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--lp-border);
    background: var(--lp-surface); color: var(--lp-text-light); font-size: 14px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    font-family: inherit; padding: 0; overflow: hidden; text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
}
.lp-icon-btn:hover { color: var(--lp-primary); border-color: var(--lp-primary); transform: translateY(-2px); box-shadow: var(--lp-shadow-sm); }

.lp-lang-btn {
    height: 38px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--lp-border);
    background: var(--lp-surface); color: var(--lp-text); font-size: 13px; font-weight: 800;
    cursor: pointer; font-family: inherit; letter-spacing: 0.3px; overflow: hidden;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
}
.lp-lang-btn:hover { color: var(--lp-primary); border-color: var(--lp-primary); transform: translateY(-2px); box-shadow: var(--lp-shadow-sm); }

[data-theme="dark"] .lp-theme-btn #lp-theme-icon { color: var(--lp-accent); }

.lp-lang-btn { perspective: 240px; }
#lp-lang-btn-text { display: inline-block; }
.lp-lang-btn.lp-flip #lp-lang-btn-text { animation: lp-lang-flip 0.45s ease; }
@keyframes lp-lang-flip {
    0%   { transform: rotateX(0deg); opacity: 1; }
    45%  { transform: rotateX(90deg); opacity: 0; }
    55%  { transform: rotateX(-90deg); opacity: 0; }
    100% { transform: rotateX(0deg); opacity: 1; }
}

.lp-loader-page { text-align: center; padding: 140px 0; color: var(--lp-primary); }
.lp-loader-page i { font-size: 28px; }

.lp-notfound { max-width: 420px; margin: 100px auto; text-align: center; padding: 0 24px; }
.lp-notfound i { font-size: 40px; color: var(--lp-danger); margin-bottom: 18px; }
.lp-notfound p { color: var(--lp-text-light); font-weight: 700; margin-bottom: 24px; line-height: 1.7; }

/* ---------- Hero ---------- */
.lp-hero {
    max-width: 1100px; margin: 0 auto; padding: 56px 28px 12px;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.lp-hero-media { position: sticky; top: 92px; }
.lp-hero-image {
    position: relative; border-radius: var(--lp-radius-lg); overflow: hidden;
    background: var(--lp-surface); border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-lg); aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
}
.lp-hero-image::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, var(--lp-primary-glow), transparent 60%);
    z-index: 0; pointer-events: none;
}
.lp-hero-image img {
    width: 100%; height: 100%; object-fit: contain; padding: 32px;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
    position: relative; z-index: 1;
}
.lp-hero-image:hover img { transform: scale(1.04); }

.lp-badge {
    position: absolute; top: 18px; inset-inline-start: 18px;
    background: var(--lp-surface); border: 1px solid var(--lp-border);
    color: var(--lp-text); font-size: 12.5px; font-weight: 800;
    padding: 8px 14px; border-radius: 30px; box-shadow: var(--lp-shadow-sm);
    display: inline-flex; align-items: center; gap: 6px;
    z-index: 10;
}
.lp-badge i { color: var(--lp-accent); }
.lp-badge.lp-badge-discount { background: var(--lp-danger); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); }

.lp-thumbs { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.lp-thumb {
    width: 72px; height: 72px; border-radius: var(--lp-radius-sm); overflow: hidden;
    border: 2px solid transparent; background: var(--lp-surface); cursor: pointer;
    padding: 0; box-shadow: var(--lp-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.lp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.lp-thumb:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-md); border-color: var(--lp-border); }
.lp-thumb.active { border-color: var(--lp-primary); box-shadow: 0 0 0 3px var(--lp-primary-soft); }

.lp-hero-info { padding-top: 8px; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 800; color: var(--lp-accent);
    background: var(--lp-accent-soft); padding: 7px 14px; border-radius: 30px;
    margin-bottom: 20px; letter-spacing: 0.3px; text-transform: uppercase;
}
.lp-hero-info h1 {
    font-size: 36px; font-weight: 900; line-height: 1.25; letter-spacing: -0.5px;
    margin-bottom: 16px; color: var(--lp-text);
}
.lp-sub { font-size: 17px; color: var(--lp-text-light); font-weight: 600; line-height: 1.75; margin-bottom: 28px; }

.lp-price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-price { font-size: 36px; font-weight: 900; color: var(--lp-text); letter-spacing: -1px; }
.lp-price-old { font-size: 17px; color: var(--lp-text-faint); text-decoration: line-through; font-weight: 700; }
.lp-price-off {
    font-size: 13px; font-weight: 800; color: #fff; background: var(--lp-danger);
    padding: 5px 12px; border-radius: 20px; box-shadow: 0 2px 8px rgba(220,38,38,0.25);
}

.lp-stock-row { margin-bottom: 32px; }
.lp-stock { padding: 7px 16px; border-radius: 30px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.lp-stock-ok { background: var(--lp-success-soft); color: var(--lp-success); }
.lp-stock-low { background: var(--lp-accent-soft); color: var(--lp-warning-text); }
.lp-stock-out { background: var(--lp-danger-soft); color: var(--lp-danger); }

.lp-cta-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--lp-primary); color: #fff; font-weight: 800; font-size: 16px;
    padding: 16px 28px; border-radius: var(--lp-radius-sm); border: none; cursor: pointer;
    font-family: inherit; position: relative; overflow: hidden;
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.45);
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.lp-cta-btn::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(rgba(255,255,255,0.12), transparent); pointer-events: none;
}
.lp-cta-btn:hover:not(:disabled) {
    background: var(--lp-primary-hover); transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 32px -6px rgba(37, 99, 235, 0.55);
}
.lp-cta-btn:active:not(:disabled) { transform: translateY(0) scale(0.99); }
.lp-cta-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.4); }
.lp-cta-btn:focus-visible { outline: none; box-shadow: var(--lp-glow-primary); }

.lp-cta-main {
    width: 100%; margin-bottom: 28px; padding: 20px 32px; font-size: 18px;
    border-radius: var(--lp-radius-md);
    box-shadow: 0 14px 36px -6px rgba(37, 99, 235, 0.5);
}
.lp-cta-main:hover:not(:disabled) { box-shadow: 0 18px 40px -6px rgba(37, 99, 235, 0.6); }
html[data-theme="dark"] .lp-cta-main { box-shadow: 0 14px 36px -6px rgba(96, 165, 250, 0.35); }

.lp-cta-secondary {
    background: var(--lp-surface); color: var(--lp-text); border: 1.5px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}
.lp-cta-secondary:hover:not(:disabled) { background: var(--lp-surface-alt); border-color: var(--lp-text-faint); box-shadow: var(--lp-shadow-md); }

.lp-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.lp-trust span {
    font-size: 13px; font-weight: 700; color: var(--lp-text-light);
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--lp-surface); border: 1px solid var(--lp-border);
    padding: 6px 12px; border-radius: 30px;
}
.lp-trust i { color: var(--lp-accent); font-size: 14px; }

/* ---------- Feature strip ---------- */
.lp-features {
    max-width: 1100px; margin: 80px auto 0; padding: 0 28px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.lp-feature-card {
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius-md);
    padding: 28px 22px; text-align: center; box-shadow: var(--lp-shadow-sm);
    position: relative; overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.lp-feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
    opacity: 0; transition: opacity 0.3s ease;
}
.lp-feature-card:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-lg); border-color: var(--lp-primary-soft); }
.lp-feature-card:hover::before { opacity: 1; }
.lp-feature-card i {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-primary-soft), rgba(37,99,235,0.04));
    color: var(--lp-primary);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 18px;
    border: 1px solid var(--lp-primary-soft);
}
.lp-feature-card h3 { font-size: 15px; font-weight: 900; margin-bottom: 6px; color: var(--lp-text); }
.lp-feature-card p { font-size: 13px; color: var(--lp-text-light); font-weight: 600; line-height: 1.65; margin: 0; }

/* ---------- Description ---------- */
.lp-section { max-width: 1100px; margin: 80px auto 0; padding: 0 28px; }
.lp-section-head { text-align: center; margin-bottom: 36px; }
.lp-section-head h2 { font-size: 26px; font-weight: 900; color: var(--lp-text); letter-spacing: -0.4px; margin-bottom: 10px; }
.lp-section-head p { font-size: 15px; color: var(--lp-text-light); font-weight: 600; }

.lp-desc-card {
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius-lg);
    padding: 36px; box-shadow: var(--lp-shadow-sm); max-width: 800px; margin: 0 auto;
}
.lp-desc-card p {
    font-size: 16px; line-height: 1.9; color: var(--lp-text); white-space: pre-line;
    max-height: 220px; overflow: hidden; position: relative;
    transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1);
    margin: 0;
}
.lp-desc-card p.lp-expanded { max-height: 4000px; }
.lp-desc-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    background: var(--lp-primary-soft); border: none; color: var(--lp-primary);
    font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit;
    padding: 8px 16px; border-radius: 30px;
    transition: all 0.2s ease;
}
.lp-desc-toggle:hover { background: var(--lp-primary); color: #fff; }
.lp-desc-toggle i { transition: transform 0.3s ease; font-size: 12px; }
.lp-desc-toggle.lp-open i { transform: rotate(180deg); }

/* ---------- Gallery ---------- */
.lp-gallery-wrap { max-width: 1100px; margin: 80px auto 0; padding: 0; }
@media (min-width: 769px) { .lp-gallery-wrap { display: none; } }
.lp-gallery { display: flex; flex-direction: column; gap: 12px; padding: 0 28px; }
.lp-gallery-item { margin: 0; padding: 0; border-radius: var(--lp-radius-md); overflow: hidden; border: 1px solid var(--lp-border); }
.lp-gallery-item img { width: 100%; height: auto; object-fit: contain; display: block; margin: 0; padding: 0; cursor: zoom-in; background: var(--lp-surface); }

/* ---------- Testimonials ---------- */
.lp-testimonials { max-width: 1100px; margin: 80px auto 0; padding: 0 28px; }
.lp-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.lp-testi-card {
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius-md);
    padding: 28px; box-shadow: var(--lp-shadow-sm); position: relative; overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.lp-testi-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-md); border-color: var(--lp-primary-soft); }
.lp-testi-card::before {
    content: '\201D'; position: absolute; top: 10px; inset-inline-end: 16px; font-size: 64px; line-height: 1;
    color: var(--lp-primary); opacity: 0.06; font-family: Georgia, serif; pointer-events: none;
}
.lp-testi-stars { color: var(--lp-accent); font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.lp-testi-text { font-size: 14.5px; color: var(--lp-text); line-height: 1.85; font-weight: 600; margin-bottom: 20px; }
.lp-testi-author { display: flex; align-items: center; gap: 12px; }
.lp-testi-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-accent-soft), rgba(217,119,6,0.08));
    color: var(--lp-accent); display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px; flex-shrink: 0; border: 1px solid var(--lp-accent-soft);
}
.lp-testi-name { font-size: 14px; font-weight: 800; color: var(--lp-text); }

/* ---------- FAQ ---------- */
.lp-faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin: 0 auto; }
.lp-faq-item {
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius-md);
    overflow: hidden; box-shadow: var(--lp-shadow-sm);
    transition: all 0.3s ease; position: relative;
}
.lp-faq-item:hover { border-color: var(--lp-primary-soft); }
.lp-faq-item.lp-open { border-color: var(--lp-primary-soft); box-shadow: var(--lp-shadow-md); }
.lp-faq-item.lp-open::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px;
    background: var(--lp-primary); border-radius: 0 4px 4px 0;
}
.lp-faq-q {
    width: 100%; text-align: start; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: none; border: none; padding: 20px 24px; font-family: inherit; cursor: pointer;
    font-size: 15.5px; font-weight: 800; color: var(--lp-text);
}
.lp-faq-q i {
    color: var(--lp-text-faint); transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    flex-shrink: 0; font-size: 13px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--lp-surface-alt); display: flex; align-items: center; justify-content: center;
}
.lp-faq-item.lp-open .lp-faq-q i { transform: rotate(180deg); color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.lp-faq-item.lp-open .lp-faq-a { max-height: 400px; }
.lp-faq-a p { padding: 0 24px 22px; font-size: 14.5px; color: var(--lp-text-light); line-height: 1.85; font-weight: 600; margin: 0; }

/* ---------- Checkout ---------- */
.lp-checkout-section { max-width: 1100px; margin: 80px auto 0; padding: 0 28px; scroll-margin-top: 100px; }
.lp-checkout-card {
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-xl); overflow: hidden;
}
.lp-checkout-head {
    padding: 32px; border-bottom: 1px solid var(--lp-border);
    background: linear-gradient(180deg, var(--lp-surface-alt) 0%, transparent 100%);
}
.lp-checkout-head h2 { font-size: 22px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.3px; }
.lp-checkout-head p { font-size: 14px; color: var(--lp-text-light); font-weight: 600; }

.lp-checkout-body { padding: 32px; }

.lp-mini-product {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    background: var(--lp-surface-alt); border-radius: var(--lp-radius-md); margin-bottom: 28px;
    border: 1px solid var(--lp-border);
}
.lp-mini-product img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--lp-surface); border: 1px solid var(--lp-border); padding: 4px; flex-shrink: 0; }
.lp-mini-product-info { flex: 1; min-width: 0; }
.lp-mini-product-title { font-size: 14.5px; font-weight: 800; color: var(--lp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mini-product-price { font-size: 14px; color: var(--lp-primary); font-weight: 800; }

.lp-qty-stepper {
    display: flex; align-items: center; gap: 8px; background: var(--lp-surface); border: 1.5px solid var(--lp-border); border-radius: 12px; flex-shrink: 0; padding: 4px;
}
.lp-qty-btn {
    width: 32px; height: 32px; border: none; background: var(--lp-surface-alt); font-size: 16px; font-weight: 800;
    color: var(--lp-primary); cursor: pointer; font-family: inherit; border-radius: 8px;
    transition: all 0.15s ease;
}
.lp-qty-btn:hover { background: var(--lp-primary-soft); }
.lp-qty-btn:active { transform: scale(0.92); }
.lp-qty-val { min-width: 24px; text-align: center; font-weight: 900; font-size: 15px; color: var(--lp-text); }

.lp-field-group { margin-bottom: 24px; }
.lp-field-label { display: block; font-size: 14px; font-weight: 800; color: var(--lp-text); margin-bottom: 10px; }
.lp-field-label .lp-star { color: var(--lp-danger); margin-inline-start: 2px; }
.lp-input, .lp-select, .lp-textarea {
    width: 100%; padding: 14px 18px; border: 1.5px solid var(--lp-border); border-radius: 12px;
    font-family: inherit; font-size: 15px; color: var(--lp-text); background: var(--lp-surface);
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    box-shadow: inset 0 1px 2px rgba(15,23,42,0.03);
}
.lp-input:focus, .lp-select:focus, .lp-textarea:focus {
    outline: none; border-color: var(--lp-primary); box-shadow: var(--lp-glow-primary);
}
.lp-input.is-invalid { border-color: var(--lp-danger); box-shadow: 0 0 0 3px var(--lp-danger-soft); }
.lp-input.is-valid { border-color: var(--lp-success); }
.lp-textarea { resize: vertical; min-height: 96px; }
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lp-phone-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.lp-phone-wrap img { position: absolute; right: 14px; width: 24px; height: 24px; object-fit: contain; display: none; border-radius: 4px; }
#lp_client_phone { text-align: right; transition: padding-right 0.3s ease; }

.lp-delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.lp-delivery-btn {
    padding: 14px; border-radius: 12px; border: 1.5px solid var(--lp-border); background: var(--lp-surface);
    font-family: inherit; font-weight: 800; font-size: 14px; color: var(--lp-text-light); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    box-shadow: var(--lp-shadow-sm);
}
.lp-delivery-btn i { font-size: 16px; }
.lp-delivery-btn:hover { border-color: var(--lp-primary); color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp-delivery-btn.active {
    border-color: var(--lp-primary); background: var(--lp-primary); color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.lp-delivery-btn.active i { color: #fff; }

.lp-summary {
    border: 1px dashed var(--lp-border); margin-top: 28px; padding: 24px;
    background: linear-gradient(180deg, var(--lp-surface-alt) 0%, transparent 100%);
    border-radius: var(--lp-radius-md);
}
.lp-summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 700; color: var(--lp-text-light); margin-bottom: 12px; }
.lp-summary-row:last-child { margin-bottom: 0; }
.lp-summary-row.lp-summary-total {
    font-size: 20px; font-weight: 900; color: var(--lp-text);
    border-top: 1px solid var(--lp-border); padding-top: 16px; margin-top: 12px;
}
.lp-summary-row.lp-summary-total span:last-child { color: var(--lp-primary); }
.lp-warning-text { color: var(--lp-accent-hover); font-weight: 800; }

.lp-submit-btn { width: 100%; margin-top: 24px; font-size: 17px; padding: 18px; border-radius: var(--lp-radius-md); }
.lp-secure-note {
    text-align: center; font-size: 13px; color: var(--lp-text-faint); font-weight: 700;
    margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ---------- Footer ---------- */
.lp-footer { text-align: center; padding: 64px 28px 0; }
.lp-footer p { font-size: 13px; color: var(--lp-text-faint); font-weight: 700; }

/* ---------- Sticky bottom bar ---------- */
.lp-sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--lp-glass-bg-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--lp-glass-border);
    box-shadow: var(--lp-sticky-shadow);
    padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    transform: translateY(110%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); z-index: 200;
    min-height: 68px;
}
.lp-sticky-bar.visible { transform: translateY(0); }
.lp-sticky-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lp-sticky-thumb { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: var(--lp-surface-alt); border: 1px solid var(--lp-border); padding: 3px; flex-shrink: 0; }
.lp-sticky-text { display: flex; flex-direction: column; min-width: 0; }
.lp-sticky-name { font-size: 12.5px; font-weight: 700; color: var(--lp-text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.lp-sticky-price { font-size: 17px; font-weight: 900; color: var(--lp-primary); letter-spacing: -0.3px; }
.lp-sticky-bar .lp-cta-btn { padding: 12px 24px; font-size: 14px; border-radius: 12px; }

/* ---------- Modal ---------- */
.lp-modal-overlay {
    display: none; position: fixed; inset: 0; background: var(--lp-overlay-bg); backdrop-filter: blur(6px);
    z-index: 400; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.3s ease;
}
.lp-modal-overlay.active { opacity: 1; }
.lp-modal-box {
    background: var(--lp-surface); border-radius: var(--lp-radius-lg); padding: 36px 32px; max-width: 400px; width: 100%;
    text-align: center; box-shadow: var(--lp-shadow-xl); border: 1px solid var(--lp-border);
    transform: scale(0.92) translateY(20px); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.lp-modal-overlay.active .lp-modal-box { transform: scale(1) translateY(0); }
.lp-modal-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 26px; box-shadow: var(--lp-shadow-sm); }
.lp-modal-icon.success { background: var(--lp-success-soft); color: var(--lp-success); }
.lp-modal-icon.error { background: var(--lp-danger-soft); color: var(--lp-danger); }
.lp-modal-icon.warning { background: var(--lp-accent-soft); color: var(--lp-warning-text); }
.lp-modal-box h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.3px; }
.lp-modal-box p { font-size: 14.5px; color: var(--lp-text-light); font-weight: 600; line-height: 1.75; margin-bottom: 24px; }
.lp-modal-box .lp-cta-btn { width: 100%; border-radius: var(--lp-radius-md); }

/* ---------- Global loader ---------- */
.lp-global-loader { display: none; position: fixed; inset: 0; background: var(--lp-loader-bg); z-index: 500; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.lp-global-loader.active { display: flex; }
.lp-global-loader i { font-size: 32px; color: var(--lp-primary); }

/* ---------- Image Slide Navigation Arrows ---------- */
.lp-nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--lp-glass-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--lp-glass-border); color: var(--lp-text);
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 15;
    transition: all 0.2s ease; box-shadow: var(--lp-shadow-sm);
    padding: 0;
}
.lp-nav-arrow:hover { background: var(--lp-glass-bg-strong); transform: translateY(-50%) scale(1.1); box-shadow: var(--lp-shadow-md); }
.lp-nav-prev { left: 14px; }
.lp-nav-next { right: 14px; }
[dir="rtl"] .lp-nav-prev i { transform: rotate(180deg); }
[dir="rtl"] .lp-nav-next i { transform: rotate(180deg); }
[dir="ltr"] .lp-nav-prev i { transform: rotate(180deg); }
[dir="ltr"] .lp-nav-next i { transform: rotate(180deg); }

/* ---------- Hide thumbnails on phones ---------- */
@media (max-width: 768px) { .lp-thumbs { display: none !important; } }

/* ==================== Skeleton loading ==================== */
.lp-skeleton { max-width: 1100px; margin: 0 auto; padding: 56px 28px 0; }
.lp-skel-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.lp-skel-media { display: flex; flex-direction: column; gap: 18px; }
.lp-skel-image { aspect-ratio: 1/1; border-radius: var(--lp-radius-lg); }
.lp-skel-thumbs { display: flex; gap: 12px; }
.lp-skel-thumbs .lp-skel-box { width: 72px; height: 72px; border-radius: var(--lp-radius-sm); }
.lp-skel-info { display: flex; flex-direction: column; gap: 18px; }
.lp-skel-line { border-radius: 10px; }
.lp-skel-box {
    display: block; border-radius: 12px;
    background: linear-gradient(90deg, var(--lp-surface-alt) 25%, var(--lp-border) 40%, var(--lp-surface-alt) 55%);
    background-size: 400% 100%; animation: lp-skel-shimmer 1.6s ease infinite;
}
.lp-skel-features { max-width: 1100px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-skel-features .lp-skel-box { height: 120px; border-radius: var(--lp-radius-md); }
@keyframes lp-skel-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ==================== Live field validation ==================== */
.lp-field-wrap { position: relative; }
.lp-field-check { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); color: var(--lp-success); font-size: 15px; display: none; }
.lp-input.is-valid + .lp-field-check { display: block; }
.lp-field-error-msg { font-size: 13px; font-weight: 700; color: var(--lp-danger); margin-top: 8px; display: none; }
.lp-field-error-msg.show { display: block; }

/* ==================== Total update pulse ==================== */
@keyframes lp-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--lp-primary); } 100% { transform: scale(1); } }
.lp-summary-total.lp-pulse { animation: lp-pulse 0.45s ease; }

/* ==================== Image lightbox / zoom ==================== */
.lp-lightbox {
    display: none; position: fixed; inset: 0; z-index: 600; background: rgba(2,6,23,0.94);
    align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.3s ease;
}
.lp-lightbox.active { display: flex; opacity: 1; }
.lp-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 16px; box-shadow: var(--lp-shadow-xl); }
.lp-lightbox-close {
    position: absolute; top: 20px; inset-inline-end: 20px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
    transition: all 0.2s ease;
}
.lp-lightbox-close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }
.lp-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
    transition: all 0.2s ease;
}
.lp-lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.1); }
.lp-lightbox-prev { inset-inline-start: 18px; }
.lp-lightbox-next { inset-inline-end: 18px; }
[dir="rtl"] .lp-lightbox-prev i, [dir="rtl"] .lp-lightbox-next i { transform: rotate(180deg); }
[dir="ltr"] .lp-lightbox-prev i, [dir="ltr"] .lp-lightbox-next i { transform: rotate(180deg); }
.lp-hero-image { cursor: zoom-in; }

/* ==================== Responsive ==================== */
@media (max-width: 860px) {
    .lp-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 0; }
    .lp-hero-media { position: static; }
    .lp-hero-info h1 { font-size: 28px; }
    .lp-price { font-size: 30px; }
    .lp-features { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
    .lp-field-row { grid-template-columns: 1fr; }
    .lp-delivery-toggle { grid-template-columns: 1fr 1fr; }

    .lp-section { margin-top: 52px; padding: 0 20px; }
    .lp-gallery-wrap { margin-top: 12px; }
    .lp-testimonials { margin-top: 52px; padding: 0 20px; }
    .lp-checkout-section { margin-top: 52px; padding: 0 20px; }
    .lp-section-head { margin-bottom: 24px; }
    .lp-desc-card { padding: 28px; }
    .lp-footer { padding-top: 40px; }
    .lp-checkout-head, .lp-checkout-body { padding: 24px; }
}

@media (max-width: 480px) {
    .lp-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lp-checkout-body, .lp-checkout-head { padding-left: 20px; padding-right: 20px; }
    .lp-desc-card { padding: 24px; }
    .logo h1 { font-size: 17px; }
    .lp-hero-info h1 { font-size: 24px; }
    .lp-price { font-size: 26px; }
    .lp-testi-grid { grid-template-columns: 1fr; }
}

/* ==================== Accessibility: bigger tap targets ==================== */
@media (max-width: 480px) {
    .lp-faq-q { padding: 18px 18px; }
    .lp-nav-arrow { width: 40px; height: 40px; }
    .lp-qty-btn { width: 38px; height: 38px; }
    .lp-thumb { width: 60px; height: 60px; }
    .lp-cta-main, .lp-submit-btn { min-height: 56px; }
    .lp-feature-card { padding: 22px 14px; }
    .lp-feature-card i { width: 42px; height: 42px; font-size: 16px; }
}