/**
 * Checkout Modal Styles
 * Modal-based checkout interface with 3 steps
 */
body.modal-open {
  overflow: hidden;
}

.cw-checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cw-checkout-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.cw-checkout-modal .modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease-out;
}
.cw-checkout-modal .modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e0e0e0;
}
.cw-checkout-modal .modal-header h2 {
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}
.cw-checkout-modal .modal-header .step-indicator {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cw-checkout-modal .modal-header .step-indicator #step-text {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
}
.cw-checkout-modal .modal-header .step-indicator .progress-bar {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}
.cw-checkout-modal .modal-header .step-indicator .progress-bar .progress-fill {
  height: 100%;
  background: #1a1a1a;
  transition: width 0.3s ease;
}
.cw-checkout-modal .modal-header .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #666666;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.cw-checkout-modal .modal-header .close-button:hover {
  color: #1a1a1a;
}
.cw-checkout-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.cw-checkout-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}
.cw-checkout-modal .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.cw-checkout-modal .modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.cw-checkout-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.cw-checkout-modal .modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.cw-checkout-modal .modal-footer .btn-continue {
  flex: 1;
}

.step-cart-review .cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-cart-review .cart-count {
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
}
.step-cart-review .cart-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-cart-review .cart-item {
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-cart-review .cart-item .cart-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-cart-review .cart-item .item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  color: #1a1a1a;
  overflow: hidden;
}
.step-cart-review .cart-item .item-icon svg {
  width: 24px;
  height: 24px;
}
.step-cart-review .cart-item .item-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
}
.step-cart-review .cart-item .item-details {
  flex: 1;
  min-width: 0;
}
.step-cart-review .cart-item .item-details .item-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}
.step-cart-review .cart-item .item-details .item-slot-datetime {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: #666666;
  font-style: italic;
}
.step-cart-review .cart-item .item-details .item-price {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #666666;
}
.step-cart-review .cart-item .item-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
  color: #666666;
}
.step-cart-review .cart-item .cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.step-cart-review .cart-item .item-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.step-cart-review .cart-item .item-quantity button {
  width: 32px;
  height: 32px;
  border: none;
  background: #ffffff;
  border-radius: 0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-cart-review .cart-item .item-quantity button:hover {
  background: #f5f5f5;
}
.step-cart-review .cart-item .item-quantity button.qty-remove {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #666666;
}
.step-cart-review .cart-item .item-quantity button.qty-remove:hover {
  color: #f44336;
  background: transparent;
}
.step-cart-review .cart-item .item-quantity button.qty-remove svg {
  width: 16px;
  height: 16px;
}
.step-cart-review .cart-item .item-quantity .qty-value {
  width: 40px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
}
.step-cart-review .cart-item .item-total {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.step-cart-review .cart-totals {
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: rgba(245, 245, 245, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-cart-review .cart-totals .totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666666;
}
.step-cart-review .cart-totals .totals-row.totals-total {
  padding-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.step-cart-review .cart-totals .totals-row.vat-breakdown-row {
  padding-left: 12px;
  font-size: 13px;
  color: #888888;
}
.step-cart-review .cart-totals .totals-divider {
  margin: 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}
.step-cart-review .empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: #666666;
}
.step-cart-review .empty-cart p {
  font-size: 16px;
  margin: 0;
}

.step-details-form .details-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-details-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-details-form .form-field label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.step-details-form .form-field label .required {
  color: #f44336;
}
.step-details-form .form-field .form-control {
  height: 36px;
  padding: 4px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: transparent;
  transition: border-color 0.2s;
  font-family: inherit;
}
.step-details-form .form-field .form-control:focus {
  outline: none;
  border-color: #1a1a1a;
}
.step-details-form .form-field .form-control:invalid {
  border-color: #f44336;
}
.step-details-form .form-field .form-control::-moz-placeholder {
  color: #999;
}
.step-details-form .form-field .form-control::placeholder {
  color: #999;
}
.step-details-form .form-divider {
  margin: 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}
.step-details-form .form-section-label {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
}
.step-details-form .form-row-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.step-details-form .shipping-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-summary .order-summary-section,
.step-summary .customer-info-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-summary .summary-section-label {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.step-summary .summary-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-summary .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}
.step-summary .summary-item:last-of-type {
  border-bottom: none;
}
.step-summary .summary-item .summary-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step-summary .summary-item .summary-item-details .summary-item-name {
  font-weight: 500;
  color: #1a1a1a;
}
.step-summary .summary-item .summary-item-details .summary-item-vat {
  font-size: 12px;
  color: #666666;
  font-weight: 400;
}
.step-summary .summary-item .summary-item-price {
  font-weight: 500;
}
.step-summary .summary-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  border-top: 2px solid #e0e0e0;
}
.step-summary .summary-vat-section {
  padding: 8px 0 4px;
  font-size: 13px;
  color: #666666;
}
.step-summary .summary-vat-section strong {
  font-weight: 600;
  color: #1a1a1a;
}
.step-summary .summary-vat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 4px 16px;
  font-size: 13px;
  color: #888888;
}
.step-summary .summary-shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #666666;
  font-weight: 500;
}
.step-summary .summary-divider {
  margin: 8px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}
.step-summary .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #1a1a1a;
}
.step-summary .summary-total .summary-total-amount {
  font-weight: 700;
}
.step-summary .summary-section-divider {
  margin: 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}
.step-summary .customer-details .customer-info {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}
.step-summary .customer-details .customer-address {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}
.step-summary .agb-checkbox-container {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: rgba(245, 245, 245, 0.3);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.step-summary .agb-checkbox-container .agb-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}
.step-summary .agb-checkbox-container .agb-checkbox-label .agb-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1a1a1a;
  transition: outline 0.3s ease;
}
.step-summary .agb-checkbox-container .agb-checkbox-label .agb-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1a;
  transition: color 0.3s ease;
}
.step-summary .agb-checkbox-container .agb-checkbox-label:hover .agb-text {
  color: rgb(0.5, 0.5, 0.5);
}
.step-summary .agb-checkbox-container.invalid {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.05);
}
.step-summary .agb-checkbox-container.invalid .agb-checkbox {
  outline: 2px solid #f44336;
  outline-offset: 2px;
}
.step-summary .agb-checkbox-container.invalid .agb-text {
  color: #f44336;
}
.step-summary .agb-checkbox-container.pulse-error {
  animation: agbPulse 0.6s ease-in-out;
}

@keyframes agbPulse {
  0% {
    border-color: #e0e0e0;
    background: rgba(245, 245, 245, 0.3);
  }
  50% {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.15);
    transform: scale(1.01);
  }
  100% {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.05);
    transform: scale(1);
  }
}
.payment-loading {
  text-align: center;
  padding: 60px 20px;
}
.payment-loading .loading-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border: 4px solid rgba(33, 150, 243, 0.2);
  border-top-color: #2196f3;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.payment-loading p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.payment-error {
  text-align: center;
  padding: 40px 20px;
  background: rgba(244, 67, 54, 0.05);
  border-radius: 8px;
  margin-top: 24px;
}
.payment-error .error-icon {
  margin: 0 auto 16px;
}
.payment-error .error-icon svg {
  display: block;
  margin: 0 auto;
}
.payment-error h3 {
  color: #f44336;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.payment-error .error-message {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.order-success {
  text-align: center;
  padding: 40px 20px;
}
.order-success .success-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
}
.order-success .success-icon svg {
  width: 64px;
  height: 64px;
}
.order-success h2 {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 600;
  color: #4caf50;
}
.order-success p {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #666666;
}
.order-success .btn-close-success {
  margin-top: 24px;
  padding: 12px 32px;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.order-success .btn-close-success:hover {
  background: #333333;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 576px) {
  .cw-checkout-modal {
    padding: 0;
  }
  .cw-checkout-modal .modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .cw-checkout-modal .modal-header,
  .cw-checkout-modal .modal-body,
  .cw-checkout-modal .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .step-cart-review .cart-item {
    flex-wrap: wrap;
  }
  .step-cart-review .cart-item .item-quantity {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
}
.coupon-section {
  padding: 0 20px;
  margin-bottom: 16px;
}

.coupon-input-row {
  display: flex;
  gap: 8px;
}

.coupon-code-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
}
.coupon-code-input:disabled {
  background: #f5f5f5;
  color: #666;
}

.coupon-apply-btn {
  white-space: nowrap;
}
.coupon-apply-btn.coupon-remove {
  color: #b32d2e;
}

.coupon-message {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.coupon-message.coupon-error {
  color: #b32d2e;
}

.coupon-message.coupon-success {
  color: #00a32a;
}

.summary-coupon-discount {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
  color: #00a32a;
  font-weight: 500;
}/*# sourceMappingURL=checkout-modal.css.map */