/* === Custom Thank You Page Fullscreen Cleanup === */
.custom-thank-you-page #page,
.custom-thank-you-page header,
.custom-thank-you-page footer,
.custom-thank-you-page .site-header,
.custom-thank-you-page .site-footer,
.custom-thank-you-page .widget-area,
.custom-thank-you-page .sidebar {
    display: none !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#custom-checkout-wrapper-machi {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.thkyou_checkout-logo {
    text-align: center;
    padding: 20px 0;
}

.thkyou_checkout-logo img {
    height: 60px;
    max-width: 180px;
    width: auto;
}

.thkyou_progress-bar {
    text-align: center;
    font-size: 24px;
    color: #ff0d0c;
    margin-bottom: 20px;
    font-weight: bold;
}

.thkyou_progress-bar .thkyou_progress-step {
    margin: 0;
}

.thkyou_progress-bar .thkyou_progress-step.completed {
    color: #ff0d0c;
}

.thkyou_progress-bar .thkyou_progress-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-top: 8px;
    font-weight: 500;
}

.thkyou_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
/* .thkyou_header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thkyou_checkout-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.thkyou_progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.thkyou_progress-bar .progress-step {
    margin: 0;
    font-size: 20px;
    color: #ddd;
}

.thkyou_progress-bar .progress-step.completed {
    color: #ff0d0c;
} */

/* .thkyou_progress-label {
    font-size: 14px;
    color: #666;
    margin-left: 15px;
    text-align: center;
} */

/* Success Section */
.thkyou_success-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.thkyou_success-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff0d0c, #ff6b6b);
}

.thkyou_success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: checkmark 0.6s ease-in-out;
}

.thkyou_success-icon::after {
    content: '✓';
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.thkyou_dynamic-order-summary {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    padding: 25px 30px;
    margin: 20px auto;
    max-width: 800px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.thkyou_dynamic-order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.thkyou_dynamic-order-summary h3 img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.thkyou_product-item {
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #fafafa;
    margin-bottom: 20px;
}

.thkyou_product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.thkyou_product-code {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.thkyou_product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #444;
}

.thkyou_product-details div {
    line-height: 1.4;
}


.thkyou_delivery-info {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.thkyou_delivery-info img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

.thkyou_total-amount {
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    color: #1e88e5;
    display: flex;
    align-items: center;
}

.thkyou_total-amount img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}


@keyframes checkmark {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.thkyou_success-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
}

.thkyou_success-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.thkyou_success-message {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}


/* Next Steps Section */
.thkyou_next-steps {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.thkyou_next-steps h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.thkyou_steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.thkyou_steps-list li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    line-height: 1.5;
}

.thkyou_steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #ff0d0c;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Action Buttons */
.thkyou_action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.thkyou_btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thkyou_btn-primary {
    background: #ff0d0c;
    color: white;
}

.thkyou_btn-primary:hover {
    background: #e60b0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 13, 12, 0.3);
}

.thkyou_btn-secondary {
    background: transparent;
    color: #ff0d0c;
    border: 2px solid #ff0d0c;
}

.thkyou_btn-secondary:hover {
    background: #ff0d0c;
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.thkyou_contact-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thkyou_contact-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.thkyou_contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.thkyou_contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 5px;
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {
    .thkyou_container {
        padding: 15px;
    }

    .thkyou_success-section {
        padding: 25px;
    }

    .thkyou_success-title {
        font-size: 24px;
    }

    .thkyou_info-grid {
        grid-template-columns: 1fr;
    }

    .thkyou_action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thkyou_btn {
        width: 100%;
        max-width: 300px;
    }

    .thkyou_contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animation for page load */
.thkyou_container>* {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.thkyou_container>*:nth-child(1) {
    animation-delay: 0.1s;
}

.thkyou_container>*:nth-child(2) {
    animation-delay: 0.2s;
}

.thkyou_container>*:nth-child(3) {
    animation-delay: 0.3s;
}

.thkyou_container>*:nth-child(4) {
    animation-delay: 0.4s;
}

.thkyou_container>*:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}