/* =========================================================
   Theme4 Account Dropdown V2
   Desktop only — mobile account UI is intentionally untouched.
   ========================================================= */

@media (min-width: 768px) {
	.t4-account-menu {
		position: relative;
		display: inline-flex;
		align-items: center;
	}

	.t4-account-menu__trigger {
		position: relative;
		border: 0;
		cursor: pointer;
	}

	.t4-account-menu__trigger::after {
		display: none !important;
	}

	.t4-account-menu__dropdown {
		--bs-dropdown-min-width: 270px;
		min-width: 270px;
		width: 270px;
		max-width: calc(100vw - 32px);
		margin-top: 10px !important;
		padding: 10px;
		border: 1px solid #e7e9ed;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 16px 45px rgba(22, 28, 45, .14);
		color: #252525;
		overflow: visible;
		z-index: 1085;
	}

	.t4-account-menu__dropdown::before {
		content: "";
		position: absolute;
		top: -6px;
		right: 15px;
		width: 11px;
		height: 11px;
		background: #fff;
		border-left: 1px solid #e7e9ed;
		border-top: 1px solid #e7e9ed;
		transform: rotate(45deg);
	}

	.t4-account-menu__profile {
		position: relative;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px;
		margin-bottom: 7px;
		border-radius: 9px;
		background: #f6f7f8;
	}

	.t4-account-menu__profile-icon {
		flex: 0 0 36px;
		width: 36px;
		height: 36px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: #fff;
		border: 1px solid #e6e9ee;
		color: #252525;
	}

	.t4-account-menu__profile-copy {
		min-width: 0;
		flex: 1 1 auto;
	}

	.t4-account-menu__profile-name {
		color: #252525;
		font-size: 13px;
		font-weight: 500;
		line-height: 1.3;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.t4-account-menu__profile-sub {
		margin-top: 2px;
		color: #7b8490;
		font-size: 11px;
		font-weight: 400;
		line-height: 1.3;
	}

	.t4-account-menu__links {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.t4-account-menu__item {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		min-height: 40px;
		padding: 9px 10px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #252525 !important;
		font-family: inherit;
		font-size: 13px !important;
		font-weight: 400 !important;
		line-height: 1.25;
		text-align: left;
		text-decoration: none !important;
		cursor: pointer;
		transition: background-color .15s ease, color .15s ease, transform .15s ease;
	}

	.t4-account-menu__item:hover,
	.t4-account-menu__item:focus {
		background: #f3f5f7;
		color: #252525 !important;
		outline: 0;
		transform: translateX(1px);
	}

	.t4-account-menu__item-icon {
		flex: 0 0 27px;
		width: 27px;
		height: 27px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 7px;
		background: #f5f6f8;
		color: #252525;
	}

	.t4-account-menu__item-icon svg {
		width: 15px;
		height: 15px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.65;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.t4-account-menu__divider {
		height: 1px;
		margin: 7px 4px;
		background: #edf0f3;
	}

	.t4-account-menu__logout {
		font-weight: 500 !important;
		color: #d71920 !important;
	}

	.t4-account-menu__logout:hover,
	.t4-account-menu__logout:focus {
		background: #fff3f3;
		color: #d71920 !important;
	}

	.t4-account-menu__logout .t4-account-menu__item-icon {
		background: #fff1f1;
		color: #d71920;
	}

	.t4-account-menu__guest {
		padding: 8px 8px 11px;
		text-align: center;
	}

	.t4-account-menu__guest-title {
		color: #252525;
		font-size: 13px;
		font-weight: 500;
		line-height: 1.35;
	}

	.t4-account-menu__guest-text {
		margin-top: 4px;
		color: #7b8490;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.45;
	}

	.t4-account-menu__guest-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 40px;
		padding: 9px 12px;
		margin-top: 7px;
		border-radius: 8px;
		font-family: inherit;
		font-size: 13px !important;
		font-weight: 500 !important;
		line-height: 1.2;
		text-align: center;
		text-decoration: none !important;
		transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	}

	.t4-account-menu__guest-btn--primary {
		border: 1px solid #ed001f;
		background: #ed001f;
		color: #fff !important;
	}

	.t4-account-menu__guest-btn--primary:hover,
	.t4-account-menu__guest-btn--primary:focus {
		background: #cf001b;
		border-color: #cf001b;
		color: #fff !important;
	}

	.t4-account-menu__guest-btn--secondary {
		border: 1px solid #dfe3e8;
		background: #fff;
		color: #252525 !important;
	}

	.t4-account-menu__guest-btn--secondary:hover,
	.t4-account-menu__guest-btn--secondary:focus {
		background: #f5f6f8;
		border-color: #d6dbe1;
		color: #252525 !important;
	}
}
