/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/* ============================================================
   WhatsApp CTA Banner — Thank You Page (COD orders)
   ============================================================ */

.its-wa-cta {
    background: #e7fbe9;
    border: 2px solid #25d366;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: center;
    font-family: inherit;
}

.its-wa-cta__headline {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.its-wa-cta__subline {
    font-size: 15px;
    color: #333;
    margin: 0 0 18px;
}

.its-wa-cta__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.its-wa-cta__btn {
    display: inline-block;
    background-color: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.its-wa-cta__btn:hover {
    background-color: #1ebe5c;
    color: #fff !important;
}

.its-wa-cta__number {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.its-wa-cta__footnote {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* ============================================================
   Order Confirmation Notice Banner
   ============================================================ */

.its-order-notice {
    position: fixed;
    top: -100px;           /* starts off-screen */
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-weight: 500;
    min-width: 300px;
    max-width: 90vw;
    transition: top 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

/* Visible state — added by JS after DOM ready */
.its-order-notice--visible {
    top: 24px;
    opacity: 1;
    pointer-events: auto;
}

/* Hiding state — added by JS before removal */
.its-order-notice--hiding {
    top: -100px;
    opacity: 0;
    pointer-events: none;
}

/* Colour variants */
.its-order-notice--success {
    background-color: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

.its-order-notice--info {
    background-color: #d1ecf1;
    border: 1px solid #17a2b8;
    color: #0c5460;
}

.its-order-notice--warning {
    background-color: #fff3cd;
    border: 1px solid #fd7e14;
    color: #7d4a00;
}

.its-order-notice--error {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}

/* Message text */
.its-order-notice__msg {
    flex: 1;
}

/* Close button */
.its-order-notice__close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
    color: inherit;
}

.its-order-notice__close:hover {
    opacity: 1;
}