/* Cloud VM catalog — pricing table (ref. vpsttt EPYC layout) */
.vm-catalog { --vm-accent: #059669; --vm-accent-dark: #047857; max-width: 1200px; margin: 0 auto; padding: 0 0 2rem; width: 100%; }
.vm-catalog--configure { max-width: 48rem; padding-top: .25rem; }
.vm-catalog-hero { text-align: center; margin-bottom: 1.5rem; }
.vm-catalog-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: .75rem; }
.vm-catalog-badge { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: .3rem .6rem; border-radius: 999px; background: #f9fafb; color: #4b5563; border: 1px solid #e5e7eb; }
.vm-catalog-badge--guard { background: #f8fafc; color: #475569; border-color: #e2e8f0; text-transform: none; letter-spacing: 0; }
.vm-catalog-hero__title { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; color: #111827; margin: 0 0 .65rem; letter-spacing: -.02em; }
.vm-catalog-hero__intro { max-width: 42rem; margin: 0 auto; text-align: center; }
.vm-catalog-hero__lead { color: #6b7280; margin: 0; line-height: 1.65; font-size: .875rem; }
.vm-catalog-hero__lead strong { color: #111827; font-weight: 600; }
.vm-catalog-hero__highlights {
    list-style: none; margin: 0 0 1.25rem; padding: 0;
    display: grid; grid-template-columns: 1fr; gap: .75rem;
}
@media (min-width: 768px) {
    .vm-catalog-hero__highlights { grid-template-columns: repeat(3, 1fr); }
}
.vm-catalog-hero__highlights li {
    background: #fff; border: 1px solid #e5e7eb; border-radius: .65rem;
    padding: .85rem .95rem; box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
.vm-catalog-hero__highlight-title { display: block; font-size: .8125rem; font-weight: 700; color: var(--vm-accent-dark); margin-bottom: .35rem; }
.vm-catalog-hero__highlight-text { display: block; font-size: .78rem; color: #6b7280; line-height: 1.55; }
.vm-catalog-hero__cta {
    margin: 0; padding: .75rem 1rem; border-radius: .5rem;
    background: #ecfdf5; border: 1px solid #a7f3d0;
    color: #047857; font-size: .875rem; font-weight: 600; text-align: center;
}
.vm-catalog-hero__sub { color: #4b5563; max-width: 720px; margin: 0 auto; line-height: 1.65; font-size: .9rem; text-align: left; }
.vm-catalog-hero__meta { font-size: .8rem; color: #6b7280; }

.vm-catalog-tabs { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.vm-catalog-tab { padding: .55rem 1.25rem; border-radius: .5rem; border: 1px solid #e5e7eb; background: #fff; font-weight: 600; font-size: .875rem; cursor: pointer; color: #374151; }
.vm-catalog-tab:hover { border-color: var(--vm-accent); color: var(--vm-accent); }
.vm-catalog-tab--active { background: var(--vm-accent); border-color: var(--vm-accent); color: #fff; }

.vm-catalog-panel { display: none; }
.vm-catalog-panel--active { display: block; }

.vm-catalog-plans { margin-bottom: .5rem; }
.vm-catalog-plan-row--folded { display: none; }
.vm-catalog-plans--expanded .vm-catalog-plan-row--folded { display: table-row; }
.vm-catalog-plans__expand-wrap { display: flex; justify-content: center; margin-top: .85rem; }
.vm-catalog-plans__expand {
    padding: .55rem 1.25rem; border-radius: .5rem; border: 1px solid #d1d5db;
    background: #fff; color: #374151; font-weight: 600; font-size: .875rem; cursor: pointer;
}
.vm-catalog-plans__expand:hover { border-color: var(--vm-accent); color: var(--vm-accent-dark); }
.vm-catalog-plans--expanded .vm-catalog-plans__expand { border-color: var(--vm-accent); color: var(--vm-accent-dark); }

.vm-catalog-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: .75rem; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 6%); }
.vm-catalog-table-wrap--promo { overflow: hidden; }
.vm-catalog-table-wrap--promo .vm-catalog-table-scroll { overflow-x: auto; border-top: 1px solid #e5e7eb; }

.vm-catalog-table-headband {
    padding: .7rem 1rem .65rem;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid #e5e7eb;
}
.vm-catalog-table-headband__specs {
    margin: 0 0 .5rem;
    font-size: .72rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: .02em;
    text-align: center;
    line-height: 1.45;
}
.vm-catalog-table-headband__chips {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .45rem;
}
.vm-catalog-headband-chip {
    display: inline-flex; align-items: center;
    padding: .2rem .55rem; border-radius: 999px;
    background: #fff; border: 1px solid #e5e7eb;
    font-size: .68rem; font-weight: 600; color: #64748b;
    line-height: 1.35; white-space: nowrap;
}
.vm-catalog-headband-chip--link {
    color: #64748b; text-decoration: none;
}
.vm-catalog-headband-chip--link:hover {
    color: var(--vm-accent-dark); border-color: #a7f3d0; background: #f0fdf4;
}
.vm-catalog-table-wrap--promo .vm-catalog-table { border-radius: 0; }

.vm-catalog-promo-marquee {
    --vm-promo-marquee-duration: 28s;
    position: relative; overflow: hidden;
    padding: .65rem 0;
    background: linear-gradient(110deg, #0f172a 0%, #312e81 22%, #6d28d9 45%, #0891b2 68%, #ea580c 85%, #0f172a 100%);
    background-size: 280% 100%;
    animation:
        vm-catalog-promo-bg 14s ease-in-out infinite,
        vm-catalog-promo-bar-glow 3.6s ease-in-out infinite;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.vm-catalog-promo-marquee__glow {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 14%), transparent);
    animation: vm-catalog-promo-sweep 5s ease-in-out infinite;
}
.vm-catalog-promo-marquee__viewport {
    overflow: hidden; width: 100%; position: relative; z-index: 1;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.vm-catalog-promo-marquee__track {
    display: flex; width: max-content;
    animation: vm-catalog-promo-marquee var(--vm-promo-marquee-duration) linear infinite;
}
.vm-catalog-promo-marquee__chunk {
    display: inline-flex; align-items: center; gap: 1.75rem;
    padding-right: 1.75rem; flex-shrink: 0; white-space: nowrap;
}
.vm-catalog-promo-marquee__text {
    font-size: clamp(.78rem, 2vw, .9rem); font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    color: #f8fafc;
    text-shadow: 0 0 10px rgb(103 232 249 / 35%), 0 0 18px rgb(244 114 182 / 20%);
    animation: vm-catalog-promo-pulse 2.8s ease-in-out infinite;
}
.vm-catalog-promo-marquee__text strong {
    display: inline-block;
    background: linear-gradient(90deg, #fde047, #67e8f9, #f472b6, #fde047);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation:
        vm-catalog-promo-shimmer 3.2s linear infinite,
        vm-catalog-promo-strong-glow 2.6s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgb(253 224 71 / 45%));
}
.vm-catalog-promo-marquee__dot {
    font-size: .75rem; color: #fde047;
    animation: vm-catalog-promo-blink 2.2s ease-in-out infinite;
}

@keyframes vm-catalog-promo-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes vm-catalog-promo-bar-glow {
    0%, 100% { filter: brightness(1) saturate(1); box-shadow: inset 0 0 0 rgb(255 255 255 / 0); }
    50% { filter: brightness(1.12) saturate(1.08); box-shadow: inset 0 0 24px rgb(103 232 249 / 12%); }
}
@keyframes vm-catalog-promo-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes vm-catalog-promo-shimmer {
    from { background-position: 0% center; }
    to { background-position: 220% center; }
}
@keyframes vm-catalog-promo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .88; }
}
@keyframes vm-catalog-promo-strong-glow {
    0%, 100% { filter: drop-shadow(0 0 6px rgb(253 224 71 / 45%)); }
    50% { filter: drop-shadow(0 0 10px rgb(103 232 249 / 55%)) drop-shadow(0 0 14px rgb(253 224 71 / 35%)); }
}
@keyframes vm-catalog-promo-blink {
    0%, 100% { opacity: .95; transform: scale(1); }
    50% { opacity: .45; transform: scale(.92); }
}
@keyframes vm-catalog-promo-sweep {
    0% { transform: translateX(-120%); opacity: 0; }
    20% { opacity: .85; }
    50% { transform: translateX(120%); opacity: .85; }
    80% { opacity: 0; }
    100% { transform: translateX(120%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .vm-catalog-promo-marquee,
    .vm-catalog-promo-marquee__viewport,
    .vm-catalog-promo-marquee__track,
    .vm-catalog-promo-marquee__text,
    .vm-catalog-promo-marquee__text strong,
    .vm-catalog-promo-marquee__dot,
    .vm-catalog-promo-marquee__glow { animation: none; }
    .vm-catalog-promo-marquee__viewport { mask-image: none; -webkit-mask-image: none; }
}

.vm-catalog-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 720px; }
.vm-catalog-table--plans {
    table-layout: auto;
    min-width: 780px;
}
.vm-catalog-table--core-focus .vm-catalog-head-main th {
    padding: .7rem .75rem;
    vertical-align: middle;
}
.vm-catalog-th--core {
    background: #fff;
    color: #111827;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #e5e7eb;
}
.vm-catalog-th--core.vm-catalog-col-core:first-of-type,
.vm-catalog-table--core-focus tbody td.vm-catalog-col-core:first-of-type {
    border-left: 3px solid var(--vm-accent);
}
.vm-catalog-th--price {
    text-align: center;
    padding-right: .75rem !important;
}
.vm-catalog-th--side {
    background: #fafafa;
    color: #9ca3af;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 2px solid #e5e7eb;
}
.vm-catalog-th--side.vm-catalog-col-plan { text-align: center; padding-left: .75rem; padding-right: .75rem; }
.vm-catalog-th--side.vm-catalog-col-action { width: 3.5rem; padding: 0; }
.vm-catalog-col-plan {
    width: 1%;
    white-space: nowrap;
    min-width: 8.5rem;
    max-width: 10rem;
    padding-right: .5rem;
}
.vm-catalog-col--secondary {
    background: #fafafa;
}
.vm-catalog-col-core {
    width: auto;
    min-width: 5.25rem;
    text-align: center;
    vertical-align: middle;
}
.vm-catalog-col-core--net { min-width: 6.5rem; }
.vm-catalog-col--primary {
    background: #fff;
}
.vm-catalog-core__value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.vm-catalog-core__unit {
    display: block;
    margin-top: .15rem;
    font-size: .68rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.vm-catalog-col-core--net .vm-catalog-core__value { font-size: .9375rem; }
.vm-catalog-col-core--net .vm-catalog-core__unit {
    text-transform: none;
    letter-spacing: 0;
    font-size: .72rem;
    font-weight: 700;
    color: var(--vm-accent-dark);
}
.vm-catalog-included-row { display: none; }
.vm-catalog-col-spec {
    width: auto;
    min-width: 5.5rem;
    max-width: 8.5rem;
}
.vm-catalog-col-tight {
    width: 1%;
    white-space: nowrap;
}
.vm-catalog-col-sla {
    width: 1%;
    white-space: nowrap;
    min-width: 4.75rem;
}
.vm-catalog-col-ddos {
    width: auto;
    min-width: 7rem;
    max-width: 9rem;
}
.vm-catalog-col-price {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    padding-left: .75rem;
    padding-right: .75rem;
}
.vm-catalog-col-action {
    width: 1%;
    white-space: nowrap;
    padding-left: .35rem;
    padding-right: .65rem;
}
.vm-catalog-backup { white-space: nowrap; color: #374151; font-size: .82rem; }
.vm-catalog-sla { white-space: nowrap; font-size: .82rem; }
.vm-catalog-sla__link {
    font-weight: 700; color: var(--vm-accent-dark); text-decoration: none;
    border-bottom: 1px solid rgb(5 150 105 / 35%);
}
.vm-catalog-sla__link:hover { color: var(--vm-accent); border-bottom-color: var(--vm-accent); }
.vm-catalog-table th { padding: .75rem 1rem; background: #f9fafb; color: #374151; font-weight: 600; border-bottom: 1px solid #e5e7eb; white-space: nowrap; vertical-align: middle; text-align: center; }
.vm-catalog-table thead th { text-align: center; vertical-align: middle; }
.vm-catalog-th-sub { display: block; font-size: .65rem; font-weight: 500; color: #6b7280; margin-top: .25rem; text-transform: none; letter-spacing: 0; white-space: nowrap; line-height: 1.35; }
.vm-catalog-th--core .vm-catalog-th-sub { color: #15803d; opacity: .85; }
.vm-catalog-spec { line-height: 1.35; min-width: 0; }
.vm-catalog-spec__qty { display: block; font-weight: 600; color: #111827; white-space: nowrap; }
.vm-catalog-spec__hw { display: block; font-size: .72rem; font-weight: 500; color: #6b7280; margin-top: .2rem; line-height: 1.35; white-space: nowrap; }
.vm-catalog-table td { padding: .85rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.vm-catalog-table--plans td { padding-left: .75rem; padding-right: .75rem; }
.vm-catalog-table--core-focus tbody td.vm-catalog-col-core {
    background: #fff;
    border-bottom-color: #f3f4f6;
}
.vm-catalog-table--core-focus tbody tr:hover td { background: #fafafa; }
.vm-catalog-table--core-focus tbody tr:hover td.vm-catalog-col-core { background: #f8fafc; }
.vm-catalog-table--core-focus tbody tr:hover td.vm-catalog-col-price { background: #f0fdf4; }
.vm-catalog-table tbody tr:last-child td { border-bottom: none; }
.vm-catalog-plan { font-weight: 700; color: #111827; vertical-align: middle; white-space: nowrap; }
.vm-plan-name {
    display: inline-flex; align-items: center; gap: .4rem; flex-wrap: nowrap; white-space: nowrap;
}
.vm-plan-name--compact .vm-plan-name__logo { width: 1.375rem; height: 1.375rem; }
.vm-plan-name--compact .vm-plan-name__text { font-size: .75rem; font-weight: 600; color: #6b7280; }
.vm-plan-name__logo {
    width: 1.625rem; height: 1.625rem; border-radius: 999px; object-fit: cover;
    flex-shrink: 0; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
}
.vm-plan-name__text { font-weight: 700; color: #111827; line-height: 1.35; white-space: nowrap; font-size: .8125rem; letter-spacing: .01em; }
.vm-plan-name--heading .vm-plan-name__logo { width: 2rem; height: 2rem; }
.vm-plan-name--heading .vm-plan-name__text { font-size: inherit; }
.vm-configure-title { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.vm-catalog-price { font-weight: 700; color: var(--vm-accent-dark); white-space: nowrap; }
.vm-catalog-price__amount {
    display: block;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--vm-accent-dark);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.vm-catalog-price__period {
    display: block;
    margin-top: .1rem;
    font-size: .68rem;
    font-weight: 600;
    color: #6b7280;
}
.vm-catalog-price small { font-weight: 400; color: #6b7280; font-size: .75rem; }
.vm-catalog-price-vat { display: block; font-size: .65rem; font-weight: 500; color: #6b7280; margin-top: .2rem; white-space: normal; }
.vm-catalog-os { padding: .65rem .75rem; vertical-align: middle; }
.vm-catalog-os-col { width: 132px; max-width: 132px; }

.vm-catalog-os-marquee {
    --vm-os-marquee-duration: 18s;
    width: 120px;
    max-width: 120px;
}
.vm-catalog-os-marquee__viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.vm-catalog-os-marquee__track {
    display: flex;
    width: max-content;
    animation: vm-catalog-os-marquee var(--vm-os-marquee-duration) linear infinite;
}
.vm-catalog-os-marquee__set {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .55rem;
    padding-right: .55rem;
    flex-shrink: 0;
}
.vm-catalog-os-marquee__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    flex-shrink: 0;
    border-radius: .35rem;
    background: #fff;
    border: 1px solid #eef2f7;
    box-sizing: border-box;
    overflow: hidden;
}
.vm-catalog-os-marquee__logo {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
    object-position: center;
}

@keyframes vm-catalog-os-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .vm-catalog-os-marquee__track { animation: none; }
    .vm-catalog-os-marquee__viewport { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}
.vm-catalog-ddos { font-size: .72rem; color: #374151; max-width: 9rem; line-height: 1.35; vertical-align: top; white-space: normal; }
.vm-catalog-ddos__pill { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: .6rem; font-weight: 700; margin-right: .25rem; vertical-align: middle; }
.vm-catalog-ddos__label { display: inline; vertical-align: middle; }
.vm-catalog-btn { display: inline-flex; align-items: center; justify-content: center; padding: .45rem .85rem; border-radius: .375rem; background: var(--vm-accent); color: #fff; font-weight: 600; font-size: .8rem; text-decoration: none; white-space: nowrap; border: none; }
.vm-catalog-btn:hover { background: var(--vm-accent-dark); color: #fff; }
.vm-catalog-btn--disabled { background: #e5e7eb; color: #6b7280; cursor: not-allowed; user-select: none; }
.vm-catalog-btn--disabled:hover { background: #e5e7eb; color: #6b7280; }

.vm-catalog-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.vm-catalog-feature { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem; }
.vm-catalog-feature h3 { font-size: .95rem; font-weight: 700; margin: 0 0 .35rem; color: #111827; }
.vm-catalog-feature p { font-size: .8rem; color: #6b7280; margin: 0; line-height: 1.5; }

.vm-catalog-note { margin-top: 1.5rem; padding: 1rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: .5rem; font-size: .8rem; color: #92400e; }

.vm-catalog-proof { margin-top: 2.5rem; }
.vm-catalog-proof__title { font-size: 1.125rem; font-weight: 700; color: #111827; margin: 0 0 .35rem; text-align: center; }
.vm-catalog-proof__lead {
    margin: 0 auto 1.25rem; max-width: 36rem; text-align: center;
    font-size: .82rem; color: #6b7280; line-height: 1.55;
}
.vm-catalog-proof__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) {
    .vm-catalog-proof__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .vm-catalog-proof__grid { grid-template-columns: repeat(4, 1fr); }
}
.vm-catalog-proof__item { margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.vm-catalog-proof__frame {
    overflow: hidden; border-radius: .75rem; border: 1px solid #e5e7eb;
    background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}
.vm-catalog-proof__img {
    display: block; width: 100%; height: auto; vertical-align: middle;
}
.vm-catalog-proof__caption {
    margin: 0; padding: 0 .25rem; text-align: center;
    font-size: .8125rem; font-weight: 600; color: #374151; line-height: 1.45;
}
.vm-catalog-proof__caption--note {
    font-size: .78rem; font-weight: 500; color: #4b5563; line-height: 1.55; max-width: 16rem; margin-inline: auto;
}

.vm-catalog-addon { margin-top: 2.5rem; }
.vm-catalog-addon__title { font-size: 1.125rem; font-weight: 700; color: #111827; margin: 0 0 .35rem; }
.vm-catalog-addon__callout {
    margin: 0 0 .85rem; padding: .75rem 1rem; border-radius: .5rem;
    background: #f9fafb; border: 1px solid #e5e7eb;
    color: #374151; font-size: .875rem; font-weight: 500; line-height: 1.55;
}
.vm-catalog-addon__sub { font-size: .82rem; color: #6b7280; margin: 0 0 1rem; line-height: 1.5; }
.vm-catalog-table--addon {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}
.vm-catalog-table--addon th,
.vm-catalog-table--addon td {
    padding: .75rem 1rem;
    box-sizing: border-box;
    vertical-align: middle;
}
.vm-catalog-table--addon th:nth-child(1),
.vm-catalog-table--addon td:nth-child(1) {
    width: 26%;
    text-align: left;
}
.vm-catalog-table--addon th:nth-child(2),
.vm-catalog-table--addon td:nth-child(2) {
    width: 44%;
    text-align: center;
}
.vm-catalog-table--addon th:nth-child(3),
.vm-catalog-table--addon td:nth-child(3) {
    width: 30%;
    text-align: center;
}
.vm-catalog-table--addon .vm-catalog-price small { display: inline; font-size: .72rem; color: #6b7280; font-weight: 500; margin-left: .15rem; }

.vm-catalog-kvm { margin-top: 2.5rem; }
.vm-catalog-kvm__title {
    font-size: 1.125rem; font-weight: 700; color: #111827; margin: 0 0 .35rem; text-align: center;
}
.vm-catalog-kvm__lead {
    margin: 0 auto 1.25rem; max-width: 42rem; text-align: center;
    font-size: .875rem; color: #4b5563; line-height: 1.65;
}
.vm-catalog-kvm__lead strong { color: #111827; font-weight: 600; }
.vm-catalog-kvm__highlights {
    display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .vm-catalog-kvm__highlights { grid-template-columns: repeat(3, 1fr); }
}
.vm-catalog-kvm__highlight {
    background: #fff; border: 1px solid #e5e7eb; border-radius: .65rem;
    padding: .85rem .95rem; box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
.vm-catalog-kvm__highlight-title {
    display: block; font-size: .8125rem; font-weight: 700; color: var(--vm-accent-dark); margin-bottom: .35rem;
}
.vm-catalog-kvm__highlight-text {
    margin: 0; font-size: .78rem; color: #6b7280; line-height: 1.55;
}
.vm-catalog-kvm__compare-title {
    font-size: .9375rem; font-weight: 700; color: #374151; margin: 0 0 .75rem; text-align: center;
}
.vm-catalog-table--kvm { min-width: 640px; font-size: .8125rem; }
.vm-catalog-table--kvm th[scope="row"] {
    font-weight: 600; color: #374151; background: #fafafa; white-space: nowrap; width: 1%;
}
.vm-catalog-table--kvm thead th { text-align: center; vertical-align: middle; }
.vm-catalog-table--kvm thead th:first-child { text-align: left; }
.vm-catalog-table--kvm tbody td { text-align: center; color: #4b5563; line-height: 1.45; }
.vm-catalog-table--kvm tbody td:first-child,
.vm-catalog-table--kvm tbody th[scope="row"] { text-align: left; }
.vm-catalog-kvm__col-pick {
    background: #f0fdf4 !important;
    border-left: 1px solid #bbf7d0;
    border-right: 1px solid #bbf7d0;
    font-weight: 600; color: #14532d !important;
}
.vm-catalog-table--kvm thead .vm-catalog-kvm__col-pick {
    background: #ecfdf5 !important;
    border-bottom-color: #86efac;
}
.vm-catalog-kvm__pick-badge {
    display: block; margin-bottom: .25rem;
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--vm-accent-dark);
}
.vm-catalog-kvm__yes { color: var(--vm-accent-dark); font-weight: 700; }
.vm-catalog-kvm__no { color: #9ca3af; font-weight: 600; }
.vm-catalog-kvm__footnote {
    margin: .85rem 0 0; font-size: .78rem; color: #6b7280; line-height: 1.55; text-align: center;
}

.vm-catalog-backup-section { margin-top: 2.5rem; }
.vm-catalog-backup-section__panel {
    position: relative;
    border: 1px solid #e5e7eb; border-radius: .75rem;
    background: #fff;
    padding: 1.25rem 1rem 1.15rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}
@media (min-width: 768px) {
    .vm-catalog-backup-section__panel { padding: 1.5rem 1.25rem 1.25rem; }
}
.vm-catalog-backup-section__glow { display: none; }
.vm-catalog-backup-section__header {
    text-align: center; margin-bottom: 1rem;
}
.vm-catalog-backup-section__eyebrow {
    display: inline-block; margin-bottom: .4rem;
    font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
    color: #4b5563; background: #f9fafb;
    border: 1px solid #e5e7eb; padding: .25rem .6rem; border-radius: 999px;
}
.vm-catalog-backup-section__title {
    font-size: 1.125rem; font-weight: 700; color: #111827;
    margin: 0 0 .35rem;
}
.vm-catalog-backup-section__lead {
    margin: 0 auto; max-width: 42rem;
    font-size: .875rem; color: #6b7280; line-height: 1.65;
}
.vm-catalog-backup-section__lead strong { color: #111827; font-weight: 600; }

/* Backup — CSS/JS digital scene */
.vm-backup-scene {
    margin: 0 0 1rem; padding: 1rem .75rem;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: .65rem;
    overflow-x: auto;
}
.vm-backup-scene__track {
    display: flex; align-items: center; justify-content: center;
    gap: .35rem; min-width: min(100%, 720px); margin: 0 auto;
}
@media (max-width: 767px) {
    .vm-backup-scene__track {
        flex-direction: column; align-items: stretch; min-width: 0; gap: .5rem;
    }
    .vm-backup-link { transform: rotate(90deg); width: 2rem; align-self: center; }
    .vm-backup-link--dash .vm-backup-link__line { border-top-style: dashed; }
}
.vm-backup-node {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: .45rem;
    opacity: .55; transition: opacity .35s ease;
}
.vm-backup-node.is-active { opacity: 1; }
.vm-backup-node__box {
    width: 3.25rem; height: 3.25rem; border-radius: .55rem;
    background: #fff; border: 1px solid #d1d5db;
    display: flex; flex-direction: column; justify-content: center; gap: .28rem; padding: .45rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}
.vm-backup-node.is-active .vm-backup-node__box {
    border-color: #9ca3af; box-shadow: 0 0 0 2px rgb(209 213 219 / 45%);
}
.vm-backup-node__bar {
    display: block; height: .32rem; border-radius: 999px; background: #e5e7eb;
}
.vm-backup-node__bar--live { background: #6b7280; animation: vm-backup-bar-pulse 1.6s ease-in-out infinite; }
.vm-backup-node__box--host { position: relative; padding-top: .65rem; }
.vm-backup-node__led {
    position: absolute; top: .35rem; left: 50%; transform: translateX(-50%);
    width: .35rem; height: .35rem; border-radius: 999px; background: #9ca3af;
}
.vm-backup-node.is-active .vm-backup-node__led { background: #6b7280; animation: vm-backup-led 1.2s ease-in-out infinite; }
.vm-backup-node__box--cloud {
    position: relative; padding: .35rem .25rem .25rem; gap: .2rem;
}
.vm-backup-node__cloud {
    position: absolute; top: .2rem; left: 50%; transform: translateX(-50%);
    width: 1.5rem; height: .75rem; border-radius: 999px; background: #9ca3af;
}
.vm-backup-node__cloud::before,
.vm-backup-node__cloud::after {
    content: ""; position: absolute; background: #9ca3af; border-radius: 999px;
}
.vm-backup-node__cloud::before { width: .55rem; height: .55rem; left: -.15rem; top: .15rem; }
.vm-backup-node__cloud::after { width: .65rem; height: .65rem; right: -.1rem; top: .05rem; }
.vm-backup-node__store {
    display: block; height: .28rem; border-radius: .15rem; background: #e5e7eb; margin-top: .95rem;
}
.vm-backup-node.is-active .vm-backup-node__store { background: #d1d5db; }
.vm-backup-node__box--safe {
    align-items: center; justify-content: center; padding: 0;
}
.vm-backup-node__shield {
    width: 1.15rem; height: 1.25rem; border: 2px solid #9ca3af; border-radius: .2rem .2rem 999px 999px;
    position: relative;
}
.vm-backup-node__shield::after {
    content: ""; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(45deg);
    width: .28rem; height: .5rem; border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280;
}
.vm-backup-node.is-active .vm-backup-node__shield { border-color: #6b7280; }
.vm-backup-node__label {
    font-size: .68rem; font-weight: 600; color: #6b7280; text-align: center; line-height: 1.35; max-width: 5.5rem;
}
.vm-backup-link {
    position: relative; flex: 1 1 2.5rem; min-width: 1.75rem; max-width: 4rem; height: 1rem;
    display: flex; align-items: center;
}
.vm-backup-link__line {
    display: block; width: 100%; height: 0; border-top: 2px solid #d1d5db;
}
.vm-backup-link--dash .vm-backup-link__line { border-top-style: dashed; opacity: .75; }
.vm-backup-link__dot {
    position: absolute; top: 50%; width: .35rem; height: .35rem; margin-top: -.175rem;
    border-radius: 999px; background: #9ca3af; opacity: 0;
}
.vm-backup-scene--live .vm-backup-link__dot {
    opacity: 1; animation: vm-backup-flow 1.8s linear infinite;
}
.vm-backup-link__dot--b { animation-delay: .9s; }
@keyframes vm-backup-flow {
    from { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    to { left: calc(100% - .35rem); opacity: 0; }
}
@keyframes vm-backup-bar-pulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}
@keyframes vm-backup-led {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

/* Layer card illustrations */
.vm-catalog-backup-section__layer-visual {
    padding: .85rem .85rem 0; background: #f9fafb; min-height: 7.5rem;
    display: flex; align-items: flex-end; justify-content: center;
}
.vm-catalog-backup-section__layer.is-active .vm-catalog-backup-section__layer-visual {
    background: #f3f4f6;
}
.vm-backup-art {
    position: relative; width: 100%; max-width: 16rem; height: 6.25rem;
}
.vm-backup-art__vm {
    position: absolute; left: 0; bottom: .25rem; width: 2.5rem; height: 2.75rem;
    border: 1px solid #d1d5db; border-radius: .4rem; background: #fff;
    display: flex; flex-direction: column; gap: .25rem; padding: .35rem;
}
.vm-backup-art__vm--mini { width: 2rem; height: 2.2rem; left: .15rem; bottom: .15rem; }
.vm-backup-art__vm span {
    display: block; height: .28rem; border-radius: 999px; background: #e5e7eb;
}
.vm-backup-art__vm span.is-live { background: #9ca3af; animation: vm-backup-bar-pulse 1.6s ease-in-out infinite; }
.vm-backup-art__sync {
    position: absolute; left: 2.85rem; bottom: 1.35rem; width: 2.5rem; height: .2rem;
}
.vm-backup-art__sync i {
    position: absolute; top: 0; width: .3rem; height: .3rem; border-radius: 999px; background: #9ca3af; opacity: 0;
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art--local .vm-backup-art__sync i {
    animation: vm-backup-flow 1.4s linear infinite;
}
.vm-backup-art__sync i:nth-child(1) { animation-delay: 0s; }
.vm-backup-art__sync i:nth-child(2) { animation-delay: .45s; }
.vm-backup-art__sync i:nth-child(3) { animation-delay: .9s; }
.vm-backup-art__host {
    position: absolute; right: 1.5rem; bottom: .25rem; width: 3rem; height: 3.5rem;
    border: 1px solid #d1d5db; border-radius: .45rem; background: #6b7280;
    display: flex; flex-direction: column; gap: .28rem; padding: .55rem .4rem .4rem;
}
.vm-backup-art__host-led {
    position: absolute; top: .35rem; left: 50%; transform: translateX(-50%);
    width: .3rem; height: .3rem; border-radius: 999px; background: #d1d5db;
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art__host-led {
    animation: vm-backup-led 1.2s ease-in-out infinite;
}
.vm-backup-art__host span:not(.vm-backup-art__host-led) {
    display: block; height: .28rem; border-radius: 999px; background: rgb(255 255 255 / 45%);
}
.vm-backup-art__copies {
    position: absolute; right: 0; bottom: .55rem; display: flex; gap: .25rem;
}
.vm-backup-art__copies span {
    width: 1rem; height: 1.35rem; border: 1px solid #d1d5db; border-radius: .2rem; background: #fff;
    opacity: .45; transform: translateY(0);
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art__copies span:nth-child(1) {
    animation: vm-backup-copy 2.4s ease-in-out infinite;
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art__copies span:nth-child(2) {
    animation: vm-backup-copy 2.4s ease-in-out .6s infinite;
}
@keyframes vm-backup-copy {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}
.vm-backup-art__cloud {
    position: absolute; left: 50%; top: .15rem; transform: translateX(-50%);
    width: 3.25rem; height: 1.35rem; background: #9ca3af; border-radius: 999px;
}
.vm-backup-art__cloud::before,
.vm-backup-art__cloud::after {
    content: ""; position: absolute; background: #9ca3af; border-radius: 999px;
}
.vm-backup-art__cloud::before { width: 1.1rem; height: 1.1rem; left: .15rem; top: .35rem; }
.vm-backup-art__cloud::after { width: 1.25rem; height: 1.25rem; right: .2rem; top: .15rem; }
.vm-backup-art__stream {
    position: absolute; left: 50%; top: 1.65rem; transform: translateX(-50%);
    width: .15rem; height: 2.2rem; background: #e5e7eb; border-radius: 999px;
}
.vm-backup-art__stream i {
    position: absolute; left: 50%; width: .35rem; height: .35rem; margin-left: -.175rem;
    border-radius: 999px; background: #9ca3af; opacity: 0;
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art__stream i {
    animation: vm-backup-drop 1.6s linear infinite;
}
.vm-backup-art__stream i:nth-child(1) { animation-delay: 0s; }
.vm-backup-art__stream i:nth-child(2) { animation-delay: .32s; }
.vm-backup-art__stream i:nth-child(3) { animation-delay: .64s; }
.vm-backup-art__stream i:nth-child(4) { animation-delay: .96s; }
.vm-backup-art__stream i:nth-child(5) { animation-delay: 1.28s; }
@keyframes vm-backup-drop {
    from { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    to { top: calc(100% - .35rem); opacity: 0; }
}
.vm-backup-art__cluster {
    position: absolute; left: 50%; bottom: .2rem; transform: translateX(-50%);
    display: flex; gap: .35rem;
}
.vm-backup-art__cluster span {
    width: 1.35rem; height: 1.1rem; border: 1px solid #d1d5db; border-radius: .25rem; background: #fff;
}
.vm-catalog-backup-section__layer.is-active .vm-backup-art__cluster span {
    animation: vm-backup-store 2s ease-in-out infinite;
}
.vm-backup-art__cluster span:nth-child(2) { animation-delay: .35s; }
.vm-backup-art__cluster span:nth-child(3) { animation-delay: .7s; }
@keyframes vm-backup-store {
    0%, 100% { background: #fff; }
    50% { background: #f3f4f6; border-color: #9ca3af; }
}

.vm-catalog-backup-section__layers {
    display: grid; grid-template-columns: 1fr; gap: .75rem; align-items: stretch;
}
@media (min-width: 900px) {
    .vm-catalog-backup-section__layers {
        grid-template-columns: 1fr auto 1fr; gap: .65rem; align-items: stretch;
    }
}
.vm-catalog-backup-section__layer {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e5e7eb; border-radius: .65rem;
    overflow: hidden; box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
.vm-catalog-backup-section__layer--one,
.vm-catalog-backup-section__layer--two { border-top: 1px solid #e5e7eb; transition: border-color .35s ease; }
.vm-catalog-backup-section__layer.is-active { border-color: #d1d5db; }
.vm-catalog-backup-section__layer-body { padding: .85rem .95rem 1rem; }
.vm-catalog-backup-section__layer-badge,
.vm-catalog-backup-section__layer-badge--cloud {
    display: inline-block; margin-bottom: .4rem;
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #4b5563; background: #f9fafb; border: 1px solid #e5e7eb;
    padding: .2rem .5rem; border-radius: 999px;
}
.vm-catalog-backup-section__layer-title {
    margin: 0 0 .4rem; font-size: .9375rem; font-weight: 700; color: #111827;
}
.vm-catalog-backup-section__layer-text {
    margin: 0 0 .75rem; font-size: .8125rem; color: #6b7280; line-height: 1.6;
}
.vm-catalog-backup-section__layer-text strong { color: #374151; font-weight: 600; }
.vm-catalog-backup-section__perks,
.vm-catalog-backup-section__perks--cloud {
    display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none;
}
.vm-catalog-backup-section__perks li,
.vm-catalog-backup-section__perks--cloud li {
    font-size: .68rem; font-weight: 600; color: #4b5563;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 999px;
    padding: .22rem .55rem;
}
.vm-catalog-backup-section__bridge { display: none; }
@media (min-width: 900px) {
    .vm-catalog-backup-section__bridge {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: .35rem; padding: 0 .15rem;
    }
    .vm-catalog-backup-section__bridge-line {
        width: 1px; flex: 1; min-height: 1.5rem; background: #d1d5db; border-radius: 999px;
    }
    .vm-catalog-backup-section__bridge-icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 1.75rem; height: 1.75rem; border-radius: 999px;
        background: #fff; border: 1px solid #d1d5db; color: #6b7280;
        font-size: 1rem; font-weight: 700; line-height: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .vm-backup-scene--live .vm-backup-link__dot,
    .vm-backup-node__bar--live,
    .vm-backup-node.is-active .vm-backup-node__led,
    .vm-catalog-backup-section__layer.is-active .vm-backup-art--local .vm-backup-art__sync i,
    .vm-catalog-backup-section__layer.is-active .vm-backup-art__host-led,
    .vm-catalog-backup-section__layer.is-active .vm-backup-art__copies span,
    .vm-catalog-backup-section__layer.is-active .vm-backup-art__stream i,
    .vm-catalog-backup-section__layer.is-active .vm-backup-art__cluster span,
    .vm-backup-art__vm span.is-live { animation: none; }
    .vm-backup-link__dot { opacity: .65; left: 50%; }
}

/* Configure — checkout step (ref. Frontstore KhoiTao step 3) */
.vm-configure-header { margin-bottom: 1rem; }
.vm-configure-back {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .8125rem; font-weight: 600; color: var(--vm-accent-dark);
    text-decoration: none; margin-bottom: .65rem;
}
.vm-configure-back:hover { color: var(--vm-accent); text-decoration: underline; }
.vm-configure-title {
    display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
    margin: 0; font-size: clamp(1.35rem, 3vw, 1.65rem); font-weight: 800; color: #111827; letter-spacing: -.02em;
}

.vm-configure-summary {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1.25rem;
    margin-bottom: 1.25rem; padding: 1rem 1.1rem;
    border: 1px solid #e5e7eb; border-radius: .75rem;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
.vm-configure-summary__specs { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.vm-configure-chip {
    display: inline-flex; align-items: center; gap: .15rem;
    padding: .28rem .6rem; border-radius: 999px;
    background: #fff; border: 1px solid #e5e7eb;
    font-size: .75rem; color: #4b5563; line-height: 1.35; white-space: nowrap;
}
.vm-configure-chip strong { color: #111827; font-weight: 700; }
.vm-configure-summary__price { text-align: right; flex-shrink: 0; }
.vm-configure-summary__amount {
    display: block; font-size: 1.25rem; font-weight: 800; color: var(--vm-accent-dark);
    line-height: 1.15; font-variant-numeric: tabular-nums;
}
.vm-configure-summary__period { display: block; margin-top: .1rem; font-size: .72rem; color: #6b7280; font-weight: 600; }

.vm-configure-alert {
    margin-bottom: 1rem; padding: .85rem 1rem; border-radius: .65rem; font-size: .875rem; line-height: 1.5;
}
.vm-configure-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.vm-configure-alert p { margin: 0; }
.vm-configure-alert p + p { margin-top: .35rem; }

.vm-configure-form {
    background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem;
    padding: 1.35rem 1.25rem 1.15rem; box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
    display: flex; flex-direction: column; gap: 0;
}
.vm-configure-section {
    display: flex; flex-direction: column; gap: .4rem;
    padding: 1.1rem 0; border-top: 1px solid #f3f4f6;
}
.vm-configure-section:first-child { border-top: none; padding-top: 0; }
.vm-configure-section--row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: start;
}
.vm-configure-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.vm-configure-input--compact { max-width: 100%; }
.vm-configure-label { font-size: .875rem; font-weight: 600; color: #374151; }
.vm-configure-input {
    width: 100%; border: 1px solid #d1d5db; border-radius: .5rem;
    padding: .6rem .75rem; font-size: .9rem; color: #111827; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.vm-configure-input::placeholder { color: #9ca3af; }
.vm-configure-input:focus { outline: none; border-color: var(--vm-accent); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15); }
.vm-configure-hint { margin: 0; font-size: .75rem; color: #6b7280; line-height: 1.45; }

.vm-configure-included {
    display: flex; align-items: flex-start; gap: .5rem; margin: 0;
    padding: .75rem .85rem; border-radius: .5rem;
    background: #ecfdf5; border: 1px solid #a7f3d0;
    font-size: .78rem; color: #047857; line-height: 1.45;
}
.vm-configure-included__icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 1.1rem; height: 1.1rem; border-radius: 999px;
    background: var(--vm-accent); color: #fff; font-size: .65rem; font-weight: 700; margin-top: .05rem;
}

.vm-configure-actions {
    padding-top: 1.15rem; margin-top: .15rem; border-top: 1px solid #f3f4f6;
}
.vm-configure-submit {
    width: 100%; padding: .72rem 1rem; border: none; border-radius: .5rem;
    background: var(--vm-accent); color: #fff; font-weight: 700; font-size: .95rem;
    cursor: pointer; transition: background-color .15s, transform .05s;
}
.vm-configure-submit:hover { background: var(--vm-accent-dark); }
.vm-configure-submit:active { transform: translateY(1px); }
.vm-configure-submit__amount { font-weight: 600; opacity: .92; margin-left: .35rem; }

.vm-template-picker__head { margin-bottom: .65rem; }
.vm-template-picker__label { display: block; font-size: .875rem; font-weight: 600; color: #374151; }
.vm-template-picker__empty { font-size: .85rem; color: #6b7280; margin: 0; }

.vm-template-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.vm-template-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
    gap: .85rem; padding: .9rem 1.05rem;
    border: 1px solid #e2e5ea; border-radius: 10px; background: #fff;
    cursor: pointer; text-align: left; min-height: 76px;
    transition: border-color .2s, background-color .2s;
}
.vm-template-card:hover { border-color: rgba(5, 150, 105, 0.28); }
.vm-template-card--selected { border-color: rgba(5, 150, 105, 0.38); background: #f0fdf4; }
.vm-template-card:focus-within { outline: none; box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.18); }
.vm-template-card__radio { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.vm-template-card__icon {
    flex: 0 0 44px; align-self: center;
    width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; border-radius: 10px; overflow: hidden;
    background: rgba(5, 150, 105, 0.12); border: 1px solid rgba(5, 150, 105, 0.28);
}
.vm-template-card__logo {
    width: 36px; height: 36px; object-fit: contain; object-position: center;
    display: block; margin: 0; padding: 0; border: 0; background: transparent;
}
.vm-template-card__body {
    display: flex; flex-direction: column; gap: .25rem;
    min-width: 0; flex: 1 1 auto; min-height: 44px;
}
.vm-template-card__name {
    font-size: .9375rem; font-weight: 600; color: #1f2937; line-height: 1.3;
    letter-spacing: -.01em; text-align: left;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.vm-template-card__meta { font-size: .72rem; color: #6b7280; line-height: 1.35; text-align: left; }
.vm-template-card__version {
    width: 100%; margin-top: .1rem; font-size: .75rem;
    border: 1px solid #e4e6e8; border-radius: 6px;
    padding: .15rem 1.25rem .15rem .4rem; background: #fff; color: #1f2937;
    line-height: 1.2; min-height: 24px; height: 24px; cursor: pointer;
}
.vm-template-card__version:focus { border-color: var(--vm-accent); box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15); outline: none; }
.vm-template-card--selected .vm-template-card__version { border-color: rgba(5, 150, 105, 0.45); }
.vm-template-card__check {
    position: absolute; top: .5rem; right: .5rem;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; color: var(--vm-accent);
    border: 1.5px solid rgba(5, 150, 105, 0.4);
    font-size: .72rem; font-weight: 700;
    display: none; align-items: center; justify-content: center; line-height: 1;
}
.vm-template-card--selected .vm-template-card__check { display: inline-flex; }

.vm-template-iso-callout {
    display: flex; align-items: flex-start; gap: .75rem;
    margin-top: .85rem; padding: .85rem .95rem;
    border: 1px dashed #d1d5db; border-radius: .65rem; background: #f9fafb;
}
.vm-template-iso-callout__icon {
    flex: 0 0 36px; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: rgba(5, 150, 105, 0.1); border: 1px solid rgba(5, 150, 105, 0.2);
}
.vm-template-iso-callout__logo { width: 28px; height: 28px; object-fit: contain; display: block; }
.vm-template-iso-callout__body { min-width: 0; }
.vm-template-iso-callout__title { display: block; font-size: .8125rem; font-weight: 700; color: #374151; margin-bottom: .2rem; }
.vm-template-iso-callout__text { margin: 0; font-size: .75rem; color: #6b7280; line-height: 1.5; }

.vm-iso-picker-panel {
    margin-top: .85rem; padding: .85rem .95rem;
    border: 1px solid #e5e7eb; border-radius: .65rem; background: #f9fafb;
}
.vm-iso-picker-panel[hidden] { display: none; }
.vm-iso-picker-panel__label { display: block; font-size: .8125rem; font-weight: 600; color: #374151; margin-bottom: .35rem; }
.vm-iso-picker-panel__select {
    width: 100%; max-width: 420px; font-size: .875rem;
    border: 1px solid #d1d5db; border-radius: 8px; padding: .45rem .65rem; background: #fff;
}
.vm-iso-picker-panel__hint { margin: .45rem 0 0; font-size: .75rem; color: #6b7280; line-height: 1.45; }
.vm-iso-picker-panel__empty { margin: 0; font-size: .8125rem; color: #6b7280; line-height: 1.5; }

.vm-isos-header { margin-bottom: 1.25rem; }
.vm-isos-title { font-size: 1.35rem; font-weight: 700; color: #111827; margin: .35rem 0 .25rem; }
.vm-isos-subtitle { margin: 0; font-size: .875rem; color: #6b7280; max-width: 42rem; line-height: 1.5; }
.vm-isos-upload, .vm-isos-list {
    border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
    padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.vm-isos-upload__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.vm-isos-upload__title, .vm-isos-list__title { font-size: 1rem; font-weight: 700; color: #111827; margin: 0; }
.vm-isos-upload__meta { font-size: .8125rem; color: #6b7280; }
.vm-isos-upload__file { display: block; max-width: 100%; }
.vm-isos-upload__hint, .vm-isos-upload__limit { font-size: .8125rem; color: #6b7280; margin: .45rem 0 0; }
.vm-isos-upload__progress { max-width: 420px; }
.vm-isos-upload__filename { font-size: .875rem; font-weight: 600; margin: 0 0 .5rem; word-break: break-all; }
.vm-isos-upload__bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.vm-isos-upload__bar-fill { display: block; height: 100%; background: #059669; transition: width .2s; }
.vm-isos-upload__percent { font-size: .8125rem; color: #374151; margin: .35rem 0 .65rem; }
.vm-isos-list__empty { margin: 0; color: #6b7280; font-size: .875rem; }
.vm-isos-list__items { list-style: none; margin: .75rem 0 0; padding: 0; }
.vm-isos-list__item {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem 0; border-top: 1px solid #f3f4f6;
}
.vm-isos-list__name { display: block; font-size: .9375rem; color: #111827; word-break: break-all; }
.vm-isos-list__meta { display: block; font-size: .75rem; color: #6b7280; margin-top: .15rem; }
.vm-configure-alert--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: .75rem .9rem; border-radius: 8px; margin-bottom: 1rem; }
.vm-isos-locked {
    border: 1px solid #fde68a; background: #fffbeb; color: #92400e;
    border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1rem;
}
.vm-isos-locked__text { margin: 0; font-size: .875rem; line-height: 1.5; }

@media (max-width: 640px) {
    .vm-catalog-table th.vm-catalog-os-col,
    .vm-catalog-table td.vm-catalog-os-col { display: none; }
    .vm-configure-summary { flex-direction: column; align-items: stretch; }
    .vm-configure-summary__price { text-align: left; }
    .vm-configure-section--row { grid-template-columns: 1fr; }
    .vm-template-cards { grid-template-columns: 1fr; }
}
