@font-face {
    font-family: 'Cabin';
    src: url('../fonts/Cabin-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nico';
    src: url('../fonts/Nicomadonia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nico-Bold';
    src: url('../fonts/Nicomadonia-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}


/* Apply the fonts to the body and other required elements */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Nico', Arial, sans-serif;
}

/* If you want any specific elements to use the bold font */
strong, h1, h2, h3, h4, h5, h6 {
    font-family: 'Nico-Bold', Arial, sans-serif;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 22px;
}

.header img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
}

.selections {
    display: flex;
    flex-direction: row; /* Explicitly set the direction */
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.option {
    flex: 0 0 calc(50% - 20px); /* change the flex-grow property to 0 */
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* For the recommended option */
.option.recommended {
    border: 3px solid gold; /* Golden border */
    position: relative; /* Ensure positioning for the pseudo element */
}

.option.recommended::before {
    content: "☆ Consigliata"; 
    position: absolute;
    top: -20px; /* Adjust this value to position the text appropriately */
    left: 50%;
    transform: translateX(-50%); /* Center the text horizontally */
    background-color: gold; /* Background to ensure the text is readable */
    padding: 5px; /* Some padding around the text */
    border-radius: 5px; /* Optional rounded corners */
    font-weight: bold; /* Making the text bold */
}

/* Change border and textbox background to green when option is selected */
.option.recommended.active {
    border-color: #4CAF50;
}

.option.recommended.active::before {
    background-color: #4CAF50;
}

/* Ensuring children do not interfere with the click event */
.option > * {
    pointer-events: none;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    pointer-events: auto; /* Ensures the input elements inside the option are still clickable */
}

.option:hover {
    /* Slightly elevate the option on hover */
    transform: translateY(-3px);

    /* Increase the intensity of the box shadow on hover */
    box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
}

.icon img {
    width: 120px;

    display: block;
    margin: 0 auto;
}

/* Progress Bar Styles */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #ffffff; /* This will ensure the progress bar has a background */
    z-index: 10; /* Ensures the progress bar is always on top */
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0; /* Adds a subtle bottom border */
}

.progress-bar:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px; /* Adjust thickness as needed */
    background-color: #fff;
    z-index: -1;
}



.step.half-completed .circle {
    border-color: black; /* Half completed steps have black border */
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    width: calc(100% - 20px); /* The line will span the full width minus the diameter of a circle */
    height: 5px;
    background-color: grey;
    left: 50%; /* Adjusts the starting point to the center of the circle */
    top: 50%; /* Centers the line vertically */
    transform: translateX(10px) translateY(-50%); /* Adjust the translateX value to ensure the line starts right after the circle */
    z-index: -1;
    top: calc(17.5% - 1px); /* Adjust the line position slightly upwards */
}



.step {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 20px;
}

.step.completed::after {
    background-color: black;
}


.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff; /* default color changed to grey */
    border: 4px solid grey;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.step.completed .circle {
    background-color: black; /* Completed steps turn black */
    border-color: black;
}

.step.current .circle {
    width: 30px;
    height: 30px;
    border-color: #FFC107;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    display: none;
    margin-top: 10px;
}

.custom-dropdown label {
    display: block;
}


.option.active .custom-dropdown {
    display: block;
}

.warning-text {
    color: red;
    display: none;
}

/* Highlighting the selected box */
.option.active {
    border: 4px solid #4CAF50;
    padding: 18px;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .option {
        flex: 1 1 100%;
        border-radius: 0;
    }

    .icon img {
        width: 150px;
        height: 150px;
    }

    .selections {
        gap: 0;
    }
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info h3 {
    font-size: 1.5em;
    margin-bottom: 0.25em;  /* Reduced margin */
}

.info .discount {
    color: green;
    margin-bottom: 0.25em;  /* Reduced margin */
    font-family: 'Nico-Bold', Arial, sans-serif;
}

.info .old-price {
    text-decoration: line-through;
    margin-bottom: 0.25em;  /* Reduced margin */
    color: gray;
}

.summary-section {
    margin-top: 40px;
    padding: 20px;
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    background-color: #ffffff;
}


.summary-content {
    margin-bottom: 10px;
}

.summary-item {

}

.product-icon-container {
    flex-shrink: 0; 
    margin-right: 10px; 
    width: 40%;
}

.product-text-container {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    flex: 1;
}




.total-price {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

.shipping-info-form {
    margin: 20px 0;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    display: block;
    width: 250px;  /* Adjust the width */
    margin: 20px auto;  /* Keeps the button centered */
    padding: 20px 40px;  /* Increase padding */
    font-size: 20px;  /* Increase font size */
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 60px;
    text-decoration: none;
}

button:hover {
    background-color: #45a049;
}

#confirm-order {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 65px;
}

#confirm-order:hover {
    /* Slightly elevate the button on hover */
    transform: translateY(-2px);

    /* Increase the intensity of the box shadow on hover */
    box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
}

#confirm-order:active {
    /* Push the button slightly down when clicked */
    transform: translateY(1px);

    /* Reduce the intensity of the box shadow to give a pressed effect */
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}


.faq-section {
    background-color: #ffffff;
    padding: 0px 20px 10px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.faq-section h2 {
    font-size: 30px;
}

.faq-question {
    font-size: 1.5em; /* Increase the font size */
    cursor: pointer;
    margin: 10px 0;
    font-family: 'Nico-Bold', Arial, sans-serif;
}

.faq-answer {
    display: none; /* By default, answers are hidden */
    color: #555;  /* Dark grey font color */
    margin: 5px 0 20px 0;
    font-family: 'Nico', Arial, sans-serif;
    font-size: 18px;
}

#error-message {
    margin-bottom: 10px;
}


/* Existing styles */
.exit-modal {
    display: none;
}

.exit-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
}

.exit-modal-content {
    width: 300px;
    margin: 15% auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    position: relative;
}

.exit-modal-image {
    width: 80%; /* Adjust as needed */
    display: block;
    margin: 0 auto; /* Center the image */
    border-radius: 10px; /* Optional: Round the corners */
    margin-bottom: 10px; /* Space between image and text */
}

.exit-modal-text {
    text-align: center;
    margin-bottom: 20px; /* Space between text and email input */
    font-size: 20px; /* Adjust as needed */
}


.email-input {
    width: 97%;

}

/* New or modified styles */
.exit-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px; /* adjust as per your preference */
    height: 20px; /* adjust as per your preference */
    cursor: pointer;
}

.exit-modal-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.1);

    /* Add a box shadow for depth */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);

    /* Transition for smooth effects */
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    /* Slightly rounded corners */
    border-radius: 5px;

    /* Cursor change to indicate button's interactivity */
    cursor: pointer;
    /* You can further style this button to match the "Confirm Order" button's design */
}

.exit-modal-submit-btn:hover {
    /* Slightly elevate the button on hover */
    transform: translateY(-2px);

    /* Increase the intensity of the box shadow on hover */
    box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
}

.exit-modal-submit-btn:active {
    /* Push the button slightly down when clicked */
    transform: translateY(1px);

    /* Reduce the intensity of the box shadow to give a pressed effect */
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

/* Desktop Styles */
@media only screen and (min-width: 769px) {
    .container {
        margin-top: 40px; /* Adding top margin on desktop */
    }

    .selections {
        flex-direction: row;
        justify-content: space-between; /* Adjusted to space-between for better distribution */
        gap: 20px; /* You can adjust this value for the desired spacing between options */
        margin-top: 30px;
    }

    .option {
        flex: 1 1 calc(20% - 20px); /* Adjusted to accommodate all four options */
        margin: 0; /* Remove the previous margins */
    }

    .summary-section {
        margin-top: 50px; /* Increase the space between options and summary on desktop */
    }
}


@media screen and (max-width: 768px) {
    /* Mobile */
    .fomo-popup {
        top: 10px;
    }
}

    .exit-modal-image {
    width: 80%; /* Adjust as needed */
    display: block;
    margin: 0 auto; /* Center the image */
    border-radius: 10px; /* Optional: Round the corners */
    margin-bottom: 10px; /* Space between image and text */
}

.exit-modal-text {
    text-align: center;
    margin-bottom: 20px; /* Space between text and email input */
    font-size: 20px; /* Adjust as needed */
}

@media screen and (min-width: 769px) {
    /* Desktop */
    .fomo-popup {
        bottom: 10px;
    }
}

.product-icon {
    width: 140px; /* or whatever size fits your design */
    height: auto; /* maintain aspect ratio */
    margin-right: 10px; /* space between the image and text */
    vertical-align: middle; /* align with the middle of the text */
}

.price-shipping {
    float: right;
    font-weight: bold;
    font-family: 'Nico-Bold', Arial, sans-serif;;
    font-size: 16px;
}

.price-value {
    float: right;
    font-weight: bold;
    font-family: 'Nico-Bold', Arial, sans-serif;;
    font-size: 20px;
}

/* Clear floats after each pricing section for clean layout */
.bundle-price, .shipping, .total-price {
    clear: both;
}

.discount .price-value {
    color: red;
}

/* Desktop design: 1/3 width summary on larger screens */
@media (min-width: 1025px) {
    .summary-section {
        max-width: 33.33%; /* 1/3 of the page */
        margin: 0 auto; /* centers the container */
        box-sizing: border-box; /* ensures padding and border are included in the width */
        padding: 0 20px; /* some space on the sides for better visuals */
    }
}

#fomoProductIcon {
    width: 40px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px; /* Optional: to add some spacing between the image and the adjacent text */
}

.fomo-popup {
    background-color: #222;
    color: white;
    padding: 10px 20px; 
    border-radius: 5px;
    position: fixed;
    left: 10px;
    z-index: 1000;
    display: none;  /* Initially hidden */
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    font-size: 14px;
    align-items: center; /* this will ensure the text and image are vertically */
    font-size: 18px;
} 


.email-warning {
    color: red;
    text-align: center;
    display: none; /* Initially hidden */
    margin-bottom: 10px;
}

.gdpr-compliance {
    margin: 15px 0;
    font-size: 0.8em;
}

.gdpr-compliance label { 
    font-family: 'Nico', Arial, sans-serif !important; /* This applies the 'Cabin' font specifically to the label */
}

.gdpr-compliance input[type="checkbox"] {
    margin-right: 5px;
}


.submit-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;  /* Change the cursor to indicate the button is disabled */
    pointer-events: none; /* Makes the button non-clickable */
}

#cookieConsentBanner {
    background-color: #f5f5f5; /* Light grey background */
    color: #333; /* Dark text color */
    padding: 10px 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure it's on top */
    display: none;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cabin', sans-serif; /* Set font to Cabin */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    font-size: 11px;
}

#cookieConsentBanner button {
    color: #fff; /* White text color */
    border: none;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px;
}

#cookieConsentBanner button:hover {
    background-color: #555; /* Slightly lighter color on hover */
}

#cookieConsentBanner .exit-modal-close-btn {
    position: absolute;
    top: -3px;
    right: 373px;
    width: 20px; /* Adjust based on your preference */
    height: 20px;
    cursor: pointer;
}

#cookieConsentBanner span {
    margin: 0 5px; /* Added some margin to space out the text and button */
}

/*Footer Styles */
footer {
    padding: 20px;
    background-color: #f5f5f5;
    font-family: 'Nico', sans-serif;
    border-top: 1px solid #e0e0e0;
    max-width: 100%;
    overflow: auto;
    text-align: center;
    font-size: 18px;
}

footer div {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjusted the minmax for better responsiveness */
    gap: 0 20px;
    justify-items: center; /* Centers the content within the grid cells */
}

footer h2 {
    font-size: 22px;
    margin-bottom: 0px;
}

footer p, footer a {
    font-size: 1em;
    margin-bottom: 5px;
}

footer a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

footer a:hover {
    color: #555;
}

footer div div {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns content to the center for better appearance */
}

.instagram-icon {
    height: 24px; /* Adjust as needed */
    width: auto;
    margin-left: 10px;  /* Adds a little space between the company name and the icon */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    footer div {
        grid-template-columns: 1fr; /* On smaller screens, each section takes full width */
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;      /* Flexbox is added */
    align-items: center;    /* Vertically center */
    justify-content: center;/* Horizontally center */
}

#overlay .message {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 70%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    color: #000;
    display: flex;          /* Set as a flex container */
    align-items: center;    /* Vertically center items */
    justify-content: center;/* Horizontally center items */
    flex-direction: column; /* Stack children vertically */
    font-size: 20px;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    position: relative; /* This allows us to position child elements relative to the header */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

#hamburgerMenu {
    position: absolute;
    right: 20px;
    top: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 30px;
}

#menuOptions {
    position: absolute;
    right: 20px;
    top: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#menuOptions a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
}

#menuOptions a:hover {
    background-color: #fff;
}

.hidden {
    display: none;
}

#logoContainer {
    position: absolute;
    left: 20px;
    top: 20px;
    transform: translateY(-50%);
}

#logo {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}




.price-detail {
    float: left;
    font-size: 20px;
}

}

.price-detail {
    float: left;
    font-size: 20px;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}
.time-container {
    flex: 1;
    padding: 10px;
}
.time-value {
    display: block;
    font-size: 2em;
    font-family: 'Nico-Bold', Arial, sans-serif;
    margin-bottom: 5px;
}
.time-container p {
    margin: 0;
    font-family: 'Nico', Arial, sans-serif;
}

.plus-one-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.plus-one-checkbox {
    margin-right: 5px;
}

.countdown-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}


.exit-modal-continue-btn {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.1);