
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.checkout-container {
    display: flex;
    opacity: 0;
    transform: scale(1); /* Start scaled down */
    transition: opacity 0.1s ease, transform 30s ease;
    flex-wrap: wrap;
    max-width: 1220px;
    margin: 0px auto;
    padding: 20px;
    gap: 20px;
    justify-content: center; /* Centers items horizontally */
}

.checkout-container.visible {
    opacity: 1; /* Fade in */
}



/* Additional styles to ensure content is centered on smaller devices */
@media (max-width: 768px) {
    .checkout-container {
        align-items: center; /* Center items horizontally */
        margin: -35px auto;
    }
}

/* Checkout form styling */
.checkout-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 20px auto;
}

.form-container {
    flex: 1; /* Takes up full width on mobile, half on desktop */
    max-width: 600px;
}

/* Styling for the order-summary container */
.order-summary.desktop-only {
    flex: 1;
    background-color: #ff000000;
    padding: 10px;
    border-radius: 8px;
    border: 0px solid #d3d3d300;
    max-width: 440px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    margin-top: 9px;
    margin-bottom: 20px; /* Adjusted margin for space below the container */
}

/* Styling for the image container */
.checkout-header-image-container {
    text-align: center;
    margin-top: 0px; /* Space between order details and the image */
}

/* Image styling */
.checkout-header-image {
    width: 100%; /* Full width of the container */
    max-width: 550px; /* Max width to limit the size */
    height: auto; /* Keep aspect ratio */
    margin: 0 auto; /* Center the image */
}

/* Mobile-specific styles */
@media (max-width: 767px) {
    .desktop-only-image {
        display: none;
    }
}

/* Desktop-specific styles */
@media (min-width: 768px) {
    .desktop-only-image {
        display: block;
    }
}


.price-line {
    border: none;
    height: 2px;
    background-color: #cccccc77; /* You can change the color */
    margin-bottom: 10px; /* Adjust space between the line and the price */
}


/* Show order summary on desktop */
@media (min-width: 768px) {
    .order-summary.desktop-only {
        display: block; /* Ensure it is displayed on larger screens */
    }
}

/* Hide desktop order summary on mobile */
@media (max-width: 767px) {
    .order-summary.desktop-only {
        display: none; /* Hide on mobile */
    }
}

/* Order summary for mobile */
.order-summary.mobile-only {
    display: block; /* Show on mobile */
}

/* Hide mobile order summary on desktop */
@media (min-width: 768px) {
    .order-summary.mobile-only {
        display: none; /* Hide on desktop */
    }
}

.input-container {
    margin-bottom: 15px;
    position: relative;
}

/* Base input styles */
.input-field {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    height: 54px;
    padding-right: 30px; /* Space for SVG icon */
    padding-top: 28px; /* Increase this value to move the text down */
}

/* Style for placeholder */
.input-field::placeholder {
    color: #ff000000; /* Placeholder text color */
    opacity: 1; /* Ensures full visibility of the placeholder */
    transition: opacity 0.3s ease; /* Smooth transition when focusing */
}

/* Placeholder fade-out on focus */
.input-field:focus::placeholder {
    opacity: 0; /* Hide placeholder when input is focused */
}

/* Focused input styling */
.input-field:focus {
    border-color: #000000;
    outline: none;
    border-width: 2px;
}

/* Error styling */
.input-field.error {
    border-color: red;
    border-width: 2px;
    background-color: #ffffff;
}

.error-message {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: 4px;
}

/* Show error message when input is invalid */
.input-field.error ~ .error-message {
    display: block;
}

/* Floating label behavior */
/* Floating label behavior */
label.floating-label {
    position: absolute;
    left: 12px;
    top: 19px;
    font-size: 15px;
    color: #424242bb;
    transition: all 0.0s ease;
    background: #ffffff;
    padding: 0 4px;
    pointer-events: none; /* Prevent the label from blocking clicks */
}

/* Label floating on focus or when input is filled */
.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
    top: 9px;
    font-size: 12px;
    color: #7a7a7ad5;
    background: #ffffff00;
    padding: 0 4px;
}

/* Checkout button styling */
.checkout-button {
    padding: 20px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 19px;
    font-weight: bold;
}

.checkout-button:hover {
    background-color: #575757;
}

/* CSS for the lock icon */
.fas.fa-lock {
    font-size: 1em; /* Adjust the size of the lock icon */
    margin-right: 5px; /* Adjust spacing between icon and text */
    position: relative; 
    top: -1px; /* Adjust the vertical alignment if needed */
}

/* Payment method container styling */
#payment-method {
    border: 1.1px solid #dfdfdf;
    border-top: none; /* Remove the top border */
    background-color: #f4f4f4cc;
    padding: 20px;
    margin: 20px 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* SVG icon container styling */
.svg-icon-container {
    position: absolute;
    right: 8px;
    top: calc(56% - 1px); /* Adjusted to counteract the border width change */
    transform: translateY(-50%);
    pointer-events: auto; /* Ensures the icon doesn't interfere with clicking on the input */
    z-index: 10; /* Ensure the icon is on top */
    display: inline-block; /* Make sure the container is inline with other elements */
}

/* Specific adjustment when input has an error */
.input-field.error ~ .svg-icon-container {
    top: 40%; /* Revert the adjustment when error is present */
    transform: translateY(-50%);
}

/* SVG icon container styling for phone input */
.phone-icon {
    position: absolute;
    right: 8px; /* Position from the right side */
    top: calc(56% - 1px); /* Center vertically in the input field */
    transform: translateY(-50%); /* Adjust for perfect vertical centering */
    pointer-events: auto; /* Allows interactions with the tooltip */
    z-index: 10; /* Ensures the icon appears above other elements */
    display: inline-block; /* Keeps it inline with other elements */
}

/* Specific adjustment when the phone input has an error */
.input-field.error ~ .phone-icon {
    top: 40%; /* Adjust the position when an error occurs */
    transform: translateY(-50%); /* Keep vertical centering */
}


@media (max-width: 600px) { /* Target mobile users */
    /* Adjust SVG icon container styling for phone input */
    .phone-icon {
        position: absolute;
        right: 8px; /* Position from the right side */
        top: calc(46% - 1px); /* Center vertically in the input field */
        transform: translateY(-50%); /* Adjust for perfect vertical centering */
        pointer-events: auto; /* Allows interactions with the tooltip */
        z-index: 10; /* Ensures the icon appears above other elements */
        display: inline-block; /* Keeps it inline with other elements */
    }

    /* Specific adjustment when the phone input has an error on mobile */
    .input-field.error ~ .phone-icon {
        top: 25%; /* Adjust the position when an error occurs */
        transform: translateY(-50%); /* Keep vertical centering */
    }
}

/* Order summary styling */
.order-summary {
    margin-top: -15px;
    cursor: pointer;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Additional styling for form groups and order summary */
.name-container, .city-zip-container, .expiry-cvc-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.name-container .input-container, .city-zip-container .input-container, .expiry-cvc-container .input-container {
    flex: 1;
}

.order-summary-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background-color: #f5f5f5; 
    border: 1px solid #00000015;
    border-radius: 0px;
    margin-top: 50px;
}

.image-container {
    width: 80px;
    height: 80px;
    border: 1px solid #cccccc00;
    padding: 10px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ebebeb00;
    border-radius: 8px;
}


.order-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: -40px;
}

.product-name { margin: 2px; }
.product-price { margin: 2px; }

.controls { margin-top: 20px; }

.arrow {
    transition: transform 0.3s;     /* Smooth transition for rotation */
    width: 14px;                    /* Set width */
    height: auto;                   /* Auto height */
    margin-right: 140px;             /* Space when the text says "Résumé de la commande" */
}

/* State when the text is "Masquer le résumé de la commande" */
.arrow.expanded {
    margin-right: 130px;             /* Smaller space when the text says "Masquer le résumé de la commande" */
}

/* Mobile-specific adjustments (for screen width 300px or smaller) */

/* Mobile-specific adjustments (for screen width 300px or smaller) */
@media screen and (max-width: 360px) {
    .arrow {
        margin-right: 18px;          /* Adjusted space for very small screens */
    }

    .arrow.expanded {
        margin-right: 30px;          /* Even smaller margin when "Masquer le résumé de la commande" */
    }
}

@media screen and (max-width: 380px) {
    .arrow {
        margin-right: 72px;          /* Adjusted space for very small screens */
    }

    .arrow.expanded {
        margin-right: 4px;          /* Even smaller margin when "Masquer le résumé de la commande" */
    }
}

@media screen and (max-width: 390px) {
    .arrow {
        margin-right: 132px;          /* Adjusted space for very small screens */
    }

    .arrow.expanded {
        margin-right: 100px;          /* Even smaller margin when "Masquer le résumé de la commande" */
    }
}

@media screen and (max-width: 375px) {
    .arrow {
        margin-right: 122px;          /* Adjusted space for very small screens */
    }

    .arrow.expanded {
        margin-right: 90px;          /* Even smaller margin when "Masquer le résumé de la commande" */
    }
}

.total span { font-size: 20px; font-weight: bold; }


.total-price {
    font-size: 20px;                    /* Font size for total price */
    font-weight: bold;                  /* Bold font weight for emphasis */
    margin-left: 20px;                  /* Add space between price and arrow */
    white-space: nowrap;                /* Prevent price from wrapping */
}

.order-item {
    display: flex;
    margin-bottom: 50px;
}

.product-image { width: 67px; height: auto; margin-right: 55px; }

.order-info { display: flex; flex-direction: column; }

.shipping, .subtotal, .total {
    display: flex;
    justify-content: space-between;
    margin: 9px 0;
}

.payment-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credit-card-text { margin-left: 9px; }

.credit-card-text {
    font-size: 14px; /* Change to your desired font size */
}

@media (max-width: 600px) {
    .credit-card-text {
        font-size: 14px; /* Adjust size for smaller screens */
    }
}
.card-images { display: flex; }
.card-images img { margin-left: 5px; }

@media (max-width: 600px) {
    .card-images img {
        width: 34px; /* Smaller width for mobile */
        height: 40px; /* Smaller height for mobile */
    }
}

.shipping-method {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.shipping-method-container {
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
    background-color: #f6f6f6;
}

.shipping-option {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}

.shipping-price {
    font-weight: bold;
    font-size: 14px; /* Adjust the size if needed */
}

@media (max-width: 768px) {
    .shipping-price {
        font-weight: bold;
        font-size: 13px; /* Adjust the size if needed */
    }
}

.shipping-method-title {
    font-size: 1rem; /* Adjust font size as needed */
    margin-bottom: 1px;
    display: flex;
    align-items: center;
}

.secure {
    font-size: 15px;
    color: #555555de;
    font-weight: 300;
    margin-top: 1px;
    margin-bottom: 30px;
}

.payment-method-container {
    border: 1.1px solid #000000;
    background-color: #f6f6f6;
    padding: 7px;
    margin: -20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

/* Target the country dropdown specifically */
#country {
    background-color: #ffffff; /* White background */
    color: #333333; /* Text color for better readability */
    padding: 5px 40px; /* Adjust padding to fit your design, increased right padding for the arrow */
    border: 1px solid #ccc; /* Border for consistency */
    border-radius: 4px; /* Border radius for rounded corners */
    appearance: none; /* Remove default browser styling */
    font-size: 16px; /* Consistent font size */
    width: 100%; /* Full width to fit container */
    box-sizing: border-box; /* Ensure padding and border are included in total width */
    background: #ffffff; /* Ensure white background */
    padding-top: 20px; /* Increase this value to move the text down */
    padding-left: 15px; /* Adjust left padding to prevent text from being cut off */
    text-align: left; /* Ensure text aligns to the left */
    background-image: url('data:image/svg+xml,%3Csvg fill=%27%23000000%27 height=%27800px%27 width=%27800px%27 version=%271.1%27 id=%27Layer_1%27 xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 viewBox=%270 0 330 330%27 xml:space=%27preserve%27%3E%3Cpath id=%27XMLID_225_%27 d=%27M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393 c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393 s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z%27/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center; /* Position the arrow inside the container */
    background-size: 10px; /* Size of the arrow */
}


/* Optional: Style the dropdown arrow for better visual consistency */
#country option {
    background-color: #ffffff; /* Ensures options have a white background */
}

h2 {
    font-size: 1.3em; /* Adjust the size of the heading */
    color: #333; /* Change the text color if desired */
    font-weight: bold; /* Make the text bold */
    margin-bottom: 13px;
}

/* Media queries for responsive design */
@media (max-width: 600px) {
    .name-container,
    .city-zip-container,
    .expiry-cvc-container {
        flex-direction: column; /* Stack inputs vertically on mobile */
    }
}

@media (min-width: 601px) {
    .first-name-input, .last-name-input {
        width: 48%; /* Adjust width for first and last name inputs */
    }

    .city-input, .zip-code-input {
        width: 48%; /* Adjust width for city and zip code inputs */
    }
}
/* order sumrary */
@media (max-width: 600px) {
    .order-summary {
        width: 100%; /* Ensure full width on mobile */
        padding: 0px; /* Padding for aesthetics */
        margin-left: 0px; /* Reset left margin */
        margin-right: 0px; /* Reset right margin */
    }
}

    /* payment credit card input */

@media (max-width: 600px) {
    /* Space for Card Number */
    #card-number-container {
        margin-bottom: 15px; /* Adjust as needed */
    }

    /* Space for Expiry Input */
    .expiry-cvc-container .input-container.half-input:first-child {
        margin-bottom: 6px; /* Adjust as needed for Expiry */
    }

    /* Space for CVC Input */
    .expiry-cvc-container .input-container.half-input:last-child {
        margin-bottom: 15px; /* Adjust as needed for CVC */
    }

    /* Space for Cardholder Name */
    #cardholder-name-container {
        margin-bottom: 20px; /* Adjust as needed */
    }
}


    /* Space for Delivery Heading */

    @media (max-width: 600px) {
        /* Space for Delivery Heading */
    
        /* Space for Country Select */
        #country {
            margin-bottom: 2px; /* Adjust as needed */
        }
    
        /* Space for First Name */
        #first-name {
            margin-bottom: -6px; /* Adjust as needed */
        }
    
        /* Space for Last Name */
        #last-name {
            margin-bottom: 2px; /* Adjust as needed */
        }
    
        /* Space for Address */
        #address {
            margin-bottom: 2px; /* Adjust as needed */
        }
    
        /* Space for Apartment/Suite */
        #apartment {
            margin-bottom: 2px; /* Adjust as needed */
        }
    
        /* Space for City */
        #city {
            margin-bottom: -6px; /* Adjust as needed */
        }
    
        /* Space for ZIP Code */
        #zip-code {
            margin-bottom: 15px; /* Adjust as needed */
        }
    }

       /* This field is required */

    @media (max-width: 600px) {
        /* Base input styles */
        .input-container {
            margin-bottom: 15px; /* Default space below each input */
            position: relative;
        }
    
        /* Adjust error message positioning for each input */
        #first-name-error {
            margin-top: 9px; /* Space below First Name error message */
        }
    
        #last-name-error {
            margin-top: 1px; /* Space below Last Name error message */
        }
    
        #address-error {
            margin-top: 2px; /* Space below Address error message */
        }
    
        #city-error {
            margin-top: 10px; /* Space below City error message */
        }
    
        #zip-code-error {
            margin-top: -13px; /* Space below ZIP Code error message */
        }
    }

    /* Tooltip container styling */
    .tooltip-container {
        position: relative;
        display: inline-block; /* Ensure the tooltip is positioned relative to the icon */
    }
    
    /* Tooltip styling */
    .tooltip {
        display: none; /* Hidden by default */
        position: absolute;
        bottom: 120%; /* Default position above the SVG icon */
        left: 50%;
        transform: translateX(-50%);
        padding: 5px;
        background-color: #000000d2; /* Background color of the tooltip */
        color: #ffffff; /* Text color of the tooltip */
        border-radius: 4px;
        white-space: nowrap;
        width:258px;
        height: 295%;
        font-size: 12px;
        z-index: 1000; /* Ensure the tooltip appears above other elements */
        /* Arrow styling */
        text-align: center; /* Center the text within the tooltip */
    }
    
    /* Tooltip arrow styling */
    .tooltip::after {
        content: "";
        position: absolute;
        top: 100%; /* Position the arrow just below the tooltip */
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: #000000 transparent transparent transparent; /* Arrow color matches the tooltip background */
    }
    
    /* Show tooltip on hover over the tooltip container */
    .tooltip-container:hover .tooltip {
        display: block;
    }
    
    .tooltip p {
        margin: 1; /* Remove default margins on <p> elements */
        padding: 1; /* Remove default padding on <p> elements */
        font-size: 10px;
        line-height: 1; /* Optional: Adjust line height for readability */
    }
    
    @media only screen and (max-width: 480px) {
        .tooltip p {
            margin: 1; /* Adjust margins for small screens */
            padding: 1; /* Adjust padding for small screens */
            font-size: 9px; /* Smaller font size for better fit on phones */
            line-height: 1; /* Adjust line height for readability */
            margin-top: 13px;
        }
    }
    
    
    /* Position tooltip to the right on mobile with adjustment */
    @media (max-width: 768px) {
        .tooltip {
            left: auto; /* Reset left positioning */
            right: 0; /* Align to the right of the container */
            bottom: 110; /* Reset bottom positioning for mobile */
            top: auto; /* Position at the top of the container */
            transform: translateX(0); /* Remove horizontal translation */
        }

        .tooltip::after {
            top: 10; /* Move the arrow to the top of the tooltip */
            bottom: auto;
            left: 96%;
            transform: translateX(-50%);
            border-color: #000000 transparent transparent transparent; /* Arrow color points down */
        }
    }
    
.badges-container {
    display: flex;
    margin-top: 6px; /* Adjust space between button and badges */
}

@media only screen and (max-width: 768px) {
    .badges-container {
        display: flex;
        margin-top: 5px; /* Keeps consistent space between button and badges */
    }
}

.contact-info-heading {
    display: flex;
    align-items: center;
}


.contact-info-heading {
    font-size: 1.3rem; /* Adjust font size as needed */
    margin-bottom: 13px;
}

.delivery-info-heading {
    display: flex;
    align-items: center;
}


.delivery-info-heading {
    font-size: 1.3rem; /* Adjust font size as needed */
    margin-bottom: 13px;
}

.order-details {
    display: block; /* Default display */
    /* Add any other styles you want here */
    background-color: #f5f5f5; /* Example background color */
    padding: 16px; /* Example padding */
    border: 0px solid #ebebeb5e; /* Example border */
    border-radius: 8px;
}

/* Responsive adjustments for phones */
@media (max-width: 600px) {
    .order-details {
        padding: 23px; /* Adjusted padding for smaller screens */
        border: 1px solid #ebebeb00; /* Example border color for phones */
        border-radius: 0px;
        height: 205px; /* Set the desired height */
    }
}

.promo-message-container {
    background-color: #ffd1d160; /* Light orange background */
    padding: 10px; /* Padding for better spacing */
    text-align: center; /* Center-align text */
    margin-bottom: 20px; /* Space below the promo container */
    border-radius: 12px;
    border: 1px solid #fc7a7a63; /* Orange border color */
}

.promo-message-container p {
    font-size: 13px; /* Font size for the message */
    font-weight: bold; /* Bold text */
    color: #000000; /* Emphasizing red color */
    margin: 0; /* Remove default margin */
}

.promo-icon {
    width: 20px; /* Set the width of the icon */
    height: 20px; /* Set the height of the icon */
    fill: #ff5722; /* Icon color */
}


#countdown {
    font-size: 13px; /* Larger font size for countdown */
    color: #ff5722; /* Bright color for the countdown */
    font-weight: bold; /* Bold text for emphasis */
}

/* Mobile styles */
/* Media query for mobile devices */
@media (max-width: 600px) {
    .promo-message-container {
        margin-top: 20px; /* Push the container down for mobile users */
        margin-bottom: 10px;
    }

    .promo-message-container p {
        font-size: 14px; /* Slightly smaller font size on mobile */
    }

    #countdown {
        font-size: 18px; /* Adjust font size for mobile readability */
    }

}

/* Mobile-specific styles for the checkout image */
.checkout-header-image-container.mobile-only {
    text-align: center; /* Center the image within the container */
    margin-bottom: -29px;
	    box-shadow: 7px 2px 1px rgba(0, 0, 0, 0); /* Add a subtle shadow */

}

/* Image styling for mobile */
.checkout-header-image-container.mobile-only .checkout-header-image {
    width: 20%; /* Make the image fill the container width */
    max-width: 160px; /* Limit maximum width to prevent it from being too large */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 8px; /* Optional: add rounded corners */
    margin-top: 0px;
    margin-right: 900px;
}

@media (max-width: 767px) {
    .checkout-header-image-container.mobile-only {
        text-align: center; /* Center the image within the container */
        margin-bottom: -37px;
			    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    }

    .checkout-header-image-container.mobile-only .checkout-header-image {
        width: 32%; /* Make the image fill the container width */
        max-width: 400px; /* Limit maximum width to prevent it from being too large */
        height: auto; /* Maintain the aspect ratio */
        border-radius: 8px; /* Optional: add rounded corners */
        margin-top: 4px;
        margin-right: 5px;
    }
}


/* Ensure the mobile image only shows on smaller screens */
/* Ensure the mobile image only shows on smaller screens */

@media (max-width: 600px) { /* For phone screens 600px or less */
    #order-summary-text {
        font-size: 13px; /* Adjust the size for phones */
    }
}
@media (max-width: 393px) { /* For phone screens 600px or less */
    #order-summary-text {
        font-size: 12px; /* Adjust the size for phones */
    }
}

@media (max-width: 360px) { /* For phone screens 600px or less */
    #order-summary-text {
        font-size: 13px; /* Adjust the size for phones */
    }
}

@media (max-width: 320px) { /* For phone screens 600px or less */
    #order-summary-text {
        font-size: 9px; /* Adjust the size for phones */
    }
}


.input-with-code {
    display: flex; /* Use flexbox to align country code and phone input */
    align-items: center; /* Center items vertically */
}


/* Base styles for the country code select box */
.country-code {
    width: 14%; /* Full width of the parent container */
    height: 54px; /* Set a fixed height for consistency */
    padding: 17.3px; /* Add consistent padding */
    margin-right: -2px; /* Space adjustment */
    margin-bottom: 1px;
    font-size: 17px;
    border: 1px solid #cccccc; /* Border for the select box */
    background: #fff; /* Background color */
    border-top-right-radius: 0px; /* Top-left corner */
    border-top-left-radius:4px;
    border-bottom-right-radius: 0px; /* Bottom-left corner */
    margin-bottom: -0px;
    border-bottom-left-radius:4px
}

/* Adjust styles for smaller screens */
@media (max-width: 600px) {
    .country-code {
        width: 20%; /* Full width of the parent container */
        height: 54px; /* Set a fixed height for consistency */
        padding: 17.3px; /* Add consistent padding */
        margin-right: -2px; /* Space adjustment */
        margin-bottom: 1px;
        border: 1px solid #cccccc; /* Border for the select box */
        background: #fff; /* Background color */
        border-top-right-radius: 0px; /* Top-left corner */
        border-bottom-right-radius: 0px; /* Bottom-left corner */
        -moz-appearance: none; /* Remove default styling in Firefox */
        margin-bottom: -0px;
    }
}

@media (max-width: 834px) {
    .country-code {
        width: 17%; /* Full width of the parent container */
    }
}

@media (max-width: 884px) {
    .country-code {
        width: 19%; /* Full width of the parent container */
    }
}

@media (max-width: 820px) {
    .country-code {
        width: 20%; /* Full width of the parent container */
    }
}

@media (max-width: 800px) {
    .country-code {
        width: 18%; /* Full width of the parent container */
    }
}

@media (max-width: 768px) {
    .country-code {
        width: 20%; /* Full width of the parent container */
    }
}


/* Additional media queries for other resolutions can be added as needed */
@media (max-width: 768px) {
    .country-code {
        width: 20%; /* Full width of the parent container */
        height: 54px; /* Set a fixed height for consistency */
        padding: 17.3px; /* Add consistent padding */
        margin-right: -2px; /* Space adjustment */
        margin-bottom: 1px;
        border: 1px solid #cccccc; /* Border for the select box */
        background: #fff; /* Background color */
        border-top-right-radius: 0px; /* Top-left corner */
        border-bottom-right-radius: 0px; /* Bottom-left corner */
        -moz-appearance: none; /* Remove default styling in Firefox */
        margin-bottom: -0px;
    }
}

@media (max-width: 480px) {
    .country-code {
        width: 29%; /* Full width of the parent container */
        height: 54px; /* Set a fixed height for consistency */
        padding: 17.3px; /* Add consistent padding */
        margin-right: -2px; /* Space adjustment */
        margin-bottom: 1px;
        border: 1px solid #cccccc; /* Border for the select box */
        background: #fff; /* Background color */
        border-top-right-radius: 0px; /* Top-left corner */
        border-bottom-right-radius: 0px; /* Bottom-left corner */
        -moz-appearance: none; /* Remove default styling in Firefox */
        margin-bottom: -0px;
    }
}

@media (max-width: 320px) {
    .country-code {
        width: 34%; /* Full width of the parent container */
        height: 54px; /* Set a fixed height for consistency */
        padding: 17.3px; /* Add consistent padding */
        margin-right: -2px; /* Space adjustment */
        margin-bottom: 1px;
        border: 1px solid #cccccc; /* Border for the select box */
        background: #fff; /* Background color */
        border-top-right-radius: 0px; /* Top-left corner */
        border-bottom-right-radius: 0px; /* Bottom-left corner */
        -moz-appearance: none; /* Remove default styling in Firefox */
        margin-bottom: -0px;
    }
}

/* Default styling for the floating label */
label.floating-label[for="phone"] {
    position: absolute;
    left: 103px;
    top: 9px;
    font-size: 16px;
    color: #42424200;
    transition: all 0.0s ease;
    background: #ff6b6b00;
    padding: 0 4px;
    pointer-events: none; /* Prevent the label from blocking clicks */
}

/* Styling specifically for the phone number input */
/* Styling the phone number input with individual border-radius values */
/* Styling the phone number input with individual border-radius values */
#phone.input-field {
    border-top-left-radius: 1px;    /* Top-left corner */
    border-bottom-left-radius: 1px; /* Bottom-left corner */
}


#phone {
    padding: 15px; /* Increase the padding-top to move the placeholder up */
}

#phone::placeholder {
    color: #424242af; /* Placeholder text color */
    opacity: 1; /* Ensures full visibility of the placeholder */
    transition: opacity 0.3s ease; /* Smooth transition when focusing */
}

.card-images {
    margin-right: 14px; /* Adjust value as needed */
}

.card-images img {
    transition: transform 0.2s ease, filter 0.2s ease; /* Smooth transition for zoom and greyed out effect */
}

.card-images img.greyed-out {
    filter: grayscale(100%);
    opacity: 0.5; /* Optional: adjust opacity for more effect */
}

.card-images img.zoomed {
    transform: scale(1.1); /* Slightly zoom in */
}



.checkbox-container {
    display: flex;
    align-items: center;  /* Aligns the label text vertically with the checkbox */
    margin-top: -2px;
}

.checkbox-input {
    appearance: none;
    width: 18px;            /* Customize the width of the checkbox */
    height: 18px;           /* Customize the height of the checkbox */
    border: 1px solid #8888885b;  /* Default border color */
    background-color: #ffffff;    /* Default box color */
    border-radius: 4px;           /* Rounded corners */
    margin-right: 0.5em;          /* Spacing between checkbox and label */
    cursor: pointer;
    position: relative;
    outline: none;
    margin-left: 1PX;
}

.checkbox-input:checked {
    background-color: #000000;    /* Box color when checked */
}

.checkbox-input:checked::after {
    content: '';
    position: absolute;
    top: 1px;            /* Adjust for the checkmark position */
    left: 5px;           /* Adjust for the checkmark position */
    width: 4px;          /* Checkmark width */
    height: 9px;        /* Checkmark height */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.9em;     /* Text size */
    color: #383838;       /* Text color */
    cursor: pointer;
    color: bold;
}

/* Responsive adjustments for phones */
@media (max-width: 600px) {
    .checkbox-input {
        appearance: none;
        width: 18px;            /* Customize the width of the checkbox */
        height: 18px;           /* Customize the height of the checkbox */
        border: 1px solid #8888885b;  /* Default border color */
        background-color: #ffffff;    /* Default box color */
        border-radius: 4px;           /* Rounded corners */
        margin-right: 0.5em;          /* Spacing between checkbox and label */
        cursor: pointer;
        position: relative;
        outline: none;
        margin-left: 1PX;        /* Slightly larger checkbox for mobile */
    }

    .new-checkbox-input:checked::after {
        content: '';
        position: absolute;
        top: 1px;            /* Adjust for the checkmark position */
        left: 5px;           /* Adjust for the checkmark position */
        width: 5px;          /* Checkmark width */
        height: 9px;         /* Checkmark height */
    }

    .checkbox-label {
        font-size: 0.8em;     /* Text size */
        color: #383838;       /* Text color */
        cursor: pointer;
        color: bold;         /* Slightly larger text on mobile */
    }

    .checkbox-container {
        display: flex;
        align-items: center;  /* Aligns the label text vertically with the checkbox */
        margin-top: -2px;
    }

}

  /* ------------------------------------------------------------- */


@media (max-width: 600px) { /* Adjust this breakpoint as needed */
    .input-with-code {
        margin-top: -12px; /* Change this value to move the input down */
        /* To move it up, use a negative value, e.g., margin-top: -20px; */
    }
}


/* checkbox v2 */

.new-checkbox-container {
    display: flex;
    align-items: center;  /* Aligns the label text vertically with the checkbox */
    margin-bottom: 23px;
}

.new-checkbox-input {
    appearance: none;
    width: 18px;            /* Customize the width of the checkbox */
    height: 18px;           /* Customize the height of the checkbox */
    border: 1px solid #8888885b;  /* Default border color */
    background-color: #ffffff;    /* Default box color */
    border-radius: 4px;           /* Rounded corners */
    margin-right: 0.5em;          /* Spacing between checkbox and label */
    cursor: pointer;
    position: relative;
    outline: none;
    margin-left: 1px;
}

.new-checkbox-input:checked {
    background-color: #000000;    /* Box color when checked */
}

.new-checkbox-input:checked::after {
    content: '';
    position: absolute;
    top: 1px;            /* Adjust for the checkmark position */
    left: 5px;           /* Adjust for the checkmark position */
    width: 4px;          /* Checkmark width */
    height: 9px;         /* Checkmark height */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.new-checkbox-label {
    font-size: 0.9em;     /* Text size */
    color: #383838;       /* Text color */
    cursor: pointer;
    color: bold;
}

@media (max-width: 600px) {
    .new-checkbox-input {
        appearance: none;
        width: 18px;            /* Customize the width of the checkbox */
        height: 18px;           /* Customize the height of the checkbox */
        border: 1px solid #8888885b;  /* Default border color */
        background-color: #ffffff;    /* Default box color */
        border-radius: 4px;           /* Rounded corners */
        margin-right: 0.5em;          /* Spacing between checkbox and label */
        cursor: pointer;
        position: relative;
        outline: none;
        margin-left: 1PX;        /* Slightly larger checkbox for mobile */
    }

    .new-checkbox-input:checked::after {
        content: '';
        position: absolute;
        top: 1px;            /* Adjust for the checkmark position */
        left: 5px;           /* Adjust for the checkmark position */
        width: 4px;          /* Checkmark width */
        height: 9px;         /* Checkmark height */
    }
    
    .new-checkbox-label {
        font-size: 0.8em;     /* Text size */
        color: #383838;       /* Text color */
        cursor: pointer;
        color: bold;         /* Slightly larger text on mobile */
    }

    .new-checkbox-container {
        display: flex;
        align-items: center;  /* Aligns the label text vertically with the checkbox */
        margin-top: -2px;
    }

}

@media (max-width: 320px) {
    .new-checkbox-input {
        appearance: none;
        width: 19px;            /* Customize the width of the checkbox */
        height: 18px;           /* Customize the height of the checkbox */
        border: 1px solid #8888885b;  /* Default border color */
        background-color: #ffffff;    /* Default box color */
        border-radius: 4px;           /* Rounded corners */
        margin-right: 0.5em;          /* Spacing between checkbox and label */
        cursor: pointer;
        position: relative;
        outline: none;
        margin-left: 1PX;        /* Slightly larger checkbox for mobile */
    }

    .new-checkbox-input:checked::after {
        content: '';
        position: absolute;
        top: 1px;            /* Adjust for the checkmark position */
        left: 5px;           /* Adjust for the checkmark position */
        width: 4px;          /* Checkmark width */
        height: 9px;         /* Checkmark height */
    }
    
    .new-checkbox-label {
        font-size: 0.8em;     /* Text size */
        color: #383838;       /* Text color */
        cursor: pointer;
        color: bold;         /* Slightly larger text on mobile */
    }

    .new-checkbox-container {
        display: flex;
        align-items: center;  /* Aligns the label text vertically with the checkbox */
        margin-top: -2px;
    }

}


@media (max-width: 600px) { /* Adjust this breakpoint as needed */
    .input-with-code {
        margin-top: -12px; /* Change this value to move the input down */
        /* To move it up, use a negative value, e.g., margin-top: -20px; */
    }
}


/* Responsive adjustments for phones */
/* Responsive adjustments for phones */
@media (max-width: 600px) {
    .order-details .order-item {
        margin-top: -35px; /* Move the order item down */
        /* Adjust margin-bottom for moving it up */
    }

    .order-details .shipping,
    .order-details .subtotal,
    .order-details .total {
        margin-top: 10px; /* Add space between each element */
        /* Adjust margin-bottom as needed */
    }
    
    .order-details hr.price-line {
        margin: 10px 0; /* Adjust space around the horizontal line */
    }
}

/* Container for Date of Birth and Birthday Message */


/* Payment failed message styling */
.payment-failed-message {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #5e2b2b; /* Updated dark red text color */
    background-color: #fef6f6; /* Updated light red background color */
    border: 1px solid #fddada; /* Updated border color */
    border-radius: 5px; /* Slightly increased border radius */
    padding: 16px;
    font-size: 14px; /* Updated font size */
    font-weight: normal;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    padding-left: 50px; /* Added padding on the left to make space for the icon */
}

/* SVG icon style for error message */
.error-icon {
    position: absolute; /* Fix the icon in place */
    top: 35%;
    left: 8px; /* Distance from the left of the message box */
    transform: translateY(-50%); /* Center the icon vertically */
    width: 26px; /* Adjusted icon width */
    height: 26px; /* Adjusted icon height */
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

/* Custom size for mobile devices */
@media (max-width: 600px) {
    .payment-failed-message {
        margin-top: 10px;
        padding-left: 50px; /* Keep space for the icon */
    }

    /* Ensure icon stays consistent size on mobile */
    .error-icon {
        width: 28px; /* Keeps the icon size fixed */
        height: 28px; /* Keeps the icon size fixed */
	    top: 26%;
    }
}

/* Processing error message styling */
.processing-error-message {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #874c2c; /* Dark brown text color */
    background-color: #fef4ec; /* Light orange background color */
    border: 1px solid #fcc8a0; /* Orange-tinted border */
    border-radius: 5px; /* Slightly rounded corners */
    padding: 16px;
    font-size: 14px; /* Font size */
    font-weight: normal;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    padding-left: 50px; /* Space for the icon */
}

/* SVG icon style for processing error message */
.processing-error-icon {
    position: absolute; /* Fix the icon in place */
    top: 35%;
    left: 8px; /* Distance from the left edge of the message box */
    transform: translateY(-50%); /* Center the icon vertically */
    width: 26px; /* Icon width */
    height: 26px; /* Icon height */
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

/* Mobile-specific adjustments for processing error message */
@media (max-width: 600px) {
    .processing-error-message {
        margin-top: 10px;
        padding-left: 50px; /* Maintain space for the icon */
    }

    /* Adjust icon size for mobile */
    .processing-error-icon {
        width: 28px; /* Increased icon width for better visibility */
        height: 28px; /* Increased icon height for better visibility */
        top: 26%; /* Slightly adjust vertical alignment */
    }
}

