/* ===================================
   ULTRA-MINIMAL CHECKOUT
   Black. Simple. Fast.
   =================================== */

/* Full screen black modal */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Container */
.checkout-container {
  width: 100%;
  max-width: 500px;
  padding: 40px 20px;
  text-align: center;
}

/* Close button */
.checkout-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.checkout-close:active {
  color: rgba(255, 255, 255, 0.8);
}

/* Mockup */
.mockup-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 40px;
  position: relative;
}

.mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.3);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
}

/* Size selector */
.size-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.size-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.size-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

.size-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Price */
.checkout-price {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 300;
}

/* Buy button */
.buy-button {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 16px 60px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.buy-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.buy-button:active {
  transform: scale(0.98);
}

.buy-button.loading {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  cursor: wait;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .checkout-container {
    padding: 60px 20px 40px;
  }

  .mockup-container {
    max-width: 300px;
  }

  .checkout-price {
    font-size: 20px;
  }

  .buy-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Hide everything else */
.checkout-overlay,
.checkout-header,
.checkout-content,
.product-details,
.color-selector,
.product-info,
.payment-section {
  display: none !important;
}