/* ==========================================================================
   Stokerr Grid — Frontend grid styles
   All colors, spacing, and radii are driven by CSS custom properties so
   the Style Customiser can override them without touching this file.

   Defaults are set in GridShortcode::output_style_vars() and on .stkr-grid-wrap
   here as fallbacks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Grid wrapper
   -------------------------------------------------------------------------- */

.stkr-grid-wrap {
	width: 100%;
}

.stkr-grid {
	display: grid;
	grid-template-columns: repeat(var(--stkr-columns), minmax(0, 1fr));
	gap: var(--stkr-gap);
}

/* --------------------------------------------------------------------------
   Slider layout — same .stkr-card/.stkr-grid markup as the plain grid, just
   switched to a horizontally-scrolling flex track. --stkr-slider-cols/-gap
   resolve to the services or team custom properties depending on which
   wrapper class is present, so the rest of this block stays var-agnostic.
   -------------------------------------------------------------------------- */

[data-layout="slider"],
[data-layout="hybrid"] {
	--stkr-slider-cols: var(--stkr-columns, 3);
	--stkr-slider-gap: var(--stkr-gap, 24px);
}

.stkr-team-wrap[data-layout="slider"],
.stkr-team-wrap[data-layout="hybrid"] {
	--stkr-slider-cols: var(--stkr-team-columns, 3);
	--stkr-slider-gap: var(--stkr-team-gap, 24px);
}

[data-layout="slider"] .stkr-grid,
[data-layout="hybrid"] .stkr-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--stkr-slider-gap);
}

[data-layout="slider"] .stkr-card,
[data-layout="hybrid"] .stkr-card {
	flex: 0 0 calc((100% - var(--stkr-slider-gap) * (var(--stkr-slider-cols) - 1)) / var(--stkr-slider-cols));
}

.stkr-slider {
	position: relative;
	display: flex;
	flex-direction: column;
}

.stkr-slider__viewport {
	overflow: hidden;
	width: 100%;
}

.stkr-slider__track {
	transition: transform 0.3s ease;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.stkr-slider__track:active {
	cursor: grabbing;
}

/* Arrow pair sits below the cards, flush to the right — the viewport above
   runs the slider's full width instead of losing ~50px a side to flanking
   arrow buttons. */
.stkr-slider__nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 16px;
}

.stkr-slider__arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #ffffff;
	color: #111827;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	transition: background 0.15s, opacity 0.15s;
}

.stkr-slider__arrow:hover {
	background: #f3f4f6;
}

.stkr-slider__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* Hybrid: plain grid on desktop (nav hidden), slider under 800px. */
[data-layout="hybrid"] .stkr-grid {
	display: grid;
	grid-template-columns: repeat(var(--stkr-slider-cols), minmax(0, 1fr));
}

[data-layout="hybrid"] .stkr-slider__nav {
	display: none;
}

@media (max-width: 800px) {
	[data-layout="hybrid"] .stkr-grid {
		display: flex;
	}

	[data-layout="hybrid"] .stkr-slider__nav {
		display: flex;
	}
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */

.stkr-card {
	display: flex;
	flex-direction: column;
	background: var(--stkr-card-bg);
	border: var(--stkr-card-border-width, 1px) solid var(--stkr-card-border);
	border-radius: var(--stkr-card-radius);
	box-shadow: var(--stkr-card-shadow, none);
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Card image
   -------------------------------------------------------------------------- */

.stkr-card__image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #f3f4f6;
	flex-shrink: 0;
}

/* Hover overlay — fades in a 10% black tint over the image */
.stkr-card__image-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.2s;
	pointer-events: none;
}

.stkr-card:hover .stkr-card__image-wrap::after {
	background: rgba(0, 0, 0, 0.10);
}

.stkr-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Backs up the img's draggable="false" attribute — browsers natively make
	   <img> draggable, and starting a drag directly on one kicks off a native
	   ghost-image drag instead of the slider's own pointer-based drag. */
	-webkit-user-drag: none;
	user-drag: none;
}

.stkr-card__image--placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* --------------------------------------------------------------------------
   Card body
   -------------------------------------------------------------------------- */

.stkr-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	gap: 8px;
}

.stkr-card__title {
	margin: 0;
	font-size: var(--stkr-title-size, 16px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--stkr-title-color);
}

.stkr-card__meta {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--stkr-meta-size, 14px);
	color: var(--stkr-meta-color);
}

.stkr-card__sep {
	opacity: 0.4;
}

.stkr-card__price {
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Card action buttons
   -------------------------------------------------------------------------- */

.stkr-card__actions {
	display: flex;
	gap: 12px;
	margin-top: auto;
	padding-top: 22px;
	flex-wrap: wrap;
}

.stkr-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--stkr-btn-padding-y, 10px) var(--stkr-btn-padding-x, 20px);
	background: var(--stkr-btn-bg);
	color: var(--stkr-btn-color);
	border: 1.5px solid var(--stkr-btn-bg);
	border-radius: var(--stkr-btn-radius);
	font-size: var(--stkr-btn-size, 15px);
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, filter 0.15s;
	text-align: center;
	line-height: 1;
}

.stkr-card__btn:hover {
	filter: brightness(0.9);
}

.stkr-card__btn:active {
	filter: brightness(0.8);
}

.stkr-card__btn:focus-visible {
	outline: 3px solid var(--stkr-btn-bg);
	outline-offset: 2px;
}

/* .stkr-card__btn's own display:inline-flex beats the UA stylesheet's
   [hidden] rule regardless of specificity (author styles always win over UA
   styles), so the modal's per-grid "hide Book button" option would otherwise
   silently do nothing. */
.stkr-card__btn[hidden] {
	display: none;
}

/* Ghost / outline variant — used for "More info" */
.stkr-card__btn--ghost {
	background: transparent;
	color: var(--stkr-btn-bg);
}

.stkr-card__btn--ghost:hover {
	background: var(--stkr-btn-bg);
	color: var(--stkr-btn-color);
	filter: none;
}

/* --------------------------------------------------------------------------
   Booking modal
   -------------------------------------------------------------------------- */

.stkr-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.stkr-modal[hidden] {
	display: none;
}

body.stkr-modal-open {
	overflow: hidden;
}

.stkr-modal__inner {
	position: relative;
	background: #fff;
	border-radius: var(--stkr-modal-radius, 12px);
	width: 100%;
	max-width: 960px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

/* Booking modal only — a fixed-height shell (not just max-height) so the
   header below never has to share a scroll container with the iframe.
   Trafft's own booking page can run far taller than 800px, and previously
   the iframe's fixed height forced .stkr-modal__inner itself to scroll,
   dragging the close button along with it since it was absolutely
   positioned inside that same scrolling box. */
.stkr-modal__inner--booking {
	height: 85vh;
	overflow: hidden;
}

.stkr-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
	border-radius: var(--stkr-modal-radius, 12px) var(--stkr-modal-radius, 12px) 0 0;
}

.stkr-modal__header-title {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 3rem;
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stkr-modal__body {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.stkr-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: var(--stkr-modal-close-size, 36px);
	height: var(--stkr-modal-close-size, 36px);
	padding: 0;
	background: var(--stkr-modal-close-bg, rgba(0, 0, 0, 0.12));
	border: none;
	border-radius: 50%;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--stkr-modal-close-color, #333);
	transition: background 0.15s;
}

/* Inside the booking modal's header, the close button is a normal flex
   item (flow-positioned by justify-content: space-between) rather than
   absolutely pinned over content — the other modals still use the
   absolute-positioned default above since they have no separate header row. */
.stkr-modal__header .stkr-modal__close {
	position: static;
	flex-shrink: 0;
}

/* SVG scales with the button rather than relying on font glyph metrics,
   which never sat quite centred inside the circle across fonts/browsers. */
.stkr-modal__close svg {
	width: 45%;
	height: 45%;
}

.stkr-modal__close:hover {
	background: rgba(0, 0, 0, 0.22);
}

.stkr-modal__close:focus-visible {
	outline: 3px solid #4d61f4;
	outline-offset: 2px;
}

.stkr-modal__loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 12px;
	z-index: 1;
}

.stkr-modal__loader[hidden] {
	display: none;
}

.stkr-modal__spinner {
	width: 40px;
	height: 40px;
	border: 3px solid #e5e7eb;
	border-top-color: #4d61f4;
	border-radius: 50%;
	animation: stkr-modal-spin 0.75s linear infinite;
}

@keyframes stkr-modal-spin {
	to { transform: rotate(360deg); }
}

.stkr-modal__iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* --------------------------------------------------------------------------
   Service info modal
   -------------------------------------------------------------------------- */

.stkr-info-modal__inner {
	position: relative;
	background: #fff;
	border-radius: var(--stkr-modal-radius, 12px);
	width: 100%;
	max-width: 680px;
	max-height: 90vh;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
}

/* The scrolling region — everything except the close button and the footer's
   Book button. .stkr-info-modal__inner itself no longer scrolls: on short
   viewports that used to drag the close button (absolutely positioned
   against .inner) and the Book button off-screen along with the content.
   Now both stay fixed in place while the description scrolls behind them. */
.stkr-info-modal__scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.stkr-info-modal__image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	flex-shrink: 0;
	border-radius: var(--stkr-modal-radius, 12px) var(--stkr-modal-radius, 12px) 0 0;
	background: #eeeeee;
}

.stkr-info-modal__loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eeeeee;
	z-index: 1;
	transition: opacity 0.2s;
}

.stkr-info-modal__loader[hidden] {
	display: none;
}

.stkr-info-modal__image-placeholder {
	min-height: 120px;
}

.stkr-info-modal__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stkr-info-modal__body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Every modal content rule below is double-scoped to #stkr-info-modal (the
   real modal) and .stkr-modal-preview (the embedded admin preview) rather
   than relying on a single class. wp-admin ships its own baseline typography
   for bare elements (headings, paragraphs) that can otherwise win over an
   inherited value from a single-class ancestor rule — same class of bug
   already found and fixed once today for the hex color input. The extra
   specificity here is a deliberate defensive measure, not decoration. */

#stkr-info-modal .stkr-info-modal__title,
.stkr-modal-preview .stkr-info-modal__title {
	margin: 0;
	font-size: var(--stkr-modal-title-size, 16px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--stkr-modal-title-color, #111827);
}

.stkr-info-modal__meta {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

/* An author `display` rule always beats the UA stylesheet's [hidden], so the
   attribute alone won't hide this element (pre-existing gap — every employee
   info modal has empty duration/price and was silently rendering an empty,
   ghost-populated meta line whenever a previous modal had left content behind). */
.stkr-info-modal__meta[hidden] {
	display: none;
}

#stkr-info-modal .stkr-info-modal__duration,
.stkr-modal-preview .stkr-info-modal__duration {
	color: var(--stkr-modal-duration-color, #6b7280);
	font-size: var(--stkr-modal-duration-size, 15px);
}

#stkr-info-modal .stkr-info-modal__price,
.stkr-modal-preview .stkr-info-modal__price {
	color: var(--stkr-modal-price-color, #111827);
	font-size: var(--stkr-modal-price-size, 15px);
}

#stkr-info-modal .stkr-info-modal__desc,
#stkr-info-modal .stkr-info-modal__desc p,
.stkr-modal-preview .stkr-info-modal__desc,
.stkr-modal-preview .stkr-info-modal__desc p {
	font-size: var(--stkr-modal-desc-size, 15px);
	line-height: 1.65;
	color: var(--stkr-modal-desc-color, #374151);
}

.stkr-info-modal__desc p {
	margin: 0 0 14px;
}

.stkr-info-modal__desc p:first-child { margin-top: 0; }
.stkr-info-modal__desc p:last-child  { margin-bottom: 0; }

/* Trafft's own description editor inserts an empty <p><br></p> for every
   blank line typed between paragraphs. Left alone, that placeholder adds
   its own line-height plus margin on top of the real paragraph's margin,
   roughly doubling the visible gap — collapsing it leaves normal, single
   spacing driven only by the real paragraphs' margins above. */
.stkr-info-modal__desc p:empty,
.stkr-info-modal__desc p:has(> br:only-child) {
	display: none;
}

/* Trafft descriptions can include bulleted/numbered lists, but wp-admin's
   own list reset (and some front-end theme resets) strip list-style and
   padding sitewide — restore both explicitly here rather than relying on
   the UA stylesheet, matching the defensive-specificity pattern used
   throughout this modal's other rules. */
#stkr-info-modal .stkr-info-modal__desc ul,
#stkr-info-modal .stkr-info-modal__desc ol,
.stkr-modal-preview .stkr-info-modal__desc ul,
.stkr-modal-preview .stkr-info-modal__desc ol {
	margin: 0 0 14px;
	padding-left: 22px;
}

.stkr-info-modal__desc ul { list-style-type: disc; }
.stkr-info-modal__desc ol { list-style-type: decimal; }

.stkr-info-modal__desc li {
	list-style-position: outside;
	margin-bottom: 4px;
}

.stkr-info-modal__desc ul:last-child,
.stkr-info-modal__desc ol:last-child {
	margin-bottom: 0;
}

.stkr-info-modal__desc li:last-child { margin-bottom: 0; }

/* A real bottom bar now (sibling of .stkr-info-modal__scroll, not flowed
   inside it), so it needs its own padding and a top border to read as a
   distinct region the description scrolls behind, rather than the last
   item in the body's own gap-spaced stack. */
.stkr-info-modal__footer {
	flex-shrink: 0;
	padding: 16px 28px;
	background: #fff;
	border-top: 1px solid #f3f4f6;
}

/* Modal's Book button styled independently from the grid's Book button —
   #stkr-info-modal's ID reliably beats the base .stkr-card__btn class rule
   regardless of source order. */
#stkr-info-modal .stkr-card__btn,
.stkr-modal-preview .stkr-card__btn {
	background: var(--stkr-modal-btn-bg, #4d61f4);
	color: var(--stkr-modal-btn-color, #ffffff);
	border-color: var(--stkr-modal-btn-bg, #4d61f4);
	border-radius: var(--stkr-modal-btn-radius, 6px);
	font-size: var(--stkr-modal-btn-size, 15px);
	padding: var(--stkr-modal-btn-padding-y, 10px) var(--stkr-modal-btn-padding-x, 20px);
}

/* --------------------------------------------------------------------------
   Team grid — bridges --stkr-team-* vars into the shared card component
   -------------------------------------------------------------------------- */

.stkr-team-wrap {
	width: 100%;
}

/* Override the shared card CSS vars with team-specific values */
.stkr-team-wrap .stkr-grid {
	grid-template-columns: repeat(var(--stkr-team-columns, 3), minmax(0, 1fr));
	gap: var(--stkr-team-gap, 24px);
}

.stkr-team-wrap .stkr-card {
	--stkr-card-bg:     var(--stkr-team-card-bg,     #ffffff);
	--stkr-card-border: var(--stkr-team-card-border, #e5e7eb);
	--stkr-card-border-width: var(--stkr-team-card-border-width, 1px);
	--stkr-card-shadow: var(--stkr-team-card-shadow, none);
	--stkr-card-radius: var(--stkr-team-card-radius, 12px);
	--stkr-title-color: var(--stkr-team-title-color, #111827);
	--stkr-meta-color:  var(--stkr-team-meta-color,  #6b7280);
	--stkr-title-size:  var(--stkr-team-title-size,  16px);
	--stkr-meta-size:   var(--stkr-team-meta-size,   14px);
	--stkr-btn-bg:      var(--stkr-team-btn-bg,      #4d61f4);
	--stkr-btn-color:   var(--stkr-team-btn-color,   #ffffff);
	--stkr-btn-radius:  var(--stkr-team-btn-radius,  6px);
	--stkr-btn-size:    var(--stkr-team-btn-size,    15px);
	--stkr-btn-padding-y: var(--stkr-team-btn-padding-y, 10px);
	--stkr-btn-padding-x: var(--stkr-team-btn-padding-x, 20px);
	--stkr-star-size:   var(--stkr-team-star-size,   14px);
	--stkr-star-color:  var(--stkr-team-star-color,  #f59e0b);
	--stkr-tag-font-size: var(--stkr-team-tag-font-size, 11px);
	--stkr-tag-radius:    var(--stkr-team-tag-radius,    6px);
	--stkr-tag-padding-y: var(--stkr-team-tag-padding-y, 4px);
	--stkr-tag-padding-x: var(--stkr-team-tag-padding-x, 12px);
}

/* Portrait (square) image variant used for team member headshots */
.stkr-card__image-wrap--portrait {
	aspect-ratio: 1 / 1;
}

/* Person placeholder — neutral grey with a subtle silhouette tint */
.stkr-card__image--person {
	background-color: #d1d5db;
}

/* Tag pills — top-right corner of the card image, color set inline per tag from Trafft */
.stkr-card__tags {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	pointer-events: none;
}

.stkr-card__tag {
	font-size: var(--stkr-tag-font-size, 11px);
	font-weight: 700;
	line-height: 1.4;
	padding: var(--stkr-tag-padding-y, 4px) var(--stkr-tag-padding-x, 12px);
	border-radius: var(--stkr-tag-radius, 6px);
	white-space: nowrap;
}

/* Star rating row */
.stkr-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	/* Was hardcoded, so the "Rating size" control had no effect at all —
	   this is the one place --stkr-meta-size was never actually wired up. */
	font-size: var(--stkr-meta-size, 13px);
	color: var(--stkr-meta-color);
}

.stkr-card__stars {
	color: var(--stkr-star-color, #f59e0b);
	font-size: var(--stkr-star-size, 14px);
	letter-spacing: -0.03em;
	line-height: 1;
}

.stkr-card__rating-count {
	display: flex;
	align-items: center;
	gap: 4px;
}

.stkr-card__review-link {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: #4d61f4;
	text-decoration: underline;
	cursor: pointer;
}

.stkr-card__review-link:hover,
.stkr-card__review-link:focus-visible {
	color: #3548d4;
}

/* --------------------------------------------------------------------------
   Ratings & Reviews modal
   -------------------------------------------------------------------------- */

.stkr-reviews-modal__inner {
	position: relative;
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 760px;
	max-height: 85vh;
	overflow-y: auto;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
	padding: 28px;
}

.stkr-reviews-modal__title {
	margin: 0 0 24px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
}

.stkr-reviews-modal__body {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
}

.stkr-reviews-modal__summary {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stkr-reviews-modal__person {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.stkr-reviews-modal__avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: #eef0ff;
	color: #4d61f4;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}

.stkr-reviews-modal__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stkr-reviews-modal__avatar--sm {
	width: 32px;
	height: 32px;
	font-size: 0.8125rem;
}

.stkr-reviews-modal__name {
	font-weight: 700;
	color: #111827;
	font-size: 0.9375rem;
}

.stkr-reviews-modal__label {
	margin: 0 0 6px;
	font-size: 0.8125rem;
	color: #6b7280;
}

.stkr-reviews-modal__overall {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.stkr-reviews-modal__overall .stkr-card__stars {
	font-size: 1.125rem;
}

.stkr-reviews-modal__overall-value {
	font-weight: 700;
	color: #111827;
	font-size: 1.0625rem;
}

.stkr-reviews-modal__breakdown {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stkr-reviews-modal__bar-row {
	display: grid;
	grid-template-columns: 52px 1fr 16px;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	color: #6b7280;
}

.stkr-reviews-modal__bar-track {
	height: 6px;
	border-radius: 3px;
	background: #e5e7eb;
	overflow: hidden;
}

.stkr-reviews-modal__bar-fill {
	display: block;
	height: 100%;
	background: #f59e0b;
	border-radius: 3px;
}

.stkr-reviews-modal__bar-count {
	text-align: right;
}

.stkr-reviews-modal__count {
	margin: 0 0 16px;
	font-weight: 700;
	color: #111827;
	font-size: 0.9375rem;
}

.stkr-reviews-modal__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.stkr-reviews-modal__review {
	display: flex;
	gap: 12px;
}

.stkr-reviews-modal__review-body {
	flex: 1;
	min-width: 0;
}

.stkr-reviews-modal__review-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.stkr-reviews-modal__reviewer {
	font-weight: 700;
	color: #111827;
	font-size: 0.875rem;
}

.stkr-reviews-modal__provided {
	display: block;
	font-size: 0.8125rem;
	color: #6b7280;
}

.stkr-reviews-modal__review-date {
	margin: 2px 0 8px;
	font-size: 0.75rem;
	color: #9ca3af;
}

.stkr-reviews-modal__review-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #374151;
}

.stkr-reviews-modal__empty {
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.stkr-grid {
		grid-template-columns: repeat(min(var(--stkr-columns), 2), minmax(0, 1fr));
	}
	.stkr-team-wrap .stkr-grid {
		grid-template-columns: repeat(min(var(--stkr-team-columns, 3), 2), minmax(0, 1fr));
	}
	[data-layout="slider"],
	[data-layout="hybrid"] {
		--stkr-slider-cols: min(var(--stkr-columns, 3), 2);
	}
	.stkr-team-wrap[data-layout="slider"],
	.stkr-team-wrap[data-layout="hybrid"] {
		--stkr-slider-cols: min(var(--stkr-team-columns, 3), 2);
	}
}

@media (max-width: 560px) {
	.stkr-grid {
		grid-template-columns: 1fr;
	}

	.stkr-modal__inner {
		max-height: 90vh;
		border-radius: 8px;
	}

	[data-layout="slider"],
	[data-layout="hybrid"] {
		--stkr-slider-cols: 1;
	}
}

@media (max-width: 640px) {
	.stkr-reviews-modal__body {
		grid-template-columns: 1fr;
	}
}
