/* ==========================================================================
   SHOPPING CART - ULTRA-LUXURY GLASSMORPHISM & NEON DESIGN SYSTEM
   ========================================================================== */

.cart-page-wrap,
.checkout-page-wrap {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, rgba(254, 243, 199, 0.45) 0%, rgba(248, 250, 252, 1) 40%),
              radial-gradient(circle at 90% 80%, rgba(243, 232, 255, 0.5) 0%, rgba(248, 250, 252, 1) 50%);
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  padding-top: 92px;
  padding-bottom: 3.5rem;
  position: relative;
}

/* Small, Clean & Sleek Breadcrumbs Bar */
.prod-breadcrumbs-nav {
  padding: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}
.prod-breadcrumbs-nav a {
  color: #64748b;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.prod-breadcrumbs-nav a:hover {
  color: #ea580c;
}
.prod-breadcrumbs-nav .current-page {
  color: #0f172a;
  font-weight: 800;
}
.prod-breadcrumbs-nav i.fa-chevron-right {
  font-size: 0.55rem;
  color: #cbd5e1;
}

/* ==========================================================================
   1. HERO HEADER WITH MESH GLOW & STEPPER BAR
   ========================================================================== */
.cart-hero-header-card {
  position: relative;
  background: #ffffff;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(135deg, rgba(249, 115, 22, 0.5), rgba(236, 72, 153, 0.4), rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.4)) border-box;
  border-radius: 24px;
  padding: 1.2rem 1.8rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.06), 0 4px 15px rgba(139, 92, 246, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
}

/* Ambient Neon Glow */
.cart-hero-header-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}

.cart-hero-title-area {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.cart-hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.7rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(254, 242, 242, 0.9));
  border: 1.5px solid #fed7aa;
  color: #ea580c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1);
}

.cart-hero-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.cart-hero-grad-text {
  background: linear-gradient(135deg, #f97316 0%, #db2777 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cart-hero-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Interactive Stepper Progress Indicator */
.cart-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 2;
}

.cart-step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}
.cart-step-item.active {
  color: #ea580c;
  font-weight: 800;
}
.cart-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}
.cart-step-item.active .cart-step-num {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.5);
}
.cart-step-divider {
  width: 20px;
  height: 2px;
  background: #cbd5e1;
}

/* ==========================================================================
   2. MAIN 2-COLUMNS CONTENT GRID
   ========================================================================== */
.cart-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.2rem;
  align-items: flex-start;
}

/* Left Items Container */
.cart-items-main-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* List Top Action Bar */
.cart-items-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
}
.cart-items-count-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.cart-items-count-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #fff7ed;
  color: #ea580c;
  font-weight: 900;
  border: 1px solid #fed7aa;
}

.btn-clear-cart-styled {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #ef4444;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-clear-cart-styled:hover {
  background: #fef2f2;
  border-color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* ==========================================================================
   3. LUXURY INDIVIDUAL CART ITEM CARDS
   ========================================================================== */
.luxury-cart-item-card {
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(135deg, rgba(226, 232, 240, 0.8), rgba(249, 115, 22, 0.3), rgba(139, 92, 246, 0.25)) border-box;
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.luxury-cart-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.12), 0 4px 15px rgba(139, 92, 246, 0.08);
}

/* Item Thumbnail Box */
.cart-item-thumb-wrapper {
  position: relative;
  width: 90px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  flex-shrink: 0;
  background: #0f172a;
}
.cart-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.luxury-cart-item-card:hover .cart-item-thumb-img {
  transform: scale(1.08);
}

/* Item Details */
.cart-item-info-col {
  flex: 1;
}
.cart-item-product-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}
.cart-item-product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cart-item-product-title a:hover {
  color: #ea580c;
}

.cart-item-meta-tags-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cart-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.cart-item-tag.license {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
  font-weight: 800;
}

/* Price & Action Column */
.cart-item-price-actions-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.cart-item-price-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  background: #f8fafc;
  padding: 0.3rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.cart-item-price-pill.free {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  border: none;
}

.btn-remove-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-remove-item-pill:hover {
  background: #fef2f2;
  color: #ef4444;
}

/* ==========================================================================
   4. LUXURY ORDER SUMMARY SIDEBAR
   ========================================================================== */
.luxury-order-summary-card {
  background: #ffffff;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(135deg, #f97316, #ec4899, #8b5cf6) border-box;
  border-radius: 26px;
  padding: 2rem 1.8rem;
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.12), 0 4px 20px rgba(139, 92, 246, 0.08);
  position: sticky;
  top: 105px;
}

.summary-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.summary-card-head h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.summary-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* Coupon Box */
.summary-coupon-group {
  margin-bottom: 1.4rem;
}
.summary-coupon-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.summary-coupon-input-wrap {
  display: flex;
  gap: 0.5rem;
}
.summary-coupon-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}
.summary-coupon-input:focus {
  border-color: #ea580c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.btn-apply-coupon-styled {
  padding: 0.75rem 1.2rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-apply-coupon-styled:hover {
  background: linear-gradient(135deg, #ea580c, #f97316);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

/* Applied Coupon Tag */
.summary-applied-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #059669;
  margin-top: 0.6rem;
}

/* Calculations Table */
.summary-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.summary-calc-row strong {
  color: #0f172a;
  font-weight: 800;
}
.summary-calc-row.discount {
  color: #059669;
}

.summary-total-divider {
  height: 1.5px;
  background: #e2e8f0;
  margin: 1.2rem 0;
}

.summary-grand-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.summary-total-label {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}
.summary-total-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ea580c;
  line-height: 1;
}

/* Giant Proceed to Checkout Button */
.btn-checkout-giant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 16px;
  font-size: 0.96rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1rem;
}
.btn-checkout-giant:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(234, 88, 12, 0.55);
}

.summary-guarantees-strip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.summary-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
}
.summary-guarantee-item i {
  color: #10b981;
  font-size: 0.8rem;
}

/* ==========================================================================
   5. EMPTY CART STATE ENHANCEMENT
   ========================================================================== */
.luxury-empty-cart-card {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 26px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}
.empty-cart-glow-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff7ed;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(234, 88, 12, 0.25);
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .cart-hero-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .cart-two-col-grid {
    grid-template-columns: 1fr;
  }
  .luxury-order-summary-card {
    position: static;
  }
}
@media (max-width: 600px) {
  .luxury-cart-item-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item-price-actions-col {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
