/* Koala Hosting — WHMCS order form visual system */
.koala-cart-page {
  background: #f3f6fa;
  color: #343b46;
}

.koala-cart-page #order-standard_cart,
.koala-cart-page #order-standard_cart * {
  font-family: Museo, Arial, sans-serif !important;
  box-sizing: border-box;
}

.koala-cart-page #order-standard_cart {
  width: min(1220px, calc(100% - 40px));
  max-width: none;
  margin: 42px auto 68px;
  padding: 0;
  color: #3b424c;
}

/* Standard Cart's floats collide with the legacy Koala grid. Own the layout here. */
.koala-cart-page #order-standard_cart > .row {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  width: 100%;
  margin: 0 !important;
}

.koala-cart-page #order-standard_cart > .row::before,
.koala-cart-page #order-standard_cart > .row::after {
  display: none !important;
}

.koala-cart-page #order-standard_cart .cart-sidebar,
.koala-cart-page #order-standard_cart .cart-body {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
}

.koala-cart-page #order-standard_cart .cart-sidebar {
  grid-column: 1;
  position: sticky !important;
  top: 22px !important;
}

.koala-cart-page #order-standard_cart .cart-body {
  grid-column: 2;
  grid-row: 1;
}

/* Sidebar */
.koala-cart-page #order-standard_cart .cart-sidebar .panel,
.koala-cart-page #order-standard_cart .cart-sidebar .list-group {
  overflow: hidden;
  margin: 0 0 16px;
  background: #fff;
  border: 0;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(37, 48, 61, .08);
}

.koala-cart-page #order-standard_cart .cart-sidebar .panel-heading {
  padding: 18px 20px 12px;
  background: #fff;
  border: 0;
  color: #2d333c;
  font-size: 17px;
  font-weight: 700;
}

.koala-cart-page #order-standard_cart .cart-sidebar .list-group-item {
  padding: 13px 18px;
  background: transparent;
  border: 0;
  border-top: 1px solid #edf0f4;
  color: #656c75;
  font-size: 13px;
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
}

.koala-cart-page #order-standard_cart .cart-sidebar .list-group-item:hover,
.koala-cart-page #order-standard_cart .cart-sidebar .list-group-item.active {
  padding-left: 23px;
  background: #fcb91a;
  color: #282d34;
}

.koala-cart-page #order-standard_cart .cart-sidebar select {
  width: calc(100% - 30px);
  margin: 4px 15px 16px;
}

/* Page title and primary blocks */
.koala-cart-page #order-standard_cart .header-lined {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 30px 34px;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(37, 48, 61, .08);
}

.koala-cart-page #order-standard_cart .header-lined::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: #fcb91a;
  content: "";
}

.koala-cart-page #order-standard_cart .header-lined h1 {
  margin: 0;
  color: #292f37;
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -.5px;
}

.koala-cart-page #order-standard_cart .header-lined small {
  display: block;
  margin-top: 7px;
  color: #777e87;
}

.koala-cart-page #order-standard_cart .domain-selection-options,
.koala-cart-page #order-standard_cart .products .product,
.koala-cart-page #order-standard_cart .view-cart-items,
.koala-cart-page #order-standard_cart .view-cart-tabs,
.koala-cart-page #order-standard_cart .summary-container,
.koala-cart-page #order-standard_cart .sub-heading,
.koala-cart-page #order-standard_cart .domain-lookup-result,
.koala-cart-page #order-standard_cart .domain-pricing {
  overflow: hidden;
  background: #fff;
  border: 0 !important;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(37, 48, 61, .075);
}

.koala-cart-page #order-standard_cart .domain-selection-options,
.koala-cart-page #order-standard_cart .products .product {
  margin-bottom: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.koala-cart-page #order-standard_cart .domain-selection-options:hover,
.koala-cart-page #order-standard_cart .products .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(37, 48, 61, .12);
}

.koala-cart-page #order-standard_cart .products .product header,
.koala-cart-page #order-standard_cart .view-cart-items-header,
.koala-cart-page #order-standard_cart .order-summary h2 {
  padding: 18px 22px;
  background: #30363f;
  border: 0;
  color: #fff;
}

.koala-cart-page #order-standard_cart .products .product header span,
.koala-cart-page #order-standard_cart .products .product header h3,
.koala-cart-page #order-standard_cart .view-cart-items-header {
  color: #fff;
}

.koala-cart-page #order-standard_cart .products .product div.product-desc,
.koala-cart-page #order-standard_cart .products .product div.product-pricing,
.koala-cart-page #order-standard_cart .domain-selection-options,
.koala-cart-page #order-standard_cart .domain-lookup-result {
  padding: 22px;
}

/* Inputs, selectors and buttons */
.koala-cart-page #order-standard_cart .form-control,
.koala-cart-page #order-standard_cart select,
.koala-cart-page #order-standard_cart input[type="text"],
.koala-cart-page #order-standard_cart input[type="email"],
.koala-cart-page #order-standard_cart input[type="password"] {
  min-height: 46px;
  background: #fbfcfd;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  box-shadow: none;
  color: #353b43;
}

.koala-cart-page #order-standard_cart .form-control:focus,
.koala-cart-page #order-standard_cart input:focus,
.koala-cart-page #order-standard_cart select:focus {
  background: #fff;
  border-color: #fcb91a;
  box-shadow: 0 0 0 4px rgba(252, 185, 26, .16);
  outline: 0;
}

.koala-cart-page #order-standard_cart .btn {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.koala-cart-page #order-standard_cart .btn:hover {
  transform: translateY(-2px);
}

.koala-cart-page #order-standard_cart .btn-primary,
.koala-cart-page #order-standard_cart .btn-success,
.koala-cart-page #order-standard_cart .domain-lookup-primary-results .btn {
  background: #fcb91a;
  border-color: #fcb91a;
  color: #282d34;
  box-shadow: 0 8px 18px rgba(252, 185, 26, .25);
}

.koala-cart-page #order-standard_cart .btn-primary:hover,
.koala-cart-page #order-standard_cart .btn-success:hover,
.koala-cart-page #order-standard_cart .domain-lookup-primary-results .btn:hover {
  background: #ffc83e;
  border-color: #ffc83e;
  color: #20252b;
}

.koala-cart-page #order-standard_cart .btn-default {
  background: #fff;
  border-color: #dfe4ea;
  color: #464d56;
}

/* Tabs and cart rows */
.koala-cart-page #order-standard_cart .nav-tabs {
  padding: 7px;
  background: #e9edf2;
  border: 0;
  border-radius: 13px;
}

.koala-cart-page #order-standard_cart .nav-tabs > li > a {
  margin: 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 9px;
  color: #606872;
}

.koala-cart-page #order-standard_cart .nav-tabs > li.active > a,
.koala-cart-page #order-standard_cart .nav-tabs > li > a:hover {
  background: #fff;
  border: 0;
  color: #292f37;
  box-shadow: 0 4px 12px rgba(37, 48, 61, .08);
}

.koala-cart-page #order-standard_cart .view-cart-items .item,
.koala-cart-page #order-standard_cart .view-cart-tabs .tab-content,
.koala-cart-page #order-standard_cart .order-summary .summary-container {
  padding: 20px 22px;
  border-color: #edf0f4;
}

.koala-cart-page #order-standard_cart .view-cart-items .item:nth-child(even) {
  background: #fafbfc;
}

.koala-cart-page #order-standard_cart .order-summary .subtotal,
.koala-cart-page #order-standard_cart .order-summary .total-due-today {
  color: #2d333c;
}

.koala-cart-page #order-standard_cart .order-summary .total-due-today .amt {
  color: #d99100;
}

/* Reveal motion: hidden only after JS declares itself ready. */
.koala-motion-ready .koala-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.2,.75,.25,1), transform .65s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--koala-delay, 0ms);
}

.koala-motion-ready .koala-reveal.koala-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .koala-cart-page #order-standard_cart {
    width: min(100% - 28px, 760px);
    margin-top: 26px;
  }

  .koala-cart-page #order-standard_cart > .row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .koala-cart-page #order-standard_cart .cart-sidebar,
  .koala-cart-page #order-standard_cart .cart-body {
    grid-column: 1;
  }

  .koala-cart-page #order-standard_cart .cart-body { grid-row: 1; }
  .koala-cart-page #order-standard_cart .cart-sidebar { grid-row: 2; position: static !important; }
}

@media (max-width: 600px) {
  .koala-cart-page #order-standard_cart { width: calc(100% - 20px); }
  .koala-cart-page #order-standard_cart .header-lined { padding: 24px 22px; }
  .koala-cart-page #order-standard_cart .header-lined h1 { font-size: 27px; }
  .koala-cart-page #order-standard_cart .products .product div.product-desc,
  .koala-cart-page #order-standard_cart .products .product div.product-pricing,
  .koala-cart-page #order-standard_cart .domain-selection-options { padding: 17px; }
  .koala-cart-page #order-standard_cart .btn { width: 100%; margin: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .koala-motion-ready .koala-reveal,
  .koala-cart-page #order-standard_cart * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
