/* Linkeia Pro Store - everything lives under .linkeia-store. Colours, radii, font and the header layers are CSS
   variables: neutral defaults here, the admin's Design tab values printed by the module after this file, and the
   colours left on «theme» taken from the active WHMCS theme by store.js. Variations use opacity (color-mix), borders
   and shadows of the same colours. */
:root {
    --lps-primary: #2f4a63;
    --lps-dark: #1c2b39;
    --lps-cta: #2f6fb3;
    --lps-cta-text: #ffffff;
    --lps-accent: #3aa0d8;
    --lps-band: var(--lps-primary);
    --lps-band-2: var(--lps-dark);
    --lps-white: #ffffff;
    --lps-surface: #f3f5f7;
    --lps-soft: color-mix(in srgb, var(--lps-primary) 10%, #ffffff);
    --lps-r-btn: 10px;
    --lps-r-card: 14px;
    --lps-r-tab: 999px;
    --lps-font: inherit;
    --lps-band-img: none;
    --lps-band-overlay: linear-gradient(transparent, transparent);
    --lps-band-overlay-sm: var(--lps-band-overlay);
}
.linkeia-store {
    --lps-text: var(--lps-dark);
    --lps-muted: color-mix(in srgb, var(--lps-dark) 72%, transparent);
    --lps-card: var(--lps-white);
    --lps-line: color-mix(in srgb, var(--lps-primary) 16%, transparent);
    --lps-line-strong: color-mix(in srgb, var(--lps-primary) 32%, transparent);
    --lps-shadow: 0 1px 2px color-mix(in srgb, var(--lps-dark) 6%, transparent), 0 4px 14px color-mix(in srgb, var(--lps-dark) 5%, transparent);
    --lps-shadow-hover: 0 2px 4px color-mix(in srgb, var(--lps-dark) 8%, transparent), 0 10px 28px color-mix(in srgb, var(--lps-dark) 10%, transparent);
    font-family: var(--lps-font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--lps-text);
    padding: 8px 0 32px;
}
.linkeia-store *, .linkeia-store *::before, .linkeia-store *::after { box-sizing: border-box; }
.linkeia-store h1, .linkeia-store h2, .linkeia-store h3, .linkeia-store p { margin: 0; font-family: inherit; color: inherit; }
.linkeia-store a { color: var(--lps-primary); }
.linkeia-store [hidden] { display: none !important; }
.linkeia-store .lps-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.linkeia-store .lps-i { width: 22px; height: 22px; flex: none; }
.linkeia-store .lps-i-sm { width: 16px; height: 16px; }
.linkeia-store .lps-i-xs { width: 13px; height: 13px; }
.linkeia-store :focus-visible { outline: 2px solid var(--lps-primary); outline-offset: 2px; }

/* header: compact, not a hero */
.lps-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.lps-title { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--lps-primary) !important; letter-spacing: -.01em; }
.lps-sub { margin-top: 6px !important; font-size: 16px; color: var(--lps-muted) !important; }
.lps-search { position: relative; display: flex; align-items: center; gap: 8px; flex: 0 1 460px; min-width: 260px; }
.lps-search .lps-i { position: absolute; left: 14px; color: var(--lps-primary); opacity: .7; pointer-events: none; }
.lps-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px 0 44px; border: 1px solid var(--lps-line-strong); border-radius: var(--lps-r-btn);
    background: var(--lps-white); color: var(--lps-dark); font: inherit; font-size: 15px; }
.lps-search input::placeholder { color: var(--lps-muted); }
.lps-search input:focus { outline: none; border-color: var(--lps-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lps-primary) 15%, transparent); }

/* family filters: horizontal chips that scroll on small screens */
.lps-filters { margin: 0 -4px 24px; }
.lps-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.lps-chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--lps-line-strong);
    border-radius: var(--lps-r-tab); background: var(--lps-white); color: var(--lps-primary) !important; font-weight: 600; font-size: 14px; text-decoration: none !important;
    white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.lps-chip:hover { border-color: var(--lps-primary); background: var(--lps-soft); }
.lps-chip.is-on { background: var(--lps-primary); border-color: var(--lps-primary); color: var(--lps-white) !important; }

/* sections and grid: 3–4 per row on desktop, 2 on tablet, 1 on phones */
.lps-family { margin-bottom: 36px; }
.lps-sec-head { max-width: 720px; margin-bottom: 18px; }
.lps-h2 { font-size: 21px; font-weight: 600; color: var(--lps-primary) !important; margin: 0 !important; }
.lps-desc { margin-top: 6px !important; font-size: 15px; line-height: 1.6; color: var(--lps-muted) !important; }

/* «Destacados» uses the same grid as every section: its cards are normal-size cards (celeste border and label) */
.lps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
@media (min-width: 1200px) { .lps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { .lps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .lps-grid { grid-template-columns: minmax(0, 1fr); }
    .lps-title { font-size: 24px; } .lps-search { flex-basis: 100%; }
}

/* cards */
.lps-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 22px; border: 1px solid var(--lps-line);
    border-radius: var(--lps-r-card); background: var(--lps-card); box-shadow: var(--lps-shadow); transition: box-shadow .2s, border-color .2s, transform .2s; }
.lps-card:hover { box-shadow: var(--lps-shadow-hover); border-color: var(--lps-line-strong); transform: translateY(-2px); }
.lps-card.is-featured { border-color: color-mix(in srgb, var(--lps-accent) 70%, transparent); }
.lps-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lps-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: calc(var(--lps-r-card) * .7); background: var(--lps-soft); color: var(--lps-primary); }
.lps-ico .lps-i { width: 24px; height: 24px; }
.lps-ico img { width: 44px; height: 44px; object-fit: contain; border-radius: calc(var(--lps-r-card) * .6); }
.lps-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--lps-r-tab); font-size: 12px; font-weight: 700; letter-spacing: .02em;
    background: var(--lps-soft); color: var(--lps-primary); }
.lps-badge-featured { background: var(--lps-accent); color: var(--lps-accent-text, var(--lps-white)); }
.lps-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--lps-dark) !important; }
.lps-card-text { color: var(--lps-muted) !important; font-size: 14.5px; line-height: 1.6; min-height: 4.8em; }
.lps-card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 12px; }
.lps-price-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.lps-price { color: var(--lps-dark); font-size: 14px; }
.lps-price .lps-from { color: var(--lps-muted); }
.lps-price strong { font-size: 20px; font-weight: 700; color: var(--lps-primary); }
.lps-cycle { color: var(--lps-muted); }
.lps-free { font-size: 13px; font-weight: 600; color: var(--lps-primary); padding: 2px 8px; border-radius: var(--lps-r-tab); background: var(--lps-soft); }

/* buttons: primary = CTA colour with white text, secondary = primary outline */
.lps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--lps-cta);
    border-radius: var(--lps-r-btn); background: var(--lps-cta); color: var(--lps-cta-text) !important; font: inherit; font-size: 15px; font-weight: 600;
    text-decoration: none !important; cursor: pointer; transition: box-shadow .15s, background .15s; }
.lps-btn:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lps-cta) 25%, transparent); }
.lps-btn:active { box-shadow: inset 0 0 0 100px color-mix(in srgb, var(--lps-dark) 8%, transparent); }
.lps-card .lps-btn { align-self: stretch; }
.lps-btn-sec { background: var(--lps-white); border-color: var(--lps-primary); color: var(--lps-primary) !important; }
.lps-btn-sec:hover { background: var(--lps-soft); box-shadow: none; }
.lps-search .lps-btn { min-height: 46px; }

/* header band: full-width primary blue from under the site menu to the middle of the first «Destacados» row.
   store.js measures it (--lps-band-top / --lps-band-h) and adds .has-band; without JavaScript the page keeps the
   plain header. The band starts in the menu colour (#17364D) and darkens very slightly towards the bottom; the
   border-image outset paints it full width without a horizontal scrollbar. */
.linkeia-store.has-band { position: relative; isolation: isolate; }
.linkeia-store.has-band::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: var(--lps-band-top, -48px);
    height: var(--lps-band-h, 0); border-image: linear-gradient(180deg, var(--lps-band) 0%, var(--lps-band) 30%, var(--lps-band-2) 100%) fill 0 / 0 / 0 100vmax; }
/* header photo: store.js puts .lps-band-bg as the first child of the theme's full-width .main-body, at the band's
   place, so the photo covers the whole width without a scrollbar; the blue layer keeps the text legible (strong on
   the left where the text is, lighter on the right) and blends into the menu at the top */
.lps-band-bg { position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, color-mix(in srgb, var(--lps-band) 70%, transparent) 0, transparent 90px), var(--lps-band-overlay), var(--lps-band-img),
        linear-gradient(180deg, var(--lps-band) 0%, var(--lps-band) 30%, var(--lps-band-2) 100%); }
:has(> .lps-band-bg) { position: relative; }
:has(> .lps-band-bg) > :not(.lps-band-bg) { position: relative; z-index: 1; }
.linkeia-store.has-band-bg::before { display: none; }
@media (max-width: 767px) {
    .lps-band-bg { background: var(--lps-band-overlay-sm), var(--lps-band-img), linear-gradient(180deg, var(--lps-band) 0%, var(--lps-band-2) 100%); }
}
.linkeia-store.has-band .lps-title, .linkeia-store.has-band .lps-family[data-band-end] .lps-h2 { color: var(--lps-white) !important; }
.linkeia-store.has-band .lps-sub, .linkeia-store.has-band .lps-family[data-band-end] .lps-desc { color: rgba(255, 255, 255, .82) !important; }
.linkeia-store.has-band .lps-chip { background: transparent; border-color: rgba(255, 255, 255, .4); color: var(--lps-white) !important; }
.linkeia-store.has-band .lps-chip:hover { background: rgba(255, 255, 255, .1); border-color: var(--lps-white); }
.linkeia-store.has-band .lps-chips { scrollbar-color: rgba(255, 255, 255, .35) transparent; }
.linkeia-store.has-band .lps-chip.is-on { background: var(--lps-white); border-color: var(--lps-white); color: var(--lps-primary) !important; }
/* search on the band: glass box (translucent, blurs what is behind) with white text; store.js folds it into the
   «Buscar» button and opens it on click (.is-js / .is-collapsed), and keeps it open while it has text */
.linkeia-store.has-band .lps-search input { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
    border-color: rgba(255, 255, 255, .28); color: var(--lps-white); }
.linkeia-store.has-band .lps-search input::placeholder { color: rgba(255, 255, 255, .62); }
.linkeia-store.has-band .lps-search input:focus { border-color: rgba(255, 255, 255, .7); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lps-accent) 35%, transparent); }
.linkeia-store.has-band .lps-search .lps-i { color: var(--lps-white); opacity: .85; }
.linkeia-store.has-band .lps-search .lps-btn-sec { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, .4); color: var(--lps-white) !important; }
.linkeia-store.has-band .lps-search .lps-btn-sec:hover { background: rgba(255, 255, 255, .16); border-color: var(--lps-white); }
.lps-search.is-js { flex: 0 0 auto; min-width: 0; }
.lps-search.is-js input { flex: none; width: 340px; transition: width .25s ease, padding .25s ease, opacity .2s ease, border-color .2s; }
.lps-search.is-js .lps-btn::before { content: ""; width: 0; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 18px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 18px no-repeat; transition: width .2s ease; }
.lps-search.is-collapsed input { width: 0; padding-left: 0; padding-right: 0; border-color: transparent !important; opacity: 0; pointer-events: none; }
.lps-search.is-collapsed .lps-i { opacity: 0 !important; }
.lps-search.is-collapsed { gap: 0; }
.lps-search.is-collapsed .lps-btn::before { width: 18px; }
@media (prefers-reduced-motion: reduce) { .lps-search.is-js input, .lps-search.is-js .lps-btn::before { transition: none; } }
@media (max-width: 575px) { .lps-search.is-js:not(.is-collapsed) { flex: 1 1 100%; } .lps-search.is-js:not(.is-collapsed) input { flex: 1; width: auto; } }
.linkeia-store.has-band .lps-family[data-band-end] .lps-card { box-shadow: 0 10px 30px color-mix(in srgb, var(--lps-dark) 18%, transparent); }

/* footer band: full-width dark blue (#0A1720) from the middle of the help cards down to the site footer, which takes
   the same colour on this page. store.js measures it (--lps-fband-top / --lps-fband-ext). */
.linkeia-store.has-fband .lps-help { position: relative; isolation: isolate; padding: 0; background: transparent; border: 0; color: inherit; }
.linkeia-store.has-fband .lps-help .lps-h2 { color: var(--lps-primary) !important; }
.linkeia-store.has-fband .lps-help .lps-desc { color: var(--lps-muted) !important; }
.linkeia-store.has-fband .lps-help::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: var(--lps-fband-top, 60%);
    bottom: calc(-1 * var(--lps-fband-ext, 56px)); background: var(--lps-dark); box-shadow: 0 0 0 100vmax var(--lps-dark); clip-path: inset(0 -100vmax); }
.linkeia-store.has-fband .lps-help-card { box-shadow: 0 10px 30px color-mix(in srgb, var(--lps-dark) 18%, transparent); }
body:has(.linkeia-store.has-fband.lps-footer-theme) :is(.main-footer, #footer, footer.footer) { background: var(--lps-dark) !important; border-top: 0 !important; color: rgba(255, 255, 255, .78) !important; }
body:has(.linkeia-store.has-fband.lps-footer-theme) :is(.main-footer, #footer, footer.footer) a, body:has(.linkeia-store.has-fband.lps-footer-theme) :is(.main-footer, #footer, footer.footer) .copyright,
body:has(.linkeia-store.has-fband.lps-footer-theme) :is(.main-footer, #footer, footer.footer) i, body:has(.linkeia-store.has-fband.lps-footer-theme) :is(.main-footer, #footer, footer.footer) .btn { color: rgba(255, 255, 255, .85) !important; }

/* group page (/store/<group>): back link, family groups as tabs, cycle switch and plan cards */
.lps-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--lps-primary) !important; text-decoration: none !important; }
.lps-back:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.lps-flip { transform: scaleX(-1); }
.lps-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: -4px 0 24px; }
.lps-tabs, .lps-cycles { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border-radius: var(--lps-r-tab); background: var(--lps-surface); }
.lps-cycles-label { padding: 0 8px 0 6px; font-size: 13px; font-weight: 600; color: var(--lps-muted); }
.lps-tab, .lps-cyc { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--lps-r-tab); font-size: 14px; font-weight: 600;
    color: var(--lps-primary) !important; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.lps-tab:hover, .lps-cyc:hover { background: color-mix(in srgb, var(--lps-primary) 8%, transparent); }
.lps-tab.is-on, .lps-cyc.is-on { background: var(--lps-primary); color: var(--lps-white) !important; }
.lps-save { padding: 1px 7px; border-radius: var(--lps-r-tab); background: var(--lps-accent); color: var(--lps-white); font-size: 11.5px; font-weight: 700; }
.lps-plan .lps-card-top { align-items: flex-start; gap: 10px; }
.lps-plan .lps-card-title { margin: 0 !important; font-size: 19px; }
.lps-plan-sub { margin: -4px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--lps-muted) !important; }
.lps-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; margin: 4px 0 2px; }
.lps-plan-price strong { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--lps-primary); font-variant-numeric: tabular-nums; }
.lps-plan-price .lps-cycle { font-size: 15px; }
.lps-plan-hint { flex-basis: 100%; min-height: 1.4em; font-size: 13px; color: var(--lps-muted); }
.lps-plan .lps-btn { align-self: stretch; }
.lps-btn.is-disabled { background: var(--lps-line-strong); cursor: not-allowed; box-shadow: none; }
.lps-plan-intro { margin: 4px 0 0 !important; font-size: 14px; line-height: 1.55; color: var(--lps-muted) !important; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lps-feats { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.45; }
.lps-feats li { display: flex; align-items: flex-start; gap: 8px; }
.lps-feats li > .lps-i { flex: none; margin-top: 3px; color: var(--lps-primary); }
.lps-feats li.is-no { color: var(--lps-muted); }
.lps-feats li.is-no > .lps-i { color: var(--lps-muted); opacity: .7; }
.lps-feat-label { color: var(--lps-muted); }
.lps-feats strong { font-weight: 600; color: var(--lps-primary); }
.lps-feats li.is-no strong { color: var(--lps-muted); }
.lps-feats .lps-feat-sep { display: block; height: 0; margin: 3px 0; border-top: 1px solid var(--lps-line); }
.lps-more { margin-top: 4px; }
.lps-more summary { display: inline-flex; cursor: pointer; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--lps-primary); list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.lps-more summary::-webkit-details-marker { display: none; }
.lps-more[open] summary { margin-bottom: 6px; }
.lps-note { margin: 16px 0 0 !important; font-size: 13.5px; color: var(--lps-muted) !important; }
.linkeia-store.has-band .lps-back { color: rgba(255, 255, 255, .85) !important; }
.linkeia-store.has-band .lps-tabs, .linkeia-store.has-band .lps-cycles { background: rgba(255, 255, 255, .08); }
.linkeia-store.has-band .lps-cycles-label { color: rgba(255, 255, 255, .7); }
.linkeia-store.has-band .lps-tab, .linkeia-store.has-band .lps-cyc { color: var(--lps-white) !important; }
.linkeia-store.has-band .lps-tab:hover, .linkeia-store.has-band .lps-cyc:hover { background: rgba(255, 255, 255, .1); }
.linkeia-store.has-band .lps-tab.is-on, .linkeia-store.has-band .lps-cyc.is-on { background: var(--lps-white); color: var(--lps-primary) !important; }
.linkeia-store.has-band .lps-plans .lps-card { box-shadow: 0 10px 30px color-mix(in srgb, var(--lps-dark) 18%, transparent); }
@media (max-width: 575px) { .lps-bar { flex-direction: column; align-items: stretch; } .lps-tabs, .lps-cycles { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .lps-cycles-label { display: none; } }
:is(html.lk-dark, html.lagom-dark-mode) .lps-plan-price strong, :is(html.lk-dark, html.lagom-dark-mode) .lps-feats strong, :is(html.lk-dark, html.lagom-dark-mode) .lps-feats li > .lps-i, :is(html.lk-dark, html.lagom-dark-mode) .lps-more summary, :is(html.lk-dark, html.lagom-dark-mode) .lps-back { color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-tab, :is(html.lk-dark, html.lagom-dark-mode) .lps-cyc { color: var(--lps-white) !important; }

/* quote modal: <dialog> opened by store.js from any [data-quote] button; sends to the sales department */
.lps-modal { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; overflow: auto; border-radius: var(--lps-r-card); background: var(--lps-white);
    color: var(--lps-dark); box-shadow: 0 30px 80px color-mix(in srgb, var(--lps-dark) 35%, transparent); font-family: var(--lps-font); }
.lps-modal::backdrop { background: color-mix(in srgb, var(--lps-dark) 60%, transparent); }
.lps-modal-box { display: flex; flex-direction: column; margin: 0; }
.lps-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px; background: var(--lps-primary); color: var(--lps-white); }
.lps-modal-eyebrow { margin: 0 0 2px !important; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lps-accent) !important; }
.lps-modal-title { margin: 0 !important; font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--lps-white) !important; }
.lps-modal-x { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--lps-r-btn); background: transparent; color: var(--lps-white); cursor: pointer; }
.lps-modal-x:hover { background: rgba(255, 255, 255, .1); }
.lps-modal-body, .lps-modal-done { padding: 22px 24px 24px; }
.lps-modal-intro { margin: 0 0 16px !important; font-size: 14.5px; line-height: 1.55; color: var(--lps-muted) !important; }
.lps-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 14px; }
.lps-field { display: flex; flex-direction: column; gap: 5px; }
.lps-field label { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--lps-primary); }
.lps-field input, .lps-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--lps-line-strong); border-radius: var(--lps-r-btn); background: var(--lps-white);
    color: var(--lps-dark); font: inherit; font-size: 15px; }
.lps-field input { height: 44px; }
.lps-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.lps-field input:focus, .lps-field textarea:focus { outline: none; border-color: var(--lps-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lps-primary) 15%, transparent); }
.lps-field input[readonly] { background: var(--lps-surface); }
.lps-field.has-err input, .lps-field.has-err textarea { border-color: var(--lps-cta); }
.lps-field-err { min-height: 0; font-size: 12.5px; font-weight: 600; color: #C9372C; }
.lps-form-err { margin: 12px 0 0 !important; padding: 10px 12px; border-radius: calc(var(--lps-r-card) * .5); background: color-mix(in srgb, var(--lps-cta) 10%, transparent); border-left: 3px solid var(--lps-cta); font-size: 14px; color: var(--lps-dark) !important; }
.lps-modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: 10px; margin-top: 18px; }
.lps-attach { margin-right: auto; max-width: 260px; }
.lps-attach input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lps-attach-btn { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px dashed var(--lps-line-strong); border-radius: var(--lps-r-btn);
    color: var(--lps-primary) !important; font-weight: 600; cursor: pointer; max-width: 100%; }
.lps-attach-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lps-attach-btn:hover, .lps-attach input:focus-visible + small { border-color: var(--lps-primary); }
.lps-attach small { font-size: 11.5px; color: var(--lps-muted); }
.lps-modal-foot .lps-btn[disabled] { opacity: .65; cursor: progress; }
.lps-modal-legal { margin: 12px 0 0 !important; font-size: 12.5px; color: var(--lps-muted) !important; }
.lps-modal-done { text-align: center; }
.lps-modal-done .lps-ico-ok { margin: 6px auto 12px; background: var(--lps-soft); color: var(--lps-primary); }
.lps-modal-done p { margin: 6px 0 18px !important; color: var(--lps-muted) !important; }
.lps-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html.lps-modal-open { overflow: hidden; }
@media (max-width: 575px) { .lps-fields { grid-template-columns: minmax(0, 1fr); } .lps-modal-foot { flex-direction: column-reverse; } .lps-modal-foot .lps-btn { width: 100%; } }
:is(html.lk-dark, html.lagom-dark-mode) .lps-modal { background: var(--lps-dark); color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-field label { color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-field input, :is(html.lk-dark, html.lagom-dark-mode) .lps-field textarea { background: var(--lps-primary); color: var(--lps-white); }

/* domain modal: search box, suggested extensions as cards, live results and the way to the cart */
.lps-modal-wide { width: min(780px, calc(100vw - 24px)); }
.lps-dm-search { position: relative; display: flex; gap: 8px; }
.lps-modal .lps-dm-search > .lps-i { position: absolute; left: 14px; top: 15px; color: var(--lps-primary); opacity: .7; pointer-events: none; }
.lps-modal .lps-dm-search input { flex: 1; min-width: 0; height: 50px; padding: 0 14px 0 44px; border: 1px solid var(--lps-line-strong); border-radius: var(--lps-r-btn); font: inherit; font-size: 17px; color: var(--lps-dark); }
.lps-modal .lps-dm-search input:focus { outline: none; border-color: var(--lps-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lps-primary) 15%, transparent); }
.lps-dm-search .lps-btn { min-height: 50px; }
.lps-dm-hint { margin: 10px 0 16px !important; font-size: 13.5px; color: var(--lps-muted) !important; }
.lps-tlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lps-tld { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 1px solid var(--lps-line-strong); border-radius: var(--lps-r-card);
    background: var(--lps-white); color: var(--lps-dark); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.lps-tld:hover { border-color: var(--lps-primary); box-shadow: var(--lps-shadow); }
.lps-tld.is-on { border-color: var(--lps-accent); background: color-mix(in srgb, var(--lps-accent) 8%, transparent); box-shadow: inset 0 0 0 1px var(--lps-accent); }
.lps-tld-ext { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--lps-primary); }
.lps-tld-price { font-size: 13px; color: var(--lps-muted); }
.lps-tld-price strong { font-size: 15px; font-weight: 600; color: var(--lps-dark); }
.lps-dm-results { display: grid; gap: 10px; margin-top: 16px; }
.lps-dm-sub { margin: 8px 0 0 !important; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--lps-muted) !important; }
.lps-dm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--lps-line); border-radius: var(--lps-r-card); background: var(--lps-white); }
.lps-dm-row.is-main { padding: 18px 20px; border-color: var(--lps-line-strong); box-shadow: var(--lps-shadow); }
.lps-dm-row.is-free.is-main { border-color: rgba(31, 157, 107, .5); }
.lps-dm-name { flex: 1 1 220px; min-width: 0; font-size: 16px; font-weight: 600; color: var(--lps-dark); word-break: break-all; }
.lps-dm-row.is-main .lps-dm-name { font-size: 20px; }
.lps-dm-status { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; vertical-align: middle; }
.lps-dm-status.ok { background: rgba(31, 157, 107, .12); color: #17784F; }
.lps-dm-status.no { background: color-mix(in srgb, var(--lps-cta) 12%, transparent); color: #B8322A; }
.lps-dm-status.wait { background: var(--lps-surface); color: var(--lps-muted); }
.lps-dm-price { font-size: 14px; color: var(--lps-muted); text-align: right; }
.lps-dm-price strong { display: block; font-size: 17px; color: var(--lps-primary); }
.lps-dm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lps-dm-actions .lps-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.lps-dm-actions .lps-btn.is-added { background: var(--lps-soft) !important; border-color: var(--lps-soft) !important; color: var(--lps-primary) !important; box-shadow: none; opacity: 1; cursor: default; }
.lps-dm-link { font-size: 14px; font-weight: 600; color: var(--lps-primary) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.lps-dm-note { flex-basis: 100%; margin: 0 !important; font-size: 13px; color: var(--lps-muted) !important; }
.lps-dm-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 24px;
    background: var(--lps-dark); color: var(--lps-white); font-weight: 600; }
@media (max-width: 575px) { .lps-tlds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lps-dm-search { flex-direction: column; } .lps-dm-price { text-align: left; } }
:is(html.lk-dark, html.lagom-dark-mode) .lps-tld, :is(html.lk-dark, html.lagom-dark-mode) .lps-dm-row { background: var(--lps-primary); color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-tld-ext, :is(html.lk-dark, html.lagom-dark-mode) .lps-tld-price strong, :is(html.lk-dark, html.lagom-dark-mode) .lps-dm-name, :is(html.lk-dark, html.lagom-dark-mode) .lps-dm-price strong { color: var(--lps-white); }

/* empty state and help */
.lps-empty { padding: 36px 20px; text-align: center; border: 1px dashed var(--lps-line-strong); border-radius: var(--lps-r-card); background: var(--lps-white); margin-bottom: 32px; }
.lps-empty p { margin-bottom: 14px !important; font-size: 16px; }
/* help: dark panel with the contact options as cards */
.lps-help { margin-top: 12px; padding: 36px 32px; border-radius: var(--lps-r-card); background: var(--lps-dark); color: var(--lps-white); }
.lps-help .lps-h2 { color: var(--lps-white) !important; font-size: 24px; }
.lps-help .lps-desc { color: rgba(255, 255, 255, .78) !important; }
.lps-help .lps-sec-head { margin-bottom: 24px; }
.lps-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lps-help-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--lps-r-card); background: var(--lps-white); color: var(--lps-dark); }
.lps-help-card .lps-btn { margin-top: auto; align-self: stretch; }
.lps-help-value { font-weight: 700; font-size: 16px; color: var(--lps-primary) !important; }
.lps-ico-wa { background: #25D366; color: var(--lps-white); }
.lps-phones { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.lps-phones a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--lps-r-btn); background: var(--lps-surface);
    color: var(--lps-primary) !important; font-weight: 600; text-decoration: none !important; font-variant-numeric: tabular-nums; }
.lps-phones a:hover { background: var(--lps-soft); }
@media (max-width: 991px) { .lps-help-grid { grid-template-columns: minmax(0, 1fr); } .lps-help { padding: 24px 18px; } }

/* the catalog uses the full width of the page body (theme sidebars are emptied by the module) */
body:has(.linkeia-store) .main-sidebar:empty, body:has(.linkeia-store) .sidebar:empty { display: none; }

/* dark mode (Linkeia Dark Mode adds html.lk-dark): same palette, dark surfaces */
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store {
    --lps-text: var(--lps-white);
    --lps-muted: rgba(255, 255, 255, .74);
    --lps-card: var(--lps-primary);
    --lps-line: rgba(255, 255, 255, .14);
    --lps-line-strong: rgba(255, 255, 255, .28);
    --lps-shadow: none;
    --lps-shadow-hover: 0 8px 24px rgba(0, 0, 0, .35);
}
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store a, :is(html.lk-dark, html.lagom-dark-mode) .lps-title, :is(html.lk-dark, html.lagom-dark-mode) .lps-h2, :is(html.lk-dark, html.lagom-dark-mode) .lps-card-title, :is(html.lk-dark, html.lagom-dark-mode) .lps-price strong { color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-chip { background: transparent; color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-chip:hover { background: rgba(255, 255, 255, .08); }
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store.has-band .lps-chip.is-on, :is(html.lk-dark, html.lagom-dark-mode) .lps-chip.is-on { background: var(--lps-soft); border-color: var(--lps-soft); color: var(--lps-dark) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-search input { background: var(--lps-dark); color: var(--lps-white); border-color: var(--lps-line-strong); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-search .lps-i { color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store.has-fband .lps-help { background: transparent; border: 0; }
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store.has-fband .lps-help .lps-h2 { color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-help { background: color-mix(in srgb, var(--lps-soft) 6%, transparent); border: 1px solid var(--lps-line); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-help-card { background: var(--lps-primary); color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-help-value { color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-phones a { background: var(--lps-dark); color: var(--lps-white) !important; }
:is(html.lk-dark, html.lagom-dark-mode) .lps-ico { background: var(--lps-dark); color: var(--lps-soft); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-ico-wa { background: #25D366; color: var(--lps-white); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-free, :is(html.lk-dark, html.lagom-dark-mode) .lps-badge:not(.lps-badge-featured) { background: var(--lps-dark); color: var(--lps-soft); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-btn-sec, :is(html.lk-dark, html.lagom-dark-mode) .lps-empty { background: transparent; color: var(--lps-white) !important; border-color: var(--lps-soft); }
:is(html.lk-dark, html.lagom-dark-mode) .linkeia-store :focus-visible { outline-color: var(--lps-soft); }

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

/* Six: the theme repeats the page title and breadcrumb above the store; the store has its own header */
body:has(#lps) #main-body .header-lined { display: none; }
/* Six: the account menu shows only a person icon (the «Hello, name!» text pushes the menu onto a second line) */
body:has(#lps) #main-menu #Secondary_Navbar-Account > a.dropdown-toggle, body:has(#lps) .navbar #Secondary_Navbar-Account > a.dropdown-toggle { font-size: 0; display: inline-flex; align-items: center; gap: 4px; }
body:has(#lps) #main-menu #Secondary_Navbar-Account > a.dropdown-toggle::before, body:has(#lps) .navbar #Secondary_Navbar-Account > a.dropdown-toggle::before {
    content: ""; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / 20px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / 20px no-repeat; }
body:has(#lps) #Secondary_Navbar-Account > a.dropdown-toggle .caret { font-size: 14px; }

/* group features (WHMCS Product Group Features): what every plan includes, three columns with a check */
.lps-gfeat { margin: 32px 0 12px; padding: 28px 32px; border-radius: var(--lps-r-card); background: var(--lps-white); border: 1px solid var(--lps-line); }
.lps-gfeat .lps-h2 { margin: 0 0 18px !important; font-size: 22px; }
.lps-gfeat-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 0; font-size: 15px; }
@media (max-width: 991px) { .lps-gfeat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lps-gfeat { padding: 22px 18px; } }
@media (max-width: 600px) { .lps-gfeat-list { grid-template-columns: minmax(0, 1fr); } }
:is(html.lk-dark, html.lagom-dark-mode) .lps-gfeat { background: color-mix(in srgb, var(--lps-soft) 6%, transparent); }
:is(html.lk-dark, html.lagom-dark-mode) .lps-gfeat .lps-h2 { color: var(--lps-white) !important; }
