/* Checkout Page Styles */
.checkout-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 20px; }

/* Progress Indicator */
.checkout-progress { margin-bottom: 40px; }
.checkout-progress-inner { display: flex; align-items: center; justify-content: center; max-width: 500px; margin: 0 auto; }
.checkout-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.checkout-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--light-gray); color: var(--gray); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; transition: all 0.3s; border: 2px solid transparent; }
.checkout-step-label { font-size: 12px; font-weight: 800; color: var(--gray); }
.checkout-step.active .checkout-step-num { background: var(--pink); color: white; transform: scale(1.1); box-shadow: 0 4px 12px rgba(255, 27, 107, 0.3); }
.checkout-step.active .checkout-step-label { color: var(--black); }
.checkout-step.done .checkout-step-num { background: var(--green); color: white; border-color: var(--green); }
.checkout-step-line { flex: 1; height: 2px; background: var(--light-gray); margin: 0 10px; margin-bottom: 22px; }
.checkout-step-line.done { background: var(--green); }

/* Main Grid */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }

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

/* Banners */
.checkout-whatsapp-banner { background: #E8F9EE; border: 1.5px solid #25D366; padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 16px; }
.checkout-whatsapp-banner div p { margin: 0; }

/* Cards */
.checkout-card { background: white; border: 1px solid var(--light-gray); border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.checkout-section-title { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 28px; letter-spacing: 1px; margin: 0 0 24px 0; border-bottom: 2px solid var(--black); display: inline-block; padding-bottom: 4px; }

/* Forms */
.checkout-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.checkout-form-field { margin-bottom: 20px; }
.checkout-form-field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; color: var(--black); }
.checkout-form-field input, .checkout-form-field select { width: 100%; padding: 14px; border: 1.5px solid var(--light-gray); border-radius: 8px; font-family: inherit; font-size: 15px; transition: all 0.2s; background: var(--cream); }
.checkout-form-field input:focus { border-color: var(--pink); background: white; outline: none; box-shadow: 0 0 0 4px rgba(255, 27, 107, 0.1); }

/* Shipping Selection */
.shipping-method-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 2px solid var(--light-gray); border-radius: 12px; cursor: pointer; transition: all 0.2s; margin-bottom: 12px; position: relative; }
.shipping-method-card:hover { border-color: var(--pink); background: var(--cream); }
.shipping-method-card input[type="radio"] { width: 20px; height: 20px; accent-color: var(--pink); margin: 0; }
.shipping-method-card.selected { border-color: var(--pink); background: #FFF8FA; }
.shipping-method-info { flex: 1; }
.shipping-method-info h4 { margin: 0 0 4px 0; font-size: 15px; font-weight: 800; }
.shipping-method-info p { margin: 0; font-size: 12px; color: var(--gray); }
.shipping-method-price { font-weight: 900; font-size: 16px; color: var(--black); }

/* Sidebar / Order Summary */
.checkout-sidebar { position: sticky; top: 120px; align-self: start; }
.order-review-card { background: var(--cream); border: 2px solid var(--black); border-radius: 16px; padding: 32px; }
.order-review-card h3 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 24px; margin: 0 0 20px 0; }

.order-items-summary { margin-bottom: 24px; }
.order-item-mini { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; }
.order-item-mini-img { width: 50px; height: 65px; border-radius: 4px; overflow: hidden; background: white; }
.order-item-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-mini-info { flex: 1; min-width: 0; }
.order-item-mini-info h4 { margin: 0; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-mini-info p { margin: 0; font-size: 11px; color: var(--gray); }

.checkout-place-order-btn { width: 100%; padding: 20px; background: var(--black); color: white; border: none; font-family: inherit; font-size: 18px; font-weight: 900; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; border-radius: 10px; margin-top: 24px; }
.checkout-place-order-btn:hover { background: var(--pink); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 27, 107, 0.4); }

/* Payment Methods */
.wc_payment_methods { list-style: none; padding: 0; margin: 20px 0 0 0; }
.payment_method_input { display: none; }
.payment_box { background: #f0f0f0; padding: 15px; border-radius: 8px; margin-top: 10px; font-size: 13px; border: 1px solid var(--light-gray); }

/* WooCommerce Native Overrides */
.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: 15px; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 24px; }

/* Responsive */
@media (max-width: 968px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; order: -1; }
  .checkout-form-row-2 { grid-template-columns: 1fr; }
  .checkout-card { padding: 20px; }
}

/* Thank You Page Styles */
.thank-you-wrap { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.thank-you-banner { background: linear-gradient(135deg, var(--green) 0%, #1E7E34 100%); color: white; padding: 60px 32px; text-align: center; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2); }
.thank-you-banner.failed { background: linear-gradient(135deg, var(--red) 0%, #a71d2a 100%); }
.banner-icon { width: 80px; height: 80px; background: white; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; margin: 0 auto 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.thank-you-banner.failed .banner-icon { color: var(--red); }
.thank-you-banner h1 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 48px; margin: 0 0 12px 0; letter-spacing: -1px; }

.whatsapp-confirmation { background: rgba(0,0,0,0.2); padding: 16px 24px; border-radius: 12px; display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; backdrop-filter: blur(5px); }
.whatsapp-confirmation .icon { font-size: 24px; }
.whatsapp-confirmation p { margin: 0; font-size: 13px; font-weight: 700; text-align: right; line-height: 1.4; }

.order-number-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 12px 24px; border-radius: 8px; margin-top: 24px; font-size: 14px; font-weight: 700; border: 1px solid rgba(255,255,255,0.3); }
.order-number-badge strong { color: var(--yellow); font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 20px; letter-spacing: 2px; margin-right: 8px; }

.thank-you-card { background: white; border-radius: 16px; padding: 32px; margin-bottom: 24px; border: 1px solid var(--light-gray); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.thank-you-card h2 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 24px; margin: 0 0 8px 0; }
.status-subtitle { color: var(--gray); font-size: 13px; margin-bottom: 30px; }

/* Tracker */
.tracker-steps { display: flex; justify-content: space-between; position: relative; padding-top: 20px; }
.tracker-line { position: absolute; top: 45px; left: 10%; right: 10%; height: 4px; background: var(--light-gray); z-index: 0; }
.tracker-progress { position: absolute; top: 45px; right: 10%; height: 4px; background: var(--green); z-index: 1; }
.tracker-step { flex: 1; text-align: center; position: relative; z-index: 2; }
.step-circle { width: 50px; height: 50px; border-radius: 50%; background: white; border: 4px solid var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 12px; transition: all 0.3s; }
.tracker-step.active .step-circle { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 15px rgba(255, 27, 107, 0.2); }
.tracker-step h4 { font-size: 13px; font-weight: 800; margin: 0 0 4px 0; }
.tracker-step p { font-size: 11px; color: var(--gray); margin: 0; }

/* WhatsApp Card */
.whatsapp-support-card { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; padding: 24px; border-radius: 16px; display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.wa-icon { font-size: 40px; }
.wa-info { flex: 1; }
.wa-info h4 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 22px; margin: 0 0 4px 0; }
.wa-info p { margin: 0; font-size: 13px; opacity: 0.9; }
.wa-btn { background: white; color: #128C7E; padding: 12px 20px; border-radius: 8px; font-weight: 800; text-decoration: none; font-size: 13px; white-space: nowrap; }

/* Quick Actions */
.actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.action-btn { padding: 14px; border-radius: 8px; border: 2px solid var(--black); background: white; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; text-align: center; text-decoration: none; color: var(--black); transition: all 0.2s; }
.action-btn:hover { background: var(--black); color: white; }
.action-btn.wa-btn-green { border-color: #25D366; color: #128C7E; }
.action-btn.wa-btn-green:hover { background: #25D366; color: white; }

/* Share Experience */
.share-experience { text-align: center; background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%); color: white; border: none; }
.share-btns { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.share-btn { padding: 10px 24px; border-radius: 30px; background: white; text-decoration: none; font-size: 12px; font-weight: 800; color: var(--purple); }

/* Order Summary Item */
.order-summary-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--light-gray); align-items: center; }
.item-img { aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; background: var(--cream); }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-info .name { font-size: 14px; font-weight: 800; margin: 0 0 4px 0; }
.item-info .qty-meta { font-size: 12px; color: var(--gray); margin: 0; }
.item-total { font-weight: 800; }

.order-totals-summary { margin-top: 20px; padding-top: 20px; border-top: 2px solid var(--black); }
.continue-shopping { text-align: center; padding: 20px 0 60px; }

