.hpp-iframe-new {
    height: 500px;
    width: 50%;
    background: #e5f4e7;
    border-radius: 16px;
}

.hpp-iframe-new iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}
.checkout-card {
    display: flex;
    flex-direction: column;
    background: #e5f4e7;
    border-radius: 16px;
    position: relative;
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    max-height: calc(100vh - 10px);
    overflow-y: auto;
}

.checkout-card-hpp {
    display: flex;
    flex-direction: column;
    background: #e5f4e7;
    border-radius: 16px;
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    min-height: 526px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    max-height: calc(100vh - 120px);
}

.checkout-main-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    flex: 1;
    height: 342px;
}

.checkout-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 50%;
    min-height: 300px;
}

.checkout-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    width: 50%;
    margin-top: 1.8rem;
    justify-content: flex-start;
}

.checkout-buttons .customer-info-btn {
    width: 50%;
}

.checkout-booking-summary {
    flex: 1;
    padding: 0.2rem;
    margin: 0.5rem;
}

.checkout-service-title {
    font-family: 'Arvo';
    font-weight: 700;
    font-size: 1.5rem;
    color: #242143;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.checkout-details {
    margin-bottom: 1.5rem;
}

.checkout-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-family: 'Futura';
    font-size: 1rem;
    color: #242143;
}

.checkout-icon {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.checkout-divider {
    border: none;
    border-top: 1px solid #242143;
    margin: 0.5rem 0;
    width: 100%;
}

.checkout-payment {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkout-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.checkout-payment-label {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
}

.checkout-payment-value {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
    text-align: right;
}

.checkout-payment-row-bold .checkout-payment-label,
.checkout-payment-row-bold .checkout-payment-value {
    font-weight: 700;
    font-size: 1.3rem;
}

.checkout-due-label {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
}

.checkout-due-amount {
    font-family: 'Futura';
    font-weight: 700;
    font-size: 1.3rem;
    color: #242143;
}

.checkout-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    max-width: 50%;
}

.checkout-image img {
    width: 100%;
    max-width: 456px;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    opacity: 1;
    z-index:4;
}

/* HPP Form Container */
.checkout-hpp-container {
    width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 500px;
    max-height: 505px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.3rem;
    overflow: hidden;
}

    .checkout-hpp-container iframe {
        width: 100%;
        height: 100%;
        min-height: 500px;
        max-height: 505px;
        border: none;
        border-radius: 12px;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

.checkout-loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.checkout-loading-container img {
    width: 100%;
    max-width: 456px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    opacity: 1;
}

.checkout-bottom-left-img {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 40vw !important;
    max-width: 340px !important;
    height: auto !important;
    object-fit: contain !important;
    z-index: 0 !important; /* keep behind back button */
    pointer-events: none !important;
    opacity: 0.7 !important;
    border: none !important;
    margin: 0 !important;
    transform: translateY(100%) !important;
}

/* Ensure popup scroll content is visible */
.checkout-popup-scroll-content {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    background: none;
    padding: 0;
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    /* iOS-specific fixes for horizontal scroll */
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent horizontal scrolling on iPhone */
    max-width: 100vw;
    touch-action: pan-y;
    -webkit-touch-callout: none;
    /* Prevent scroll chaining */
    overscroll-behavior: contain;
}

/* Bottom image positioning */
.bottom-image-sticky {
    position: absolute !important;
    bottom: -44px;
    left:0;
}
.bottom-image-sticky-pick {
    position: absolute !important;
    bottom: 0rem !important;
    right: 11rem !important;
    width: 202px !important;
    height: 37px !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
}

/* Container for bottom image positioning */
.bottom-image-container {
    position: relative !important;
    min-height: 320px !important;
}

/* Confirmation Page Styles - High Specificity */
div.confirmation-popup-scroll-content {
    width: 100% !important;
    height: 100% !important;
    max-height: calc(100vh - 60px) !important;
    overflow-y: hidden !important;
    background: #e5f4e7 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
}



div.confirmation-card {
    display: flex !important;
    flex-direction: column !important;
    background: #e5f4e7 !important;
    border-radius: 16px !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: hidden !important;
}

/* Additional zoom-friendly styles for confirmation */
@media (min-resolution: 1.5dppx) {
    div.confirmation-popup-scroll-content {
        max-height: calc(100vh - 140px) !important;
    }
    
    div.confirmation-card {
        max-height: calc(100vh - 140px) !important;
    }
}

@media (min-resolution: 2dppx) {
    div.confirmation-popup-scroll-content {
        max-height: calc(100vh - 160px) !important;
    }
    
    div.confirmation-card {
        max-height: calc(100vh - 160px) !important;
    }
}

/* Decorative background images for confirmation */
.confirmation-bg-union {
    position: absolute;
    top: 4rem;
    right: 13rem;
    width: 70px;
    height: auto;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}
.confirmation-bg-cloud {
    position: absolute;
    top: 20rem;
    right: 1rem;
    width: 70px;
    height: auto;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.confirmation-bg-smile {
    position: absolute;
    top: 18rem;
    left: 4rem;
    width: 50px;
    height: auto;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.confirmation-main-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.confirmation-content {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: transparent !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    min-height: 643px !important;
    position: relative !important;
    z-index: 2 !important;
    border: none !important;
    box-shadow: none !important;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
}

.confirmation-success-icon {
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-success-circle {
    width: 60px !important;
    height: 60px !important;
    background: #008080 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 3 !important;
    border: 2px solid #fff !important; 
}

.confirmation-checkmark {
    color: white !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

.confirmation-bg-stars {
    position: absolute !important;
    left: 8%;
    top: 9% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 60px !important;
    height: auto !important;
    pointer-events: none !important;
}

.confirmation-title {
    font-family: 'Arvo' !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    color: #f97316 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
}

.confirmation-subtitle {
    font-family: 'Futura' !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    color: #000000 !important;
    margin-bottom: 1rem !important;
}

.confirmation-contact {
    font-family: 'Futura' !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    color: #666666 !important;
    margin-top: 1.5rem !important;
}

.confirmation-booking-details {
    flex: 1;
    padding: 1.5rem;
    margin: 0.2rem;
    background: #fff !important;
    border-radius: 12px !important;
}

/* Desktop-only: reduce and center booking details width on confirmation screen */
@media (min-width: 992px) {
    .confirmation-card .confirmation-booking-details {
        max-width: 52rem;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hide separate price element on desktop - show combined text only */
    .confirmation-amount-price {
        display: none;
    }
    
    /* Ensure amount text shows the full "Amount Paid Today: $X.XX" on desktop */
    .confirmation-amount {
        text-align: right;
        font-family: 'Futura';
        font-weight: 700 !important;
        font-size: 1.1rem !important;
    }
}

.confirmation-details-title {
    font-family: 'Arvo' !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    color: #008080 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.confirmation-divider {
    border: none;
    border-top: 1px solid #242143;
    margin: 0.5rem 0;
    width: 100%;
  
}

.confirmation-details-content {
    margin-top: 1rem;
}

.confirmation-party-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.confirmation-party-image {
    width: 108px;
    height: 108px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.confirmation-party-details {
    flex: 1;
}

.confirmation-party-name {
    font-family: 'Arvo';
    font-weight: 700;
    font-size: 1.5rem;
    color: #242143;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.confirmation-detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.confirmation-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    font-family: 'Futura';
    font-size: 0.95rem;
    color: #242143;
    min-width: 0;
}
.confirmation-detail-item-clock {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    font-family: 'Futura';
    font-size: 0.95rem;
    color: #242143;
    min-width: 0;
    margin-left: 20px;
}
.confirmation-detail-item-painter {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    font-family: 'Futura';
    font-size: 0.95rem;
    color: #242143;
    min-width: 0;
    margin-left: 18px;
}

.confirmation-icon {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.confirmation-amount {
    text-align: right;
    font-family: 'Futura';
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.confirmation-amount-price {
    text-align: right;
    font-family: 'Futura';
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-top: 0.5rem;
}


.confirmation-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    width: 100%;
    margin-bottom: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top:1rem;
}

.confirmation-buttons .customer-info-btn {
    width: 100%;
    max-width: 300px;
    background: #008080 !important;
    color: white !important;
    border: 2px solid #008080 !important;
}

.confirmation-buttons .customer-info-btn:hover {
    background: #006666 !important;
    border-color: #006666 !important;
}

/* New Checkout Layout - HPP iframe on left, transaction info on right */
.checkout-new-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* HPP Panel (Left) - Payment Form Container */
.checkout-hpp-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    width: 456px;
    min-width: 320px;
    min-height: 450px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Info Panel (Right) - Transaction Details Container */
.checkout-info-panel {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 456px;
    min-width: 320px;
    min-height: 450px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* HPP Container - Iframe Wrapper */
.checkout-hpp-container-new {
    width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 418px;
    max-height: 493px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.checkout-hpp-container-new iframe {
    width: 100%;
    height: 100%;
    min-height: 418px;
    max-height: 493px;
    border: none;
    border-radius: 12px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.checkout-info-title {
    font-family: 'Arvo';
    font-weight: 700;
    font-size: 1.5rem;
    color: #242143;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.checkout-info-details {
    margin-bottom: 1.5rem;
}

.checkout-info-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-family: 'Futura';
    font-size: 1rem;
    color: #242143;
}

.checkout-info-icon {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.checkout-info-divider {
    border: none;
    border-top: 1px solid #242143;
    margin: 0.5rem 0;
    width: 100%;
}

.checkout-info-payment {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-info-payment .checkout-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.checkout-info-payment .checkout-payment-label {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
}

.checkout-info-payment .checkout-payment-value {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
    text-align: right;
}

.checkout-info-payment .checkout-payment-row-bold .checkout-payment-label,
.checkout-info-payment .checkout-payment-row-bold .checkout-payment-value {
    font-weight: 700;
    font-size: 1.3rem;
}

.checkout-info-due-label {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
}

.checkout-info-due-amount {
    font-family: 'Futura';
    font-weight: 700;
    font-size: 1.3rem;
    color: #242143;
}

.checkout-info-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    width: 100%;
    margin-top: 1.8rem;
    justify-content: flex-start;
}

.checkout-info-buttons .customer-info-btn {
    width: 50%;
}

/* Responsive styles for new checkout layout */
@media (max-width: 900px) {
    .checkout-new-layout {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 0.5rem;
    }
    
    .checkout-hpp-panel,
    .checkout-info-panel {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 16px !important;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }
    
    .checkout-hpp-container-new {
        padding: 0.6rem;
        min-height: 250px;
        max-height: 350px;
        margin-top: 0.2rem;
    }
    
    .checkout-info-buttons {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .confirmation-detail-item-clock {
        margin-left: 0px;
    }

    .confirmation-detail-item-painter {
        margin-left: 0px;
    }



    .bottom-image-sticky-pick {
        position: absolute !important;
        bottom: 1rem !important;
        right: 5rem !important;
        width: 202px !important;
        height: 37px !important;
        z-index: 10 !important;
        margin-top: 0 !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
    }
    .hpp-iframe-new {
        height: 400px;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .hpp-iframe-new iframe {
        min-height: 400px;
    }

    .checkout-card {
        min-height: unset !important;
        height: auto !important;
        padding-bottom: 4.5rem;
        border-radius: 16px !important;
    }

    .checkout-content {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        min-height: 370px;
    }

    .checkout-hpp-container {
        padding: 0.5rem;
        min-height: 220px;
        max-height: 500px;
    }

    .checkout-service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .checkout-detail-item {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .checkout-due-label {
        font-size: 1rem;
    }

    .checkout-due-amount {
        font-size: 1.2rem;
    }

    .checkout-bottom-left-img {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 40vw !important;
        max-width: 120px !important;
        height: auto !important;
        z-index: 0 !important;
        pointer-events: none !important;
        opacity: 0.7 !important;
        transform: translateY(100%) !important;
    }

    .checkout-popup-scroll-content {
        margin-top: 18px;
    }

    /* Error container responsive */
    .checkout-error-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
        min-height: 300px !important;
    }

    .bottom-image-container {
        min-height: 300px !important;
    }

    /* Confirmation responsive */
    div.confirmation-popup-scroll-content {
        max-height: calc(100vh - 140px) !important;
    }
    
    div.confirmation-card {
        max-height: calc(100vh - 140px) !important;
        min-height: unset !important;
        height: auto !important;
        padding-bottom: 4.5rem;
        border-radius: 16px !important;
        margin: 1.5rem 0 !important;
    }

    .confirmation-content {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        min-height: 400px;
    }

    .confirmation-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .confirmation-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .confirmation-contact {
        font-size: 0.9rem;
        margin-top: 1.2rem !important;
    }

    .confirmation-details-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .confirmation-detail-item {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .confirmation-amount {
        font-size: 1rem;
    }

    /* Decorative images responsive */
    .confirmation-bg-cloud {
        width: 60px !important;
        top: 21rem !important;
        right: 1rem !important;
    }
    .confirmation-bg-succes-con{
        width:42px;
        height:42px;
    }
    .confirmation-bg-stars {
        width: 45px !important;
        top: 11% !important;
        left: 0.5rem !important;
    }

    .confirmation-bg-union {
        width: 50px !important;
        top: 6rem !important;
        right: 11rem !important;
    }

    .confirmation-bg-smile {
        width: 35px !important;
        top: 19rem !important;
        left: 1rem !important;
    }

    .confirmation-success-image {
        width: 50px !important;
        height: 50px !important;
    }
}

/* New Checkout Layout - HPP iframe on left, transaction info on right */
.checkout-new-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.checkout-hpp-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    width: 456px;
    min-width: 320px;
    min-height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.checkout-info-panel {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 456px;
    min-width: 320px;
    min-height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.checkout-hpp-container-new {
    width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
     min-height: 472px;
    max-height: 505px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.checkout-hpp-container-new iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-height: 505px;
    border: none;
    border-radius: 12px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.checkout-info-title {
    font-family: 'Arvo';
    font-weight: 700;
    font-size: 1.5rem;
    color: #242143;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.checkout-info-details {
    margin-bottom: 1.5rem;
}

.checkout-info-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-family: 'Futura';
    font-size: 1rem;
    color: #242143;
}

.checkout-info-icon {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.checkout-info-divider {
    border: none;
    border-top: 1px solid #242143;
    margin: 0.5rem 0;
    width: 100%;
}

.checkout-info-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-info-due-label {
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1.1rem;
    color: #242143;
}

.checkout-info-due-amount {
    font-family: 'Futura';
    font-weight: 700;
    font-size: 1.3rem;
    color: #242143;
}

.checkout-info-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    width: 100%;
    margin-top: 1.8rem;
    justify-content: flex-start;
}

.checkout-info-buttons .customer-info-btn {
    width: 50%;
}

/* Responsive styles for new checkout layout */
@media (max-width: 900px) {
    .checkout-new-layout {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 0.5rem;
    }
    
    .checkout-hpp-panel,
    .checkout-info-panel {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 16px !important;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }
    
    .checkout-hpp-container-new {
        padding: 0.6rem;
        min-height: 250px;
        max-height: 350px;
        margin-top: 0.2rem;
    }
    
    .checkout-info-buttons {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-new-layout {
        padding: 0.25rem;
        gap: 0.5rem;
    }
    
    .checkout-hpp-panel {
        padding: 8px !important;
        margin-bottom: 0.5rem;
    }
    
    .checkout-info-panel {
        padding: 8px !important;
        margin-bottom: 0.5rem;
    }
    
    .checkout-hpp-container-new {
        padding: 0.5rem;
        min-height: 220px;
        max-height: 500px;
    }
    
    .checkout-info-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .checkout-info-detail-item {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .checkout-info-due-label {
        font-size: 1rem;
    }
    
    .checkout-info-due-amount {
        font-size: 1.2rem;
    }
}

/* Force mobile stacking for checkout layout - override any existing rules */
@media (max-width: 900px) {
    .checkout-new-layout {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
        padding: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .checkout-hpp-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 16px !important;
        margin-bottom: 1rem !important;
        box-sizing: border-box !important;
        flex: none !important;
    }

    .checkout-info-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 16px !important;
        margin-bottom: 1rem !important;
        box-sizing: border-box !important;
        flex: none !important;
        min-height: 338px;
    }
    
    .checkout-hpp-container-new {
        padding: 0.6rem !important;
        min-height: 250px !important;
        max-height: 453px !important;
        margin-top: 0.2rem !important;
        width: 100% !important;
    }
    
    .checkout-info-buttons {
        width: 100% !important;
    }

    /* Confirmation responsive for 900px and below */
    .confirmation-card {
        padding: 1.5rem !important;
    }

    .confirmation-content {
        padding: 1rem !important;
        min-height: 600px !important;
    }

    .confirmation-booking-details {
        padding: 0.5rem !important;
        width: 99% !important;
        margin: 0 auto !important;
        margin-bottom: 3rem !important;
    }

    .confirmation-title {
        font-size: 1.5rem !important;
    }

    .confirmation-subtitle {
        font-size: 1rem !important;
    }

    .confirmation-contact {
        font-size: 0.9rem !important;
        margin-top: 1.2rem !important;
    }

    .confirmation-details-title {
        font-size: 1.2rem !important;
    }

    .confirmation-detail-item {
        font-size: 0.9rem !important;
    }

    .confirmation-detail-row {
        gap: 0.8rem !important;
    }

    .confirmation-amount {
        font-size: 1rem !important;
    }

    .confirmation-party-image {
        width: 100px !important;
        height: 100px !important;
    }

    .confirmation-party-name {
        font-size: 1.3rem !important;
    }

    .confirmation-buttons {
        margin-top: 0.5rem !important;
        margin-bottom: 3rem !important;
    }

    /* Decorative images responsive */
    .confirmation-bg-union {
        width: 50px !important;
        top: 0.8rem !important;
        right: 0.8rem !important;
    }

    .confirmation-bg-smile {
        width: 35px !important;
        top: 0.8rem !important;
        left: 0.8rem !important;
    }

    .confirmation-success-circle {
        width: 50px !important;
        height: 50px !important;
    }

    .confirmation-checkmark {
        font-size: 1.8rem !important;
    }

    .confirmation-stars-left {
        left: -30px !important;
    }

    .confirmation-star-blue {
        width: 18px !important;
        height: 18px !important;
    }

    .confirmation-star-orange {
        width: 14px !important;
        height: 14px !important;
    }

    .confirmation-sparkle-right {
        right: -25px !important;
    }

    .confirmation-sparkle-line {
        width: 1.5px !important;
        height: 7px !important;
    }
    
    /* Fix original checkout layout for mobile stacking */
    .checkout-main-content {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }
    
    .checkout-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .checkout-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom:25px;
    }
    
    .checkout-error-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* Confirmation responsive for 480px and below */
@media (max-width: 480px) {
    div.confirmation-popup-scroll-content {
        max-height: calc(100vh - 10px) !important;
    }
    
    div.confirmation-card {
        max-height: calc(100vh - 10px) !important;
        padding: 1rem !important;
        padding-bottom: 2rem !important;
        margin: 1rem 0 !important;
    }

    .confirmation-content {
        padding: 0.6rem !important;
        min-height: 656px !important;
    }

    .confirmation-booking-details {
        padding: 0.8rem !important;
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 3rem !important;
    }

    .confirmation-title {
        font-size: 1.1rem !important;
    }

    .confirmation-subtitle {
        font-size: 0.9rem !important;
    }

    .confirmation-contact {
        font-size: 0.8rem !important;
        margin-top: 1rem !important;
    }

    .confirmation-details-title {
        font-size: 1rem !important;
    }

    .confirmation-detail-item {
        font-size: 0.8rem !important;
    }

    .confirmation-detail-row {
        gap: 0.6rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .confirmation-detail-row .confirmation-detail-item {
        margin-bottom: 0.4rem !important;
    }

    /* Mobile amount layout - create a flexbox row */
    .confirmation-amount {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
        font-size: 0.9rem !important;
    }
    
    /* Style the amount label and value spans */
    .amount-label {
        font-weight: 700 !important;
        color: #242143 !important;
    }
    
    .amount-value {
        font-weight: 700 !important;
        color: #242143 !important;
        font-family: 'Futura' !important;
    }
    
    /* Hide the separate price element on mobile since we're combining them */
    .confirmation-amount-price {
        display: none !important;
    }
    
    .confirmation-amount {
        text-align: left !important;
        font-size: 0.9rem !important;
        padding-right: 0.5rem !important;
    }
    
    .confirmation-amount-price {
        font-size: 0.9rem !important;
        text-align: right !important;
        font-family: 'Futura';
        font-weight: 700 !important;
        padding-left: 0.5rem !important;
    }

    .confirmation-party-image {
        width: 80px !important;
        height: 80px !important;
    }

    .confirmation-party-name {
        font-size: 1.1rem !important;
    }

    .confirmation-buttons {
        margin-top: 0.5rem !important;
        margin-bottom: 4rem !important;
    }
    


    /* Decorative images for 480px and below */
    .confirmation-bg-union {
        width: 35px !important;
        top: 2rem !important;
        right: 2rem !important;
    }

    .confirmation-bg-smile {
        width: 25px !important;
        top: 14rem !important;
        left: 0.5rem !important;
    }

    .confirmation-bg-cloud {
        width: 40px !important;
        top: 14rem !important;
        right: 0.5rem !important;
    }

    .confirmation-success-circle {
        width: 40px !important;
        height: 40px !important;
    }

    .confirmation-checkmark {
        font-size: 1.5rem !important;
    }

    .confirmation-bg-stars {
        width: 40px !important;
        top: 8% !important;
        left: 0.5rem !important;
    }
    
    /* Additional mobile confirmation adjustments */
    .confirmation-buttons {
        margin-bottom: 2rem !important;
    }
    
    .confirmation-booking-details {
        margin-bottom: 4.5rem !important;
    }
}

/* Extra small mobile devices - additional height adjustments */
@media (max-width: 375px) {
    div.confirmation-popup-scroll-content {
        max-height: calc(100vh - 5px) !important;
    }
    
    div.confirmation-card {
        max-height: calc(100vh - 5px) !important;
        padding-bottom: 3rem !important;
        margin: 0.8rem 0 !important;
    }

    .confirmation-content {
        min-height: 740px !important;
    }

    .confirmation-buttons {
        margin-bottom: 5rem !important;
    }
}

/* iOS Safari specific fixes for horizontal scroll */
@supports (-webkit-touch-callout: none) {
    .checkout-popup-scroll-content {
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        max-width: 100vw !important;
        touch-action: pan-y !important;
        -webkit-touch-callout: none !important;
        overscroll-behavior: contain !important;
        /* Prevent any horizontal scrolling */
        width: 100% !important;
        box-sizing: border-box !important;
        /* Additional iOS fixes */
        -webkit-user-select: none !important;
        user-select: none !important;
    }
}

/* Responsive styles for hpp-iframe-new */
@media (max-width: 900px) {
    .hpp-iframe-new {
        width: 100%;
        height: 450px;
        margin-bottom: 1rem;
    }
    
    .hpp-iframe-new iframe {
        min-height: 450px;
    }
    
    /* Ensure proper layout in mobile */
    .checkout-new-layout .hpp-iframe-new {
        order: 1;
    }
    
    .checkout-new-layout .checkout-info-panel {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hpp-iframe-new {
        height: 400px;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hpp-iframe-new iframe {
        min-height: 400px;
    }
}

/* Additional iframe optimizations for better form display */
.hpp-iframe-new iframe {
    display: block;
    background: transparent;
    /* Ensure iframe content is fully visible */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* iPhone-specific HPP iframe fixes - ensure full content visibility */
@media (max-width: 480px) {
    .hpp-iframe-new iframe {
        overflow: visible !important;
        min-height: 600px !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
        /* Ensure content fits properly on iPhone */
        box-sizing: border-box !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Prevent horizontal cutoff */
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    
    /* iPhone-specific checkout popup scroll fixes */
    .checkout-popup-scroll-content {
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        max-width: 100vw !important;
        touch-action: pan-y !important;
        -webkit-touch-callout: none !important;
        overscroll-behavior: contain !important;
        /* Prevent any horizontal scrolling */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .checkout-hpp-container-new iframe {
        overflow: visible !important;
        min-height: 600px !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
        /* Ensure content fits properly on iPhone */
        box-sizing: border-box !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Prevent horizontal cutoff */
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    
    .checkout-hpp-container iframe {
        overflow: visible !important;
        min-height: 600px !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
        /* Ensure content fits properly on iPhone */
        box-sizing: border-box !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Prevent horizontal cutoff */
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    
    /* Adjust container heights to accommodate expanded iframe */
    .hpp-iframe-new {
        min-height: 600px !important;
        height: auto !important;
        margin-bottom: 2rem !important;
    }
    
    .checkout-hpp-container-new {
        min-height: 600px !important;
        height: auto !important;
        margin-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    .checkout-hpp-container {
        min-height: 600px !important;
        height: auto !important;
        margin-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    /* Ensure proper spacing for content below iframe */    
    .checkout-card-hpp {
        padding-bottom: 3rem !important;
    }
    
    .checkout-new-layout {
        gap: 2rem !important;
    }
}

/* Iframe loader styles */
.hpp-iframe-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: #e5f4e7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hpp-iframe-new {
    position: relative;
}

/* Responsive iframe loader styles */
@media (max-width: 900px) {
    .hpp-iframe-loader {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .hpp-iframe-loader {
        border-radius: 8px;
    }
}

/* Inline Styles Extracted from Razor Components */
/* PopupErrorScreen Component */
.popup-error-screen-redesigned {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 650px;
    background: #E5F4E7;
}

.popup-error-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.popup-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
    width: 100%;
}

.popup-error-title {
    color: #F57121;
    font-family: 'Arvo';
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
}

.popup-error-main {
    font-weight: bold;
    font-size: 1.3rem;
    color: #242143;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}

.popup-error-sub {
    font-size: 1.1rem;
    color: #242143;
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-error-phone-link {
    color: #2CA6A4;
    text-decoration: underline;
}

.checkout-error-phone-link {
    color: #2CA6A4;
    text-decoration: underline;
}

.confirmation-phone-link {
    color: #2CA6A4;
    text-decoration: underline;
}

.popup-error-underline {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

/* PaymentCallback Component */
.payment-callback-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

.payment-callback-content {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.payment-callback-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007B7C;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* PartyPopup Component */
.popup-overlay-flex {
    display: flex;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    /* iOS-specific fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent any potential horizontal scrolling */
    max-width: 100vw;
    max-height: 100vh;
    /* Ensure touch events work properly */
    touch-action: pan-y;
    -webkit-touch-callout: none;
    /* Prevent scroll chaining */
    overscroll-behavior: contain;
}

.popup-header-nowrap {
    white-space: nowrap;
}

/* Arrow container for positioning */
.arrow-container {
    position: relative;
    display: inline-block;
}

/* Original arrow styling - no click handling */
.popup-arrow-left {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: none; /* Disable click on image itself */
}

/* Transparent overlay for enhanced clickable area */
.arrow-click-overlay {
    position: absolute;
    /* Centered, minimum 44x44 target; expands around the icon */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 44px;
    min-height: 44px;
    /* Extra breathing room around the icon */
    padding: 6px;
    cursor: pointer;
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.2s ease;
    z-index: 2;
}

@media (max-width: 768px) {
    .arrow-click-overlay {
        min-width: 56px;
        min-height: 56px;
        padding: 8px;
        border-radius: 12px;
    }
}



.popup-step-active {
    font-weight: bold;
}

.popup-step-inactive {
    cursor: pointer;
}

.popup-card-image-bg {
    background-image: url(var(--image-url));
}

.popup-card-terms-bg {
    position: relative;
    background-image: url('/images/TermsBackGroundsvg.svg');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 340px 130px;
    z-index: 0; /* ensure the decorative background stays behind */
}

.popup-detail-right-panel {
    min-width: 304px;
}

.popup-card-image-detail {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.customer-info-section-title {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.calendar-nav-prev {
    padding-left: 8px;
}

.calendar-nav-next {
    padding-right: 8px;
}

.bookinginfo-image {
    width: 456px;
    height: 298px;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 8px;
    position: relative;
    z-index:5;
}

.bookinginfo-image-no-relative {
    width: 456px;
    height: 298px;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 8px;
    margin-bottom:44px;
}

.iframe-loading-hidden {
    display: none;
}

.iframe-loading-visible {
    display: block;
}

/* Checkout Error Containers */
.checkout-error-container-mobile {
    position: relative;
    min-height: 200px;
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
}

.checkout-error-container-desktop {
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    background: #fff;
    padding: 2rem;
    width: 50%;
    max-width: 50%;
}

.checkout-error-icon-mobile {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 60px;
    height: 40px;
    z-index: 1;
}

.checkout-error-icon-desktop {
    position: absolute;
    top: -24px;
    right: -10px;
    width: 80px;
    height: 50px;
    z-index: 1;
}

.checkout-error-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 0.5rem;
}

.checkout-error-content-desktop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
    max-width: 377px;
}

.checkout-error-oops-mobile {
    color: #F57121;
    font-family: 'Arvo';
    font-weight: bold;
    font-size: 1.1rem;
}

.checkout-error-oops-desktop {
    color: #F57121;
    font-family: 'Arvo';
    font-weight: bold;
    font-size: 1.3rem;
}

.checkout-error-message-mobile {
    font-family: 'Arvo';
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.3rem 0 0.8rem 0;
}

.checkout-error-message-desktop {
    font-family: 'Arvo';
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.5rem 0 1rem 0;
}

.checkout-error-subtitle-mobile {
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.3rem 0 0.8rem 0;
}

.checkout-error-subtitle-desktop {
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.5rem 0 1rem 0;
}

.checkout-error-link-mobile {
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.3rem 0 0.8rem 0;
    text-decoration: underline;
    text-decoration-color: #242143;
}

.checkout-error-link-desktop {
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #242143;
    margin: 0.5rem 0 1rem 0;
    text-decoration: underline;
    text-decoration-color: #242143;
}

.checkout-image {
    position: relative;
}

.checkout-image-bg {
    background-image: url(var(--image-url));
}

.customer-info-btn-primary {
    background: #008080;
    color: white;
    border: 2px solid #008080;
}

.customer-info-btn-primary-margin {
    background: #008080;
    color: white;
    border: 2px solid #008080;
    margin-top: 0.5rem;
}

.confirmation-error-message {
    color: #dc3545;
    font-family: 'Futura';
    font-weight: 500;
    font-size: 1rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
}

/* Home Component */
.navbar-header {
    background-color: #201944;
    padding: 1rem;
}

.navbar-logo {
    height: 68px;
}

/* ImageWithFallback Component */
.image-with-fallback {
    object-fit: cover;
    border-radius: 8px;
}

/* Confirmation: enable scroll when viewport height is constrained (e.g., high zoom) */
@media (max-height: 820px) {
	div.confirmation-popup-scroll-content {
		overflow-y: auto !important;
		max-height: calc(100vh - 24px) !important;
		-webkit-overflow-scrolling: touch;
	}

	div.confirmation-card {
		max-height: none !important;
		min-height: auto !important;
		overflow-y: visible !important;
		padding-bottom: 1.5rem !important; /* ensure space below white details */
	}
}

@media (max-height: 700px) {
	div.confirmation-popup-scroll-content {
		max-height: calc(100vh - 16px) !important;
	}

	div.confirmation-card {
		margin: 0.5rem 0 !important;
		padding-bottom: 2rem !important; /* a bit more room on very short viewports */
	}
}

@media (max-width: 699px) {
    .checkout-error-icon-desktop {
        top: 15px !important;
        right: 20px;
        width: 64px;
    }
    .bottom-image-sticky {
        bottom: -26px;
        left: 14px;
        width: 210px;
    }
}

@media (max-width: 384px) {
    .popup-arrow-left {
        margin-bottom: 5px;
    }
}