/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMOUSE STUDIO — ADD TO CART PICKER (shared / single source of truth)
   Styles the tier dropdown + orange "Add to Cart" button on every product page.
   The behaviour lives in addToCart.js (see that file for how a page sets it up).

   Class map:
     .smouse-vs            the whole picker (gets .is-open while the menu is open)
     .smouse-vs__button    the closed "Sky Plus Full - v1.0 ▾" button
     .smouse-vs__menu      the dropdown panel
     .smouse-vs__option    one tier row in the menu (gets .is-selected)
     .smouse-vs__cart      the orange Add to Cart button
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.smouse-vs,
.smouse-vs *,
.smouse-vs *::before,
.smouse-vs *::after { box-sizing: border-box; }

.smouse-vs {
	position: relative;
	width: 100%;
	max-width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* ── Closed button (shows the selected tier) ─────────────────────────────── */

.smouse-vs__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	max-width: 100%;
	padding: 10px 32px;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	border-radius: 10px;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.smouse-vs__button:hover { background: rgba(255, 255, 255, 0.05); }

.smouse-vs__label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.smouse-vs__chevron {
	width: 14px; height: 14px;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}
.smouse-vs.is-open .smouse-vs__chevron { transform: rotate(180deg); }


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

.smouse-vs__menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	padding: 8px;
	background: #0e0e10;
	border: 1.5px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 50;
}
.smouse-vs.is-open .smouse-vs__menu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}


/* ── One tier row: [radio] [title + description] [price] ─────────────────── */

.smouse-vs__option {
	display: grid;
	grid-template-columns: auto 1fr auto;
	column-gap: 14px;
	align-items: start;
	width: 100%;
	padding: 16px 18px;
	background: transparent;
	border: none;
	border-radius: 15px;
	color: #fff;
	text-align: left;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	transition: background 0.15s ease;
}
.smouse-vs__option + .smouse-vs__option { margin-top: 2px; }
.smouse-vs__option:hover { background: rgba(255, 255, 255, 0.05); }
.smouse-vs__option.is-selected { background: rgba(255, 106, 42, 0.10); }

.smouse-vs__radio {
	width: 18px; height: 18px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	position: relative;
	margin-top: 2px;
	flex-shrink: 0;
	transition: border-color 0.15s ease;
}
.smouse-vs__option.is-selected .smouse-vs__radio { border-color: #ff6a2a; }
.smouse-vs__option.is-selected .smouse-vs__radio::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #ff6a2a;
}

.smouse-vs__text { display: flex; flex-direction: column; min-width: 0; }
.smouse-vs__title {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}
.smouse-vs__desc {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.45;
}
.smouse-vs__price {
	font-size: 15px;
	font-weight: 600;
	color: #ff6a2a;
	margin-top: 1px;
	white-space: nowrap;
}


/* ── Add to Cart button ──────────────────────────────────────────────────── */

.smouse-vs__cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 14px;
	padding: 14px 32px;
	background: #ff5a28;
	border: none;
	border-radius: 10px;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	transition: background 0.2s ease, transform 0.1s ease;
}
.smouse-vs__cart:hover { background: #ff6a3a; }
.smouse-vs__cart:active { transform: scale(0.99); }
