/**
 * Vui Cuoi Len - Shopping Cart Styles
 */

/* ================================
   Add to Cart Button - Elegant & Subtle
   ================================ */

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: #FF69B4;
  border: 2px solid #FF69B4;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-add-cart:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.35);
}

.btn-add-cart:hover::before {
  left: 0;
}

.btn-add-cart:active {
  transform: translateY(0) scale(0.98);
}

/* Icon animation on hover */
.btn-add-cart i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-add-cart:hover i {
  transform: rotate(90deg) scale(1.1);
}

/* Added state with success animation */
.btn-add-cart.added {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  border-color: transparent;
  color: white;
  animation: addedPulse 0.6s ease;
}

.btn-add-cart.added::before {
  display: none;
}

.btn-add-cart.added i {
  animation: checkBounce 0.5s ease;
}

@keyframes addedPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes checkBounce {
  0% { transform: scale(0) rotate(0deg); }
  50% { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Button in channel card - compact style */
.channel-card .btn-add-cart {
  margin-top: 12px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* Button in sidebar pricing card */
.sidebar-card .btn-add-cart {
  width: 100%;
  margin-top: 15px;
  padding: 14px 24px;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Button in pricing-card (pink background) - needs contrast */
.pricing-card .btn-add-cart {
  background: white;
  color: #FF69B4;
  border-color: white;
}

.pricing-card .btn-add-cart::before {
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
}

.pricing-card .btn-add-cart:hover {
  color: white;
  border-color: white;
}

.pricing-card .btn-add-cart.added {
  background: white;
  color: #2ECC71;
  border-color: white;
}

/* Button in modal footer */
.modal-footer .btn-add-cart {
  margin-right: auto;
  padding: 12px 20px;
}

/* Small icon-only button variant */
.btn-add-cart.btn-icon-only {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  gap: 0;
}

.btn-add-cart.btn-icon-only span {
  display: none;
}

/* Floating action button style */
.btn-add-cart.btn-fab {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
  gap: 0;
}

.btn-add-cart.btn-fab span {
  display: none;
}

.btn-add-cart.btn-fab:hover {
  box-shadow: 0 6px 25px rgba(255, 105, 180, 0.45);
}

/* ================================
   Cart Badge (Header)
   ================================ */

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #E74C3C;
  color: white;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================
   Cart Bar (Fixed Bottom)
   ================================ */

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  flex-direction: column;
  transition: all 0.3s ease;
}

.cart-bar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 15px;
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.cart-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cart-icon-wrap i {
  width: 24px;
  height: 24px;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #E74C3C;
  color: white;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-label {
  font-size: 0.85rem;
  color: #666;
}

.cart-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-original {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}

.cart-best,
.cart-total-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FF69B4;
}

.cart-savings-badge {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cart-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cart-toggle {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-cart-toggle:hover {
  background: #eee;
}

.btn-cart-toggle i {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cart-bar.expanded .btn-cart-toggle i {
  transform: rotate(180deg);
}

.btn-checkout {
  padding: 12px 24px;
  font-size: 0.95rem;
  gap: 8px;
}

/* ================================
   Cart Items Preview (Expanded)
   ================================ */

.cart-items-preview {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cart-bar.expanded .cart-items-preview {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
}

/* Custom Scrollbar Styling */
.cart-items-preview::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.checkout-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.cart-items-preview::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.checkout-modal .modal-body::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

.cart-items-preview::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.checkout-modal .modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ccc 0%, #bbb 100%);
  border-radius: 4px;
  border: 2px solid #f5f5f5;
}

.cart-items-preview::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.checkout-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #aaa 0%, #999 100%);
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: white;
}

.cart-items-header h4 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.btn-clear-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: none;
  border: 1px solid #E74C3C;
  color: #E74C3C;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear-cart:hover {
  background: #E74C3C;
  color: white;
}

.btn-clear-cart i {
  width: 14px;
  height: 14px;
}

.cart-items-list {
  padding: 10px 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

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

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: #FF69B4;
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  background: #fff0f5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E74C3C;
  transition: all 0.3s ease;
}

.btn-remove-item:hover {
  background: #E74C3C;
  color: white;
}

.btn-remove-item i {
  width: 16px;
  height: 16px;
}

.cart-combo-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 20px;
  padding: 12px 15px;
  background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #FF69B4;
}

.cart-combo-notice i {
  width: 20px;
  height: 20px;
}

.cart-items-footer {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #eee;
}

.cart-footer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-footer-total strong {
  color: #FF69B4;
  font-size: 1.3rem;
}

/* ================================
   Checkout Modal
   ================================ */

.checkout-modal {
  max-width: 500px;
}

.checkout-summary {
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.checkout-summary h4 {
  margin: 0 0 15px;
  font-size: 1rem;
  color: #333;
}

.checkout-items {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.checkout-items li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.checkout-items li:last-child {
  border-bottom: none;
}

.checkout-total {
  padding-top: 15px;
  border-top: 2px solid #ddd;
}

.checkout-combo-applied {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2ECC71;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.checkout-combo-applied i {
  width: 16px;
  height: 16px;
}

.checkout-original {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 8px;
}

.checkout-original s {
  color: #E74C3C;
}

.checkout-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.checkout-final strong {
  font-size: 1.4rem;
  color: #FF69B4;
}

/* ================================
   Cart Toast Notification
   ================================ */

.cart-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: #333;
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cart-toast.success {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.cart-toast.error {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.cart-toast.info {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
  .cart-bar-main {
    padding: 10px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cart-bar-info {
    flex: 1 1 100%;
    order: 1;
  }

  .cart-bar-actions {
    flex: 1 1 100%;
    order: 2;
    justify-content: space-between;
  }

  .btn-checkout {
    flex: 1;
    justify-content: center;
  }

  .cart-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .cart-icon-wrap i {
    width: 20px;
    height: 20px;
  }

  .cart-pricing {
    gap: 8px;
  }

  .cart-best,
  .cart-total-price {
    font-size: 1rem;
  }

  .cart-savings-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .cart-items-header,
  .cart-items-list,
  .cart-items-footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .cart-combo-notice {
    margin: 10px 15px;
    font-size: 0.85rem;
  }

  .cart-toast {
    bottom: 150px;
    width: 90%;
    text-align: center;
  }

  .btn-add-cart {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .cart-label {
    font-size: 0.8rem;
  }

  .cart-best,
  .cart-total-price {
    font-size: 0.95rem;
  }

  .btn-checkout {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .cart-item-name {
    font-size: 0.9rem;
  }
}

/* ================================
   Combo Pricing Enhancements
   ================================ */

/* Subtle pulse for savings badge */
.cart-savings-badge {
  animation: savingsPulse 2s ease-in-out infinite;
}

@keyframes savingsPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.5);
  }
}

/* Sparkle animation for combo notice */
.cart-combo-notice {
  animation: comboGlow 3s ease-in-out infinite;
}

@keyframes comboGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 105, 180, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
  }
}

/* Best price highlight */
.cart-best {
  position: relative;
}

.cart-best::after {
  content: '★';
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 0.6rem;
  color: #FFD700;
  animation: starTwinkle 1.5s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

/* Combo applied indicator in cart bar */
.cart-bar.has-combo .cart-icon-wrap {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.cart-bar.has-combo .cart-icon-wrap::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background: #FFD700;
  border-radius: 50%;
  border: 2px solid white;
}

/* ================================
   Smart Pricing Breakdown
   ================================ */

/* Cart item in combo - visual indicator */
.cart-item.in-combo {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(46, 204, 113, 0.1) 100%);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
  border-bottom: none;
  margin-bottom: 4px;
}

.cart-item.in-combo .cart-item-info {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-item-price.crossed {
  text-decoration: line-through;
  color: #999;
}

.combo-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  border-radius: 6px;
  color: white;
}

.combo-indicator i {
  width: 12px;
  height: 12px;
}

/* Pricing Breakdown Section */
.cart-pricing-breakdown {
  margin: 0 20px 10px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
}

.breakdown-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ddd;
}

.pricing-section {
  margin-bottom: 12px;
}

.pricing-section:last-child {
  margin-bottom: 0;
}

.pricing-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.pricing-section-title i {
  width: 16px;
  height: 16px;
  color: #FF69B4;
}

.combos-section .pricing-section-title i {
  color: #2ECC71;
}

/* Combo pricing row */
.pricing-combo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.15) 100%);
  border-radius: 8px;
  margin-bottom: 6px;
}

.pricing-combo-item .combo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-combo-item .combo-name {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.pricing-combo-item .combo-services-count {
  font-size: 0.75rem;
  color: #888;
}

.pricing-combo-item .combo-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-combo-item .combo-original {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}

.pricing-combo-item .combo-final {
  font-weight: 700;
  color: #2ECC71;
  font-size: 0.95rem;
}

.pricing-combo-item .combo-discount-badge {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Individual item row */
.pricing-individual-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8f8f8;
  border-radius: 6px;
  margin-bottom: 4px;
}

.pricing-individual-item .item-name {
  font-size: 0.85rem;
  color: #555;
}

.pricing-individual-item .item-price {
  font-weight: 600;
  color: #FF69B4;
  font-size: 0.85rem;
}

/* Cart footer savings */
.cart-footer-savings {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.2) 100%);
  border-radius: 8px;
  margin-bottom: 12px;
  color: #27AE60;
  font-size: 0.9rem;
}

.cart-footer-savings i {
  width: 18px;
  height: 18px;
}

.cart-footer-savings strong {
  color: #2ECC71;
}

/* ================================
   Checkout Modal - Detailed Pricing
   ================================ */

.checkout-summary h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-summary h4 i {
  width: 20px;
  height: 20px;
  color: #FF69B4;
}

.checkout-section {
  margin-bottom: 15px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  border: 1px solid #eee;
}

.checkout-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e5e5e5;
}

.checkout-section-header i {
  width: 16px;
  height: 16px;
}

.checkout-section.combos .checkout-section-header {
  color: #2ECC71;
}

.checkout-section.individual .checkout-section-header {
  color: #FF69B4;
}

/* Checkout combo row */
.checkout-combo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.15) 100%);
  border-radius: 8px;
  margin-bottom: 6px;
}

.checkout-combo-row .combo-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-combo-row .combo-name {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.checkout-combo-row .combo-desc {
  font-size: 0.75rem;
  color: #888;
}

.checkout-combo-row .combo-price-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.checkout-combo-row .original-price {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}

.checkout-combo-row .final-price {
  font-weight: 700;
  color: #2ECC71;
  font-size: 0.95rem;
}

.checkout-combo-row .discount-tag {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Checkout individual row */
.checkout-individual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-individual-row:last-child {
  border-bottom: none;
}

.checkout-individual-row .item-name {
  font-size: 0.85rem;
  color: #555;
}

.checkout-individual-row .item-price {
  font-weight: 600;
  color: #FF69B4;
  font-size: 0.85rem;
}

/* Checkout total section */
.checkout-total-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #eee;
}

.checkout-savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.2) 100%);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #27AE60;
}

.checkout-savings-row i {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.checkout-savings-row .savings-amount {
  font-weight: 700;
  color: #2ECC71;
}

.checkout-final-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.checkout-final-row strong {
  font-size: 1.4rem;
  color: #FF69B4;
}

/* Mobile adjustments for pricing breakdown */
@media (max-width: 480px) {
  .cart-pricing-breakdown {
    margin: 0 15px 10px;
    padding: 12px;
  }

  .pricing-combo-item,
  .checkout-combo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pricing-combo-item .combo-pricing,
  .checkout-combo-row .combo-price-col {
    justify-content: flex-start;
  }

  .cart-item.in-combo .cart-item-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================
   Improved Checkout Modal
   ================================ */

/* Items list */
.checkout-items-list {
  margin-bottom: 12px;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 6px;
}

.checkout-item-row.in-combo {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.12) 100%);
  border-left: 3px solid #2ECC71;
}

.checkout-item-row .item-name {
  font-size: 0.9rem;
  color: #333;
  flex: 1;
}

.checkout-item-row .item-price {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

.checkout-item-row .item-price.crossed {
  text-decoration: line-through;
  color: #999;
}

/* Subtotal row */
.checkout-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.checkout-subtotal-row .subtotal-price {
  font-weight: 700;
  color: #333;
}

/* Combos applied section - High Contrast */
.checkout-combos-applied {
  margin-bottom: 15px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: 12px;
  border: 2px solid #10b981;
}

.checkout-combos-applied .section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 12px;
}

.checkout-combos-applied .section-label i {
  width: 18px;
  height: 18px;
  color: #10b981;
}

.checkout-combos-applied .checkout-combo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.checkout-combos-applied .checkout-combo-row:last-child {
  margin-bottom: 0;
}

.checkout-combos-applied .combo-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkout-combos-applied .combo-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.9rem;
}

.checkout-combos-applied .combo-services {
  font-size: 0.78rem;
  color: #6b7280;
}

.checkout-combos-applied .combo-discount {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-combos-applied .discount-amount {
  font-weight: 800;
  color: #059669;
  font-size: 0.95rem;
}

.checkout-combos-applied .discount-percent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Promo Code Section - Compact Premium Style */
.promo-code-section {
  margin-bottom: 10px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: 8px;
  border: 1px dashed #f59e0b;
  position: relative;
  overflow: hidden;
}

.promo-code-section::before {
  display: none;
}

.promo-code-section .section-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 6px;
  position: relative;
}

.promo-code-section .section-label i {
  width: 12px;
  height: 12px;
  color: #f59e0b;
}

.promo-code-section .section-label span {
  font-size: 0.7rem;
  font-weight: 400;
  color: #92400e;
  opacity: 0.8;
}

.promo-code-input-wrap {
  display: flex;
  gap: 6px;
  position: relative;
}

.promo-code-input-wrap input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: white;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
}

.promo-code-input-wrap input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.75rem;
}

.promo-code-input-wrap input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.btn-apply-promo {
  padding: 8px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  gap: 3px;
}

.btn-apply-promo:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 179, 0, 0.4);
}

.btn-apply-promo i {
  width: 12px;
  height: 12px;
}

.promo-code-message {
  margin-top: 8px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.promo-code-message i {
  width: 14px;
  height: 14px;
}

.promo-code-message.success {
  color: #2ECC71;
}

.promo-code-message.error {
  color: #E74C3C;
}

/* Price Summary */
.checkout-price-summary {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px dashed #eee;
}

.checkout-price-summary .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.checkout-price-summary .price-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-price-summary .price-row i {
  width: 16px;
  height: 16px;
}

.checkout-price-summary .combo-discount {
  color: #047857;
  font-weight: 600;
}

.checkout-price-summary .combo-discount .discount-value {
  font-weight: 800;
  color: #059669;
  font-size: 1rem;
}

.checkout-price-summary .promo-discount {
  color: #b45309;
  font-weight: 600;
}

.checkout-price-summary .promo-discount .discount-value {
  font-weight: 800;
  color: #d97706;
  font-size: 1rem;
}

.checkout-price-summary .total-savings {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  padding: 12px 14px;
  border-radius: 10px;
  margin: 10px 0;
  border: 1px solid #10b981;
}

.checkout-price-summary .total-savings .savings-value {
  font-weight: 800;
  color: #059669;
  font-size: 1.05rem;
}

.checkout-price-summary .final-total {
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
  color: white;
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 1rem;
}

.checkout-price-summary .final-total strong {
  font-size: 1.3rem;
  color: white;
}

/* Mobile adjustments for checkout */
@media (max-width: 480px) {
  .promo-code-input-wrap {
    flex-direction: column;
  }

  .btn-apply-promo {
    width: 100%;
  }

  .checkout-combos-applied .checkout-combo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
