@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Lato:ital,wght@0,400;1,300&family=Roboto+Condensed:wght@300&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap');
.navbar-brand {
    color: #4c4d4c;
    font-size: 2.3rem;
    font-family: 'Cinzel Decorative', serif;
    font-weight:400;
    vertical-align: middle;
}

.search-bar {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
  
  .search-bar.open {
    max-height: 50px;
    opacity: 1;
  }
  .selected-row {
    background-color: #f2dcdc;
    font-weight:bold;
  }
  .cartImage{
    width: 36px;
  }

  /* custom.css or inlined styles */
.custom-offcanvas .offcanvas-body {
  height: 80vh; /* Make the Offcanvas take up more vertical space */
  overflow-y: auto; /* Ensure scrollability if content overflows */
}

.search-results {
  padding: 10px;
}

.search-results .card {
  cursor: pointer;
}

.search-results .card img {
  max-height: 150px;
  object-fit: cover;
}

@media (max-width: 600px) {
    .navbar-brand {
        font-size: 20px;
    }
    .navbar-brand img{
        width: 45px;
        height: 32px;
    }
  }

  .quantity-input {
    border: 1px solid #ddd;
    border-radius: 0;
    margin-left: 0
  }
  
  .quantity-button-left {
    border-radius: 5px 0 0 5px; /* Rounded corners on left/right sides */
    margin-right: 0;
  }
  
  .quantity-button-right{
    border-radius: 0 5px 5px 0; /* Rounded corners on left/right sides */
    margin: 0;
  }
  .quantity-form{
    padding:0;
    margin:0;
  }

 .cartImage{
    width: 36px;
  }

.main-content {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.main-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

.main-content h2 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.main-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.main-content h4 {
    font-size: 1.25rem;
    line-height: 1.5;
}

.main-content h5 {
    font-size: 1.1rem;
    line-height: 1.5;
}

.main-content h6 {
    font-size: 1rem;
    line-height: 1.5;
}

.main-content p {
    margin-bottom: 1em;
}

/* Multi-item Carousel Styles for Bootstrap */
#locationCarousel .carousel-inner .carousel-item > .row {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
}

/* Mobile: 1.5 items */
@media (max-width: 575.98px) { /* Extra small devices (portrait phones, less than 576px) */
    #locationCarousel .carousel-inner .carousel-item .col-12 {
        flex: 0 0 66.66%; /* Show 1.5 items */
        max-width: 66.66%;
    }
}

/* Tablet: 3 items */
@media (min-width: 576px) and (max-width: 767.98px) { /* Small devices (landscape phones, 576px and up) */
    #locationCarousel .carousel-inner .carousel-item .col-sm-4 {
        flex: 0 0 33.33%; /* Show 3 items */
        max-width: 33.33%;
    }
}

/* Desktop: 4 items */
@media (min-width: 768px) { /* Medium devices (tablets, 768px and up) */
    #locationCarousel .carousel-inner .carousel-item .col-md-3 {
        flex: 0 0 25%; /* Show 4 items */
        max-width: 25%;
    }
}

/* Adjust controls for better visibility */
#locationCarousel .carousel-control-prev,
#locationCarousel .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1; /* Always visible */
}

#locationCarousel .carousel-control-prev {
    left: -20px; /* Adjust position */
}

#locationCarousel .carousel-control-next {
    right: -20px; /* Adjust position */
}

/* Indicators */
#locationCarousel .carousel-indicators {
    position: absolute;
    bottom: -30px; /* Position below carousel */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#locationCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
}

#locationCarousel .carousel-indicators button.active {
    background-color: #333;
}

@media (min-width: 768px) {
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
    transform: translateX(0);
}

#location-carousel .carousel-control-prev,
#location-carousel .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.3);
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}