/* ==========================================================================
   #header-account-area — dedicated account slot in the header.
   Lives OUTSIDE the nav menu. Stable across all pages/templates.
   ========================================================================== */

/* The <li> behaves exactly like every other .main-menu > li.
   No special width, no absolute tricks — just a normal menu item. */
li.gotl-account-li {
	position: relative;
}

/* #header-account-area acts like the <a> inside other menu <li>s —
   same padding so everything lines up. */
#header-account-area {
	display: block;
	padding: 28px 8px;
	line-height: 1;
	position: relative;
}

#header-account-area.is-hidden {
	visibility: hidden;
	pointer-events: none;
}

/* ── Avatar (trigger) ────────────────────────────────────────────────────── */

.gotl-account-trigger {
	cursor: pointer;
	line-height: 0;
}

.gotl-account-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: rgba(255,255,255,0.2);
	border: 2px solid rgba(255,255,255,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	user-select: none;
}

.gotl-account-avatar--has-pic {
	font-size: 0;
}

/* ── Dropdown ────────────────────────────────────────────────────────────── */

.gotl-account-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 180px;
	background: #222;
	padding: 15px;
	z-index: 1000;
	white-space: nowrap;
}

.gotl-account-dropdown.gotl-account-dropdown--open {
	display: block;
}

.gotl-account-name {
	display: block;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 0 0 10px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	margin-bottom: 10px;
}

.gotl-account-logout {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: .2em 0;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	transition: color 0.15s;
	font-family: inherit;
}

.gotl-account-logout:hover {
	color: #8ad9dd;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */

@media only screen and (max-width: 800px) {
	#header-account-area {
		padding: 15px 8px;
	}
}

/* ==========================================================================
   Shortlist button
   ========================================================================== */

.gotl-shortlist-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	margin-left: 10px;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
	background: #ffffff;
	color: #333;
	font-size: 18px;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
	vertical-align: middle;
}

/* .gotl-shortlist-button::before {
	content: "♡";
	font-size: 14px;
	color: #999;
} */

.gotl-shortlist-button:hover {
	border-color: #999;
	background: #f8f8f8;
}

.gotl-shortlist-button.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.gotl-shortlist-button .gotl-shortlist-label-saved {
	display: none;
}

.gotl-shortlist-button.is-shortlisted .gotl-shortlist-label-add {
	display: none;
}

.gotl-shortlist-button.is-shortlisted .gotl-shortlist-label-saved {
	display: none;
}

.gotl-shortlist-button.is-shortlisted {
	border-color: #0073aa;
	color: #0073aa;
	background: #f0f7fc;
}

/* .gotl-shortlist-button.is-shortlisted::before {
	content: "♥";
	color: #e0245e;
} */

/* ==========================================================================
   Shortlist grid  ([gotl_shortlist_yachts])
   ========================================================================== */

.gotl-shortlist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.gotl-shortlist-card {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.gotl-shortlist-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gotl-shortlist-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.gotl-shortlist-card-body {
	padding: 12px;
}

.gotl-shortlist-card-title {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	margin-bottom: 4px;
}

.gotl-shortlist-card-type {
	display: block;
	font-size: 12px;
	color: #888;
	margin-bottom: 10px;
}

.gotl-shortlist-card .gotl-shortlist-button {
	width: 100%;
	justify-content: center;
}

/* ==========================================================================
   Notices
   ========================================================================== */

.gotl-shortlist-notice,
.gotl-shortlist-empty {
	color: #666;
	font-size: 14px;
}
