.checkout-container{max-width:1100px;margin:0 auto;padding:36px 24px 80px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;min-height:100vh;background:#f8fafc}.checkout-header{text-align:center;margin-bottom:40px}.checkout-header h1{font-size:1.6rem;font-weight:700;color:#0f172a;margin:0 0 28px;letter-spacing:-.02em}.progress-bar{justify-content:center;max-width:480px;margin:0 auto}.progress-bar,.progress-step{display:flex;align-items:center}.progress-step{flex-direction:column;gap:6px;z-index:1}.step-circle{width:36px;height:36px;border-radius:50%;background:#e2e8f0;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;transition:all .25s;border:2px solid transparent}.progress-step.active .step-circle{background:#0f4c75;color:#fff;border-color:#fff;box-shadow:0 0 0 3px rgba(15,76,117,.2)}.progress-step.done .step-circle{background:#16a34a;color:#fff;border-color:#fff}.progress-step span{font-size:.78rem;font-weight:600;color:#94a3b8;transition:color .25s}.progress-step.active span{color:#0f4c75}.progress-step.done span{color:#16a34a}.progress-line{flex:1 1;height:2px;background:#e2e8f0;transition:background .25s;min-width:60px;max-width:120px}.progress-line.active{background:#0f4c75}.progress-line.done{background:#16a34a}.checkout-grid{display:grid;grid-template-columns:1fr 340px;grid-gap:24px;gap:24px;align-items:start}.checkout-forms{display:flex;flex-direction:column;gap:16px}.checkout-form-section{background:#fff;padding:28px;border-radius:14px;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:border-color .2s}.checkout-form-section.completed{background:#fff;border-color:#bbf7d0}.form-section-header{display:flex;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #f1f5f9}.step-badge{width:30px;height:30px;border-radius:50%;background:#0f4c75;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex-shrink:0}.step-badge.done{background:#16a34a}.form-section-header h2{margin:0;font-size:1rem;color:#0f172a;font-weight:700;flex:1 1}.edit-btn{padding:5px 14px;background:transparent;border:1.5px solid #0f4c75;border-radius:7px;color:#0f4c75;font-weight:600;cursor:pointer;font-size:.8rem;font-family:inherit;transition:all .15s}.edit-btn:hover{background:#0f4c75;color:#fff}.form-group{margin-bottom:16px}.form-group label{display:block;font-weight:600;color:#374151;margin-bottom:6px;font-size:.82rem}.form-group input,.form-group select{width:100%;padding:10px 13px;border-radius:8px;border:1.5px solid #e2e8f0;font-size:.9rem;outline:none;background:#fff;color:#0f172a;font-family:inherit;box-sizing:border-box;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-group input:focus,.form-group select:focus{border-color:#0f4c75;box-shadow:0 0 0 3px rgba(15,76,117,.1)}.form-group input::placeholder{color:#94a3b8}input[aria-invalid=true],select[aria-invalid=true]{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.08)!important}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.validation-error{display:block;color:#dc2626;font-size:.78rem;margin-top:4px;font-weight:500;animation:ck-shake .3s ease}@keyframes ck-shake{0%,to{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}.completed-info{padding:14px 16px;background:#f0fdf4;border-radius:8px;border:1px solid #bbf7d0}.completed-info p{margin:5px 0;color:#14532d;font-size:.875rem}.completed-info strong{color:#15803d}.shipping-method{margin-top:8px;padding-top:8px;border-top:1px solid #86efac;font-size:.875rem}.checkout-button{width:100%;padding:12px 24px;border:none;border-radius:9px;background:#0f4c75;color:#fff;font-size:.9rem;font-weight:700;cursor:pointer;transition:background .2s,transform .15s;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-family:inherit;letter-spacing:.01em}.checkout-button:hover:not(:disabled){background:#1b6ca8;transform:translateY(-1px)}.checkout-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:ck-spin .65s linear infinite;flex-shrink:0}@keyframes ck-spin{to{transform:rotate(1turn)}}.secure-note{text-align:center;color:#94a3b8;font-size:.78rem;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:5px}.secure-note svg{flex-shrink:0}.payment-error{padding:12px 16px;background:#fee2e2;border-left:3px solid #ef4444;border-radius:8px;color:#991b1b;font-weight:500;font-size:.875rem;margin-top:12px;display:flex;align-items:flex-start;gap:10px;animation:ck-shake .35s ease}.error-icon{font-size:.75rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dc2626;color:#fff;font-weight:700;margin-top:1px}.loading-payment{display:flex;align-items:center;gap:12px;padding:20px 0;color:#64748b;font-size:.9rem}.loading-payment .button-spinner{border-color:#0f4c75 rgba(15,76,117,.2) rgba(15,76,117,.2)}.delivery-mode-toggle{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.delivery-mode-btn{flex:1 1;min-width:140px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;color:#374151;font-size:.85rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.delivery-mode-btn:hover{border-color:#0f4c75;background:#f8fafc}.delivery-mode-btn.active{border-color:#0f4c75;background:#eff6ff;color:#0f4c75}.pickup-info-block{margin:0 0 16px;padding:14px 16px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;font-size:.9rem;color:#166534;line-height:1.5}.pickup-info-block a{color:#0f4c75;font-weight:600}.shipping-options{display:flex;flex-direction:column;gap:10px;margin:20px 0}.shipping-options-label{font-size:.82rem;font-weight:600;color:#374151;margin-bottom:4px;display:block}.shipping-option{display:flex;align-items:center;padding:14px 16px;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:border-color .15s,background .15s}.shipping-option:hover{border-color:#0f4c75;background:#f8fafc}.shipping-option:has(input[type=radio]:checked){border-color:#0f4c75;background:#eff6ff}.shipping-option input[type=radio]{width:17px;height:17px;margin-right:12px;cursor:pointer;accent-color:#0f4c75;flex-shrink:0}.shipping-option-details{display:flex;justify-content:space-between;align-items:center;flex:1 1;gap:12px}.shipping-option-info{display:flex;flex-direction:column;gap:2px}.shipping-service{font-weight:600;color:#0f172a;font-size:.9rem}.shipping-time{font-size:.78rem;color:#64748b}.shipping-price{font-size:1rem;font-weight:700;color:#0f4c75;flex-shrink:0}.checkout-summary{background:#fff;padding:24px;border-radius:14px;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.05);position:-webkit-sticky;position:sticky;top:24px}.checkout-summary h2{margin:0 0 18px;font-size:.95rem;color:#0f172a;font-weight:700;padding-bottom:14px;border-bottom:1px solid #f1f5f9}.summary-items{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.summary-item{justify-content:space-between;padding:10px 0;border-bottom:1px solid #f8fafc}.item-details,.summary-item{display:flex;align-items:center;gap:10px}.item-details{flex:1 1;min-width:0}.item-image{width:48px;height:48px;object-fit:cover;border-radius:7px;background:#f1f5f9;border:1px solid #e2e8f0;flex-shrink:0}.item-details strong{display:block;font-weight:600;color:#0f172a;font-size:.82rem;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.item-quantity{color:#64748b;font-size:.75rem;margin:0}.item-price{font-weight:700;color:#0f172a;font-size:.875rem;flex-shrink:0}.summary-divider{height:1px;background:#f1f5f9;margin:14px 0}.summary-calculations{display:flex;flex-direction:column;gap:9px}.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#64748b}.summary-row strong{color:#0f172a;font-weight:600}.summary-total{margin-top:10px;padding-top:12px;border-top:1px solid #e2e8f0;font-size:.95rem;font-weight:700;color:#0f172a;display:flex;justify-content:space-between;align-items:center}.summary-total strong{color:#0f4c75;font-size:1.1rem}.ck-trust{margin-top:18px;padding-top:16px;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px}.ck-trust-item{gap:8px;font-size:.75rem;color:#64748b;font-weight:500}.ck-trust-icon,.ck-trust-item{display:flex;align-items:center}.ck-trust-icon{color:#0f4c75;flex-shrink:0}.checkout-success{max-width:720px;margin:60px auto;background:#fff;padding:48px 40px;border-radius:16px;box-shadow:0 4px 24px rgba(0,0,0,.08);border:1px solid #e2e8f0;text-align:center;animation:ck-fadeup .5s ease-out}@keyframes ck-fadeup{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.success-icon{width:68px;height:68px;background:#16a34a;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.2rem;margin:0 auto 20px;animation:ck-pop .45s cubic-bezier(.175,.885,.32,1.275)}@keyframes ck-pop{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.checkout-success h2{font-size:1.75rem;margin:0 0 10px;font-weight:800;color:#0f172a}.success-subtitle{font-size:1rem;color:#64748b;margin-bottom:6px}.success-message{font-size:.9rem;color:#64748b;margin-bottom:32px}.order-details-card{background:#f8fafc;padding:24px;border-radius:12px;border:1px solid #e2e8f0;margin:24px 0;text-align:left}.order-details-card h3,.order-details-card h4{color:#0f172a;font-weight:700;margin:0 0 16px;font-size:1rem}.order-details-card h4{font-size:.95rem;margin-top:20px}.order-items{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.success-item{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.item-info strong{display:block;color:#0f172a;font-size:.9rem;margin-bottom:3px}.item-qty{color:#64748b;font-size:.8rem;margin:0}.order-totals{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.total-row{display:flex;justify-content:space-between;padding:7px 0;color:#475569;font-size:.875rem}.grand-total{margin-top:8px;padding-top:12px;border-top:1.5px solid #0f4c75;font-size:1rem;font-weight:700;color:#0f172a}.grand-total span:last-child{color:#0f4c75}.shipping-info{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0}.shipping-info p{margin:4px 0;color:#475569;font-size:.875rem}.success-actions{display:flex;gap:12px;justify-content:center;margin-top:28px;flex-wrap:wrap}.primary-action,.secondary-action{padding:11px 24px;border-radius:9px;font-weight:700;text-decoration:none;transition:all .2s;display:inline-flex;align-items:center;gap:8px;font-size:.875rem}.primary-action{background:#0f4c75;color:#fff}.primary-action:hover{background:#1b6ca8;transform:translateY(-1px)}.secondary-action{background:#fff;color:#0f4c75;border:1.5px solid #0f4c75}.secondary-action:hover{background:#f0f7ff}.checkout-empty{text-align:center;max-width:440px;margin:80px auto;padding:52px 36px;background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 4px 20px rgba(0,0,0,.06)}.empty-icon{width:60px;height:60px;border-radius:50%;background:#eff6ff;color:#0f4c75;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}.checkout-empty h2{font-size:1.3rem;margin:0 0 8px;color:#0f172a;font-weight:700}.checkout-empty p{color:#64748b;margin-bottom:24px;font-size:.9rem}.checkout-empty .checkout-button{width:auto;min-width:200px;margin:0 auto;display:inline-flex}@media (max-width:900px){.checkout-grid{grid-template-columns:1fr}.checkout-summary{position:static;order:-1}}@media (max-width:600px){.checkout-container{padding:20px 14px 60px}.checkout-header h1{font-size:1.35rem}.progress-line{min-width:40px;max-width:80px}.form-row{grid-template-columns:1fr}.checkout-form-section{padding:20px 16px}.checkout-success{padding:32px 20px;margin:32px auto}.success-actions{flex-direction:column}.primary-action,.secondary-action{width:100%;justify-content:center}}