.symfonia-photos {
	--symfonia-photos-active: #e25b51;
	--symfonia-photos-inactive: #4f1813;
}

.symfonia-photos__tabs {
	display: flex;
	gap: 0;
	align-items: stretch;
	margin: 0 0 28px;
}

.symfonia-photos__tab {
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 16px 12px;
	border: 0;
	border-bottom: 4px solid var(--symfonia-photos-inactive);
	background: transparent;
	cursor: pointer;
	color: var(--symfonia-photos-inactive);
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	/* transition: all 0.3s ease-in-out; */
	/* Only kolor and border color */
	transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.symfonia-photos__tab:hover,
.symfonia-photos__tab:focus {
	background-color: transparent !important;
	color: var(--symfonia-photos-active);
	border-bottom-color: var(--symfonia-photos-active);
}

.symfonia-photos__tab.is-active {
	color: var(--symfonia-photos-active);
	border-bottom-color: var(--symfonia-photos-active);
}

.symfonia-photos__tab-icon svg {
	display: block;
	width: 32px;
	height: 32px;
}

.symfonia-photos__panel {
	display: none;
}

.symfonia-photos__panel.is-active {
	display: block;
}

.symfonia-photos__grid {
	column-count: 2;
	column-gap: 32px;
}

.symfonia-photos__item {
	margin: 0 0 32px;
	break-inside: avoid;
}

.symfonia-photos__item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
}

.symfonia-photos__empty {
	margin: 0;
}

/* ─── Budowa Filter ─── */
.ravielson-filter-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.ravielson-filter-label {
	font-size: 16px;
	color: #172C57;
	font-weight: 500;
}

.ravielson-filter-dots {
	display: none;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.ravielson-filter-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #E8E0D8;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s;
}

.ravielson-filter-dot.active,
.ravielson-filter-dot:hover {
	background: #54717B;
	transform: scale(1.2);
}

.ravielson-filter-slider-container {
	flex: 1;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ravielson-filter-slider-container::-webkit-scrollbar {
	display: none;
}

.ravielson-filter-slider {
	display: flex;
	gap: 10px;
	white-space: nowrap;
	padding-bottom: 5px;
}

.ravielson-filter-btn {
	font-family: "Poppins", sans-serif !important;
	font-weight: 400 !important;
	background: transparent;
	border: 1px solid #4F1813;
	border-radius: 9999px;
	padding: 8px 22px;
	color: #172C57;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.ravielson-filter-btn:hover,
.ravielson-filter-btn.active {
	background: #4F1813;
	color: #fff;
}

@media (max-width: 768px) {
	.symfonia-photos__grid {
		column-count: 2;
		column-gap: 18px;
	}

	.symfonia-photos__item {
		margin-bottom: 18px;
	}

	.symfonia-photos__tab {
		padding: 14px 10px;
	}
}

@media (max-width: 480px) {
	.symfonia-photos__grid {
		column-count: 1;
	}
}

/* ─── Lightbox ─── */
.symfonia-photos__lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	/* Ultra high to clear sticky headers/modals */
	display: none;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.symfonia-photos__lightbox.is-active {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.symfonia-photos__lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	cursor: zoom-out;
}

.symfonia-photos__lightbox-container {
	position: relative;
	z-index: 100001;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.symfonia-photos__lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	display: block;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
	border: 3px solid #fff;
}

.symfonia-photos__lightbox-close {
	position: absolute;
	top: -40px;
	right: -40px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	padding: 10px;
	transition: transform 0.2s;
}

.symfonia-photos__lightbox-close:hover {
	transform: scale(1.1);
}

.symfonia-photos__item {
	cursor: zoom-in;
	transition: transform 0.2s ease;
}

.symfonia-photos__item:hover {
	transform: translateY(-5px);
}

@media (max-width: 768px) {
	.symfonia-photos__lightbox-close {
		top: -50px;
		right: 0;
	}
}

.symfonia-photos__lightbox-prev,
.symfonia-photos__lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 0.3s, transform 0.2s;
	z-index: 100002;
	user-select: none;
	padding: 10px;
}

.symfonia-photos__lightbox-prev svg,
.symfonia-photos__lightbox-next svg {
	filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.8));
	transition: transform 0.3s ease;
}

.symfonia-photos__lightbox-prev:hover,
.symfonia-photos__lightbox-next:hover {
	color: #fff;
}

.symfonia-photos__lightbox-prev:hover svg {
	transform: scale(1.2) translateX(-5px);
}

.symfonia-photos__lightbox-next:hover svg {
	transform: scale(1.2) translateX(5px);
}

.symfonia-photos__lightbox-prev:active,
.symfonia-photos__lightbox-next:active {
	transform: translateY(-50%) scale(0.9);
}

.symfonia-photos__lightbox-prev {
	left: 40px;
}

.symfonia-photos__lightbox-next {
	right: 40px;
}

@media (max-width: 768px) {

	.symfonia-photos__lightbox-prev svg,
	.symfonia-photos__lightbox-next svg {
		width: 48px;
		height: 48px;
	}

	.symfonia-photos__lightbox-prev {
		left: 5px;
	}

	.symfonia-photos__lightbox-next {
		right: 5px;
	}
}

/* ─── Gallery Slider Shortcode (Refined Design) ─── */
.symfonia-gallery-slider-section {
	width: 100%;
	overflow: hidden;
}

.symfonia-gallery-slider {
	position: relative;
	width: 100%;
}

/* Tabs: Left-aligned, rounded capsules */
.sgs-filter-tabs {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 30px;
	flex-wrap: wrap;
	padding: 0;
}

.sgs-filter-btn {
	background: #f5f5f5;
	border: none;
	border-radius: 99px;
	padding: 12px 28px;
	color: #000;
	font-size: 14px;
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05e;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.sgs-filter-btn:hover {
	background: #e8e8e8;
}

.sgs-filter-btn.active {
	background: #e0e0e0;
	color: #000;
}

/* Slider Container */
.sgs-slider-wrap {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 0 60px;
	/* Space for side arrows */
}

/* Side Arrows */
.sgs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	background: #fff;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	padding: 0;
}

.sgs-arrow:hover {
	background: #BFAE90;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	color: #fff;
}

.sgs-arrow:focus {
	color: #fff;
	background: #BFAE90;
}

.sgs-arrow-prev {
	left: 0px;
}

.sgs-arrow-next {
	right: 0px;
}

.sgs-arrow svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.sgs-arrow[disabled] {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Track */
.sgs-slider-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	gap: 20px;
	padding: 0 40px;
	-webkit-overflow-scrolling: touch;
}

.sgs-slider-track::-webkit-scrollbar {
	display: none;
}

/* Items */
.sgs-item {
	flex: 0 0 900px;
	scroll-snap-align: center;
	margin: 0;
	cursor: zoom-in;
	opacity: 1;
}

.sgs-item.is-hidden {
	display: none !important;
}

@keyframes sgsFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sgs-item img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	display: block;
	border-radius: 4px;
	pointer-events: none;
	/* prevent drag ghost on images */
}

.sgs-item.sgs-animate-in {
	animation: sgsFadeIn 0.4s ease forwards;
}

/* Bottom Scrollbar Controls */
.sgs-scrollbar-wrap {
	margin-top: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 0;
}

.sgs-scrollbar-track {
	width: 600px;
	height: 30px;
	background: #e5e5e5;
	border-radius: 99px;
	position: relative;
	cursor: pointer;
}

.sgs-scrollbar-thumb {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	height: 100%;
	background: #000;
	border-radius: 99px;
	cursor: grab;
	transition: background 0.2s;
	min-width: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}


.sgs-scrollbar-thumb:active {
	cursor: grabbing;
}

.sgs-thumb-arrow {
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.sgs-thumb-arrow-left {
	transform: rotate(-135deg);
}

.sgs-thumb-arrow-right {
	transform: rotate(45deg);
}

@media (max-width: 1024px) {
	.sgs-arrow {
		display: none !important;
	}

	.sgs-item {
		flex: 0 0 calc(90vw - 40px);
	}

	.sgs-item img {
		height: 400px;
	}

	.sgs-slider-wrap {
		padding: 0 20px;
	}

	.sgs-scrollbar-track {
		width: 80%;
	}
}

@media (max-width: 768px) {
	.sgs-filter-tabs {
		padding: 0;
		justify-content: center;
		gap: 10px;
	}

	.sgs-filter-btn {
		padding: 8px 16px;
		font-size: 12px;
	}

	.sgs-item {
		flex: 0 0 calc(100vw - 40px);
	}

	.sgs-item img {
		height: 300px;
	}
}

@media (max-width: 480px) {
	.sgs-item {
		flex: 0 0 calc(100vw - 20px);
	}

	.sgs-item img {
		height: 220px;
	}
}