/* Option A: no discs. Small centred 4:3 flag + line icons. Gold underline on hover.
   Do not fill with color. Do not crop the flag into a circle.
   Do not position:absolute; inset:0 on .trp-language-item (breaks the submenu). */

.txd-header__icons .wp-block-woocommerce-customer-account,
.txd-header__icons .wc-block-mini-cart,
.txd-header__icons .trp-language-switcher,
.txd-header__icons .trp-shortcode-switcher__wrapper {
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0.15rem 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid transparent !important;
	overflow: visible !important;
	box-shadow: none !important;
}

.txd-header__icons .trp-shortcode-switcher__wrapper {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.txd-header__icons .trp-shortcode-switcher,
.txd-header__icons .trp-language-switcher.trp-shortcode-switcher {
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.txd-header__icons .trp-language-item,
.txd-header__icons .trp-language-item__current {
	position: static !important;
	inset: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	gap: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.txd-header__icons .trp-flag-image,
.txd-header__icons .trp-language-switcher img {
	width: 1.35rem !important;
	height: 1rem !important;
	min-width: 0 !important;
	object-fit: contain !important;
	border-radius: 2px !important;
	display: block !important;
	margin: 0 auto !important;
	box-shadow: none !important;
}

.txd-header__icons .wp-block-woocommerce-customer-account a,
.txd-header__icons .wc-block-mini-cart__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.15rem 0 !important;
	border-radius: 0 !important;
	border-bottom: 1px solid transparent !important;
	background: transparent !important;
}

.txd-header__icons .wc-block-mini-cart {
	position: relative !important;
}

.txd-header__icons a:hover,
.txd-header__icons button:hover,
.txd-header__icons .wc-block-mini-cart__button:hover,
.txd-header__icons .trp-shortcode-switcher__wrapper:hover,
.txd-header__icons .trp-shortcode-switcher__wrapper:focus-within {
	color: var(--txd-garnet-deep) !important;
	background: transparent !important;
	border-bottom-color: var(--txd-gold) !important;
}

.txd-header__icons .trp-switcher-dropdown-list,
.txd-header__icons [id^="trp-shortcode-dropdown"] {
	display: flex !important;
	flex-direction: column !important;
}

.txd-header__icons .trp-switcher-dropdown-list[hidden],
.txd-header__icons [id^="trp-shortcode-dropdown"][hidden] {
	display: none !important;
}

.txd-header__icons .trp-switcher-dropdown-list .trp-language-item,
.txd-header__icons [id^="trp-shortcode-dropdown"] .trp-language-item {
	width: auto !important;
	height: auto !important;
	justify-content: flex-start !important;
	padding: 0.45rem 0.55rem !important;
	gap: 0.45rem !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
}

.txd-header__icons .trp-switcher-dropdown-list .trp-flag-image,
.txd-header__icons [id^="trp-shortcode-dropdown"] .trp-flag-image {
	width: 1.15rem !important;
	height: 0.85rem !important;
	object-fit: contain !important;
	border-radius: 2px !important;
	margin: 0 !important;
}

.txd-header__icons .trp-switcher-dropdown-list .trp-language-item:hover,
.txd-header__icons [id^="trp-shortcode-dropdown"] .trp-language-item:hover {
	background: rgba(197, 155, 39, 0.1) !important;
	border-bottom-color: transparent !important;
}
