/* =========================================================
   WYI Cart — order form "wyi_cart"
   Tokens preluate 1:1 din Claude Design „WHMCS cart checkout
   redesign” (assets/colors_and_type.css). NU modifica valorile
   fara sa actualizezi si proiectul de design.
   ========================================================= */

@font-face { font-family: "Amiko"; src: url("../fonts/Amiko-Regular.ttf")  format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amiko"; src: url("../fonts/Amiko-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Amiko"; src: url("../fonts/Amiko-Bold.ttf")     format("truetype"); font-weight: 700; font-display: swap; }

#order-wyi_cart {
  /* ---------- Brand Core ---------- */
  --wyi-navy-950: #00133D;
  --wyi-navy-900: #001F5B;
  --wyi-navy-800: #0A2E75;
  --wyi-navy-700: #143F8E;
  --wyi-blue-600: #1C4FA8;
  --wyi-blue-500: #2560A0;
  --wyi-blue-400: #4A82C4;
  --wyi-blue-300: #7DA6D6;
  --wyi-blue-200: #B5CCE6;
  --wyi-blue-100: #DCE7F3;
  --wyi-blue-050: #EEF3FA;

  /* ---------- Neutrals ---------- */
  --wyi-ink-950: #0B1020;
  --wyi-ink-900: #111934;
  --wyi-ink-700: #2B3553;
  --wyi-ink-500: #5A6583;
  --wyi-ink-400: #7F89A3;
  --wyi-ink-300: #B1B9CC;
  --wyi-ink-200: #D5DAE4;
  --wyi-ink-100: #E9ECF2;
  --wyi-ink-050: #F4F6FA;
  --wyi-ink-000: #FFFFFF;

  /* ---------- Semantic ---------- */
  --wyi-success-600: #10885A;
  --wyi-success-500: #16A070;
  --wyi-success-100: #DEF5EC;
  --wyi-warning-600: #B97803;
  --wyi-warning-500: #E8950D;
  --wyi-warning-100: #FBEFD3;
  --wyi-danger-600:  #C0362C;
  --wyi-danger-500:  #DE4A3F;
  --wyi-danger-100:  #FADCD9;
  --wyi-accent-500:  #F04E23;
  --wyi-accent-100:  #FFE3D8;

  /* ---------- Radii / shadows ---------- */
  --radius-xs: 4px;  --radius-sm: 6px;  --radius-md: 10px;
  --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(0,31,91,.06);
  --shadow-sm: 0 2px 6px rgba(0,31,91,.08);
  --shadow-md: 0 8px 20px -6px rgba(0,31,91,.14);
  --shadow-lg: 0 20px 40px -12px rgba(0,31,91,.22);
  --shadow-ring-brand: 0 0 0 4px rgba(37,96,160,.18);

  /* ---------- Type ---------- */
  --font-display: "Amiko", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.2,0.8,0.2,1);
  --ease-in-out: cubic-bezier(0.6,0,0.2,1);
  --dur-fast: 120ms; --dur-base: 200ms;

  font-family: var(--font-sans);
  color: var(--wyi-ink-900);
  background: var(--wyi-ink-050);
  -webkit-font-smoothing: antialiased;
}

/* Fundalul paginii de cart, dincolo de containerul propriu */
body.wyi-cart-page { background: var(--wyi-ink-050); }
#order-wyi_cart * { box-sizing: border-box; }
#order-wyi_cart a { color: var(--wyi-blue-500); text-decoration: none; }
#order-wyi_cart a:hover { color: var(--wyi-navy-900); text-decoration: underline; text-decoration-thickness: 2px; }
#order-wyi_cart input, #order-wyi_cart select, #order-wyi_cart textarea, #order-wyi_cart button { font-family: inherit; }

@keyframes wyiIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wyiPulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* =========================================================
   Layout — o singura coloana de continut + sumar sticky.
   Sidebar-ul de categorii al parintelui este eliminat.
   ========================================================= */
#order-wyi_cart .cart-sidebar,
#order-wyi_cart .sidebar-categories-collapsed,
#order-wyi_cart #sidebarCategoriesCollapsed { display: none !important; }

#order-wyi_cart .wyi-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#order-wyi_cart .wyi-grid {
  display: grid; grid-template-columns: minmax(0,1fr) 356px;
  gap: 24px; align-items: start;
}
#order-wyi_cart .wyi-grid.is-single { grid-template-columns: minmax(0,1fr); max-width: 820px; }
#order-wyi_cart .wyi-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px 0 40px; }
#order-wyi_cart .wyi-aside { min-width: 0; padding: 24px 0 40px; }
#order-wyi_cart .wyi-aside-inner { position: sticky; top: 68px; }

@media (max-width: 991px) {
  #order-wyi_cart .wyi-grid { grid-template-columns: minmax(0,1fr); }
  #order-wyi_cart .wyi-aside-inner { position: static; }
  #order-wyi_cart .wyi-shell { padding: 0 16px; }
}

/* =========================================================
   Header de pas (rail) + antet de pagina
   ========================================================= */
#order-wyi_cart .wyi-railbar { background: #fff; border-bottom: 1px solid var(--wyi-ink-100); margin-bottom: 0; }
#order-wyi_cart .wyi-rail { display: flex; gap: 6px; align-items: stretch; padding: 10px 0; overflow-x: auto; }
#order-wyi_cart .wyi-rail-step {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md);
  white-space: nowrap; border: none; background: transparent; color: var(--wyi-ink-400);
  text-decoration: none; cursor: default;
}
#order-wyi_cart a.wyi-rail-step { cursor: pointer; }
#order-wyi_cart a.wyi-rail-step:hover { text-decoration: none; background: var(--wyi-ink-050); }
#order-wyi_cart .wyi-rail-step.is-active { background: var(--wyi-blue-050); color: var(--wyi-blue-600); }
#order-wyi_cart .wyi-rail-step.is-done { color: var(--wyi-ink-700); }
#order-wyi_cart .wyi-rail-num {
  width: 24px; height: 24px; flex: none; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font: 700 12px/1 var(--font-display); background: var(--wyi-ink-100); color: var(--wyi-ink-400);
}
#order-wyi_cart .wyi-rail-step.is-active .wyi-rail-num { background: var(--wyi-blue-500); color: #fff; }
#order-wyi_cart .wyi-rail-step.is-done .wyi-rail-num { background: var(--wyi-success-100); color: var(--wyi-success-600); }
#order-wyi_cart .wyi-rail-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
#order-wyi_cart .wyi-rail-label { font: 600 13px/1.2 var(--font-sans); }
#order-wyi_cart .wyi-rail-hint { font: 400 11px/1.2 var(--font-sans); opacity: .72; }

#order-wyi_cart .wyi-eyebrow {
  font: 700 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--wyi-blue-500); margin-bottom: 8px;
}
#order-wyi_cart .wyi-page-title {
  font: 700 30px/1.15 var(--font-display); letter-spacing: -0.02em;
  color: var(--wyi-navy-950); margin: 0 0 6px;
}
#order-wyi_cart .wyi-page-lead {
  font: 400 15px/1.6 var(--font-sans); color: var(--wyi-ink-500); margin: 0; max-width: 62ch;
}
/* Titlul default al parintelui (.header-lined h1) nu mai e folosit */
#order-wyi_cart .header-lined { display: none; }

/* =========================================================
   Carduri
   ========================================================= */
#order-wyi_cart .wyi-card {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 20px;
}
#order-wyi_cart .wyi-card--flush { padding: 0; overflow: hidden; }
#order-wyi_cart .wyi-card--raised { box-shadow: var(--shadow-md); }
#order-wyi_cart .wyi-card h2 { font: 700 20px/1.2 var(--font-display); color: var(--wyi-navy-950); margin: 0; }
#order-wyi_cart .wyi-card h3 { font: 700 17px/1.2 var(--font-display); color: var(--wyi-navy-950); margin: 0 0 4px; }
#order-wyi_cart .wyi-card-note { font: 400 13.5px/1.55 var(--font-sans); color: var(--wyi-ink-500); margin: 0 0 14px; max-width: 70ch; }
#order-wyi_cart .wyi-card-head-num {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
#order-wyi_cart .wyi-step-badge {
  width: 26px; height: 26px; flex: none; border-radius: var(--radius-pill);
  background: var(--wyi-navy-900); color: #fff; font: 700 13px/1 var(--font-display);
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   Chip-uri / badge-uri
   ========================================================= */
#order-wyi_cart .wyi-chip {
  font: 600 11px/1 var(--font-sans); padding: 5px 9px; border-radius: var(--radius-pill);
  white-space: nowrap; display: inline-block;
}
#order-wyi_cart .wyi-chip--ok   { color: var(--wyi-success-600); background: var(--wyi-success-100); }
#order-wyi_cart .wyi-chip--info { color: var(--wyi-blue-600);    background: var(--wyi-blue-100); }
#order-wyi_cart .wyi-chip--warn { color: var(--wyi-warning-600); background: var(--wyi-warning-100); }
#order-wyi_cart .wyi-chip--mute { color: var(--wyi-ink-500);     background: var(--wyi-ink-050); }

#order-wyi_cart .wyi-spec {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12.5px/1 var(--font-mono); color: var(--wyi-ink-700);
  background: var(--wyi-ink-050); border: 1px solid var(--wyi-ink-100);
  border-radius: var(--radius-pill); padding: 8px 10px;
}

/* =========================================================
   Note contextuale (succes / atentie / info)
   ========================================================= */
#order-wyi_cart .wyi-note {
  display: flex; gap: 8px; align-items: flex-start; border-radius: var(--radius-md);
  padding: 11px 13px; font: 400 13px/1.5 var(--font-sans);
}
#order-wyi_cart .wyi-note--ok   { background: var(--wyi-success-100); color: var(--wyi-success-600); }
#order-wyi_cart .wyi-note--warn { background: var(--wyi-warning-100); color: var(--wyi-warning-600); }
#order-wyi_cart .wyi-note--info { background: var(--wyi-blue-050); border: 1px solid var(--wyi-blue-100); color: var(--wyi-ink-700); }
#order-wyi_cart .wyi-note-mark { font-weight: 700; flex: none; }

/* =========================================================
   Optiuni radio-card (ciclu, domeniu, plata)
   ========================================================= */
#order-wyi_cart .wyi-options { display: flex; flex-direction: column; gap: 8px; }
#order-wyi_cart .wyi-option {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 14px 16px; cursor: pointer; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--wyi-ink-200); margin: 0;
  transition: all var(--dur-fast) var(--ease-in-out);
}
#order-wyi_cart .wyi-option:hover { border-color: var(--wyi-blue-300); }
#order-wyi_cart .wyi-option.is-active,
#order-wyi_cart .wyi-option:has(input:checked) {
  background: var(--wyi-blue-050); border: 2px solid var(--wyi-blue-500);
  padding: 13px 15px; box-shadow: 0 0 0 4px rgba(37,96,160,.10);
}
#order-wyi_cart .wyi-option input[type="radio"],
#order-wyi_cart .wyi-option input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
#order-wyi_cart .wyi-dot {
  width: 18px; height: 18px; flex: none; border-radius: var(--radius-pill); display: block;
  border: 2px solid var(--wyi-ink-300); background: #fff;
}
#order-wyi_cart .wyi-option:has(input:checked) .wyi-dot { border: 6px solid var(--wyi-blue-500); }
#order-wyi_cart .wyi-option-body {
  display: flex; flex: 1; min-width: 0; flex-wrap: wrap; gap: 8px;
  align-items: baseline; justify-content: space-between;
}
#order-wyi_cart .wyi-option-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
#order-wyi_cart .wyi-option-title { font: 700 15px/1.2 var(--font-display); color: var(--wyi-navy-950); }
#order-wyi_cart .wyi-option-title--plain { font: 600 14.5px/1.2 var(--font-sans); color: var(--wyi-ink-900); }
#order-wyi_cart .wyi-option-note { font: 400 12.5px/1.4 var(--font-sans); color: var(--wyi-ink-500); text-align: left; }
#order-wyi_cart .wyi-option-price {
  font: 700 17px/1 var(--font-display); color: var(--wyi-navy-900);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* =========================================================
   Carduri de addon cu explicatii complete
   ========================================================= */
#order-wyi_cart .wyi-addons { display: flex; flex-direction: column; gap: 12px; }
#order-wyi_cart .wyi-addon {
  border: 1px solid var(--wyi-ink-100); background: #fff; border-radius: 12px; padding: 16px;
  transition: all var(--dur-fast) var(--ease-in-out); margin: 0; display: block; cursor: pointer;
}
#order-wyi_cart .wyi-addon:has(input:checked) {
  border: 2px solid var(--wyi-blue-500); background: var(--wyi-blue-050); padding: 15px;
}
#order-wyi_cart .wyi-addon-row { display: flex; gap: 12px; align-items: flex-start; }
#order-wyi_cart .wyi-addon input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
#order-wyi_cart .wyi-addon-box {
  width: 24px; height: 24px; flex: none; margin-top: 2px; border-radius: 6px;
  border: 2px solid var(--wyi-ink-300); background: #fff; color: #fff;
  font: 700 14px/1 var(--font-sans); display: flex; align-items: center; justify-content: center;
}
#order-wyi_cart .wyi-addon:has(input:checked) .wyi-addon-box {
  border: none; background: var(--wyi-blue-500);
}
#order-wyi_cart .wyi-addon-box::after { content: ""; }
#order-wyi_cart .wyi-addon:has(input:checked) .wyi-addon-box::after { content: "\2713"; }
#order-wyi_cart .wyi-addon-main { flex: 1; min-width: 0; }
#order-wyi_cart .wyi-addon-head {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: baseline;
}
#order-wyi_cart .wyi-addon-name { font: 700 15.5px/1.25 var(--font-display); color: var(--wyi-navy-950); }
#order-wyi_cart .wyi-addon-price {
  font: 700 16px/1 var(--font-display); color: var(--wyi-navy-900); font-variant-numeric: tabular-nums;
}
#order-wyi_cart .wyi-addon-per { font: 400 11.5px/1.3 var(--font-sans); color: var(--wyi-ink-400); }
#order-wyi_cart .wyi-addon-why { font: 400 13.5px/1.6 var(--font-sans); color: var(--wyi-ink-700); margin: 8px 0 0; }
#order-wyi_cart .wyi-addon-bullets {
  margin: 10px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 5px 16px;
}
#order-wyi_cart .wyi-addon-bullets li {
  display: flex; gap: 7px; align-items: flex-start;
  font: 400 13px/1.5 var(--font-sans); color: var(--wyi-ink-500);
}
#order-wyi_cart .wyi-addon-bullets li::before { content: "\2713"; color: var(--wyi-success-500); font-weight: 700; line-height: 1.5; }
#order-wyi_cart .wyi-addon-skip {
  margin-top: 10px; display: flex; gap: 8px; align-items: flex-start;
  border-top: 1px dashed var(--wyi-ink-200); padding-top: 10px;
}
#order-wyi_cart .wyi-addon-skip-label {
  font: 600 11px/1.5 var(--font-sans); color: var(--wyi-warning-600);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
#order-wyi_cart .wyi-addon-skip-text { font: 400 13px/1.5 var(--font-sans); color: var(--wyi-ink-500); }

/* =========================================================
   Campuri de formular
   ========================================================= */
#order-wyi_cart .wyi-fields {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px;
}
#order-wyi_cart .wyi-field { display: flex; flex-direction: column; gap: 6px; }
#order-wyi_cart .wyi-field-label { display: flex; align-items: center; gap: 6px; font: 600 13px/1.2 var(--font-sans); color: var(--wyi-ink-700); }
#order-wyi_cart .wyi-field-hint { font: 400 12px/1.45 var(--font-sans); color: var(--wyi-ink-400); }
#order-wyi_cart .wyi-field input[type="text"],
#order-wyi_cart .wyi-field input[type="tel"],
#order-wyi_cart .wyi-field input[type="email"],
#order-wyi_cart .wyi-field input[type="password"],
#order-wyi_cart .wyi-field input[type="number"],
#order-wyi_cart .wyi-field select,
#order-wyi_cart .wyi-field textarea,
#order-wyi_cart .form-control {
  font: 400 14px/1.35 var(--font-sans); padding: 11px 12px;
  border: 1px solid var(--wyi-ink-200); border-radius: var(--radius-md);
  background: #fff; color: var(--wyi-ink-900); width: 100%; height: auto; box-shadow: none;
}
#order-wyi_cart .form-control:focus,
#order-wyi_cart .wyi-field select:focus,
#order-wyi_cart .wyi-field input:focus {
  border-color: var(--wyi-blue-500); box-shadow: var(--shadow-ring-brand); outline: none;
}

/* =========================================================
   Butoane
   ========================================================= */
#order-wyi_cart .wyi-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--font-sans); border-radius: var(--radius-md);
  padding: 13px 18px; cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: all var(--dur-fast) var(--ease-in-out);
}
#order-wyi_cart .wyi-btn--primary {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: #fff; background: var(--wyi-blue-500); border-color: var(--wyi-blue-500);
  box-shadow: 0 8px 20px -6px rgba(0,31,91,.24);
}
#order-wyi_cart .wyi-btn--primary:hover { background: var(--wyi-blue-600); color: #fff; text-decoration: none; }
#order-wyi_cart .wyi-btn--soft {
  color: var(--wyi-blue-500); background: var(--wyi-blue-050); border-color: var(--wyi-blue-100);
}
#order-wyi_cart .wyi-btn--soft:hover { background: var(--wyi-blue-100); color: var(--wyi-navy-900); text-decoration: none; }
#order-wyi_cart .wyi-btn--ghost { color: var(--wyi-ink-700); background: #fff; border-color: var(--wyi-ink-200); }
#order-wyi_cart .wyi-btn--block { width: 100%; }
#order-wyi_cart .wyi-btn--lg { font-size: 16px; padding: 17px 20px; }
#order-wyi_cart .wyi-btn[disabled], #order-wyi_cart .wyi-btn.disabled { opacity: .5; pointer-events: none; }

#order-wyi_cart .wyi-link-action {
  font: 600 12.5px/1 var(--font-sans); color: var(--wyi-blue-500);
  background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline;
}
#order-wyi_cart .wyi-link-danger { color: var(--wyi-danger-600); }

/* =========================================================
   Tooltip (i)
   ========================================================= */
#order-wyi_cart .wyi-tip {
  width: 16px; height: 16px; flex: none; border-radius: var(--radius-pill); border: none;
  background: var(--wyi-blue-100); color: var(--wyi-blue-600);
  font: 700 11px/1 var(--font-sans); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
#order-wyi_cart .wyi-tip--lg { width: 18px; height: 18px; font-size: 12px; }
.wyi-tip-pop {
  position: fixed; z-index: 1200; width: min(320px, calc(100vw - 32px));
  background: #fff; border: 1px solid #D5DAE4; border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0,31,91,.32); padding: 14px 16px;
  animation: wyiIn 200ms cubic-bezier(0.2,0.8,0.2,1);
}
.wyi-tip-pop-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 6px; }
.wyi-tip-pop-title { font: 700 13.5px/1.3 "Amiko", system-ui, sans-serif; color: #00133D; }
.wyi-tip-pop-close { background: none; border: none; color: #7F89A3; font: 600 14px/1 "Inter", system-ui, sans-serif; cursor: pointer; padding: 0; }
.wyi-tip-pop-body { font: 400 13px/1.6 "Inter", system-ui, sans-serif; color: #2B3553; margin: 0; }

/* =========================================================
   Bara de ajutor + FAQ
   ========================================================= */
#order-wyi_cart .wyi-help {
  background: var(--wyi-navy-900); border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
#order-wyi_cart .wyi-help-copy { min-width: 0; max-width: 46ch; }
#order-wyi_cart .wyi-help-title { font: 700 16px/1.3 var(--font-display); color: #fff; margin-bottom: 4px; }
#order-wyi_cart .wyi-help-body { font: 400 13.5px/1.55 var(--font-sans); color: var(--wyi-blue-200); }
#order-wyi_cart .wyi-help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#order-wyi_cart .wyi-help .wyi-btn--onnavy { color: var(--wyi-navy-900); background: #fff; border-color: #fff; }
#order-wyi_cart .wyi-help .wyi-btn--onnavy:hover { background: var(--wyi-blue-050); color: var(--wyi-navy-900); text-decoration: none; }
#order-wyi_cart .wyi-help .wyi-btn--onnavy-ghost { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
#order-wyi_cart .wyi-help .wyi-btn--onnavy-ghost:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }

#order-wyi_cart .wyi-faq { background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg); padding: 6px 20px; }
#order-wyi_cart .wyi-faq-title {
  font: 700 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--wyi-ink-400); padding: 16px 0 6px;
}
#order-wyi_cart .wyi-faq-item { border-top: 1px solid var(--wyi-ink-100); }
#order-wyi_cart .wyi-faq-q {
  width: 100%; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 15px 0; cursor: pointer; text-align: left;
  font: 600 14px/1.45 var(--font-sans); color: var(--wyi-ink-900);
}
#order-wyi_cart .wyi-faq-icon {
  font: 400 20px/1 var(--font-sans); color: var(--wyi-blue-500); flex: none;
  transition: transform var(--dur-base) var(--ease-out);
}
#order-wyi_cart .wyi-faq-item.is-open .wyi-faq-icon { transform: rotate(45deg); }
#order-wyi_cart .wyi-faq-a {
  font: 400 13.5px/1.65 var(--font-sans); color: var(--wyi-ink-500);
  margin: 0; padding: 0 0 16px; max-width: 70ch; display: none;
}
#order-wyi_cart .wyi-faq-item.is-open .wyi-faq-a { display: block; }

/* =========================================================
   Sumar comanda (coloana dreapta)
   ========================================================= */
#order-wyi_cart .wyi-summary {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
#order-wyi_cart .wyi-summary-head {
  padding: 16px 18px; border-bottom: 1px solid var(--wyi-ink-100);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
#order-wyi_cart .wyi-summary-head h2 { font: 700 15px/1.2 var(--font-display); color: var(--wyi-navy-950); margin: 0; }
#order-wyi_cart .wyi-summary-body { padding: 14px 18px; display: flex; flex-direction: column; gap: 11px; }
#order-wyi_cart .wyi-summary-body .clearfix,
#order-wyi_cart .wyi-summary-body > div { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
#order-wyi_cart .wyi-summary-body .product-name {
  display: block; font: 700 14px/1.3 var(--font-display); color: var(--wyi-navy-950);
}
#order-wyi_cart .wyi-summary-body .product-group {
  display: block; font: 400 11.5px/1.4 var(--font-sans); color: var(--wyi-ink-400); margin-top: -6px;
}
#order-wyi_cart .wyi-summary-body span.pull-left,
#order-wyi_cart .wyi-summary-body span.float-left { font: 500 13.5px/1.35 var(--font-sans); color: var(--wyi-ink-700); }
#order-wyi_cart .wyi-summary-body span.pull-right,
#order-wyi_cart .wyi-summary-body span.float-right {
  font: 600 13.5px/1.35 var(--font-sans); color: var(--wyi-ink-900);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
#order-wyi_cart .wyi-summary-totals {
  padding: 14px 18px; border-top: 1px solid var(--wyi-ink-100);
  background: var(--wyi-ink-050); display: flex; flex-direction: column; gap: 9px;
}
#order-wyi_cart .wyi-summary-totals .summary-totals { display: contents; }
#order-wyi_cart .wyi-total-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
#order-wyi_cart .wyi-total-label { display: flex; align-items: center; gap: 6px; font: 400 13px/1.4 var(--font-sans); color: var(--wyi-ink-500); }
#order-wyi_cart .wyi-total-val { font: 500 13px/1.4 var(--font-sans); color: var(--wyi-ink-700); font-variant-numeric: tabular-nums; }
#order-wyi_cart .wyi-total-due {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  border-top: 1px solid var(--wyi-ink-200); padding-top: 10px;
}
#order-wyi_cart .wyi-total-due-label { font: 700 14px/1.2 var(--font-display); color: var(--wyi-navy-950); }
#order-wyi_cart .wyi-total-due-amt {
  font: 700 22px/1 var(--font-display); color: var(--wyi-navy-900); font-variant-numeric: tabular-nums;
}
#order-wyi_cart .wyi-renew-note { display: flex; gap: 6px; align-items: flex-start; font: 400 11.5px/1.5 var(--font-sans); color: var(--wyi-ink-400); }
#order-wyi_cart .wyi-summary-cta { padding: 14px 18px; border-top: 1px solid var(--wyi-ink-100); }
#order-wyi_cart .wyi-trust { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
#order-wyi_cart .wyi-trust-item { display: flex; gap: 8px; align-items: flex-start; font: 400 12.5px/1.5 var(--font-sans); color: var(--wyi-ink-500); }
#order-wyi_cart .wyi-trust-item::before { content: "\2713"; color: var(--wyi-success-500); font-weight: 700; }
#order-wyi_cart .wyi-reassure {
  margin-top: 12px; background: var(--wyi-blue-050); border: 1px solid var(--wyi-blue-100);
  border-radius: var(--radius-lg); padding: 14px 16px;
}
#order-wyi_cart .wyi-reassure-title { font: 600 13px/1.35 var(--font-sans); color: var(--wyi-navy-950); margin-bottom: 4px; }
#order-wyi_cart .wyi-reassure-body { font: 400 12.5px/1.55 var(--font-sans); color: var(--wyi-ink-700); margin-bottom: 10px; }

/* Loader-ul de sumar al parintelui */
#order-wyi_cart #orderSummaryLoader { color: var(--wyi-blue-500); text-align: center; padding: 8px 0; }

/* =========================================================
   Linii de cos
   ========================================================= */
#order-wyi_cart .wyi-lines { background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
#order-wyi_cart .wyi-line {
  display: flex; gap: 16px; justify-content: space-between; align-items: flex-start;
  padding: 16px 20px; border-top: 1px solid var(--wyi-ink-100);
}
#order-wyi_cart .wyi-line:first-child { border-top: none; }
#order-wyi_cart .wyi-line-main { flex: 1; min-width: 0; }
#order-wyi_cart .wyi-line-name { font: 700 15.5px/1.2 var(--font-display); color: var(--wyi-navy-950); }
#order-wyi_cart .wyi-line-detail { font: 400 13px/1.5 var(--font-sans); color: var(--wyi-ink-500); margin-top: 4px; }
#order-wyi_cart .wyi-line-actions { display: flex; gap: 12px; margin-top: 8px; }
#order-wyi_cart .wyi-line-price-wrap { text-align: right; white-space: nowrap; }
#order-wyi_cart .wyi-line-price { font: 700 16px/1 var(--font-display); color: var(--wyi-navy-900); font-variant-numeric: tabular-nums; }
#order-wyi_cart .wyi-line-per { font: 400 11.5px/1.4 var(--font-sans); color: var(--wyi-ink-400); }
#order-wyi_cart .wyi-empty-cart { padding: 36px 24px; text-align: center; }

/* =========================================================
   Cod promotional
   ========================================================= */
#order-wyi_cart .wyi-promo {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  padding: 18px 20px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
#order-wyi_cart .wyi-promo-label { font: 600 13.5px/1 var(--font-sans); color: var(--wyi-ink-700); margin-right: 4px; }
#order-wyi_cart .wyi-promo input { flex: 1; min-width: 160px; }

/* =========================================================
   Confirmare (complete.tpl)
   ========================================================= */
#order-wyi_cart .wyi-confirm-hero { text-align: center; padding: 28px 24px; }
#order-wyi_cart .wyi-confirm-mark {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: var(--radius-pill);
  background: var(--wyi-success-100); color: var(--wyi-success-600);
  font: 700 24px/1 var(--font-sans); display: flex; align-items: center; justify-content: center;
}
#order-wyi_cart .wyi-confirm-mark--neutral { background: var(--wyi-ink-050); border: 1px solid var(--wyi-ink-100); color: var(--wyi-ink-400); font-size: 20px; }
#order-wyi_cart .wyi-confirm-title { font: 700 27px/1.2 var(--font-display); color: var(--wyi-navy-950); margin: 0 0 8px; letter-spacing: -0.02em; }
#order-wyi_cart .wyi-confirm-lead { font: 400 15px/1.6 var(--font-sans); color: var(--wyi-ink-500); margin: 0 auto; max-width: 52ch; }
#order-wyi_cart .wyi-timeline { display: flex; flex-direction: column; gap: 2px; }
#order-wyi_cart .wyi-tl-item { display: flex; gap: 14px; align-items: stretch; }
#order-wyi_cart .wyi-tl-gutter { display: flex; flex-direction: column; align-items: center; width: 26px; flex: none; }
#order-wyi_cart .wyi-tl-dot {
  width: 26px; height: 26px; flex: none; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--wyi-ink-050); border: 1px solid var(--wyi-ink-200);
  color: var(--wyi-ink-400); font: 700 12px/1 var(--font-sans);
}
#order-wyi_cart .wyi-tl-item.is-done .wyi-tl-dot { background: var(--wyi-success-100); border-color: var(--wyi-success-500); color: var(--wyi-success-600); }
#order-wyi_cart .wyi-tl-line { flex: 1; width: 2px; background: var(--wyi-ink-100); }
#order-wyi_cart .wyi-tl-body { padding-bottom: 16px; min-width: 0; }
#order-wyi_cart .wyi-tl-title { font: 600 14.5px/1.3 var(--font-sans); color: var(--wyi-ink-900); }
#order-wyi_cart .wyi-tl-text { font: 400 13px/1.55 var(--font-sans); color: var(--wyi-ink-500); margin: 4px 0 0; }
#order-wyi_cart .wyi-cards-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
#order-wyi_cart .wyi-route-card {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 5px; text-decoration: none;
}
#order-wyi_cart .wyi-route-card:hover { text-decoration: none; border-color: var(--wyi-blue-300); box-shadow: var(--shadow-sm); }
#order-wyi_cart .wyi-route-title { font: 700 14.5px/1.2 var(--font-display); color: var(--wyi-navy-950); }
#order-wyi_cart .wyi-route-body { font: 400 13px/1.5 var(--font-sans); color: var(--wyi-ink-500); }

/* =========================================================
   Footer legal
   ========================================================= */
#order-wyi_cart .wyi-footer { background: var(--wyi-navy-950); margin-top: 8px; }
#order-wyi_cart .wyi-footer-inner {
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
}
#order-wyi_cart .wyi-footer-legal { font: 400 12px/1.5 var(--font-sans); color: var(--wyi-blue-300); }
#order-wyi_cart .wyi-footer-links { display: flex; gap: 14px; flex-wrap: wrap; font: 400 12px/1.5 var(--font-sans); }
#order-wyi_cart .wyi-footer-links a { color: var(--wyi-blue-200); }
#order-wyi_cart .wyi-footer-links a:hover { color: #fff; }

/* =========================================================
   Restilizarea checkout.tpl mostenit de la standard_cart.
   Markup-ul parintelui ramane NEATINS (logica de plata), doar
   aspectul este adus la designul WYI prin clase existente.
   ========================================================= */
#order-wyi_cart #frmCheckout > .checkout-section,
#order-wyi_cart #containerExistingUserSignin,
#order-wyi_cart #containerNewUserSignup,
#order-wyi_cart #containerNewUserSecurity,
#order-wyi_cart #containerExistingAccountSelect,
#order-wyi_cart #paymentGatewaysContainer,
#order-wyi_cart #applyCreditContainer {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 16px;
}
#order-wyi_cart .checkout-section-header,
#order-wyi_cart #frmCheckout h2,
#order-wyi_cart #frmCheckout h3 {
  font: 700 17px/1.2 var(--font-display); color: var(--wyi-navy-950); margin: 0 0 12px;
}
#order-wyi_cart #paymentGatewaysContainer .checkout-payment-method,
#order-wyi_cart #paymentGatewaysContainer label {
  display: flex; gap: 12px; align-items: center; width: 100%;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--wyi-ink-200); margin: 0 0 8px;
  font: 600 14.5px/1.2 var(--font-sans); color: var(--wyi-ink-900); cursor: pointer;
}
#order-wyi_cart #paymentGatewaysContainer label:has(input:checked) {
  background: var(--wyi-blue-050); border: 2px solid var(--wyi-blue-500);
  padding: 13px 15px; box-shadow: 0 0 0 4px rgba(37,96,160,.10);
}
#order-wyi_cart #totalDueToday {
  background: var(--wyi-blue-050); border: 1px solid var(--wyi-blue-100); color: var(--wyi-navy-950);
  border-radius: var(--radius-lg); padding: 16px 18px; text-align: center;
  font: 400 14px/1.4 var(--font-sans);
}
#order-wyi_cart #totalDueToday #totalCartPrice {
  font: 700 22px/1 var(--font-display); color: var(--wyi-navy-900); font-variant-numeric: tabular-nums;
}
#order-wyi_cart #btnCompleteOrder {
  width: 100%; font: 700 16px/1 var(--font-display); color: #fff;
  background: var(--wyi-blue-500); border: none; border-radius: var(--radius-md);
  padding: 17px 20px; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0,31,91,.24);
}
#order-wyi_cart #btnCompleteOrder:hover { background: var(--wyi-blue-600); }
#order-wyi_cart .accepttos-container,
#order-wyi_cart #frmCheckout .checkout-terms {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 16px;
}

/* Alerte standard WHMCS aduse la paleta WYI */
#order-wyi_cart .alert { border-radius: var(--radius-md); font: 400 13.5px/1.55 var(--font-sans); border-width: 1px; }
#order-wyi_cart .alert-success { background: var(--wyi-success-100); border-color: var(--wyi-success-500); color: var(--wyi-success-600); }
#order-wyi_cart .alert-warning { background: var(--wyi-warning-100); border-color: var(--wyi-warning-500); color: var(--wyi-warning-600); }
#order-wyi_cart .alert-danger  { background: var(--wyi-danger-100);  border-color: var(--wyi-danger-500);  color: var(--wyi-danger-600); }
#order-wyi_cart .alert-info    { background: var(--wyi-blue-050);    border-color: var(--wyi-blue-100);    color: var(--wyi-ink-700); }

@media (max-width: 575px) {
  #order-wyi_cart .wyi-page-title { font-size: 25px; }
  #order-wyi_cart .wyi-card { padding: 16px; }
  #order-wyi_cart .wyi-line { padding: 14px 16px; }
  #order-wyi_cart .wyi-help { padding: 16px; }
  /* Sumarul devine bara fixa jos, conform designului la 390px */
  #order-wyi_cart .wyi-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: #fff; border-top: 1px solid var(--wyi-ink-200);
    box-shadow: 0 -8px 20px -6px rgba(0,31,91,.14);
    padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  }
  #order-wyi_cart .wyi-sticky-cta .wyi-total-due-amt { font-size: 18px; }
  #order-wyi_cart .wyi-sticky-cta .wyi-btn { flex: none; }
  #order-wyi_cart .wyi-main { padding-bottom: 96px; }
}
@media (min-width: 576px) { #order-wyi_cart .wyi-sticky-cta { display: none; } }

/* =========================================================
   Corectii dupa verificarea vizuala (desktop + 390px)
   ========================================================= */

/* Linia „Atasam automat configuratia din cos" statea sub bara de ajutor. */
#order-wyi_cart .wyi-help-context {
  margin: 0;
  font: 400 12px/1.5 var(--font-sans);
  color: var(--wyi-ink-400);
}

/* Nimic din order form nu trebuie sa iasa lateral pe mobil. Blocurile
   vendor (promo MarketConnect) vin cu grile Bootstrap si tabele proprii;
   le tinem in interiorul containerului si le lasam sa scroll-eze singure. */
#order-wyi_cart, #order-wyi_cart .wyi-shell, #order-wyi_cart .wyi-grid,
#order-wyi_cart .wyi-main, #order-wyi_cart .wyi-aside { max-width: 100%; min-width: 0; }
#order-wyi_cart img { max-width: 100%; height: auto; }
#order-wyi_cart .addon-promo-container,
#order-wyi_cart .marketconnect-promo,
#order-wyi_cart pre,
#order-wyi_cart table { max-width: 100%; overflow-x: auto; }
#order-wyi_cart .addon-promo-container .row { margin-left: 0; margin-right: 0; }
#order-wyi_cart .wyi-addon-why,
#order-wyi_cart .wyi-line-detail,
#order-wyi_cart .wyi-help-context { overflow-wrap: anywhere; }

@media (max-width: 575px) {
  #order-wyi_cart .wyi-summary-body span.pull-right,
  #order-wyi_cart .wyi-summary-body span.float-right { white-space: normal; }
}

/* Sumarul de la pasul 1 vine prin AJAX cu markup Bootstrap (.summary-totals >
   .clearfix cu pull-left/pull-right). Il aducem pe acelasi layout flex ca
   restul sumarului, altfel floaturile ies cativa px in afara la 390px. */
#order-wyi_cart .wyi-summary-body .summary-totals {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--wyi-ink-100);
}
#order-wyi_cart .wyi-summary-body .summary-totals .clearfix {
  display: flex; gap: 12px; justify-content: space-between; align-items: baseline;
  max-width: 100%; min-width: 0;
}
#order-wyi_cart .wyi-summary-body .summary-totals .clearfix > span { float: none; min-width: 0; }

/* Pasul 4 mosteneste markup-ul parintelui, inclusiv #order-standard_cart.
   Layout-ul lui (sidebar + doua coloane) se aduce pe shell-ul WYI. */
#order-wyi_cart.wyi-checkout-wrap #order-standard_cart { max-width: 1200px; margin: 0 auto; padding: 24px; }
#order-wyi_cart.wyi-checkout-wrap .cart-body { width: 100%; }
@media (max-width: 575px) { #order-wyi_cart.wyi-checkout-wrap #order-standard_cart { padding: 16px; } }

/* Blocul promo MarketConnect (SSL/Weebly) vine ca HTML de la modul, cu grile
   Bootstrap si un carusel propriu. Il inchidem intr-un card WYI ca sa nu apara
   ca o insula nestilizata in mijlocul pasului. */
#order-wyi_cart .marketconnect-promo,
#order-wyi_cart .addon-promo-container {
  background: #fff; border: 1px solid var(--wyi-ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 16px 18px;
}
#order-wyi_cart .marketconnect-promo h2,
#order-wyi_cart .marketconnect-promo h3,
#order-wyi_cart .addon-promo-container h3 {
  font: 700 16px/1.25 var(--font-display); color: var(--wyi-navy-950); margin: 0 0 6px;
}
#order-wyi_cart .marketconnect-promo p,
#order-wyi_cart .addon-promo-container p {
  font: 400 13.5px/1.6 var(--font-sans); color: var(--wyi-ink-500); margin: 0;
}
#order-wyi_cart .marketconnect-promo img,
#order-wyi_cart .addon-promo-container .logo img { max-width: 64px; height: auto; }
#order-wyi_cart .marketconnect-promo .btn,
#order-wyi_cart .addon-promo-container .btn {
  font: 600 13px/1 var(--font-sans); border-radius: var(--radius-md); padding: 11px 14px;
}
#order-wyi_cart .addon-promo-container .description { display: flex; gap: 14px; align-items: flex-start; }
#order-wyi_cart .addon-promo-container label.radio-inline {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font: 400 13.5px/1.5 var(--font-sans); color: var(--wyi-ink-700);
  padding: 9px 0; border-top: 1px solid var(--wyi-ink-100); margin: 0; width: 100%;
}

/* Cardul rezultatelor de domeniu e gol pana la prima cautare (#DomainSearchResults
   are .w-hidden). Nu desenam un card alb gol in mijlocul pasului. */
#order-wyi_cart .wyi-domain-results:has(> form > #DomainSearchResults.w-hidden) {
  background: none; border: none; box-shadow: none; padding: 0;
}

/* =========================================================
   K#8766 (2026-09-15) — campuri vizibile + sumar mobil tip bottom sheet
   ========================================================= */

/* Tema (wyi-edge.css) pune pe .form-control `border: 0 !important` si deseneaza
   conturul din box-shadow; aici box-shadow e anulat, deci campurile (ex. „Estimare
   taxe") ramaneau alb pe alb. Selectorii de mai jos sunt mai specifici decat tema. */
#order-wyi_cart .wyi-field input[type="text"],
#order-wyi_cart .wyi-field input[type="tel"],
#order-wyi_cart .wyi-field input[type="email"],
#order-wyi_cart .wyi-field input[type="password"],
#order-wyi_cart .wyi-field input[type="number"],
#order-wyi_cart .wyi-field select,
#order-wyi_cart .wyi-field textarea,
#order-wyi_cart .wyi-field .form-control {
  border: 1px solid var(--wyi-ink-300, #b9c1d0) !important;
  background-color: #fff;
}
#order-wyi_cart .wyi-field input:focus,
#order-wyi_cart .wyi-field select:focus,
#order-wyi_cart .wyi-field textarea:focus,
#order-wyi_cart .wyi-field .form-control:focus {
  border-color: var(--wyi-blue-500, #2560a0) !important;
}

/* Sumar comanda pe mobil: bara fixa jos, compacta (total + buton), extensibila
   prin drag in sus / tap sau automat la baza paginii. Starea o gestioneaza
   js/wyi-sheet.js prin clasele .wyi-sheet si .is-open. */
.wyi-sheet-handle, .wyi-sheet-peek, .wyi-sheet-chev { display: none; }
@media (max-width: 991px) {
  #order-wyi_cart .wyi-sticky-cta { display: none !important; }
  #order-wyi_cart #orderSummary.wyi-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
    margin: 0; border-radius: 16px 16px 0 0; border-bottom: 0;
    box-shadow: 0 -12px 32px -10px rgba(0, 31, 91, .28);
    display: flex; flex-direction: column; max-height: 85vh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-sheet-handle {
    display: flex; justify-content: center; align-items: center;
    width: 100%; padding: 8px 0 4px; margin: 0; border: 0; background: transparent;
    cursor: grab; touch-action: none;
  }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-sheet-handle::before {
    content: ""; width: 42px; height: 5px; border-radius: 3px; background: var(--wyi-ink-300, #b9c1d0);
  }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-summary-head {
    padding: 2px 16px 10px; border-bottom: 0; cursor: pointer; touch-action: none; flex: none;
  }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-summary-head .wyi-chip { display: none; }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-sheet-peek {
    display: block; margin-left: auto;
    font: 700 18px/1 var(--font-display); color: var(--wyi-navy-900); font-variant-numeric: tabular-nums;
  }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-sheet-chev {
    display: block; width: 9px; height: 9px; flex: none; margin-left: 4px;
    border-right: 2px solid var(--wyi-ink-500); border-top: 2px solid var(--wyi-ink-500);
    transform: rotate(-45deg) translateY(2px); transition: transform .2s ease;
  }
  #order-wyi_cart #orderSummary.wyi-sheet.is-open .wyi-sheet-chev { transform: rotate(135deg) translateY(2px); }
  #order-wyi_cart #orderSummary.wyi-sheet .wyi-summary-cta { padding: 10px 16px 12px; flex: none; }
  #order-wyi_cart #orderSummary.wyi-sheet:not(.is-open) .wyi-summary-body,
  #order-wyi_cart #orderSummary.wyi-sheet:not(.is-open) .wyi-summary-totals,
  #order-wyi_cart #orderSummary.wyi-sheet:not(.is-open) .wyi-summary-cta > :not(.wyi-btn--primary) { display: none !important; }
  #order-wyi_cart #orderSummary.wyi-sheet.is-open .wyi-summary-body,
  #order-wyi_cart #orderSummary.wyi-sheet.is-open .wyi-summary-totals { overflow-y: auto; min-height: 0; flex: 1 1 auto; }
  #order-wyi_cart #orderSummary.wyi-sheet.is-open .wyi-summary-head { border-bottom: 1px solid var(--wyi-ink-100); }
  #order-wyi_cart #orderSummary.wyi-sheet.is-open .wyi-sheet-peek { display: none; }
  /* Loader-ul WHMCS e ascuns doar inline, dupa .hide(); in sheet ramanea vizibil. Il aratam doar cand WHMCS il afiseaza explicit. */
  #order-wyi_cart #orderSummary.wyi-sheet .loader:not([style*="block"]) { display: none !important; }
  body.wyi-has-sheet { padding-bottom: var(--wyi-sheet-h, 0px); }
}
