/* Shopping Cart Components - Vue/Inertia */
/* Pure CSS implementation for Vue shopping cart components */
/* Replaces Tailwind classes in Vue components */

/* === CART CONTAINER === */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === CART HEADER === */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.cart-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.cart-subtitle {
  color: #6b7280;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-gray {
  background-color: #6b7280;
  color: white;
}

.btn-gray:hover {
  background-color: #4b5563;
}

.btn-red {
  background-color: #ef4444;
  color: white;
}

.btn-red:hover {
  background-color: #dc2626;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-green {
  background-color: #10b981;
  color: white;
}

.btn-green:hover {
  background-color: #059669;
}

/* === CART LAYOUT === */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* === CART ITEMS SECTION === */
.cart-items-section {
  display: flex;
  flex-direction: column;
}

.cart-items-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.cart-items-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
}

/* === CART ITEM === */
.cart-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem;
}

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

.item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.item-image {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.item-details {
  flex: 1;
  min-width: 0;
}

.creator-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.creator-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.creator-name {
  font-size: 0.875rem;
  color: #6b7280;
}

.verified-badge {
  color: #3b82f6;
  font-size: 0.75rem;
}

.item-name {
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.sku {
  color: #6b7280;
}

.stock-warning {
  color: #f59e0b;
}

/* === QUANTITY CONTROLS === */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.quantity-btn {
  padding: 0.25rem;
  background-color: #f3f4f6;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover:not(:disabled) {
  background-color: #e5e7eb;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-display {
  width: 3rem;
  text-align: center;
  font-weight: 500;
}

/* === ITEM PRICE === */
.item-price {
  text-align: right;
  flex-shrink: 0;
}

.total-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: #10b981;
}

.original-total {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: line-through;
}

.unit-price {
  font-size: 0.875rem;
  color: #6b7280;
}

/* === REMOVE BUTTON === */
.remove-btn {
  padding: 0.5rem;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.remove-btn:hover {
  color: #dc2626;
}

/* === ITEM ACTIONS === */
.item-actions {
  display: flex;
  gap: 1rem;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.action-link:hover {
  color: #1d4ed8;
}

/* === SAVED ITEMS === */
.saved-items-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 2rem;
}

.saved-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

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

.saved-item-image {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.saved-item-details {
  flex: 1;
}

.saved-item-name {
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.saved-item-creator {
  font-size: 0.875rem;
  color: #6b7280;
}

.saved-item-price {
  text-align: right;
  font-weight: 700;
  color: #10b981;
}

.saved-item-actions {
  display: flex;
  gap: 0.5rem;
}

.move-to-cart-btn {
  padding: 0.25rem 0.75rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.move-to-cart-btn:hover {
  background-color: #2563eb;
}

.remove-saved-btn {
  padding: 0.25rem;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.remove-saved-btn:hover {
  color: #dc2626;
}

/* === ORDER SUMMARY === */
.order-summary {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  position: sticky;
  top: 2rem;
}

.summary-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-label {
  color: #6b7280;
}

.summary-value {
  font-weight: 500;
}

.summary-discount {
  color: #10b981;
}

.summary-total {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.total-label {
  color: #1f2937;
}

.total-amount {
  color: #10b981;
}

/* === PROMO SECTION === */
.promo-section {
  margin-bottom: 1.5rem;
}

.promo-input-group {
  display: flex;
  gap: 0.5rem;
}

.promo-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.promo-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.apply-promo-btn {
  padding: 0.5rem 1rem;
  background-color: #6b7280;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.apply-promo-btn:hover:not(:disabled) {
  background-color: #4b5563;
}

.apply-promo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.promo-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.promo-success {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* === CHECKOUT BUTTON === */
.checkout-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-btn:hover {
  background-color: #2563eb;
}

/* === SECURITY INFO === */
.security-info {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* === PAYMENT METHODS === */
.payment-methods {
  margin-top: 1.5rem;
}

.payment-methods-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.payment-icons {
  display: flex;
  gap: 0.5rem;
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-icon.visa {
  color: #1a1f71;
}

.payment-icon.mastercard {
  color: #eb001b;
}

.payment-icon.amex {
  color: #006fcf;
}

.payment-icon.paypal {
  color: #003087;
}

/* === EMPTY STATE === */
.empty-state {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  text-align: center;
}

.empty-icon {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.empty-text {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* === RECOMMENDED PRODUCTS === */
.recommended-products {
  margin-top: 3rem;
}

.recommended-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.recommended-product {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.recommended-product:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recommended-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  cursor: pointer;
}

.recommended-info {
  padding: 1rem;
}

.recommended-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommended-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recommended-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #10b981;
}

.add-recommended-btn {
  padding: 0.25rem 0.75rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.add-recommended-btn:hover {
  background-color: #2563eb;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .cart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .item-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .item-image {
    width: 100%;
    height: 12rem;
  }

  .quantity-controls {
    align-self: center;
  }

  .item-price {
    text-align: left;
    align-self: stretch;
  }

  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .header-actions {
    flex-direction: column;
  }

  .item-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }
}

/* === CHECKOUT SPECIFIC STYLES === */

/* Checkout Header */
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.checkout-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.checkout-subtitle {
  color: #6b7280;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Checkout Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.checkout-main {
  display: flex;
  flex-direction: column;
}

.checkout-sidebar {
  display: flex;
  flex-direction: column;
}

/* Progress Steps */
.step-label {
  font-weight: 500;
}

/* Payment Methods Section */
.payment-methods-section {
  margin-bottom: 1.5rem;
}

.payment-methods-title {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 1rem;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Credit Card Form */
.credit-card-form {
  margin-bottom: 1.5rem;
}

/* Payment Method Display */
.payment-method-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-input {
  margin-right: 0.5rem;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.875rem;
  color: #374151;
}

/* Place Order Button */
.btn-place-order {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-place-order:hover:not(:disabled) {
  background-color: #059669;
}

.btn-place-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Summary Items */
.summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-item-details {
  flex: 1;
}

.summary-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}

.summary-item-quantity {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.summary-item-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

/* Security Info Card */
.security-info-card {
  padding: 1rem;
  background-color: #f0fdf4;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.security-text {
  font-size: 0.75rem;
  color: #15803d;
  margin: 0.5rem 0 0 0;
}

/* === PRODUCT SHOW STYLES === */

/* Product Layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.product-images-section {
  display: flex;
  flex-direction: column;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
}

/* Main Image */
.main-image-container {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 1rem;
}

.main-image-wrapper {
  position: relative;
}

.main-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.product-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.type-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  color: white;
}

.type-badge.physical {
  background-color: #10b981;
}

.type-badge.digital {
  background-color: #3b82f6;
}

.type-badge.custom {
  background-color: #8b5cf6;
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.price-badge-text {
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  background-color: #10b981;
  color: white;
  border-radius: 9999px;
}

/* Thumbnail Grid */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.thumbnail-wrapper {
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: border-color 0.2s ease;
}

.thumbnail-wrapper:hover {
  border-color: #d1d5db;
}

.thumbnail-wrapper.thumbnail-active {
  border-color: #3b82f6;
}

.thumbnail-image {
  width: 100%;
  height: 5rem;
  object-fit: cover;
}

/* Description Card */
.description-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.description-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.description-content {
  max-width: none;
  color: #374151;
  line-height: 1.6;
}

/* Tags Card */
.tags-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.tags-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Product Info Card */
.product-info-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

/* Creator Section */
.creator-section {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.creator-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.creator-details {
  flex: 1;
}

.creator-name {
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.creator-username {
  color: #6b7280;
  margin: 0;
}

.btn-secondary {
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-row.box-contents {
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.detail-row.box-contents .detail-label {
  margin-bottom: 0.5rem;
}

.detail-label {
  color: #6b7280;
}

.detail-value {
  font-weight: 600;
}

.price-value {
  font-size: 1.125rem;
}

.stock-available {
  color: #10b981;
}

.stock-unavailable {
  color: #ef4444;
}

/* Responsive Design for Product Show */
@media (max-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .creator-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .creator-avatar {
    margin-right: 0;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Checkout Progress */
.checkout-progress {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: between;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-step.active {
  color: #3b82f6;
}

.progress-step.inactive {
  color: #9ca3af;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.step-number.active {
  background-color: #3b82f6;
  color: white;
}

.step-number.inactive {
  background-color: #d1d5db;
  color: #6b7280;
}

.step-number.completed {
  background-color: #10b981;
  color: white;
}

.progress-line {
  flex: 1;
  height: 1px;
  margin: 0 1rem;
}

.progress-line.active {
  background-color: #3b82f6;
}

.progress-line.inactive {
  background-color: #d1d5db;
}

/* Form Sections */
.form-section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-header {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-grid.two-columns {
  grid-template-columns: 1fr 1fr;
}

.form-grid.three-columns {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Form Fields */
.form-field {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Payment Methods */
.payment-method-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
  margin-bottom: 0.75rem;
}

.payment-method-option:hover {
  border-color: #3b82f6;
}

.payment-method-option.selected {
  border-color: #3b82f6;
  background-color: #eff6ff;
}

.payment-method-radio {
  margin-right: 0.75rem;
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-method-icon {
  font-size: 1.25rem;
}

.payment-method-details h4 {
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}

.payment-method-details p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
}

.btn-back {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background-color: #d1d5db;
  color: #374151;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-back:hover {
  background-color: #9ca3af;
}

.btn-next {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-next:hover:not(:disabled) {
  background-color: #2563eb;
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Order Review */
.review-section {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.review-header {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.review-content {
  color: #6b7280;
  line-height: 1.5;
}

.edit-link {
  color: #3b82f6;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 0.5rem;
  display: inline-block;
}

.edit-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Order Items */
.order-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.order-item-image {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.order-item-details {
  flex: 1;
}

.order-item-name {
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.order-item-creator {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.25rem 0;
}

.order-item-quantity {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.order-item-price {
  text-align: right;
  font-weight: 700;
  color: #1f2937;
}

/* Security Badge */
.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;
  font-size: 0.875rem;
}

/* Responsive Checkout */
@media (max-width: 768px) {
  .form-grid.two-columns,
  .form-grid.three-columns {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .order-item {
    flex-direction: column;
    text-align: center;
  }

  .order-item-image {
    width: 100%;
    height: 8rem;
  }

  .order-item-price {
    text-align: center;
  }
}