.stepper { background: #fff; border-bottom: 1px solid rgba(14,40,65,.07); padding: 20px 0; position: sticky; top: 72px; z-index: 100; }
.stepper__steps { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 700px; margin: 0 auto; padding: 0 24px; }
.step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.step__circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: 0 0 32px; transition: background .25s; }
.step--done .step__circle { background: var(--opeq-green-deep); color: #fff; }
.step--active .step__circle { background: var(--opeq-blue); color: #fff; box-shadow: 0 0 0 4px rgba(40,170,222,.2); }
.step--pending .step__circle { background: rgba(14,40,65,.08); color: rgba(14,40,65,.3); }
.step__label { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step--done .step__label { color: var(--opeq-green-deep); }
.step--active .step__label { color: var(--opeq-blue); }
.step--pending .step__label { color: rgba(14,40,65,.3); }
.step-connector { flex: 1; height: 2px; max-width: 40px; border-radius: 2px; transition: background .25s; }
.step-connector--done { background: var(--opeq-green-deep); }
.step-connector--pending { background: rgba(14,40,65,.1); }
@media (max-width: 480px) { .step__label { display: none; } }

/* MAIN LAYOUT */
.checkout-main { padding: 48px 0 96px; }
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 380px; align-items: start; } }

/* CHECKOUT STEPS (left) */
.step-panel { display: none; }
.step-panel.active { display: block; }
.panel-card { background: #fff; border-radius: 20px; box-shadow: 0 2px 14px rgba(14,40,65,.08); margin-bottom: 16px; overflow: hidden; }
.panel-card__header { padding: 24px 28px; border-bottom: 1px solid rgba(14,40,65,.07); }
.panel-card__title { font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; color: var(--opeq-navy); }
.panel-card__sub { font-size: 14px; color: var(--fg-muted); margin-top: 4px; }
.panel-card__body { padding: 28px; }

/* CART ITEMS */
.cart-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(14,40,65,.07); align-items: flex-start; }
.cart-item:last-of-type { border-bottom: none; }
.cart-item__thumb { width: 80px; height: 60px; border-radius: 12px; background: var(--opeq-cream); display: flex; align-items: center; justify-content: center; flex: 0 0 80px; }
.cart-item__thumb img { width: 52px; height: 52px; object-fit: contain; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 700; font-size: 15px; color: var(--opeq-navy); line-height: 1.3; margin-bottom: 4px; }
.cart-item__spec { font-size: 13px; color: var(--fg-muted); }
.cart-item__price { font-weight: 800; font-size: 16px; color: var(--opeq-navy); text-align: right; flex: 0 0 auto; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(14,40,65,.18); background: #fff; cursor: pointer; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .12s; font-family: var(--font-body); }
.qty-btn:hover { background: var(--opeq-cream); }
.qty-num { font-weight: 700; font-size: 14px; color: var(--opeq-navy); width: 28px; text-align: center; }
.cart-item__delete { background: none; border: none; cursor: pointer; color: rgba(14,40,65,.3); padding: 4px; margin-top: 2px; transition: color .12s; }
.cart-item__delete:hover { color: #c0392b; }

/* CODE PROMO */
.promo-field { display: flex; gap: 10px; margin-top: 20px; }
.promo-field input { flex: 1; padding: 13px 18px; border-radius: 999px; border: 1.5px solid rgba(14,40,65,.15); background: var(--opeq-cream); font-size: 14px; color: var(--fg); transition: border-color .15s; }
.promo-field input:focus { outline: none; border-color: var(--opeq-blue); background: #fff; }
.promo-field .btn { padding: 13px 22px; font-size: 14px; }
.promo-hint { font-size: 13px; color: var(--fg-muted); margin-top: 10px; }

/* FORM FIELDS */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--opeq-navy); }
.form-group input, .form-group select { padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(14,40,65,.15); background: var(--opeq-cream); font-size: 15px; color: var(--fg); transition: border-color .15s, background .15s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--opeq-blue); background: #fff; }

/* GUEST vs LOGIN */
.auth-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.auth-opt { padding: 18px; border-radius: 16px; border: 2px solid rgba(14,40,65,.1); background: var(--opeq-cream); cursor: pointer; text-align: center; transition: border-color .15s; }
.auth-opt:hover { border-color: var(--opeq-blue); }
.auth-opt.selected { border-color: var(--opeq-blue); background: #e7f6fc; }
.auth-opt__title { font-weight: 800; font-size: 15px; color: var(--opeq-navy); margin-bottom: 4px; }
.auth-opt__sub { font-size: 12px; color: var(--fg-muted); }

/* LIVRAISON OPTIONS */
.livraison-opts { display: flex; flex-direction: column; gap: 12px; }
.livraison-opt { padding: 20px 22px; border-radius: 16px; border: 2px solid rgba(14,40,65,.1); background: var(--opeq-cream); cursor: pointer; transition: border-color .15s; display: flex; gap: 14px; align-items: flex-start; }
.livraison-opt:hover { border-color: var(--opeq-blue); }
.livraison-opt.selected { border-color: var(--opeq-blue); background: #e7f6fc; }
.livraison-opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(14,40,65,.2); display: flex; align-items: center; justify-content: center; flex: 0 0 20px; margin-top: 2px; }
.livraison-opt.selected .livraison-opt__radio { border-color: var(--opeq-blue); }
.livraison-opt.selected .livraison-opt__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--opeq-blue); display: block; }
.livraison-opt__title { font-weight: 800; font-size: 15px; color: var(--opeq-navy); margin-bottom: 4px; }
.livraison-opt__desc { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.livraison-opt__delay { font-size: 12px; font-weight: 700; color: var(--opeq-blue); margin-top: 6px; }
.livraison-note { background: #fefbe6; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: #8a7010; margin-top: 14px; }

/* SUMMARY SIDEBAR */
.summary-card { background: #fff; border-radius: 20px; box-shadow: 0 2px 14px rgba(14,40,65,.08); overflow: hidden; position: sticky; top: 140px; }
.summary-card__header { padding: 22px 24px; border-bottom: 1px solid rgba(14,40,65,.07); }
.summary-card__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: uppercase; color: var(--opeq-navy); }
.summary-items { padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid rgba(14,40,65,.07); }
.summary-item { display: flex; justify-content: space-between; font-size: 14px; color: var(--fg-muted); gap: 8px; }
.summary-item strong { color: var(--opeq-navy); }
.summary-total { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(14,40,65,.07); }
.summary-total__label { font-weight: 800; font-size: 16px; color: var(--opeq-navy); }
.summary-total__amount { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--opeq-navy); }
.summary-cta { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.summary-cta .btn { width: 100%; font-size: 16px; padding: 16px; }
.summary-notes { padding: 0 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.summary-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.summary-note svg { flex: 0 0 16px; color: var(--opeq-green-deep); }

/* CONFIRMATION */
.confirm-hero { text-align: center; padding: 64px 0; position: relative; }
.confirm-icon { animation: confirm-pop .55s cubic-bezier(.2,.9,.3,1.5); }
@keyframes confirm-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.next-step { opacity: 0; transform: translateX(-14px); animation: next-step-in .4s ease forwards; }
.next-step:nth-of-type(1) { animation-delay: .25s; }
.next-step:nth-of-type(2) { animation-delay: .45s; }
.next-step:nth-of-type(3) { animation-delay: .65s; }
@keyframes next-step-in { to { opacity: 1; transform: translateX(0); } }
.confirm-charlie { position: absolute; right: 8%; top: 0; width: 110px; height: 110px; opacity: 0; transform: scale(.6) rotate(-8deg); animation: confirm-charlie-in .55s cubic-bezier(.2,.9,.3,1.5) .3s forwards; }
@keyframes confirm-charlie-in { to { opacity: 1; transform: scale(1) rotate(0); } }
@media (max-width: 768px) { .confirm-charlie { display: none; } }
@media (prefers-reduced-motion: reduce) { .confirm-icon, .next-step, .confirm-charlie { animation: none !important; opacity: 1; transform: none; } }
.confirm-hero { text-align: center; padding: 64px 0; }
.confirm-icon { width: 100px; height: 100px; border-radius: 50%; background: #e6f5e0; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.confirm-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px,6vw,72px); color: var(--opeq-navy); text-transform: uppercase; margin-bottom: 8px; }
.confirm-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px,4vw,44px); text-transform: uppercase; color: var(--opeq-navy); margin-bottom: 14px; }
.confirm-sub { font-size: 17px; color: var(--fg-muted); max-width: 480px; margin: 0 auto 36px; line-height: 1.65; }
.next-steps { background: #fff; border-radius: 20px; max-width: 560px; margin: 0 auto; padding: 32px; box-shadow: 0 2px 14px rgba(14,40,65,.08); text-align: left; }
.next-steps__title { font-weight: 800; font-size: 16px; color: var(--opeq-navy); margin-bottom: 20px; }
.next-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(14,40,65,.07); }
.next-step:last-child { border-bottom: none; }
.next-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--opeq-blue); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: 0 0 28px; }
.next-step__text { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.next-step__text strong { color: var(--opeq-navy); display: block; margin-bottom: 2px; }
.confirm-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* PAIEMENT */
.payment-recap { background: var(--opeq-cream); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.payment-recap__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--fg-muted); padding: 6px 0; }
.payment-recap__row strong { color: var(--opeq-navy); }
.payment-recap__total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; color: var(--opeq-navy); padding-top: 12px; border-top: 1px solid rgba(14,40,65,.1); margin-top: 8px; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 2px solid rgba(14,40,65,.1); background: var(--opeq-cream); cursor: pointer; transition: border-color .15s; }
.pay-method.selected { border-color: var(--opeq-blue); background: #e7f6fc; }
.pay-method__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(14,40,65,.2); flex: 0 0 18px; display: flex; align-items: center; justify-content: center; }
.pay-method.selected .pay-method__radio { border-color: var(--opeq-blue); }
.pay-method.selected .pay-method__radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--opeq-blue); display: block; }
.pay-method__label { font-weight: 700; font-size: 14px; color: var(--opeq-navy); }
.terms-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.terms-check input { margin-top: 3px; flex: 0 0 auto; }
.terms-check label { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }
.terms-check a { color: var(--opeq-blue); }

/* FOOTER */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.step-panel.active { animation: fadeIn .2s ease; }

/* Certs band */
.partner-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 140px; }
