/**
 * Trail Ride Virtual Locker - front-end styles.
 *
 * Everything is scoped under the .trvl wrapper so these rules can never
 * leak into the Trail Ride theme or WooCommerce.
 *
 * Palette:
 *   Charcoal / black : #14100d, #1d1712, #241b14
 *   Walnut / cedar   : #6f4a2f, #8a5a36
 *   Antique gold     : #c9a227
 *   Parchment text   : #ece2d0, muted #b8a88e
 */

.trvl {
	--trvl-bg: #14100d;
	--trvl-panel: #1d1712;
	--trvl-panel-2: #241b14;
	--trvl-walnut: #6f4a2f;
	--trvl-cedar: #8a5a36;
	--trvl-gold: #c9a227;
	--trvl-gold-soft: #e3c766;
	--trvl-text: #ece2d0;
	--trvl-muted: #b8a88e;
	--trvl-danger: #b3402e;
	--trvl-radius: 10px;

	background: var(--trvl-bg);
	color: var(--trvl-text);
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	padding: 28px;
	border: 1px solid var(--trvl-walnut);
	border-radius: var(--trvl-radius);
	margin: 24px 0;
	box-sizing: border-box;
}

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

.trvl h1,
.trvl h2,
.trvl h3,
.trvl h4 {
	font-family: Georgia, "Playfair Display", "Times New Roman", serif;
	color: var(--trvl-gold-soft);
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0 0 12px;
	line-height: 1.2;
}

.trvl h2.trvl-section-title {
	font-size: 30px;
	text-align: center;
}

.trvl p {
	margin: 0 0 12px;
}

.trvl a {
	color: var(--trvl-gold-soft);
}

.trvl .trvl-dim {
	color: var(--trvl-muted);
	font-size: 0.9em;
}

.trvl .trvl-lede {
	color: var(--trvl-muted);
	max-width: 720px;
}

.trvl .trvl-inline-link {
	color: var(--trvl-gold-soft);
	text-decoration: underline;
}

/* ---------- Hero ---------- */

.trvl .trvl-hero {
	text-align: center;
	padding: 48px 20px 36px;
	background:
		radial-gradient(ellipse at top, rgba(201, 162, 39, 0.14), transparent 60%),
		linear-gradient(180deg, var(--trvl-panel-2), var(--trvl-panel));
	border: 1px solid var(--trvl-walnut);
	border-radius: var(--trvl-radius);
	margin-bottom: 28px;
}

.trvl .trvl-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.35em;
	font-size: 12px;
	color: var(--trvl-gold);
	margin-bottom: 14px;
}

.trvl .trvl-hero-title {
	font-size: clamp(28px, 5vw, 46px);
	color: var(--trvl-text);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
	margin-bottom: 18px;
}

.trvl .trvl-hero-copy {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	color: var(--trvl-muted);
	font-size: 17px;
}

/* ---------- Buttons & actions ---------- */

.trvl .trvl-actions {
	margin: 16px 0;
}

.trvl .trvl-btn {
	display: inline-block;
	background: linear-gradient(180deg, var(--trvl-cedar), var(--trvl-walnut));
	color: #fff7e8;
	border: 1px solid var(--trvl-gold);
	border-radius: 6px;
	padding: 11px 22px;
	font-family: Georgia, "Playfair Display", serif;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.trvl .trvl-btn:hover,
.trvl .trvl-btn:focus {
	filter: brightness(1.15);
	color: #ffffff;
	text-decoration: none;
}

.trvl .trvl-btn-ghost {
	background: transparent;
	color: var(--trvl-gold-soft);
}

.trvl .trvl-btn-small {
	padding: 7px 14px;
	font-size: 13px;
}

.trvl .trvl-btn-danger {
	background: transparent;
	border-color: var(--trvl-danger);
	color: #e8a294;
}

.trvl .trvl-btn-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.trvl .trvl-inline-form {
	display: inline-block;
	margin: 0;
}

/* ---------- Notices & badges ---------- */

.trvl .trvl-notice {
	background: rgba(201, 162, 39, 0.12);
	border: 1px solid var(--trvl-gold);
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 18px;
}

.trvl .trvl-notice p {
	margin: 0;
}

.trvl .trvl-notice-error {
	background: rgba(179, 64, 46, 0.15);
	border-color: var(--trvl-danger);
}

.trvl .trvl-badge {
	display: inline-block;
	background: var(--trvl-walnut);
	color: #ffe9b0;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	letter-spacing: 0.04em;
	margin-left: 8px;
	vertical-align: middle;
}

.trvl .trvl-badge-gold {
	background: var(--trvl-gold);
	color: #241b08;
	font-weight: 700;
}

.trvl .trvl-badge-dim {
	background: #3a3128;
	color: var(--trvl-muted);
}

/* ---------- Feature / product / entry grids ---------- */

.trvl .trvl-features,
.trvl .trvl-product-grid,
.trvl .trvl-entry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin: 20px 0;
}

.trvl .trvl-feature,
.trvl .trvl-product-card,
.trvl .trvl-entry-card {
	background: var(--trvl-panel);
	border: 1px solid var(--trvl-walnut);
	border-radius: var(--trvl-radius);
	padding: 18px;
}

.trvl .trvl-feature h3 {
	font-size: 19px;
}

.trvl .trvl-feature p,
.trvl .trvl-entry-card p {
	color: var(--trvl-muted);
}

.trvl .trvl-card-img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 12px;
	border: 1px solid rgba(201, 162, 39, 0.35);
}

.trvl .trvl-price {
	color: var(--trvl-gold-soft);
	font-size: 18px;
	font-family: Georgia, "Playfair Display", serif;
}

.trvl .trvl-entry-brand {
	color: var(--trvl-gold-soft);
	font-family: Georgia, "Playfair Display", serif;
	margin-bottom: 4px;
}

.trvl .trvl-entry-meta {
	font-size: 14px;
	color: var(--trvl-muted);
}

.trvl .trvl-entry-notes {
	font-size: 14px;
}

.trvl .trvl-entry-age {
	margin-top: 8px;
}

.trvl .trvl-entry-source {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--trvl-cedar);
}

.trvl .trvl-entry-actions {
	margin-top: 12px;
}

/* ---------- Panels ---------- */

.trvl .trvl-panel {
	background: var(--trvl-panel);
	border: 1px solid var(--trvl-walnut);
	border-radius: var(--trvl-radius);
	padding: 20px;
	margin: 20px 0;
}

.trvl .trvl-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.trvl .trvl-two-col .trvl-panel {
	margin: 0;
}

.trvl .trvl-mini-list,
.trvl .trvl-sync-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trvl .trvl-mini-list li,
.trvl .trvl-sync-list li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(111, 74, 47, 0.4);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.trvl .trvl-mini-list li:last-child,
.trvl .trvl-sync-list li:last-child {
	border-bottom: none;
}

.trvl .trvl-sync-name em {
	color: var(--trvl-muted);
	font-style: normal;
	font-size: 13px;
	margin-left: 8px;
}

.trvl .trvl-sync-list li {
	justify-content: space-between;
}

/* ---------- Dashboard stats ---------- */

.trvl .trvl-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	margin: 18px 0;
}

.trvl .trvl-stat {
	background: linear-gradient(180deg, var(--trvl-panel-2), var(--trvl-panel));
	border: 1px solid var(--trvl-gold);
	border-radius: var(--trvl-radius);
	padding: 16px;
	text-align: center;
}

.trvl .trvl-stat-num {
	display: block;
	font-family: Georgia, "Playfair Display", serif;
	font-size: 34px;
	color: var(--trvl-gold-soft);
	line-height: 1.1;
}

.trvl .trvl-stat-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--trvl-muted);
	margin-top: 4px;
}

.trvl .trvl-plan-line {
	color: var(--trvl-muted);
}

.trvl .trvl-dash-nav .trvl-btn {
	margin-right: 8px;
	margin-bottom: 8px;
}

/* ---------- Ratings ---------- */

.trvl .trvl-ratings {
	list-style: none;
	margin: 10px 0;
	padding: 0;
}

.trvl .trvl-ratings li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px dotted rgba(111, 74, 47, 0.6);
	padding: 4px 0;
	font-size: 14px;
}

.trvl .trvl-ratings strong {
	color: var(--trvl-gold-soft);
}

/* ---------- Analytics ---------- */

.trvl .trvl-analytics-value {
	font-size: 18px;
}

.trvl .trvl-analytics-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.trvl .trvl-breakdown {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trvl .trvl-breakdown li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px dotted rgba(111, 74, 47, 0.6);
	padding: 4px 0;
}

.trvl .trvl-breakdown strong {
	color: var(--trvl-gold-soft);
}

/* ---------- Pricing ---------- */

.trvl .trvl-plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.trvl .trvl-plan {
	background: var(--trvl-panel);
	border: 1px solid var(--trvl-walnut);
	border-radius: var(--trvl-radius);
	padding: 24px 20px;
	text-align: center;
}

.trvl .trvl-plan-current {
	border-color: var(--trvl-gold);
	box-shadow: 0 0 0 1px var(--trvl-gold), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.trvl .trvl-plan-price {
	font-family: Georgia, "Playfair Display", serif;
	font-size: 28px;
	color: var(--trvl-text);
	margin-bottom: 2px;
}

.trvl .trvl-plan-price-alt {
	color: var(--trvl-muted);
	margin-bottom: 14px;
}

.trvl .trvl-plan-features {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	text-align: left;
}

.trvl .trvl-plan-features li {
	padding: 6px 0 6px 22px;
	position: relative;
	border-bottom: 1px solid rgba(111, 74, 47, 0.35);
	color: var(--trvl-muted);
}

.trvl .trvl-plan-features li::before {
	content: "\2726";
	position: absolute;
	left: 2px;
	color: var(--trvl-gold);
	font-size: 12px;
	top: 9px;
}

.trvl .trvl-buy-actions .trvl-btn {
	margin: 4px 2px;
}

/* ---------- Forms ---------- */

.trvl .trvl-form label {
	display: block;
	margin-bottom: 14px;
	font-size: 14px;
	color: var(--trvl-muted);
}

.trvl .trvl-form input[type="text"],
.trvl .trvl-form input[type="number"],
.trvl .trvl-form input[type="date"],
.trvl .trvl-form input[type="file"],
.trvl .trvl-form select,
.trvl .trvl-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	background: #100c09;
	border: 1px solid var(--trvl-walnut);
	border-radius: 6px;
	color: var(--trvl-text);
	padding: 10px 12px;
	font-size: 15px;
	font-family: inherit;
}

.trvl .trvl-form input:focus,
.trvl .trvl-form select:focus,
.trvl .trvl-form textarea:focus {
	outline: 2px solid var(--trvl-gold);
	outline-offset: 1px;
}

.trvl .trvl-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.trvl .trvl-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--trvl-text);
}

.trvl .trvl-checkbox input {
	width: auto;
	margin: 0;
}

/* ---------- Gate (logged out / deactivated) ---------- */

.trvl-gate {
	text-align: center;
	padding: 40px 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
	.trvl {
		padding: 18px 14px;
	}

	.trvl .trvl-two-col,
	.trvl .trvl-analytics-grid {
		grid-template-columns: 1fr;
	}

	.trvl .trvl-hero {
		padding: 32px 14px 26px;
	}

	.trvl .trvl-btn {
		width: 100%;
		text-align: center;
		margin-bottom: 8px;
	}

	.trvl .trvl-entry-actions .trvl-btn,
	.trvl .trvl-sync-list .trvl-btn,
	.trvl .trvl-dash-nav .trvl-btn {
		width: auto;
	}

	.trvl .trvl-card-img {
		height: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.trvl .trvl-btn {
		transition: none;
	}
}

/* Founding Member window banner (pricing page) */
.trvl .trvl-founding {
	border: 1px solid #c9a227;
	background: linear-gradient(180deg, #241a10, #1d1712);
	padding: 14px 18px;
	margin: 0 0 20px;
	border-radius: 6px;
}
.trvl .trvl-founding p {
	margin: 0 0 6px;
	color: #e8dcc3;
}
.trvl .trvl-founding p:last-child {
	margin-bottom: 0;
}
.trvl .trvl-founding-title {
	font-family: Georgia, 'Playfair Display', serif;
	color: #c9a227;
	font-size: 1.1em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
