/* cymm-plugin.css — WebM YMM Search Bar v1.6.0
 * All plugin styles consolidated from inline <style> blocks.
 * Loaded via wp_enqueue_style('cymm-plugin').
 * ------------------------------------------------------------------ */

/* ══════════════════════════════════════════════════════════════════════
   ── Toast notification  (cymmToast)
   ══════════════════════════════════════════════════════════════════════ */

.cymm-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #1a2535;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 6px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	white-space: nowrap;
	pointer-events: none;
}
.cymm-toast--show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.cymm-toast--error  { border-left: 4px solid #f32e2d; }
.cymm-toast--success { border-left: 4px solid #00dcff; }

/* ══════════════════════════════════════════════════════════════════════
   ── YMM Search Bar  [custom_ymm_bar]
   ══════════════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────────── */
/* Target by class so both the first bar (#cymm-bar) and any
   additional instances (#cymm-bar-2, etc.) receive styles. */
.cymm-bar {
	display: flex;
	align-items: stretch;
	overflow: hidden;          /* Clip children to the rounded corners. */
	width: 100%;
	font-family: inherit;
	gap: 15px;
}

/* ── Individual field groups (label + select) ─────────────────── */
.cymm-field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;             /* Allow flex shrink below content size. */
	position: relative;
	background: #fff;
}


/* ── Labels ──────────────────────────────────────────────────── */
.cymm-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9e9e9e;
	margin-bottom: 3px;
	line-height: 1;
	pointer-events: none;
}

/* ── Native <select> elements ─────────────────────────────────── */
.cymm-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	outline: none;
	width: 100%;
	font-size: 15px;
	font-weight: 600;        /* Specification requirement. */
	color: #212121;
	cursor: pointer;
	padding: 10px 20px;     /* Room for custom chevron. */
	line-height: 1.3;

	/* Remove default focus ring — we add our own via wrapper. */
	box-shadow: none;
}

.cymm-select:disabled {
	color: #bdbdbd;
	cursor: not-allowed;
}

/* Custom chevron arrow via SVG background */
.cymm-field::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* Hide the pseudo-element for the button wrapper */
.cymm-btn-wrap::after {
	display: none;
}

/* ── SEARCH Button ────────────────────────────────────────────── */
.cymm-btn-wrap {
	display: flex;
	align-items: center;
	padding: 0;
	flex: 0 0 auto;
}

.cymm-search-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f32e2d;      /* Bold red per specification. */
	color: #ffffff;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0 28px;
	height: 100%;
	min-height: 62px;
	transition: background 0.18s ease, transform 0.12s ease;
	white-space: nowrap;
	font-family: 'Rajdhani';
}

.cymm-search-btn:hover {
	background: #b71c1c;
}

.cymm-search-btn:active {
	transform: scale(0.97);
}

/* Chevron icon inside the button */
.cymm-search-btn .cymm-chevron {
	display: inline-flex;
	align-items: center;
}

.cymm-search-btn .cymm-chevron svg {
	width: 18px;
	height: 18px;
	stroke: #ffffff;
	stroke-width: 2.5;
	fill: none;
}

/* ── Disabled Model option styling ────────────────────────────── */
.cymm-select option[data-hidden="true"] {
	display: none;            /* Browsers that support this (Chrome/Edge). */
}

/* ── Responsive: stack below 600 px ──────────────────────────── */
@media (max-width: 640px) {
	#cymm-bar {
		flex-direction: column;
	}

	.cymm-field + .cymm-field {
		border-left: none;
	}

	.cymm-btn-wrap {
		border-left: none;
	}

	.cymm-search-btn {
		width: 100%;
		justify-content: center;
		min-height: 52px;
	}
}

/* ── Populated field state (carried over from search redirect) ── */
/*
 * When the user arrives on the shop page from the homepage search,
 * fields that have been pre-filled get a subtle blue-tinted label
 * and a thin bottom accent line so it's immediately obvious the
 * bar reflects their search — not default empty state.
 */
.cymm-field.cymm-has-value {
	background: #f0f7ff;
}

.cymm-field.cymm-has-value .cymm-label {
	color: #1565c0;
}

.cymm-field.cymm-has-value .cymm-select {
	color: #0d47a1;
}

/* Coloured accent on the bottom edge of each populated field */
.cymm-field.cymm-has-value::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #d32f2f;
	border-radius: 0 0 0 0;
}

/* Round the bottom-left corner only on the first populated field */
.cymm-bar .cymm-field:first-child.cymm-has-value::before {
	border-radius: 0 0 0 12px;
}

/* ── Save My Bike bar ────────────────────────────────────────── */
.cymm-save-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
	justify-content: flex-end;
}

.cymm-save-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 16px;
	font-family: inherit;
	color: #e7e7e7;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s ease;
	letter-spacing: 0.04em;
}

.cymm-save-btn:hover {
	color: #203a71;
}

.cymm-save-btn.cymm-saved {
	color: #203a71;
	cursor: default;
}

.cymm-save-btn .cymm-save-icon {
	font-style: normal;
	font-size: 17px;
}

.cymm-my-bike-link {
	font-size: 16px;
    color: #f32e2d;
	text-decoration: none;
	letter-spacing: 0.04em;
}

.cymm-my-bike-link:hover {
	text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════════════
   ── My Garage page  [woocommerce_account_my-bike_endpoint]
   ══════════════════════════════════════════════════════════════════════ */

/* ── My Garage page ──────────────────────────────────────────────── */
.cymm-mg-header { background: #1a2535; border-radius: 8px; padding: 28px 24px 24px; text-align: center; color: #fff; margin-bottom: 20px; }
.cymm-mg-header-top { display: inline-flex; align-items: flex-start; gap: 0; margin-bottom: 6px; }
.cymm-mg-header-top svg { width: 56px; height: 56px; fill: #fff; }
.cymm-mg-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; background: #f32e2d; color: #fff; border-radius: 50%; font-size: 12px; font-weight: 800; padding: 0 4px; margin-top: 2px; margin-left: -4px; line-height: 1; }
.cymm-mg-title { font-size: 26px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 4px; }
.cymm-mg-tagline { font-size: 13px; color: rgba(255,255,255,0.65); letter-spacing: 0.06em; margin: 0; }
/* ── Bike rows ───────────────────────────────────────────────────── */
.cymm-mg-list { list-style: none; margin: 0 0 16px; padding: 0; }
.cymm-mg-row-wrap { margin-bottom: 8px; }
.cymm-mg-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px 16px; }
.cymm-mg-drag { display: none; }
.cymm-mg-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden; text-transform: uppercase; }
.cymm-mg-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cymm-mg-name { font-size: 15px; font-weight: 700; color: #212121; flex: 1 1 0; min-width: 0; }
.cymm-mg-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.cymm-mg-btn { display: inline-flex; align-items: center; border: 1px solid #203a71; color: #203a71; background: none; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: all 0.15s; font-family: inherit; }
.cymm-mg-btn:hover { background: #203a71; color: #fff; }
.cymm-mg-btn-search { background: #f32e2d; border-color: #f32e2d; color: #fff; padding: 7px 12px; }
.cymm-mg-btn-search:hover { background: #b71c1c; border-color: #b71c1c; color: #fff; }
.cymm-mg-btn-search svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
/* ── Personalise panel ───────────────────────────────────────────── */
.cymm-mg-panel { display: none; border-top: 1px solid #f0f0f0; margin-top: 10px; padding: 14px 16px; background: #fafafa; border-radius: 0 0 8px 8px; }
.cymm-mg-panel.open { display: flex; gap: 20px; flex-wrap: wrap; }
.cymm-mg-ph-photo-wrap { width: 110px; height: 80px; border-radius: 6px; overflow: hidden; background: #f0f0f0; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: #9e9e9e; font-size: 11px; flex-shrink: 0; }
.cymm-mg-ph-photo-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.cymm-mg-ph-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; opacity: 0; transition: opacity 0.2s; }
.cymm-mg-ph-photo-wrap:hover .cymm-mg-ph-overlay { opacity: 1; }
.cymm-mg-ph-file { display: none; }
.cymm-mg-ph-fields { flex: 1 1 180px; }
.cymm-mg-ph-label { font-size: 10px; font-weight: 700; color: #9e9e9e; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.cymm-mg-ph-input { width: 100%; border: 1px solid #e0e0e0; border-radius: 4px; padding: 7px 10px; font-size: 14px; outline: none; box-sizing: border-box; }
.cymm-mg-ph-input:focus { border-color: #1a2535; }
.cymm-mg-ph-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cymm-mg-ph-save { background: #f32e2d; color: #fff; border: none; border-radius: 4px; padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.15s; font-family: inherit; }
.cymm-mg-ph-save:hover { background: #b71c1c; }
.cymm-mg-ph-remove { background: #9e9e9e; color: #fff; border: none; border-radius: 4px; padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.15s; font-family: inherit; }
.cymm-mg-ph-remove:hover { background: #757575; }
/* ── Add Bike form ───────────────────────────────────────────────── */
.cymm-mg-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #1a2535; border-radius: 8px; padding: 16px; }
.cymm-mg-add select { flex: 1 1 130px; border: none; border-radius: 4px; padding: 10px 12px; font-size: 13px; background: #fff; outline: none; appearance: none; -webkit-appearance: none; color: #212121; }
.cymm-mg-add-btn { background: #f32e2d; border: none; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 17px 18px; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: background 0.15s; font-family: inherit; }
.cymm-mg-add-btn:hover:not(:disabled) { background: #b71c1c; }
.cymm-mg-add-btn:disabled { opacity: 0.45; cursor: default; }
/* ── Drag sortable ───────────────────────────────────────────────── */
.cymm-mg-row-wrap.ui-sortable-helper { box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 8px; opacity: 0.95; }
/* Saved products count badge */
.cymm-mg-sp-count { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; background:#f32e2d; color:#fff; border-radius:50%; font-size:10px; font-weight:800; padding:0 4px; margin-left:2px; }
/* Saved products panel */
.cymm-mg-products-panel { display:none; }
.cymm-mg-products-panel.open { display:block; padding:16px; background:#fafafa; border-top:1px solid #f0f0f0; border-radius:0 0 8px 8px; }
.cymm-mg-sp-empty { color:#9e9e9e; font-size:13px; margin:0; }
.cymm-mg-sp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:12px; }
.cymm-mg-sp-card { position:relative; border:1px solid #e0e0e0; border-radius:6px; overflow:hidden; background:#fff; }
.cymm-mg-sp-card img.cymm-mg-sp-img { width:100%; display:block; aspect-ratio:1; object-fit:cover; }
.cymm-mg-sp-info { padding:8px; }
.cymm-mg-sp-name { display:block; font-size:12px; font-weight:600; color:#212121; text-decoration:none; margin-bottom:3px; line-height:1.3; }
.cymm-mg-sp-name:hover { color:#f32e2d; }
.cymm-mg-sp-price { font-size:12px; font-weight:700; color:#f32e2d; }
.cymm-mg-sp-remove { position:absolute; top:5px; right:5px; width:22px; height:22px; background:rgba(0,0,0,0.55); color:#fff; border:none; border-radius:50%; font-size:14px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.15s; }
.cymm-mg-sp-remove:hover { background:#e74c3c; }
/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 700px) {
	.cymm-mg-actions { gap: 4px; }
	.cymm-mg-btn { font-size: 9px; padding: 5px 7px; }
	.cymm-mg-name { font-size: 13px; }
	.cymm-mg-add select { flex: 1 1 100%; }
	.cymm-mg-add-btn { width: 100%; }
}


/* ══════════════════════════════════════════════════════════════════════
   ── Garage Bar  [cymm_garage_bar]
   ══════════════════════════════════════════════════════════════════════ */

/* ── Outer bar ──────────────────────────────────────────────────── */
.cymm-gb {
	display: flex;
	align-items: stretch;
	background: #1a2535;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	min-height: 56px;
}

/* ── MY GARAGE label panel ──────────────────────────────────────── */
.cymm-gb-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1px;
	padding: 0 20px 0 16px;
	border-right: 1px solid rgba(255,255,255,0.1);
	flex-shrink: 0;
	min-width: 160px;
}
.cymm-gb-label-top {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.cymm-gb-label-top svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.cymm-gb-label-sub {
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	white-space: nowrap;
}

/* ── SEARCH MODE: inline dropdowns ──────────────────────────────── */
.cymm-gb-form {
	display: flex;
	align-items: stretch;
	flex: 1 1 0;
	min-width: 0;
}
.cymm-gb-select {
	flex: 1 1 0;
	min-width: 0;
	border: none;
	border-right: 1px solid rgba(255,255,255,0.08);
	background: rgba(255,255,255,0.07);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 0 14px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}
.cymm-gb-select option { background: #1a2535; color: #fff; }
.cymm-gb-select:disabled { color: rgba(255,255,255,0.3); cursor: default; }
.cymm-gb-search-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f32e2d;
	color: #fff;
	border: none;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0 24px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
	font-family: inherit;
	flex-shrink: 0;
}
.cymm-gb-search-btn:hover { background: #b71c1c; }

/* ── ACTIVE MODE: bike avatar + name + arrows ───────────────────── */
.cymm-gb-bike-selector {
	display: flex;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
	border: 1px solid rgba(255,255,255,0.15);
	margin: 8px 12px;
	border-radius: 4px;
	overflow: hidden;
}
.cymm-gb-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: rgba(255,255,255,0.6);
	font-size: 22px;
	width: 36px;
	flex-shrink: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	align-self: stretch;
	line-height: 1;
}
.cymm-gb-arrow:hover { background: rgba(255,255,255,0.08); color: #fff; }
.cymm-gb-arrow-disabled { opacity: 0.2; cursor: default; pointer-events: none; }
.cymm-gb-current-bike {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 0;
	min-width: 0;
	padding: 0 12px;
	text-decoration: none;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cymm-gb-av {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
	overflow: hidden;
	text-transform: uppercase;
}
.cymm-gb-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ── SELECT NEW BIKE button ─────────────────────────────────────── */
.cymm-gb-select-btn {
	display: flex;
	align-items: center;
	background: #f32e2d;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0 18px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s;
	flex-shrink: 0;
}
.cymm-gb-select-btn:hover { background: #b71c1c; color: #fff; }

/* ── Guest / empty states ───────────────────────────────────────── */
.cymm-gb-guest {
	display: flex;
	align-items: center;
	padding: 0 16px;
	color: rgba(255,255,255,0.5);
	font-size: 13px;
	flex: 1;
}
.cymm-gb-guest a { color: #00dcff; text-decoration: none; margin-left: 6px; }
.cymm-gb-guest a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.cymm-gb-label { min-width: auto; padding: 0 12px; }
	.cymm-gb-label-sub { display: none; }
	.cymm-gb-search-btn { padding: 0 14px; }
	.cymm-gb-select-btn { padding: 0 12px; font-size: 10px; }
}
@media (max-width: 500px) {
	.cymm-gb-label-top span { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════
   ── Add to Bike button  [cymm_add_to_bike] / product pages
   ══════════════════════════════════════════════════════════════════════ */

.cymm-atb-wrap { margin: 10px 0; }

/* Trigger */
.cymm-atb-trigger {
	display: inline-flex; align-items: center; gap: 8px;
	width: 100%; justify-content: center;
	border: 1px solid #203a71; background: none; color: #203a71; font-family: 'Rajdhani' !important;
	font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: uppercase;
	padding: 17px 20px; cursor: pointer;
	transition: all 0.15s; font-family: inherit;
}
.cymm-atb-trigger:hover { background: #203a71; color: #fff; }

/* Popup panel */
.cymm-atb-popup {
	position: absolute; /*top: calc(100% + 6px);*/ left: 0; right: 0;
	background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.13); z-index: 9999; overflow: hidden;
}

/* Bike row */
.cymm-atb-row {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-bottom: 1px solid #f5f5f5;
}

/* Avatar */
.cymm-atb-av {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 800; color: #fff;
	flex-shrink: 0; text-transform: uppercase; overflow: hidden;
}
.cymm-atb-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Bike name */
.cymm-atb-name { flex: 1 1 0; font-size: 13px; font-weight: 600; color: #212121; min-width: 0; }

/* ADD / REMOVE buttons */
.cymm-atb-row-btn {
	flex-shrink: 0; border: none; border-radius: 4px;
	font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 7px 16px; cursor: pointer; transition: opacity 0.15s; font-family: inherit;
}
.cymm-atb-row-btn:disabled { opacity: 0.5; cursor: default; }
.cymm-atb-add    { background: #203a71; color: #fff; }
.cymm-atb-add:hover { background: #f32e2d; }
.cymm-atb-remove { background: #e74c3c; color: #fff; }
.cymm-atb-remove:hover { background: #f32e2d; color: #fff; }

/* Close button */
.cymm-atb-close-btn {
	display: flex; align-items: center; justify-content: center;
	width: 100%; background: #1a2535; color: #fff; border: none;
	font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 11px; cursor: pointer; transition: background 0.15s; font-family: inherit;
}
.cymm-atb-close-btn:hover { background: #f32e2d; color: #fff; }


/* ══════════════════════════════════════════════════════════════════════
   ── Standalone shortcodes  [cymm_save_bike] / [cymm_my_garage]
   ══════════════════════════════════════════════════════════════════════ */

.cymm-sb-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 15px;
	font-family: inherit;
	color: #e7e7e7;
	letter-spacing: 0.04em;
	transition: color 0.15s;
}
.cymm-sb-btn:hover { color: #00dcff; }
.cymm-sb-btn.cymm-sb-saved { color: #00dcff; cursor: default; }
.cymm-sb-icon { font-style: normal; font-size: 13px; }

.cymm-mg-link {
	color: #f32e2d;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.cymm-mg-link:hover { text-decoration: underline; }
.cymm-mg-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f32e2d;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}
.cymm-mg-link-btn:hover { background: #b71c1c; color: #fff; }
.cymm-mg-link-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	background: #00dcff;
	color: #1a2535;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 800;
	padding: 0 4px;
}


/* ══════════════════════════════════════════════════════════════════════
   ── Login Modal  (wp_footer)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Overlay ─────────────────────────────────────────────────────── */
#cymm-login-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}
/* ── Modal box ───────────────────────────────────────────────────── */
#cymm-login-modal {
	background: #fff;
	border-radius: 12px;
	padding: 36px 32px 28px;
	width: 100%;
	max-width: 420px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.2);
	box-sizing: border-box;
}
/* ── Close button ────────────────────────────────────────────────── */
#cymm-login-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 20px;
	color: #9e9e9e;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}
#cymm-login-close:hover { color: #212121; }
/* ── Logo ────────────────────────────────────────────────────────── */
.cymm-lm-logo { text-align: center; margin-bottom: 16px; }
.cymm-lm-logo img { max-height: 60px; width: auto; }
/* ── Headings ────────────────────────────────────────────────────── */
.cymm-lm-title { font-size: 22px; font-weight: 800; color: #212121; margin: 0 0 6px; text-align: center; }
.cymm-lm-sub { font-size: 14px; color: #757575; text-align: center; margin: 0 0 20px; }
/* ── Form fields ─────────────────────────────────────────────────── */
/* ── Form fields ─────────────────────────────────────────────────── */
.cymm-lm-form { margin: 0; }
.cymm-lm-field { margin-bottom: 12px; }
.cymm-lm-input {
	width: 100% !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: border-color 0.15s !important;
	background: #fff !important;
	color: #212121 !important;
	box-shadow: none !important;
}
.cymm-lm-input:focus { border-color: #1a2535 !important; }
.cymm-lm-input::placeholder { color: #9e9e9e; }
/* ── Submit button (high specificity to override Avada/WC defaults) ── */
#cymm-login-modal .cymm-lm-submit,
#cymm-login-modal button[name="login"],
#cymm-login-modal button[name="reset_password"],
#cymm-login-modal button[name="register"] {
	width: 100% !important;
	background: #1a2535 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 13px 20px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background 0.15s !important;
	margin-top: 4px !important;
	font-family: inherit !important;
	display: block !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
}
#cymm-login-modal .cymm-lm-submit:hover,
#cymm-login-modal button[name="login"]:hover,
#cymm-login-modal button[name="reset_password"]:hover,
#cymm-login-modal button[name="register"]:hover { background: #f32e2d !important; }
/* ── Links ───────────────────────────────────────────────────────── */
.cymm-lm-links { font-size: 13px; color: #757575; text-align: center; margin: 10px 0 0; }
.cymm-lm-links a { color: #1a2535; text-decoration: underline; }
.cymm-lm-links a:hover { color: #f32e2d; }
/* ── Garage bar guest button ─────────────────────────────────────── */
.cymm-gb-guest-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	color: rgba(255,255,255,0.75);
	font-size: 13px;
	font-weight: 600;
	padding: 0 18px;
	align-self: stretch;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
	flex: 1 1 0;
	letter-spacing: 0.03em;
}
.cymm-gb-guest-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }
