/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMOUSE STUDIO — HEADER (shared / single source of truth)
   Styles for the parts of the top header that header.js adds:
     1. Products ▾ dropdown
     2. "Transfer from Superhive" button

   Load this as the LAST stylesheet in <head> (after the page's own CSS) -
   several rules here must win over Carrd's #buttons01 styling.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


/* ── 1. Products ▾ dropdown ──────────────────────────────────────────────── */

.smouse-has-dropdown { position: relative; }

/* The ▾ arrow after "Products" - flips when the menu is open. */
.smouse-caret {
	display: inline-block; margin-left: 7px; font-size: 0.62em;
	line-height: 1; transform: translateY(-1px);
	transition: transform 0.2s ease; opacity: 0.85;
}
.smouse-has-dropdown:hover .smouse-caret,
.smouse-has-dropdown:focus-within .smouse-caret,
.smouse-has-dropdown.smouse-open .smouse-caret {
	transform: translateY(-1px) rotate(180deg);
}

/* The menu panel (hidden until hover / focus / tap). */
.smouse-nav-dropdown {
	position: absolute; top: 100%; left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 190px; margin: 0; padding: 8px;
	list-style: none;
	background: #0e0e10;
	border: 1.5px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0,0,0,0.55);
	opacity: 0; pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 1000;
}
/* Invisible bridge so the menu doesn't close in the gap below the button. */
.smouse-nav-dropdown::before {
	content: ""; position: absolute; left: 0; right: 0;
	top: -12px; height: 12px;
}
.smouse-has-dropdown:hover .smouse-nav-dropdown,
.smouse-has-dropdown:focus-within .smouse-nav-dropdown,
.smouse-has-dropdown.smouse-open .smouse-nav-dropdown {
	opacity: 1; pointer-events: auto;
	transform: translateX(-50%) translateY(2px);
}

/* Menu items. */
.smouse-nav-dropdown li { margin: 0; padding: 0; }
.smouse-nav-dropdown a {
	display: block; padding: 9px 14px; border-radius: 9px;
	font-family: "DM Sans", sans-serif;
	color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500;
	text-decoration: none; white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}
.smouse-nav-dropdown a:hover {
	background: rgba(255,255,255,0.06); color: #fff;
}


/* ── 2. "Transfer from Superhive" button ─────────────────────────────────────
   Sits at the right end of the nav, set off by a subtle vertical divider. */

.smouse-transfer-cta {
	display: flex; align-items: center;
	margin-left: 16px; padding-left: 18px;
	border-left: 1.5px solid rgba(255, 255, 255, 0.13);
}

/* Gentle frosted-glass PILL, same rounded shape as the main-page buttons.
   The "#buttons01" ancestor + !important are required to beat Carrd's own
   nav-button styling (an #id selector) - without them it renders as a solid
   sharp-cornered box instead of this translucent pill. */
#buttons01 .smouse-transfer-cta > a {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	line-height: 1 !important; padding: 10px 20px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.01) !important;
	-webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.22) !important;
	color: rgba(255, 255, 255, 0.57) !important;
	font-family: "DM Sans", sans-serif !important; font-weight: 600 !important; font-size: 14px !important;
	text-decoration: none !important; white-space: nowrap; box-shadow: none !important;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
#buttons01 .smouse-transfer-cta > a:hover {
	background: rgba(255, 255, 255, 0.37) !important; border-color: rgba(255,255,255,0.45) !important;
	color: #fff !important; transform: translateY(-1px);
}

/* Narrow screens: a little less space around the divider. */
@media (max-width: 736px) {
	.smouse-transfer-cta { margin-left: 10px; padding-left: 12px; }
}
