/**
 * La Collina Reservations — frontend styles
 * Scoped under .lcr-wrap to avoid Elementor / theme conflicts.
 */

.lcr-wrap {
	--lcr-gold: #b19432;
	--lcr-gold-dark: #957c28;
	--lcr-ink: #2d4443;
	--lcr-maroon: #6b1f2a;
	--lcr-muted: #d9d9d9;
	--lcr-white: #ffffff;
	--lcr-radius: 8px;
	--lcr-font: Manrope, "Helvetica Neue", Arial, sans-serif;
	--lcr-serif: Georgia, "Times New Roman", serif;

	box-sizing: border-box;
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	font-family: var(--lcr-font);
	color: var(--lcr-ink);
	line-height: 1.5;
}

.lcr-wrap *,
.lcr-wrap *::before,
.lcr-wrap *::after {
	box-sizing: border-box;
}

.lcr-card {
	background: var(--lcr-muted);
	border-radius: var(--lcr-radius);
	padding: 28px 24px 32px;
}

.lcr-eyebrow {
	margin: 0 0 6px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12px;
	font-weight: 600;
	color: var(--lcr-gold);
}

.lcr-title {
	margin: 0 0 12px;
	text-align: center;
	font-family: var(--lcr-serif);
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 600;
	color: var(--lcr-maroon);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lcr-subtitle {
	margin: 0 auto 16px;
	max-width: 36em;
	text-align: center;
	font-size: 0.95rem;
	color: var(--lcr-ink);
}

.lcr-hours {
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 18px;
	color: var(--lcr-ink);
}

.lcr-payment-note {
	text-align: center;
	font-size: 0.85rem;
	color: var(--lcr-maroon);
	margin: 0 0 16px;
}

.lcr-deposit-banner {
	background: var(--lcr-white);
	border-left: 4px solid var(--lcr-gold);
	border-radius: 5px;
	padding: 14px 16px;
	margin: 0 0 18px;
	text-align: center;
}

.lcr-deposit-rule {
	margin: 0 0 6px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--lcr-ink);
}

.lcr-deposit-due {
	margin: 0 0 6px;
	font-size: 1.05rem;
	color: var(--lcr-maroon);
}

.lcr-deposit-due strong {
	font-size: 1.2rem;
	color: var(--lcr-gold-dark);
}

.lcr-deposit-breakdown {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #666;
}

.lcr-bill-note {
	margin: 0;
	font-size: 0.82rem;
	color: #555;
	font-style: italic;
}

/* Stripe payment section */
.lcr-stripe-section {
	background: var(--lcr-white);
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	padding: 16px;
	margin: 8px 0 18px;
}

.lcr-stripe-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.lcr-stripe-lock {
	font-size: 1.4rem;
	line-height: 1;
}

.lcr-stripe-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--lcr-ink);
}

.lcr-stripe-powered {
	margin: 2px 0 0;
	font-size: 0.78rem;
	color: #666;
}

.lcr-stripe-badge {
	margin-left: auto;
	background: #635bff;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: 0.04em;
}

.lcr-card-element {
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fafafa;
	min-height: 44px;
}

.lcr-card-errors {
	margin: 8px 0 0;
	font-size: 0.85rem;
	color: #c0392b;
	min-height: 1.2em;
}

.lcr-stripe-note {
	margin: 10px 0 0;
	font-size: 0.8rem;
	color: #666;
	line-height: 1.4;
}

.lcr-pay-ok {
	color: #1e6b45;
}

.lcr-pay-warn {
	color: #856404;
}

.lcr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lcr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}

.lcr-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lcr-field--full {
	grid-column: 1 / -1;
}

.lcr-field label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--lcr-ink);
}

.lcr-field label span {
	color: var(--lcr-maroon);
}

.lcr-field input,
.lcr-field select,
.lcr-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: #ececec;
	color: var(--lcr-ink);
	font-family: inherit;
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lcr-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232d4443' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.lcr-field textarea {
	min-height: 110px;
	resize: vertical;
}

.lcr-field input:focus,
.lcr-field select:focus,
.lcr-field textarea:focus {
	border-color: var(--lcr-gold);
	background: var(--lcr-white);
}

.lcr-field input.lcr-invalid,
.lcr-field select.lcr-invalid,
.lcr-field textarea.lcr-invalid {
	border-color: #c0392b;
}

.lcr-actions {
	margin-top: 20px;
	text-align: center;
}

.lcr-btn {
	display: inline-block;
	min-width: 180px;
	padding: 16px 36px;
	border: 0;
	border-radius: 0;
	background: var(--lcr-gold);
	color: var(--lcr-white) !important;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.lcr-btn:hover,
.lcr-btn:focus {
	background: var(--lcr-gold-dark);
}

.lcr-btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

.lcr-alert {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 5px;
	font-size: 0.9rem;
	text-align: center;
}

.lcr-alert--error {
	background: #fdecea;
	color: #9b1c1c;
}

.lcr-alert--ok {
	background: #e8f6ef;
	color: #1e6b45;
}

.lcr-success {
	margin-top: 8px;
}

.lcr-success-inner {
	text-align: center;
	padding: 12px 8px 4px;
}

.lcr-success-title {
	margin: 0 0 8px;
	font-family: var(--lcr-serif);
	font-size: 1.4rem;
	color: var(--lcr-maroon);
}

.lcr-success-msg {
	margin: 0 0 10px;
}

.lcr-success-code {
	margin: 0;
	font-size: 0.95rem;
}

.lcr-payment-box {
	margin-top: 16px;
	padding: 14px;
	background: var(--lcr-white);
	border-radius: 5px;
	font-size: 0.9rem;
}

.lcr-form[hidden],
.lcr-success[hidden],
.lcr-alert[hidden],
.lcr-payment-box[hidden] {
	display: none !important;
}

@media (max-width: 640px) {
	.lcr-card {
		padding: 22px 16px 26px;
	}

	.lcr-grid {
		grid-template-columns: 1fr;
	}

	.lcr-btn {
		width: 100%;
	}
}
