@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
* {margin: 0;padding: 0;box-sizing: border-box;}
.loading-overlay {display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.7);z-index: 9999;justify-content: center;align-items: center;flex-direction: column;}
.loading-spinner {border: 4px solid #f3f3f3;border-top: 4px solid #0a1f7f; border-radius: 50%;width: 50px;height: 50px;animation: spin 1s linear infinite;}
@keyframes spin { 0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
.loading-text {color: white;margin-top: 20px;font-size: 18px;}
.error-message { background: #ffebee;color: #c62828;padding: 10px;border-radius: 5px;margin-bottom: 15px;display: none;}
.discount-row {display: flex;justify-content: space-between;padding: 10px 0;border-top: 1px solid #eee;color: #28a745;}
body {font-family: "Josefin Sans", sans-serif;padding: 2rem 1.5rem;line-height: 1.5;min-height: 100vh;}
.checkout-wrapper {max-width: 1320px;margin: 0 auto;background: #ffffff;border-radius: 10px;box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);overflow: hidden;transition: all 0.3s ease;}
.checkout-grid {display: flex;flex-wrap: wrap;}
.checkout-left {flex: 2;min-width: 280px;padding: 20px;background: #fff;}
.checkout-right {flex: 1.2;min-width: 320px;background: linear-gradient(145deg, #fafbfe 0%, #f8f9fc 100%);padding: 20px;border-left: 1px solid rgba(0, 0, 0, 0.05);}
.coupon-section { margin-bottom: 2rem;padding: 20px;background: #f8fafd;border-radius: 10px;display: flex;gap: 12px;flex-wrap: wrap;align-items: flex-end;border: 1px solid #eef2f8;}
.coupon-input-group {flex: 2;min-width: 180px;}
.coupon-input-group label {font-size: 0.7rem;font-weight: 700;text-transform: uppercase; margin-bottom: 0.3rem;display: block;color: #5a6e8a;letter-spacing: 0.5px;}
.coupon-input-group input {padding: 15px;font-size: 0.9rem;border-radius: 6px;}
.apply-coupon-btn {background: #0a1f7f;color: white;border: none;padding: 15px;border-radius: 6px;font-weight: 500;font-size: 0.8rem;cursor: pointer;transition: all 0.2s;margin-bottom: 2px;font-family: "Josefin Sans", sans-serif;}
.apply-coupon-btn:hover {background: #0a1f7f;;transform: translateY(-2px);box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);}
h2 {font-size: 1.8rem;font-weight: 600;margin-bottom: 20px;color: #0a1f7f;letter-spacing: -0.3px;}
.section-title {font-size: 20px;font-weight: 600;margin: 1.8rem 0 1.2rem 0;border-left: 2px solid #0a1f7f;padding-left: 14px;color: #0a1f7f;}
.form-row {margin-bottom: 1.3rem;}
.logo {max-width: 220px;margin: 0 auto;margin-bottom: 30px;}
.logo img {width: 100%;height: 100%;object-fit: contain;}
.form-row.double {display: flex;gap: 1.2rem;flex-wrap: wrap;}
.form-row.double .form-group {flex: 1;min-width: 140px;}
.phone-group {display: flex;gap: 12px;align-items: center;flex-wrap: wrap;}
.country-code {width: 100px;flex-shrink: 0;}
.phone-number {flex: 1;}
label {font-size: 14px;font-weight: 500;letter-spacing: 0.1px;text-transform: uppercase;display: block;margin-bottom: 0.5rem;color: #000;}
input, select, textarea {width: 100%;padding: 16px;font-size: 0.9rem;border: 1.5px solid #e2e8f0;border-radius: 6px;background: #fff;transition: all 0.2s;font-family: "Josefin Sans", sans-serif;}
textarea{resize:none; height:150px;}
input:focus, select:focus, textarea:focus {outline: none;border-color: #0a1f7f;box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);}
.form-row select {appearance: none;-webkit-appearance: none;-moz-appearance: none;position: relative;}
.form-row.type2{position: relative;}
.form-row:after {content: ""; position: absolute;right: 12px;top: 53px;transform: translateY(-50%);pointer-events: none;font-size: 14px;color: #333;width: 20px;height: 20px;background-image: url('./files/arrow.png');background-size: contain;}
.order-summary {background: #fff;border-radius: 6px;border: 1px solid #eef2f8;overflow: hidden;margin-bottom: 2rem;box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.02);}
.order-item {display: flex;justify-content: space-between;padding: 1.2rem 1.2rem;border-bottom: 1px solid #f0f4fa;font-size: 0.95rem;}
.order-item .item-name {font-weight: 600;color: #0a1f7f;}
.order-item .item-price {font-weight: 600;color: #1e2a36;}
.order-total-row {display: flex;justify-content: space-between;padding: 1.2rem 1.2rem;font-weight: 600;background: #bac6ff3b;border-top: 2px solid #0a1f7f;font-size: 1.1rem;}
.payment-option input{display:none;}
.currency-field{position: relative;}
.subtotal-row {display: flex;justify-content: space-between;padding: 1rem 1.2rem;background: #fff;color: #5a6e8a;border-bottom: 1px solid #f0f4fa;}
.discount-row {display: flex;justify-content: space-between;padding: 0.8rem 1.2rem;background: #f0f9f0;color: #2d6a4f;font-size: 0.85rem;border-bottom: 1px solid #e0f0e0;}
.payment-methods {margin: 1.5rem 0 1.5rem 0;}
.payment-option {background: #fff;border: 1px solid #eef2f8;border-radius: 10px;margin-bottom: 10px;padding: 1rem 1.2rem;transition: all 0.2s;cursor: pointer;}
.payment-option:hover {border-color: #0a1f7f;;transform: translateX(4px);box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);}
.payment-option.selected {border-color: #0a1f7f;}
.payment-option label {text-transform: none;font-weight: 600;font-size: 20px;cursor: pointer;color: #0a1f7f;letter-spacing: normal;line-height: 1;margin-bottom: 5px;}
.payment-icon {font-size: 1.4rem;margin-right: 8px;vertical-align: middle;width: 190px;height: 40px;margin-bottom: 15px;}
.payment-icon img {width: 100%;height: 100%;object-fit: contain;object-position: left;}
.payment-desc {font-size: 14px;font-weight: normal;color: #222324;line-height: 1;}
.privacy-note {font-size: 14px;color: #696b6a;margin: 1.2rem 0;padding: 0px 10px;background: #f8fafd;border-radius: 16px;line-height: 1.2;}
.review-check {margin: 1.2rem 0 1.5rem;display: flex;align-items: flex-start;gap: 12px;}
.review-check input {width: 18px;height: 18px; margin-top: 3px;accent-color: #0a1f7f;}
.place-order-btn {width: 100%;background: #0a1f7f;color: white;border: none;padding: 1rem;font-size: 14px;font-weight: 500;text-transform: uppercase;letter-spacing: 1.5px;border-radius: 6px;cursor: pointer;transition: all 0.3s;margin-top: 0.5rem;font-family: "Josefin Sans", sans-serif;}
.place-order-btn:hover {background: #0a1f7f;;transform: translateY(-2px);}
.state-hint {font-size: 0.65rem;margin-top: 5px;color: #8ba0bc;}
.amount-currency-row {display: flex;gap: 1rem;flex-wrap: wrap; position: relative;}
.amount-field {flex: 2;}
.currency-field {flex: 1;}
.badge {font-size: 0.7rem;background: #eef2ff;padding: 0.2rem 0.6rem;border-radius: 20px;color: #0a1f7f;}