.thumbnails-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px;
    /* padding-right: 5px; */
}

.thumbnails-container::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: #CA0200;
    opacity: 1;
}

.thumbnail.active {
    border-color: #CA0200;
    box-shadow: 0 0 10px rgba(202, 2, 0, 0.3);
    opacity: 1;
    transform: scale(1.05);
}

.magnifier {
    position: fixed;
    border: 2px solid #ddd;
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    display: none;
    pointer-events: none;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.gallery-container {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

.main-image.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.main-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

.bell {
    font-size: 20px;
    cursor: pointer;
    color: red;
}

.heart {
    font-size: 20px;
    cursor: pointer;
    color: red;
}

.stars {
    margin-right: 2.5%;
    display: flex;
    cursor: default;
}

.checked {
    color: orange;
}

.star {
    direction: ltr;
}

.starz {
    cursor: pointer;
    transition: color 0.2s ease;
}

.starz:hover {
    color: #fbbf24;
}

.starz.hover-checked {
    color: #fbbf24;
}

.starz.checked {
    color: orange;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 1%;
    background-position-y: 5px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-left: 2rem;
    padding: 1rem;
}

.active3 {
    color: #524C47 !important;
}


/* Tab switching styles */

.description-content {
    transition: all 0.5s ease-in-out;
    max-height: 800px;
    opacity: 1;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding: 4px;
    transform: translateY(0);
    visibility: visible;
}

.description-content.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transform: translateY(-20px);
    visibility: hidden;
}

.description-content.visible {
    max-height: 800px;
    opacity: 1;
    overflow: visible;
    padding: 4px;
    transform: translateY(0);
    visibility: visible;
}

.comments-content {
    direction: rtl;
    padding: 20px;
    transition: all 0.5s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    transform: translateY(20px);
    visibility: hidden;
}

.comments-content.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transform: translateY(20px);
    visibility: hidden;
}

.comments-content.visible {
    max-height: 2000px;
    opacity: 1;
    overflow: visible;
    padding: 20px;
    transform: translateY(0);
    visibility: visible;
}


/* Comment styles */

#commentsList {
    direction: rtl;
    text-align: right;
}

.comment-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-user-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.comment-date {
    color: #718096;
    font-size: 12px;
}

.comment-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.comment-text {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
    text-align: right;
    word-wrap: break-word;
}

#feedbackForm {
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#feedbackTxt {
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #48bb78;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.success-message.show {
    transform: translateX(0);
}

@media (max-width: 600px) {
    .thumbnails-container {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ccc #f5f5f5;
        padding-bottom: 8px;
    }
    .thumbnails-container::-webkit-scrollbar {
        display: none;
    }
    .thumbnail {
        flex: 0 0 auto;
        width: 64px;
        height: 64px;
        object-fit: cover;
        margin-right: 8px;
    }
}






.stars {
    margin-right: 2.5%;
    display: flex;
    cursor: default;
}



.star2 {
    direction: ltr;
}

.starz2 {
    cursor: pointer;
    transition: color 0.2s ease;
}

