/* ==========================================================================
   reviews.css — review widgets / rating blocks.
   ========================================================================== */


/* ---- reviews (from reviews.php) ---- */
/* === REVIEWS AREA === */
.reviews-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 220px;              /* extra height so arrows don't cover text */
}

/* Visible window: move in 44 px to account for arrow width + gap */
.reviews-window {
    height: 100%;
    overflow: hidden;
    margin: 0 44px;
}

.reviews-track {
    display: flex;
    transition: transform .6s ease-in-out;
    height: 100%;
}

/* Single review card */
.review-card {
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Thumbnail */
.review-img {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 6px;
}

/* Text with thin scrollbar */
.review-text {
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.5;
    max-height: 180px;
    padding-right: 8px;
    overflow: auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.35) transparent;
}
.review-text::-webkit-scrollbar        {width: 4px;}
.review-text::-webkit-scrollbar-track  {background: transparent;}
.review-text::-webkit-scrollbar-thumb  {background: rgba(0,0,0,.35); border-radius: 2px;}

/* Cards per row: 3 on desktop / 1 on mobile */
@media (min-width: 768px) {
    .review-card {flex: 0 0 33.333%;}
}
@media (max-width: 767px) {
    .reviews-wrapper {height: 240px;}   /* extra height on phones */
    .review-card     {flex: 0 0 100%;}
}

/* === ARROWS === */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    user-select: none;
}
.review-arrow:hover {background: #f5f5f5;}
.review-arrow.left  {left: 4px;}
.review-arrow.right {right: 4px;}



/* ================= CAROUSEL */
.gd-carousel {
    position: relative;
    width: 100%;
    height: 460px;
	max-width: 800px;
	margin: 0 auto;
    overflow: hidden;
    padding: 0;
}
@media (max-width: 768px) { .gd-carousel { height: 260px; } }

.gd-carousel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}
.gd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex: 0 0 100%;
    cursor: pointer;
}

.gd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.gd-arrow.up   { left: 10px; }
.gd-arrow.down { right: 10px; }
.gd-arrow:hover { background: rgba(0,0,0,0.8); }
.gd-arrow.lb { z-index: 110; }

.gd-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}
.gd-dot {
    width: 10px;
    height: 10px;
    background: rgba(220,220,220,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.gd-dot.active { background: rgba(0,0,0,0.8); }

.gd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.gd-lightbox.show { display: flex; }
.gd-lightbox-container {
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    z-index: 50;
}
.gd-lightbox-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.gd-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: none;
    width: 68px;
    height: 68px;
    border: 0;
    font-size: 2.4rem;
    color: #fff;
    cursor: pointer;
    z-index: 8000;
}


/* ---- reviews2026 (from reviews2026.php) ---- */
/* === REVIEWS AREA === */
.reviews-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.reviews-window {
    height: 100%;
    overflow: hidden;
    margin: 0 44px;
    width: calc(100% - 88px);
}

.reviews-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
    width: 100%;
}

.review-card {
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    width: 100%;
}

.review-img {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 6px;
}

.review-text {
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.5;
    max-height: 180px;
    padding-right: 8px;
    overflow: auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.35) transparent;
}

.review-text::-webkit-scrollbar {
    width: 4px;
}

.review-text::-webkit-scrollbar-track {
    background: transparent;
}

.review-text::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.35);
    border-radius: 2px;
}

.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    user-select: none;
    z-index: 10;
}

.review-arrow:hover {
    background: #f5f5f5;
}

.review-arrow.left {
    left: 4px;
}

.review-arrow.right {
    right: 4px;
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 33.333%;
        width: 33.333%;
        min-width: 33.333%;
    }
}

@media (max-width: 767px) {
    .reviews-wrapper {
        height: 240px;
    }
    
    .reviews-window {
        margin: 0 40px;
        width: calc(100% - 80px);
    }
    
    .review-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
    }
    
    .review-arrow.left {
        left: 2px;
    }
    
    .review-arrow.right {
        right: 2px;
    }
}

@media (max-width: 480px) {
    .reviews-wrapper {
        height: 260px;
    }
    
    .reviews-window {
        margin: 0 36px;
        width: calc(100% - 72px);
    }
    
    .review-card {
        padding: 10px 12px;
    }
}

/* ================= CAROUSEL */
.gd-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

@media (max-width: 768px) {
    .gd-carousel {
        height: 260px;
    }
}

.gd-carousel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.gd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex: 0 0 100%;
    cursor: pointer;
}

.gd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.gd-arrow.up {
    left: 10px;
}

.gd-arrow.down {
    right: 10px;
}

.gd-arrow:hover {
    background: rgba(0,0,0,0.8);
}

.gd-arrow.lb {
    z-index: 110;
}

.gd-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.gd-dot {
    width: 10px;
    height: 10px;
    background: rgba(220,220,220,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gd-dot.active {
    background: rgba(0,0,0,0.8);
}

.gd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.gd-lightbox.show {
    display: flex;
}

.gd-lightbox-container {
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    z-index: 50;
}

.gd-lightbox-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

.gd-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: none;
    width: 68px;
    height: 68px;
    border: 0;
    font-size: 2.4rem;
    color: #fff;
    cursor: pointer;
    z-index: 8000;
}


/* ---- reviewscity (from reviewscity.php) ---- */
/* === REVIEWS AREA === */
.reviews-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 220px;              /* extra height so arrows don't cover text */
}

/* Visible window: move in 44 px to account for arrow width + gap */
.reviews-window {
    height: 100%;
    overflow: hidden;
    margin: 0 44px;
}

.reviews-track {
    display: flex;
    transition: transform .6s ease-in-out;
    height: 100%;
}

/* Single review card */
.review-card {
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Thumbnail */
.review-img {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 6px;
}

/* Text with thin scrollbar */
.review-text {
    font-size: 16px;
    line-height: 1.5;
    max-height: 120px;
    padding-right: 8px;
    overflow: auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.35) transparent;
}
.review-text::-webkit-scrollbar        {width: 4px;}
.review-text::-webkit-scrollbar-track  {background: transparent;}
.review-text::-webkit-scrollbar-thumb  {background: rgba(0,0,0,.35); border-radius: 2px;}

/* Cards per row: 3 on desktop / 1 on mobile */
@media (min-width: 768px) {
    .review-card {flex: 0 0 33.333%;}
}
@media (max-width: 767px) {
    .reviews-wrapper {height: 240px;}   /* extra height on phones */
    .review-card     {flex: 0 0 100%;}
}

/* === ARROWS === */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    user-select: none;
}
.review-arrow:hover {background: #f5f5f5;}
.review-arrow.left  {left: 4px;}
.review-arrow.right {right: 4px;}



/* ================= CAROUSEL */
.gd-carousel {
    position: relative;
    width: 100%;
    height: 460px;
	max-width: 800px;
	margin: 0 auto;
    overflow: hidden;
    padding: 0;
}
@media (max-width: 768px) { .gd-carousel { height: 260px; } }

.gd-carousel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}
.gd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex: 0 0 100%;
    cursor: pointer;
}

.gd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.gd-arrow.up   { left: 10px; }
.gd-arrow.down { right: 10px; }
.gd-arrow:hover { background: rgba(0,0,0,0.8); }
.gd-arrow.lb { z-index: 110; }

.gd-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}
.gd-dot {
    width: 10px;
    height: 10px;
    background: rgba(220,220,220,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.gd-dot.active { background: rgba(0,0,0,0.8); }

.gd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.gd-lightbox.show { display: flex; }
.gd-lightbox-container {
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    z-index: 50;
}
.gd-lightbox-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.gd-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: none;
    width: 68px;
    height: 68px;
    border: 0;
    font-size: 2.4rem;
    color: #fff;
    cursor: pointer;
    z-index: 8000;
}


/* ---- reviewslink (from reviewslink.php) ---- */
/* === REVIEWS AREA === */
.reviews-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 220px;              /* extra height so arrows don't cover text */
}

/* Visible window: move in 44 px to account for arrow width + gap */
.reviews-window {
    height: 100%;
    overflow: hidden;
    margin: 0 44px;
}

.reviews-track {
    display: flex;
    transition: transform .6s ease-in-out;
    height: 100%;
}

/* Single review card */
.review-card {
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Thumbnail */
.review-img {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 6px;
}

/* Text with thin scrollbar */
.review-text {
    font-size: 16px;
    line-height: 1.5;
    max-height: 120px;
    padding-right: 8px;
    overflow: auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.35) transparent;
}
.review-text::-webkit-scrollbar        {width: 4px;}
.review-text::-webkit-scrollbar-track  {background: transparent;}
.review-text::-webkit-scrollbar-thumb  {background: rgba(0,0,0,.35); border-radius: 2px;}

/* Cards per row: 3 on desktop / 1 on mobile */
@media (min-width: 768px) {
    .review-card {flex: 0 0 33.333%;}
}
@media (max-width: 767px) {
    .reviews-wrapper {height: 240px;}   /* extra height on phones */
    .review-card     {flex: 0 0 100%;}
}

/* === ARROWS === */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    user-select: none;
}
.review-arrow:hover {background: #f5f5f5;}
.review-arrow.left  {left: 4px;}
.review-arrow.right {right: 4px;}



/* ================= CAROUSEL */
.gd-carousel {
    position: relative;
    width: 100%;
    height: 460px;
	max-width: 800px;
	margin: 0 auto;
    overflow: hidden;
    padding: 0;
}
@media (max-width: 768px) { .gd-carousel { height: 260px; } }

.gd-carousel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}
.gd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex: 0 0 100%;
    cursor: pointer;
}

.gd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.gd-arrow.up   { left: 10px; }
.gd-arrow.down { right: 10px; }
.gd-arrow:hover { background: rgba(0,0,0,0.8); }
.gd-arrow.lb { z-index: 110; }

.gd-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}
.gd-dot {
    width: 10px;
    height: 10px;
    background: rgba(220,220,220,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.gd-dot.active { background: rgba(0,0,0,0.8); }

.gd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.gd-lightbox.show { display: flex; }
.gd-lightbox-container {
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    z-index: 50;
}
.gd-lightbox-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.gd-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: none;
    width: 68px;
    height: 68px;
    border: 0;
    font-size: 2.4rem;
    color: #fff;
    cursor: pointer;
    z-index: 8000;
}
