.ib-booking-app, .ib-booking-app * { box-sizing: border-box; }
.ib-booking-app {
	--ib-pink: #d9a8a0;
	--ib-pink-dark: #c98f86;
	--ib-text: #2c2c2c;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--ib-text);
	max-width: 1100px;
	margin: 0 auto;
}
.ib-timer-bar {
	background: #f5f5f5;
	text-align: center;
	padding: 12px;
	font-weight: 600;
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 20px;
}
.ib-header { text-align: center; margin-bottom: 10px; }
.ib-venue-name { font-size: 22px; font-weight: 700; }

.ib-main { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.ib-left { flex: 1 1 600px; min-width: 280px; }
.ib-summary { flex: 0 0 300px; }

.ib-step h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 16px; }

.ib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.ib-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .ib-grid, .ib-grid-3 { grid-template-columns: repeat(2, 1fr); } }

.ib-tile {
	background: var(--ib-pink);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 18px 10px;
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 13px;
	transition: background .15s ease, transform .1s ease;
}
.ib-tile:hover { background: var(--ib-pink-dark); transform: translateY(-1px); }
.ib-tile:active { transform: translateY(0); }
.ib-tile-disabled { background: #e5d3d0; color: #a99; cursor: not-allowed; }
.ib-tile-disabled:hover { background: #e5d3d0; transform: none; }

.ib-btn {
	background: var(--ib-pink);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 20px;
	font-weight: 600;
	cursor: pointer;
	font-size: 15px;
}
.ib-btn:hover { background: var(--ib-pink-dark); }
.ib-btn:disabled { opacity: .5; cursor: not-allowed; }
.ib-btn-block { display: block; width: 100%; margin: 18px 0; }
.ib-btn-outline { background: #fff; color: var(--ib-text); border: 1px solid #ddd; }
.ib-btn-outline:hover { background: #f7f7f7; }
.ib-btn-danger { border-color: #d33; color: #d33; }
.ib-btn-ghost { background: transparent; color: var(--ib-pink-dark); border: 1px solid var(--ib-pink); }

.ib-nav-buttons { display: flex; gap: 12px; margin-top: 24px; }
.ib-nav-buttons .ib-btn { flex: 1; }

.ib-card {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 16px;
	max-width: 320px;
}
.ib-card-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.ib-card-actions { display: flex; gap: 10px; }

.ib-field-label { display: block; margin: 14px 0 6px; font-weight: 600; }
.ib-total-guests { font-weight: 700; margin-bottom: 4px; }
.ib-select, .ib-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	margin-bottom: 4px;
}
.ib-note { font-size: 13px; color: #777; margin-top: -10px; }
.ib-error { color: #b3261e; font-weight: 600; margin: 8px 0; min-height: 1em; }

.ib-toggle { display: flex; gap: 0; width: fit-content; border-radius: 6px; overflow: hidden; border: 1px solid var(--ib-pink); margin-bottom: 10px; }
.ib-toggle-btn { padding: 10px 22px; border: none; background: #fff; cursor: pointer; font-weight: 600; }
.ib-toggle-btn.ib-active { background: var(--ib-pink); color: #fff; }

.ib-extra-name { font-weight: 600; margin-top: 16px; }
.ib-extra-desc { font-size: 13px; color: #666; margin-bottom: 6px; }
.ib-extra-line-total { font-weight: 600; margin: 6px 0 16px; }
.ib-total-extras { font-weight: 700; text-align: right; margin: 10px 0; }

.ib-summary {
	background: #fff;
}
.ib-summary-title {
	background: var(--ib-pink);
	color: #fff;
	font-weight: 700;
	padding: 12px 16px;
	border-radius: 6px 6px 0 0;
}
.ib-summary-body { border: 1px solid #eee; border-top: none; padding: 10px 16px; }
.ib-summary-row { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.ib-summary-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #888; }
.ib-summary-value { font-size: 15px; font-weight: 600; }
.ib-summary-total {
	background: var(--ib-pink);
	color: #fff;
	font-weight: 700;
	padding: 14px 16px;
	border-radius: 0 0 6px 6px;
	margin-top: 4px;
}

.ib-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.5);
	display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.ib-modal {
	background: #fff; border-radius: 8px; padding: 30px; max-width: 560px; width: 90%;
	max-height: 80vh; overflow-y: auto;
}
/* These modals attach directly to <body> so they can sit above everything, which
   means theme stylesheets can apply their own oversized heading/button defaults.
   Pin the sizing explicitly so it stays compact regardless of the active theme. */
.ib-modal h2,
.ib-modal h4,
.ib-modal-heading {
	margin: 0 0 16px !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}
.ib-modal-highlight { color: #b3261e; font-weight: 700; text-decoration: underline; }
.ib-modal ul { line-height: 1.8; }
.ib-modal .ib-btn,
.ib-modal-continue {
	margin-top: 16px !important;
	background: var(--ib-pink) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 12px 20px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	cursor: pointer !important;
	display: block !important;
	width: 100% !important;
	opacity: 1 !important;
}
.ib-modal .ib-btn:hover,
.ib-modal-continue:hover { background: var(--ib-pink-dark) !important; }

.ib-tile-wide { grid-column: 1 / -1; width: 100%; margin-bottom: 20px; }

.ib-calendar-modal { max-width: 720px; }
.ib-modal-title-row { display: flex; align-items: center; justify-content: space-between; }
.ib-modal-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #999; }
.ib-modal-close:hover { color: #333; }
.ib-calendar-nav { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 16px; }
.ib-calendar-nav-btn {
	background: var(--ib-pink); color: #fff; border: none; border-radius: 6px;
	width: 40px; height: 36px; font-size: 18px; cursor: pointer;
}
.ib-calendar-nav-btn:hover { background: var(--ib-pink-dark); }
.ib-calendar-month-label { font-size: 18px; font-weight: 700; }
.ib-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ib-calendar-dow { text-align: center; font-weight: 700; font-size: 12px; color: #888; padding: 8px 0; }
.ib-calendar-cell {
	text-align: center; padding: 12px 0; border-radius: 4px; font-size: 15px; cursor: default;
	transition: background .12s ease, color .12s ease;
}
.ib-calendar-cell-muted { color: #ddd; text-decoration: line-through; }
.ib-calendar-cell-disabled { color: #ccc; }
.ib-calendar-cell-available { cursor: pointer; font-weight: 600; }
.ib-calendar-cell-available:hover {
	background: var(--ib-pink) !important;
	color: #fff !important;
}
.ib-calendar-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; font-weight: 600; min-height: 1.2em; }

.ib-terms-modal { max-width: 700px; }
.ib-terms-body { max-height: 55vh; overflow-y: auto; padding-right: 6px; }
.ib-terms-body p { line-height: 1.6; margin: 0 0 14px; color: #333; }
.ib-terms-body strong, .ib-terms-body b { font-weight: 700; }
.ib-terms-body ul, .ib-terms-body ol { margin: 0 0 14px; padding-left: 22px; line-height: 1.6; }
.ib-terms-body h1, .ib-terms-body h2, .ib-terms-body h3, .ib-terms-body h4 { margin: 0 0 10px; font-weight: 700; }
.ib-modal-close-circle {
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 50% !important;
	width: 36px !important;
	height: 36px !important;
	font-size: 20px !important;
	line-height: 1 !important;
	color: #666 !important;
	cursor: pointer !important;
	flex-shrink: 0;
	margin-top: 0 !important;
	padding: 0 !important;
}
.ib-modal-close-circle:hover { background: #f5f5f5 !important; border-color: #999 !important; }

.ib-loading { color: #888; padding: 20px 0; }
.ib-success { text-align: center; padding: 60px 0; }
.ib-total-value { font-weight: 700; font-size: 16px; }
#ib-payment-element { margin: 20px 0; }
