/* Vardo სერვისები — the approved design (2026-10-27): card 1 "classic" (carousel, grid) and price block "a" (packages).
   These are only the defaults: the Elementor widget's Style tab sets every property with a stronger selector. */
.vardo-services {
	--vsv-cols: var(--vsv-cols-d, 5); /* --vsv-cols-d: the shortcode's cols (desktop) */
	--vsv-gap: 20px;
	--vsv-row-gap: var(--vsv-gap);
	--vsv-lift: -3px;
	--vsv-clamp: 6;
	--vsv-accent: #fa036b;
	box-sizing: border-box;
	font-size: 15px;
	line-height: 1.4;
}
.vardo-services *, .vardo-services *::before, .vardo-services *::after { box-sizing: border-box; }

/* ------------------------------------------------ card 1 (grid and carousel) */
.vardo-services .vsv-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
	padding: 24px 14px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	text-decoration: none;
	color: #222;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.vardo-services a.vsv-card:hover { transform: translateY(var(--vsv-lift)); box-shadow: 0 10px 28px rgba(0, 0, 0, .11); }
.vardo-services a.vsv-card:focus-visible { outline: 2px solid var(--vsv-accent); outline-offset: 3px; }
.vardo-services .vsv-pic { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; max-width: 100%; }
.vardo-services .vsv-img { width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.vardo-services .vsv-line { display: block; width: 90px; height: 1px; background: #eee6ea; }
.vardo-services .vsv-name { font-weight: 700; color: #222; transition: color .15s ease; }
.vardo-services .vsv-text {
	font-size: 14px;
	color: #5c5c66;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: var(--vsv-clamp);
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vardo-services .vsv-price { color: #444450; }

.vardo-services.vsv-grid { display: grid; grid-template-columns: repeat(var(--vsv-cols), minmax(0, 1fr)); column-gap: var(--vsv-gap); row-gap: var(--vsv-row-gap); }

/* carousel: a scroll-snap row (swipe on phones); arrows, dots, autoplay, loop — services.js */
.vardo-services .vsv-row { position: relative; display: flex; align-items: center; gap: 12px; }
.vardo-services .vsv-track {
	flex: 1;
	min-width: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--vsv-cols) - 1) * var(--vsv-gap)) / var(--vsv-cols));
	gap: var(--vsv-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	/* room for the cards' shadow (the strip clips what is outside it); Elementor: „ზოლის დაშორება“ sets the variables */
	padding: var(--vsv-pad-t, 16px) var(--vsv-pad-r, 20px) var(--vsv-pad-b, 32px) var(--vsv-pad-l, 20px);
	scroll-padding: 0 var(--vsv-pad-r, 20px) 0 var(--vsv-pad-l, 20px); /* a card snaps where the padding starts */
	/* the side edges fade out instead of cutting a shadow (the next card's shadow showed as a hard line by the arrow) */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--vsv-pad-l, 20px), #000 calc(100% - var(--vsv-pad-r, 20px)), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--vsv-pad-l, 20px), #000 calc(100% - var(--vsv-pad-r, 20px)), transparent 100%);
	scrollbar-width: none;
}
.vardo-services .vsv-track::-webkit-scrollbar { display: none; }
.vardo-services .vsv-track > .vsv-card { scroll-snap-align: start; }
.vardo-services .vsv-arrow {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e6e6ea;
	border-radius: 50%;
	background: #fff;
	color: var(--vsv-accent);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.vardo-services .vsv-arrow::before {
	content: "";
	width: var(--vsv-arrow-icon, 9px);
	height: var(--vsv-arrow-icon, 9px);
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	transform: translateX(2px) rotate(45deg);
}
.vardo-services .vsv-next::before { transform: translateX(-2px) rotate(-135deg); }
.vardo-services .vsv-arrow:disabled { opacity: .35; cursor: default; }
.vardo-services .vsv-arrow:hover:not(:disabled) { border-color: var(--vsv-accent); }
.vardo-services .vsv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.vardo-services .vsv-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #e3d6dc; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.vardo-services .vsv-dot.is-active { width: 22px; background: var(--vsv-accent); }

/* ------------------------------------------------ price block "a": package cards */
/* sideways (vsv-pkgs: a carousel of packages): 3 on a computer, 2 on a tablet, one on a phone */
.vardo-services.vsv-pkgs { --vsv-cols: var(--vsv-cols-d, 3); }
.vardo-services.vsv-pkgs .vsv-track { align-items: start; }
.vardo-services.vsv-packages {
	--vsv-cols: var(--vsv-cols-d, 3);
	display: grid;
	grid-template-columns: repeat(var(--vsv-cols), minmax(0, 1fr));
	column-gap: var(--vsv-gap);
	row-gap: var(--vsv-row-gap);
	align-items: start;
}
.vardo-services .vsv-pkg { padding: 0; align-items: stretch; text-align: left; overflow: hidden; }
.vardo-services .vsv-head { margin: 0; padding: 16px 22px; background: #fa036b; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; }
.vardo-services .vsv-head a { color: inherit; text-decoration: none; }
.vardo-services .vsv-pkg-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.vardo-services .vsv-big { margin: 0; color: #222; }
.vardo-services .vsv-big-p { font-size: 16px; color: #5c5c66; }
.vardo-services .vsv-big-n { font-size: 40px; font-weight: 700; line-height: 1.1; }
.vardo-services .vsv-big-u { font-size: 16px; color: #5c5c66; }
.vardo-services .vsv-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.vardo-services .vsv-list li { position: relative; margin: 0; padding-left: 24px; font-size: 14px; line-height: 1.45; color: #222; }
.vardo-services .vsv-list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 4px;
	width: 6px;
	height: 11px;
	border: solid var(--vsv-check, var(--vsv-accent));
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.vardo-services .vsv-list li[hidden] { display: none; }
.vardo-services .vsv-pkg .vsv-text { margin: 0; }
.vardo-services .vsv-toggle {
	align-self: flex-start;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid #f0dce5;
	border-radius: 20px;
	background: #fff;
	color: #e60061;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.vardo-services .vsv-btn {
	min-height: 48px;
	border-radius: 14px;
	background: #fa036b;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 16px;
	text-decoration: none;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.vardo-services .vsv-btn:hover { filter: brightness(1.08); color: #fff; }

/* default columns on smaller screens (the widget's tablet / mobile values override these) */
@media (max-width: 1024px) { .vardo-services { --vsv-cols: 2; } .vardo-services.vsv-packages, .vardo-services.vsv-pkgs { --vsv-cols: 2; } }
@media (max-width: 767px) {
	.vardo-services { --vsv-gap: 12px; }
	/* phone: one card at a time, centred between the arrows; the gap is wider than the side room, so the next card
	   does not peek in */
	.vardo-services.vsv-carousel { --vsv-cols: 1; --vsv-gap: 48px; --vsv-pad-l: 44px; --vsv-pad-r: 44px; }
	/* phone: the arrows sit on the strip's edges (a hint that more cards are to the side) and go away at the end */
	.vardo-services.vsv-carousel .vsv-row { gap: 0; }
	.vardo-services.vsv-carousel .vsv-arrow {
		position: absolute;
		top: 50%;
		z-index: 2;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		background: rgba(255, 255, 255, .94);
		box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	}
	.vardo-services.vsv-carousel .vsv-prev { left: 4px; }
	.vardo-services.vsv-carousel .vsv-next { right: 4px; }
	/* the services carousel: the arrows a bit further from the card (16 px) */
	.vardo-services.vsv-carousel:not(.vsv-pkgs) { --vsv-pad-l: 54px; --vsv-pad-r: 54px; --vsv-gap: 58px; }
	.vardo-services.vsv-carousel:not(.vsv-pkgs) .vsv-prev { left: 2px; }
	.vardo-services.vsv-carousel:not(.vsv-pkgs) .vsv-next { right: 2px; }
	.vardo-services.vsv-carousel .vsv-arrow:disabled { opacity: 0; pointer-events: none; }
	.vardo-services.vsv-packages { --vsv-cols: 1; }
}
