/* ═══════════════════════════════════════════════════════
   MRK Widgets for Google Reviews — v4
   Exact reference design match + responsive + autoplay
═══════════════════════════════════════════════════════ */

.mrk-gr-widget *, .mrk-gr-widget *::before, .mrk-gr-widget *::after { box-sizing: border-box; }

.mrk-gr-widget {

    font-family: font-family: Caudex;;

    font-size: 14px; line-height: 1.5; color: #3c3c3c;

    margin: 0 0 32px;

}

.mrk-error {

    background: #fff3f3; border-left: 4px solid #e00;

    padding: 12px 16px; color: #c00; border-radius: 6px;

}

/* ═══ HEADER ═══════════════════════════════════════════ */

.mrk-gr-header {

    background: #fff;

    border: 1px solid #e0e0e0;

    border-bottom: none;

    border-radius: 10px 10px 0 0;

    padding: 16px 20px 14px;

}

.mrk-gr-summary {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-wrap: wrap;

}

.mrk-label {

    font-size: 20px;

    font-weight: 800;

    color: #1a1a1a;

    letter-spacing: .3px;

    white-space: nowrap;

}

/* ── Stars ── */

.mrk-stars     { display: inline-flex; gap: 1px; line-height: 1; }

.mrk-stars-sm  { display: inline-flex; gap: 6px;   line-height: 1; }

.mrk-star      { font-size: 22px; }
.mrk-verified {
	display:none !important;
}
.mrk-readmore {
	color:#fff;
	font-size: 16px; 
}
.mrk-stars-sm .mrk-star { font-size: 19px; }

.mrk-star.full  { color: #E6B673; }

.mrk-star.half  { color: #FBBC05; opacity: .5; }

.mrk-star.empty { color: #dadada; }

.mrk-meta { font-size: 12px; color: #777; white-space: nowrap; }

.mrk-meta strong { color: #444; font-weight: 600; }

.mrk-google-logo-link {

    display: inline-flex; align-items: center;

    margin-left: auto; opacity: .85; transition: opacity .2s;

    text-decoration: none;

}

.mrk-google-logo-link:hover { opacity: 1; }

/* ═══ SLIDER WRAP ═══════════════════════════════════════ */

.mrk-slider-wrap {

/*     display: flex; */

    align-items: stretch;

    /* border: 1px solid #e0e0e0; */

    border-radius: 0 0 10px 10px;

    /* background: #f7f7f7; */

    overflow: visible;

    position: relative;

}

.mrk-gr-widget:not(:has(.mrk-gr-header)) .mrk-slider-wrap {

    border-top: 1px solid #e0e0e0;

    border-radius: 10px;

}

/* ═══ VIEWPORT ══════════════════════════════════════════ */

.mrk-viewport { overflow: hidden; flex: 1; min-width: 0; }

/* ═══ TRACK ═════════════════════════════════════════════ */

.mrk-track {

    display: flex;

    transition: transform .42s cubic-bezier(.4, 0, .2, 1);

    will-change: transform;

	gap: 27px;

	padding-bottom: 5px;

}

.mrk-track.no-transition { transition: none !important; }

/* ═══ CARD ══════════════════════════════════════════════ */

.mrk-card {

    background: transparent;

    border-right: 1px solid #ebebeb;

    padding: 16px 16px 14px;
border: 1px solid var(--Stroke-primary, #46554A);
opacity: 0.5;
    display: flex;

    flex-direction: column;

    flex-shrink: 0;

    text-decoration: none !important;

    color: inherit;

    cursor: pointer;

    transition: background .18s, box-shadow .18s;

    min-height: 160px;

}

/* .mrk-card:last-child { border-right: none; } */

.mrk-card.active {
opacity: inherit;
    background: #1B2D1F;
border:none;
    box-shadow: inset 0 0 0 1px #c5d8ff;

    z-index: 2;

    text-decoration: none !important;

    color: #fff !important;

}
.mrk-card.active .mrk-author-name {
	  color: #fff !important;
}
.mrk-card.active .mrk-text {
	  color: #fff !important;
}
/* Card head */

.mrk-card-head  { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }

.mrk-avatar {

    width: 56px; height: 56px; border-radius: 50%;

    display: flex; align-items: center; justify-content: center;

    color: #fff; font-weight: 700; font-size: 15px;

    flex-shrink: 0; overflow: hidden;

}

.mrk-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mrk-author-info { font-family: "Cormorant Garamond", Sans-serif; flex: 1; min-width: 0; overflow: hidden; }

.mrk-author-name {

    display: block; font-weight: 600; font-size: 24px; color: #111;

    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

    transition: color .15s;

}

.mrk-card:hover .mrk-author-name { color: #1a73e8; }

.mrk-time { font-size: 16px; color: #B99D75; display: block; margin-top: 1px; }

.mrk-g-icon { margin-left: auto; flex-shrink: 0; }

/* Rating */

.mrk-rating-row { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }

.mrk-verified {

    width: 14px; height: 14px; background: #1a73e8;

    color: #fff; border-radius: 50%; font-size: 9px; font-weight: 700;

    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;

}

/* Review text */

.mrk-text-wrap { flex: 1; }

.mrk-text {font-family: "Caudex", sans-serif;  margin: 0; font-size: 16px; color: #666666; line-height: 1.58; }

.mrk-text-wrap.is-long .mrk-text {

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.mrk-text-wrap.is-long.expanded .mrk-text { display: block; overflow: visible; -webkit-line-clamp: unset; }

.mrk-readmore {  color:#fff;
	font-size: 14px;  display: block; margin-top: 5px; pointer-events: none; font-family: "Caudex", sans-serif; }

.mrk-no-text { color: #bbb; font-style: italic; }

/* ═══ NAV ARROWS ════════════════════════════════════════ */
.mrk-nav-wrap {
/* 	position: absolute; */
    justify-content: center;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 40px auto 0px;
    text-align: center;
    bottom: -126%;
    left: 0;
    right: 0;
    top: 0;
}
.mrk-nav {

    flex-shrink: 0;

    width: 38px;

    background: #fff;

    border: none;

    border-right: 1px solid #e0e0e0;

    cursor: pointer;

    font-size: 25px;

    color: #bbb;

    display: flex; align-items: center; justify-content: center;

    transition: background .18s, color .18s;

    padding: 0;

    outline: none;

}

.mrk-prev { border-right: 1px solid #e0e0e0; border-left: none; }

.mrk-next { border-left: 1px solid #e0e0e0; border-right: none; }

.mrk-nav:hover  { background: #1b2d1f; color: #fff; }

.mrk-nav:focus  { background: #1b2d1f; color: #fff; }

.mrk-nav[disabled] { opacity: .25; pointer-events: none; }

/* ═══ DOTS ═══════════════════════════════════════════════ */

.mrk-dots {

    display: none !important;

    justify-content: center;

    align-items: center;

    gap: 7px;

    padding: 80px 0 4px;

    min-height: 28px;

}

.mrk-dot {

    width: 8px; height: 8px; border-radius: 50%;

    background: #d8d8d8; border: none; cursor: pointer; padding: 0;

    transition: background .25s, transform .25s, width .25s;

    flex-shrink: 0;

}

.mrk-dot.active {

    background: #1b2d1f;

    transform: scale(1.25);

    width: 22px;

    border-radius: 4px;

}

/* ═══ AUTOPLAY PROGRESS BAR ═════════════════════════════ */

.mrk-progress {

    height: 3px;

    background: #e8f0fe;

    border-radius: 0 0 10px 10px;

    overflow: hidden;

    margin-top: -1px;

}

.mrk-progress-bar {

    height: 100%;

    background: #1b2d1f;

    width: 0%;

    transition: width linear;

}

/* ═══ GRID ══════════════════════════════════════════════ */

.mrk-gr-grid {

    display: grid;

    grid-template-columns: repeat(var(--mrk-ips, 4), 1fr);

    gap: 14px;

}

.mrk-gr-grid .mrk-card { border: 1px solid #e5e5e5; border-radius: 10px; }

/* ═══ LIST ══════════════════════════════════════════════ */

.mrk-gr-list { display: flex; flex-direction: column; gap: 12px; }

.mrk-gr-list .mrk-card { border: 1px solid #e5e5e5; border-radius: 10px; border-right: 1px solid #e5e5e5; }

.mrk-gr-list .mrk-text-wrap.is-long .mrk-text { -webkit-line-clamp: unset; overflow: visible; }

/* ═══ Custom CSS ══════════════════════════════════════════════ */

.mrk-gr-header {

    display: none;

}

button.mrk-nav.mrk-prev {

   
    overflow: hidden;

    background: #1b2d1f;

    border-radius: 60px;

    height: 50px;

    width: 50px;

    z-index: 1;

}

button.mrk-nav.mrk-next {


    overflow: hidden;

    background: #1b2d1f;

    border-radius: 60px;

    height: 50px;

    width: 50px;

/*     z-index: 9999; */

}

/* ═══ RESPONSIVE ════════════════════════════════════════ */

@media (max-width: 1100px) {

    .mrk-gr-grid { grid-template-columns: repeat(min(var(--mrk-ips,4), 3), 1fr); }

}

@media (max-width: 768px) {

    .mrk-label { font-size: 17px; }

    .mrk-star  { font-size: 18px; }

    .mrk-gr-grid { grid-template-columns: repeat(2, 1fr); }

    .mrk-nav   { width: 32px; font-size: 15px; }

    .mrk-gr-summary { gap: 10px; }
/* .mrk-card.active {
opacity: inherit;
    background: transparent;

}
.mrk-card.active .mrk-author-name {
	  color: #666666 !important;
}
.mrk-card.active .mrk-text {
	  color: #666666 !important;
} */
	
.mrk-slider-wrap {
    padding: 0 15px;
}	
}


@media (max-width: 480px) {

    .mrk-gr-grid { grid-template-columns: 1fr; }

    .mrk-nav   { width: 28px; font-size: 14px; }

    .mrk-gr-summary { flex-direction: column; align-items: flex-start; gap: 6px; }

    .mrk-google-logo-link { margin-left: 0; }

}
