/* ==========================================
   HAPPY ORDERS CHECKOUT STYLES
   ========================================== */

/* Page Wrapper */
.ho-checkout-page-wrapper {
    /* Keep wrapper transparent so it inherits the site/page background */
    background-color: transparent !important;
    color: var(--wp--preset--color--text-main, var(--ho-text-main));
    min-height: 100vh;
    padding: 2.5rem 1rem;
    font-family: var(--ho-font-family);
}

.ho-checkout-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Navigation */
.ho-checkout-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ho-text-muted);
}

.ho-nav-home {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.ho-nav-home:hover {
    color: var(--ho-primary);
}

.ho-nav-separator {
    font-size: 0.75rem;
}

.ho-nav-current {
    color: var(--ho-text-main);
}

/* Form Layout */
.ho-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .ho-checkout-form {
        flex-direction: row;
    }
}

.ho-checkout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ho-checkout-sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .ho-checkout-sidebar {
        width: 400px;
        flex-shrink: 0;
    }
}

/* Header */
.ho-page-header {
    margin-bottom: 2rem;
}

.ho-page-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.ho-page-subtitle {
    color: var(--ho-text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Sections */
.ho-checkout-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ho-section-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ho-step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: var(--ho-primary);
    color: var(--ho-light);
    font-weight: 700;
    font-size: 0.875rem;
}

.ho-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Cards */
.ho-checkout-card {
    background-color: var(--ho-bg-card);
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: var(--ho-radius-xl);
    border: 1px solid var(--ho-border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ho-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

/* Forms */
.ho-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ho-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ho-col-span-2 {
        grid-column: span 2;
    }
}

.ho-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ho-label {
    font-size: 0.875rem;
    font-weight: 600;
}

.ho-optional {
    color: var(--ho-text-muted);
    font-weight: 400;
}

.ho-input {
    height: 3rem;
    padding: 0 1rem;
    border-radius: var(--ho-radius-lg);
    border: 1px solid var(--ho-border-color);
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.ho-input:focus {
    border-color: var(--ho-primary);
    box-shadow: 0 0 0 1px var(--ho-primary);
}

/* Fulfillment Options */
.ho-fulfillment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ho-fulfillment-options {
        grid-template-columns: 1fr 1fr;
    }
}

.ho-fulfillment-option {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 2px solid var(--ho-border-color);
    border-radius: var(--ho-radius-xl);
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--ho-bg-card);
}

.ho-fulfillment-option:hover {
    border-color: var(--ho-primary);
}

.ho-fulfillment-option.selected {
    border-color: var(--ho-primary);

    background-color: color-mix(in srgb, var(--ho-primary), transparent 95%);
}

.ho-ff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.ho-ff-radio {
    accent-color: var(--ho-primary);
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
}

.ho-ff-icon {
    font-size: 1.5rem;
    color: var(--ho-text-muted);
}

.ho-fulfillment-option.selected .ho-ff-icon {
    color: var(--ho-primary);
}

.ho-ff-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
    color: var(--ho-text-main);
}

.ho-ff-desc {
    font-size: 0.875rem;
    color: var(--ho-text-muted);
    margin: 0;
}

/* Payment Methods */
.ho-payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ho-payment-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--ho-border-color);
    border-radius: var(--ho-radius-lg);
    background: var(--ho-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--ho-text-main);
}

.ho-payment-btn:hover {
    border-color: var(--ho-primary);
}

.ho-payment-btn.active {
    border-color: var(--ho-primary);
    background-color: color-mix(in srgb, var(--ho-primary), transparent 95%);
}

.ho-info-box {
    padding: 1rem;
    background-color: var(--ho-bg-light);
    border-radius: var(--ho-radius-lg);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ho-info-icon {
    color: var(--ho-primary);
    font-size: 1.25rem;
}

.ho-info-text {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* Summary Sidebar */
.ho-summary-card {
    background-color: var(--ho-bg-card);
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid var(--ho-border-color);
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 2rem;
}

.ho-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.ho-loading-text {
    text-align: center;
    color: var(--ho-text-muted);
}

/* Upsells */
.ho-upsells-section {
    margin-bottom: 2rem;
}

.ho-upsells-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ho-upsell-icon {
    color: var(--ho-primary);
    font-size: 1.125rem;
}

.ho-upsells-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.ho-upsells-scroll::-webkit-scrollbar {
    display: none;
}

/* Totals */
.ho-divider {
    border: 0;
    border-top: 1px solid var(--ho-border-color);
    margin: 1.5rem 0;
}

.ho-totals-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ho-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.ho-total-label {
    color: var(--ho-text-muted);
}

.ho-total-value {
    font-weight: 500;
}

.ho-text-green {
    color: #16a34a; /* Tailwind green-600 */
}

.ho-grand-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 800;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--ho-border-color);
    margin-top: 0.5rem;
}

.ho-grand-total-value {
    color: var(--ho-primary);
}

/* Place Order Button */
.ho-place-order-btn {
    width: 100%;
    padding: var(--ho-btn-padding-y) var(--ho-btn-padding-x);
    background-color: var(--ho-btn-bg);
    color: var(--ho-btn-text);
    border: none;
    border-radius: var(--ho-btn-radius);
    font-weight: var(--ho-btn-font-weight);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: filter 0.2s;
    margin-bottom: 1rem;
}

.ho-place-order-btn:hover {
    background-color: color-mix(in srgb, var(--ho-btn-bg), black 10%);
}

/* Trust Badges */
.ho-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ho-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--ho-text-muted);
}

.ho-trust-icon {
    font-size: 0.875rem;
}

/* Order Message */
#ho-order-message {
    margin-top: 2rem;
}

/* Cart Items in Checkout */
.ho-checkout-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--ho-border-color);
}
.ho-checkout-item:last-child {
    border-bottom: none;
}

.ho-item-img-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--ho-radius-lg);
    background: var(--ho-bg-light);
    overflow: hidden;
}

.ho-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ho-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ho-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.ho-item-title {
    font-weight: 600;
    margin: 0;
    color: var(--ho-text-main);
    font-size: 1rem;
}

.ho-remove-item {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ho-remove-item:hover {
    background: #fee2e2;
}

.ho-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ho-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--ho-border-color);
    border-radius: var(--ho-radius-lg);
    background: var(--ho-bg-light);
    overflow: hidden;
    height: 32px;
}

.ho-checkout-qty-btn {
    width: 32px;
    height: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ho-primary);
    font-weight: 700;
    transition: all 0.2s;
}

.ho-checkout-qty-btn:hover {
    background: var(--ho-primary);
    color: var(--ho-light);
}

.ho-qty-val {
    width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ho-text-main);
}

.ho-item-price {
    font-weight: 700;
    color: var(--ho-text-main);
    margin: 0;
}


/* Utility Classes */
.ho-text-muted {
    color: var(--ho-text-muted);
}

.ho-text-main {
    color: var(--ho-text-main);
}

.ho-border-theme {
    border-color: var(--ho-border-color);
}

.ho-bg-theme-light {
    background-color: var(--ho-bg-light);
}

.ho-bg-card {
    background-color: var(--ho-bg-card);
}

/* Fulfillment Info Box (New) */
#ho-fulfillment-info-box {
    background-color: var(--ho-bg-light);
    border: 1px solid var(--ho-border-color);
    transition: all 0.2s;
    margin-top: 2rem; /* Matches card padding */
    padding: 0.9rem 1.25rem !important; /* Tighter vertical spacing */
    border-radius: var(--ho-radius-lg);
}

.ho-fulfillment-info-box > .flex {
    gap: 0.75rem 1.5rem; /* space between text and action button */
}

.ho-fulfillment-info-box .ho-intent-action-btn {
    margin-top: 0.5rem;
}

.ho-fulfillment-info-box:hover {
    border-color: var(--ho-primary);
}

.ho-intent-message {
    font-size: 1rem;
    color: var(--ho-text-main);
    margin: 0 0 0.25rem 0;
}

.ho-intent-details {
    font-size: 0.875rem;
    color: var(--ho-text-muted);
    margin: 0;
    line-height: 1.4;
}

.ho-intent-action-btn {
    background-color: var(--ho-dark);
    color: var(--ho-light);
    padding: 0.65rem 1rem 0.55rem !important; /* extra top padding to align icon/text */
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.ho-intent-action-btn:hover {
    opacity: 0.8;
}

/* Delivery Address Modal */
.ho-checkout-address-modal {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.55);
}

.ho-checkout-address-modal-open {
    overflow: hidden;
}

.ho-checkout-address-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(92vh, 980px);
    background: var(--ho-bg-card);
    border-radius: 1.5rem;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.ho-checkout-address-content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.25rem;
    overflow-y: auto;
}

.ho-checkout-address-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.38);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ho-checkout-address-close:hover {
    background: rgba(17, 24, 39, 0.52);
    transform: rotate(90deg);
}

.ho-checkout-address-close .material-symbols-outlined {
    font-size: 1.9rem;
    line-height: 1;
}

.ho-checkout-address-header {
    padding-right: 4rem;
    margin-bottom: 1rem;
}

.ho-checkout-address-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.ho-checkout-address-saved {
    margin-bottom: 1rem;
}

.ho-checkout-address-section-label {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ho-text-muted);
}

.ho-checkout-address-modal .ho-saved-addresses-list {
    display: grid;
    gap: 0.75rem;
}

.ho-checkout-address-modal .ho-saved-address-card {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ho-border-color);
    border-radius: 1rem;
    background: #fff;
    color: var(--ho-text-main);
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ho-checkout-address-modal .ho-saved-address-card:hover {
    border-color: var(--ho-dark);
}

.ho-checkout-address-modal .ho-saved-address-card.selected {
    border-color: var(--ho-dark);
    background: color-mix(in srgb, var(--ho-bg-light) 82%, #fff 18%);
    box-shadow: 0 0 0 1px var(--ho-dark);
}

.ho-saved-address-card__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ho-text-muted);
}

.ho-saved-address-card__text {
    grid-column: 1;
    font-size: 0.96rem;
    line-height: 1.45;
    font-weight: 600;
}

.ho-saved-address-card__check {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 1.35rem;
    color: var(--ho-dark);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ho-checkout-address-modal .ho-saved-address-card.selected .ho-saved-address-card__check {
    opacity: 1;
}

.ho-checkout-address-field {
    margin-bottom: 1rem;
}

.ho-checkout-address-label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--ho-text-main);
}

.ho-checkout-address-input,
.ho-checkout-address-region-input {
    height: 4.25rem;
    padding-inline: 1.2rem;
    border-radius: 1.1rem;
    font-size: 1rem;
}

.ho-checkout-address-region-input {
    background: #eef2f6;
    color: var(--ho-text-muted);
    border-color: #cfd6df;
    cursor: not-allowed;
}

.ho-checkout-address-region-note {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ho-text-muted);
}

.ho-checkout-address-map-shell {
    position: relative;
    margin-top: 0.5rem;
}

.ho-checkout-address-map {
    height: 320px;
    width: 100%;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid var(--ho-border-color);
    background: #f7f7f7;
}

.ho-checkout-address-map .leaflet-container {
    width: 100%;
    height: 100%;
}

.ho-checkout-current-location {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-height: 2.85rem;
    padding: 0.65rem 1.1rem 0.55rem;
    border: none;
    border-radius: 0.2rem;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.ho-checkout-current-location:disabled {
    opacity: 0.6;
    cursor: wait;
}

.ho-checkout-address-status {
    min-height: 1.35rem;
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ho-text-muted);
}

.ho-checkout-address-status.is-error {
    color: #b42318;
}

.ho-checkout-address-status.is-success {
    color: #15803d;
}

.ho-checkout-address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.ho-checkout-address-cancel,
.ho-checkout-address-save {
    min-height: 4.25rem;
    padding: 0.7rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ho-checkout-address-cancel {
    background: transparent;
    color: var(--ho-text-muted);
    border-color: var(--ho-border-color);
}

.ho-checkout-address-cancel:hover {
    background: var(--ho-bg-light);
    color: var(--ho-text-main);
}

.ho-checkout-address-save {
    min-width: 13.5rem;
    background: #dedede;
    color: #8f8f8f;
}

.ho-checkout-address-save:not(:disabled) {
    background: var(--ho-dark);
    color: var(--ho-light);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

.ho-checkout-address-save:not(:disabled):hover {
    transform: translateY(-1px);
}

.ho-checkout-address-save:disabled {
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 640px) {
    .ho-checkout-address-modal {
        padding: 0.75rem;
    }

    .ho-checkout-address-card {
        max-height: 94vh;
        border-radius: 1.25rem;
    }

    .ho-checkout-address-content {
        padding: 1rem;
    }

    .ho-checkout-address-title {
        font-size: 1.7rem;
    }

    .ho-checkout-address-input,
    .ho-checkout-address-region-input {
        height: 3.9rem;
    }

    .ho-checkout-address-map {
        height: 290px;
    }

    .ho-checkout-address-actions {
        flex-direction: column-reverse;
    }

    .ho-checkout-address-cancel,
    .ho-checkout-address-save {
        width: 100%;
        min-width: 0;
        min-height: 3.8rem;
    }
}

/* Ensure hidden elements stay hidden if JS tries to toggle them back */
.ho-fulfillment-toggle-wrapper,
#ho-delivery-address-section,
#ho-shipping-address-container {
    display: none !important;
}

/* Add More Items Button */
.ho-add-more-items-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    background-color: transparent;
    border: 1px dashed var(--ho-border-color);
    border-radius: var(--ho-radius-xl);
    color: var(--ho-text-main);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.ho-add-more-items-btn:hover {
    border-color: var(--ho-primary);
    color: var(--ho-primary);
    background-color: color-mix(in srgb, var(--ho-primary), transparent 95%);
}

.ho-add-more-items-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Coupon Section */
.ho-coupon-section {
    margin-bottom: 1.5rem;
}

.ho-toggle-coupon-link:hover {
    color: color-mix(in srgb, var(--ho-primary), black 20%) !important;
}

.ho-coupon-input-wrapper .ho-input {
    border-radius: var(--ho-radius-lg);
    border: 1px solid var(--ho-border-color);
}

.ho-coupon-input-wrapper .ho-btn-primary {
    border-radius: var(--ho-radius-lg);
}

/* Savings Banner */
.ho-savings-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ecfdf5; /* green-50 */
    color: #166534; /* green-800 */
    padding: 0.75rem 1rem;
    border-radius: var(--ho-radius-lg);
    margin-top: 0.5rem;
}

.ho-savings-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ho-savings-icon {
    font-size: 1.25rem;
    color: #15803d; /* green-700 */
}

.ho-savings-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.ho-savings-amount {
    font-weight: 700;
    font-size: 1rem;
    color: #15803d; /* green-700 */
}

#ho-special-instructions {
    height: auto;
    min-height: 100px;
    padding: 1rem;
}

/* Order Success Page (Mockup Match) */
.ho-order-success-container {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ho-success-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    background-color: var(--ho-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ho-success-icon-wrapper .main-icon {
    font-size: 64px;
    color: var(--ho-text-main);
}

.ho-success-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #16a34a;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--ho-bg-body);
}

.ho-success-badge .material-symbols-outlined {
    font-size: 20px;
    font-weight: 900;
}

.ho-success-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    color: var(--ho-text-main);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ho-success-subtitle {
    font-size: 1.25rem;
    color: var(--ho-text-muted);
    margin: 0;
    max-width: 450px;
    line-height: 1.5;
}

.ho-order-number-card {
    background-color: var(--ho-bg-card);
    border: 1px solid var(--ho-border-color);
    border-radius: var(--ho-radius-xl);
    padding: 1.5rem 2.5rem;
    margin: 1rem 0;
    box-shadow: var(--ho-shadow);
}

.ho-order-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ho-text-muted);
    margin-bottom: 0.5rem;
}

.ho-order-id {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ho-text-main);
    margin: 0;
}

.ho-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.ho-success-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.ho-btn-continue {
    background-color: var(--ho-dark);
    color: var(--ho-light);
}

.ho-btn-continue:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ho-btn-whatsapp {
    background-color: #9df1a0; /* Soft light green from mockup */
    color: #064e3b; /* Deep green for contrast */
}

.ho-btn-whatsapp:hover {
    background-color: #8ce690;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .ho-success-title {
        font-size: 2.25rem;
    }
    .ho-success-actions {
        flex-direction: column;
        width: 100%;
    }
    .ho-success-btn {
        width: 100%;
        justify-content: center;
    }
}
