* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #aa9d94;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d1b7a0;
    border-radius: 10px;
}

.accordion-button:not(.collapsed) {
    background-color: #f7ede3;
}

.bg-main {
    background-color: #f7ede3;
}

.text-main {
    color: #fac395;
}

.nav-item {
    background-color: #aa9d94;
}

.nav-item:hover {
    background-color: #f7ede3;
    color: black;
}

.nav-item a:hover {
    color: black;
}

.nav-item .active {
    background-color: #f7ede3;
}

.class-name:after {
    content: " ";
    display: block;
    border-bottom: 0.5px solid #9E9E9E;
}

button {
    background-color: rgba(255, 109, 134, 0);
    border: 0;
}

.btn-main {
    background-color: #f7ede3;
}

.btn-main a {
    color: #000000;
}

.btn-main:hover {
    background-color: #aa9d94;
    color: white;
}

.btn-main-dark {
    background-color: #aa9d94;
    color: #ffffff;
}

.btn-main-dark a {
    color: #ffffff;
}

.btn-main-dark:hover {
    background-color: #f7ede3;
    color: black;
}

/* NEW: Selected style (same as hover) */
.btn-check:checked + .btn-main-dark {
    background-color: #f7ede3;
    color: black;
}

.color-box {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover effect */
.color-box:hover {
    border-color: #aa9d94;
}

/* Checked state (selected) */
.btn-check:checked + .color-box {
    border: 2px solid #aa9d94; /* or your preferred highlight */
    color: #aa9d94;
    font-weight: 600;
    background-color: #f7ede3;
}

.card-cat .card-img-top {
    object-position: top;
    height: 300px;
    object-fit: cover;
}

.card-item .card-img-top {
    object-position: top;
    max-height: 300px;
    object-fit: cover;
}

.card {
    transition: transform .2s;
}

.card-cat:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transform: scale(1.05);
}

.card-item:hover {
    transform: scale(1.05);
}

.jumbotron {
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.gradient {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, rgba(179, 121, 80, 0.3), transparent);
    position: absolute;
    top: 0;
    left: 0;
}

.page-header {
    background: linear-gradient(to top, rgba(179, 121, 80, 0.3), transparent), url(../img/hero-banner-subpages.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.2);
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid rgb(255, 215, 183);
    ;
    margin: 0 4px;
}

.pagination a.active {
    background-color: rgb(255, 227, 204);
    border: 1px solid rgb(255, 205, 164);
}

.pagination a:hover:not(.active) {
    background-color: rgb(255, 239, 225);
}

/* Container for the carousel indicators */
.carousel-indicators {
    display: flex;                /* Align items horizontally */
    justify-content: center;      /* Center the indicators horizontally */
    overflow-x: visible;             /* Allow horizontal scrolling */
    overflow-y: visible;           /* Prevent vertical overflow */
    white-space: nowrap;          /* Prevent wrapping of items */
    padding: 0;                   /* Remove default padding */
    position: relative;           /* Ensure proper positioning of child elements */
    height: auto;                 /* Adjust height to fit content */
    align-items: center;          /* Vertically center the indicators */
}

/* Style for the buttons in the carousel indicators */
.carousel-indicators button {
    border: none;                 /* Remove default button border */
    background: none;             /* Remove default button background */
    padding: 0;                   /* Remove default padding */
    display: flex;                /* Ensure proper alignment */
    align-items: center;          /* Center items vertically */
    justify-content: center;      /* Center items horizontally */
}

/* Style for images inside the carousel indicators */
.carousel-indicators img {
    opacity: 1 !important;
    margin-top:150px;           /* Set maximum width for the images */
    height: auto;                 /* Maintain aspect ratio */
    border-radius: 50%;           /* Optional: Round the indicator images */
    object-fit: cover;            /* Ensure images fit within the container */
}

/* Style for the active indicator */
.carousel-indicators .active img {
    border: 2px solid #aa9d94;    /* Highlight active indicator with border */
}

/* Responsive design adjustments for mobile screens */
@media (max-width: 576px) {
    .carousel-indicators img {
        max-width: 40px;          /* Smaller width for mobile view */
    }
}

/* Responsive design adjustments for larger screens */
@media (min-width: 577px) {
    .carousel-indicators img {
        max-width: 70px;          /* Default width for larger screens */
    }
}


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #f7ede3;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
  }
  
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #aa9d94;
    color:white;
}
 
  /* Style the accordion panel. Note: hidden by default */
.panel {
    background-color: #f7ede3;
    display: none;
    overflow: hidden;
}

.search-container {
    position: relative;
}
#search-results-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
}
#search-results-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
}

#chatSupport {
    display: none;
    max-height: 500px;
    overflow-y: auto;
    position: relative;
}
#chatSupport .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: #aa9d94;
}
#chatSupport .form-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: white;
}
#chatSupport .messages {
    padding-bottom: 70px; /* Space for the fixed form */
}

/* Ensure all product links have the same height */
.product-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* Ensure all product items have the same height */
.product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Set a fixed height for the image container and cover the image */
.product-image {
    max-height: 300px;
    object-fit: cover;
    position: relative;
}

/* Position the category label on top of the image in the upper right corner */
.category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

/* Ensure all product details have the same height */
.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#nav-showcase img {
    max-height: 300px; /* Set your desired height */
    object-fit: cover; /* This ensures the image scales correctly */
    display: inline-block; /* Keeps the images aligned horizontally */
    margin: 5px; /* Optional: Adds space between the images */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}