/* ----------------single-products-------------------------- */
.single-products {
    margin-top: 80px;
}

.single-products .col-2 img {
    padding: 0;
}

.single-products .col-2 {
    padding: 20px;
}

.single-products h4 {
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}

.single-products h1{
    font-size: 40px;
}

.single-products select {
    display: block;
    padding: 10px;
    margin-top: 20px;
}

.single-products input {
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}

input:focus {
    outline: none;
}

.single-products .fa-indent {
    color: #ff523b;
    margin-left: 10px;
}

.small-img-row {
    display: flex;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

.single-products .row .col-2 p {
    line-height: 1.3; /* Adjust the value as needed */
}

.spaced-text br {
    line-height: 1.8; /* Increase this value to add more space */
    display: block;
    margin-bottom: 10px; /* Adds extra space after each line */
}


.reviews-section {
    margin-top: 50px;
}

/* .reviews-section .average-rating .star-breakdown{
    margin-left: 200px;
} */

.average-rating {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}

.average-rating .head {
    flex: 1;
}

.average-rating .star-breakdown {
    flex: 1;
    margin: 0 20px;
}

.average-rating h1 {
    font-size: 2.5rem;
    margin: 0;
}

.average-rating p {
    font-size: 1.25rem;
    color: #666;
}

.star-breakdown {
    margin: 20px 0;
}

.star-breakdown div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.star-breakdown span {
    font-size: 1rem;
    margin-right: 10px;
}

.star-breakdown span i {
    color: #ff523b;
}

.progress-bar {
    width: 60%;
    height: 8px;
    background-color: #e0e0e0;
    margin: 0 10px;
    border-radius: 5px;
}

.progress {
    height: 8px;
    background-color: #ff523b;
    border-radius: 5px;
}

.product-reviews h3 {
    margin: 30px 0 10px;
}

.review {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews-section h1{
    color: #ff523b;
}

.review-header .fa-solid{
    color: #ff523b;
}

.review-header span {
    font-size: 1rem;
    font-weight: bold;
}


.review-date {
    color: #888;
    font-size: 0.9rem;
}

.review-body p {
    margin: 10px 0;
    color: #333;
}

.review-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
}

.review-images {
    display: flex;
}







   /* Media query for small screens (max-width: 768px) */
@media only screen and (max-width: 768px) {

    .single-products .row {
        text-align: left;
    }

    .single-products .col-2 {
        padding: 20px 0;
    }

    .single-products h1 {
        font-size: 20px;
        line-height: 32px;
    }

    .small-container.reviews-section {
        padding: 10px;
    }

    .average-rating {
        margin-bottom: 20px;
        padding-right: 20px;
    }

    .average-rating .head h1 {
        font-size: 1.8rem;
    }

    .average-rating .head h2 {
        font-size: 1.5rem;
    }

    .average-rating .head p {
        font-size: 1rem;
    }

    .star-breakdown {
        margin-top: 20px;
    }

    .star-breakdown div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.9rem;
    }

    .star-breakdown .progress-bar {
        width: 60%;
    }

    .product-reviews h3 {
        font-size: 1.5rem;
    }

    .review {
        margin-bottom: 15px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
    }

    .review-header span {
        font-size: 0.9rem;
    }

    .review-body p {
        font-size: 1rem;
    }

    .review-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .review-images img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .head{
        margin-left:25px ;
        margin-bottom: 20px;
        text-align: center;
    }

    /* Separate the Average Ratings and Star Breakdown on small screens */
    .average-rating,
    .star-breakdown {
        display: block;
        width: 100%;
    }

    .cart-item {
        display: none;
    }
}


.product-reviews .review {
    display: none; /* Initially hide all reviews */
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.product-reviews .review:nth-child(-n+3) {
    display: block; /* Display only the first 3 reviews initially */
    opacity: 1; /* Make them visible */
}

.see-more-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #ff523b;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.see-more-btn:hover {
    background-color: #e14c2c;
}

.see-more-btn i {
    margin-left: 10px; /* Space between text and arrow icon */
    transition: transform 0.3s ease;
}

.see-less i {
    transform: rotate(180deg); /* Rotate the arrow up for See Less */
}

.faqs-section {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
    padding-right: 15px;
    padding-left: 10px;
}

.faq {
    margin-bottom: 10px;
}

.faq-question {
    background-color: white;
    color: #ff523b;
    padding: 15px;
    width: 100%;
    border: 1px solid #ff523b;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    text-align: left;
}

.faq-question:hover {
    color: white;
    background-color: #ff523b;
    border: 1px solid #ff523b;
}

.faq-answer {
    display: none;
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #ff523b;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer p{
    color: #ff523b;
}

.faq-answer p {
    margin: 0;
}

.faq-question.active + .faq-answer {
    display: block;
}


.faqs-section h3{
    margin:20px;
    text-align:center;
    font-size:30px;
}

/* Media Queries */
@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 12px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .faqs-section {
    margin: 0 auto;  
    margin: 10px;  
   }

    .faq-question {
        font-size: 14px;
        padding: 10px;
    }

    .faqs-section h3{
        font-size:18px;
    }

    .faq-answer {
        font-size: 12px;
        padding: 10px;
    }
}


