.ht-prices__columns {
	display: grid;
	align-items: stretch;
	gap: var(--wp--preset--spacing--s);
}

.ht-prices__column {
	background-color: var(--wp--preset--color--mint-highlight);
	padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
	border-radius: var(--ht-radius--m);
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--xs);
	align-content: start;
}

.ht-prices__column-price-wrap {
	background-color: var(--wp--preset--color--base);
	text-align: center;
	width: 100%;
	padding: var(--wp--preset--spacing--xs);
	border-radius: var(--ht-radius--m);
}

.ht-prices__column-title,
.ht-prices__column-content {
	text-align: center;
	margin-bottom: var(--wp--preset--spacing--xs);
}

/* .ht-prices__column-image {
	margin-bottom: var(--wp--preset--spacing--xs);
} */

.ht-prices__column-image img {
	max-width: 150px;
	min-width: 120px;
}

.ht-prices__column-wrap-cta {
	margin-top: var(--wp--preset--spacing--xs);
}

.ht-prices__column-bottom-text {
	text-align: center;
}

.ht-prices__description {
	text-align: center;
	margin-bottom: var(--wp--preset--spacing--xs);
}

/* Switches */
	.ht-prices__switches {
		display: grid;
		grid-template-columns: fit-content(100%) fit-content(100%);
		gap: 0;
		justify-content: center;
		margin-bottom: var(--wp--preset--spacing--xs);
	}

	.ht-prices__switch {
		text-align: center;
	}

	.ht-prices__switch-title {
		margin-bottom: var(--wp--preset--spacing--xxs);
	}

	.ht-prices .switch-field {
		transform: scale(0.80);
		margin: 0 -15px;
		display: inline-flex;
		overflow: hidden;
		background-color: #fff;
		padding: 6px;
		border: 1px solid var(--wp--preset--color--green-dark-30);
		border-radius: var(--ht-radius--l);
		position: relative;
	}

	.ht-prices .switch-field input {
		position: absolute;
		clip: rect(0, 0, 0, 0);
		height: 1px;
		width: 1px;
		border: 0;
		overflow: hidden;
	}

	.ht-prices .switch-field label {
		font-size: 14px;
		background-color: transparent;
		color: var(--wp--preset--color--green-dark);
		text-align: center;
		padding: 11px 22px;
		transition: all 0.1s ease-in-out;
		border-radius: var(--ht-radius--m);
	}

	.ht-prices .switch-field label:hover {
		cursor: pointer;
	}

	.ht-prices .switch-field input:checked + label {
		background-color: var(--wp--preset--color--green-dark);
		color: var(--wp--preset--color--primary);
	}

	.ht-prices .switch-field.switch-field--rounded {
		background-color: transparent;
		border: none;
		padding: 7px 0;
	}

	.ht-prices .switch-field.switch-field--rounded::after {
		content: "";
		background-image: url('./assets/images/toggles-3.svg');
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		z-index: 0;
	}

	.ht-prices .switch-field.switch-field--rounded label {
		width: 42px;
		height: 42px;
		border-radius: 50%;
		line-height: 40px;
		padding: 0;
		z-index: 1;
		margin-left: 18px;
	}

	.ht-prices .switch-field.switch-field--rounded label:first-of-type {
		margin-left: 7px;
	}

	.ht-prices .switch-field.switch-field--rounded label:last-of-type {
		margin-left: 21px;
		margin-right: 7px;
	}

/* Tooltip */
	.ht-prices .tooltip {
		position: relative;
		display: inline-block;
		width: 100%;
	}

	.ht-prices .tooltip .tooltip__title {
		border-bottom: 1px solid var(--wp--preset--color--contrast);
	}

	.ht-prices .tooltip .tooltip__description {
		visibility: hidden;
		background-color: var(--wp--preset--color--green-highlight);
		color: var(--wp--preset--color--contrast);
		padding: var(--wp--preset--spacing--s);
		border-radius: var(--ht-radius--s);
		width: 300px;
		position: absolute;
		left: 0;
		top: 30px;
		z-index: 100;
	}

	.ht-prices .tooltip:hover .tooltip__description {
		visibility: visible;
	}

	.ht-prices .tooltip:hover .tooltip__description strong {
		display: inline-block;
		margin-bottom: var(--wp--preset--spacing--xxs);
	}

	.ht-prices__switch-fee .tooltip {
		display: inline;
	}

	.ht-prices__switch-fee .tooltip .tooltip__title {
		display: inline-block;
		width: 20px;
		height: 20px;
		border-radius: 50%;
		border: 1px solid var(--wp--preset--color--green-dark);
	}

	.ht-prices__switch-fee .tooltip .tooltip__title::after {
		font-family: var(--primary-font);
		text-align: center;
		content: '?';
		display: block;
		font-size: 12px;
		line-height: 20px;
		color: var(--wp--preset--color--green-dark);
	}

	.ht-prices__switch-fee .tooltip .tooltip__description {
		font-family: var(--primary-font);
		top: 100%;
		left: -80px;
		margin-left: -190px;
	}

/* Accordion */
/* ==========================================================================
   ACCORDEON - HT PRICES
   ========================================================================== */

/* 1. Contenedores Principales */
.ht-prices .accordion {
    width: 100%;
    margin: 0 var(--wp--preset--spacing--xs);
    border-bottom: 1px solid var(--wp--preset--color--contrast);
}

.ht-prices .swiper .accordion {
    margin: var(--wp--preset--spacing--xs) 0 0 0;
}

/* 2. Estructura del Item */
.ht-prices .accordion__item {
    padding: 0;
}

.ht-prices .accordion__item-title {
    position: relative;
    padding: var(--wp--preset--spacing--xxs) 0;
    border-top: 1px solid var(--wp--preset--color--contrast);
    font-size: 20px !important;
}

.accordion__item-content {
    padding-bottom: var(--wp--preset--spacing--xxs);
}

/* 3. Detalles y Resumen (Interacción) */
.ht-prices details > summary {
    position: relative;
    list-style-type: none;
    cursor: pointer;
}

.ht-prices details summary::-webkit-details-marker {
    display: none;
}

/* Icono de estado (+ / -) */
.ht-prices details > summary .accordion__item-title::after {
    content: '+';
    position: absolute;
    top: 8px;
    right: 4px;
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.ht-prices details[open] > summary .accordion__item-title::after {
    content: '-';
    top: 7px;
}

/* 4. Listas de Inclusión / Exclusión */
.ht-prices .accordion__list {
    padding: 0;
    list-style: none;
}

.ht-prices .accordion__list li {
    padding-left: 24px;
}

/* Iconos de las listas */
.ht-prices .accordion__list--include li {
    background: url('./assets/images/icon-include.svg') no-repeat left 4px top 4px;
}

.ht-prices .accordion__list--exclude li {
    background: url('./assets/images/icon-exclude.svg') no-repeat left 0 top -1px;
}


/* ==========================================================================
   TABS - HT PRICES (mobile)
   ========================================================================== */

.ht-prices__tabs {
	margin-bottom: var(--wp--preset--spacing--s);
	text-align: center;
}

.ht-prices__tabs-nav {
	display: inline-flex;
	overflow: hidden;
	background-color: #fff;
	padding: 6px;
	border: 1px solid var(--wp--preset--color--green-dark-30);
	border-radius: var(--ht-radius--l);
}

.ht-prices__tab {
	background-color: transparent;
	border: none;
	padding: 11px 22px;
	cursor: pointer;
	font-family: var(--primary-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--green-dark);
	text-align: center;
	border-radius: var(--ht-radius--l);
	transition: all 0.1s ease-in-out;
}

.ht-prices__tab.is-active {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--green-dark);
}

/* Mobile: show only the active column */
.ht-prices--has-tabs .ht-prices__column {
	display: none;
}

.ht-prices--has-tabs .ht-prices__column.is-active {
	display: grid;
}

@media (min-width: 1100px) {
	.ht-prices__tabs {
		display: none;
	}

	/* Desktop: restore all columns as grid */
	.ht-prices--has-tabs .ht-prices__column {
		display: grid;
	}

	.ht-prices__columns {
		grid-template-columns: repeat( auto-fit, minmax( 250px, 1fr ) );
	}

	.ht-prices .switch-field {
		margin: 0;
	}

	.ht-prices__switch-billing,
	.ht-prices__switch-fee {
		display: grid;
		grid-template-columns: fit-content(100%) auto;
		align-items: center;
		padding-top: 0;
	}

	.ht-prices__switch-title {
		margin-bottom: 0;
	}

	.ht-prices .switch-field label {
		font-size: 18px;
	}

	.ht-prices__description {
		text-align: left;
		margin-left: var(--wp--preset--spacing--m);
	}
}
