/* ==========================================================================
   Sewar Al Quds — Landing Page v2 & Mobile PWA Luxury Confectionery Design
   Editorial Cream / Royal Gold / Warm Brown / Damascus Pistachio
   ========================================================================== */

:root {
    --lp-bg: #FAF6EE;
    --lp-tint: #F3EBDD;
    --lp-surface: #FFFFFF;
    --lp-surface-trans: rgba(255, 255, 255, 0.88);
    --lp-border: #E8DCC8;
    --lp-border-focus: #C69234;
    --lp-text: #3A2414;
    --lp-muted: #7A624E;
    --lp-gold: #C69234;
    --lp-gold-dark: #A07222;
    --lp-gold-soft: #F6EEDD;
    --lp-gold-glow: rgba(198, 146, 52, 0.28);
    --lp-brown: #3D1F14;
    --lp-brown-2: #5D3723;
    --lp-pistachio: #2E6F40;
    --lp-pistachio-soft: #EBF5EE;
    --lp-shadow-sm: 0 4px 14px rgba(61, 31, 20, 0.05);
    --lp-shadow: 0 10px 30px rgba(61, 31, 20, 0.08);
    --lp-shadow-lg: 0 20px 45px rgba(61, 31, 20, 0.14);
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
    --lp-radius-pill: 999px;
    --lp-serif: 'Amiri', 'Traditional Arabic', serif;
    --lp-sans: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
    --bottom-nav-height: 64px;
}

[data-theme="dark"] {
    --lp-bg: #160F0A;
    --lp-tint: #1E150F;
    --lp-surface: #241A13;
    --lp-surface-trans: rgba(36, 26, 19, 0.92);
    --lp-border: #3D2B1F;
    --lp-border-focus: #E0A63E;
    --lp-text: #F8EFE4;
    --lp-muted: #C7B5A3;
    --lp-gold: #DFAC46;
    --lp-gold-dark: #B88526;
    --lp-gold-soft: #382819;
    --lp-gold-glow: rgba(223, 172, 70, 0.25);
    --lp-brown: #F8EFE4;
    --lp-brown-2: #DFC9B2;
    --lp-pistachio: #4EA365;
    --lp-pistachio-soft: #1E3324;
    --lp-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
    --lp-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --lp-shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
}

body.landing-body {
    background: var(--lp-bg) !important;
    color: var(--lp-text) !important;
    font-family: var(--lp-sans);
    padding-bottom: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991.98px) {
    body.landing-body {
        padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    }
}

/* ---------- announcement + nav ---------- */
.lp-announce {
    background: linear-gradient(90deg, #2E150B 0%, #442212 50%, #2E150B 100%);
    color: #F6E6C9;
    font-size: .82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(198, 146, 52, 0.25);
    white-space: nowrap;
    overflow: hidden;
}
.lp-announce a, .lp-announce span { color: #F6E6C9; text-decoration: none; }
.lp-announce-main { font-weight: 700; color: #E8C98E !important; }

/* ---------- main navbar (perfected web & mobile view) ---------- */
.lp-nav {
    background: var(--lp-surface-trans) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--lp-border);
    padding: 8px 0;
    transition: all 0.25s ease;
    z-index: 1020;
}
.lp-nav.lp-nav-scrolled {
    background: var(--lp-surface) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(198, 146, 52, 0.35);
    padding: 6px 0;
}

/* Brand layout */
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 1rem;
}
.lp-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.06));
    transition: transform 0.2s ease;
}
.lp-brand:hover img { transform: scale(1.04); }
.lp-brand-text { display: flex; flex-direction: column; }
.lp-brand-title {
    font-family: var(--lp-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lp-brown);
    line-height: 1.15;
    white-space: nowrap;
}
[data-theme="dark"] .lp-brand-title { color: #F8EFE4; }
.lp-brand-sub {
    font-size: .6rem;
    letter-spacing: .14em;
    color: var(--lp-gold);
    font-weight: 800;
    white-space: nowrap;
}

/* Nav links on desktop */
.lp-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}
.lp-links .nav-item {
    white-space: nowrap;
}
.lp-links .nav-link {
    color: var(--lp-muted) !important;
    font-weight: 700;
    font-size: .92rem;
    padding: 6px 12px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}
.lp-links .nav-link:hover,
.lp-links .nav-link.active {
    color: var(--lp-brown) !important;
    background: var(--lp-gold-soft);
}
[data-theme="dark"] .lp-links .nav-link:hover,
[data-theme="dark"] .lp-links .nav-link.active {
    color: var(--lp-text) !important;
    background: rgba(223, 172, 70, 0.15);
}

/* Desktop Action items */
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* Icon Buttons */
.lp-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-brown);
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.lp-icon-btn:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold);
    transform: translateY(-1px);
}
[data-theme="dark"] .lp-icon-btn { color: var(--lp-text); }
.lp-cart-btn .badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #E11D48;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
}

/* Mobile Collapse Styling */
@media (max-width: 991.98px) {
    .lp-brand img { height: 38px; }
    .lp-brand-title { font-size: 1.15rem; }
    .lp-brand-sub { font-size: .56rem; }

    #landingNav {
        background: var(--lp-surface);
        border: 1px solid var(--lp-border);
        border-radius: 18px;
        margin-top: 12px;
        padding: 16px;
        box-shadow: var(--lp-shadow-lg);
        animation: fadeInMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes fadeInMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .lp-links {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-bottom: 14px !important;
        border-bottom: 1px solid var(--lp-border);
        margin-bottom: 14px !important;
    }
    .lp-links .nav-link {
        padding: 10px 14px !important;
        text-align: right;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .95rem;
    }
    .lp-links .nav-link i {
        color: var(--lp-gold);
        width: 20px;
        text-align: center;
    }
    .lp-mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* ---------- buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: .93rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.lp-btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 8px; }

.lp-btn-gold {
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--lp-gold-glow);
}
.lp-btn-gold:hover {
    background: linear-gradient(135deg, var(--lp-gold-dark) 0%, #855c1b 100%);
    box-shadow: 0 6px 20px var(--lp-gold-glow);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.lp-btn-outline {
    background: transparent;
    color: var(--lp-brown) !important;
    border-color: var(--lp-gold);
}
[data-theme="dark"] .lp-btn-outline { color: var(--lp-text) !important; }
.lp-btn-outline:hover { background: var(--lp-gold-soft); }

.lp-btn-ghost {
    background: transparent;
    color: var(--lp-muted) !important;
    border-color: var(--lp-border);
    font-size: .84rem;
}
.lp-btn-ghost:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold) !important;
}

.lp-btn-soft {
    background: var(--lp-tint);
    color: var(--lp-brown) !important;
    border-color: var(--lp-border);
}
[data-theme="dark"] .lp-btn-soft { color: var(--lp-text) !important; }
.lp-btn-soft:hover { background: var(--lp-gold-soft); border-color: var(--lp-gold); }

.lp-btn-brown {
    background: linear-gradient(135deg, #492817 0%, #30170A 100%);
    color: #FFF9E9 !important;
    box-shadow: 0 4px 16px rgba(48, 23, 10, 0.25);
}
.lp-btn-brown:hover {
    background: linear-gradient(135deg, #3A1F11 0%, #200D05 100%);
    transform: translateY(-1px);
}

.lp-btn-light {
    background: #FFF9E9;
    color: #3D1F14 !important;
    border-color: #EBDAB8;
}
.lp-btn-light:hover { background: #FFFFFF; }

.lp-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1EAA52 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}
.lp-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1EAA52 0%, #15833E 100%);
    color: #ffffff !important;
}

/* PWA Install Button in Header */
.lp-btn-install {
    background: linear-gradient(135deg, #2E6F40 0%, #1F4F2D 100%);
    color: #ffffff !important;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .85rem;
    box-shadow: 0 4px 12px rgba(46, 111, 64, 0.25);
}
.lp-btn-install:hover {
    background: linear-gradient(135deg, #245832 0%, #173B22 100%);
    color: #ffffff !important;
}
.lp-btn-install i { animation: bounceDown 2s infinite ease-in-out; }
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* ---------- typography ---------- */
.lp-title {
    font-family: var(--lp-serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    color: var(--lp-brown);
    margin-bottom: .6rem;
    line-height: 1.35;
}
[data-theme="dark"] .lp-title { color: var(--lp-text); }
.lp-title-sm {
    font-family: var(--lp-serif);
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--lp-brown);
}
[data-theme="dark"] .lp-title-sm { color: var(--lp-text); }
.lp-text { color: var(--lp-muted); line-height: 1.85; font-size: 1rem; }
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lp-gold);
    font-weight: 800;
    font-size: .84rem;
    letter-spacing: .04em;
    margin-bottom: 14px;
    background: var(--lp-gold-soft);
    padding: 4px 14px;
    border-radius: 999px;
}
.lp-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--lp-gold-soft);
    color: var(--lp-gold);
    font-weight: 800;
    font-size: .78rem;
    margin-bottom: 10px;
}
.lp-pill-dark { background: rgba(255, 249, 233, .14); color: #E8C98E; }
.lp-link { color: var(--lp-gold) !important; font-weight: 700; text-decoration: none; }
.lp-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.lp-hero {
    position: relative;
    padding: 50px 0 35px;
    overflow: hidden;
}
.lp-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--lp-gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.lp-hero > .container { position: relative; z-index: 1; }
.lp-hero-title {
    font-family: var(--lp-serif);
    font-weight: 700;
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.3;
    color: var(--lp-brown);
    margin-bottom: 20px;
}
[data-theme="dark"] .lp-hero-title { color: var(--lp-text); }
.lp-hero-text {
    color: var(--lp-muted);
    font-size: 1.1rem;
    line-height: 1.95;
    max-width: 560px;
    margin-bottom: 26px;
}

/* Trust Badges in Hero */
.lp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.lp-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--lp-text);
    box-shadow: var(--lp-shadow-sm);
}
.lp-badge-tag i { color: var(--lp-gold); }

.lp-hero-media {
    position: relative;
    border-radius: 24px;
    padding: 16px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-lg);
    margin-bottom: 24px;
}
.lp-hero-media-inner {
    border-radius: 18px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background:
        radial-gradient(circle at 20% 20%, rgba(198, 146, 52, .22), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(61, 31, 20, .16), transparent 55%),
        repeating-linear-gradient(45deg, rgba(198, 146, 52, .06) 0 2px, transparent 2px 14px),
        var(--lp-tint);
    position: relative;
    overflow: hidden;
}
.lp-hero-media-inner img {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 16px 30px rgba(61, 31, 20, .25));
    transition: transform 0.4s ease;
}
.lp-hero-media:hover .lp-hero-media-inner img {
    transform: scale(1.03);
}

/* Storefront Facade & Shimmer (حركة لمعة ذهبية متحركة على واجهة المحل) */
.lp-hero-media-storefront {
    padding: 0 !important;
    min-height: 420px;
    max-height: 520px;
    background: #140D07 !important;
    border: 2px solid rgba(198, 146, 52, 0.45);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}
.lp-hero-storefront {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 520px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    filter: brightness(1.03) contrast(1.04) !important;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.lp-hero-media:hover .lp-hero-storefront {
    transform: scale(1.035) !important;
}

.lp-gleam-overlay {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 220, 130, 0.1) 32%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 225, 140, 0.3) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: lp-gold-gleam-sweep 4.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes lp-gold-gleam-sweep {
    0% {
        left: -150%;
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    42% {
        left: 150%;
        opacity: 0.9;
    }
    43%, 100% {
        left: 150%;
        opacity: 0;
    }
}

.lp-hero-chip {
    position: absolute;
    bottom: -18px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: var(--lp-shadow-lg);
    z-index: 2;
}
.lp-hero-chip i { color: var(--lp-gold); font-size: 1.3rem; }
.lp-hero-chip strong { display: block; font-size: .9rem; color: var(--lp-text); }
.lp-hero-chip small { display: block; font-size: .78rem; color: var(--lp-muted); }

.lp-stats { margin-top: 40px; }
.lp-stat {
    height: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 22px 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow);
}
.lp-stat small {
    display: block;
    color: var(--lp-muted);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 6px;
}
.lp-stat strong {
    display: block;
    font-family: var(--lp-serif);
    font-size: 2rem;
    color: var(--lp-brown);
    line-height: 1.25;
}
[data-theme="dark"] .lp-stat strong { color: var(--lp-text); }
.lp-stat strong span { font-size: 1.15rem; }
.lp-stat em {
    display: block;
    font-style: normal;
    color: var(--lp-gold);
    font-size: .84rem;
    font-weight: 700;
    margin-top: 6px;
}

/* ---------- sections ---------- */
.lp-section { padding: 70px 0; }
.lp-section-tint { background: var(--lp-tint); }

/* Brand Heritage Card (عرض الهوية البصرية المقدسية لسوار القدس) */
.lp-brand-heritage-card {
    position: relative;
    border-radius: 22px;
    padding: 10px;
    background: var(--lp-surface);
    border: 1.5px solid rgba(198, 146, 52, 0.4);
    box-shadow: 0 16px 40px rgba(61, 31, 20, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.lp-brand-heritage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(198, 146, 52, 0.22);
    border-color: var(--lp-gold);
}
.lp-brand-heritage-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #FAF6EE;
}
.lp-brand-heritage-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lp-brand-heritage-card:hover .lp-brand-heritage-img {
    transform: scale(1.03);
}
.lp-brand-heritage-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(30, 20, 12, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FAF6EE;
    border: 1px solid rgba(198, 146, 52, 0.6);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.lp-feature {
    height: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 26px 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: all 0.25s ease;
}
.lp-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow);
    border-color: var(--lp-gold);
}
.lp-feature h3 { font-size: 1.12rem; font-weight: 800; color: var(--lp-text); margin: 14px 0 8px; }
.lp-feature p { color: var(--lp-muted); font-size: .92rem; margin: 0; line-height: 1.85; }
.lp-feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--lp-gold-soft);
    color: var(--lp-gold);
    font-size: 1.25rem;
}

/* ---------- menu & categories ---------- */
.lp-menu-toolbar {
    position: sticky;
    top: 68px;
    z-index: 990;
    background: var(--lp-surface-trans);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 14px;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

/* Horizontal scrollable category pill container */
.category-scroll-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    scroll-snap-type: x mandatory;
    flex: 1 1 auto;
}
.category-scroll-wrapper::-webkit-scrollbar { display: none; }

.category-pill-btn {
    white-space: nowrap;
    scroll-snap-align: start;
    border: 1px solid var(--lp-border) !important;
    background: var(--lp-surface) !important;
    color: var(--lp-muted) !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.category-pill-btn:hover {
    color: var(--lp-brown) !important;
    border-color: var(--lp-gold) !important;
    background: var(--lp-gold-soft) !important;
}
.category-pill-btn.active {
    background: linear-gradient(135deg, #3D1F14 0%, #261108 100%) !important;
    color: #FFF9E9 !important;
    border-color: #3D1F14 !important;
    box-shadow: 0 4px 12px rgba(61, 31, 20, 0.25) !important;
}
[data-theme="dark"] .category-pill-btn.active {
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%) !important;
    color: #ffffff !important;
    border-color: var(--lp-gold) !important;
}

.lp-search {
    position: relative;
    min-width: 240px;
    flex: 0 1 300px;
}
.lp-search i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--lp-muted);
    pointer-events: none;
}
.lp-search input {
    width: 100%;
    padding: 9px 40px 9px 36px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-text);
    font-size: .9rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.lp-search input:focus {
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 3px var(--lp-gold-glow);
}
.lp-search button {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--lp-muted);
    cursor: pointer;
    padding: 4px;
}

/* Product Cards Grid */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
.lp-grid > .category-section { display: contents; }

.lp-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--lp-shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.lp-card:hover {
    box-shadow: var(--lp-shadow);
    transform: translateY(-3px);
    border-color: rgba(198, 146, 52, 0.4);
}

.lp-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--lp-tint);
    overflow: hidden;
}
.lp-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lp-card:hover .lp-card-media > img {
    transform: scale(1.05);
}
.lp-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(45deg, rgba(198, 146, 52, .07) 0 2px, transparent 2px 14px),
        var(--lp-tint);
}
.lp-card-placeholder img { width: 44%; opacity: .6; }

.lp-card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(61, 31, 20, 0.88);
    backdrop-filter: blur(4px);
    color: #FFF9E9;
    font-size: .74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    z-index: 1;
}
.lp-card-tag-alt {
    right: auto;
    left: 10px;
    background: rgba(198, 146, 52, 0.92);
}

.lp-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.lp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.lp-card-head h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--lp-text);
    margin: 0;
    line-height: 1.45;
}
.lp-price {
    color: var(--lp-gold);
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
    text-align: left;
    line-height: 1.2;
}
.lp-price small { font-size: .8rem; }
.lp-price span {
    display: block;
    font-size: .72rem;
    color: var(--lp-muted);
    font-weight: 600;
}

.lp-card-body p {
    color: var(--lp-muted);
    font-size: .88rem;
    margin: 0;
    line-height: 1.65;
}

.lp-card-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--lp-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.lp-card-foot .add-cart-btn { flex: 1; }

.lp-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--lp-surface);
}
.lp-qty button {
    border: 0;
    background: var(--lp-tint);
    color: var(--lp-text);
    width: 34px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lp-qty button:hover { background: var(--lp-gold-soft); }
.lp-qty button:active { transform: scale(0.92); }
.lp-qty .qty-val {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    color: var(--lp-gold);
    font-size: .95rem;
}

.lp-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--lp-surface);
    border: 1px dashed var(--lp-border);
    border-radius: var(--lp-radius);
    margin-bottom: 24px;
}
.lp-empty i { font-size: 2.4rem; color: var(--lp-gold); margin-bottom: 12px; }
.lp-empty h4 { font-weight: 800; color: var(--lp-text); }
.lp-empty p { color: var(--lp-muted); }

/* ---------- banner ---------- */
.lp-banner {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}
.lp-banner h4 { font-size: 1.12rem; font-weight: 800; margin: 0 0 3px; color: var(--lp-text); }
.lp-banner p { margin: 0; color: var(--lp-muted); font-size: .9rem; }
.lp-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-gold-soft);
    color: var(--lp-gold);
    font-size: 1.4rem;
}

/* ---------- occasions ---------- */
.lp-offer {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 28px 24px 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: all 0.25s ease;
}
.lp-offer:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow);
}
.lp-offer-featured {
    border: 2px solid var(--lp-gold);
    box-shadow: var(--lp-shadow);
    transform: translateY(-8px);
}
.lp-offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px var(--lp-gold-glow);
}
.lp-offer-tag {
    align-self: flex-start;
    background: var(--lp-gold-soft);
    color: var(--lp-gold);
    font-size: .78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.lp-offer h3 {
    font-family: var(--lp-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 12px;
}
.lp-offer ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.lp-offer li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 10px;
    color: var(--lp-muted);
    font-size: .94rem;
    line-height: 1.6;
}
.lp-offer li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 2px;
    color: var(--lp-gold);
    font-size: .85rem;
}

.lp-inquiry {
    margin-top: 45px;
    padding: 32px;
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}
.lp-label { display: block; font-size: .82rem; font-weight: 700; color: var(--lp-muted); margin-bottom: 5px; }
.lp-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--lp-border);
    background: var(--lp-bg);
    color: var(--lp-text);
    outline: none;
    font-size: .92rem;
    transition: border-color 0.2s ease;
}
.lp-input:focus {
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 3px var(--lp-gold-glow);
}

/* ---------- testimonials / reviews ---------- */
.lp-review-card {
    height: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 24px;
    box-shadow: var(--lp-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease;
}
.lp-review-card:hover { transform: translateY(-2px); box-shadow: var(--lp-shadow); }
.lp-review-stars { color: #F59E0B; font-size: .95rem; }
.lp-review-quote {
    color: var(--lp-text);
    font-size: .95rem;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}
.lp-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--lp-border);
}
.lp-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lp-gold-soft);
    color: var(--lp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
}
.lp-review-author strong { display: block; font-size: .9rem; color: var(--lp-text); }
.lp-review-author small { display: block; font-size: .75rem; color: var(--lp-muted); }

/* ---------- FAQ accordion ---------- */
.lp-faq-item {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.lp-faq-btn {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    font-weight: 800;
    font-size: 1rem;
    color: var(--lp-text);
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease;
}
.lp-faq-btn:hover { background: var(--lp-tint); }
.lp-faq-btn i { color: var(--lp-gold); transition: transform 0.25s ease; }
.lp-faq-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.lp-faq-body {
    padding: 0 20px 18px;
    color: var(--lp-muted);
    font-size: .93rem;
    line-height: 1.8;
}

/* ---------- branch & contact ---------- */
.lp-branch {
    height: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 26px;
    box-shadow: var(--lp-shadow-sm);
}
.lp-branch h3 {
    font-family: var(--lp-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--lp-text);
    margin: 14px 0 10px;
}
.lp-branch p { color: var(--lp-muted); margin-bottom: 8px; font-size: .95rem; }
.lp-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lp-pistachio-soft);
    color: var(--lp-pistachio);
    font-size: .84rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.lp-hours-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-pistachio);
    box-shadow: 0 0 0 3px rgba(46, 111, 64, 0.2);
    animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}
.lp-map {
    height: 100%;
    min-height: 320px;
    border-radius: var(--lp-radius);
    overflow: hidden;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

/* ---------- CTA ---------- */
.lp-cta-wrap { padding: 0 0 70px; background: var(--lp-tint); }
.lp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px 40px;
    border-radius: 22px;
    background: linear-gradient(135deg, #492817 0%, #2A140B 100%);
    color: #FFF9E9;
    box-shadow: var(--lp-shadow-lg);
}
.lp-cta h2 {
    font-family: var(--lp-serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    margin: 0 0 8px;
    color: #FFF9E9;
}
.lp-cta p { margin: 0; color: #E9D9BD; font-size: 1.05rem; }

/* ---------- FOOTER ---------- */
.landing-footer { background: #26150C !important; color: #E6D4BD; }
.landing-footer .footer-brand-heading { font-family: var(--lp-serif); color: #FFF9E9; }
.landing-footer .footer-desc { color: #BFAEA0; }
.landing-footer .footer-col-title { color: #E8C98E; }
.landing-footer .footer-links a { color: #D5C2B0; text-decoration: none; transition: color 0.15s ease; }
.landing-footer .footer-links a:hover { color: #F59E0B; }
.landing-footer .footer-contact-item { color: #D5C2B0; }
.landing-footer .footer-phone-link { color: #FFF9E9; text-decoration: none; }
.landing-footer .footer-whatsapp-link { color: #25D366; text-decoration: none; font-weight: 700; }
.landing-footer .footer-divider { border-color: rgba(255, 255, 255, 0.1); }
.landing-footer .footer-bottom-text { color: #9E897A; }
.landing-footer .footer-strong { color: #E8C98E; }

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (App-like Mobile UX)
   ========================================================================== */
.lp-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--lp-surface-trans);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--lp-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 991.98px) {
    .lp-mobile-bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
    }
}

.lp-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--lp-muted);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 700;
    padding: 6px 2px;
    position: relative;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}
.lp-bottom-nav-item i { font-size: 1.15rem; transition: transform 0.2s ease; }
.lp-bottom-nav-item.active, .lp-bottom-nav-item:active {
    color: var(--lp-gold);
}
.lp-bottom-nav-item.active i { transform: scale(1.15); }

/* Bottom Nav Cart Item */
.lp-bottom-nav-cart {
    color: #fff !important;
}
.lp-bottom-nav-cart-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px var(--lp-gold-glow);
    margin-top: -16px;
    position: relative;
    border: 3px solid var(--lp-surface);
    transition: transform 0.2s ease;
}
.lp-bottom-nav-cart-btn:active { transform: scale(0.92); }
.lp-bottom-nav-cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #E11D48;
    color: #ffffff;
    font-size: .65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    border: 2px solid var(--lp-surface);
}

/* Position Floating Cart Bar above Mobile Bottom Nav */
@media (max-width: 991.98px) {
    #floatingCartBar {
        bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 10px) !important;
        border-radius: 16px !important;
        margin: 0 12px !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
    }
}

/* ==========================================================================
   PWA INSTALL FLOATING BANNER
   ========================================================================== */
.lp-pwa-banner {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
    right: 14px;
    left: 14px;
    max-width: 480px;
    margin: 0 auto;
    background: var(--lp-surface);
    border: 1.5px solid var(--lp-gold);
    border-radius: 18px;
    box-shadow: var(--lp-shadow-lg);
    padding: 14px 16px;
    z-index: 1030;
    display: none;
    align-items: center;
    gap: 12px;
    animation: slideUpPwa .4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 992px) {
    .lp-pwa-banner {
        bottom: 24px;
        right: 24px;
        left: auto;
        width: 420px;
    }
}
@keyframes slideUpPwa {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.lp-pwa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.lp-pwa-content { flex: 1; min-width: 0; }
.lp-pwa-title {
    font-weight: 800;
    font-size: .92rem;
    color: var(--lp-text);
    margin: 0 0 2px;
    line-height: 1.3;
}
.lp-pwa-desc {
    color: var(--lp-muted);
    font-size: .78rem;
    margin: 0;
    line-height: 1.4;
}
.lp-pwa-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ==========================================================================
   IOS INSTALL INSTRUCTIONS MODAL
   ========================================================================== */
.lp-ios-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lp-tint);
    margin-bottom: 10px;
    text-align: right;
}
.lp-ios-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lp-gold);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
}
.lp-ios-step p {
    margin: 0;
    font-size: .88rem;
    color: var(--lp-text);
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINTS & POLISH
   ========================================================================== */
@media (max-width: 991.98px) {
    .lp-offer-featured { transform: none; }
    .lp-hero { padding-top: 30px; }
    .lp-hero-media-inner { min-height: 280px; }
    .lp-hero-media-storefront { min-height: 280px; max-height: 380px; }
    .lp-menu-toolbar { top: 60px; padding: 10px; }
    .lp-search { flex: 1 1 100%; min-width: 100%; order: 2; margin-top: 8px; }
    .category-scroll-wrapper { order: 1; width: 100%; }
}

@media (max-width: 575.98px) {
    .lp-hero-media-storefront { min-height: 240px; max-height: 300px; }
    .lp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lp-card-body { padding: 10px 12px; }
    .lp-card-head h3 { font-size: .92rem; }
    .lp-price { font-size: .95rem; }
    .lp-price small { font-size: .72rem; }
    .lp-card-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .78rem; line-height: 1.5; }
    .lp-card-foot { padding-top: 8px; flex-direction: column; gap: 6px; }
    .lp-card-foot .lp-qty { width: 100%; justify-content: space-between; }
    .lp-card-foot .add-cart-btn { width: 100%; padding: 6px 10px; font-size: .8rem; }
    .lp-card-tag { font-size: .68rem; padding: 2px 7px; }
    .lp-hero-chip { left: 14px; bottom: -14px; padding: 6px 12px; }
    .lp-cta { padding: 26px 20px; }
    .lp-inquiry { padding: 20px 16px; }
}

.lp-hero, .lp-section, .lp-cta-wrap { scroll-margin-top: 80px; }

/* ---------- Sweets Weight & Portion Selector ---------- */
.lp-weight-selector {
    background: rgba(198, 146, 52, 0.08);
    border: 1px solid rgba(198, 146, 52, 0.22);
    border-radius: 10px;
    padding: 6px 8px;
    transition: all 0.2s ease;
}
.lp-weight-pills {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}
.lp-weight-pill {
    flex: 1;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 2px;
    color: var(--lp-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}
.lp-weight-pill:hover {
    border-color: var(--lp-gold);
    color: var(--lp-text);
}
.lp-weight-pill.active {
    background: linear-gradient(135deg, #C69234 0%, #A07222 100%) !important;
    color: #FFFFFF !important;
    border-color: #A07222 !important;
    box-shadow: 0 2px 6px rgba(198, 146, 52, 0.35);
}
.lp-weight-price-calc {
    font-size: 0.78rem;
    color: var(--lp-gold-dark);
}
[data-theme="dark"] .lp-weight-price-calc {
    color: var(--lp-gold);
}
/* Fit the navbar on 992–1439px screens (e.g. 1366px laptops) without sideways scrolling */
@media (min-width: 992px) and (max-width: 1599.98px) {
    .lp-nav .container { max-width: 100%; padding-inline: 16px; }
    .lp-links { gap: 0; }
    .lp-links .nav-link { padding: 6px 8px !important; font-size: .88rem; }
    .lp-nav-actions { gap: 6px; }
    .lp-nav-actions .lp-btn { padding-inline: 12px; }
    .lp-brand-sub { display: none; }
}
/* The decorative shine on the hero photo must never widen the page */
.lp-hero-media { overflow: hidden; }
@media (min-width: 992px) and (max-width: 1599.98px) {
    .lp-brand-text { display: none; }            /* logo only — the name is in the logo */
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* the two least-used links stay reachable by scrolling and in the mobile menu */
    .lp-links .nav-item:nth-child(5),
    .lp-links .nav-item:nth-child(6) { display: none; }
}
