/* ==========================================================================
   KBilling Store & Portal Home — kb-store.css
   WHMCS Storefront & Portal Home with Custom KPanel Slate/Cobalt Identity
   ========================================================================== */

.ks-store, .ks-home {
    --ks-navy: var(--kb-navy, #0f172a);
    --ks-navy-mid: var(--kb-navy-mid, #1e293b);
    --ks-primary: var(--kb-primary, #0284c7);
    --ks-primary-dark: var(--kb-primary-dark, #0369a1);
    --ks-primary-light: var(--kb-primary-light, #f0f9ff);
    --ks-border: var(--kb-border, #e2e8f0);
    --ks-heading-bg: var(--kb-heading-bg, #f8fafc);
    --ks-text: var(--kb-text, #0f172a);
    --ks-text-secondary: var(--kb-text-secondary, #334155);
    --ks-muted: var(--kb-text-muted, #64748b);
    --ks-success: var(--kb-success, #059669);
    color: var(--ks-text);
    font-size: 14px;
}

/* ---------- Page Header ---------- */
.ks-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ks-border);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.ks-title {
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ks-text);
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.ks-subtitle { color: var(--ks-muted); margin: 0; font-size: 13.5px; }

/* The catalogue introduction is a compact store label, not a marketing hero. */
body.kb-body .ks-header--catalogue .ks-title {
    max-width: 24ch;
    margin-bottom: 5px;
    font-size: clamp(20px, 1.35vw, 24px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
body.kb-body .ks-header--catalogue .ks-subtitle {
    max-width: 70ch;
    font-size: clamp(13px, .8vw, 14px);
    line-height: 1.55;
    text-wrap: pretty;
}

/* ---------- Billing Cycle Switcher Pill Bar ---------- */
.ks-cycle-switcher {
    display: inline-flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 6px;
    gap: 2px;
}
.ks-cycle-btn {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ks-cycle-btn:hover { color: #0f172a; }
.ks-cycle-btn.is-active {
    background: #ffffff;
    color: var(--ks-primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.ks-cycle-save {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ---------- Sidebar Panels ---------- */
.ks-panel {
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 6px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.ks-panel-heading {
    background: var(--ks-heading-bg);
    border-bottom: 1px solid var(--ks-border);
    padding: 11px 15px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ks-text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ks-panel-heading .bi { margin-right: 6px; color: var(--ks-primary); font-size: 14px; }
.ks-list { display: flex; flex-direction: column; }
.ks-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--ks-text-secondary);
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    font-size: 13.5px;
    font-weight: 500;
    transition: all .12s ease;
}
.ks-list-item:first-child { border-top: 0; }
.ks-list-item:hover { background: #f8fafc; color: var(--ks-primary); text-decoration: none; }
.ks-list-item.active {
    background: var(--ks-primary-light);
    color: var(--ks-primary);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--ks-primary);
}
.ks-list-item.active .ks-count { background: var(--ks-primary); color: #fff; }
.ks-list-icon { width: 18px; display: inline-block; margin-right: 6px; color: var(--ks-muted); }
.ks-list-item.active .ks-list-icon { color: var(--ks-primary); }
.ks-count {
    background: #f1f5f9;
    color: #475569;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

/* ---------- Store & Category Cards ---------- */
.ks-card {
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ks-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-4px);
}
.ks-card-featured {
    border: 2px solid #2563eb;
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.15);
}
.ks-popular-ribbon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
}
.ks-card-ribbon {
    position: absolute;
    top: 10px;
    right: 12px;
    background: var(--ks-primary-light);
    color: var(--ks-primary-dark);
    border: 1px solid #bae6fd;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 4px;
}
.ks-card-body { padding: 20px 22px; flex: 1 1 auto; }
.ks-card-title { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; color: var(--ks-text); }
.ks-card-title a { color: inherit; text-decoration: none; }
.ks-card-title a:hover { color: var(--ks-primary); }
.ks-card-text { color: var(--ks-muted); font-size: 13px; line-height: 1.55; margin: 0 0 10px; }
.ks-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}
.ks-card-footer {
    border-top: 1px solid var(--ks-border);
    background: var(--ks-heading-bg);
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: 0 0 12px 12px;
}
.ks-card-link { text-decoration: none; color: inherit; }
.ks-card-link:hover { color: inherit; border-color: var(--ks-primary); text-decoration: none; }
.ks-card-link:hover .ks-card-title { color: var(--ks-primary); }
.ks-card-cta {
    color: var(--ks-primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ks-card-cta .bi { font-size: 12px; transition: transform .15s ease; }
.ks-card:hover .ks-card-cta .bi { transform: translateX(3px); }

.ks-group-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.ks-from { display: flex; flex-direction: column; line-height: 1.2; }
.ks-from-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ks-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ks-from-price {
    font-weight: 700;
    font-size: 17px;
    color: var(--ks-text);
    font-variant-numeric: tabular-nums;
}
.ks-from-price small { font-weight: 500; font-size: 12px; color: var(--ks-muted); margin-left: 2px; }

/* ---------- Product Pricing Table Cards ---------- */
.ks-product-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 22px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ks-product-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--ks-text);
}
.ks-product-group-tag {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 4px;
}
.ks-price-banner {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 22px;
    text-align: center;
}
.ks-card-featured .ks-price-banner {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}
.ks-stock {
    font-size: 11px;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.ks-stock.is-out {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
.ks-features { list-style: none; margin: 0; padding: 0; }
.ks-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7.5px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 13.5px;
    color: var(--ks-text-secondary);
    line-height: 1.45;
}
.ks-features li:last-child { border-bottom: 0; }
.ks-features .bi { color: #16a34a; flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.ks-product-footer {
    background: #ffffff;
    padding: 4px 22px 22px;
    text-align: center;
}
.ks-price { margin-bottom: 0; }
.ks-price-amount {
    font-size: 30px;
    font-weight: 800;
    color: var(--ks-text);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.ks-price-cycle { font-size: 13.5px; font-weight: 600; color: var(--ks-muted); margin-left: 2px; }
.ks-price-note { font-size: 12px; color: var(--ks-muted); margin-top: 5px; font-weight: 500; }
.ks-setup-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    padding: 2px 9px;
    border-radius: 999px;
    margin-top: 6px;
}
.ks-btn-order {
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
}
.ks-btn-order .bi { margin-right: 5px; }

/* ---------- Empty State ---------- */
.ks-empty {
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 6px;
    padding: 44px 24px;
    text-align: center;
    color: var(--ks-muted);
}
.ks-empty .bi { font-size: 34px; color: #94a3b8; display: block; margin-bottom: 10px; }
.ks-empty p { margin: 0 0 14px; }

/* ==========================================================================
   Portal Homepage & Store Index Hero
   ========================================================================== */
.kb-main > .ks-home:first-child { margin-top: -26px; }
.ks-home { margin-bottom: -48px; }

.ks-hero {
    background-color: #0f172a;
    background-image:
        radial-gradient(at 15% 15%, rgba(2, 132, 199, 0.22) 0px, transparent 50%),
        radial-gradient(at 85% 80%, rgba(14, 165, 233, 0.14) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
    border-bottom: 1px solid #1e293b;
    padding: 46px 0 38px;
    color: #f8fafc;
}
.ks-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.ks-hero-title {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.025em;
}
.ks-hero-subtitle {
    color: #94a3b8;
    font-size: 15px;
    max-width: 620px;
    margin: 0 auto 24px;
}
.ks-domain-form { max-width: 740px; margin: 0 auto; }
.ks-domain-input {
    display: flex;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.35);
}
.ks-domain-input:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(56, 189, 248, 0.25);
}
.ks-domain-input .form-control {
    border: 0;
    box-shadow: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 14px;
    min-width: 0;
    color: #0f172a;
}
.ks-domain-input .form-control:focus { box-shadow: none; }
.ks-domain-input .btn {
    padding: 10px 20px;
    font-weight: 600;
    margin-left: 5px;
    white-space: nowrap;
    border-radius: 6px;
}
.ks-tld-hints {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    font-size: 12.5px;
}
.ks-tld-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 4px 11px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}
.ks-tld-chip:hover {
    background: rgba(2, 132, 199, 0.25);
    border-color: rgba(56, 189, 248, 0.45);
    color: #ffffff;
    text-decoration: none;
}
.ks-tld-chip strong { color: #38bdf8; font-weight: 700; }

.ks-trust-strip {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    font-size: 12.5px;
    color: #94a3b8;
}
.ks-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}
.ks-trust-item i { color: #38bdf8; font-size: 14px; }

/* Logged-in Client Welcome Bar on Portal Home */
.ks-client-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--ks-border);
    padding: 12px 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.ks-client-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ks-client-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ks-client-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid var(--ks-border);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ks-text-secondary);
    text-decoration: none;
}
.ks-client-pill:hover {
    border-color: var(--ks-primary);
    color: var(--ks-primary);
    background: var(--ks-primary-light);
    text-decoration: none;
}
.ks-client-pill strong { color: var(--ks-text); }

/* Sections */
.ks-section { padding: 34px 0; }
.ks-section-alt {
    background: #ffffff;
    border-top: 1px solid var(--ks-border);
    border-bottom: 1px solid var(--ks-border);
}
.ks-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ks-text);
    margin: 0 0 4px;
    letter-spacing: -0.015em;
}
.ks-section-subtitle {
    font-size: 13.5px;
    color: var(--ks-muted);
    margin: 0;
}
.ks-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}
.ks-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--ks-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ks-more:hover { color: var(--ks-primary-dark); text-decoration: none; }
.ks-more .bi { font-size: 11px; }

/* Action Tiles ("How Can We Help Today?") */
.ks-help-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 100%;
    min-height: 112px;
    padding: 18px 10px;
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 6px;
    color: var(--ks-text-secondary);
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all .15s ease;
}
.ks-help-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--ks-primary-light);
    color: var(--ks-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all .15s ease;
}
.ks-help-tile:hover {
    border-color: var(--ks-primary);
    color: var(--ks-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}
.ks-help-tile:hover .ks-help-tile-icon {
    background: var(--ks-primary);
    color: #ffffff;
}

/* News & Announcements */
.ks-news { margin-bottom: 0; }
.ks-news-item { padding: 15px 18px; border-top: 1px solid var(--ks-border); }
.ks-news-item:first-child { border-top: 0; }
.ks-news-title {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ks-text);
    text-decoration: none;
}
.ks-news-title:hover { color: var(--ks-primary); text-decoration: none; }
.ks-news-date { font-size: 12px; color: var(--ks-muted); margin-top: 2px; }
.ks-news-body { margin: 6px 0 0; font-size: 13px; color: var(--ks-text-secondary); line-height: 1.55; }

/* Domain Banner Inside Store */
.ks-domain-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 22px 24px;
    color: #f8fafc;
}
.ks-domain-banner h4 { color: #ffffff; font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.ks-domain-banner p { color: #94a3b8; font-size: 13px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ks-store aside { order: 2; }
}
@media (max-width: 767.98px) {
    .kb-main > .ks-home:first-child { margin-top: -18px; }
    .ks-home { margin-bottom: -32px; }
    .ks-hero { padding: 30px 0 26px; }
    .ks-hero-title { font-size: 23px; }
    .ks-title { font-size: 20px; }
    .ks-domain-input { flex-wrap: wrap; }
    .ks-domain-input .form-control { flex: 1 1 100%; }
    .ks-domain-input .btn { flex: 1 1 0; margin: 4px 2px 0; }
    .ks-section { padding: 24px 0; }
}

/* Compact pricing-card system shared by the storefront and order flow. */
.ks-plan-grid { align-items: stretch; }
.ks-plan-grid > [class*="col-"] { display: block; }
.ks-plan-grid .ks-card { width: 100%; height: auto; }
.ks-card { border-color:#dce4ee; border-radius:14px; box-shadow:0 8px 24px rgba(15,23,42,.055); isolation:isolate; }
.ks-card::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:#0b84d8; opacity:.42; z-index:2; }
.ks-card--vps::before { background:#5b5bd6; }
.ks-card:hover { transform:translateY(-3px); border-color:#a9bfd3; box-shadow:0 16px 34px rgba(15,23,42,.09); }
.ks-card-featured { border-color:#8eb9d8; box-shadow:0 10px 28px rgba(10,96,155,.11); }
.ks-card-featured::before { width:4px; opacity:1; }
.ks-popular-ribbon { top:14px; right:14px; border-radius:5px; padding:4px 8px; background:#e7f3fb; color:#075b91; border:1px solid #b9d9ed; font-size:9.5px; letter-spacing:.075em; line-height:1.2; }
.ks-product-header { padding:19px 20px 14px; text-align:left; align-items:stretch; }
.ks-plan-identity { display:flex; align-items:center; gap:12px; min-width:0; padding-right:78px; }
.ks-plan-icon { width:36px; height:36px; border-radius:9px; background:#edf7fd; color:#0876bb; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; font-size:17px; box-shadow:inset 0 0 0 1px #d5eaf6; }
.ks-card--vps .ks-plan-icon { background:#f0efff; color:#5151bd; box-shadow:inset 0 0 0 1px #dddafa; }
.ks-product-header h3 { font-size:17px; font-weight:760; line-height:1.25; letter-spacing:-.015em; }
.ks-product-group-tag { padding:0; margin:0 0 3px; background:transparent; border-radius:0; color:#668096; font-size:9.5px; letter-spacing:.08em; }
.ks-price-banner { padding:15px 20px 16px; text-align:left; background:#fbfcfe; }
.ks-card-featured .ks-price-banner { background:#f6fbfe; }
.ks-price-amount { font-size:29px; }
.ks-card-body { padding:15px 20px; flex:0 0 auto; }
.ks-features li { margin:0; padding:6.5px 0; border-bottom:1px solid #f1f4f7; font-size:13px; }
.ks-features-more { color:#64748b !important; font-size:12px !important; }
.ks-features-more .bi { color:#7890a5 !important; }
.ks-product-footer { padding:5px 20px 20px; text-align:left; }
.ks-btn-order { min-height:42px; padding:9px 16px; font-weight:700; border-radius:8px; }
@media (max-width:767.98px) {
    .ks-card { border-radius:12px; }
    .ks-plan-identity { padding-right:0; }
    .ks-popular-ribbon { position:static; display:inline-flex; margin:14px 20px -7px; }
    .ks-product-header { padding-top:17px; }
}
@media (prefers-reduced-motion:reduce) { .ks-card { transition:none; } .ks-card:hover { transform:none; } }

/* Reference pricing layout: compact, title-led and conversion focused. */
.ks-plan-grid { align-items:stretch; padding-top:12px; }
.ks-plan-grid > [class*="col-"] { display:flex; }
.ks-plan-grid .ks-card { width:100%; height:100%; border:1px solid #dbe5ef; border-radius:12px; box-shadow:0 4px 16px rgba(15,23,42,.045); overflow:visible; display:flex; flex-direction:column; transition:transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.ks-plan-grid .ks-card:hover { transform:translateY(-3px); border-color:#94a3b8; box-shadow:0 12px 28px rgba(15,23,42,.08); }
.ks-plan-grid .ks-card::before { display:none; }
.ks-plan-grid .ks-card-featured { border:2px solid #1769d2; box-shadow:0 10px 26px rgba(23,105,210,.14); }
.ks-plan-grid .ks-product-header { padding:14px 18px 6px; border-bottom:0; min-height:auto; text-align:left; }
.ks-plan-grid .ks-plan-identity { display:block; padding:0; }
.ks-plan-grid .ks-plan-icon, .ks-plan-grid .ks-product-group-tag { display:none; }
.ks-plan-grid .ks-product-header h3 { font-size:18px; font-weight:750; line-height:1.2; letter-spacing:-.02em; margin:0 0 2px; color:#0f172a; }
.ks-plan-summary { margin:2px 0 0; color:#64748b; font-size:12px; line-height:1.35; }
.ks-plan-grid .ks-price-banner { padding:4px 18px 8px; background:#fff; border-bottom:1px solid #f1f5f9; display:flex; flex-direction:column; }
.ks-plan-grid .ks-card-featured .ks-price-banner { background:#fff; }
.ks-plan-grid .ks-price-amount { color:#075dcc; font-size:27px; font-weight:800; line-height:1.15; font-family:inherit; letter-spacing:-.03em; }
.ks-plan-grid .ks-price-cycle { color:#475569; font-size:13.5px; font-weight:600; margin-left:2px; }
.ks-plan-grid .ks-price-note, .ks-plan-grid .ks-setup-badge { color:#64748b; background:transparent; padding:0; font-size:11.5px; margin-top:2px; display:inline-flex; align-items:center; gap:4px; }
.ks-plan-grid .ks-card-body { padding:8px 18px 6px; flex:1 1 auto; }
.ks-plan-grid .ks-features { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0; }
.ks-plan-grid .ks-features li { gap:8px; padding:3px 0; border:0; font-size:12.5px; line-height:1.32; color:#334155; }
.ks-plan-grid .ks-features .bi-check-circle-fill { color:#0b8b65; background:#d9f7ea; border-radius:50%; font-size:12px; flex-shrink:0; }
.ks-plan-grid .ks-product-footer { padding:8px 18px 16px; margin-top:auto; }
.ks-plan-grid .ks-btn-order { min-height:40px; padding:8px 16px; font-size:13px; font-weight:700; border-radius:8px; color:#fff; background:#125be8; border-color:#125be8; box-shadow:0 4px 10px rgba(18,91,232,.14); display:inline-flex; align-items:center; justify-content:center; gap:6px; text-decoration:none; transition:all 160ms ease; }
.ks-plan-grid .ks-btn-order:hover { color:#fff; background:#0d4dca; border-color:#0d4dca; box-shadow:0 6px 14px rgba(18,91,232,.22); transform:translateY(-1px); }
.ks-plan-grid .ks-popular-ribbon { top:-16px; right:auto; left:50%; transform:translateX(-50%); margin:0; border:0; border-radius:999px; padding:4px 14px; background:#075dcc; color:#fff; box-shadow:0 4px 10px rgba(7,93,204,.22); white-space:nowrap; font-size:10.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
/* ==========================================================================
   Full-Bleed / Fluid Expansive Canvas for Storefront
   Removes dead margins on wide screens, expanding fluidly across 100%
   ========================================================================== */
body.kb-body .kb-main > .kb-container.ks-store-canvas,
body.kb-body .kb-main:has(.ks-store-fluid) > .kb-container,
body.kb-body:has(.ks-store-fluid) .kb-container,
body.kb-body:has(.ks-store-fluid) .container-fluid,
body.kb-body:has(.ks-store-fluid) .container,
body.kb-body--fullwidth .container,
body.kb-body--fullwidth .container-fluid,
body.kb-body--fullwidth .kb-container,
body.kb-body--store .container,
body.kb-body--store .container-fluid,
body.kb-body--store .kb-container,
body.kb-body .ks-store-canvas,
.ks-store-fluid,
.ks-store {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Align topbar, navbar and breadcrumb fluidly when store is loaded */
body.kb-body:has(.ks-store-fluid) .kb-topbar > .container-fluid,
body.kb-body:has(.ks-store-fluid) .kb-navbar > .container-fluid,
body.kb-body:has(.ks-store-fluid) .kb-breadcrumb > .container-fluid,
body.kb-body--fullwidth .kb-topbar > .container-fluid,
body.kb-body--fullwidth .kb-navbar > .container-fluid,
body.kb-body--fullwidth .kb-breadcrumb > .container-fluid,
body.kb-body--store .kb-topbar > .container-fluid,
body.kb-body--store .kb-navbar > .container-fluid,
body.kb-body--store .kb-breadcrumb > .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make sidebar compact and sleek on desktop so pricing cards gain maximum horizontal width */
@media (min-width: 1200px) {
    .ks-sidebar-col {
        flex: 0 0 240px !important;
        max-width: 240px !important;
        width: 240px !important;
    }
    .ks-content-col {
        flex: 1 1 calc(100% - 240px) !important;
        max-width: calc(100% - 240px) !important;
        width: calc(100% - 240px) !important;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ks-sidebar-col {
        flex: 0 0 220px !important;
        max-width: 220px !important;
        width: 220px !important;
    }
    .ks-content-col {
        flex: 1 1 calc(100% - 220px) !important;
        max-width: calc(100% - 220px) !important;
        width: calc(100% - 220px) !important;
    }
}

/* Fluid Expansion: when sidebar is hidden (e.g. active category view), content column spans full 100% */
.ks-content-col.col-12,
.ks-sidebar-col.d-none ~ .ks-content-col,
.ks-store-layout:not(:has(.ks-sidebar-col:not(.d-none))) .ks-content-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ==========================================================================
   Store Layout & Modern Sticky Sidebar Architecture
   ========================================================================== */
.ks-store-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ks-sidebar-col {
    position: relative;
    z-index: 20;
}

.ks-sidebar-sticky {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 3px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.ks-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}
.ks-sidebar-sticky::-webkit-scrollbar-track {
    background: transparent;
}
.ks-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.ks-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Panels Base Styling */
.ks-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.ks-panel:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ks-panel-heading {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ks-panel-heading i {
    font-size: 14px;
}

/* Categories List */
.ks-list {
    display: flex;
    flex-direction: column;
}
.ks-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    min-height: 46px; /* Accessibility target > 44px */
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    border-left: 3px solid transparent;
    transition: all 180ms ease-out;
}
.ks-list-item:last-child {
    border-bottom: none;
}
.ks-list-item:hover {
    background: #f8fafc;
    color: #0284c7;
    padding-left: 21px;
    border-left-color: #93c5fd;
    text-decoration: none;
}
.ks-list-item.active {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 700;
    border-left-color: #0284c7;
}
.ks-list-item:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: -2px;
}

.ks-list-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ks-list-icon {
    font-size: 16px;
    color: #64748b;
    flex-shrink: 0;
    transition: color 180ms ease-out, transform 180ms ease-out;
}
.ks-list-item:hover .ks-list-icon,
.ks-list-item.active .ks-list-icon {
    color: #0284c7;
    transform: scale(1.08);
}
.ks-list-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ks-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    transition: all 180ms ease-out;
}
.ks-list-item.active .ks-count {
    background: #0284c7;
    color: #ffffff;
}

/* Live Cart Summary Panel */
.ks-panel-cart {
    border: 1px solid #bae6fd;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
    position: relative;
    overflow: hidden;
}
.ks-panel-cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7 0%, #06b6d4 100%);
}
.ks-cart-heading {
    background: #f0f9ff;
    border-bottom: 1px solid #e0f2fe;
    color: #0369a1;
}
.ks-cart-heading i {
    color: #0284c7;
}
.ks-cart-body {
    padding: 16px 18px;
}
.ks-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}
.ks-cart-row strong {
    color: #1e293b;
}
.ks-cart-total-row {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 16px;
}
.ks-cart-total-amount {
    font-size: 18px;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.ks-btn-cart-checkout {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 180ms ease-out;
}
.ks-btn-cart-checkout:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
    transform: translateY(-1px);
}

/* Quick Actions */
.ks-qa-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 180ms ease-out;
}
.ks-qa-item:last-child {
    border-bottom: none;
}
.ks-qa-item:hover {
    background: #f8fafc;
    color: #0284c7;
    text-decoration: none;
    padding-left: 21px;
}
.ks-qa-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ks-qa-icon {
    font-size: 15px;
    color: #64748b;
    transition: color 180ms ease-out;
}
.ks-qa-item:hover .ks-qa-icon {
    color: #0284c7;
}
.ks-qa-pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Trust & Infrastructure Guarantee Widget */
.ks-panel-trust {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.ks-trust-heading {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ks-trust-heading i {
    color: #059669;
    font-size: 15px;
}
.ks-trust-list {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ks-trust-card-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ks-trust-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.ks-trust-icon-uptime {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.ks-trust-icon-ddos {
    background: #eff6ff;
    color: #0284c7;
    border: 1px solid #bfdbfe;
}
.ks-trust-icon-speed {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.ks-trust-icon-tier {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}
.ks-trust-icon-support {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.ks-trust-info {
    min-width: 0;
}
.ks-trust-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ks-trust-desc {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
.ks-live-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ksPulse 2s infinite;
}
@keyframes ksPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Mobile & Tablet (<992px) Horizontal Category Chip Bar */
.ks-mobile-cat-wrapper {
    margin-bottom: 20px;
    padding: 4px 0 8px;
    position: relative;
}
.ks-mobile-cat-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.ks-mobile-cat-scroll::-webkit-scrollbar {
    height: 4px;
}
.ks-mobile-cat-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.ks-mobile-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    min-height: 44px; /* Touch target accessibility */
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    transition: all 180ms ease-out;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.ks-mobile-chip:hover {
    color: #0284c7;
    border-color: #93c5fd;
    background: #f0f9ff;
    text-decoration: none;
}
.ks-mobile-chip.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.ks-mobile-chip.active .ks-chip-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.ks-chip-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}

/* ==========================================================================
   Enterprise VPS & Cloud Compute Infrastructure Pricing System
   Architecture inspired by Hetzner Cloud, Vultr, Linode/Akamai & DigitalOcean
   ========================================================================== */

.ks-vps-section {
    margin-bottom: 2.5rem;
}

/* --- Control Header: View Switcher & Cycle Sync --- */
.ks-vps-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.ks-vps-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ks-vps-infra-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #1e293b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
}
.ks-vps-infra-badge i {
    color: #38bdf8;
}
.ks-vps-view-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px;
}
.ks-vps-view-btn {
    border: 0;
    background: transparent;
    color: #475569;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 180ms ease-out;
}
.ks-vps-view-btn:hover {
    color: #0f172a;
}
.ks-vps-view-btn.is-active {
    background: #ffffff;
    color: #0284c7;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

/* --- VPS Grid Cards --- */
.ks-vps-grid {
    align-items: stretch;
}
.ks-vps-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.ks-vps-card:hover {
    transform: translateY(-4px);
    border-color: #94a3b8;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Featured / Production Recommended Card */
.ks-vps-card--featured {
    border: 2px solid #2563eb;
    box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}
.ks-vps-card--featured:hover {
    border-color: #1d4ed8;
    box-shadow: 0 20px 36px -6px rgba(37, 99, 235, 0.22);
}

/* Badges & Architectural Tags */
.ks-vps-popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #2563eb;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-bottom-left-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}
.ks-vps-card-header {
    padding: 1.5rem 1.5rem 1.125rem;
    border-bottom: 1px solid #f1f5f9;
}
.ks-vps-arch-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.ks-vps-arch-chip i {
    color: #0284c7;
}
.ks-vps-plan-title {
    font-size: 19px;
    font-weight: 750;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
    line-height: 1.25;
}
.ks-vps-plan-summary {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* --- Pricing Banner --- */
.ks-vps-price-box {
    padding: 1.125rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.ks-vps-card--featured .ks-vps-price-box {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}
.ks-vps-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ks-vps-price-val {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ks-vps-card--featured .ks-vps-price-val {
    color: #1d4ed8;
}
.ks-vps-price-period {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
}
.ks-vps-price-sub {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ks-vps-price-sub i {
    color: #10b981;
}

/* --- Spec Matrix & Resource Bars --- */
.ks-vps-specs-body {
    padding: 1.25rem 1.5rem;
    flex: 1 1 auto;
}
.ks-vps-specs-matrix {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.25rem;
}
.ks-vps-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ks-vps-spec-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12.5px;
}
.ks-vps-spec-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.ks-vps-spec-label i {
    font-size: 13px;
    color: #0284c7;
}
.ks-vps-spec-val {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.ks-vps-meter {
    height: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.ks-vps-meter-bar {
    height: 100%;
    background: #0284c7;
    border-radius: 999px;
    transition: width 300ms ease;
}
.ks-vps-card--featured .ks-vps-meter-bar {
    background: #2563eb;
}

/* --- Enterprise Perks Checklist --- */
.ks-vps-perks {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ks-vps-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #334155;
    line-height: 1.4;
}
.ks-vps-perk-item i {
    color: #10b981;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Action Footer --- */
.ks-vps-footer {
    padding: 0 1.5rem 1.5rem;
    background: #ffffff;
}
.ks-vps-btn-deploy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    transition: all 180ms ease-out;
}
.ks-vps-btn-deploy.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}
.ks-vps-btn-deploy.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}
.ks-vps-btn-deploy.btn-outline-primary {
    color: #2563eb;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}
.ks-vps-btn-deploy.btn-outline-primary:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
}
.ks-vps-deploy-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.ks-vps-deploy-time i {
    color: #f59e0b;
}

/* --- Tabular Comparison Table --- */
.ks-vps-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    margin-bottom: 2rem;
}
.ks-vps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}
.ks-vps-table th {
    background: #0f172a;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ks-vps-table th:last-child {
    border-right: 0;
}
.ks-vps-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f8fafc;
    color: #334155;
    vertical-align: middle;
}
.ks-vps-table tr:hover td {
    background: #f8fafc;
}
.ks-vps-table-row--featured td {
    background: #f0f7ff !important;
}
.ks-vps-table tr:last-child td {
    border-bottom: 0;
}
.ks-vps-tbl-plan-name {
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ks-vps-tbl-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: #2563eb;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
}
.ks-vps-tbl-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}
.ks-vps-tbl-btn {
    padding: 6px 14px;
    min-height: 34px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
}

/* --- Enterprise Assurance Infrastructure Strip --- */
.ks-vps-trust-grid {
    background: #0f172a;
    border-radius: 12px;
    padding: 2rem;
    color: #f8fafc;
    margin-bottom: 2.5rem;
    border: 1px solid #1e293b;
}
.ks-vps-trust-title {
    font-size: 17px;
    font-weight: 750;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
}
.ks-vps-trust-sub {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 1.5rem;
}
.ks-vps-trust-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    height: 100%;
}
.ks-vps-trust-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}
.ks-vps-trust-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
}
.ks-vps-trust-card p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .ks-vps-trust-grid { padding: 1.5rem; }
}
@media (max-width: 767.98px) {
    .ks-vps-card-header { padding: 1.25rem 1.25rem 1rem; }
    .ks-vps-price-box { padding: 1rem 1.25rem; }
    .ks-vps-specs-body { padding: 1rem 1.25rem; }
    .ks-vps-footer { padding: 0 1.25rem 1.25rem; }
    .ks-vps-price-val { font-size: 28px; }
}

/* ==========================================================================
   Modern High-End Web Hosting Pricing Table System
   Inspired by Stripe, Cloudflare, DigitalOcean & Hetzner Design Polish
   ========================================================================== */

.ks-hosting-section {
    margin-bottom: 2.5rem;
}

/* --- Control Header: Cycle Switcher & Trust Highlights --- */
.ks-hosting-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.ks-hosting-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ks-hosting-infra-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #1e293b;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ks-hosting-infra-badge i {
    color: #38bdf8;
    font-size: 13px;
}
.ks-hosting-guarantee-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
}

/* --- Hosting Cards Grid --- */
.ks-hosting-grid {
    align-items: stretch;
}
.ks-hosting-grid > [class*="col-"] {
    display: flex;
}

/* --- High-End Hosting Plan Card --- */
.ks-card--hosting {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 14px -2px rgba(15, 23, 42, 0.03);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.ks-card--hosting:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 34px -6px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Recommended / Most Popular Tier Elevation */
.ks-card--hosting.ks-card-featured,
.ks-card--hosting.ks-card--featured {
    border: 2px solid #0284c7;
    box-shadow: 0 8px 26px -4px rgba(2, 132, 199, 0.18), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
}
.ks-card--hosting.ks-card-featured:hover,
.ks-card--hosting.ks-card--featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px -6px rgba(2, 132, 199, 0.24), 0 6px 14px -2px rgba(15, 23, 42, 0.06);
}

/* Top Subtle Pill Badge (Clean, No AI Gradient Slop) */
.ks-card--hosting .ks-popular-ribbon,
.ks-card--hosting .ks-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 10;
}
.ks-card--hosting .ks-popular-ribbon i,
.ks-card--hosting .ks-card-badge i {
    color: #f59e0b;
    font-size: 12px;
}

/* --- Card Header: Tier & Audience --- */
.ks-card--hosting .ks-card-header,
.ks-card--hosting .ks-product-header {
    padding: 26px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    min-height: auto;
}
.ks-hosting-tier-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0284c7;
    display: inline-block;
}
.ks-hosting-stock-tag {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ks-hosting-stock-tag.is-out {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fecaca;
}
.ks-card--hosting .ks-plan-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 6px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.ks-card--hosting .ks-plan-desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

/* --- Pricing Area --- */
.ks-card--hosting .ks-card-pricing,
.ks-card--hosting .ks-price-banner {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.ks-card--hosting.ks-card-featured .ks-card-pricing,
.ks-card--hosting.ks-card-featured .ks-price-banner {
    background: #f0f9ff;
}
.ks-hosting-price-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 4px;
}
.ks-hosting-currency {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}
.ks-card--hosting .ks-amount,
.ks-card--hosting .ks-price-amount {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}
.ks-card--hosting.ks-card-featured .ks-price-amount,
.ks-card--hosting.ks-card-featured .ks-amount {
    color: #0284c7;
}
.ks-card--hosting .ks-period,
.ks-card--hosting .ks-price-cycle {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-left: 2px;
}
.ks-hosting-term-note {
    display: block;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 6px;
    min-height: 18px;
}
.ks-hosting-setup-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 999px;
}

/* --- Action CTA Area (Placed prominently right below Pricing) --- */
.ks-card--hosting .ks-card-action {
    padding: 18px 24px 12px;
}
.ks-card--hosting .ks-btn-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 180ms ease-out;
    text-decoration: none;
    cursor: pointer;
}
.ks-card--hosting .ks-btn-primary {
    background: #0284c7;
    color: #ffffff;
    border: 1.5px solid #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.ks-card--hosting .ks-btn-primary:hover,
.ks-card--hosting .ks-btn-primary:focus-visible {
    background: #0369a1;
    border-color: #0369a1;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}
.ks-card--hosting .ks-btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ks-card--hosting .ks-btn-secondary:hover,
.ks-card--hosting .ks-btn-secondary:focus-visible {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}
.ks-card--hosting .ks-guarantee-micro {
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}

/* --- Hero Specs Grid (Authentic Hosting Specs) --- */
.ks-card--hosting .ks-card-specs {
    margin: 8px 24px 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
}
.ks-card--hosting.ks-card-featured .ks-card-specs,
.ks-card--hosting.ks-card--featured .ks-card-specs {
    background: #f0f9ff;
    border-color: #bae6fd;
}
.ks-card--hosting .ks-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.ks-card--hosting .ks-spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.ks-card--hosting .ks-spec-detail {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ks-card--hosting .ks-spec-val {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ks-card--hosting .ks-spec-lbl {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Feature Checklist --- */
.ks-card--hosting .ks-card-body,
.ks-card--hosting .ks-card-features {
    padding: 0 24px 24px;
    flex: 1 1 auto;
}
.ks-card--hosting .ks-features-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 10px;
}
.ks-card--hosting .ks-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ks-card--hosting .ks-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    padding: 6.5px 0;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.4;
}
.ks-card--hosting .ks-features li:last-child {
    border-bottom: none;
}
.ks-card--hosting .ks-features li i.bi-check-circle-fill,
.ks-card--hosting .ks-features li i.bi-check2 {
    color: #059669;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}
.ks-card--hosting .ks-features .ks-features-more {
    color: #64748b !important;
    font-size: 12px !important;
}

/* --- Trust & Assurance Strip below Cards --- */
.ks-hosting-trust-strip {
    margin: 32px 0 16px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 991.98px) {
    .ks-hosting-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .ks-hosting-trust-strip {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
.ks-hosting-trust-col {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ks-hosting-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ks-hosting-trust-heading {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.ks-hosting-trust-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* --- Responsive Layout for Mobile Devices --- */
@media (max-width: 767.98px) {
    .ks-card--hosting .ks-card-header,
    .ks-card--hosting .ks-product-header { padding: 22px 18px 14px; }
    .ks-card--hosting .ks-card-pricing,
    .ks-card--hosting .ks-price-banner { padding: 14px 18px; }
    .ks-card--hosting .ks-card-action { padding: 14px 18px 10px; }
    .ks-card--hosting .ks-card-specs { margin: 8px 18px 14px; padding: 12px 14px; }
    .ks-card--hosting .ks-card-body,
    .ks-card--hosting .ks-card-features { padding: 0 18px 20px; }
    .ks-card--hosting .ks-amount,
    .ks-card--hosting .ks-price-amount { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .ks-card--hosting { transition: none; }
    .ks-card--hosting:hover { transform: none; }
}

/* Stable storefront composition: prevent the desktop catalogue from wrapping
   beneath the sidebar when Bootstrap gutters are active. */
@media (min-width: 992px) {
    .ks-store-layout {
        --bs-gutter-x: 0;
        display: grid !important;
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: start;
        gap: 24px;
        margin: 0 !important;
    }
    .ks-store-layout > .ks-sidebar-col,
    .ks-store-layout > .ks-content-col {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        padding: 0 !important;
        flex: none !important;
    }
}
@media (min-width: 1200px) {
    .ks-store-layout { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
    .ks-store-layout { display: block !important; margin: 0 !important; }
    .ks-store-layout > .ks-content-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
}
body.kb-body .kb-main--storefront {
    padding-top: 12px !important;
}
@media (max-width: 767.98px) {
    body.kb-body .kb-main--storefront { padding-top: 10px !important; }
}



