/* 2.5 — presentation only. Native inputs, summary updates and submission remain intact. */
.varesh-order-ui.varesh-config-v2 {background:#f6f9fd !important;padding:24px !important;border-radius:20px !important;}
.varesh-order-ui.varesh-config-v2 > .main-grid {display:grid !important;grid-template-columns:minmax(0,1fr) 310px !important;align-items:start !important;gap:22px !important;margin:0 !important;}
.varesh-order-ui.varesh-config-v2 > .main-grid > .main-content,
.varesh-order-ui.varesh-config-v2 > .main-grid > .main-sidebar {min-width:0 !important;width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important;flex:none !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar #orderSummary {position:static !important;width:100% !important;transform:none !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .panel-summary {border:1px solid #dbe5f2 !important;border-radius:16px !important;box-shadow:0 8px 24px #18385e09 !important;overflow:hidden !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .panel-heading {padding:18px !important;background:#0c2d56 !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .panel-title {color:white !important;font-size:16px !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .panel-body,
.varesh-order-ui.varesh-config-v2 .main-sidebar .panel-footer {padding:16px !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .summary-list .list-item {display:flex !important;justify-content:space-between !important;gap:12px !important;padding:9px 0 !important;line-height:1.8 !important;font-size:12px !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .item-name {min-width:0 !important;overflow-wrap:anywhere !important;color:#51657d !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .item-value {flex-shrink:0 !important;font-size:12px !important;color:#153452 !important;}
.varesh-order-ui.varesh-config-v2 .main-sidebar .price {font-size:24px !important;line-height:1.8 !important;}
.varesh-order-ui.varesh-config-v2 .varesh-config-header {padding:0 0 20px !important;margin:0 0 22px !important;gap:16px !important;flex-wrap:wrap !important;}
.varesh-order-ui.varesh-config-v2 .product-config-info {box-shadow:none !important;background:white !important;border-radius:16px !important;}
.varesh-order-ui.varesh-config-v2 .product-config-info.varesh-has-provider-logo .panel-body {min-height:116px !important;padding:18px !important;padding-inline-end:148px !important;}
.varesh-order-ui.varesh-config-v2 .product-config-info .product-info {font-size:12px !important;line-height:1.9 !important;}
.varesh-order-ui.varesh-config-v2 #productConfigurableOptions {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;margin:0 !important;}
.varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .section {margin:0 !important;border-radius:16px !important;box-shadow:none !important;background:white !important;}
.varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .varesh-group-os {padding:20px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check-group.row {grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check-group.row > [class*="col-"] {min-height:114px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check,
.varesh-order-ui.varesh-config-v2 .varesh-group-os .varesh-option-card {width:100% !important;height:114px !important;min-height:114px !important;max-height:none !important;box-shadow:none !important;border:1px solid #dce5f0 !important;border-radius:12px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check.checked {border-color:#1676ee !important;background:#edf6ff !important;box-shadow:0 0 0 1px #1676ee !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check .check-content {position:relative !important;inset:auto !important;width:100% !important;max-width:none !important;height:112px !important;min-height:112px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:4px !important;padding:10px 8px !important;margin:0 !important;overflow:visible !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .check-title.varesh-os-name {display:block !important;position:static !important;width:100% !important;max-width:none !important;min-width:0 !important;margin:0 !important;padding:0 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;text-align:center !important;line-height:18px !important;font-size:12px !important;letter-spacing:0 !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .varesh-os-icon {box-shadow:none !important;background:white !important;flex:0 0 34px !important;width:34px !important;height:34px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .varesh-os-version {font-size:11px !important;line-height:18px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-os .varesh-os-toolbar {align-items:flex-start !important;gap:12px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-filters button {min-height:34px !important;padding:7px 13px !important;font-size:11px !important;}
.varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .varesh-slider-group {grid-column:span 1 !important;min-height:178px !important;padding:18px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-slider-group .section-title {font-size:13px !important;line-height:1.8 !important;}
.varesh-order-ui.varesh-config-v2 .varesh-slider-current {margin-top:10px !important;padding:10px !important;background:#f3f7fc !important;border-radius:8px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-slider-limits {font-size:10px !important;line-height:1.8 !important;}
.varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .varesh-group-ip.varesh-single-choice {grid-template-columns:minmax(120px,1fr) minmax(180px,1.5fr) !important;padding:16px !important;gap:12px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-ip.varesh-single-choice .panel-check,
.varesh-order-ui.varesh-config-v2 .varesh-group-ip.varesh-single-choice .varesh-option-card {height:auto !important;min-height:80px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-ip.varesh-single-choice .panel-check .check-content {height:auto !important;min-height:78px !important;padding:12px 30px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;gap:6px !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-ip .check-title {width:auto !important;max-width:none !important;margin:0 !important;line-height:1.8 !important;white-space:normal !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-ip .check-subtitle {position:static !important;margin:0 !important;line-height:1.8 !important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-ip .panel-check.checked::after {display:none !important;}
.varesh-order-ui.varesh-config-v2 .main-content > .section {margin-top:20px !important;margin-bottom:20px !important;}
.varesh-order-ui.varesh-config-v2 .form-control {border-radius:9px !important;min-height:44px !important;}
@media(min-width:1500px){.varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check-group.row {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}
@media(max-width:1100px){
 .varesh-order-ui.varesh-config-v2 > .main-grid {grid-template-columns:minmax(0,1fr) !important;}
 .varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check-group.row {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}

/* 2.6: families reveal the original WHMCS option cards; no duplicate form controls. */
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .varesh-os-toolbar {display:none!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .varesh-os-families {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 20px;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:115px;padding:13px 8px;border:1px solid #dde7f2;border-radius:14px;background:#fff;color:#1b3554;cursor:pointer;font-family:inherit;position:relative;transition:border-color .15s,background .15s;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card:hover {background:#f6faff;border-color:#9dc4f4;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card[aria-pressed=true] {background:#edf6ff;border-color:#2482ef;box-shadow:0 0 0 1px #2482ef;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card.has-selection::after {content:'✓';position:absolute;top:8px;right:8px;color:#fff;background:#1878df;border-radius:50%;width:17px;height:17px;font-size:11px;line-height:17px;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card:focus-visible {outline:3px solid #87bfff;outline-offset:3px;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card strong {font-size:12px;line-height:1.5;direction:ltr;overflow-wrap:anywhere;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card small {font-size:10px;color:#6a7f99;}
.varesh-order-ui.varesh-config-v2 .varesh-family-card .varesh-os-icon {display:grid!important;place-items:center!important;width:36px!important;height:36px!important;flex-basis:36px!important;margin:0!important;}
.varesh-order-ui.varesh-config-v2 .varesh-version-heading {border-top:1px solid #e5edf6;padding:16px 0 12px;font-size:12px;line-height:2;color:#405c7d;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check-group.row {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check-group.row > [class*="col-"] {min-height:72px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check-group.row .varesh-family-hidden {display:none!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check {height:auto!important;min-height:72px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check .check-content {height:auto!important;min-height:70px!important;padding:12px 30px!important;gap:4px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check .varesh-os-icon,
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .panel-check .varesh-os-version {display:none!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-grouped .check-title {font-size:12px!important;line-height:1.7!important;overflow-wrap:anywhere!important;}
.varesh-order-ui.varesh-config-v2 .varesh-group-icon {display:grid;place-items:center;width:30px;height:30px;background:#ecf5ff;color:#1678dd;border-radius:9px;}
.varesh-order-ui.varesh-config-v2 .varesh-group-icon svg {width:19px;height:19px;}
.varesh-order-ui.varesh-config-v2 .varesh-config-header {background:#fff;border:1px solid #dce6f3;border-radius:16px;padding:20px!important;display:flex;flex-wrap:wrap;align-items:center;gap:18px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-config-heading h1 {font-size:22px!important;}
.varesh-order-ui.varesh-config-v2 .varesh-config-steps {flex:1;min-width:280px;justify-content:space-between;}
.varesh-order-ui.varesh-config-v2 .varesh-config-steps li {flex:1;}
.varesh-order-ui.varesh-config-v2 .varesh-config-steps .is-complete b {background:#e3f6ed;color:#24865f;}
.varesh-order-ui.varesh-config-v2 .varesh-config-steps .is-active b {box-shadow:0 0 0 5px #e8f3ff;background:#0877ef;color:#fff;}
@media(max-width:767px){
 .varesh-order-ui.varesh-config-v2 .varesh-os-grouped .varesh-os-families {grid-template-columns:repeat(3,minmax(0,1fr));}
 .varesh-order-ui.varesh-config-v2 .varesh-config-steps {order:3;min-width:0;width:100%;flex-basis:100%;}
 .varesh-order-ui.varesh-config-v2 .varesh-config-steps span {font-size:10px;}
}
@media(max-width:480px){
 .varesh-order-ui.varesh-config-v2 .varesh-os-grouped .varesh-os-families {grid-template-columns:repeat(2,minmax(0,1fr));}
 .varesh-order-ui.varesh-config-v2 .varesh-group-os.varesh-os-grouped .panel-check-group.row {grid-template-columns:1fr!important;}
}
@media(max-width:600px){
 .varesh-order-ui.varesh-config-v2 {padding:12px !important;}
 .varesh-order-ui.varesh-config-v2 #productConfigurableOptions {grid-template-columns:1fr !important;}
 .varesh-order-ui.varesh-config-v2 .varesh-group-os .panel-check-group.row {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
 .varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .varesh-group-os {padding:14px !important;}
 .varesh-order-ui.varesh-config-v2 #productConfigurableOptions > .varesh-group-ip.varesh-single-choice {grid-template-columns:1fr !important;}
 .varesh-order-ui.varesh-config-v2 .product-config-info.varesh-has-provider-logo .panel-body {padding:16px !important;}
}
.varesh-order-ui.varesh-config-v2 .varesh-config-heading-icon svg {width:26px;height:26px;}

/* 2.6.1: version menus anchored beneath each family logo. */
.varesh-order-ui.varesh-config-v2 .varesh-os-dropdowns .panel-check-group.row {display:none!important;}
.varesh-order-ui.varesh-config-v2 .varesh-os-dropdowns {overflow:visible!important;}
.varesh-order-ui.varesh-config-v2 .varesh-family-tile {position:relative;min-width:0;}
.varesh-order-ui.varesh-config-v2 .varesh-family-tile.is-open {z-index:20;}
.varesh-order-ui.varesh-config-v2 .varesh-family-tile .varesh-family-card {width:100%;height:100%;min-height:142px;}
.varesh-order-ui.varesh-config-v2 .varesh-family-caption {max-width:100%;line-height:1.8;overflow-wrap:anywhere;padding:0 8px;}
.varesh-order-ui.varesh-config-v2 .varesh-family-caption::after {content:'⌄';display:inline-block;margin-inline-start:7px;color:#1878df;}
.varesh-order-ui.varesh-config-v2 .varesh-family-versions {position:absolute;top:calc(100% + 6px);inset-inline:0;z-index:30;max-height:260px;overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#fff;border:1px solid #dbe6f2;border-radius:12px;box-shadow:0 12px 32px #15345226;}
.varesh-order-ui.varesh-config-v2 .varesh-family-versions[hidden] {display:none!important;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option {display:flex;align-items:center;gap:8px;width:100%;text-align:start;border:0;border-radius:8px;background:white;color:#405c7d;font:inherit;font-size:11px;line-height:1.8;padding:10px 8px;overflow-wrap:anywhere;cursor:pointer;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option::before {content:'';width:15px;height:15px;border:1.5px solid #cbd6e4;border-radius:50%;flex-shrink:0;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option[aria-pressed=true] {background:#edf6ff;color:#086ed4;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option[aria-pressed=true]::before {border:5px solid #0877ef;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option:hover {background:#f2f7ff;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option:focus-visible {outline:2px solid #1878df;outline-offset:-2px;}
.varesh-order-ui.varesh-config-v2 .varesh-version-option:disabled {opacity:.45;cursor:not-allowed;}
