/* v4.4 — only loaded for imported Gcore VPS products.
 * Uses existing VeltrixHost cart tokens and preserves all native WHMCS inputs. */
#order-standard_cart .gcv-original-hidden { display:none !important; }
/* The two presentation fields always occupy independent full-width rows, including
   when WHMCS switches the surrounding options to a two-column grid over AJAX. */
#order-standard_cart :is(.gcv-os-panel,.gcv-region-panel) { box-sizing:border-box; grid-column:1 / -1; flex:0 0 100%; clear:both; width:100% !important; max-width:100% !important; min-width:0 !important; padding:0; margin:8px 0 24px; font-family:var(--vx-font,inherit); }
/* Also expand a theme's one-option column wrapper, if present. Without this,
   the panel remains trapped in a half-width Bootstrap/grid column after AJAX. */
#order-standard_cart .gcv-full-width-shell { grid-column:1 / -1; flex:0 0 100%; clear:both; width:100% !important; max-width:100% !important; min-width:0 !important; }
/* Region and Operating System labels match the native configurable-option
   heading (e.g. "Additional Public IPv4 addresses") in the VeltrixHost cart. */
#order-standard_cart .gcv-section-title { display:block; font-family:inherit; font-size:15px; line-height:1.5; font-weight:500; letter-spacing:normal; color:#1b2939; margin:0 0 9px; }
#order-standard_cart .gcv-region-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
#order-standard_cart :is(.gcv-os-card,.gcv-region-card) { box-sizing:border-box;min-width:0;appearance:none;text-align:left;position:relative;border:1px solid #d9e0e8;border-radius:9px;background:#fff;box-shadow:none;cursor:pointer;color:var(--vx-ink,#101820);font-family:inherit;transition:border-color .14s,background-color .14s; }
#order-standard_cart :is(.gcv-os-card,.gcv-region-card):hover { border-color:var(--vx-orange,#da7826); }
#order-standard_cart :is(.gcv-os-card,.gcv-region-card).is-selected { border:2px solid var(--vx-orange,#da7826);background:var(--vx-orange-soft,#fff4e8); }
#order-standard_cart :is(.gcv-os-card,.gcv-region-card):focus-visible { outline:2px solid var(--vx-orange,#da7826);outline-offset:3px; }
#order-standard_cart .gcv-select-dot { width:17px;height:17px;border:1.7px solid #aab6c4;border-radius:50%;background:#fff;flex:0 0 17px;display:block; }
#order-standard_cart .is-selected .gcv-select-dot { border-color:var(--vx-orange,#da7826);background:var(--vx-orange,#da7826);box-shadow:inset 0 0 0 4px #fff; }
#order-standard_cart .gcv-os-card { padding:16px 19px 14px; min-height:187px; }
#order-standard_cart .gcv-os-card.is-selected { padding:15px 18px 13px; }
#order-standard_cart .gcv-os-header { display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;min-height:42px; }
#order-standard_cart .gcv-os-icon { display:inline-flex;width:45px;height:45px;align-items:center;justify-content:center; }
#order-standard_cart .gcv-os-icon svg { width:40px;height:40px;display:block; }
#order-standard_cart .gcv-os-name { display:block;font-family:var(--vx-font,inherit);font-size:16px;line-height:1.4;font-weight:600;min-height:27px;letter-spacing:normal; }
#order-standard_cart .gcv-os-version-row { border-top:1px solid #e5e9ed;padding-top:12px;margin-top:12px; }
#order-standard_cart .gcv-os-version { display:block !important;width:100% !important;min-height:44px !important;height:44px !important;max-height:none !important;font-size:13px !important;font-weight:500 !important;line-height:1.3 !important;padding:7px 28px 7px 11px !important;color:#243141 !important;background:#fff !important;border:1px solid #cdd6e0 !important;border-radius:8px !important;box-shadow:none !important;cursor:pointer; }
#order-standard_cart .gcv-os-version:focus { border-color:var(--vx-orange,#da7826) !important;outline:2px solid rgba(218,120,38,.2) !important; }
#order-standard_cart .gcv-os-card.is-unavailable { opacity:.54;background:#f8f9fa;border:1px dashed #d1d8df;cursor:not-allowed; }
#order-standard_cart .gcv-os-card.is-unavailable select { display:none !important; }
#order-standard_cart .gcv-os-unavailable { display:none;color:#5f6a78;font-size:12px;margin-top:12px; }
#order-standard_cart .gcv-os-card.is-unavailable .gcv-os-unavailable { display:block; }
#order-standard_cart .gcv-os-note { font-size:12px;color:#91570e;margin:0 0 10px; }
#order-standard_cart .gcv-os-note:empty { display:none; }
#order-standard_cart .gcv-region-card { display:flex;align-items:center;gap:11px;min-height:61px;padding:10px 13px; }
#order-standard_cart .gcv-region-card.is-selected { padding:9px 12px; }
#order-standard_cart .gcv-region-text { flex:1;min-width:0;font-size:13px;line-height:1.4;font-weight:500;overflow-wrap:anywhere; }
#order-standard_cart .gcv-flag { display:flex;align-items:center;justify-content:center;min-width:31px;width:31px;height:23px;flex:0 0 31px;color:#738397; }
#order-standard_cart .gcv-flag img { display:block;width:30px;height:22px;object-fit:cover;border-radius:3px;border:1px solid rgba(35,50,65,.08); }
#order-standard_cart .gcv-flag svg { width:23px;height:23px; }
@media(max-width:980px){#order-standard_cart .gcv-region-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){#order-standard_cart .gcv-region-grid{grid-template-columns:1fr;gap:10px;}#order-standard_cart .gcv-os-card{min-height:155px;}}

/* OS cards absent from provider options for the selected location must not show at all. */
#order-standard_cart .gcv-os-card[hidden],#order-standard_cart .gcv-os-card.is-unavailable {display:none !important;}
#order-standard_cart .gcv-os-icon img{display:block;width:40px;height:40px;object-fit:contain;}
#order-standard_cart .gcv-os-icon.gcv-os-neutral{color:#738397;}
#order-standard_cart .gcv-os-icon.gcv-os-neutral svg{width:30px;height:30px;}

/* Offline-readable fallback for OS brands without bundled artwork. */
#order-standard_cart .gcv-os-icon.gcv-os-fallback { color:#9d2830; }
#order-standard_cart .gcv-os-icon.gcv-os-fallback span { display:block;font:700 16px/1 Arial,sans-serif;letter-spacing:-.03em; }

/* Brand wordmarks need a wider image box than round distribution emblems. */
#order-standard_cart .gcv-os-icon.gcv-os-icon-wide { width:96px; max-width:96px; height:45px; }
#order-standard_cart .gcv-os-icon.gcv-os-icon-wide img { width:96px; height:42px; max-width:100%; object-fit:contain; object-position:left center; }


/* v4.3 — Region flagged dropdown. Replaces the narrow 3-column region card grid.
   The original WHMCS <select>/radio remains the real checkout input. */
#order-standard_cart .gcv-region-panel { position:relative; overflow:visible; }
#order-standard_cart .gcv-region-picker { box-sizing:border-box; width:100%; min-width:0; max-width:450px; position:relative; }
#order-standard_cart .gcv-region-trigger { box-sizing:border-box !important; display:flex !important; gap:11px; align-items:center !important; width:100% !important; min-width:0 !important; max-width:100% !important; min-height:53px !important; padding:10px 14px !important; margin:0 !important; text-align:left !important; color:var(--vx-ink,#162334) !important; background:#fff !important; border:1px solid #cdd7e2 !important; border-radius:9px !important; box-shadow:none !important; cursor:pointer; font-family:var(--vx-font,inherit); }
#order-standard_cart .gcv-region-trigger:hover {border-color:var(--vx-orange,#da7826) !important;}
#order-standard_cart .gcv-region-trigger:focus-visible { outline:2px solid var(--vx-orange,#da7826) !important; outline-offset:2px; }
#order-standard_cart .gcv-region-trigger.has-selection {border-color:#d5dde6 !important;}
#order-standard_cart .gcv-region-current {display:block;flex:1 1 auto;min-width:0;font-size:13px;font-weight:550;line-height:1.5;white-space:normal;overflow-wrap:normal;word-break:normal;color:#1b2939;}
#order-standard_cart .gcv-region-chevron {display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;color:#64768a;}
#order-standard_cart .gcv-region-chevron svg {display:block;width:20px;height:20px;}
#order-standard_cart .gcv-region-panel.is-open .gcv-region-chevron {transform:rotate(180deg);}
#order-standard_cart .gcv-region-menu {position:absolute;z-index:10030;top:calc(100% + 5px);left:0;right:0;box-sizing:border-box;width:100%;max-width:100%;padding:5px;background:#fff;border:1px solid #d3dbe5;border-radius:10px;box-shadow:0 12px 36px rgba(12,27,45,.16);}
#order-standard_cart .gcv-region-menu[hidden] {display:none !important;}
#order-standard_cart .gcv-region-search-wrap {padding:5px 5px 9px;}
#order-standard_cart .gcv-region-search {display:block;box-sizing:border-box;width:100%;min-height:38px;padding:8px 11px;color:#1a293a;background:#fbfcfd;border:1px solid #ccd7e2;border-radius:7px;font-size:13px;line-height:1.35;}
#order-standard_cart .gcv-region-search:focus {outline:2px solid rgba(218,120,38,.3);border-color:var(--vx-orange,#da7826);}
#order-standard_cart .gcv-region-options {max-height:250px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;}
#order-standard_cart .gcv-region-option {display:flex !important;align-items:center !important;gap:11px;box-sizing:border-box;width:100%;min-width:0;padding:10px !important;margin:0 !important;border:0 !important;border-radius:7px !important;background:transparent !important;text-align:left !important;color:#1b2939 !important;font-family:inherit;cursor:pointer;box-shadow:none !important;}
#order-standard_cart .gcv-region-option[hidden] {display:none !important;}
#order-standard_cart .gcv-region-option:hover,#order-standard_cart .gcv-region-option:focus-visible {background:#f2f5f8 !important;outline:none;}
#order-standard_cart .gcv-region-option.is-selected {background:var(--vx-orange-soft,#fff4e8) !important;}
#order-standard_cart .gcv-region-option-label {flex:1;min-width:0;font-size:13px;line-height:1.45;white-space:normal;overflow-wrap:normal;word-break:normal;}
#order-standard_cart .gcv-region-check {flex:none;visibility:hidden;color:var(--vx-orange,#da7826);font-weight:700;font-size:16px;}
#order-standard_cart .gcv-region-option.is-selected .gcv-region-check {visibility:visible;}
#order-standard_cart :is(.gcv-region-trigger,.gcv-region-option) .gcv-flag {flex:0 0 30px;width:30px;min-width:30px;height:22px;}
#order-standard_cart :is(.gcv-region-trigger,.gcv-region-option) .gcv-flag img {width:30px;height:22px;max-width:30px;}
/* Responsive OS cards retain the original card design at every billing cycle. */
#order-standard_cart .gcv-os-grid {display:grid !important;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)) !important;gap:12px !important;min-width:0 !important;max-width:100%;}
#order-standard_cart .gcv-os-card {min-width:0 !important;max-width:100%;overflow:hidden;}
#order-standard_cart .gcv-os-name {overflow-wrap:normal;word-break:normal;}
@media(max-width:620px){
 #order-standard_cart .gcv-os-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr)) !important;}
 #order-standard_cart .gcv-region-menu {max-height:min(320px,60vh);}
}
