/* Hercos Slider – frontend */
.hsd-block,
.hsd-block * { box-sizing: border-box; }

.hsd-block {
	position: relative;
	width: 100%;
	background: var(--hsd-bg, #0a0a0a);
	padding: 30px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	clear: both;
}

.hsd-block .hsd-container {
	position: relative;
	max-width: var(--hsd-max, 1600px);
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--hsd-radius, 6px);
	border: 1px solid rgba(255, 255, 255, .1);
}

.hsd-block .hsd-track {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	margin: 0;
	padding: 0;
	transition: transform .6s cubic-bezier(.25, 1, .5, 1);
	will-change: transform;
}

.hsd-block .hsd-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	height: var(--hsd-h, 420px);
	display: flex;
	align-items: flex-end;
	padding: 40px 60px;
	background-color: #111;
	background-image: var(--hsd-img, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
	text-decoration: none !important;
	box-shadow: none;
}

.hsd-block a.hsd-slide:hover,
.hsd-block a.hsd-slide:focus { color: #fff; text-decoration: none; }

.hsd-block .hsd-slide::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top,
		rgba(0, 0, 0, var(--hsd-ov, .85)) 0%,
		rgba(0, 0, 0, calc(var(--hsd-ov, .85) * .35)) 50%,
		rgba(0, 0, 0, 0) 100%);
}

.hsd-block .hsd-content {
	position: relative;
	z-index: 2;
	max-width: 650px;
}

.hsd-block .hsd-tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	line-height: 1.4;
	margin: 0 0 8px;
}

.hsd-block h2.hsd-title {
	font-size: 46px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -1px;
	margin: 0 0 10px !important;
	padding: 0;
	text-transform: none;
}

.hsd-block p.hsd-price {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 !important;
	padding: 0;
}

/* Flechas (reseteo contra estilos de botones de Flatsome / Elementor) */
.hsd-block .hsd-nav {
	position: absolute;
	right: 60px;
	bottom: 40px;
	z-index: 3;
	display: flex;
	gap: 10px;
}

.hsd-block button.hsd-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .25) !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, .4) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff !important;
	font-size: 16px;
	line-height: 1 !important;
	letter-spacing: 0;
	text-transform: none;
	text-shadow: none;
	box-shadow: none !important;
	cursor: pointer;
	transition: all .3s ease;
}

.hsd-block button.hsd-btn:hover {
	background: #fff !important;
	color: #000 !important;
	border-color: #fff !important;
}

/* Pie */
.hsd-block .hsd-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--hsd-max, 1600px);
	margin: 0 auto;
	padding-top: 18px;
	color: var(--hsd-ui, #fff);
	font-size: 12px;
	font-weight: 600;
}

.hsd-block .hsd-dots { display: flex; align-items: center; gap: 10px; }

.hsd-block .hsd-dot {
	display: block;
	width: 10px;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
	opacity: .25;
	cursor: pointer;
	transition: all .3s ease;
}

.hsd-block .hsd-dot.active { width: 24px; opacity: 1; }
.hsd-block .hsd-counter { opacity: .6; }

/* Tablet */
@media (max-width: 992px) {
	.hsd-block .hsd-slide { height: var(--hsd-h-t, 360px); padding: 30px 40px; }
	.hsd-block h2.hsd-title { font-size: 36px; }
	.hsd-block .hsd-nav { right: 40px; bottom: 30px; }
}

/* Móvil */
@media (max-width: 576px) {
	.hsd-block { padding: 15px 10px; }
	.hsd-block .hsd-slide {
		height: var(--hsd-h-m, 320px);
		padding: 24px;
		background-image: var(--hsd-img-m, var(--hsd-img, none));
	}
	.hsd-block h2.hsd-title { font-size: 28px; }
	.hsd-block .hsd-tag { font-size: 10px; }
	.hsd-block p.hsd-price { font-size: 14px; }
	.hsd-block .hsd-nav { right: 20px; bottom: 20px; }
	.hsd-block button.hsd-btn { width: 36px; height: 36px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.hsd-block .hsd-track { transition: none; }
}
