/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Trebuchet MS', sans-serif;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 20px;
    box-sizing: border-box;
    flex: 1 1 auto; 
}

.contact-content-container {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto; /* Center container horizontally */
    padding: 20px;
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 600px; /* Adjust to make it smaller */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text inside */

}


/* Header Container Styles */
.header-container {
    display: flex;
    align-items: center; /* Center items vertically */
    width: 100%;
    height: 10vh;
    max-width: 1200px; /* Adjust for larger screens */
    margin: 0 auto; /* Center container horizontally */
    padding: 20px 0; /* Space around header */
    position: absolute;
}

/* Header Title Container Styles */
.header-title-container {
    text-align: center;
    width: 100%;
    margin: 60px 0; /* Space above and below the title container */
}

/* Content Container Styles */
.content-container {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    box-sizing: border-box;
    margin: 0 auto; /* Center container horizontally */
    /*padding: 20px;*/
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Carousel Container Styles */
#carousel-container {
    position: relative;
    width: 40vw;
    height: 20vh;
    min-width: 300px;
    max-width: 1024px;
    min-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10vw;
    background-color: #fff;

}

/* Carousel Wrapper Styles */
.swiper-wrapper {
    display: flex;
    min-width: 300px;
    max-width: 1024px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    transition: transform 0.3s ease-in-out;
    /*border: 2px solid red;*/

}

/* Product Image Styles */
.product-image {
    width: 100%;
    height: auto;
}

/* Product Box Styles */
.product-box {
    flex: 0 0 auto;
    width: 100px;
    height: 300px;
    margin-right: 5px;
    max-width: 100px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 12px;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

/* Product Box Hover Effect */
.product-box:hover {
    transform: scale(1.05);
    z-index: 1;
}

/* Product Title Styles */
.product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

/* Product Description Styles */
.product-description {
    font-size: 14px;
    color: #666;
    margin: 0 10px 10px;
}

/* Product Price Styles */
.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #1a0dab;
    margin: 10px 0;
}

/* Product Link Styles */
.product-link {
    text-decoration: none;
    color: #1a0dab;
    font-size: 14px;
    margin: 10px 0;
}

.product-link:hover {
    text-decoration: underline;
}


/* Privacy Policy Container */
.privacy-policy-container {
    margin-top: 5vh;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    flex: 1 1 auto;
    max-height: calc(100vh - 160px);
    max-width: 100%; /* Ensure it respects the width of its parent */
    width: 100%;
    overflow-y: auto;
    background-color: #fafafa;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}


.privacy-policy-container iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}

/* Logo Styles */
#logo {
    max-width: 200px;
    height: auto;
    margin-right: 20px;
}


/* Header title styles */
.header-title {
    font-size: 36px;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Adjustments for Smaller Screens */
@media (max-width: 480px) {
    .clear-icon {
        right: 15px;
    }

    #searchInput {
        font-size: 16px;
    }

    .header-container {
        flex-direction: column;
        /*display: block;*/
        align-items: center; /* Center items horizontally */
        position: relative; /* Ensure relative positioning */
        padding: 0;
        /*padding: 10px 0; !* Adjust padding *!*/
    }

    #logo {
        max-width: 150px;
        margin-bottom: 10px;
    }

    /* Hide Header Title Container on Small Screens */
    .header-title-container {
        display: none; /* Completely hide the container */
    }

    /* Adjust Header Title Styles */
    .header-title {
        font-size: 24px; /* Adjust font size for small screens */
        position: static; /* Remove absolute positioning */
        transform: none; /* Remove transform */
        text-align: center; /* Center text */
        width: 100%; /* Ensure full width */
        margin: 0 auto; /* Center title horizontally */
    }

    #results-container {
        padding-left: 0; /* Adjust padding for small screens */
    }

    .contact-content-container {
        padding: 10px; /* Reduce padding for smaller screens */
        max-width: 100%; /* Ensure full width */
    }

    .contact-container {
        top: 0;
    }

    .privacy-policy-container {
        margin-top: 0; /* Remove top margin */
        padding: 0; /* Remove all padding */
        width: 100%; /* Ensure it doesn't exceed the screen width */
        box-sizing: border-box; /* Include padding in the width */
        overflow-x: hidden; /* Prevent horizontal overflow */
    }

    .content-container {
        padding-top: 0;
        margin-top: 0;
    }

}

/* Adjustments for Small Screens */
@media (max-width: 768px) {
    .product-box {
        width: calc(50% - 24px);
    }

    .footer {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        text-align: center;
        font-size: 14px !important;
        /*min-height: 60px;*/
        /*bottom: 0;*/
        flex-wrap: wrap !important;
    }

    .footer-links {
        display: flex;
        justify-content: center !important;
        text-align: center !important;
        min-width: 100%;
        /*min-width: 100vw;*/
        padding: 0 !important;
        bottom: 0;
        margin: 0;
        flex-shrink: 0;
    !important;
        /*order: 0 !important;*/
    }

    .disclaimer {
        display: flex;
        text-align: center !important;
        font-size: 11px;
        width: 100% !important;
        padding: 0 !important;
        margin: 0;
        bottom: 0;
        /*order: 1 !important;*/
    }

}

/* Results Container Styles */
#results-container {
    padding-top: 10vh;
    max-width: 1024px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    margin: 0;
    padding-left: 10vw;
    box-sizing: border-box;
}

/* Adjustments for Medium Screens */
@media (max-width: 1024px) {
    #results-container {
        padding-left: 10px;
    }
}


/* Footer Link Styles */
.footer a {
    color: #1a0dab;
    text-decoration: none;
    margin: 0 10px;
}

/* Footer Link Hover Styles */
.footer a:hover {
    text-decoration: underline;
}

/* Ad Styles */
.ad {
    margin-bottom: 25px;
}

/* Listing Styles */
.listing {
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Title Link Styles */
.title-link {
    font-size: 18px;
    color: #1a0dab;
    text-decoration: none;
}

/* Title Link Hover Styles */
.title-link:hover {
    text-decoration: underline;
}

/* URL Link Styles */
.url-link {
    display: block;
    color: green;
    font-size: 14px;
    text-decoration: none;
}

/* URL Link Hover Styles */
.url-link:hover {
    text-decoration: underline;
}

/* Description Styles */
.description {
    font-size: 14px;
    color: #4d5156;
    margin-block-start: 5px;
    margin-block-end: 5px;
}


/* Privacy Policy Container Styles */
.privacy-policy-container {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.privacy-policy-content {
    font-size: 14px;
    color: #333;
}

.privacy-policy-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer {
    /*position: relative;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    width: 100%;
    min-height: 40px;
    border-top: 1px solid #e5e5e5;
    margin-top: 20px;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.disclaimer {
    display: flex;
    left: 10px;
    text-align: left;
    padding: 10px;
    width: auto;
    order: 0;
    flex-grow: 1;
    flex-shrink: 1;
}

.footer-links {
    display: flex;
    padding: 20px;
    margin-left: auto;
    width: auto;
    max-width: 40%;
    text-align: right;
    flex-shrink: 0;
    order: 1;
}