/* =========================================================================
   Rental Marketplace — supplemental styles
   Tailwind CSS is loaded from the CDN and handles theme markup directly.
   This sheet re-skins WooCommerce, Contact Form 7, and Booking & Rental
   Manager front-end markup (which we don't fully control) so it matches the
   Tailwind design
   system: brand blue (#2563eb), amber accent (#f59e0b), rounded-2xl cards.
   ========================================================================= */

/* ---- Contact Form 7 --------------------------------------------------- */

.rm-cf7-wrapper .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Two-column row */
.rm-cf7-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
@media (max-width: 600px) {
	.rm-cf7-row { grid-template-columns: 1fr; }
}

.rm-cf7-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.375rem;
	letter-spacing: 0.01em;
}

.rm-cf7-req {
	color: #ef4444;
	margin-left: 2px;
}

/* All inputs, textareas, selects */
.rm-cf7-wrapper input[type="text"],
.rm-cf7-wrapper input[type="email"],
.rm-cf7-wrapper input[type="tel"],
.rm-cf7-wrapper select,
.rm-cf7-wrapper textarea {
	display: block;
	width: 100%;
	padding: 0.625rem 0.875rem;
	font-size: 0.9375rem;
	color: #111827;
	background: #f9fafb;
	border: 1.5px solid #e5e7eb;
	border-radius: 0.625rem;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.rm-cf7-wrapper input[type="text"]:focus,
.rm-cf7-wrapper input[type="email"]:focus,
.rm-cf7-wrapper input[type="tel"]:focus,
.rm-cf7-wrapper select:focus,
.rm-cf7-wrapper textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
	background: #fff;
}

.rm-cf7-wrapper input::placeholder,
.rm-cf7-wrapper textarea::placeholder {
	color: #9ca3af;
}

/* Select arrow */
.rm-cf7-wrapper select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
	padding-right: 2.5rem;
	cursor: pointer;
}

.rm-cf7-wrapper textarea {
	resize: vertical;
	min-height: 140px;
}

/* Submit button */
.rm-cf7-wrapper .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 2rem;
	background: #2563eb;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	border: none;
	border-radius: 0.625rem;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
	width: auto;
	align-self: flex-start;
}

.rm-cf7-wrapper .wpcf7-submit:hover {
	background: #1d4ed8;
}

.rm-cf7-wrapper .wpcf7-submit:active {
	transform: scale(0.98);
}

/* CF7 validation error */
.rm-cf7-wrapper .wpcf7-not-valid-tip {
	color: #ef4444;
	font-size: 0.75rem;
	margin-top: 0.25rem;
	display: block;
}

.rm-cf7-wrapper .wpcf7-not-valid input,
.rm-cf7-wrapper .wpcf7-not-valid textarea,
.rm-cf7-wrapper .wpcf7-not-valid select {
	border-color: #ef4444 !important;
}

/* Response message */
.rm-cf7-wrapper .wpcf7-response-output {
	margin-top: 1rem;
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	font-size: 0.875rem;
	border: 1.5px solid;
}

.rm-cf7-wrapper .wpcf7-mail-sent-ok {
	background: #f0fdf4;
	border-color: #86efac;
	color: #166534;
}

.rm-cf7-wrapper .wpcf7-mail-sent-ng,
.rm-cf7-wrapper .wpcf7-spam-blocked,
.rm-cf7-wrapper .wpcf7-validation-errors {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #991b1b;
}

/* Remove CF7's default paragraph margins inside form */
.rm-cf7-wrapper .wpcf7-form > p { margin: 0; }

/* Spinner */
.rm-cf7-wrapper .wpcf7-spinner {
	margin-left: 0.5rem;
	vertical-align: middle;
}

/* ---- End Contact Form 7 ----------------------------------------------- */

:root {
	--rm-brand: #2563eb;
	--rm-brand-dark: #1d4ed8;
	--rm-accent: #f59e0b;
	--rm-ink: #111827;
	--rm-muted: #6b7280;
	--rm-border: #e5e7eb;
	--rm-bg: #f9fafb;
}

/* ---- Generic WooCommerce notices, forms & buttons -------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-left: 4px solid var(--rm-brand);
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
	color: var(--rm-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	list-style: none;
}

.woocommerce-error {
	border-left-color: #dc2626;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-Button,
a.added_to_cart,
.rbfw_rent_list_link.rbfw_rent_list_btn,
.rbfw-booking-form .single_add_to_cart_button,
button.single_add_to_cart_button,
.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--rm-brand);
	color: #fff !important;
	border: 0;
	border-radius: 0.625rem;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.25rem;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
a.added_to_cart:hover,
.rbfw_rent_list_link.rbfw_rent_list_btn:hover,
.rbfw-booking-form .single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.checkout-button:hover {
	background: var(--rm-brand-dark);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--rm-accent);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: #d97706;
}

.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce input.button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-form-login input,
.woocommerce-form-register input,
.woocommerce-form-coupon input,
.woocommerce table.shop_table input,
.select2-container--default .select2-selection--single,
.woocommerce form .form-row select {
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.625rem !important;
	background: #f9fafb !important;
	padding: 0.7rem 0.9rem !important;
	font-size: 0.9rem;
	color: var(--rm-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	height: auto !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
	border-color: var(--rm-brand) !important;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	outline: none;
	background: #fff !important;
}

.woocommerce form .form-row label {
	font-weight: 500;
	color: var(--rm-ink);
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
	display: inline-block;
}

/* ---- Breadcrumbs ------------------------------------------------------ */
.woocommerce-breadcrumb a {
	color: var(--rm-muted);
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
	color: var(--rm-brand);
}

/* ---- Result count / ordering bar -------------------------------------- */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }

/* On single rent item pages the notices wrapper is a direct <body> child that
   sits outside the plugin's .rbfw_muffin_template container, so it renders
   edge-to-edge. Constrain it to match the template width. */
.single-rbfw_item .woocommerce-notices-wrapper {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	color: var(--rm-muted);
}

.woocommerce .woocommerce-ordering select {
	border: 1px solid var(--rm-border);
	border-radius: 0.625rem;
	padding: 0.5rem 2rem 0.5rem 0.9rem;
	background-color: #fff;
	font-size: 0.875rem;
}

.woocommerce .top-bar,
.woocommerce > .columns-wrapper > * {
	display: block;
}

/* Layout the result-count + ordering bar like a flex row */
.woocommerce::before,
.woocommerce::after { content: none; }

.woocommerce .woocommerce-result-count {
	float: left;
}
.woocommerce .woocommerce-ordering {
	float: right;
}
.woocommerce ul.products {
	clear: both;
}

/* ---- Product loop / shop grid ----------------------------------------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (min-width: 640px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.woocommerce ul.products.columns-3,
	.woocommerce-page ul.products.columns-3,
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.woocommerce ul.products.columns-4,
	.woocommerce-page ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
	position: relative;
}

.woocommerce ul.products li.product img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.woocommerce span.onsale {
	display: none; /* replaced via woocommerce_sale_flash filter with a Tailwind badge */
}

.woocommerce ul.products li.product .star-rating {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
}

.woocommerce ul.products li.product .price {
	font-weight: 700;
}

.woocommerce ul.products li.product .price del {
	color: var(--rm-muted);
	font-weight: 400;
	margin-right: 0.4rem;
}
.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

/* ---- Single product page ---------------------------------------------- */
.woocommerce div.product {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
	.woocommerce div.product { padding: 2.5rem; }
}

.woocommerce div.product .product_title {
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--rm-ink);
	margin-bottom: 0.5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--rm-brand);
	font-size: 1.5rem;
	font-weight: 800;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--rm-muted);
	margin: 1rem 0;
	line-height: 1.7;
}

.woocommerce div.product div.images img {
	border-radius: 0.875rem;
}

.woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.wc-tabs {
	border-bottom: 1px solid var(--rm-border);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 2rem 0 1.5rem;
	list-style: none;
}
.woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.wc-tabs li {
	margin: 0;
}
.woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.wc-tabs li a {
	display: inline-block;
	padding: 0.6rem 1.1rem;
	border-radius: 0.625rem 0.625rem 0 0;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--rm-muted);
	text-decoration: none;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.wc-tabs li.active a {
	color: var(--rm-brand);
	background: var(--rm-brand-dark);
	background: rgba(37, 99, 235, 0.08);
}

.woocommerce-tabs .panel { color: var(--rm-muted); line-height: 1.75; }

/* ---- Cart / checkout tables -------------------------------------------- */
.woocommerce table.shop_table,
.woocommerce-checkout table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--rm-border);
	border-radius: 0.875rem;
	overflow: hidden;
	background: #fff;
}

.woocommerce table.shop_table th {
	background: var(--rm-bg);
	text-align: left;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rm-muted);
	padding: 0.9rem 1.1rem;
}

.woocommerce table.shop_table td {
	padding: 1rem 1.1rem;
	border-top: 1px solid var(--rm-border);
	font-size: 0.9rem;
	color: var(--rm-ink);
}

.woocommerce table.shop_table td.product-thumbnail img {
	border-radius: 0.625rem;
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.woocommerce td.actions .coupon {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout-review-order {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 0.875rem;
	padding: 1.5rem;
	margin-top: 1.5rem;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
#order_review_heading {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--rm-ink);
	margin-bottom: 1rem;
}

.woocommerce-cart .cart_totals table,
.woocommerce-checkout-review-order-table {
	border: 0 !important;
	box-shadow: none;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	background: transparent;
	border-top: 1px solid var(--rm-border);
}

.woocommerce-checkout #payment {
	background: var(--rm-bg);
	border-radius: 0.875rem;
	padding: 1rem;
}
.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 0;
	padding: 0;
}
.woocommerce-checkout #payment div.payment_box {
	background: #fff;
	border-radius: 0.625rem;
	border: 1px solid var(--rm-border);
	margin-top: 0.75rem;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* ---- My account -------------------------------------------------------- */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 0.875rem;
	overflow: hidden;
}
.woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid var(--rm-border);
}
.woocommerce-MyAccount-navigation ul li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.85rem 1.25rem;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--rm-ink);
	text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(37, 99, 235, 0.08);
	color: var(--rm-brand);
}

.woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 0.875rem;
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		display: inline-block;
		vertical-align: top;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation { width: 22%; margin-right: 4%; }
	.woocommerce-account .woocommerce-MyAccount-content { width: 74%; }
}

/* ---- Star ratings ------------------------------------------------------ */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--rm-accent);
}

/* =========================================================================
   Booking & Rental Manager — front-end shortcode + booking form styling
   ========================================================================= */

/* [rent-list] grid/list cards */
.rbfw_rent_list_inner_wrapper {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.rbfw_rent_list_inner_wrapper:hover {
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
	transform: translateY(-2px);
}

.rbfw_rent_list_grid_view_top_img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

.rbfw_rent_list_content {
	padding: 1.1rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rbfw_rent_list_grid_title,
.rbfw_rent_list_grid_title a {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rm-ink);
	text-decoration: none;
	line-height: 1.4;
}
.rbfw_rent_list_grid_title a:hover { color: var(--rm-brand); }

.rbfw_rent_item_description_text {
	color: var(--rm-muted);
	font-size: 0.85rem;
	line-height: 1.6;
	margin: 0.35rem 0 0.75rem;
}

.rbfw_rent_list_grid_row.rbfw_pricing-box {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

/* Override the plugin's tight 24px/0.8 line-height, which makes the price
   glyphs visually overlap the "Prices start at" label sitting right below it. */
.rbfw_rent_list_row_price {
	color: var(--rm-brand) !important;
	font-weight: 800 !important;
	font-size: 1.3rem !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

.rbfw_rent_list_row_price_level {
	color: var(--rm-muted) !important;
	font-weight: 500 !important;
	font-size: 0.8rem !important;
	line-height: 1.3 !important;
}

/* Fix: plugin renders price + button side-by-side with justify-content:space-between
   inside a narrow card — they overlap. Stack them vertically instead. */
.rbfw_rent_list_btn_holder {
	margin-top: auto;
	padding-top: 0.85rem;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0.65rem !important;
}

.rbfw_rent_list_link.rbfw_rent_list_btn {
	width: 100%;
	border-radius: 0.625rem;
}

.rbfw_see_more_category {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--rm-brand);
	text-decoration: none;
}
.rbfw_see_more_category:hover { color: var(--rm-brand-dark); }

/* Left sidebar filter on archive/[rent-list] */
.rbfw_left_filter_wrapper,
.rbfw-filter-widget,
.widget_rbfw_filter {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 0.875rem;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

/* Single product booking form */
.rbfw-booking-form,
.mp_details_page,
.mpContainer {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 1rem;
	padding: 1.5rem;
}

.rbfw-header-container,
.rbfw-post-title {
	font-weight: 800;
	color: var(--rm-ink);
}

.rbfw-post-meta { color: var(--rm-muted); font-size: 0.85rem; }

/* Outer containers: rounded border + clip for clean corners */
.rbfw_bikecarsd_pricing_table_container,
.rbfw_bikecarmd_es_table,
.rbfw_bikecarsd_es_price_table {
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.75rem !important;
	overflow: hidden;
}
/* The table itself must NOT clip — its qty +/− buttons overflow the cell */
.rbfw_bikecarsd_price_table,
.rbfw_bikecarsd_rt_price_table {
	width: 100% !important;
	border-radius: 0.75rem !important;
	overflow: visible !important;
}

.rbfw_bikecarsd_type_title { font-weight: 700; color: var(--rm-ink); }
.rbfw_bikecarsd_type_price,
.price-figure,
.prc.currency_left { color: var(--rm-brand); font-weight: 700; }

.rbfw_bikecarsd_checkbox,
.rbfw_extra_service_sd_checkbox,
.label.rbfw-checkbox {
	accent-color: var(--rm-brand);
}

.rbfw_qty_minus,
.rbfw_qty_plus,
.rbfw_servicesd_qty_minus,
.rbfw_servicesd_qty_plus,
.rbfw_bikecarsd_qty_minus,
.rbfw_bikecarsd_qty_plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2rem;
	width: 2rem;
	border-radius: 9999px;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	color: var(--rm-ink);
	cursor: pointer;
}
.rbfw_qty_minus:hover,
.rbfw_qty_plus:hover {
	background: rgba(37, 99, 235, 0.1);
	color: var(--rm-brand);
}

/* rbfw_qty_input is the flex container (minus+input+plus) — no fixed width */
.rbfw_qty_input {
	width: auto !important;
	border: none !important;
}
/* Only the actual number inputs get the styled box */
.rbfw_bikecarsd_qty,
.rbfw_servicesd_qty {
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.25rem !important;
	text-align: center;
	width: 2.5rem !important;
}

.rbfw_sold_out {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	background: rgba(220, 38, 38, 0.1);
	color: #dc2626;
	font-weight: 600;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
}

.rbfw_available_qty_notice {
	color: var(--rm-muted);
	font-size: 0.8rem;
}

.rbfw-tab-a {
	border-bottom: 1px solid var(--rm-border);
	font-weight: 600;
	color: var(--rm-muted);
}
.rbfw-tab-a.active-a { color: var(--rm-brand); }

.rbfw-faq summary,
.rbfw-faq .faq {
	font-weight: 600;
	color: var(--rm-ink);
}

/* Modal dialogs the plugin opens for date/qty pickers */
.mage_modal {
	border-radius: 1rem !important;
	overflow: hidden;
	border: 1px solid var(--rm-border);
}

/* Date-picker widget (jQuery UI) — keep it close to the design system */
.ui-datepicker {
	border-radius: 0.875rem !important;
	border: 1px solid var(--rm-border) !important;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12) !important;
	padding: 0.75rem !important;
	font-family: inherit !important;
}
.ui-datepicker .ui-datepicker-header {
	background: var(--rm-brand) !important;
	color: #fff !important;
	border-radius: 0.625rem !important;
	border: 0 !important;
}
.ui-datepicker td a,
.ui-datepicker td span {
	border-radius: 0.5rem !important;
}
.ui-datepicker .ui-state-active,
.ui-datepicker .ui-state-hover {
	background: var(--rm-brand) !important;
	color: #fff !important;
	border: 0 !important;
}

/* Featured rentals shortcode area on the homepage.
   Note: .rbfw_rent_list_grid_row is reused by the plugin for the per-card
   price row (always paired with .rbfw_pricing-box) — NOT the items grid
   wrapper (that's .rbfw_rent_list_wrapper*/.rbfw_rent_list_col, already laid
   out by the plugin's own CSS). Only `ul` needs the grid override here. */
.rental-shortcode-area ul {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
@media (min-width: 640px) {
	.rental-shortcode-area ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.rental-shortcode-area ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rental-shortcode-area li { width: 100% !important; float: none !important; margin: 0 !important; }

/* Utility: line clamp (in case Tailwind CDN's line-clamp plugin is unavailable) */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =========================================================================
   Footer — nav_menu widget link styling
   The sidebar is registered with styled before_title/after_title so headings
   already get the right Tailwind classes. Only the <ul> links need CSS because
   the nav_menu widget outputs plain markup with no Tailwind classes.
   ========================================================================= */

#colophon .widget_nav_menu .menu,
#colophon .widget_nav_menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#colophon .widget_nav_menu .menu li {
	margin-bottom: 0.625rem;
}

#colophon .widget_nav_menu .menu li:last-child {
	margin-bottom: 0;
}

#colophon .widget_nav_menu .menu li a {
	font-size: 0.875rem;
	color: #9ca3af;
	text-decoration: none;
	transition: color 0.15s ease;
	line-height: 1.5;
}

#colophon .widget_nav_menu .menu li a:hover {
	color: #fff;
}

/* Remove any default sub-menu indentation */
#colophon .widget_nav_menu .menu .sub-menu {
	padding-left: 0.75rem;
	margin-top: 0.25rem;
}

/* =========================================================================
   Sidebar — search widget, text widget resets
   ========================================================================= */

/* Search widget — style the input + button */
#sidebar-blog .widget_search .search-form {
	display: flex;
	gap: 0;
}

#sidebar-blog .widget_search .search-field {
	flex: 1;
	padding: 0.625rem 0.875rem;
	font-size: 0.875rem;
	color: #111827;
	background: #f9fafb;
	border: 1.5px solid #e5e7eb;
	border-right: 0;
	border-radius: 0.625rem 0 0 0.625rem;
	outline: none;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

#sidebar-blog .widget_search .search-field:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
	background: #fff;
}

#sidebar-blog .widget_search .search-field::placeholder {
	color: #9ca3af;
}

#sidebar-blog .widget_search .search-submit {
	padding: 0.625rem 0.875rem;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 0 0.625rem 0.625rem 0;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

#sidebar-blog .widget_search .search-submit:hover {
	background: #1d4ed8;
}

/* Sidebar text widget — remove default paragraph margins */
#sidebar-blog .widget_text .textwidget > *:first-child {
	margin-top: 0;
}
#sidebar-blog .widget_text .textwidget > *:last-child {
	margin-bottom: 0;
}

/* =========================================================================
   Single Rental Item Page — Muffin Template redesign
   Targets the plugin's .rbfw_muffin_template and its child classes.
   ========================================================================= */

/* Page wrapper: constrain width, center, add breathing room */
.rbfw_muffin_template {
	max-width: 1280px !important;
	margin: 2.5rem auto 0 !important;
	padding: 0 1.5rem 3rem !important;
	box-sizing: border-box;
}

/* ---- Title header row ---- */
.rbfw_muff_row_header {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #1d4ed8 100%) !important;
	border-radius: 1rem 1rem 0 0 !important;
	padding: 2rem 2rem 1.5rem !important;
	margin-bottom: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 1rem !important;
}

.rbfw_muff_header_col1,
.rbfw_muff_header_col2 {
	width: auto !important;
	flex: 1 !important;
}

.rbfw_muff_title h1,
.rbfw_muff_title h2 {
	font-size: 1.875rem !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 !important;
	line-height: 1.25 !important;
}

.rbfw_muff_rating {
	margin-top: 0.4rem;
}

/* Pricing card in header — price badge. Hide when empty (plugin leaves it blank
   for items where pricing isn't computed in the header). */
.rbfw_muff_pricing {
	display: flex;
	justify-content: flex-end;
}

.rbfw_muff_pricing_card:not(:has(*:not(:empty))):not(:has(> * > *:not(:empty))) {
	display: none !important;
}
/* Broader fallback: hide the entire col2 when its only content is empty divs */
.rbfw_muff_header_col2:has(.rbfw_muff_pricing_card_col2:empty) {
	display: none !important;
}

.rbfw_muff_pricing_card {
	background: rgba(255,255,255,0.15) !important;
	border: 1px solid rgba(255,255,255,0.25) !important;
	border-radius: 0.75rem !important;
	padding: 0.6rem 1.1rem !important;
	backdrop-filter: blur(4px);
}

.rbfw_muff_pricing_card_col2 {
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 1.1rem !important;
}

/* ---- Two-column content area (gallery + booking | features + description) ---- */
.rbfw_muff_row_slider {
	background: #fff !important;
	border: 1px solid var(--rm-border) !important;
	border-top: 0 !important;
	border-radius: 0 0 1rem 1rem !important;
	box-shadow: 0 4px 24px rgba(17,24,39,0.08) !important;
	padding: 2rem !important;
	display: flex !important;
	gap: 2rem !important;
	align-items: flex-start !important;
	flex-wrap: wrap !important;
}

.rbfw_muff_content_col1,
.rbfw_muff_content_col2 {
	flex: 1 1 340px !important;
	width: auto !important;
	min-width: 0 !important;
}

/* ---- Gallery / Slider ---- */
.rbfw_muff_slider,
.rbfw_muff_slider.mpStyle {
	border-radius: 0.875rem !important;
	overflow: hidden !important;
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	margin-bottom: 1.5rem !important;
}

.rbfw_muff_slider img,
.rbfw_muff_slider .mpStyle img {
	width: 100% !important;
	height: auto !important;
	object-fit: cover !important;
	border-radius: 0 !important;
}

/* ---- Booking form wrapper ---- */
.rbfw_muff_registration_wrapper {
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.875rem !important;
	padding: 1.5rem !important;
}

.rbfw_muff_registration_wrapper > *,
.rbfw-single-container,
.rbfw-single-right-container {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* Booking form field labels */
.rbfw-single-right-heading,
.rbfw-datetime-title,
.item-content > label,
.rbfw-single-right-heading h3,
.rbfw-single-right-heading p {
	color: var(--rm-ink) !important;
	font-weight: 600 !important;
	margin-bottom: 0.25rem !important;
}

/* Booking "Book Now" submit button */
.rbfw_bike_car_md_book_btn,
.rbfw_book_now_btn,
.rbfw-submit-btn,
button[name="rbfw_add_to_cart"],
.mp_rbfw_ticket_form button[type="submit"],
.mp_rbfw_ticket_form .add_to_cart_button,
.rbfw_book_now_btn_holder button,
.rbfw_bikecarmd_book_btn {
	background: var(--rm-brand) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0.625rem !important;
	padding: 0.8rem 1.5rem !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
}

.rbfw_bike_car_md_book_btn:hover,
.rbfw_book_now_btn:hover,
button[name="rbfw_add_to_cart"]:hover,
.mp_rbfw_ticket_form button[type="submit"]:hover {
	background: var(--rm-brand-dark) !important;
}

/* ---- Right column: sections ---- */
.rbfw_muff_content_wrapper {
	margin-bottom: 1.5rem !important;
}

.rbfw_muff_post_content_headline {
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	color: var(--rm-ink) !important;
	margin: 0 0 0.85rem !important;
	padding-bottom: 0.5rem !important;
	border-bottom: 2px solid var(--rm-brand) !important;
	display: inline-block !important;
}

/* Feature highlights list */
.rbfw_muff_highlighted_features {
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.75rem !important;
	padding: 1rem 1.25rem !important;
	margin-bottom: 1.5rem !important;
}

.muff_features_item {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 0.4rem 1.5rem !important;
}

.muff_features_item li {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.5rem !important;
	font-size: 0.875rem !important;
	color: var(--rm-ink) !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}

.muff_features_item li i,
.muff_features_item li .fas.fa-check-circle {
	color: #16a34a !important;
	font-size: 0.95rem !important;
	flex-shrink: 0 !important;
}

/* Description */
.rbfw_muff_post_content {
	color: var(--rm-muted) !important;
	line-height: 1.7 !important;
	font-size: 0.95rem !important;
	margin-bottom: 1.5rem !important;
}

.trimmed-content {
	color: var(--rm-muted) !important;
	line-height: 1.7 !important;
}

/* FAQ accordion */
.faq {
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.75rem !important;
	overflow: hidden !important;
}

.faq .ui-accordion-header,
.faq-item-header,
.faq h3 {
	background: var(--rm-bg) !important;
	color: var(--rm-ink) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	padding: 0.85rem 1.1rem !important;
	border-bottom: 1px solid var(--rm-border) !important;
	cursor: pointer !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 0 !important;
}

.faq .ui-accordion-header.ui-state-active,
.faq .ui-accordion-header:hover {
	background: rgba(37,99,235,0.06) !important;
	color: var(--rm-brand) !important;
}

.faq .ui-accordion-content,
.faq-item-content {
	padding: 0.85rem 1.1rem !important;
	background: #fff !important;
	color: var(--rm-muted) !important;
	font-size: 0.9rem !important;
	line-height: 1.65 !important;
	border-bottom: 1px solid var(--rm-border) !important;
}

/* ---- Related items ---- */
.rbfw_muff_row_related_item {
	margin-top: 3rem !important;
}

.rbfw_muff_heading {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	color: var(--rm-ink) !important;
	margin-bottom: 1.25rem !important;
}

/* Owl carousel related item cards */
.rbfw_muff_row_related_item .owl-item .rbfw_rent_list_inner_wrapper,
.rbfw_muff_row_related_item .rbfw_rent_list_inner_wrapper {
	border: 1px solid var(--rm-border) !important;
	border-radius: 0.875rem !important;
	overflow: hidden !important;
	background: #fff !important;
	box-shadow: 0 1px 4px rgba(17,24,39,0.06) !important;
}

/* =========================================================================
   List-mode rent items — layout & design overrides
   The plugin uses .rbfw_rent_list_style_list on the wrapper. Each card is
   .rbfw_rent_list_col > .rbfw_rent_list_inner_wrapper with two children:
     • .rbfw_rent_list_lists_images  (33 % wide, image column)
     • .rbfw_rent_list_lists_info    (67 % wide, text column)
   ========================================================================= */

/* Fix: our generic .rbfw_rent_list_inner_wrapper rule sets flex-direction:column
   (needed for grid-mode card stacking). It has lower specificity than the plugin's
   list-mode rule, but the plugin never sets flex-direction in list mode, so our
   column value wins by default. Force row layout for list mode. */
.rbfw_rent_list_style_list .rbfw_rent_list_inner_wrapper {
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 180px;
}

/* Each list card occupies the full wrapper width */
.rbfw_rent_list_style_list .rbfw_rent_list_col {
    width: 100% !important;
    margin-bottom: 1.25rem !important;
}

/* Image column: fixed 33 % width, fills card height */
.rbfw_rent_list_style_list .rbfw_rent_list_lists_images {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: var(--rm-bg);
    min-height: 180px;
}

/* Image link fills the column height */
.rbfw_rent_list_style_list .rbfw_rent_list_grid_view_top_img {
    flex: 1 !important;
    display: block !important;
    height: 100% !important;
}

/* Override the grid-mode aspect-ratio; list images fill the column height instead */
.rbfw_rent_list_style_list .rbfw_rent_list_grid_view_top_img img {
    aspect-ratio: unset !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 180px;
    object-fit: cover !important;
}

/* Info column: flex column so btn stays at bottom */
.rbfw_rent_list_style_list .rbfw_rent_list_lists_info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.1rem 1.25rem 1.25rem !important;
    box-sizing: border-box;
}

/* Content area stretches to push bottom actions down */
.rbfw_rent_list_style_list .rbfw_rent_list_content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
}

/* Bottom actions block: pushed to bottom via auto margin */
.rbfw_rent_list_style_list .rbfw_rent_item_bottom_info {
    margin-top: auto !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid var(--rm-border) !important;
}

/* Feature/attribute tags row */
.rbfw_rent_list_style_list .rbfw_rent_item_content_list_bottom {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
    margin-bottom: 0.75rem !important;
}

.rbfw_rent_list_style_list .bfw_rent_list_items.title {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(37,99,235,0.07) !important;
    color: var(--rm-brand) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
}

/* In list mode the btn_holder goes horizontal: price on left, button on right.
   This overrides the generic column-stack we applied for grid-mode cards. */
.rbfw_rent_list_style_list .rbfw_rent_list_btn_holder {
    border-top: 0 !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    flex-wrap: wrap;
    margin-top: 0 !important;
}

/* Price block in list mode */
.rbfw_rent_list_style_list .rbfw_rent_list_grid_row.rbfw_pricing-box {
    gap: 0.05rem !important;
}

/* Book Now button — auto width so price has room on the same row */
.rbfw_rent_list_style_list .rbfw_rent_list_link.rbfw_rent_list_btn {
    width: auto !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Mobile responsive ---- */
/* =========================================================================
   Header mobile — hide subtitle so right-action buttons don't overflow
   ========================================================================= */
@media (max-width: 639px) {
	/* "Equipment Rental Marketplace" subtitle is 226 px wide — too wide for
	   small screens alongside the icon and three nav buttons. */
	#masthead .tracking-widest {
		display: none !important;
	}
	/* Prevent any remaining overflowing element from creating a scrollbar. */
	html, body {
		overflow-x: hidden;
	}
}

/* =========================================================================
   Single rent page (Muffin template) — mobile layout fixes
   ========================================================================= */
@media (max-width: 768px) {
	.rbfw_muffin_template {
		padding: 0 1rem 2rem !important;
		margin-top: 1.5rem !important;
		overflow-x: hidden;
	}
	.rbfw_muff_row_header {
		border-radius: 0.75rem 0.75rem 0 0 !important;
		padding: 1.25rem !important;
	}
	.rbfw_muff_title h1 {
		font-size: 1.4rem !important;
	}
	.rbfw_muff_row_slider {
		flex-direction: column !important;
		padding: 1.25rem !important;
		gap: 1.25rem !important;
	}
	/* Columns must fill the row instead of shrink-wrapping to their content.
	   Without this they're only as wide as their widest child (278 / 316 px)
	   instead of the full available 318 px. */
	.rbfw_muff_content_col1,
	.rbfw_muff_content_col2 {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	/* Slider and booking form inherit the full column width. */
	.rbfw_muff_slider,
	.rbfw_muff_slider.mpStyle,
	.rbfw_muff_registration_wrapper {
		width: 100% !important;
		box-sizing: border-box;
	}
	/* Gallery inner row: give the main-image track all remaining space
	   after the thumbnail strip. */
	.superSlider .dFlex {
		width: 100% !important;
	}
	.superSlider .dFlex .sliderAllItem {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		overflow: hidden !important;
	}
	/* Thumbnail strip: fixed narrow column so main image stays large. */
	.superSlider .dFlex .sliderShowcase.right {
		flex-shrink: 0 !important;
		width: 60px !important;
		min-width: 60px !important;
	}
	/* Taller gallery on mobile */
	.superSlider,
	.superSlider .dFlex {
		min-height: 220px !important;
	}
	.superSlider .dFlex .sliderAllItem .sliderItem img,
	.rbfw_muff_slider img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}
	/* Feature highlights — flex container stacks items in a single column */
	.muff_features_item {
		flex-direction: column !important;
	}
	.muff_features_item li {
		width: 100% !important;
	}
	/* Also fix the plugin's own 48%-wide li rule */
	.rbfw_muff_highlighted_features ul li {
		width: 100% !important;
	}

	/* ---- Single-day calendar: make the registration wrapper thinner padding
	       so the 7-column calendar has enough room to render without clipping ---- */
	.rbfw_muff_registration_wrapper {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	.rbfw-single-container,
	.rbfw-single-right-container,
	.rbfw_bikecarsd_pricing_table_wrap {
		width: 100% !important;
		box-sizing: border-box !important;
	}
	/* Shrink calendar cell padding so all 7 day columns fit in the container */
	.rbfw-bikecarsd-calendar .ui-datepicker-calendar th,
	.rbfw-bikecarsd-calendar .ui-datepicker-calendar td {
		padding: 2px 1px !important;
		font-size: 0.75rem !important;
	}
	.rbfw-bikecarsd-calendar .ui-datepicker-calendar td a,
	.rbfw-bikecarsd-calendar .ui-datepicker-calendar td span {
		padding: 4px 2px !important;
		min-width: 0 !important;
		font-size: 0.75rem !important;
	}
	/* Calendar header nav buttons */
	.rbfw-bikecarsd-calendar-header {
		padding: 6px 8px !important;
	}
	/* Related items: 1 card visible at a time on very small screens */
	.rbfw_muff_row_related_item .rbfw_rent_list_inner_wrapper {
		flex-direction: column !important;
	}
	.rbfw_muff_row_related_item .rbfw_rent_list_lists_images {
		width: 100% !important;
		min-height: 160px !important;
	}
	/* "You May Also Like" heading */
	.rbfw_muff_heading {
		font-size: 1.25rem !important;
		padding: 1.25rem 1.25rem 0.75rem !important;
	}
}
