
.tic-carousel-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
}

.tic-carousel-wrapper {
	display: flex;
	gap: 20px;
	transform: translateX(0);
	will-change: transform;
}

.tic-carousel-item {
	flex: 0 0 calc(( 100% - 40px ) / 3);
	width: calc(( 100% - 40px ) / 3);
	position: relative;
	padding: 0 10px;
	box-sizing: border-box;
}

/* Force square aspect ratio */
.tic-carousel-item::before {
	content: "";
	display: block;
	padding-top: 100%;
}

.tic-carousel-item img {
	position: absolute;
	top: 0;
	left: 10px;
	right: 10px;
	bottom: 0;
	width: calc(100% - 20px);
	height: 100%;
	object-fit: cover;
	border-radius: 25px;
	cursor: pointer;
}

/* Navigation buttons - both carousel and modal */
.tic-prev, .tic-next, .tic-modal-prev, .tic-modal-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: transparent;
	border: 2px solid white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: all .2s ease;
}

.tic-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin: 20px 0;
}

/* Modal styles */
.tic-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .9);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.tic-modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}

.tic-modal-image-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.tic-modal-image {
	max-width: 80vw;
	max-height: 80vh;
	object-fit: contain;
}

.tic-modal-close {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 30px;
	height: 30px;
	background: transparent;
	border: none;
	color: white;
	font-size: 30px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tic-modal-prev, .tic-modal-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.tic-modal-prev {
	left: -60px;
}

.tic-modal-next {
	right: -60px;
}

/* Hover effects */
.tic-prev:hover, .tic-next:hover, .tic-modal-prev:hover, .tic-modal-next:hover {
	background-color: rgba(255, 255, 255, .1);
}

/* Disabled state */
.tic-prev:disabled, .tic-next:disabled {
	border-color: rgba(255, 255, 255, .3);
	cursor: not-allowed;
}

/* Remove any unwanted content from buttons */
.tic-prev::before, .tic-prev::after, .tic-next::before, .tic-next::after, .tic-modal-prev::before, .tic-modal-prev::after, .tic-modal-next::before, .tic-modal-next::after {
	content: none;
}
