/* main page */
/* *{
    border: 1px red solid;

} */
body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea, .navbar, .btn {
    font-family: 'Nunito', sans-serif !important;
}

body {
    font-family: 'Bebas Neue', sans-serif;
}

.transparent-nav {
    background: transparent;
    transition: background 0.3s ease;
    z-index: 1000;
}

.transparent-nav, .transparent-nav .container-fluid {
    background: transparent !important;
}

.transparent-nav .nav-link, .transparent-nav .nav-txt, .cart {
    color: white;
}

.transparent-nav.navbar-scrolled {
    background: white !important;
}

.transparent-nav.navbar-scrolled .nav-link, .transparent-nav.navbar-scrolled .nav-txt {
    color: black;
}

.nav-txt{
    margin-right: 10px;
    font-family: 'Bebas Neue', sans-serif;
}
.navbar {
    z-index: 1000;
}

.nav-txt:hover {
    text-decoration: underline;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-toggler {
    color: white;
}
.navbar-bg {
    background-color: white;
}
  
.navbar-toggler-icon-inverted {
    filter: invert(100%);
}
  

.cart{
    margin-right: 10px;
}
.cart-icon-white {
    color: white;
}

.cart-icon-black {
    color: black;
}
.cart-bubble {
    font-size: 0.75rem;      
    min-width: 20px;         
    line-height: 1;          
}

.slide-in-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transition: right 0.3s;
    z-index: 1000;
}
  
.slide-in-cart.show {
    right: 0;
}
@media (max-width: 767px) { /* Adjust this breakpoint according to your design */
    .slide-in-cart {
        top: auto;
        bottom: -100%;  /* initially set it off the screen */
        right: 0;
        width: 100%;  /* make it full width */
        height: 85%;  /* height of the slide-in cart */
        transition: bottom 0.3s;
    }

    .slide-in-cart.show {
        bottom: 0;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        z-index: 1;
      }
}  
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: #fff;
    padding: 1rem;
}
  
.close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

#logo {
    height: 100px;
    width: 100px;
}

#hero {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 4rem;  /* Increased padding to move text further left */
    padding-bottom: 2rem;
    margin-top: 0;
    height: 100vh;
    background-image: url('pictures/hero.webp');
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow-x: hidden;
    font-weight: 400;
    color: white;
}

#hero .container {
    text-align: left;
    font-weight: 500;
    height: auto;
    justify-content: flex-start;
    margin: 0;     /* Ensure there's no margin */
    padding: 0;    /* Ensure there's no padding */
}
#about {
    height: 65vh;
    background-image: url('pictures/summer_restock.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1200px) { 
    .summer-restock-text::before {
        content: ""; /* This is necessary for the pseudo-element to work */
        display: block;
        height: 2px; /* Thickness of the line */
        background-color: #000; /* Color of the line */
        margin-bottom: 10px; /* Spacing between the line and the text */
    }
}
@media (max-width: 1200px) {
    #about {
        display: none;
    }
}
#featured{
    min-height: 100vh;
    padding-bottom: 50px;
    overflow: hidden;
    background-color: white;
}
.feature{
    margin-bottom: 30px;
}
.card {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    border-radius: 10px !important;
}

  
@media (min-width: 576px) and (max-width: 767px) {
    .card-container {
        width: 33.333%; /* 3 columns when width is between 576px and 767px */
    }

    .card-container {
        margin-bottom: 3rem;
    }
}
/*Mobile optimization*/
@media (max-width: 576px) { 
    .card-container {
        width: 50% ;
    }
    .card-title{
        font-size: 1.2rem;
    }
    .card-text{
        font-size: 0.8rem;
    }
    .cart-wrapper {
        margin-right: -1.5rem;
    }
    .card-container {
        margin-bottom: 3rem;
    }
    #hero {
        padding-left: 1rem;
        padding-right: 1rem; 
    }
    #hero .container {
        width: 100%; 
    }
    #hero h2, #hero p {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    #shopnow {
        display: block; 
        margin-left: auto; 
        margin-right: auto;
        width: 90%; 
    }
}
@media (max-width: 767px) {
    /* Reduce the font size of the navbar links */
    .navbar-nav .nav-link {
      font-size: 1rem;
    }
  
    /* Center the logo */
    .navbar-brand {
      display: block;
      margin: 0 auto;
    }
  
    /* Reduce the size of the cart icon */
    .cart {
      font-size: 1.5rem;
    }
  
    /* Reduce the size of the cart bubble */
    .cart-bubble {
      font-size: 0.8rem;
      width: 1.5rem;
      height: 1.5rem;
      line-height: 1.5rem;
    }
  
    /* Reduce the size of the footer text */
    footer {
      font-size: 0.8rem;
    }
  
    /* Reduce the size of the newsletter form */
    form {
      font-size: 0.8rem;
    }
  
    /* Reduce the size of the cart popup */
    .cart-popup {
      font-size: 0.8rem;
    }
  
    /* Reduce the size of the view cart button */
    .view-cart-button {
      font-size: 0.8rem;
    }
  
    /* Reduce the size of the product cards */
    .card {
      width: 100%;
    }
  
    /* Reduce the size of the product images */
    .product-image {
      max-height: 40vh;
    }
  }
  #productsRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



.card-img-top {
    max-width: 100%;
    max-height: 100%; 
    object-fit: contain;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.form-select {
    border-radius: 20px !important;
}


/* product sections */

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.product-section {
    min-height: 100vh;
    padding: 50px 0;
}


.product-description ul li {
    margin-bottom: 15px;
}
.btn {
    border-radius: 25px !important;
}
.btn-primary {
    background-color: white !important;
    color: black !important;
    border: 2px solid black !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: color 0.5s;
    z-index: 1;
    position: relative;
    width: 100%;
    border-radius: 20px !important;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: black;
    transition: left 0.5s;
    z-index: -1;

}
.btn-primary:hover, .btn-primary:focus {
    color: white !important;
}

.btn-primary:hover::before, .btn-primary:focus::before {
    left: 0; 
}


.thumbnail {
    width: 80px;
    margin: 10px 0;
    cursor: pointer;
    transition: transform 0.3s;
}
.thumbnail-active {
    border: 2px solid #000;
}

.thumbnail:hover {
    transform: scale(1.1);
}
.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;  /* Adjust this value based on your requirement */
}

#popupImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#you-may-like{
    margin: 30px;
    text-align: center;
}
.items-you-may-like{
        min-height: 100vh;
        padding-bottom: 50px;
        overflow: hidden;
        background-color: white;
}
.cart-popup {
    display: none;
    z-index: 1050;
    width: 12rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-height: 3rem;
}




/* Cart image container */
.cart-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* or whatever height you desire for the header */
    position: relative; /* this is important for positioning the close button */
    font-weight: 400;
}
.close-cart {
    position: absolute;
    top: 10px;  /* adjust as needed for vertical positioning */
    right: 10px; /* adjust as needed for horizontal positioning */
    background: none; /* to remove any default button styling */
    border: none; /* to remove any default button styling */
}

.cart-header span {
    margin: 0;
    padding: 0;
}

.product-container {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-img-container {
    width: 20%; /* Adjust width as needed */
    height: 120px; /* Adjust height as needed */
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    max-height: 100px; /* or whatever size you want */
    max-width: 100px;
    object-fit: contain;
}

.product-info {
    flex: 1;
    margin-left: 20px;
}
#cart-items {
    /* This makes the cart-items div grow to fill available space, pushing the checkout button to the bottom */
    flex-grow: 1;
    overflow-y: auto; /* Add a scrollbar if items exceed the available space */
}
.product-container img {
    max-height: 100px; /* or whatever size you want */
    max-width: 100px;
    margin-right: 10px;
}

#slide-in-cart {
    z-index: 1200;
    display: flex;
    flex-direction: column;  /* this should be higher than the backdrop's z-index */
}

#cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;  /* start from transparent */
    transition: opacity 0.3s ease;  /* smooth transition for opacity */
}

.view-cart-button {
    justify-content: center;
    display: block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    width: 80%;
    border-radius: 100%;
}

.view-cart-button:hover {
    background-color: #555;
} 
.img-card {
    width: 100px;  /* adjust to your desired width */
    height: 170px;  /* adjust to your desired height */
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.img-card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.faq-accordion .card {
    border: none;
    background: none;
}

.faq-accordion .card-header {
    background: none;
    border: none;
    padding: 0;
}

.faq-accordion .card-header button {
    display: block;
    width: 100%;
    text-align: left;
    color: #007bff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
}

.faq-accordion .card-header button.collapsed {
    color: #007bff;
}

.faq-accordion .card-header button:not(.collapsed) {
    color: #000;
    background: #f8f9fa;
}

.faq-accordion .card-body {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e3e6f0;
}

.faq-accordion h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0;
}

.faq-accordion .card:not(:first-of-type) {
    margin-top: 2rem;
}

.faq-links a {
    display: block;
    color: #007bff;
    padding: 0.5rem 0;
    text-decoration: none;
}

.faq-links a:hover {
    text-decoration: underline;
}

.faq-links a.active {
    border-left: 4px solid #007bff;
    padding-left: calc(0.5rem - 4px);
}

@media (max-width: 767px) {
    .faq-accordion .card-header button {
        padding: 0.5rem 1rem;
    }

    .faq-accordion .card-body {
        padding: 0.5rem 1rem;
    }

    .faq-accordion h2 {
        font-size: 1rem;
    }
}