/**
 * Logrenove Carousel Component
 *
 * Pure CSS + Interactivity API carousel replacing Flickity.
 * Uses CSS transform on .logrenove-carousel__track for slide transitions.
 *
 * Variants:
 *   --banner     : full-width hero slides, auto-play
 *   --property   : card-width slides (estate/mansion list)
 *   --conditions : same as property (related properties)
 *
 * @package logrenove
 * @since 2.0.0
 */

/* ============================================
   Base
   ============================================ */

.logrenove-carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.logrenove-carousel:focus {
	outline: 2px solid var(--color-gold, #BE9C59);
	outline-offset: 2px;
}

.logrenove-carousel__track {
	display: flex;
	transition: transform 0.4s ease;
	will-change: transform;
}

.logrenove-carousel__cell {
	flex: 0 0 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* ============================================
   Navigation Buttons
   ============================================ */

.logrenove-carousel__btn {
	position: absolute;
	top: 36%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.85);
	color: var(--color-dark, #ffffff);
	cursor: pointer;
	box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
	transition: background 0.2s ease, opacity 0.2s ease;
}

.logrenove-carousel__btn:hover {
	background: rgba(255, 255, 255, 1);
}

.logrenove-carousel__btn:disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

.logrenove-carousel__btn--prev {
	left: 10px;
}

.logrenove-carousel__btn--next {
	right: 10px;
}

.logrenove-carousel__btn svg {
	width: 20px;
	height: 20px;
}

/* ============================================
   Page Dots
   ============================================ */

.logrenove-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 12px 0;
}

.logrenove-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--color-border, #E0E0E0);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.logrenove-carousel__dot:hover {
	background: var(--color-gold, #BE9C59);
}

.logrenove-carousel__dot.is-active {
	background: var(--color-primary, #8C7D5E);
	transform: scale(1.2);
}

/* ============================================
   Variant: Banner (full-width hero)
   ============================================ */

.logrenove-carousel--banner .logrenove-carousel__cell {
	flex: 0 0 100%;
}

.logrenove-carousel--banner .logrenove-carousel__cell img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ============================================
   Variant: Property & Conditions (card slides)
   ============================================ */

.logrenove-carousel--property .logrenove-carousel__cell {
	flex: 0 0 100%;
}

.logrenove-carousel--conditions .logrenove-carousel__cell {
	flex: 0 0 calc(100% / 3);
	padding: 0 8px;
	box-sizing: border-box;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_item,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_item {
	display: block;
	text-decoration: none;
	color: inherit;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_img,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_img {
	position: relative;
	padding-bottom: 66.67%; /* 3:2 aspect ratio */
	overflow: hidden;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_img img,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_item:hover .box_img img,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_item:hover .box_img img {
	transform: scale(1.05);
}

.logrenove-carousel--property .logrenove-carousel__cell .box_footer,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_footer {
	padding: 10px;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_footer h3,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_footer h3 {
	font-size: var(--font-size-sm, 0.875rem);
	margin: 0 0 4px;
	line-height: 1.4;
}

.logrenove-carousel--property .logrenove-carousel__cell .box_footer p,
.logrenove-carousel--conditions .logrenove-carousel__cell .box_footer p {
	font-size: var(--font-size-xs, 0.75rem);
	color: var(--color-gray, #424242);
	margin: 0;
}

/* Property/Conditions nav button positioning — wider offset on desktop */
.logrenove-carousel--property .logrenove-carousel__btn--prev,
.logrenove-carousel--conditions .logrenove-carousel__btn--prev {
	left: 0;
}

.logrenove-carousel--property .logrenove-carousel__btn--next,
.logrenove-carousel--conditions .logrenove-carousel__btn--next {
	right: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 926px) {
	.logrenove-carousel--property .logrenove-carousel__btn--prev,
	.logrenove-carousel--conditions .logrenove-carousel__btn--prev {
		left: 10px;
	}

	.logrenove-carousel--property .logrenove-carousel__btn--next,
	.logrenove-carousel--conditions .logrenove-carousel__btn--next {
		right: 10px;
	}
}

@media (max-width: 768px) {
	.logrenove-carousel--conditions .logrenove-carousel__cell {
		flex: 0 0 100%;
		padding: 0;
	}
}

@media (max-width: 768px) {
	.logrenove-carousel__btn {
		width: 32px;
		height: 32px;
	}

	.logrenove-carousel__btn svg {
		width: 16px;
		height: 16px;
	}
}

/* ============================================
   Detail Carousel Wrapper (shared parent)
   ============================================ */

.logrenove-detail-carousel {
	position: relative;
	width: 100%;
}

.logrenove-detail-carousel:focus {
	outline: 2px solid var(--color-gold, #BE9C59);
	outline-offset: 2px;
}

/* ============================================
   Variant: Detail Media (estate gallery main)
   ============================================ */

.logrenove-carousel--detail-media {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.logrenove-carousel--detail-media .logrenove-carousel__track {
	display: flex;
	transition: transform 0.4s ease;
	will-change: transform;
}

.logrenove-carousel--detail-media .logrenove-carousel__cell {
	flex: 0 0 100%;
	min-width: 0;
	position: relative;
}

.logrenove-carousel--detail-media .logrenove-carousel__cell img {
	display: block;
	/* width: 100%;
	height: auto; */
	max-height: 540px;
	object-fit: contain;
}

.logrenove-carousel--detail-media .logrenove-carousel__cell .video-placeholder {
	width: 100%;
	height: 540px;
	background: #000;
	position: relative;
	cursor: pointer;
}

.logrenove-carousel--detail-media .logrenove-carousel__cell .video-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.logrenove-carousel--detail-media .logrenove-carousel__cell .carousel-cell__caption {
	padding: 6px 12px;
	font-size: var(--font-size-sm, 0.875rem);
	color: var(--color-gray, #424242);
	background: rgba(255, 255, 255, 0.9);
}

/* Detail nav buttons */
.logrenove-carousel--detail-media .logrenove-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--color-dark, #333);
	cursor: pointer;
	box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
	transition: background 0.2s ease;
}

.logrenove-carousel--detail-media .logrenove-carousel__btn:hover {
	background: rgba(255, 255, 255, 1);
}

.logrenove-carousel--detail-media .logrenove-carousel__btn--prev {
	left: 10px;
}

.logrenove-carousel--detail-media .logrenove-carousel__btn--next {
	right: 10px;
}

/* Counter badge */
.logrenove-detail-carousel__counter {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: var(--font-size-xs, 0.75rem);
	padding: 4px 10px;
	border-radius: 3px;
	z-index: 10;
	pointer-events: none;
}

/* Sold badge */
.logrenove-detail-carousel__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 15;
}

/* ============================================
   Variant: Detail Nav (thumbnail strip)
   ============================================ */

.logrenove-carousel--detail-nav {
	overflow: hidden;
	width: 100%;
	margin-top: 8px;
}

.logrenove-carousel--detail-nav .logrenove-carousel__track {
	display: flex;
	transition: transform 0.3s ease;
	will-change: transform;
}

.logrenove-carousel--detail-nav .logrenove-carousel__cell {
	flex: 0 0 20%;
	min-width: 0;
	padding: 2px;
	box-sizing: border-box;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.logrenove-carousel--detail-nav .logrenove-carousel__cell:hover {
	opacity: 0.85;
}

.logrenove-carousel--detail-nav .logrenove-carousel__cell.is-active {
	opacity: 1;
	outline: 2px solid var(--color-gold, #BE9C59);
	outline-offset: -2px;
}

.logrenove-carousel--detail-nav .logrenove-carousel__cell img {
	display: block;
	width: 100%;
	height: 80px;
	object-fit: cover;
}

/* ============================================
   Detail Carousel Responsive
   ============================================ */

@media (max-width: 768px) {
	.logrenove-carousel--detail-media .logrenove-carousel__cell img {
		max-height: 300px;
	}

	.logrenove-carousel--detail-media .logrenove-carousel__cell .video-placeholder {
		height: 300px;
	}

	.logrenove-carousel--detail-nav .logrenove-carousel__cell {
		flex: 0 0 25%;
	}

	.logrenove-carousel--detail-nav .logrenove-carousel__cell img {
		height: 60px;
	}

	.logrenove-carousel--detail-media .logrenove-carousel__btn {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 480px) {
	.logrenove-carousel--detail-nav .logrenove-carousel__cell {
		flex: 0 0 33.333%;
	}
}
.logrenove-carousel--detail-media .logrenove-carousel__cell {
    display: flex;
    justify-content: center;
}
.top-carousel{
	position: relative;
}
.section_topinfo_logasset .top-carousel .simplefavorite-button {
    position: absolute;
    top: 17px;
    right: 120px;
    z-index: 1;
    font-size: 32px;
}
.carousel-cell2 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}