#order-thehost_cart .cart-row {
  display: flex;
  flex-wrap: nowrap;
}

#order-thehost_cart .cart-sidebar {
  width: 20%;
  padding-inline-start: 15px;
  padding-inline-end: 15px;
}
@media (max-width: 1199.98px) {
  #order-thehost_cart .cart-sidebar {
    display: none !important;
  }
}
#order-thehost_cart .cart-body {
  width: 80%;
  padding-inline-start: 15px;
  padding-inline-end: 15px;
  transition: all 0.3s ease;
}
@media (max-width: 1199.98px) {
  #order-thehost_cart .cart-body {
    width: 100%;
  }
}
/* --------------------------------- */

/* : Standard Cart : */
.standard-card {
  background: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
/* popular / user-selected highlight */
.standard-card { cursor: pointer; }
.standard-card.popular::before,
.standard-card.selected::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: var(--radius-md);
  background: var(--linear-gradient);
  background-size: 400% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: gradient-animation 12s ease infinite;
}
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* standard-card-header */
.standard-card .standard-card-header {
  border-bottom: 1px solid var(--border);
}

/* fea-item */
.standard-card .fea-item {
  column-gap: 10px;
}
.standard-card .fea-item .icon {
  width: var(--space-6);
  fill: var(--accent);
}

/* standard-card-footer */
.standard-card .standard-card-footer {
  border-top: 1px solid var(--border);
}
@media (max-width: 991.98px) {
  .standard-card .standard-card-footer a {
    width: 100%;
  }
}
/* --------------------------------- */

/* : Order Summary : */
#order-thehost_cart .order-summary {
  margin: 0 0 20px 0;
  padding: 1.5rem;
  background-color: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--theme-radius);
  overflow: hidden;
}

/* order-summary-title */
#order-thehost_cart .order-summary .order-summary-title {
  font-size: var(--text-xl);
  font-weight: bold;
  margin-bottom: 2rem;
}

/* summary-container */
#order-thehost_cart .summary-container {
  margin: 0;
  min-height: 100px;
}

/* bordered-totals */
#order-thehost_cart .order-summary .bordered-totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
#order-thehost_cart .order-summary .bordered-totals:first-child {
  padding-top: 0;
}
#order-thehost_cart .order-summary .bordered-totals-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
}
#order-thehost_cart .order-summary .bordered-totals-title .title-span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
}
#order-thehost_cart .order-summary .bordered-totals-title .title-price {
  font-weight: 600;
}

/* tooltip-icon */
#order-thehost_cart .order-summary .bordered-totals-title .tooltip-icon {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  transition: all 0.15s var(--transition-function-1);
}
#order-thehost_cart .order-summary .bordered-totals-title .tooltip-icon:hover {
  opacity: 0.8;
}

/* bordered-totals-item */
#order-thehost_cart .order-summary .bordered-totals-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#order-thehost_cart .order-summary .bordered-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 1rem;
}
#order-thehost_cart .order-summary .bordered-totals-item .text-left {
  font-size: var(--text-sm);
  margin-top: 2px;
}
#order-thehost_cart .order-summary .bordered-totals-item .text-right {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  column-gap: 0.5rem;
  line-height: 1.6;
  font-size: var(--text-sm);
  color: var(--foreground);
  font-weight: 600;
}
#order-thehost_cart .order-summary .bordered-totals-item .old-price {
  text-decoration: line-through;
  opacity: 0.5;
}
#order-thehost_cart .order-summary .bordered-totals-item .period {
  font-size: 0.9em;
}

/* titles-group */
#order-thehost_cart .order-summary .titles-group {
  margin-bottom: 0.5rem;
}
#order-thehost_cart .order-summary .product-name {
  display: block;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--foreground);
}
#order-thehost_cart .order-summary .product-group {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}
#order-thehost_cart .order-summary .summary-totals {
  margin: 5px 0;
  padding: 5px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#order-thehost_cart .order-summary .total-due-today span {
  display: block;
  text-align: right;
}
#order-thehost_cart .order-summary .total-due-today .amt {
  font-size: var(--text-2xl);
  color: var(--foreground);
  font-weight: 600;
}

/* loader */
#order-thehost_cart .order-summary .loader {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.5rem;
  padding-inline-end: 10px;
  text-align: right;
}

#order-thehost_cart .order-summary .total {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  margin-bottom: 1rem;
  gap: 1rem;
}
#order-thehost_cart .order-summary .total > div {
  display: flex;
  justify-content: space-between;
}
#order-thehost_cart .order-summary .total > div > span {
  display: flex;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--foreground);
  column-gap: 0.5rem;
}
#order-thehost_cart .order-summary .total .total-price {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--foreground);
}
#order-thehost_cart .order-summary .total span .old-price {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 0.7em;
}
/* --------------------------------- */

/* : Product Card & Title : */

/* reset style.css legacy white background */
#order-thehost_cart .view-cart-items {
  margin: 0 0 1.25rem;
  border-bottom: none;
}

#order-thehost_cart .view-cart-items .item {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

#order-thehost_cart .view-cart-items .item:nth-child(even) {
  background: var(--card);
}

#order-thehost_cart .view-cart-items .item span:not(.caret):not(.renewal-price) {
  display: revert;
}

/* product title row */
#order-thehost_cart .view-cart-items .item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}

/* group name badge */
.item-title .item-name {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: .25rem .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill, 9999px);
  background: color-mix(in srgb, var(--foreground), transparent 94%);
  margin-left: auto;
  white-space: nowrap;
}

/* billing cycle section label — match sub-heading style */
.item-content > .form-group > .form-label {
  display: inline-flex;
  align-items: center;
  padding-left: .75rem;
  margin-bottom: .75rem;
  border-left: 3px solid var(--primary, #6366f1);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
/* --------------------------------- */

/* : Product Description Feature List : */
.item-description {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  background: color-mix(in srgb, var(--foreground), transparent 97%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.desc-feat {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--text-sm);
  color: var(--foreground);
  line-height: 1.5;
}

.desc-feat::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary, #6366f1);
  opacity: .5;
}

.desc-feat a {
  color: #3bc9db;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* --------------------------------- */

/* : Configurable Options : */

/* ── section heading (override style.css #order-thehost_cart .sub-heading) ── */
#order-thehost_cart .sub-heading {
  height: auto;
  border-top: none;
  border-left: 3px solid #3bc9db;
  text-align: left;
  display: flex;
  align-items: center;
  padding: .55rem 0 .55rem .85rem;
  margin: 1.5rem 0 1rem;
}

#order-thehost_cart .sub-heading span,
#order-thehost_cart .sub-heading .primary-bg-color {
  display: inline;
  position: static;
  top: auto;
  padding: 0;
  font-size: var(--text-sm, .875rem);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--foreground, #e2e8f0);
  background: none;
}

/* ── form label ── */
.product-configurable-options .form-label {
  display: block;
  font-size: var(--text-xs, .75rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  margin-bottom: .6rem;
}

/* ── type 1: select ── */
.product-configurable-options select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
  background-color: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font-size: var(--text-sm);
  height: 40px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.product-configurable-options select.form-control:focus {
  outline: none;
  border-color: #3bc9db;
  box-shadow: 0 0 0 3px color-mix(in srgb, #3bc9db, transparent 80%);
}

/* ── type 2: radio → selection tiles ── */
.config-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.config-radio-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem .45rem .7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}

/* left accent bar — hidden by default, slides in on select */
.config-radio-option::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3bc9db;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}

.config-radio-option input[type=radio] {
  display: none;
}

/* pip — small dot indicator */
.config-radio-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.config-radio-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color .2s ease;
}

/* hover */
.config-radio-option:hover {
  border-color: color-mix(in srgb, #3bc9db, transparent 55%);
  background: color-mix(in srgb, #3bc9db, transparent 96%);
}

.config-radio-option:hover .config-radio-label {
  color: var(--foreground);
}

.config-radio-option:hover .config-radio-pip {
  border-color: #3bc9db;
}

/* checked — CSS :has() handles it natively */
.config-radio-option:has(input[type=radio]:checked) {
  border-color: #3bc9db;
  background: color-mix(in srgb, #3bc9db, transparent 92%);
}

.config-radio-option:has(input[type=radio]:checked)::after {
  transform: scaleY(1);
}

.config-radio-option:has(input[type=radio]:checked) .config-radio-pip {
  border-color: #3bc9db;
  background: #3bc9db;
  box-shadow: 0 0 6px color-mix(in srgb, #3bc9db, transparent 40%);
}

.config-radio-option:has(input[type=radio]:checked) .config-radio-label {
  color: #3bc9db;
  font-weight: 600;
}

/* ── type 3: checkbox ── */
.product-configurable-options .form-check {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.product-configurable-options .form-check:has(input:checked) {
  border-color: #3bc9db;
  background: color-mix(in srgb, #3bc9db, transparent 92%);
}

.product-configurable-options .form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  accent-color: #3bc9db;
  cursor: pointer;
}

.product-configurable-options .form-check .checkmark {
  display: none;
}

/* ── type 4: quantity stepper ── */
.config-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}

.config-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface-bg);
  color: var(--foreground);
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  flex-shrink: 0;
  user-select: none;
}

.config-qty-btn:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
}

.config-qty-btn:nth-child(3) {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
}

.config-qty-btn:hover {
  background: color-mix(in srgb, #3bc9db, transparent 88%);
  border-color: #3bc9db;
  color: #3bc9db;
}

.form-control-qty {
  width: 72px !important;
  height: 40px;
  text-align: center;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  background: var(--surface-bg) !important;
  color: var(--foreground) !important;
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-block !important;
}

.form-control-qty::-webkit-inner-spin-button,
.form-control-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.config-qty-unit {
  display: inline-flex;
  align-items: center;
  padding: 0 .75rem;
  height: 40px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: color-mix(in srgb, var(--foreground), transparent 96%);
}
/* credit / balance section */
#order-thehost_cart .apply-credit-container {
  background: var(--card) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem !important;
  margin: 1rem 0 !important;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#order-thehost_cart .apply-credit-container > p {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: .25rem;
}

#order-thehost_cart .apply-credit-container span {
  font-weight: 500 !important;
  color: var(--foreground);
}

.credit-option-label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--foreground);
  transition: border-color .15s ease, background .15s ease;
}

.credit-option-label:has(input:checked) {
  border-color: var(--primary, #6366f1);
  background: color-mix(in srgb, var(--primary, #6366f1), transparent 92%);
}

.credit-option-label input[type=radio] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary, #6366f1);
}
/* --------------------------------- */

/* centered sub-heading (payment details section) */
#order-thehost_cart .sub-heading.sub-heading-center {
  border-left: none;
  padding-left: 0;
  justify-content: center;
  margin: 0 0 .75rem;
}

#order-thehost_cart .sub-heading.sub-heading-center span,
#order-thehost_cart .sub-heading.sub-heading-center .primary-bg-color {
  color: var(--foreground, #e2e8f0);
  font-size: var(--text-sm, .875rem);
  letter-spacing: .04em;
  text-transform: none;
}
/* --------------------------------- */

/* : Billing Cycle Options : */
.billing-cycle-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.billing-cycle-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 calc(33% - .5rem);
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.billing-cycle-option:hover {
  border-color: color-mix(in srgb, var(--primary, #6366f1), transparent 40%);
  background: color-mix(in srgb, var(--primary, #6366f1), transparent 95%);
}

.billing-cycle-option.active {
  border-color: var(--primary, #6366f1);
  background: color-mix(in srgb, var(--primary, #6366f1), transparent 90%);
}

.billing-cycle-option .cycle-name {
  font-weight: 600;
  color: var(--foreground);
  font-size: var(--text-sm);
}

.billing-cycle-option .cycle-price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2px;
}

.billing-cycle-option.active .cycle-name {
  color: var(--primary, #6366f1);
  font-weight: 700;
}

.billing-cycle-option.active .cycle-price {
  color: var(--primary, #6366f1);
}

/* stagger entrance animation */
@keyframes cycleCardIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.billing-cycle-option {
  animation: cycleCardIn .25s ease both;
}
.billing-cycle-option:nth-child(1) { animation-delay: .04s; }
.billing-cycle-option:nth-child(2) { animation-delay: .08s; }
.billing-cycle-option:nth-child(3) { animation-delay: .12s; }
.billing-cycle-option:nth-child(4) { animation-delay: .16s; }
.billing-cycle-option:nth-child(5) { animation-delay: .20s; }
.billing-cycle-option:nth-child(6) { animation-delay: .24s; }
/* --------------------------------- */

/* Cart sidebar inherits all styles from thehost/css/custom.css
   via .theme-sidebar-panel — no overrides needed here. */