.whb-transactional-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 12px 0;
    font-family: var(--wd-header-font, inherit);
}

.whb-transactional-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.whb-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.whb-col-left {
    flex: 0 0 350px;
    display: flex;
    justify-content: flex-start;
}

.whb-col-center {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.whb-col-right {
    flex: 0 0 350px;
    display: flex;
    justify-content: flex-end;
}

.center-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.chosa-logo-img {
    width: 140px;
    height: auto;
    max-height: 28px;
    display: block;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ccc;
    color: #888;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-label {
    color: #888;
    transition: all 0.3s ease;
}

.step-separator {
    width: 40px;
    height: 2px;
    background-color: #eaeaea;
}

/* Step Active State */
.step.step-active .step-num {
    border-color: #333333;
    background-color: #333333;
    color: #ffffff;
}

.step.step-active .step-label {
    color: #333333;
    font-weight: 700;
}

/* Step Completed State */
.step.step-completed .step-num {
    border-color: #2e7d32;
    background-color: #2e7d32;
    color: #ffffff;
}

.step.step-completed .step-label {
    color: #2e7d32;
}

.step-check-icon {
    width: 14px;
    height: 14px;
    color: #ffffff;
}


.header-trustmate-widget {
    min-height: 22px;
}

/* TrustMate Widget Layout Reset (Prevent full-width sticky/fixed overlay) */
.header-trustmate-widget .tm-bee {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: max-content !important;
    display: block !important;
    z-index: 1 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-trustmate-widget .tm-bee__sticker {
    padding: 0 !important;
    height: auto !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
    gap: 8px !important;
}

.header-trustmate-widget .tm-bee__rating {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
    gap: 4px !important;
}

.header-trustmate-widget .tm-bee__grade {
    font-size: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__grade-text {
    font-size: 11px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__stars {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(2px) !important; /* Visually align stars down */
}

.header-trustmate-widget .tm-bee__star {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-trustmate-widget .tm-bee__star img {
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__reviews {
    font-size: 11px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__divider {
    align-self: center !important;
    margin: 0 4px !important;
    padding: 0 !important;
    height: 12px !important;
    transform: translateY(1px) !important; /* Visually align divider down */
}

.header-trustmate-widget .tm-bee__powered {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(1px) !important; /* Visually align text down */
}

.header-trustmate-widget .tm-bee__powered-text {
    font-size: 11px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header-trustmate-widget .tm-bee__powered-logo {
    height: 14px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.trust-badge-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-badge, .support-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.trust-icon, .phone-icon {
    width: 15px;
    height: 15px;
    color: #666;
}

.support-phone {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-phone:hover {
    color: #2e7d32;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .step-label {
        font-size: 13px;
    }
    .step-separator {
        width: 25px;
    }
}

@media (max-width: 768px) {
    .whb-col-left, .whb-col-right {
        display: none !important;
    }
    .checkout-steps {
        display: none !important;
    }
    .whb-col-center {
        width: 100% !important;
        flex: 1 1 100% !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .center-logo-container {
        margin-bottom: 0 !important;
    }
}

/* Override default Woodmart heights, TrustMate, and sticky offsets to collapse empty spaces */
html,
body,
body.whb-sticky-prepared,
.website-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.whb-transactional-header .whb-row,
.whb-transactional-header .whb-main-header {
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
}

.whb-transactional-header .whb-col {
    height: auto !important;
    min-height: 0 !important;
    align-items: center !important;
}

/* Collapse any dynamic or static header spacers */
.header-spacer,
.whb-header-spacer,
.whb-sticky-placeholder {
    display: none !important;
    height: 0 !important;
}

/* Reduce top padding on the main page content wrapper */
.main-page-wrapper {
    padding-top: 15px !important;
}

/* Hide empty page title containers */
.page-title,
.wd-page-title {
    display: none !important;
}
