/**
 * Adharo — override-uri de design (mednix-child)
 *
 * Acest fișier ESTE output-ul final — WordPress îl încarcă direct.
 * Nu există pas de compilare; editezi aici (local), apoi copiezi pe LIVE.
 *
 * Cuprins:
 *   1. Amelia — booking, popup, dropdown
 *   2. Elementor — servicii (slider + grid)
 *   3. Blog — comentarii ascunse
 *   4. Breadcrumb
 *   5. WooCommerce — global
 *   6. WooCommerce — Contul meu
 *   7. WooCommerce — Thank you / comandă
 *   8. Contul meu — dashboard cards
 *   9. Contact Form 7 + diverse
 */

/* =============================================================================
   1. Amelia — booking, popup eveniment, dropdown categorii
   ============================================================================= */

.am-fcis__gallery-hero {
	aspect-ratio: 16/9;
	object-fit: cover;
}

.am-cat__content,
.am-fcis__content {
	max-height: 100% !important;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper {
	margin: 20px auto !important;
}

/* Step-by-Step: scroll intern pe lista de servicii / pași */
.amelia-v2-booking #amelia-container .am-fs__main-content {
	overflow-y: auto !important;
	overscroll-behavior: contain !important;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y !important;
}

/* Step-by-Step: preț sub denumire serviciu (layout consistent) */
.amelia-v2-booking #amelia-container .am-fs__init-item__heading {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 4px !important;
}

.amelia-v2-booking #amelia-container .am-fs__init-item__name {
	width: 100% !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
}

.amelia-v2-booking #amelia-container .am-fs__init-item__cost {
	align-self: flex-start !important;
	flex: none !important;
	margin-left: 0 !important;
	justify-content: flex-start !important;
	order: unset !important;
}

/* Slide popup (Află mai multe): aliniere sus */
.amelia-v2-booking #amelia-container .am-slide-popup__block-inner.am-position-bottom {
	top: 0 !important;
}

/* Programare Amelia: mesaj login obligatoriu */
.adharo-amelia-login-gate {
	max-width: 560px;
	margin: 0 auto;
	padding: 32px 28px;
	text-align: center;
	background: var(--themeht-white-color, #fff);
	border-radius: var(--adharo-account-radius, 0.5rem);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
}

.adharo-amelia-login-gate__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: var(--adharo-account-radius, 0.5rem);
	background: rgba(23, 162, 184, 0.1);
	color: var(--themeht-primary-color, #17A2B8);
}

.adharo-amelia-login-gate__title {
	margin: 0 0 10px !important;
	font-size: 22px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
}

.adharo-amelia-login-gate__text {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: #4b5563;
}

.adharo-amelia-login-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.adharo-amelia-login-gate__btn {
	display: inline-block !important;
	padding: 10px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	text-decoration: none !important;
}

.adharo-amelia-login-gate__btn--primary {
	color: var(--themeht-white-color, #fff) !important;
	background-color: var(--themeht-primary-color, #17A2B8) !important;
	border: 1px solid var(--themeht-primary-color, #17A2B8) !important;
}

.adharo-amelia-login-gate__btn--primary:hover,
.adharo-amelia-login-gate__btn--primary:focus {
	color: var(--themeht-white-color, #fff) !important;
	opacity: 0.92;
}

.adharo-amelia-login-gate__btn--secondary {
	color: var(--themeht-primary-color, #17A2B8) !important;
	background: #fff !important;
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

.adharo-amelia-login-gate__btn--secondary:hover,
.adharo-amelia-login-gate__btn--secondary:focus {
	color: var(--themeht-primary-color, #17A2B8) !important;
	border-color: var(--themeht-primary-color, #17A2B8) !important;
}

@media (max-width: 767px) {
	.adharo-amelia-login-gate {
		padding: 24px 18px;
	}

	.adharo-amelia-login-gate__actions {
		flex-direction: column;
	}

	.adharo-amelia-login-gate__btn {
		width: 100%;
	}
}

.woocommerce-account .amelia-v2-booking #amelia-container.am-cap__wrapper {
	margin: 0 auto !important;
}

/* Popup eveniment (Citește mai mult): radius + scroll util */
.am-dialog-popup.am-dialog-el .el-dialog,
.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog,
.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog .el-dialog {
	border-radius: 0.5rem !important;
	overflow: hidden !important;
	max-width: min(760px, 94vw) !important;
	width: 100% !important;
	margin-top: 3vh !important;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18) !important;
}

.am-dialog-popup .el-dialog__body,
.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog__body {
	padding: 0 !important;
}

.am-dialog-popup .am-dialog-el__main-container,
.am-dialog-popup .am-dialog-el__main-container.am-eli,
.amelia-v2-booking .am-dialog-el__main-container,
.amelia-v2-booking .am-dialog-el__main-container.am-eli,
.amelia-v2-booking #amelia-container .am-dialog-el__main-container.am-eli {
	max-height: min(78vh, 820px) !important;
	height: auto !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y !important;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(15, 23, 42, 0.35) rgba(15, 23, 42, 0.08);
}

.am-dialog-popup .am-dialog-el__main-container::-webkit-scrollbar,
.amelia-v2-booking .am-dialog-el__main-container::-webkit-scrollbar {
	width: 10px !important;
}

.am-dialog-popup .am-dialog-el__main-container::-webkit-scrollbar-thumb,
.amelia-v2-booking .am-dialog-el__main-container::-webkit-scrollbar-thumb {
	border-radius: 0.5rem !important;
	background: rgba(15, 23, 42, 0.35) !important;
	border: 2px solid transparent;
	background-clip: padding-box;
}

.am-dialog-popup .am-dialog-el__main-container::-webkit-scrollbar-track,
.amelia-v2-booking .am-dialog-el__main-container::-webkit-scrollbar-track {
	border-radius: 0.5rem !important;
	background: rgba(15, 23, 42, 0.06) !important;
}

.am-dialog-popup .am-eli__image,
.am-dialog-popup .am-eli__header {
	max-height: 240px;
}

.am-dialog-popup .am-eli__image img,
.am-dialog-popup .am-eli__image .am-fcis__gallery-hero {
	max-height: 240px;
	object-fit: cover;
	width: 100%;
	border-radius: 0.5rem;
}

.am-dialog-popup .am-eli__footer,
.am-dialog-popup .am-elf__footer {
	border-radius: 0 0 0.5rem 0.5rem;
}

/* Blochează scroll pagină: popup dialog sau dropdown select deschis */
html.adharo-amelia-dialog-open,
html.adharo-amelia-select-open,
html.adharo-amelia-dialog-open body,
html.adharo-amelia-select-open body {
	overflow: hidden !important;
	overscroll-behavior: none !important;
}

html.adharo-amelia-dialog-open body,
html.adharo-amelia-select-open body {
	position: fixed !important;
	width: 100% !important;
	left: 0;
	right: 0;
}

html.adharo-amelia-dialog-open .am-dialog-popup .am-dialog-el__main-container,
html.adharo-amelia-dialog-open .am-dialog-popup .el-scrollbar__wrap {
	overscroll-behavior: contain !important;
	touch-action: pan-y !important;
}

/* Step-by-Step: scroll doar în lista dropdown, nu pe pagină */
.el-select__popper .el-select-dropdown__wrap,
.el-select__popper .el-scrollbar__wrap,
.el-select-dropdown .el-select-dropdown__wrap,
.el-select-dropdown .el-scrollbar__wrap {
	overscroll-behavior: contain !important;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y !important;
}

@media (max-width: 767px) {
	.am-dialog-popup.am-dialog-el .el-dialog,
	.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog {
		max-width: 96vw !important;
		margin-top: 2vh !important;
	}

	.am-dialog-popup .am-dialog-el__main-container.am-eli,
	.amelia-v2-booking .am-dialog-el__main-container.am-eli {
		max-height: 72vh !important;
	}

	.am-dialog-popup .am-eli__image,
	.am-dialog-popup .am-eli__header {
		max-height: 180px;
	}
}

/* =============================================================================
   2. Elementor — servicii (Ht Service slider + grid)
   ============================================================================= */

.testimonial .testimonial-img {
	min-width: 80px;
	min-height: 80px;
}

.service-swiper-slider .swiper-wrapper {
	align-items: stretch;
}

.service-swiper-slider .swiper-slide {
	display: flex;
	height: auto;
}

.service-swiper-slider .swiper-slide .service-item.style-2 {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.service-swiper-slider .service-item.style-2 .service-desc {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service-swiper-slider .service-item.style-2 .service-title h4 {
	line-height: 1.35;
	margin-bottom: 0;
	min-height: calc(2 * 1.35em);
}

.service-swiper-slider .service-item.style-2 .ht-divider {
	margin-top: auto;
}

.our-service-grid {
	align-items: stretch;
}

.our-service-grid > [class*="col-"] {
	display: flex;
}

.our-service-grid .service-item.style-4 {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.our-service-grid .service-item.style-4 .service-desc {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.our-service-grid .service-item.style-4 .service-title h4 {
	line-height: 1.35;
	margin-bottom: 0;
	min-height: calc(2 * 1.35em);
}

.our-service-grid .service-item.style-4 .link-btn {
	margin-top: auto;
}

.services-cards .service-image img {
	aspect-ratio: 16/10;
}

/* =============================================================================
   3. Blog — comentarii ascunse
   ============================================================================= */

.post-desc > ul.post-bottom > li.list-inline-item:nth-child(3),
.post-card.post-classic .post-desc > ul.post-bottom > li.list-inline-item:nth-child(3) {
	display: none;
}

.comments-link,
.post-comment,
#comments,
#respond,
.comment-respond,
.comment-form,
.wp-block-post-comments-form,
.elementor-post-info__item--type-comments {
	display: none;
}

/* =============================================================================
   4. Breadcrumb — drag scroll pe desktop
   ============================================================================= */

.page-breadcrumb {
	max-width: 100%;
	overflow: visible;
}

.page-breadcrumb .breadcrumb {
	display: flex;
	flex-wrap: nowrap;
	white-space: nowrap;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	user-select: none;
}

.page-breadcrumb .breadcrumb::-webkit-scrollbar {
	display: none;
}

.page-breadcrumb .breadcrumb.is-dragging {
	cursor: grabbing;
}

.page-breadcrumb .breadcrumb-item {
	word-break: normal;
	flex: 0 0 auto;
}

/* =============================================================================
   5. WooCommerce — global (produs, coș, butoane, disponibilitate)
   ============================================================================= */

.adharo-availability-notice {
	margin: 12px 0 18px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
}

.adharo-availability-active {
	background: rgba(26, 92, 46, 0.08);
	color: #1a5c2e;
}

.adharo-availability-expired {
	background: rgba(179, 45, 46, 0.08);
	color: #b32d2e;
}

.adharo-already-owned-notice {
	margin: 16px 0 22px;
	padding: 16px 18px;
	border-radius: 0.5rem;
	background: rgba(26, 92, 46, 0.08);
	color: #1a5c2e;
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
}

.adharo-already-owned-notice p {
	margin: 0 0 10px;
	line-height: 1.45;
}

.adharo-already-owned-notice p:last-child {
	margin-bottom: 0;
}

.adharo-already-owned-notice .adharo-already-owned-btn {
	display: inline-block;
	margin-top: 4px;
	padding: 10px 18px !important;
	border-radius: 0.5rem !important;
}

.shop-inner span.onsale {
	background: #FFA500;
}

.cart-background,
.account-background {
	backdrop-filter: brightness(120%) contrast(100%) saturate(102%) blur(10px) hue-rotate(0deg);
	border-radius: 5px;
}

.account-background .elementor-icon-wrapper {
	display: flex;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
	padding: 10px 20px !important;
}

.woocommerce ul.products li.product .onsale,
.woocommerce-page .wc-block-grid .wc-block-grid__product-onsale,
.woocommerce-page .wc-block-grid__product-image .wc-block-grid__product-onsale {
	border-color: transparent;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

/* Checkout / coș Blocks — buton „Aplică” cupon ca „Plasează comanda” */
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__button {
	background: var(--themeht-primary-color) !important;
	color: var(--themeht-white-color, #fff) !important;
	border: none !important;
	border-radius: 8px !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	line-height: 1.25 !important;
	padding: 12px 20px !important;
	min-height: 48px;
	box-shadow: none !important;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:focus,
.wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon__button:focus {
	background: var(--themeht-bg-dark-color, var(--themeht-primary-color)) !important;
	color: var(--themeht-white-color, #fff) !important;
	opacity: 0.95;
}

/* Produs simplu / variabil — „Adaugă în coș” la fel de înalt ca selectorul de cantitate */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.woocommerce div.product form.cart .quantity {
	margin: 0;
	float: none;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	min-height: 55px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 32px !important;
	border-radius: 8px !important;
	line-height: 1.25 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	box-sizing: border-box;
}

.woocommerce div.product form.cart .quantity .qty {
	height: 55px;
	min-height: 55px;
	box-sizing: border-box;
}

/* Coș (Blocks) — miniaturi produse (WooCommerce implicit ~80px) */
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image {
	width: 120px !important;
}

.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row {
	grid-template-columns: 120px 132px !important;
}

.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
	min-width: 120px;
	padding-right: 16px !important;
}

.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
	display: block;
	max-width: 120px;
}

.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
	width: 120px !important;
	max-width: 100%;
	height: auto !important;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
}

@media (max-width: 782px) {
	.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image {
		width: 96px !important;
	}

	.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 96px 1fr !important;
	}

	.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
	.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 96px !important;
	}
}

/* =============================================================================
   6. WooCommerce — Contul meu
   ============================================================================= */

body.woocommerce-account {
	--adharo-account-radius: 0.5rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > form,
body.woocommerce-account .woocommerce-MyAccount-content > form.woocommerce-EditAccountForm.edit-account,
body.woocommerce-account .woocommerce-MyAccount-content > form fieldset,
body.woocommerce-account .woocommerce-MyAccount-content > form .form-row input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content > form .form-row textarea,
body.woocommerce-account .woocommerce-MyAccount-content > form .form-row select,
body.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container .select2-selection--single,
body.woocommerce-account .woocommerce-MyAccount-content > form .button,
body.woocommerce-account .woocommerce-MyAccount-content > form button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table a.button,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .button,
body.woocommerce-account .adharo-dash-card,
body.woocommerce-account .adharo-dash-card__icon,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
	border-radius: var(--adharo-account-radius) !important;
}

/* Contul meu → Programări (Amelia) */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--programarile-mele a {
	text-transform: none;
}

body.woocommerce-account .adharo-account-programari {
	border-radius: 0 !important;
	overflow: visible !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	min-height: 320px;
}

/* Amelia — categorie serviciu sub titlu în lista de programări */
.adharo-account-programari .am-cc__name.adharo-amelia-appt-category-split {
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.35;
}

.adharo-account-programari .adharo-amelia-appt-service-name {
	display: block;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.4;
	color: inherit;
}

.adharo-account-programari .adharo-amelia-appt-category {
	display: block;
	margin-top: 2px;
	font-size: 0.875em;
	line-height: 1.35;
	color: rgba(31, 41, 55, 0.72);
	font-weight: 500;
}

/* Amelia — programări finalizate (link video ascuns) */
.adharo-account-programari .adharo-amelia-appt-completed {
	opacity: 0.92;
}

.adharo-account-programari .adharo-amelia-appt-completed .am-cc__heading {
	border-left: 3px solid #94a3b8;
	padding-left: 10px;
}

.adharo-account-programari .adharo-amelia-online-link-hidden {
	display: none !important;
}

.adharo-account-programari .adharo-amelia-status--completed {
	color: #64748b !important;
}

.adharo-account-programari .adharo-amelia-status--completed::before,
.adharo-account-programari .adharo-amelia-status--completed [class*="status-dot"],
.adharo-account-programari .adharo-amelia-status--completed .am-status-dot {
	background-color: #94a3b8 !important;
	border-color: #94a3b8 !important;
}

.adharo-account-programari .adharo-amelia-appt-completed .am-collapse-item__content {
	flex-direction: column !important;
	align-items: stretch !important;
	overflow: visible !important;
}

.adharo-account-programari .adharo-amelia-appt-completed .am-cc__content {
	width: 100%;
	padding-bottom: 0;
}

.adharo-account-programari .adharo-amelia-appt-completed .am-collapse-item__content > .adharo-amelia-completed-notice {
	margin: 0 16px 16px !important;
	padding: 12px !important;
}

.adharo-account-programari .adharo-amelia-completed-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
	background-color: var(--am-c-cc-text-op03, rgba(31, 41, 55, 0.03));
	border: none;
	color: var(--am-c-cc-text-op70, rgba(31, 41, 55, 0.72));
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4285;
	width: auto;
	box-sizing: border-box;
}

.adharo-account-programari .adharo-amelia-completed-notice__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--am-c-cc-text-op70, rgba(31, 41, 55, 0.72));
}

.adharo-account-programari .adharo-amelia-completed-notice__icon svg {
	width: 16px;
	height: 16px;
}

.adharo-account-programari .adharo-amelia-completed-notice__text {
	display: block;
}

body.woocommerce-account .select2-container--open .select2-dropdown {
	border-radius: var(--adharo-account-radius) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address h2,
body.woocommerce-account .woocommerce-EditAccountForm > h3,
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title,
body.woocommerce-account .woocommerce-order-downloads__title,
body.woocommerce-account .u-columns h2,
body.woocommerce-account .col-1 h2,
body.woocommerce-account .col-2 h2,
body.woocommerce-account .woocommerce form.login h2,
body.woocommerce-account .woocommerce form.register h2 {
	font-size: 22px !important;
	line-height: 1.3 !important;
	margin: 0 0 20px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	letter-spacing: normal !important;
}

body.woocommerce-account .adharo-account-programari h1,
body.woocommerce-account .adharo-account-programari h2,
body.woocommerce-account .adharo-account-programari h3,
body.woocommerce-account .adharo-account-programari h4,
body.woocommerce-account .amelia-v2-booking h1,
body.woocommerce-account .amelia-v2-booking h2,
body.woocommerce-account .amelia-v2-booking h3,
body.woocommerce-account .amelia-v2-booking h4 {
	font-size: revert !important;
	line-height: revert !important;
	margin: revert !important;
	font-weight: revert !important;
	color: revert !important;
	letter-spacing: revert !important;
}

.woocommerce-account .woocommerce-customer-details {
	margin-top: 28px;
}

.woocommerce-account .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.7;
	color: #374151;
	background: var(--themeht-white-color, #fff);
	border: none !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	padding: 22px 24px !important;
	margin: 0;
}

.woocommerce-account .woocommerce-customer-details address p {
	margin: 8px 0 0;
}

.woocommerce-account .woocommerce-customer-details--phone,
.woocommerce-account .woocommerce-customer-details--email {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Contul meu → Adrese: „Editează / Adaugă” ca butoane */
.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.woocommerce-account .woocommerce-Address-title h2 {
	margin-bottom: 0 !important;
}

.woocommerce-account .woocommerce-Address-title a.edit {
	display: inline-block;
	padding: 10px 20px !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	color: var(--themeht-white-color, #fff) !important;
	background-color: var(--themeht-primary-color, #17A2B8) !important;
	border: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.woocommerce-account .woocommerce-Address-title a.edit:hover,
.woocommerce-account .woocommerce-Address-title a.edit:focus {
	color: var(--themeht-white-color, #fff) !important;
	text-decoration: none !important;
	opacity: 0.92;
	transform: translateY(-1px);
}

/* Formulare */
.woocommerce-account .woocommerce-MyAccount-content > form {
	background: var(--themeht-white-color, #fff);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	border-radius: var(--adharo-account-radius, 0.5rem);
	padding: 28px 28px 24px;
	border: none;
}

.woocommerce-account .woocommerce-MyAccount-content > form.woocommerce-EditAccountForm.edit-account {
	padding: 28px 28px 24px;
	border-radius: var(--adharo-account-radius, 0.5rem);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row {
	margin: 0 0 18px;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #4b5563;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .required {
	color: #b32d2e;
	text-decoration: none;
	border: none;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .optional {
	font-weight: 400;
	color: #9ca3af;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row input.input-text,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row textarea,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row select,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	height: auto;
	padding: 12px 14px !important;
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	background: #fff !important;
	color: #1f2937 !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row textarea {
	min-height: 110px;
	resize: vertical;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row input.input-text:hover,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row textarea:hover,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row select:hover,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container .select2-selection--single:hover {
	border-color: rgba(15, 23, 42, 0.22) !important;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row textarea:focus,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row select:focus,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container--open .select2-selection--single,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container--focus .select2-selection--single {
	border-color: var(--themeht-primary-color, #17A2B8) !important;
	box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.15) !important;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container {
	width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #1f2937 !important;
	line-height: 1.4 !important;
	padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
	right: 10px;
}

.woocommerce-account .woocommerce-MyAccount-content > form .form-row .woocommerce-input-wrapper {
	display: block;
}

.woocommerce-account .woocommerce-MyAccount-content > form fieldset {
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--adharo-account-radius, 0.5rem);
	padding: 20px 20px 8px;
	margin: 8px 0 22px;
	background: #fafbfc;
}

.woocommerce-account .woocommerce-MyAccount-content > form fieldset legend {
	font-size: 14px;
	font-weight: 600;
	color: #4b5563;
	padding: 0 8px;
	float: none;
	width: auto;
	margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > form .button,
.woocommerce-account .woocommerce-MyAccount-content > form button[type="submit"] {
	margin-top: 6px;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	padding: 12px 22px !important;
	font-weight: 600 !important;
}

.select2-container--open .select2-dropdown {
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	overflow: hidden;
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.08);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: var(--themeht-primary-color, #17A2B8) !important;
}

@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content > form {
		padding: 20px 16px 18px;
		border-radius: var(--adharo-account-radius, 0.5rem);
	}
}

/* Tabele Contul meu */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border: none !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--adharo-account-radius, 0.5rem);
	overflow: hidden;
	background: var(--themeht-white-color, #fff);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	margin: 0 0 1.5em;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
	border: none !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
	background: transparent !important;
	color: #1f2937 !important;
	padding: 14px 16px !important;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	vertical-align: middle;
	text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
	background: #f5f7f8 !important;
	color: #4b5563 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	padding: 9px 12px !important;
	text-transform: none;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th::first-letter,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th .nobr::first-letter,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td::first-letter,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th::first-letter {
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child td {
	border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:hover th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:hover td {
	background: rgba(23, 162, 184, 0.04) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th a,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td a:not(.button) {
	color: var(--themeht-primary-color, #17A2B8) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th a:hover,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td a:not(.button):hover {
	text-decoration: underline !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table a.button,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table .button {
	padding: 8px 16px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	border-radius: var(--adharo-account-radius, 0.5rem) !important;
	min-height: 0 !important;
	white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th {
	font-weight: 600 !important;
	color: #4b5563 !important;
	background: #fafbfc !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
	font-weight: 600 !important;
	background: #fafbfc !important;
}

@media (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table.shop_table_responsive tr {
		border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table.shop_table_responsive tr td {
		padding: 12px 16px !important;
		text-align: right !important;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table.shop_table_responsive tr td::before {
		color: #6b7280;
		font-weight: 600;
		text-transform: none;
	}
}

/* =============================================================================
   7. WooCommerce — Thank you / comandă finalizată
   ============================================================================= */

.woocommerce-order-received {
	--adharo-account-radius: 0.5rem;
}

.woocommerce-order-received .woocommerce-order > h2,
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .woocommerce-order h2 {
	font-size: 22px !important;
	line-height: 1.3 !important;
	margin: 28px 0 16px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
}

.woocommerce-order-received .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px 18px;
	list-style: none;
	margin: 0 0 28px;
	padding: 20px 22px;
	background: #fff;
	border-radius: var(--adharo-account-radius);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
}

.woocommerce-order-received .woocommerce-order-overview li {
	margin: 0;
	padding: 0 !important;
	border: none !important;
	font-size: 13px;
	color: #6b7280;
	text-transform: none;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: #1f2937;
	font-weight: 600;
}

.woocommerce-order-received .woocommerce-order table.shop_table,
.woocommerce-order-received .woocommerce-table--order-downloads {
	width: 100%;
	border: none !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--adharo-account-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	margin: 0 0 1.5em;
}

.woocommerce-order-received .woocommerce-order table.shop_table thead th,
.woocommerce-order-received .woocommerce-order table.shop_table tbody th,
.woocommerce-order-received .woocommerce-order table.shop_table tbody td,
.woocommerce-order-received .woocommerce-order table.shop_table tfoot th,
.woocommerce-order-received .woocommerce-order table.shop_table tfoot td,
.woocommerce-order-received .woocommerce-table--order-downloads thead th,
.woocommerce-order-received .woocommerce-table--order-downloads tbody th,
.woocommerce-order-received .woocommerce-table--order-downloads tbody td {
	border: none !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
	background: transparent !important;
	color: #1f2937 !important;
	padding: 14px 16px !important;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	vertical-align: middle;
	text-align: left;
}

.woocommerce-order-received .woocommerce-order table.shop_table thead th,
.woocommerce-order-received .woocommerce-table--order-downloads thead th {
	background: #f5f7f8 !important;
	color: #4b5563 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	padding: 9px 12px !important;
	text-transform: none;
}

.woocommerce-order-received .woocommerce-order table.shop_table thead th::first-letter,
.woocommerce-order-received .woocommerce-table--order-downloads thead th::first-letter {
	text-transform: uppercase;
}

.woocommerce-order-received .woocommerce-order table.shop_table tbody tr:last-child th,
.woocommerce-order-received .woocommerce-order table.shop_table tbody tr:last-child td,
.woocommerce-order-received .woocommerce-order table.shop_table tfoot tr:last-child th,
.woocommerce-order-received .woocommerce-order table.shop_table tfoot tr:last-child td,
.woocommerce-order-received .woocommerce-table--order-downloads tbody tr:last-child td {
	border-bottom: none !important;
}

.woocommerce-order-received .woocommerce-order table.shop_table tfoot th,
.woocommerce-order-received .woocommerce-order table.shop_table tfoot td {
	font-weight: 600 !important;
	background: #fafbfc !important;
	color: #4b5563 !important;
}

.woocommerce-order-received .woocommerce-order table.shop_table a.button,
.woocommerce-order-received .woocommerce-table--order-downloads a.button,
.woocommerce-order-received .woocommerce-MyAccount-downloads-file {
	padding: 8px 16px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	border-radius: var(--adharo-account-radius) !important;
	min-height: 0 !important;
}

.woocommerce-order-received .woocommerce-customer-details address,
.woocommerce-order-received .woocommerce-column--billing-address address,
.woocommerce-order-received .woocommerce-column--shipping-address address {
	border: none !important;
	border-radius: var(--adharo-account-radius) !important;
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	padding: 20px 22px !important;
	background: #fff;
	font-style: normal;
	line-height: 1.6;
	color: #374151;
}

@media (max-width: 768px) {
	.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: 1fr 1fr;
		padding: 16px;
	}
}

/* =============================================================================
   8. Contul meu — dashboard cards
   ============================================================================= */

.adharo-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.adharo-dash-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 20px;
	border-radius: var(--adharo-account-radius, 0.5rem);
	background: var(--themeht-white-color, #fff);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.06);
	border: none;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 100%;
}

.adharo-dash-card:hover,
.adharo-dash-card:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px 5px rgba(115, 113, 255, 0.1);
	color: inherit;
}

.adharo-dash-card__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: var(--adharo-account-radius, 0.5rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(23, 162, 184, 0.1);
	color: var(--themeht-primary-color, #17A2B8);
}

.adharo-dash-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.adharo-dash-card__title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
	line-height: 1.3;
}

.adharo-dash-card__value {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #1f2937;
}

.adharo-dash-card__meta {
	font-size: 14px;
	line-height: 1.45;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.adharo-dash-card__cta {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--themeht-primary-color, #17A2B8);
}

.adharo-dash-card:hover .adharo-dash-card__cta {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.adharo-dashboard-cards {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 22px;
	}

	.adharo-dash-card {
		padding: 18px 16px;
	}
}

/* =============================================================================
   9. Contact Form 7 + diverse
   ============================================================================= */

.wpcf7-not-valid-tip {
	position: relative;
	right: auto;
	bottom: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border: none;
}

/* Elementor: secțiune/container neclicabil (Advanced → CSS Classes) */
.adharo-unclickable {
	pointer-events: none !important;
	user-select: none;
	cursor: default !important;
}

.adharo-unclickable a,
.adharo-unclickable button,
.adharo-unclickable input,
.adharo-unclickable select,
.adharo-unclickable textarea,
.adharo-unclickable [role="button"],
.adharo-unclickable [tabindex] {
	pointer-events: none !important;
	cursor: default !important;
}


@media (max-width: 480px) {
	.cky-btn-revisit-wrapper {
			width: 44px !important;
			height: 44px !important;
	}
}