:root{
    --cartpage-color: #6c7c6c;
    --varimage:'f';
    --accent-color:#A01E2F;
    --background-main:#ffffff;

}
.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-img {
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-img:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav-btn {
    background: none;
    color: black;
    border: none;
    padding: 10px;
    width: 50px;

    height: 100%;
    cursor: pointer;
    z-index: 10;
    font-size: 2.2rem;
    position: absolute;
}

.nav-btn:hover {

    color: white;
}

.prev-btn {
    right: 0;
    text-align: right;
}

.next-btn {
    left: 0;
    text-align: left;
}

.prev-btn:hover {
    background-image: linear-gradient(to left, rgba(119, 119, 119, 0.45), rgba(255, 255, 255, 0));
}

.next-btn:hover {
    background-image: linear-gradient(to right, rgb(119, 119, 119, 0.45), rgba(255, 255, 255, 0));
}

.thumbnail-container {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
    border-color: #007bff;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    z-index: 10000;
}

.lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

#lightboxImage {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #ccc;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.lightbox-next {
    right: 0;
    border-radius: 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


/* Add animation */
.lightbox-content {
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-tabs-scrollable .nav-tabs {
    border-bottom: none;
}

.nav-tabs-scrollable .nav-link {
    border: none;
    padding: 0.5rem 1rem;
}

.nav-tabs-scrollable .nav-link.active {
    border-bottom: 2px solid #007bff;
}

/* Hide scrollbar but keep functionality */
.nav-tabs-scrollable::-webkit-scrollbar {
    display: none;
}

.nav-tabs-scrollable {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.main-product {
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 5px rgba(149, 149, 149, 0.1);
    border-radius: 5px;
}
.category-link{
    color: #616475;
}
.category-link:hover{
    text-decoration: underline;
}
.info-item::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    margin: 0 15px;
    background-color: #ccc;
    order: 2;
}
.info-item{
    padding-left:0;
    padding-right:0
}
#commentsection p{
    font-size:0.8rem;
}

.comment-section-text {
    font-size: 12px;
    color: rgb(68, 68, 68);
    line-height: 20px;
    margin-bottom: 0px;
}

.reply-section-text {
    font-size: 11px;
    color: rgb(68, 68, 68);
    line-height: 20px;
    margin-bottom: 0px;
}

.comment-stars {
    scale: 0.4;
    cursor: default;
    color: #d2d2d2;
    pointer-events: none;
    height: 20px;
    max-width: 3.7rem;
}

.comment-section-box {
    max-width: 55rem;
    min-height: 60px;
    background-color: #fff;
    border-radius: 0.7rem;
    padding: 0.7rem;

}

.comment-section-card {
    color: rgb(94, 94, 94);
    font-weight: bold;
    font-size: 10px;
    gap: 0.5rem;
    height: 20px
}

.reply-card {
    max-width: 18rem;
    min-height: 50px;
    background-color: #ffffff;
    border-radius: 0.7rem;
    color: rgb(68, 68, 68);
    font-size: 10px;
}

.reply-logo {
    height: 23px;
    width: 23px;
    border-radius: 50%;
    border: 1px #4a4d5685 solid
}

.reply-logo img {
    width: 18px;
    height: 12px
}

.reply-button {
    color: #5e5e5e;
    font-size: 0.8rem;
}

.reply-button:hover {
    font-weight: bold;
    text-shadow: #494949 0px 0px 3px;
    padding-right: 0.5rem;
    color: #5e5e5e;
}

.comment-submit-btn {
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.comment-submit-btn img {
    width: 28px;
    height: 28px;
    top: 0;
    right: 0;
    background: none;
    border-radius: 50%;
    cursor: pointer;
}

.comment-text {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgb(184, 184, 184);
    resize: none;
    height: 2.5rem;
    font-size: 0.6rem;
}

.comment-section {
    background-color: rgba(97, 0, 0, 0.768);
    border-radius: 1rem;
}


.displaysection {
    color: rgb(0, 0, 0);
    opacity: 1;
    overflow: visible;
    visibility: visible;
    max-height: max-content;

}

.displaysection p {
    font-size: 0.8rem !important
}

.hidesection {

    color: blueviolet;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    max-height: 0px;
    display: none;

}

.hidden {
    display: none !important;
}

.prod-keyword {
    background-color: #9f1c2e;
    color: white;
    font-size: 0.5rem;
    text-align: center;
    padding: 0.25rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.375rem;
}

textarea:focus {
    outline: none;
}

#plus:hover {
    scale: 1.1;
    opacity: 0.7;
}

.star {
    font-size: 20px;
    color: #d2d2d2;
    cursor: pointer;
    text-shadow: 0 0 1px black;
    /*direction: ltr;*/
}

.star-filled {
    color: #d39b00 !important;
}

.star-half-filled {
    position: relative;
    color: #d39b00; /* Default color for the unfilled part */
    font-size: 20px; /* Adjust size as needed */
    cursor: pointer;
    text-shadow: 0 0 1px black;
}

.star-half-filled::before {
    content: '★'; /* Unicode for a star character */
    position: absolute;
    left: 16px;
    top: 2px;
    width: 50%; /* Cover half of the star */
    overflow: hidden;
    color: #d2d2d2 !important; /* Color for the filled part */
}

.star:hover,
.star:hover ~ .star {
    color: #d39b00;
    scale: 1.1;
}

input {
    display: none;
}

input:checked ~ .star {
    color: #d39b00;
    scale: 1.1;
}

.radiobutton {
    float: left;
    margin: 0 5px 0 0;
    width: 100px;
    height: 40px;
    position: relative;
}


.radiobutton input[type="radio"] {
    opacity: 0.011;
    z-index: 100;

}

.radiobutton input[type="radio"]:checked + label {
    border-color: #9F1C2E;
    color: #9F1C2E;
    background-color: #FFFAEF;
    transition: 0.2s;
    border-width: 1.8px;
}

.radiobutton label {
    cursor: pointer;
    z-index: 90;
    border-color: #BBBBBB;
    color: #616475;
    border-width: 0.5px;

}

.bootstrap-select {
    border: 2px solid #ced4da !important;
    background-color: white !important;
}
.dropdown-toggle{
    font-size: 12px;
}

.dropdown-item.active {
    background-color: #9F1C2E !important;
    color: white;
}

.bootstrap-select .dropdown-toggle {
    background: none;
    border: none;
}

.bootstrap-select .dropdown-toggle:focus {
    outline-offset: 0px !important;
    outline: 2px auto #9F1C2E !important;
    color: #9F1C2E !important;

}

.swiper-slide3 {
    /*width: calc(1rem + 250px) !important;*/

    width: 100% !important;
}


.prod-comment-section{
    background: #ffffff;
    box-shadow: 0px 1px 2px 3px #88888840;
    padding: 0.5rem;
}

.keyword-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:0.25rem;
    border:1px solid #cccccc;
    padding:0.5rem;
}


.prod-size-modal{
    z-index: 1050;
    width: 100%;
    background-color: var(--background-main);
}
.nav-item{
    color:#000000;
    cursor: pointer;
    padding:0.5rem 1.5rem;
    border-radius:10px 10px 0px 0px;
}
.nav-item.active{
    color:#ffffff;
    background-color: var(--cartpage-color);
}
.prod-desc{
    background: #ffffff;
    box-shadow: 0px 1px 2px 3px #88888840;
    padding:2rem;
    min-height:265px;
}

.prod-recom{
    background: #ffffff;
    /*box-shadow: 0px 1px 2px 3px #88888840;*/
    /*padding:2rem;*/
}

.recom-prod-name{
    font-size: 0.85rem;
    line-height: 1.3rem;
    margin-bottom:0;
    font-weight:bold;
    color:#000000;
}

.recom-prod-model{
    color: #616161;
    font-size: 11px;
    line-height: 0.8rem;
    margin-bottom:0;
}

.recom-off{
    font-size:  11px;
    line-height: 0.8rem;
    text-decoration: line-through;
    margin-bottom:0;
    color: #616161;
}
.recom-off-tag{
    position: absolute;
    font-size: 12px;
    top:0.5rem;
    left:0.5rem;
    color:#ffffff;
    height:40px;
    width:40px;
    background-color: #a01f30;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.recom-price{
    font-size: 0.8rem;
    line-height: 1.2rem;
    margin-bottom:0;
    /*font-weight:bold;*/
    color:#000000;
}

.recom-btn{
    color: var(--accent-color) !important;
}

.swiper-pagination .swiper-pagination-bullet-active{
    background:var(--accent-color)!important;
    bottom:0px !important;
}

.prod-detail-row{
    display:flex;
    align-items: center;
    justify-content: start;
    margin-bottom:0.5rem;
    border-bottom:1px solid #eee;
}

.prod-detail{
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 1rem;
    margin-bottom: 0;
    font-weight: bold;
    color:#343a40 ;
    text-align: center;
}

.prod-detail.active{
    background-color: var(--cartpage-color)  ;
    color: #fff;
    border-radius: 10px 10px 0px 0px;
}

.info-item .order-1{
    order:1;
}
.info-item .order-3{
    order:3;
}

.prod-detail-section{
    font-size:0.9rem;
    text-wrap: wrap;
    padding: 1.5rem 0.5rem 0.5rem;
    text-align: right;
}

.recom-title{
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0;
    border-bottom:1px solid #88888840;

}
.prod-modal-body{
    display:none;
}

.prod-modal-body.active{
    display:flex;
}

.recom-eco{
    border-radius: 10px;
    box-shadow:0px 0px 1px 1px #cccccc;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;

}

.recom-eco::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 35%; /* 1/4 of the card height */
    background: linear-gradient(to top, rgba(21, 21, 21, 0.95), transparent);
    pointer-events: none; /* allows clicks to pass through */
    width:100%;

}


.recom-eco .recom-prod-name,.recom-eco .recom-price {
    color:#ffffff !important;
    z-index: 2;
}

.recom-product-card{
    min-height:465px !important;
}

.prod-cashback{
    width:100% !important;
}

.prod-cashback img{
    border-bottom: 1px rgba(173,164,155,0.75) solid;
    width:inherit
}
.prod-category{
    color: #616475;
    font-size:80%;
    margin-bottom: 0;
    text-align: right;
}

.prod-model{
    color: #616161;
    font-size: 70%;
    margin-bottom: 0;
    text-align: right;
}

.prod-name{
    font-weight: bold;
    font-size:1rem;
    margin-bottom:0;
}

.prod-rate{
    display: flex;
    align-items: center;
    gap:0;
}

.prod-rate .star, .prod-rate .star-half-filled, .prod-rate .star.star-filled{
    pointer-events: none
}