/**
 * eXthus Apps Portal — standard_cart order form (inherits exthus-portal body)
 */

body.exthus-portal #order-standard_cart {
  color: var(--ex-text);
}

body.exthus-portal #order-standard_cart .cart-sidebar .panel-sidebar {
  border-radius: var(--ex-radius-sm);
  overflow: hidden;
  box-shadow: var(--ex-shadow);
}

body.exthus-portal #order-standard_cart .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

body.exthus-portal #order-standard_cart .products .product {
  display: flex;
  flex-direction: column;
  border-radius: var(--ex-radius) !important;
  overflow: hidden;
  box-shadow: var(--ex-shadow) !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  clear: both;
}

body.exthus-portal #order-standard_cart .products .product div.product-desc,
body.exthus-portal #order-standard_cart .products .product div.product-desc-full-width {
  float: none !important;
  width: auto !important;
  padding: 0 24px 16px !important;
  flex: 1;
  color: var(--ex-muted) !important;
  line-height: 1.6;
  font-size: 0.92rem !important;
}

body.exthus-portal #order-standard_cart .products .product footer {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  padding: 16px 24px 24px !important;
  background: var(--ex-panel-2) !important;
  border-top: 1px solid var(--ex-line) !important;
  margin-top: auto;
}

body.exthus-portal #order-standard_cart .products .product:hover {
  transform: translateY(-4px);
  box-shadow: var(--ex-shadow-lg) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
}

body.exthus-portal #order-standard_cart .products .product header {
  padding: 24px 24px 12px !important;
  background: var(--ex-panel) !important;
  border: none !important;
}

body.exthus-portal #order-standard_cart .products .product header span {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: var(--ex-text) !important;
}

body.exthus-portal #order-standard_cart .products .product .product-desc {
  padding: 0 24px 16px !important;
  flex: 1;
  color: var(--ex-muted) !important;
  line-height: 1.6;
  font-size: 0.92rem !important;
}

body.exthus-portal #order-standard_cart .products .product footer .product-pricing {
  margin-bottom: 12px;
}

body.exthus-portal #order-standard_cart .products .product footer .price {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--ex-text) !important;
}

body.exthus-portal #order-standard_cart .products .product footer .btn {
  width: 100%;
}

body.exthus-portal #order-standard_cart .view-cart-items {
  border-radius: var(--ex-radius-sm);
  overflow: hidden;
  box-shadow: var(--ex-shadow);
}

body.exthus-portal #order-standard_cart .order-summary {
  border-radius: var(--ex-radius-sm);
  box-shadow: var(--ex-shadow);
  border: 1px solid var(--ex-line);
  overflow: hidden;
}

body.exthus-portal #order-standard_cart .subtotal,
body.exthus-portal #order-standard_cart .bordered-totals {
  background: var(--ex-panel);
}

body.exthus-portal #order-standard_cart .checkout-container {
  border-radius: var(--ex-radius-sm);
  box-shadow: var(--ex-shadow);
}

@media (max-width: 767.98px) {
  body.exthus-portal #order-standard_cart .products {
    grid-template-columns: 1fr;
  }
}
