@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/ibm-plex-sans-variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/ibm-plex-sans-arabic-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/ibm-plex-sans-arabic-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/ibm-plex-sans-arabic-semibold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/ibm-plex-sans-arabic-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Landing page — marketplace layout.
   Namespaced .lp-* so it never collides with the app bundle. Colour comes from the
   app's own tokens, so the admin's brand colour and the light/dark switch keep working. */

.lp-body {
    --lp-bar: #0f1b2b;             /* fixed navy: legible over a light or a dark page */
    --lp-bar-ink: #cfdced;
    /* the app's --muted lands at 3.97:1 on this background; nudged toward the text
       colour so secondary copy clears 4.5:1 in both themes */
    --lp-muted: color-mix(in srgb, var(--muted) 76%, var(--text));
    --lp-gutter: clamp(14px, 3vw, 32px);
    --lp-max: 1320px;

    margin: 0;
    background: var(--surface-3);
    color: var(--text);
    font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.lp-body *,
.lp-body *::before,
.lp-body *::after { box-sizing: border-box; }

.lp-shell { display: flow-root; }

.lp-wrap {
    width: 100%;
    max-width: var(--lp-max);
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
}

.lp-body :focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.lp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- per-block appearance the admin picks ---------- */

.lp-block-quiet { background: var(--surface-2); }
.lp-block-outline .lp-card,
.lp-block-outline .lp-points article { border-style: dashed; }

.lp-block-contrast { background: var(--lp-bar); color: #fff; }
.lp-block-contrast .lp-row-head p,
.lp-block-contrast .lp-card-group,
.lp-block-contrast .lp-points p,
.lp-block-contrast .lp-news p,
.lp-block-contrast .lp-news time { color: #a9c0d6; }
.lp-block-contrast .lp-card,
.lp-block-contrast .lp-points article,
.lp-block-contrast .lp-news article { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.lp-block-contrast .lp-card-name,
.lp-block-contrast .lp-points h3,
.lp-block-contrast .lp-news h3 a { color: #fff; }
.lp-block-contrast .lp-section-link { color: #fff; }
.lp-section.lp-block-contrast,
.lp-section.lp-block-quiet { padding-bottom: clamp(30px, 4vw, 48px); }

/* ---------- contact strip ---------- */

.lp-contact { background: var(--lp-bar); color: var(--lp-bar-ink); }
.lp-contact-row { display: flex; flex-wrap: wrap; gap: 0; }

.lp-contact a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px 10px 0;
    margin-inline-end: 17px;
    color: inherit;
    text-decoration: none;
    font-size: 13.5px;
    border-inline-end: 1px solid rgba(255, 255, 255, .13);
}

.lp-contact a:last-child { border-inline-end: 0; margin-inline-end: 0; }
.lp-contact a:hover { color: #fff; }

.lp-contact svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .78;
}

.lp-contact b { font-weight: 500; }

/* ---------- header ---------- */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.lp-header-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    flex: none;
}

.lp-brand img { height: 34px; width: auto; display: block; }

.lp-brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
}

.lp-brand strong { font-weight: 600; font-size: 17px; letter-spacing: -.15px; white-space: nowrap; }

/* search in the header, the way trade buyers expect to start */
.lp-topsearch {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 520px;
    height: 42px;
    padding: 0 14px;
    margin-inline: auto;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface-2);
}

.lp-topsearch svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: var(--lp-muted);
    stroke-width: 1.9;
    stroke-linecap: round;
}

.lp-topsearch input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14.5px;
}

.lp-topsearch input::placeholder { color: var(--lp-muted); }
.lp-topsearch input:focus { outline: none; }
.lp-topsearch:focus-within { border-color: var(--brand-primary); }

.lp-header-actions { display: flex; align-items: center; gap: 9px; flex: none; }

.lp-theme {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--lp-muted);
    cursor: pointer;
    font-size: 15px;
}

.lp-theme:hover { color: var(--text); border-color: var(--lp-muted); }

/* category bar */
.lp-cats { background: var(--surface-2); border-top: 1px solid var(--border); }

.lp-cats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 44px;
    overflow-x: auto;
    scrollbar-width: none;
}

.lp-cats-row::-webkit-scrollbar { display: none; }

.lp-cats-row a {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-muted);
    text-decoration: none;
    white-space: nowrap;
}

.lp-cats-row a:hover { color: var(--text); }
.lp-cats-row a.is-current { color: var(--brand-primary); }

/* ---------- buttons ---------- */

.lp-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease,
                box-shadow .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}

.lp-btn-sm { height: 39px; padding: 0 16px; font-size: 14.5px; border-radius: 8px; }

.lp-btn-primary {
    border-color: color-mix(in srgb, var(--brand-primary) 74%, #07182a);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--brand-primary) 88%, #fff),
        var(--brand-primary) 58%,
        color-mix(in srgb, var(--brand-primary) 82%, #07182a));
    color: #fff;
    box-shadow:
        0 11px 24px -14px color-mix(in srgb, var(--brand-primary) 72%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .24);
}

.lp-btn-primary:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 64%, #07182a);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--brand-primary) 92%, #fff),
        color-mix(in srgb, var(--brand-primary) 93%, #07182a));
    box-shadow:
        0 16px 30px -16px color-mix(in srgb, var(--brand-primary) 82%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .28);
    transform: translateY(-2px);
}
.lp-btn-primary:active {
    transform: translateY(0) scale(.985);
    box-shadow:
        0 7px 16px -13px color-mix(in srgb, var(--brand-primary) 70%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .2);
}

.lp-btn-line {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--border) 58%, transparent);
}

.lp-btn-line:hover { border-color: var(--lp-muted); background: var(--surface-2); }
.lp-btn-line:active { transform: translateY(1px); box-shadow: none; }

.lp-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .34); color: #fff; }
.lp-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.lp-btn-ghost:active { transform: translateY(1px); }

.lp-btn-quiet { background: transparent; color: var(--text); }
.lp-btn-quiet:hover { background: var(--surface-3); }
.lp-btn-quiet:active { transform: translateY(1px); }

/* ---------- menu buttons ---------- */

.lp-menu-section { padding-top: clamp(18px, 2.6vw, 30px); }
.lp-menu-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 92%, var(--brand-primary));
}
.lp-menu-buttons .lp-btn { width: 100%; min-width: 0; height: 48px; }
.lp-menu-buttons .lp-btn > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.lp-menu-external { flex: 0 0 auto; font-size: 13px; }
.lp-block-outline .lp-menu-buttons { border-style: dashed; background: transparent; }
.lp-block-quiet .lp-menu-buttons { background: var(--surface-2); }
.lp-block-contrast .lp-menu-buttons { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.lp-block-contrast .lp-menu-buttons .lp-btn-quiet,
.lp-block-contrast .lp-menu-buttons .lp-btn-line { border-color: rgba(255, 255, 255, .28); color: #fff; }
.lp-block-contrast .lp-menu-buttons .lp-btn-quiet:hover,
.lp-block-contrast .lp-menu-buttons .lp-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- announcement ---------- */

.lp-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px auto 0;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--info);
    border-radius: 10px;
    background: var(--info-soft);
    font-size: 14.5px;
}

.lp-note.tone-warning { border-inline-start-color: var(--warning); background: var(--warning-soft); }
.lp-note.tone-danger { border-inline-start-color: var(--danger); background: var(--danger-soft); }
.lp-note.tone-success { border-inline-start-color: var(--success); background: var(--success-soft); }
.lp-note > div { flex: 1; min-width: 0; }
.lp-note strong { display: block; margin-bottom: 2px; }
.lp-note p { margin: 0; }

.lp-note button {
    flex: none;
    border: 0;
    background: transparent;
    color: var(--lp-muted);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

/* ---------- the stage: banner + featured promos ---------- */

.lp-hero { padding: clamp(16px, 2.4vw, 24px) 0 0; }

.lp-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.lp-stage-side { display: flex; flex-direction: column; gap: 16px; }

.lp-banner {
    position: relative;
    aspect-ratio: 16 / 7;
    min-height: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-2);
}

.lp-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    text-decoration: none;
    color: #fff;
}

.lp-slide.is-active { opacity: 1; visibility: visible; }
.lp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lp-slide-copy {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: clamp(40px, 7vw, 70px) clamp(20px, 3vw, 38px) clamp(18px, 2.4vw, 28px);
    background: linear-gradient(to top, rgba(6, 16, 28, .9), rgba(6, 16, 28, .42) 56%, transparent);
}

.lp-slide-copy strong {
    display: block;
    font-size: clamp(1.2rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -.018em;
}

.lp-slide-copy em { display: block; margin-top: 4px; font-style: normal; font-size: clamp(.92rem, 1.4vw, 1.05rem); color: #d6e4f2; }

/* nothing uploaded: the slot carries the store's own headline. It sizes to its own
   content rather than to the banner ratio, so the buttons are never clipped. */
.lp-banner-copy {
    aspect-ratio: auto;
    display: grid;
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(118deg, var(--lp-bar) 0%, #24384f 58%, color-mix(in srgb, var(--brand-primary) 34%, #2a1020) 100%);
    color: #fff;
}

.lp-banner-copy h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.022em;
    max-width: 16ch;
    text-wrap: balance;
}

.lp-banner-copy p {
    margin: 14px 0 0;
    font-size: clamp(.95rem, 1.5vw, 1.06rem);
    color: #c3d4e6;
    max-width: 44ch;
    line-height: 1.55;
}

.lp-banner-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

.lp-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 20, 33, .58);
    color: #fff;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .14s ease;
}

.lp-banner-arrow:hover { background: rgba(9, 20, 33, .84); }
.lp-banner-prev { inset-inline-start: 13px; }
.lp-banner-next { inset-inline-end: 13px; }

.lp-banner-dots { position: absolute; inset-inline: 0; bottom: 13px; display: flex; justify-content: center; gap: 6px; }

.lp-banner-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .48);
    cursor: pointer;
    transition: background-color .14s ease, width .14s ease;
}

.lp-banner-dots button.is-active { width: 22px; border-radius: 4px; background: #fff; }

/* side promos: the store's featured services with their real price */
.lp-promo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
    padding: 20px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-bar), #24384f);
    color: #fff;
    text-decoration: none;
    transition: transform .14s ease, box-shadow .14s ease;
}

.lp-promo:nth-child(2) { background: linear-gradient(135deg, #2a1020, color-mix(in srgb, var(--brand-primary) 62%, #2a1020)); }
.lp-promo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(9, 20, 33, .8); }

.lp-promo-tag {
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .17);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
}

.lp-promo strong { margin-top: 11px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; line-height: 1.22; }
.lp-promo-meta { margin-top: 6px; font-size: 13.5px; color: #c3d4e6; }
.lp-promo-empty { background: var(--surface); color: var(--text); border: 1px dashed var(--border); }
.lp-promo-empty .lp-promo-meta { color: var(--lp-muted); }

/* ---------- sections ---------- */

.lp-section { padding: clamp(30px, 4vw, 46px) 0 0; }

.lp-row-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.lp-row-head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 700;
}

.lp-row-head p { margin: 6px 0 0; color: var(--lp-muted); max-width: 58ch; font-size: 14.5px; }

.lp-section-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.lp-section-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- service grid ---------- */

.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.lp-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 184px;
    padding: 19px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 13%, var(--border));
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0,
            color-mix(in srgb, var(--brand-primary) 7%, transparent),
            transparent 42%),
        linear-gradient(155deg,
            color-mix(in srgb, var(--surface) 97%, #fff),
            var(--surface));
    color: inherit;
    text-decoration: none;
    box-shadow:
        0 16px 34px -29px color-mix(in srgb, var(--lp-bar) 50%, transparent),
        inset 0 1px 0 color-mix(in srgb, #fff 62%, transparent);
    transition: border-color .22s ease, box-shadow .22s ease,
                transform .22s cubic-bezier(.16, 1, .3, 1);
}

.lp-card::before {
    position: absolute;
    top: 0;
    left: 19px;
    width: 52px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    box-shadow: 0 5px 18px color-mix(in srgb, var(--brand-primary) 26%, transparent);
    content: "";
    transform-origin: left;
    transition: width .22s cubic-bezier(.16, 1, .3, 1);
}

.lp-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 40%, var(--border));
    box-shadow:
        0 24px 48px -29px color-mix(in srgb, var(--brand-primary) 38%, var(--lp-bar)),
        inset 0 1px 0 color-mix(in srgb, #fff 72%, transparent);
    transform: translateY(-3px);
}
.lp-card:hover::before,
.lp-card:focus-visible::before { width: calc(100% - 38px); }

.lp-card-head { display: flex; align-items: center; gap: 10px; }

.lp-card-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, var(--border));
    border-radius: 13px;
    background: color-mix(in srgb, var(--brand-primary) 9%, var(--surface-3));
    color: var(--brand-primary);
    overflow: hidden;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 64%, transparent);
}

.lp-card-badge img { width: 100%; height: 100%; object-fit: cover; }
.lp-card-type { font-size: 11.5px; font-weight: 700; letter-spacing: .045em; color: var(--brand-primary); }

.lp-card-name {
    display: block;
    margin-top: 15px;
    font-size: 15.5px;
    font-weight: 650;
    line-height: 1.38;
    color: var(--text);
    text-wrap: pretty;
}

.lp-card-group { display: block; margin-top: 3px; font-size: 12.5px; color: var(--lp-muted); }
.lp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid color-mix(in srgb, var(--brand-primary) 8%, var(--border));
}

.lp-tag { padding: 4px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 700; }
.lp-tag-price {
    background: linear-gradient(135deg, var(--lp-bar), color-mix(in srgb, var(--brand-primary) 38%, var(--lp-bar)));
    color: #fff;
    box-shadow: 0 7px 14px -10px color-mix(in srgb, var(--lp-bar) 80%, transparent);
}
.lp-tag-time { background: var(--success-soft); color: var(--success); }

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-card,
    .lp-card::before { transition: none; }
    .lp-btn-primary:hover,
    .lp-card:hover { transform: none; }
}

.lp-empty {
    padding: clamp(24px, 4vw, 40px);
    border: 1px dashed var(--border);
    border-radius: 13px;
    background: var(--surface);
    max-width: 44rem;
}

.lp-empty h3 { margin: 0 0 7px; font-size: 1.1rem; font-weight: 700; }
.lp-empty p { margin: 0 0 16px; color: var(--lp-muted); }

/* ---------- points / news ---------- */

.lp-points,
.lp-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.lp-points article,
.lp-news article {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.lp-points h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.lp-points p { margin: 0; color: var(--lp-muted); font-size: 14.5px; }
.lp-news time { font-size: 12.5px; color: var(--lp-muted); }
.lp-news h3 { margin: 7px 0 6px; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.lp-news h3 a { color: inherit; text-decoration: none; }
.lp-news h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-news p { margin: 0; font-size: 14px; color: var(--lp-muted); }

/* ---------- call to action ---------- */

.lp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: clamp(30px, 4vw, 46px);
    padding: clamp(24px, 3.4vw, 38px);
    border-radius: 14px;
    background: var(--lp-bar);
    color: #fff;
}

.lp-cta h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; max-width: 24ch; }
.lp-cta p { margin: 8px 0 0; color: #a9c0d6; max-width: 44ch; }
.lp-cta nav { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cta .lp-btn-line { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.lp-cta .lp-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.lp-cta-quiet, .lp-cta-outline { background: var(--surface); color: var(--text); }
.lp-cta-outline { background: transparent; border: 1px dashed var(--border); }
.lp-cta-quiet { border: 1px solid var(--border); }
.lp-cta-quiet p, .lp-cta-outline p { color: var(--lp-muted); }
.lp-cta-quiet .lp-btn-line, .lp-cta-outline .lp-btn-line { border-color: var(--border); color: var(--text); }

/* ---------- icons, rich text, footer ---------- */

.lp-ico { width: 20px; height: 20px; display: block; }
.lp-rich { max-width: 44rem; color: var(--lp-muted); }
.lp-rich :where(h2, h3) { color: var(--text); }
.lp-rich a { color: var(--brand-primary); }

.lp-footer { margin-top: clamp(34px, 4.5vw, 56px); border-top: 1px solid var(--border); padding: 22px 0; background: var(--surface); }

.lp-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-footer-row nav { display: flex; flex-wrap: wrap; gap: 15px; }
.lp-footer-row a { color: var(--lp-muted); text-decoration: none; }
.lp-footer-row a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lp-powered { padding-top: 14px; font-size: 12.5px; color: var(--lp-muted); opacity: .75; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
    .lp-stage { grid-template-columns: 1fr; }
    .lp-stage-side { flex-direction: row; }
    .lp-promo { min-height: 118px; }
}

@media (max-width: 860px) {
    .lp-topsearch { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
    .lp-header-row { flex-wrap: wrap; padding-top: 10px; }
    .lp-brand { margin-inline-end: auto; }
}

@media (max-width: 620px) {
    .lp-header-actions {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }
    .lp-banner { aspect-ratio: 4 / 3; min-height: 0; }
    .lp-banner-copy { aspect-ratio: auto; }
    .lp-stage-side { flex-direction: column; }
    .lp-banner-arrow { width: 33px; height: 33px; font-size: 19px; }
    .lp-brand img + strong { display: none; }
    .lp-contact a {
        flex: 1 1 100%;
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
        margin-inline-end: 0;
        padding-block: 9px;
    }
    .lp-contact a:last-child { border-bottom: 0; }
    .lp-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-body *, .lp-body *::before, .lp-body *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* VOLTEX FLOWBITE PRODUCT CARD — adapted from Flowbite's MIT card pattern. */
.lp-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 286px), 1fr));
    gap: 18px;
}

.lp-card.vx-product-card {
    min-height: 242px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 11%, var(--border));
    border-radius: 20px;
    background: var(--surface);
    box-shadow:
        0 1px 2px color-mix(in srgb, var(--lp-bar) 8%, transparent),
        0 18px 45px -36px color-mix(in srgb, var(--lp-bar) 70%, transparent);
    transition: border-color .2s ease, box-shadow .2s ease,
                transform .2s cubic-bezier(.2, .8, .2, 1);
}

.lp-card.vx-product-card::before {
    inset: 0 20px auto;
    width: auto;
    height: 3px;
    border-radius: 0 0 4px 4px;
    opacity: .92;
    transform: scaleX(.26);
    transform-origin: left;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

[dir="rtl"] .lp-card.vx-product-card::before { transform-origin: right; }

.lp-card.vx-product-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 34%, var(--border));
    box-shadow:
        0 2px 4px color-mix(in srgb, var(--lp-bar) 9%, transparent),
        0 24px 55px -34px color-mix(in srgb, var(--brand-primary) 34%, var(--lp-bar));
    transform: translateY(-4px);
}

.lp-card.vx-product-card:hover::before,
.lp-card.vx-product-card:focus-visible::before {
    width: auto;
    transform: scaleX(1);
}

.lp-card.vx-product-card:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-primary) 28%, transparent);
    outline-offset: 3px;
}

.vx-product-card__kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 20px 0;
}

.vx-product-card__kicker .lp-card-head { min-width: 0; }

.vx-product-card__kicker .lp-card-badge {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--brand-primary) 8%, var(--surface-3));
}

.vx-product-card__kicker .lp-card-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.vx-product-card__availability {
    flex: none;
    color: var(--success);
    font-size: 11px;
    font-weight: 650;
}

.vx-product-card__availability::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 13%, transparent);
    content: "";
    vertical-align: 1px;
}

.vx-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 19px;
}

.vx-product-card__content .lp-card-name {
    margin: 0;
    font-size: 16px;
    font-weight: 680;
    line-height: 1.42;
}

.vx-product-card__content .lp-card-group {
    margin-top: 6px;
    line-height: 1.45;
}

.lp-card-tags.vx-product-card__footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 16px 14px 20px;
    border-top: 1px solid color-mix(in srgb, var(--brand-primary) 8%, var(--border));
    background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
}

.vx-product-card__footer .vx-product-card__price {
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--text);
    box-shadow: none;
    font-size: 17px;
    font-weight: 760;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
}

.vx-product-card__delivery {
    overflow: hidden;
    color: var(--lp-muted);
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vx-product-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 24%, var(--border));
    border-radius: 10px;
    background: var(--surface);
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 700;
    transition: border-color .18s ease, background-color .18s ease,
                color .18s ease, transform .18s ease;
}

.vx-product-card__action svg {
    width: 15px;
    height: 15px;
    flex: none;
    transition: transform .18s ease;
}

.lp-card.vx-product-card:hover .vx-product-card__action {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
}

.lp-card.vx-product-card:hover .vx-product-card__action svg {
    transform: translateX(2px);
}

[dir="rtl"] .lp-card.vx-product-card:hover .vx-product-card__action svg {
    transform: scaleX(-1) translateX(2px);
}

@media (max-width: 560px) {
    .lp-card.vx-product-card { min-height: 226px; }
    .lp-card-tags.vx-product-card__footer {
        grid-template-columns: auto 1fr;
        padding-inline: 16px;
    }
    .vx-product-card__action { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-card.vx-product-card,
    .lp-card.vx-product-card::before,
    .vx-product-card__action,
    .vx-product-card__action svg { transition: none; }
    .lp-card.vx-product-card:hover,
    .lp-card.vx-product-card:hover .vx-product-card__action svg { transform: none; }
}

/* ---------------------------------------------------------------------------
   Built-in banner artwork (shown until the store publishes a banner of its own).
   Stop colours are set here rather than on the SVG so they can read the store's
   --brand-primary token; var() is unreliable in SVG presentation attributes.
   --------------------------------------------------------------------------- */
.lp-banner-copy { position: relative; isolation: isolate; overflow: hidden; }
.lp-banner-copy > div { position: relative; z-index: 1; }

.lp-banner-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.lp-art-glow-in { stop-color: var(--brand-primary, #3b6ef5); stop-opacity: .26; }
.lp-art-glow-out { stop-color: var(--brand-primary, #3b6ef5); stop-opacity: 0; }
.lp-art-bar-base { stop-color: var(--brand-primary, #3b6ef5); stop-opacity: .08; }
.lp-art-bar-tip { stop-color: var(--brand-primary, #3b6ef5); stop-opacity: .70; }

.lp-art-mesh line { stroke: #fff; stroke-opacity: .05; stroke-width: 1; }
.lp-art-floor { stroke: var(--brand-primary, #3b6ef5); stroke-opacity: .30; stroke-width: 1; }

/* The artwork occupies the right of the frame; keep the copy clear of it so the
   headline never sits on top of the brightest bars. */
@media (min-width: 981px) {
    .lp-banner-copy.has-art > div { max-width: 48%; }
}
@media (max-width: 980px) {
    /* Narrow frames crop the slice; fade the right side so text stays readable. */
    .lp-banner-copy.has-art::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(100deg, var(--lp-bar) 8%, transparent 78%);
    }
}

/* --- interface polish ---------------------------------------------------- */

/* Keyboard focus was inheriting the app default and vanished on dark surfaces. */
.lp-body :is(a, button, input, [tabindex]):focus-visible {
    outline: 2px solid var(--brand-primary, #3b6ef5);
    outline-offset: 2px;
    border-radius: 6px;
}
.lp-banner :is(a, button):focus-visible,
.lp-contact a:focus-visible {
    outline-color: #fff;
}

/* Cards read as flat at rest; a restrained lift on pointer devices only. */
@media (hover: hover) {
    .lp-card { transition: border-color .15s ease, box-shadow .15s ease; }
    .lp-card:hover {
        border-color: color-mix(in srgb, var(--brand-primary) 38%, var(--border));
        box-shadow: 0 6px 20px -12px rgba(15, 27, 43, .45);
    }
    .lp-promo { transition: border-color .15s ease; }
    .lp-promo:hover { border-color: color-mix(in srgb, var(--brand-primary) 38%, var(--border)); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-card, .lp-promo { transition: none; }
}

/* ---------------------------------------------------------------------------
   Guest language picker in the landing header. Native select styling is kept
   so the control mirrors on its own under dir="rtl".
   --------------------------------------------------------------------------- */
.lp-lang { display: flex; margin-inline-end: 4px; }
.lp-lang select {
    font: inherit;
    font-size: .85rem;
    line-height: 1.2;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 8px;
    max-width: 9.5rem;
    cursor: pointer;
}
.lp-lang select:hover { border-color: color-mix(in srgb, var(--brand-primary) 38%, var(--border)); }

@media (max-width: 720px) {
    .lp-lang select { max-width: 7rem; font-size: .8rem; }
}

/* Right-to-left: the artwork sits on the right of the frame, so on RTL the
   copy would land on top of the brightest bars. Mirror the whole banner. */
[dir="rtl"] .lp-banner-art { transform: scaleX(-1); }
[dir="rtl"] .lp-banner-copy.has-art::after { background: linear-gradient(260deg, var(--lp-bar) 8%, transparent 78%); }
