@import url('jquery.mCustomScrollbar.min.css');

body {
    overflow-x: hidden;
}
:root {
    --main-color:#8f5b0f;
}
.rating {
    display: inline-block;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 30px;
    padding: 0 5px;
    float: right;
    cursor: pointer;
    color: grey; /* Default color for stars */
}

.rating label:before {
    content: '\2605'; /* Unicode character for a star */
}

.rating input:checked ~ label:before {
    content: '\2605'; /* Filled star */
    color: rgb(255, 174, 0); /* Change color to yellow for selected stars */
}



.product_img {
    height: 345px;
    position: relative;
    overflow: hidden;
}

.product_img img {
    height: 100%;
    width: 100%;
    transition: all ease-in-out .3s;
}

.product_img:hover img {
    transform: scale(1.1);
}
.product_content p {
    margin: .5rem 0;
    margin-bottom: .7rem;
}
.product_content h3 {
    /* background-color: #8f5b0f; */
    padding: 4px 12px;
    display: inline;
    margin-top: 20px;
    /* color: #fff; */
    border-radius: 10px;
    border: 2px dashed #8f5b0f;
}
.product-detail-img {
    /* height: 500px;; */
    margin-bottom: 1.6rem;
}
.product-detail-img img {
    width: 100%;
    height: 100%;;
}


.quantity-wrapper {
    display: flex;
    align-items: start;
    font-family: Arial, sans-serif;
    margin: 20px;
    flex-direction: column;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-left: 10px;
    border: 4px solid #8f5b0f;
    padding: 10px;
    border-radius: 30px;
}

.quantity-controls button {
    width: 40px;
    /* height: 40px; */
    background-color: transparent;
    /* color: white; */
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

/* .quantity-controls button:hover {
    background-color: #8f5b0f;
} */

.quantity-input {
    width: 40px;
    /* height: 40px; */
    text-align: center;
    font-size: 16px;
    /* margin: 0 10px; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    outline: none;
}


.rotate-icon {
    transition: transform 0.3s;
}

.rotate-icon.rotate {
    transform: rotate(180deg);
}

.custom-container {
    width: 1000px;
    margin: 0 auto;
}
.card {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .125);
}
.card:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.card-header {
    background-color: transparent;
    border-bottom: 0;
}

.btn-link {
    color: #000;
}

.btn-link:hover {
    text-decoration: none;
    color: #8f5b0f;
}

.btn-link.focus, .btn-link:focus {
    outline: none;
    text-decoration: none;
}

input[type=checkbox], input[type=radio] {
    accent-color: var(--main-color);
}
.sold-out {
    background-color: transparent;
    color: #000;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    border-radius: 30px;
    border-color: transparent;
    pointer-events: none;
}

.sold-out:hover {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-color: var(--main-color);
}
.buy-it-now {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    border-radius: 30px;
    border-color: var(--main-color);
}
.buy-it-now:hover {
    background-color: transparent;
    color: #000;
    border: 1px solid transparent;
}


/* thumb gallery  */

.thumbgallery .swiper-wrapper {
    height: auto !important;
}
.thumbgallery .gallery {
    width: 100%;
    max-width: 620px;
    margin: 0px auto;
    overflow: hidden;
  }
  .thumbgallery .gallery-slider {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
  }
  .thumbgallery .gallery-slider .swiper-slide {
    width: auto;
    height: 400px;
  }
  .thumbgallery .gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 100%;
    margin: 0 auto;
  }
  .thumbgallery .gallery-thumbs {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }
  .thumbgallery .gallery-thumbs .swiper-slide {
    width: 100px;
    height: 100px;
    text-align: center;
    overflow: hidden;
    /* opacity: 0.1; */
  }
  .thumbgallery .gallery-thumbs .swiper-slide-active {
    opacity: 1;
  }
  .thumbgallery .gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
  }
