/* ==========================================================================
   Lucky Mobile World — storefront theme (orange + blue)
   Loaded after style.css; overrides the base palette and restyles the shell.
   ========================================================================== */

:root {
    --lm-blue-900: #061f4d;
    --lm-blue-800: #0a2f6e;
    --lm-blue: #0b3d91;
    --lm-blue-600: #1557d6;
    --lm-blue-100: #e8f0ff;
    --lm-orange: #ff6b00;
    --lm-orange-600: #e85d00;
    --lm-orange-100: #fff1e6;
    --lm-ink: #0f172a;
    --lm-muted: #64748b;
    --lm-line: #e5eaf3;
    --lm-bg: #f5f7fc;
    --lm-radius: 18px;
    --lm-shadow: 0 10px 30px rgba(11, 61, 145, .08);
    --lm-shadow-lg: 0 18px 50px rgba(11, 61, 145, .16);

    --primary: var(--lm-blue);
    --primary-dark: var(--lm-blue-800);
    --bs-primary: #0b3d91;
    --bs-primary-rgb: 11, 61, 145;
    --bs-link-color: #0b3d91;
    --bs-link-color-rgb: 11, 61, 145;
    --bs-link-hover-color: #ff6b00;
    --bs-font-sans-serif: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
    background: var(--lm-bg);
    color: var(--lm-ink);
}

[data-bs-theme="dark"] {
    --lm-ink: #e2e8f0;
    --lm-muted: #94a3b8;
    --lm-line: #1f2a44;
    --lm-bg: #0b1220;
}

[data-bs-theme="dark"] body { background: var(--lm-bg); }

.shop-pagination .pagination {
    --bs-pagination-color: var(--lm-blue);
    --bs-pagination-hover-color: var(--lm-orange-600);
    --bs-pagination-active-bg: var(--lm-blue);
    --bs-pagination-active-border-color: var(--lm-blue);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.shop-pagination nav > .d-none { gap: 1rem; flex-wrap: wrap; }
.shop-pagination p { margin-bottom: 0; }
.shop-pagination .page-link { min-width: 40px; min-height: 44px; text-align: center; }
.shop-pagination .d-sm-none .pagination { width: 100%; justify-content: space-between; }

/* ---------- Buttons & utilities ---------- */
.btn-primary {
    --bs-btn-bg: var(--lm-blue);
    --bs-btn-border-color: var(--lm-blue);
    --bs-btn-hover-bg: var(--lm-blue-800);
    --bs-btn-hover-border-color: var(--lm-blue-800);
    --bs-btn-active-bg: var(--lm-blue-900);
    --bs-btn-active-border-color: var(--lm-blue-900);
    --bs-btn-disabled-bg: var(--lm-blue);
    --bs-btn-disabled-border-color: var(--lm-blue);
}

.btn-lm-orange,
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--lm-orange);
    --bs-btn-border-color: var(--lm-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--lm-orange-600);
    --bs-btn-hover-border-color: var(--lm-orange-600);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #cc5200;
    --bs-btn-active-border-color: #cc5200;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #fdba8c;
    --bs-btn-disabled-border-color: #fdba8c;
}

.btn-lm-outline {
    color: var(--lm-blue);
    border: 2px solid var(--lm-blue);
    background: transparent;
    font-weight: 600;
}

.btn-lm-outline:hover { background: var(--lm-blue); color: #fff; }

.btn-lm-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
    font-weight: 600;
}

.btn-lm-ghost:hover { background: #fff; color: var(--lm-blue); }

.text-lm-orange { color: var(--lm-orange) !important; }
.text-lm-blue { color: var(--lm-blue) !important; }
.bg-lm-blue { background: var(--lm-blue) !important; }
.bg-lm-orange { background: var(--lm-orange) !important; }

a { color: var(--lm-blue); }
a:hover { color: var(--lm-orange); }

.form-control:focus,
.form-select:focus {
    border-color: rgba(11, 61, 145, .45);
    box-shadow: 0 0 0 .2rem rgba(11, 61, 145, .12);
}

/* ---------- Brand logo ---------- */
.lm-logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    line-height: 1;
}

.lm-logo-mark {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--lm-blue) 0%, var(--lm-blue-600) 55%, var(--lm-orange) 100%);
    box-shadow: 0 8px 18px rgba(255, 107, 0, .25);
}

.lm-logo-mark::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lm-orange);
    border: 3px solid #fff;
}

.lm-logo-text { display: flex; flex-direction: column; }
.lm-logo-text strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--lm-blue); }
.lm-logo-text strong span { color: var(--lm-orange); }
.lm-logo-text small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lm-muted); font-weight: 600; margin-top: 3px; }
.lm-logo img { max-height: 44px; }

/* ---------- Header ---------- */
.lm-topbar {
    background: linear-gradient(90deg, var(--lm-blue-900), var(--lm-blue));
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
}

.lm-topbar .container { min-height: 36px; }
.lm-topbar a { color: #fff; text-decoration: none; }
.lm-topbar a:hover { color: #ffb37a; }
.lm-topbar i { color: var(--lm-orange); }
.lm-topbar-sep { opacity: .35; margin: 0 .7rem; }

.lm-header {
    background: #fff;
    border-bottom: 1px solid var(--lm-line);
    z-index: 1030;
}

[data-bs-theme="dark"] .lm-header { background: #0f172a; }

.lm-header .container { min-height: 78px; }

.lm-search { max-width: 640px; }

.lm-search .input-group {
    border: 2px solid var(--lm-blue);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.lm-search .form-select {
    max-width: 170px;
    border: 0;
    border-right: 1px solid var(--lm-line);
    border-radius: 0;
    font-size: .85rem;
    font-weight: 500;
    background-color: #f8fafc;
}

.lm-search .form-control { border: 0; font-size: .92rem; padding: .7rem 1rem; }
.lm-search .form-control:focus, .lm-search .form-select:focus { box-shadow: none; }

.lm-search .btn-voice { border: 0; color: var(--lm-muted); background: #fff; }

.lm-search .btn-search {
    background: var(--lm-orange);
    color: #fff;
    border: 0;
    padding: 0 1.4rem;
    font-weight: 600;
}

.lm-search .btn-search:hover { background: var(--lm-orange-600); }

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1060;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--lm-line);
    max-height: 420px;
    overflow: auto;
}

.search-suggestions .suggestion-item { color: var(--lm-ink); border-bottom: 1px solid var(--lm-line); }
.search-suggestions .suggestion-item:hover { background: var(--lm-blue-100); }

.lm-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .6rem;
    border-radius: 12px;
    color: var(--lm-ink);
    background: transparent;
    border: 0;
    text-decoration: none;
    font-size: .8rem;
    line-height: 1.1;
}

.lm-icon-btn:hover { background: var(--lm-blue-100); color: var(--lm-blue); }
.lm-icon-btn > i { font-size: 1.35rem; color: var(--lm-blue); }
.lm-icon-btn small { display: block; color: var(--lm-muted); font-size: .7rem; }
.lm-icon-btn strong { font-weight: 600; }
.lm-icon-btn.dropdown-toggle::after { display: none; }

.lm-count {
    position: absolute;
    top: 0;
    left: 26px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lm-orange);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.lm-catbar {
    background: var(--lm-blue);
    position: relative;
    z-index: 1020;
}

.lm-catbar .container { min-height: 50px; }

.lm-catbar-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .9);
    font-size: .88rem;
    font-weight: 500;
    padding: .9rem .85rem;
    text-decoration: none;
    white-space: nowrap;
}

.lm-catbar-link:hover, .lm-catbar-link.active { color: #fff; background: rgba(255, 255, 255, .08); }
.lm-catbar-link i { color: #ffb37a; }

.lm-catbar-deal {
    margin-left: auto;
    background: var(--lm-orange);
    color: #fff !important;
    border-radius: 999px;
    padding: .45rem 1rem;
    font-weight: 600;
}

.lm-catbar-deal i { color: #fff; }
.lm-catbar-deal:hover { background: var(--lm-orange-600); }

/* All-categories mega menu */
.lm-mega { position: relative; }

.lm-mega-trigger {
    background: var(--lm-blue-900);
    color: #fff;
    font-weight: 600;
    min-width: 230px;
}

.lm-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 760px;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: var(--lm-shadow-lg);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.lm-mega:hover .lm-mega-panel,
.lm-mega:focus-within .lm-mega-panel { opacity: 1; visibility: visible; transform: none; }

.lm-mega-col h6 { margin-bottom: .5rem; }
.lm-mega-col h6 a { color: var(--lm-blue); text-decoration: none; font-weight: 700; display: inline-flex; gap: .45rem; align-items: center; }
.lm-mega-col h6 a i { color: var(--lm-orange); }
.lm-mega-col ul a { color: var(--lm-muted); text-decoration: none; font-size: .86rem; display: block; padding: .18rem 0; }
.lm-mega-col ul a:hover { color: var(--lm-orange); padding-left: 4px; }

/* Mobile menu */
.lm-mobile-menu .offcanvas-header { background: var(--lm-blue); color: #fff; }
.lm-mobile-menu .offcanvas-header .lm-logo-text strong, .lm-mobile-menu .offcanvas-header .lm-logo-text strong span { color: #fff; }
.lm-mobile-menu .offcanvas-header .lm-logo-text small { color: rgba(255, 255, 255, .7); }
.lm-mobile-menu .btn-close { filter: invert(1); opacity: 1; }
.lm-mobile-heading { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-muted); font-weight: 700; margin: 1.1rem 0 .4rem; }

.lm-mobile-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .5rem;
    border-radius: 10px;
    color: var(--lm-ink);
    text-decoration: none;
    font-weight: 500;
}

.lm-mobile-link i { width: 22px; color: var(--lm-blue); text-align: center; }
.lm-mobile-link:hover { background: var(--lm-blue-100); color: var(--lm-blue); }

/* Mini cart */
.cart-offcanvas { width: min(420px, 92vw); }
.cart-offcanvas-header { background: var(--lm-blue); color: #fff; }
.cart-offcanvas-header .btn-close { filter: invert(1); opacity: 1; }
.cart-empty-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--lm-orange-100); color: var(--lm-orange); font-size: 1.6rem; }
.cart-item-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #f3f4f6; display: block; flex-shrink: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { line-height: 1.4; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--lm-ink); }
.cart-price { color: var(--lm-blue); }
.cart-remove-btn { color: #dc2626 !important; }

/* ---------- Section headings ---------- */
.lm-section { padding: 3.25rem 0; }
.lm-section-alt { background: #fff; }
[data-bs-theme="dark"] .lm-section-alt { background: #0f172a; }

.lm-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.lm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lm-orange);
    margin-bottom: .35rem;
}

.lm-section-title { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--lm-ink); }
.lm-section-title span { color: var(--lm-blue); }

.lm-view-all {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    font-size: .88rem;
    color: var(--lm-blue);
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--lm-blue-100);
    white-space: nowrap;
}

.lm-view-all:hover { background: var(--lm-orange); color: #fff; }

/* ---------- Hero ---------- */
.lm-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 107, 0, .45), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(21, 87, 214, .6), transparent 45%),
        linear-gradient(120deg, var(--lm-blue-900) 0%, var(--lm-blue) 60%, #123f9e 100%);
}

.lm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.lm-hero-slide { min-height: 480px; padding: 3.5rem 0; display: flex; align-items: center; }

.lm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .8rem;
    font-weight: 600;
}

.lm-hero-badge i { color: #ffb37a; }

.lm-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin: 1rem 0;
}

.lm-hero h1 em { font-style: normal; color: var(--lm-orange); }
.lm-hero p.lead { color: rgba(255, 255, 255, .8); max-width: 520px; font-size: 1.05rem; }

.lm-hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.lm-hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; }
.lm-hero-stats span { font-size: .78rem; color: rgba(255, 255, 255, .7); }

.lm-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }

.lm-hero-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .25);
    animation: lm-spin 40s linear infinite;
}

.lm-hero-ring::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 40px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lm-orange);
    box-shadow: 0 0 20px var(--lm-orange);
}

@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-hero-phone {
    position: relative;
    width: 200px;
    height: 400px;
    border-radius: 38px;
    background: #0b1220;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    transform: rotate(-6deg);
}

.lm-hero-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(160deg, #1557d6 0%, #0b3d91 45%, #ff6b00 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    text-align: center;
    padding: 1rem;
}

.lm-hero-phone-screen i { font-size: 3rem; }
.lm-hero-phone-screen strong { font-size: 1.15rem; }
.lm-hero-phone-screen small { opacity: .8; font-size: .72rem; }

.lm-hero-phone::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 64px;
    height: 16px;
    margin-left: -32px;
    border-radius: 10px;
    background: #0b1220;
    z-index: 2;
}

.lm-float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .9rem;
    border-radius: 14px;
    background: #fff;
    color: var(--lm-ink);
    box-shadow: var(--lm-shadow-lg);
    font-size: .8rem;
    animation: lm-float 4s ease-in-out infinite;
}

.lm-float-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.lm-float-chip strong { display: block; font-size: .85rem; }
.lm-float-chip small { color: var(--lm-muted); }
.lm-chip-1 { top: 40px; left: 0; }
.lm-chip-2 { bottom: 60px; right: 0; animation-delay: 1.2s; }
.lm-chip-3 { bottom: 10px; left: 30px; animation-delay: 2.2s; }

@keyframes lm-float { 50% { transform: translateY(-10px); } }

.lm-hero-banner-slide { position: relative; min-height: 480px; }
.lm-hero-banner-slide img { width: 100%; height: 480px; object-fit: cover; display: block; }

.lm-hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.lm-hero-swiper .swiper-pagination-bullet-active { background: var(--lm-orange); opacity: 1; width: 26px; border-radius: 6px; }

/* ---------- Benefits ---------- */
.lm-benefits { margin-top: -38px; position: relative; z-index: 5; }

.lm-benefits-card {
    background: #fff;
    border-radius: var(--lm-radius);
    box-shadow: var(--lm-shadow-lg);
    padding: 1.1rem 1.25rem;
}

[data-bs-theme="dark"] .lm-benefits-card { background: #111a2e; }

.lm-benefit { display: flex; align-items: center; gap: .85rem; }
.lm-benefit i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.lm-benefit:nth-child(odd) i, .col:nth-child(odd) .lm-benefit i { background: var(--lm-blue-100); color: var(--lm-blue); }
.col:nth-child(even) .lm-benefit i { background: var(--lm-orange-100); color: var(--lm-orange); }
.lm-benefit strong { display: block; font-size: .92rem; }
.lm-benefit small { color: var(--lm-muted); font-size: .78rem; }

/* ---------- Category tiles ---------- */
.lm-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.lm-cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.4rem 1.2rem 1.2rem;
    border-radius: var(--lm-radius);
    background: #fff;
    border: 1px solid var(--lm-line);
    text-decoration: none;
    color: var(--lm-ink);
    overflow: hidden;
    transition: .25s ease;
    min-height: 190px;
}

[data-bs-theme="dark"] .lm-cat-tile { background: #111a2e; }

.lm-cat-tile::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--lm-blue-100);
    transition: .3s ease;
}

.lm-cat-tile:nth-child(even)::after { background: var(--lm-orange-100); }

.lm-cat-tile:hover { transform: translateY(-6px); box-shadow: var(--lm-shadow-lg); border-color: transparent; color: var(--lm-ink); }
.lm-cat-tile:hover::after { transform: scale(1.25); }

.lm-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lm-blue), var(--lm-blue-600));
    margin-bottom: .6rem;
    position: relative;
    z-index: 1;
}

.lm-cat-tile:nth-child(even) .lm-cat-icon { background: linear-gradient(135deg, var(--lm-orange), #ff9a4d); }
.lm-cat-tile strong { font-size: 1rem; position: relative; z-index: 1; }
.lm-cat-tile small { color: var(--lm-muted); position: relative; z-index: 1; font-size: .8rem; }
.lm-cat-tile .lm-cat-go { margin-top: auto; font-size: .8rem; font-weight: 600; color: var(--lm-blue); position: relative; z-index: 1; }
.lm-cat-tile:nth-child(even) .lm-cat-go { color: var(--lm-orange); }

/* ---------- Product card ---------- */
.lm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: var(--lm-radius);
    overflow: hidden;
    transition: .25s ease;
}

[data-bs-theme="dark"] .lm-card { background: #111a2e; }

.lm-card:hover { box-shadow: var(--lm-shadow-lg); transform: translateY(-4px); border-color: rgba(11, 61, 145, .18); }

.lm-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #f4f7ff, #fff6ee);
    display: block;
    overflow: hidden;
}

.lm-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .4s ease; }
.lm-card:hover .lm-card-media img { transform: scale(1.06); }

.lm-card-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }

.lm-badge { font-size: .68rem; font-weight: 700; padding: .28rem .55rem; border-radius: 8px; color: #fff; letter-spacing: .02em; }
.lm-badge-off { background: var(--lm-orange); }
.lm-badge-new { background: var(--lm-blue); }
.lm-badge-hot { background: #fde68a; color: #92400e; }
.lm-badge-out { background: #64748b; }

.lm-card-wish {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--lm-muted);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
    display: grid;
    place-items: center;
    z-index: 2;
    transition: .2s;
}

.lm-card-wish:hover, .lm-card-wish.active { color: #ef4444; transform: scale(1.08); }

.lm-card-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; flex-grow: 1; gap: .3rem; }
.lm-card-brand { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-orange); }

.lm-card-title {
    color: var(--lm-ink);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.lm-card-title:hover { color: var(--lm-blue); }
.lm-card-rating { font-size: .72rem; color: #f59e0b; }
.lm-card-rating span { color: var(--lm-muted); }
.lm-card-price { margin-top: auto; padding-top: .35rem; }
.lm-card-price strong { font-size: 1.08rem; font-weight: 800; color: var(--lm-blue); }
.lm-card-price del { display: block; font-size: .78rem; color: var(--lm-muted); }

.lm-card-add {
    margin-top: .7rem;
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    font-size: .88rem;
    padding: .6rem .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.lm-card-stock { font-size: .72rem; color: #16a34a; font-weight: 600; }
.lm-card-stock.low { color: var(--lm-orange); }

/* Keep old cards (shop grid etc.) in palette */
.product-card { border-radius: var(--lm-radius); }
.price-current { color: var(--lm-blue) !important; }

/* ---------- Ad and promo banners ---------- */
.lm-ad-banner,
.lm-promo-img {
    width: 100%;
    overflow: hidden;
    display: block;
    border-radius: 22px;
}

.lm-ad-banner picture,
.lm-ad-banner img,
.lm-promo-img picture,
.lm-promo-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.lm-ad-banner picture,
.lm-ad-banner img {
    aspect-ratio: 16 / 7;
}

.lm-ad-banner img,
.lm-promo-img img {
    min-height: 180px;
    max-height: 320px;
    object-fit: cover;
}

.lm-promo-img picture {
    aspect-ratio: 16 / 7;
}

.lm-promo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    padding: 2.2rem;
    color: #fff;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.lm-promo:hover { color: #fff; }
.lm-promo-blue { background: linear-gradient(130deg, var(--lm-blue-900), var(--lm-blue-600)); }
.lm-promo-orange { background: linear-gradient(130deg, #ff6b00, #ff9a4d); }
.lm-promo h3 { font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: .4rem 0; max-width: 320px; }
.lm-promo p { opacity: .85; max-width: 300px; font-size: .92rem; }
.lm-promo .lm-promo-icon { position: absolute; right: 1.5rem; bottom: -1rem; font-size: 10rem; opacity: .18; line-height: 1; }
.lm-promo .btn { align-self: flex-start; border-radius: 999px; font-weight: 600; padding: .55rem 1.3rem; }
.lm-promo-img { border-radius: 22px; overflow: hidden; display: block; }
.lm-promo-img img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }

/* ---------- Product rails ---------- */
.lm-rail .swiper-slide { height: auto; }

.lm-rail-nav { display: flex; gap: .45rem; }

.lm-rail-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lm-line);
    background: #fff;
    color: var(--lm-blue);
    display: grid;
    place-items: center;
}

.lm-rail-nav button:hover { background: var(--lm-blue); color: #fff; }
.lm-rail-nav button.swiper-button-disabled { opacity: .35; }

.lm-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }

.lm-tabs button {
    border: 1px solid var(--lm-line);
    background: #fff;
    border-radius: 999px;
    padding: .45rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--lm-muted);
}

.lm-tabs button.active, .lm-tabs button:hover { background: var(--lm-blue); color: #fff; border-color: var(--lm-blue); }

/* ---------- Flash deals ---------- */
.lm-deals {
    background: linear-gradient(120deg, var(--lm-blue-900), var(--lm-blue));
    border-radius: 26px;
    padding: 2rem;
    color: #fff;
}

.lm-deals .lm-section-title { color: #fff; }
.lm-countdown { display: inline-flex; gap: .4rem; }
.lm-countdown span { background: var(--lm-orange); border-radius: 10px; min-width: 48px; padding: .4rem .5rem; text-align: center; font-weight: 800; font-size: 1.1rem; line-height: 1; }
.lm-countdown span small { display: block; font-size: .6rem; font-weight: 600; opacity: .85; margin-top: 3px; }
.lm-deals .lm-card { color: var(--lm-ink); }

/* ---------- Brands ---------- */
.lm-brand {
    display: grid;
    place-items: center;
    height: 86px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--lm-line);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .02em;
    color: #94a3b8;
    transition: .2s ease;
}

[data-bs-theme="dark"] .lm-brand { background: #111a2e; }
.lm-brand:hover { color: var(--lm-blue); border-color: var(--lm-orange); box-shadow: var(--lm-shadow); }
.lm-brand img { max-height: 44px; max-width: 70%; object-fit: contain; filter: grayscale(1); opacity: .7; }
.lm-brand:hover img { filter: none; opacity: 1; }

/* ---------- Why us / CTA ---------- */
.lm-why {
    padding: 1.5rem;
    border-radius: var(--lm-radius);
    background: #fff;
    border: 1px solid var(--lm-line);
    height: 100%;
}

[data-bs-theme="dark"] .lm-why { background: #111a2e; }
.lm-why i { font-size: 1.8rem; color: var(--lm-orange); }
.lm-why h6 { font-weight: 700; margin: .8rem 0 .35rem; }
.lm-why p { color: var(--lm-muted); font-size: .88rem; margin: 0; }

.lm-cta {
    border-radius: 26px;
    padding: 2.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 40%),
        linear-gradient(120deg, var(--lm-orange) 0%, #ff8c3a 45%, var(--lm-blue) 100%);
}

.lm-cta h3 { font-weight: 800; }
.lm-cta .form-control { border: 0; border-radius: 999px; padding: .75rem 1.2rem; }
.lm-cta .btn { border-radius: 999px; padding: .75rem 1.4rem; font-weight: 600; }

/* ---------- Footer ---------- */
.lm-footer { background: var(--lm-blue-900); color: rgba(255, 255, 255, .72); margin-top: 3rem; }
.lm-footer-top { padding: 3.5rem 0 2.5rem; }
.lm-footer .lm-logo-text strong, .lm-footer .lm-logo-text strong span { color: #fff; }
.lm-footer .lm-logo-text strong span { color: var(--lm-orange); }
.lm-footer .lm-logo-text small { color: rgba(255, 255, 255, .55); }
.lm-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; position: relative; padding-bottom: .6rem; }
.lm-footer h6::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--lm-orange); }
.lm-footer-links { list-style: none; padding: 0; margin: 0; }
.lm-footer-links li { margin-bottom: .5rem; }
.lm-footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .9rem; }
.lm-footer-links a:hover { color: var(--lm-orange); padding-left: 4px; }
.lm-footer-contact { display: flex; gap: .7rem; margin-bottom: .75rem; font-size: .9rem; }
.lm-footer-contact i { color: var(--lm-orange); margin-top: 2px; }
.lm-footer-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }

.lm-social { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.lm-social:hover { background: var(--lm-orange); color: #fff; }

.lm-footer-strip { border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; }
.lm-footer-strip .lm-benefit i { background: rgba(255, 255, 255, .08) !important; color: var(--lm-orange) !important; }
.lm-footer-strip strong { color: #fff; }
.lm-footer-strip small { color: rgba(255, 255, 255, .6); }

.lm-footer-bottom { padding: 1.1rem 0; font-size: .82rem; }
.lm-footer-bottom a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.lm-footer-bottom a:hover { color: var(--lm-orange); }
.lm-pay { display: inline-flex; gap: .4rem; }
.lm-pay span { background: #fff; color: var(--lm-blue); border-radius: 6px; padding: .15rem .5rem; font-size: .7rem; font-weight: 800; }

.lm-newsletter .form-control { border-radius: 999px 0 0 999px; border: 0; }
.lm-newsletter .btn { border-radius: 0 999px 999px 0; }

.lm-whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 86px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
    z-index: 1040;
    text-decoration: none;
}

.lm-whatsapp-float:hover { color: #fff; transform: scale(1.06); }
@media (min-width: 992px) { .lm-whatsapp-float { bottom: 24px; } }

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid var(--lm-line);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
    padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
}

[data-bs-theme="dark"] .mobile-bottom-nav { background: #0f172a; }

.mobile-nav-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--lm-muted); text-decoration: none; padding: .25rem .6rem; }
.mobile-nav-item i { font-size: 1.2rem; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--lm-orange); }
.mobile-nav-item .lm-count { left: auto; right: 2px; top: -2px; }

@media (max-width: 991.98px) {
    body { padding-bottom: 64px; }
    .lm-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .lm-hero-slide { min-height: auto; padding: 2.5rem 0 4rem; }
    .lm-header .container { min-height: 64px; }
}

@media (max-width: 767.98px) {
    .lm-hero-slide {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .lm-hero-slide > .row {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .lm-hero h1 {
        font-size: clamp(1.75rem, 8vw, 2rem);
        line-height: 1.12;
        margin: .75rem 0;
    }

    .lm-hero p.lead {
        font-size: .9rem;
        line-height: 1.55;
    }

    .lm-hero-badge {
        font-size: .68rem;
        padding: .32rem .65rem;
        max-width: 100%;
    }

    .lm-hero .btn-lg {
        font-size: .78rem;
        padding: .55rem 1rem;
        line-height: 1.2;
    }

    .lm-hero-stats {
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .lm-hero-stats strong { font-size: 1.1rem; }
    .lm-hero-stats span { font-size: .68rem; }
}

@media (max-width: 575.98px) {
    .lm-hero-banner-slide {
        min-height: 220px;
    }

    .lm-hero-banner-slide picture,
    .lm-hero-banner-slide img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .lm-ad-banner {
        border-radius: 16px;
    }

    .lm-ad-banner picture,
    .lm-ad-banner img {
        aspect-ratio: 4 / 3;
        min-height: 0;
        max-height: none;
    }

    .lm-promo-img {
        border-radius: 16px;
    }

    .lm-promo-img picture {
        aspect-ratio: auto;
        width: 100%;
        height: auto;
        display: block;
    }

    .lm-promo-img img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        object-fit: contain;
    }

    .lm-cat-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .lm-cat-tile { min-height: 160px; padding: 1rem; }
    .lm-section { padding: 2.25rem 0; }
    .lm-section-head { flex-direction: column; align-items: flex-start; }
    .lm-deals, .lm-cta { padding: 1.4rem; border-radius: 20px; }
    .lm-card-body { padding: .75rem; }
    .lm-card-add { font-size: .8rem; }
    .lm-logo-text small { display: none; }
    .lm-logo-text strong { font-size: 1.05rem; }
}

/* ---------- Content pages ---------- */
.lm-page-hero {
    background: linear-gradient(120deg, var(--lm-blue-900), var(--lm-blue));
    color: #fff;
    padding: 3rem 0;
}

.lm-page-hero h1 { font-weight: 800; letter-spacing: -.02em; margin: 0; }
.lm-page-hero p { color: rgba(255, 255, 255, .78); margin: .5rem 0 0; }
.lm-page-hero .breadcrumb a { color: #ffb37a; }
.lm-page-hero .breadcrumb-item.active, .lm-page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }

.lm-page-card { background: #fff; border-radius: var(--lm-radius); border: 1px solid var(--lm-line); padding: 2rem; }
[data-bs-theme="dark"] .lm-page-card { background: #111a2e; }
.lm-page-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--lm-blue); margin-top: 1.6rem; }
.lm-page-card h2:first-child { margin-top: 0; }
.lm-page-card p, .lm-page-card li { color: var(--lm-muted); }

.lm-faq .accordion-button { font-weight: 600; }
.lm-seo-block p, .lm-seo-block li { color: var(--lm-muted); line-height: 1.75; }
.lm-seo-block a { font-weight: 600; }
.lm-credit a { color: #ffb37a !important; font-weight: 600; }
.lm-credit a:hover { color: #fff !important; }
.lm-faq .accordion-button:not(.collapsed) { background: var(--lm-blue-100); color: var(--lm-blue); box-shadow: none; }
