.vendorcontainer {
    display: flex;
    background-color: #f4f4f4;
}

.leftsideven {
    width: 30%;
    margin-left: 10%;
    margin-right: 2%;
    padding-left: 20px;
    margin-top: 18px;
}

.rightsideven {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-bottom: 15px;
    background-color: white;
}

.bottomsideven {
    text-align: left;
    width: 79%;
    height: 65vh;
    margin-left: 11%;
    margin-bottom: 120px;
}

.filterven {
    background-color: white;
    padding-bottom: 30px;
    margin-top: 30px;
    padding-left: 20px;
}

.titlefilven {
    color: black;
    font-size: large;
}

.buttonfilven {
    background-color: blue;
    color: white;
    padding-top: 10px;
    width: 85%;
}

.filteritemven {
    color: #000000;
    margin-top: 10px;
    margin-bottom: 10px;
}

.adleftven {
    margin-top: 10px;
    margin-bottom: 10px;
}

.vendorbottomcontainer {
    background-color: #f4f4f4;
}

.navigationven {
    background-color: #f4f4f4;
    padding-bottom: 10px;
    margin-left: -20px;
    margin-right: -20px;
    color: #737373;
}

.boundaryven {
    border-top: 1px solid #bcbcbc;
    margin: 10px 0;
    /* Space between top and bottom sections */
    height: 1px;
    width: 100%;
}

.catsuggestbox {
    white-space: nowrap;
    margin-top: auto;
    margin-bottom: auto;
}

.catsuggestboxtext {
    padding: 3px;
}

.CatSuggestven {
    color: #000000;
    margin-left: 20px;
    text-overflow: ellipsis;
    text-wrap: balance;
}

.carouselven-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of cards */
    justify-content: space-between; /* Space out cards */
}

.carouselven-body {
    flex: 0 0 calc(33.33% - 16px); /* 3 cards per row with space */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add some shadow for a card effect */
    margin-bottom: 16px; /* Space between rows */
    padding: 16px; /* Inner padding */
    background-color: white; /* Card background */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.2s; /* Smooth transform for hover effect */
}

.carouselven-body:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.carouselven-image {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 4px; /* Slightly round image corners */
}

.carouselven-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of cards */
    justify-content: space-between; /* Space out cards */
}

.carouselven-bottom {
    width: 100%;
    height: auto;
    /* Change to auto for responsiveness */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.carouselven-body {
    flex: 0 0 calc(33.33% - 16px); /* 3 cards per row with space */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add some shadow for a card effect */
    margin-bottom: 16px; /* Space between rows */
    padding: 16px; /* Inner padding */
    background-color: white; /* Card background */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.2s; /* Smooth transform for hover effect */
}

.carouselven-body:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.carouselven-badge {
    background-color: var(--web-hover);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    margin-left: 60%;
    margin-right: auto;
    text-wrap: nowrap;
}

.carouselven-image {
    width: 100%;
    /* Make image responsive */
    height: auto;
    max-height: 150px;
    /* Adjust image height */
    border-radius: 4px;
    margin-bottom: 12px;
}

.carouselven-title {
    font-size: 1.2em;
    /* Adjusted font size for title */
    font-weight: bold;
    margin: 8px 0;
}

.carouselven-price {
    font-size: 1em;
    /* Adjusted font size for price */
    color: #28a745;
    margin: 4px 0;
}

.carouselven-order,
.carouselven-origin,
.carouselven-description,
.carouselven-rating,
.carouselven-member-category {
    margin: 4px 0;
    color: #555;
    font-size: 0.9em;
    /* Keep smaller text size */
}

.carouselven-buttons {
    margin-top: auto;
    display: flex;
    justify-content: space-evenly;
}

.carouselven-button {
    background-color: var(--web-hover);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-wrap: nowrap;
}

.carouselven-button:hover {
    background-color: var(--web-hover);
}

.pagetitleven {
    color: rgba(0, 0, 0, 0.804);
    margin: 5px;
}

.view-controls {
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: flex-end;
    /* Align to the right */
    margin-left: auto;
    margin-right: 5%;
    /* Push to the right */
}

.icon {
    cursor: pointer;
    margin-left: 10px;
    /* Space between icons */
    font-size: large;
}

.view-button {
    margin-left: 10px;
    padding: 8px 12px;
    background-color: var(--web-hover);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-button:hover {
    background-color: var(--web-hover);
}

.listviewven {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.listview-item {
    display: flex;
    padding: 16px;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    height: auto;
    flex-wrap: nowrap; /* Prevent wrapping to keep items in a single line */
}

.leftflexlistview{
    width: 20%;
}

.centerflexlistview{
    width: 50%;
}

.rightmostflexlistview{
    width: 30%;
}

.listview-image {
    width: 100%;
    height: 100%;
    margin-right: 16px;
}

.listview-badge {
    background-color: var(--web-hover);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.listview-title {
    margin: 0; /* Remove default margin */
    text-align: start;
    padding-left: 15px;
    margin-bottom: 10px;
}

.listview-price{
    text-align: start;
    padding-left: 15px;
    font-size: large;
}

.listview-order{
    text-align: start;
    padding-left: 15px;
}

.listview-origin{
    text-align: start;
    padding-left: 15px;
}

.listview-description {
    margin: 4px 0;
    text-align: start;
    padding-left: 15px;
}

.listview-rating{
    text-align: start;
    padding-left: 15px;
}

.listview-buttons {
    margin-top: 8px;
}

.listview-button {
    background-color: var(--web-hover);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filterbuttonven {
    background-color: white;
}

.input-container {
    display: flex;
    align-items: center;
}

.inputfilven {
    width: 80px;
    /* Adjust width as needed */
    margin: 10px;
    padding: 5px;
    /* Padding for input */
    margin-bottom: 10px;
    width: 85%;
}

.input-divider {
    margin: 0 5px;
    /* Space around the "to" text */
}

.floating-element {
    position: fixed;
    /* Makes the element stick during scroll */
    top: 20px;
    /* Distance from the top of the viewport */
    width: 100px;
    /* Set a width for the floating element */
    background: #f4f4f4;
    /* Background color */
    float: inline-end;
    margin-left: 94%;
    margin-top: 150px;
}

.floating-buttons {
    display: block;
    /* Make buttons stack vertically */
    margin: 5px 0;
    /* Space between buttons */
    width: 100%;
    /* Full width for buttons */
    padding-bottom: 20px;
    background: #ffffff;
    /* Button color */
    color: rgb(0, 0, 0);
    /* Text color */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
}

.floating-buttons:hover {
    background: #c0c0c0;
    /* Darker color on hover */
}

.catandview {
    display: flex;
    overflow-y: scroll;
}

.pagination-container {
    margin-top: 20px;
    text-align: center;
}

.pagination {
    display: inline-block;
}

.pagination a,
.pagination span {
    color: #007bff;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #007bff;
    color: white;
}

.pagination .active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.previous,
.next {
    cursor: pointer;
}

.adpanelvenr {
    width: 100%;
    height: 198px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.leftsidead {
    width: 100%;
    height: 480px;
}

.scroll-menu {
    display: flex;
    overflow: auto;
    /* Hide overflow */
}

.icon {
    cursor: pointer;
    padding: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    visibility: hidden;
}

.swiper-button-nextn,
.swiper-button-prevn {
    position: absolute;
    /* Position the buttons absolutely */
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    /* Adjust for exact centering */
    width: 40px;
    /* Button width */
    height: 40px;
    /* Button height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circular shape */
    color: white;
    /* Icon color */
    transition: background-color 0.3s;
    /* Smooth hover effect */
    z-index: 10;
    /* Ensure buttons are above slides */
}

.swiper-button-nextn {
    right: 10px;
    /* Position on the right */
}

.swiper-button-prevn {
    left: 10px;
    /* Position on the left */
}

.swiper-button-nextn:hover,
.swiper-button-prevn:hover {
    background-color: rgb(140, 140, 140);
    /* Darken on hover */
}

.swiper-button-nextn img,
.swiper-button-prevn img {
    width: 20px;
    /* Adjust icon size */
    height: 20px;
    /* Adjust icon size */
}

/* Pagination Cascading Style */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.pagination a {
    text-decoration: none;
    color: #007bff;
    padding: 10px 15px;
    border: 1px solid #007bff;
    margin: 0 5px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #007bff;
    color: white;
}

.pagination .active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    /* Match border with active background */
    pointer-events: none;
    /* Disable clicks on active page */
}

.pagination a:disabled {
    color: #ccc;
    border-color: #ccc;
    pointer-events: none;
    /* Disable clicks */
}

@media(max-width: 1025px) {
    .floating-element {
        margin-left: 90%;
    }

    .adpanel {
        margin-top: 45px;
    }

    .listview-buttons {
        display: flex;
        height: 30px;
        width: 300px;
    }

    .listview-button {
        padding-bottom: 30px;
        word-break: keep-all;
        margin: 3px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 769px) {
    .listview-button {
        margin: 2px;
        padding-bottom: 0;
        padding: 7px;
    }

    .listview-buttons{
        display: block;
    }

    .floating-element {
        display: none;
    }

    .carouselven {
        padding: 12px;
        /* Reduce padding on smaller screens */
    }

    .carouselven-bottom {
        padding: 12px;
    }

    .bottomsideven {
        margin-bottom: 180px;
    }

    .carouselven-title {
        font-size: 1.1em;
        /* Slightly smaller title */
    }

    .carouselven-price {
        font-size: 0.9em;
        /* Slightly smaller price */
    }

    .carouselven-button {
        padding: 6px 10px;
        /* Smaller button padding */
    }

    .carouselven-image {
        max-height: 120px;
        /* Reduce image height */
    }

    .leftsideven {
        display: none;
    }

    .rightsideven {
        width: 100%;
        margin-right: 1%;
    }

    .vendorcontainer {
        width: 100%;
    }

    .listview-item {
        flex-direction: column;
        /* Stack items vertically */
        align-items: flex-start;
        /* Align items to the start */
    }

    .listview-image {
        width: 80px;
        /* Adjust image size */
        height: 80px;
        /* Adjust image size */
        margin-bottom: 12px;
        /* Add bottom margin for spacing */
        margin-right: 0;
        /* Remove right margin */
    }

    .listview-title {
        font-size: 1.1em;
        /* Slightly smaller title */
    }

    .listview-price,
    .listview-order,
    .listview-origin {
        font-size: 0.9em;
        /* Slightly smaller text */
    }
}

@media (max-width: 481px) {
    .listview-item {
        padding: 12px;
        /* Reduce padding */
    }

    .listview-image {
        width: 70px;
        /* Further adjust image size */
        height: 70px;
        /* Further adjust image size */
    }

    .listview-title {
        font-size: 1em;
        /* Even smaller title */
    }

    .listview-price,
    .listview-order,
    .listview-origin {
        font-size: 0.8em;
        /* Further reduce text size */
    }

    .listview-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        margin-top: 12px;
        /* Add margin for spacing */
    }

    .listview-button {
        margin-right: 15px;
        /* Remove right margin */
        margin-bottom: 8px;
        /* Add bottom margin for spacing */
    }

    .carouselven {
        padding: 8px;
        /* Further reduce padding */
    }

    .carouselven-title {
        font-size: 1em;
        /* Even smaller title */
    }

    .carouselven-price {
        font-size: 0.8em;
        /* Even smaller price */
    }

    .carouselven-button {
        padding: 4px 8px;
        /* Further reduce button padding */
    }

    .carouselven-image {
        max-height: 100px;
        /* Reduce image height for mobile */
    }

    .carouselven-container{
        flex-direction: column;
    }
    .leftflexlistview{
        width: 100%;
    }
    .centerflexlistview{
        width: 100%;
    }
    .rightmostflexlistview{
        width: 100%;
    }
}

.listtab {
    padding-top: 0;
    border-bottom: none;
    height: 33px;
    display: flex;
    position: relative;
    font-size: 14px;
    align-items: center;
}

.tab {
    border-radius: 16px;
    display: flex;
    height: 33px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #e6ecf2;
    list-style: none;
}

.tab li {
    padding: 0 10px; /* Adjust padding for spacing */
    display: flex;
    align-items: center; /* Center text vertically */
    height: 100%; /* Ensure full height */
    transition: background-color 0.3s; /* Smooth background transition */
}

.tab li.selected {
    background-color: var(--web-hover); /* Selected color */
    color: white; /* Text color for selected tab */
    border-radius: 16px 0 0 16px; /* Rounded corners for left tab */
}

.tab li:hover {
    background-color: #ffffff; /* Hover effect */
    color: var(--web-hover);
}

.filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.filter-header {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.filter-description {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.country-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.country-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: black;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none; /* Removes underline from links */
    background-color: #f8f8f8; /* Light background color */
    transition: background-color 0.3s ease;
}

.country-item:hover {
    background-color: #e0e0e0; /* Light hover effect */
}

.country-item img {
    width: 30px;  /* Adjust flag size */
    height: 20px;
    margin-right: 8px; /* Space between flag and country name */
}

.selected-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-item {
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.tag-item:hover {
    background-color: #218838;
}

.tag-item .remove-tag {
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    color: white;
}