/* ==========================================================================
   STANDARD_CART ULTRA-PREMIUM MODERN THEME
   Transforms WHMCS default product grid into high-conversion cards
   ========================================================================== */

#order-standard_cart {
  padding: 1.5rem 0 3rem;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header */
#order-standard_cart .header-lined {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

#order-standard_cart .header-lined h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

#order-standard_cart .header-lined p {
  color: #64748b;
  font-size: 1.05rem;
  margin: 0;
}

/* Product Cards */
#order-standard_cart .product {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100% - 1.75rem);
}

#order-standard_cart .product:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px -8px rgba(79, 70, 229, 0.16);
}

#order-standard_cart .product.popular-product {
  border: 2px solid #4f46e5;
  box-shadow: 0 8px 28px -4px rgba(79, 70, 229, 0.18);
}

.product-popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* Card Header (Title) */
#order-standard_cart .product header {
  background: transparent;
  padding: 0 0 1.25rem 0;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#order-standard_cart .product header span[id$="-name"] {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

#order-standard_cart .product header .qty {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* Product Description & Features */
#order-standard_cart .product .product-desc {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

#order-standard_cart .product .product-desc .desc-content {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#order-standard_cart .product .product-desc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#order-standard_cart .product .product-desc ul li {
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: #334155;
  border-bottom: 1px dashed #f1f5f9;
  display: flex;
  align-items: center;
}

#order-standard_cart .product .product-desc ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  color: #10b981;
  margin-right: 0.65rem;
  font-size: 0.95rem;
}

#order-standard_cart .product .product-desc ul li:last-child {
  border-bottom: none;
}

#order-standard_cart .product .product-desc ul li .feature-value {
  font-weight: 700;
  color: #0f172a;
  margin-right: 0.35rem;
}

/* Card Footer (Price + Button) */
#order-standard_cart .product footer {
  background: transparent;
  padding: 1.25rem 0 0 0;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
}

#order-standard_cart .product footer .product-pricing {
  margin: 0;
  text-align: left;
}

#order-standard_cart .product footer .product-pricing .price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  display: inline-block;
  margin-right: 0.35rem;
}

#order-standard_cart .product footer .product-pricing .cycle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

#order-standard_cart .product footer .product-pricing small {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* Full Width Modern CTA Button */
#order-standard_cart .product footer .btn-order-now {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 10px;
  border: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28);
}

#order-standard_cart .product footer .btn-order-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  color: #ffffff !important;
}

/* Sidebar Categories */
.cart-sidebar .card-sidebar {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  background: #ffffff;
  margin-bottom: 1.5rem;
}

.cart-sidebar .card-header {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-bottom: none;
}

.cart-sidebar .card-header .panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.cart-sidebar .list-group-item {
  border: none;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.cart-sidebar .list-group-item:last-child {
  border-bottom: none;
}

.cart-sidebar .list-group-item:hover {
  background: rgba(99, 102, 241, 0.05);
  color: #4f46e5;
  padding-left: 1.5rem;
}

.cart-sidebar .list-group-item.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
