.checkout-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 30px 20px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.checkout-stepper-track {
    position: absolute;
    top: 45px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.checkout-stepper-progress {
    height: 100%;
    background: var(--main-blue, #1B4C8E);
    width: 0%;
    transition: width 0.4s ease;
}

.checkout-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    cursor: default;
}

.checkout-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.checkout-step-item.active .checkout-step-circle {
    background: var(--main-blue, #1B4C8E);
    color: #fff;
    box-shadow: 0 2px 8px rgba(27, 76, 142, 0.4);
}

.checkout-step-item.completed .checkout-step-circle {
    background: #28a745;
    color: #fff;
}

.checkout-step-label {
    margin-top: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-step-item.active .checkout-step-label {
    color: var(--main-blue, #1B4C8E);
    font-weight: bold;
}

.checkout-step-item.completed .checkout-step-label {
    color: #28a745;
}

/* Panels */
.checkout-panel {
    display: none;
    background: #fff;
    /* border-radius: 12px; */
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
    animation: fadeInPanel 0.3s ease;
}

.checkout-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkout-panel-title {
    background: var(--main-blue, #1B4C8E);
    color: #fff;
    padding: 16px 24px;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.checkout-panel-title i {
    margin-right: 8px;
}

.checkout-panel-body {
    padding: 24px;
}

.checkout-panel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Product Summary */
.checkout-product-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.checkout-product-img {
    flex-shrink: 0;
    width: 120px;
}

.checkout-product-img img {
    width: 100%;
    border-radius: 8px;
}

.checkout-product-name {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 20px;
    color: var(--main-blue, #1B4C8E);
    font-weight: bold;
}

.checkout-product-brand {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #969696;
    margin-top: 4px;
}

.checkout-product-price {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 28px;
    color: var(--main-red, #F20524);
    font-weight: bold;
    margin-top: 8px;
}

/* Promo Gift */
.checkout-promo-gift {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-top: 16px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.checkout-promo-gift-icon {
    font-size: 24px;
    color: #28a745;
}

.checkout-promo-gift-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.checkout-promo-gift-tag {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 12px;
    color: #28a745;
    font-weight: bold;
    text-transform: uppercase;
}

/* Totals */
.checkout-totals {
    margin-top: 20px;
    padding-top: 16px;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    color: #5A5A5A;
}

.checkout-totals-total {
    border-top: 2px solid var(--main-blue, #1B4C8E);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: bold;
    font-size: 18px;
    color: var(--main-blue, #1B4C8E);
}

/* Buttons */
.btn-checkout-next {
    background: var(--main-blue, #1B4C8E);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-checkout-next:hover {
    background: #153d72;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 76, 142, 0.3);
}

.btn-checkout-back {
    background: transparent;
    color: #969696;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-checkout-back:hover {
    background: #f5f5f5;
    color: #5A5A5A;
}

.btn-checkout-submit {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-checkout-submit:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-checkout-submit i {
    margin-right: 6px;
}

/* Delivery Options */
.checkout-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.checkout-delivery-option:hover {
    border-color: var(--main-blue, #1B4C8E);
    background: #f8fbff;
}

.checkout-delivery-option.selected {
    border-color: var(--main-blue, #1B4C8E);
    background: #f0f6ff;
}

.checkout-delivery-option-shipping.selected {
    border-color: var(--main-red, #F20524);
    background: #fff5f5;
}

.checkout-delivery-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    transition: all 0.2s ease;
}

.checkout-delivery-option.selected .checkout-delivery-check {
    background: var(--main-blue, #1B4C8E);
    border-color: var(--main-blue, #1B4C8E);
    color: #fff;
}

.checkout-delivery-option-shipping.selected .checkout-delivery-check {
    background: var(--main-red, #F20524);
    border-color: var(--main-red, #F20524);
}

.checkout-delivery-icon {
    font-size: 24px;
    color: var(--main-blue, #1B4C8E);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkout-delivery-title {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.checkout-delivery-subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #969696;
    margin-top: 2px;
}

.checkout-delivery-detail {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin-top: 4px;
}

.checkout-delivery-express {
    color: #28a745;
    font-weight: bold;
}

.checkout-delivery-express i {
    color: #ffc107;
}

/* Shipping Calculator (inside delivery option card) */
.checkout-shipping-calc {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #ffe082;
    cursor: default;
}

.checkout-shipping-calc-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin-bottom: 10px;
    font-weight: 600;
}

.checkout-shipping-calc-title i {
    color: var(--main-red, #F20524);
    margin-right: 5px;
}

.checkout-shipping-calc-row {
    display: flex;
    gap: 8px;
}

.checkout-shipping-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s;
}

.checkout-shipping-input:focus {
    border-color: var(--main-blue, #1B4C8E);
    outline: none;
}

.btn-checkout-calc {
    background: var(--main-blue, #1B4C8E);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-checkout-calc:hover {
    background: #153d72;
}

.checkout-shipping-calc-result-text {
    margin-top: 10px;
    padding: 10px 14px;
    background: #e8f5e9;
    border-radius: 6px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #2e7d32;
}

.checkout-shipping-calc-result-text i {
    margin-right: 5px;
}

.checkout-shipping-calc-result-text small {
    color: #666;
    font-weight: normal;
}

/* Form Fields */
.checkout-form-section {
    margin-bottom: 24px;
}

.checkout-form-section-title {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 16px;
    color: var(--main-blue, #1B4C8E);
    font-weight: bold;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--main-blue, #1B4C8E);
}

.checkout-field {
    margin-bottom: 14px;
}

.checkout-field label {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin-bottom: 4px;
    font-weight: 600;
}

.checkout-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.checkout-input:focus {
    border-color: var(--main-blue, #1B4C8E);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 76, 142, 0.1);
}

.checkout-error {
    color: #dc3545;
    font-size: 12px;
    font-family: 'Ubuntu', sans-serif;
    display: block;
    margin-top: 4px;
}

/* Confirmation Step */
.checkout-confirm-section {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.checkout-confirm-label {
    width: 180px;
    flex-shrink: 0;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 14px;
    color: #969696;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-confirm-value {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    color: #333;
}

.checkout-confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background: #f0f6ff;
    border-radius: 10px;
    border: 2px solid var(--main-blue, #1B4C8E);
}

.checkout-confirm-total-label {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 18px;
    color: var(--main-blue, #1B4C8E);
    font-weight: bold;
}

.checkout-confirm-total-value {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 32px;
    color: var(--main-red, #F20524);
    font-weight: bold;
}

.checkout-confirm-disclaimer {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff3cd;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #856404;
}

.checkout-confirm-disclaimer i {
    margin-right: 6px;
}

.checkout-confirm-security {
    margin-top: 16px;
    text-align: right;
}

/* Contact */
.checkout-contact {
    text-align: center;
    padding: 20px;
    margin-top: 10px;
}

.checkout-contact-title {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 14px;
    color: #969696;
    margin-bottom: 8px;
}

.checkout-contact-data {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #5A5A5A;
}

.checkout-contact-data i {
    margin-right: 4px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .checkout-stepper { padding: 20px 10px 30px; }
    .checkout-stepper-track { left: 40px; right: 40px; }
    .checkout-step-circle { width: 32px; height: 32px; font-size: 14px; }
    .checkout-step-label { font-size: 10px; }
    .checkout-panel-body { padding: 16px; }
    .checkout-panel-actions { flex-direction: column; gap: 10px; }
    .btn-checkout-next,
    .btn-checkout-back,
    .btn-checkout-submit { width: 100%; text-align: center; margin-left: 0; }
    .checkout-product-summary { flex-direction: column; text-align: center; }
    .checkout-product-img { width: 80px; }
    .checkout-product-price { font-size: 24px; }
    .checkout-delivery-option { padding: 14px; }
    .checkout-confirm-section { flex-direction: column; }
    .checkout-confirm-label { width: 100%; margin-bottom: 4px; }
    .checkout-confirm-total { flex-direction: column; text-align: center; gap: 8px; }
    .checkout-confirm-total-value { font-size: 26px; }
}

/* Step 2 - Summary */
.checkout-step2-summary {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.checkout-step2-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #5A5A5A;
}

.checkout-step2-summary-total {
    border-top: 2px solid var(--main-blue, #1B4C8E);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: bold;
    font-size: 18px;
    color: var(--main-blue, #1B4C8E);
}

.checkout-free-shipping {
    color: #28a745;
    font-weight: bold;
    text-transform: uppercase;
}

/* Disabled next button */
.btn-checkout-next-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .checkout-step2-summary { padding: 12px 14px; }
    .checkout-step2-summary-total { font-size: 16px; }
    .checkout-shipping-calc-wrapper { padding: 12px 14px; }
}
