/*
 * Boskovic Rental Manager - Frontend
 */

:root {
	--brm-primary: #b4594a;
	--brm-primary-dark: #8f4438;
	--brm-bg: #efefef;
	--brm-surface: #ffffff;
	--brm-surface-muted: #f7f7f7;
	--brm-text: #2b2b2b;
	--brm-text-soft: #666666;
	--brm-border: rgba(43, 43, 43, 0.14);
	--brm-radius: 2px;
	--brm-space-1: 0.5rem;
	--brm-space-2: 0.75rem;
	--brm-space-3: 1rem;
	--brm-space-4: 1.25rem;
	--brm-space-5: 1.5rem;
	--brm-space-6: 2rem;
	--brm-space-7: 2.5rem;
	--brm-layout-max-width: 1290px;
	--brm-layout-edge-spacing: 5vw;
	--brm-layout-narrow-max-width: 750px;
	--brm-layout-wide-offset: 130px;
}

[hidden] {
	display: none !important;
}

body.brm-auth-open,
html.brm-auth-open,
body.brm-cart-open,
html.brm-cart-open {
	overflow: hidden;
}

.brm-catalog-shell,
.brm-checkout-shell,
.brm-account-shell,
.brm-single-equipment,
.brm-utility-actions,
.brm-cart-drawer,
.brm-auth-modal {
	--brm-primary: #b4594a;
	--brm-primary-dark: #8f4438;
	--brm-bg: #efefef;
	--brm-surface: #ffffff;
	--brm-surface-muted: #f7f7f7;
	--brm-text: #2b2b2b;
	--brm-text-soft: #666666;
	--brm-border: rgba(43, 43, 43, 0.14);
	--brm-radius: 2px;
	--brm-space-1: 0.5rem;
	--brm-space-2: 0.75rem;
	--brm-space-3: 1rem;
	--brm-space-4: 1.25rem;
	--brm-space-5: 1.5rem;
	--brm-space-6: 2rem;
	--brm-space-7: 2.5rem;
	--brm-layout-max-width: 1290px;
	--brm-layout-edge-spacing: 5vw;
	--brm-layout-narrow-max-width: 750px;
	--brm-layout-wide-offset: 130px;
	color: var(--brm-text);
	font-family: inherit;
}

.brm-catalog-shell *,
.brm-checkout-shell *,
.brm-account-shell *,
.brm-single-equipment *,
.brm-utility-actions *,
.brm-cart-drawer *,
.brm-auth-modal * {
	box-sizing: border-box;
}

.brm-catalog-shell,
.brm-checkout-shell,
.brm-account-shell,
.brm-single-equipment {
	background: var(--brm-bg);
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(10px, 1.8vw, 18px) var(--brm-layout-edge-spacing) clamp(22px, 3.2vw, 34px);
	box-sizing: border-box;
}

.brm-shell {
	width: min(var(--brm-layout-max-width), 100%);
	max-width: var(--brm-layout-max-width);
	margin: 0 auto;
}

.brm-shell--narrow {
	width: min(var(--brm-layout-narrow-max-width), calc(100% - (var(--brm-layout-edge-spacing) * 2)));
	max-width: var(--brm-layout-narrow-max-width);
}

.brm-catalog-shell .alignwide,
.brm-checkout-shell .alignwide,
.brm-account-shell .alignwide,
.brm-single-equipment .alignwide {
	width: calc(100% + (var(--brm-layout-wide-offset) * 2));
	max-width: calc(100% + (var(--brm-layout-wide-offset) * 2));
	margin-left: calc(var(--brm-layout-wide-offset) * -1);
	margin-right: calc(var(--brm-layout-wide-offset) * -1);
}

.brm-catalog-shell .alignnarrow,
.brm-checkout-shell .alignnarrow,
.brm-account-shell .alignnarrow,
.brm-single-equipment .alignnarrow {
	width: 100%;
	max-width: var(--brm-layout-narrow-max-width);
	margin-left: auto;
	margin-right: auto;
}

.brm-shell--catalog,
.brm-shell--checkout,
.brm-shell--account,
.brm-shell--single {
	display: grid;
	gap: var(--brm-space-5);
}

.brm-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--brm-space-4);
	flex-wrap: wrap;
}

.brm-page-header__side {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.brm-main-heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
}

.brm-main-heading h1 {
	margin: 0;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	line-height: 1.08;
	letter-spacing: 0.01em;
	color: var(--brm-text);
}

.brm-main-heading p {
	margin: 10px 0 0;
	max-width: 760px;
	color: var(--brm-text-soft);
	font-size: 0.98rem;
	line-height: 1.55;
}

.brm-main-heading__triangle {
	width: 0;
	height: 0;
	margin-top: 0.35rem;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 12px solid var(--brm-primary);
	flex: 0 0 auto;
}

.brm-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: #707070;
}

.brm-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.brm-breadcrumb a:hover {
	color: var(--brm-primary);
}

.brm-button {
	--brm-btn-bg: rgba(180, 89, 74, 0.08);
	--brm-btn-color: var(--brm-primary);
	--brm-btn-hover-bg: var(--brm-primary);
	--brm-btn-hover-color: #ffffff;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.78rem 1.1rem;
	min-height: 44px;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
	text-decoration: none;
	color: var(--brm-btn-color);
	background: var(--brm-btn-bg);
	border: 0;
	cursor: pointer;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
	transition: background-color 0.26s ease, color 0.26s ease, transform 0.26s ease;
}

.brm-button::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid currentColor;
	transition: transform 0.26s ease;
}

.brm-button:hover,
.brm-button:focus-visible {
	background: var(--brm-btn-hover-bg);
	color: var(--brm-btn-hover-color);
	transform: translateY(-1px);
	text-decoration: none;
}

.brm-button:hover::after,
.brm-button:focus-visible::after {
	transform: translateX(3px);
}

.brm-button:focus-visible {
	outline: 2px solid var(--brm-primary);
	outline-offset: 2px;
}

.brm-button--primary {
	--brm-btn-bg: var(--brm-primary);
	--brm-btn-color: #ffffff;
	--brm-btn-hover-bg: var(--brm-primary-dark);
	--brm-btn-hover-color: #ffffff;
}

.brm-button--ghost {
	--brm-btn-bg: rgba(180, 89, 74, 0.08);
	--brm-btn-color: var(--brm-primary);
	--brm-btn-hover-bg: var(--brm-primary);
	--brm-btn-hover-color: #ffffff;
}

.brm-button--block {
	width: 100%;
}

.brm-panel-heading h2,
.brm-panel-title {
	margin: 0;
	font-size: 1.34rem;
	line-height: 1.25;
	letter-spacing: 0.01em;
}

.brm-panel-heading p {
	margin: 8px 0 0;
	color: var(--brm-text-soft);
	font-size: 0.94rem;
}


.brm-inline-notice {
	padding: 1rem 1.05rem;
	font-size: 0.92rem;
	line-height: 1.5;
	border: 1px solid rgba(43, 43, 43, 0.1);
	border-left: 3px solid transparent;
	background: rgba(255, 255, 255, 0.72);
	color: var(--brm-text);
}

.brm-inline-notice--success {
	border-left-color: #2d8a56;
	border-color: rgba(45, 138, 86, 0.22);
	background: rgba(45, 138, 86, 0.08);
}

.brm-inline-notice--error {
	border-left-color: #b94032;
	border-color: rgba(185, 64, 50, 0.22);
	background: rgba(185, 64, 50, 0.08);
}

.brm-inline-notice--account-hint {
	border-left-color: var(--brm-primary);
	border-color: rgba(180, 89, 74, 0.18);
	background: rgba(180, 89, 74, 0.08);
}

.brm-account-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.brm-account-cta > span {
	font-size: 0.9rem;
	color: var(--brm-text-soft);
}

.brm-account-cta__actions {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.brm-help-tip {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.brm-help-tip__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 1px solid var(--brm-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--brm-primary);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.brm-help-tip__button:hover,
.brm-help-tip__button:focus-visible {
	border-color: var(--brm-primary);
	outline: none;
}

.brm-help-tip__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 12;
	width: min(280px, calc(100vw - 48px));
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text-soft);
	font-size: 0.84rem;
	line-height: 1.5;
	box-shadow: 0 10px 24px rgba(43, 43, 43, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.brm-help-tip:hover .brm-help-tip__panel,
.brm-help-tip.is-open .brm-help-tip__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.brm-inline-notice--cart {
	display: grid;
	gap: 0.7rem;
}

.brm-inline-notice--cart strong {
	font-size: 0.98rem;
	color: var(--brm-text);
}

.brm-inline-notice--cart span {
	color: var(--brm-text-soft);
	font-size: 0.9rem;
	line-height: 1.5;
}

.brm-inline-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.brm-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	width: min(380px, calc(100vw - 32px));
	padding: 0.95rem 1rem;
	border: 1px solid rgba(43, 43, 43, 0.12);
	border-left: 3px solid var(--brm-primary);
	background: #ffffff;
	color: var(--brm-text);
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
}

.brm-toast--success {
	border-left-color: #2d8a56;
}

.brm-toast.is-hiding {
	opacity: 0;
	transform: translateY(10px);
	visibility: hidden;
}

.brm-toast__content {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
	flex: 1 1 auto;
}

.brm-toast__content strong {
	font-size: 0.94rem;
	line-height: 1.35;
	color: var(--brm-text);
}

.brm-toast__content span {
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--brm-text-soft);
}

.brm-toast__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	flex: 0 0 auto;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	cursor: pointer;
}

.brm-toast__close:hover,
.brm-toast__close:focus-visible {
	border-color: var(--brm-primary);
	color: var(--brm-primary);
	outline: none;
}

.brm-toast__close .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.brm-empty-state {
	padding: clamp(20px, 3vw, 34px);
	background: var(--brm-surface);
	border: 1px solid var(--brm-border);
}

.brm-empty-state h2,
.brm-empty-state h3 {
	margin: 0 0 10px;
	font-size: 1.24rem;
}

.brm-empty-state p {
	margin: 0;
	color: var(--brm-text-soft);
	line-height: 1.55;
}

.brm-empty-state--compact {
	padding: 1rem 1.1rem;
}

.brm-empty-state--checkout .brm-button {
	margin-top: 1.2rem;
}

.brm-form-grid,
.brm-booking-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.95rem;
}

.brm-form-field,
.brm-filter-field {
	display: grid;
	gap: 0.42rem;
}

.brm-form-field label,
.brm-filter-field label {
	font-size: 0.84rem;
	font-weight: 700;
	color: #4b4b4b;
}

.brm-form-field input,
.brm-form-field select,
.brm-form-field textarea,
.brm-filter-field input,
.brm-filter-field select,
.brm-form-field .brm-select__trigger,
.brm-filter-field .brm-select__trigger,
.brm-form-stack input,
.brm-form-stack select,
.brm-form-stack textarea,
.brm-form-stack .brm-select__trigger {
	width: 100%;
	min-height: 45px;
	padding: 10px 12px;
	border: 1px solid var(--brm-border);
	border-radius: 0;
	background: #ffffff;
	color: var(--brm-text);
	font-size: 0.92rem;
	font-family: inherit;
	line-height: 1.3;
	appearance: none;
}

.brm-form-field textarea,
.brm-form-stack textarea {
	min-height: 100px;
	resize: vertical;
}

.brm-form-field input:focus,
.brm-form-field select:focus,
.brm-form-field textarea:focus,
.brm-filter-field input:focus,
.brm-filter-field select:focus,
.brm-form-field .brm-select__trigger:focus,
.brm-filter-field .brm-select__trigger:focus,
.brm-form-stack input:focus,
.brm-form-stack select:focus,
.brm-form-stack textarea:focus,
.brm-form-stack .brm-select__trigger:focus {
	border-color: var(--brm-primary);
	outline: none;
}

.brm-form-field.is-invalid input,
.brm-form-field.is-invalid select,
.brm-form-field.is-invalid textarea,
.brm-filter-field.is-invalid input,
.brm-filter-field.is-invalid select,
.brm-form-stack .is-invalid input,
.brm-form-stack .is-invalid select,
.brm-form-stack .is-invalid textarea,
.brm-form-field.is-invalid .brm-select__trigger,
.brm-filter-field.is-invalid .brm-select__trigger,
.brm-select.is-invalid .brm-select__trigger {
	border-color: #b94032 !important;
}

.brm-checkbox.is-invalid {
	color: #8d3930;
}

.brm-checkbox.is-invalid span {
	color: #8d3930;
}

.brm-field-error {
	margin: 0.1rem 0 0;
	display: block;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #b94032;
}

.brm-form-field select,
.brm-filter-field select,
.brm-form-stack select {
	padding-right: 40px;
	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='%232B2B2B' d='M1.41.58L6 5.16 10.59.58 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

.brm-form-field--date input,
.brm-filter-field--date input {
	padding-right: 42px;
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
}

.brm-form-field--date input,
.brm-filter-field--date input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%232B2B2B' d='M13 2V1h1.5v1H16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1.5V1H5v1h8ZM2.5 7v8h13V7h-13Zm0-3v1.5h13V4h-1V5h-1.5V4h-8V5H3.5V4h-1Z'/%3E%3C/svg%3E");
}

.brm-select {
	position: relative;
}

.brm-select__native {
	display: none;
}

.brm-select__trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-right: 40px;
	text-align: left;
	font: inherit;
	cursor: pointer;
}

.brm-select__trigger::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 10px;
	height: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.22s ease;
}

.brm-select > .js-brm-time-select + .brm-select__trigger::after {
	width: 16px;
	height: 16px;
	border: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%232B2B2B' stroke-width='1.5' d='M9 2.25A6.75 6.75 0 1 1 2.25 9 6.75 6.75 0 0 1 9 2.25Z'/%3E%3Cpath fill='none' stroke='%232B2B2B' stroke-width='1.5' stroke-linecap='round' d='M9 5.5v3.7l2.45 1.45'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;
	transform: translateY(-50%);
}

.brm-select__value {
	display: block;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.brm-select__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 35;
	display: none;
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid rgba(43, 43, 43, 0.18);
	background: #ffffff;
}

.brm-select.is-open .brm-select__trigger {
	border-color: var(--brm-primary);
}

.brm-select.is-open .brm-select__trigger::after {
	transform: translateY(-35%) rotate(-135deg);
}

.brm-select.is-open > .js-brm-time-select + .brm-select__trigger::after {
	transform: translateY(-50%);
}

.brm-select.is-open .brm-select__dropdown {
	display: block;
}

.brm-select__option {
	display: block;
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 0;
	border-bottom: 1px solid rgba(43, 43, 43, 0.08);
	background: #ffffff;
	color: var(--brm-text);
	font: inherit;
	font-size: 0.9rem;
	text-align: left;
	cursor: pointer;
}

.brm-select__option:last-child {
	border-bottom: 0;
}

.brm-select__option:disabled {
	color: #b45b53;
	background: #f7ecea;
	cursor: not-allowed;
}

.brm-select__option:hover,
.brm-select__option:focus-visible {
	background: rgba(180, 89, 74, 0.08);
	color: var(--brm-primary);
	outline: none;
}

.brm-select__option:disabled:hover,
.brm-select__option:disabled:focus-visible {
	background: #f7ecea;
	color: #b45b53;
}

.brm-select__option.is-selected {
	background: rgba(180, 89, 74, 0.12);
	color: var(--brm-primary);
	font-weight: 700;
}

.brm-form-field--full {
	grid-column: 1 / -1;
}

.brm-form-stack {
	display: grid;
	gap: 0.75rem;
}

.brm-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--brm-text-soft);
}

.brm-checkbox span {
	display: inline-block;
}

.brm-checkbox--privacy {
	align-items: flex-start;
	line-height: 1.5;
}

.brm-checkbox--remember {
	margin-top: -0.1rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--brm-text);
	cursor: pointer;
	user-select: none;
}

.brm-checkbox--privacy span {
	font-size: 0.86rem;
	color: var(--brm-text-soft);
}

.brm-checkbox--privacy a {
	color: var(--brm-primary);
	text-decoration: none;
}

.brm-checkbox--privacy a:hover {
	text-decoration: underline;
}

.brm-checkbox input {
	width: 18px;
	height: 18px;
	min-height: 18px;
	padding: 0;
	margin: 0;
	flex: 0 0 auto;
	appearance: auto;
	accent-color: var(--brm-primary);
	cursor: pointer;
}

.brm-catalog-offer-tabs {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.brm-catalog-offer-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	text-decoration: none;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.brm-catalog-offer-tab:hover,
.brm-catalog-offer-tab:focus-visible {
	border-color: var(--brm-primary);
	color: var(--brm-primary);
	outline: none;
}

.brm-catalog-offer-tab.is-active {
	border-color: var(--brm-primary);
	background: rgba(180, 89, 74, 0.08);
	color: var(--brm-primary);
}

.brm-catalog-filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	align-items: stretch;
	padding: 1rem;
	border: 1px solid var(--brm-border);
	background: var(--brm-surface);
}

.brm-catalog-layout {
	display: grid;
	grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.brm-catalog-layout__filters {
	display: grid;
	gap: 0.75rem;
	align-content: start;
	align-self: start;
	position: sticky;
	top: 18px;
}

.brm-catalog-layout__content {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.brm-catalog-filter-toggle-row {
	display: none;
	justify-content: flex-start;
}

.brm-filter-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	min-height: 42px;
	padding: 0.56rem 0.9rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.brm-filter-toggle__main {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.brm-filter-toggle__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	color: currentColor;
}

.brm-filter-toggle__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.brm-filter-toggle .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.brm-filter-toggle__arrow {
	transition: transform 0.22s ease;
}

.brm-filter-toggle.is-open .brm-filter-toggle__arrow {
	transform: rotate(180deg);
}

.brm-filter-toggle:hover,
.brm-filter-toggle:focus-visible,
.brm-filter-toggle.is-open {
	border-color: var(--brm-primary);
	color: var(--brm-primary);
	outline: none;
}

.brm-filter-field--search .brm-search-input {
	position: relative;
}

.brm-search-input input {
	padding-left: 38px;
}

.brm-search-input .dashicons {
	position: absolute;
	top: 50%;
	left: 11px;
	transform: translateY(-50%);
	font-size: 18px;
	color: #8a8a8a;
	pointer-events: none;
}

.brm-filter-actions {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1fr;
}

.brm-filter-actions .brm-button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.brm-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.brm-catalog-toolbar p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--brm-text-soft);
}

.brm-utility-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.brm-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	text-decoration: none;
	cursor: pointer;
}

.brm-icon-link--button {
	appearance: none;
	padding: 0;
	font: inherit;
}

.brm-icon-link:hover,
.brm-icon-link:focus-visible {
	background: var(--brm-primary);
	color: #ffffff;
	border-color: var(--brm-primary);
	outline: none;
}

.brm-icon-link .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.brm-icon-link em {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--brm-primary);
	color: #ffffff;
	font-style: normal;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
}

.brm-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: block;
	pointer-events: none;
}

.brm-cart-drawer.is-open {
	pointer-events: auto;
}

.brm-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(24, 24, 24, 0.46);
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.24s ease;
}

.brm-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(460px, calc(100vw - 20px));
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: #ffffff;
	border-left: 1px solid rgba(43, 43, 43, 0.12);
	box-shadow: -18px 0 42px rgba(43, 43, 43, 0.08);
	overflow: hidden;
	transform: translateX(104%);
	transition: transform 0.28s ease;
}

.brm-cart-drawer.is-open .brm-cart-drawer__backdrop {
	opacity: 1;
}

.brm-cart-drawer.is-open .brm-cart-drawer__panel {
	transform: translateX(0);
}

.brm-cart-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.15rem 1rem;
	border-bottom: 1px solid var(--brm-border);
	background: #ffffff;
}

.brm-cart-drawer__head h2 {
	margin: 0;
	font-size: 1.42rem;
	line-height: 1.12;
	letter-spacing: 0.01em;
	color: var(--brm-text);
}

.brm-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.brm-cart-drawer__close .dashicons {
	width: 18px;
	height: 18px;
	margin: 0;
	font-size: 18px;
	line-height: 18px;
}

.brm-cart-drawer__close:hover,
.brm-cart-drawer__close:focus-visible {
	border-color: var(--brm-primary);
	background: var(--brm-primary);
	color: #ffffff;
	outline: none;
}

.brm-cart-drawer__notice {
	margin: 0 1.15rem;
}

.brm-cart-drawer__body {
	display: grid;
	align-content: start;
	gap: 1rem;
	padding: 1rem 1.15rem 1.15rem;
	overflow-y: auto;
}

.brm-cart-drawer__empty {
	display: grid;
	gap: 0.7rem;
	align-content: start;
	padding-top: 0.2rem;
}

.brm-cart-drawer__empty h3 {
	margin: 0;
	font-size: 1.12rem;
	line-height: 1.3;
}

.brm-cart-drawer__empty p {
	margin: 0;
	color: var(--brm-text-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}

.brm-cart-drawer__items {
	display: grid;
	gap: 0.85rem;
}

.brm-cart-drawer__item {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.brm-cart-drawer__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.brm-cart-drawer__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	border: 1px solid rgba(43, 43, 43, 0.08);
	overflow: hidden;
}

.brm-cart-drawer__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #ffffff;
}

.brm-cart-drawer__content {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
}

.brm-cart-drawer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.brm-cart-drawer__top h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	min-width: 0;
}

.brm-cart-drawer__top h3 a {
	color: var(--brm-text);
	text-decoration: none;
}

.brm-cart-drawer__top h3 a:hover {
	color: var(--brm-primary);
}

.brm-cart-drawer__dates,
.brm-cart-drawer__time {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--brm-text-soft);
}

.brm-cart-drawer__dates {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.brm-cart-drawer__qty-form {
	display: grid;
	gap: 0.4rem;
}

.brm-cart-drawer__qty-form label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--brm-text-soft);
}

.brm-cart-drawer__qty-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
}

.brm-cart-drawer__qty-row input {
	width: 100%;
	min-height: 44px;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	font: inherit;
}

.brm-cart-drawer__price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	padding-top: 0.15rem;
	font-size: 0.9rem;
	color: var(--brm-text-soft);
}

.brm-cart-drawer__price strong {
	font-size: 1rem;
	color: var(--brm-text);
}

.brm-cart-drawer__footer {
	display: grid;
	gap: 0.95rem;
	padding: 1rem 1.15rem 1.15rem;
	border-top: 1px solid var(--brm-border);
	background: #ffffff;
}

.brm-cart-drawer__totals {
	display: grid;
	gap: 0.55rem;
}

.brm-cart-drawer__totals div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.92rem;
	color: var(--brm-text-soft);
}

.brm-cart-drawer__totals strong {
	color: var(--brm-text);
	font-size: 1rem;
}

.brm-cart-drawer__actions {
	display: grid;
	gap: 0.65rem;
}

.brm-cart-drawer__actions .brm-link-button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.brm-catalog-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	background: transparent;
}

.brm-equipment-slider {
	display: grid;
	gap: 1rem;
}

.brm-equipment-slider__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.brm-equipment-slider__heading h2 {
	margin: 0;
	font-size: clamp(1.32rem, 2.2vw, 1.9rem);
	line-height: 1.12;
	color: var(--brm-text);
}

.brm-equipment-slider__controls {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-left: auto;
}

.brm-equipment-slider__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--brm-border);
	background: var(--brm-surface);
	color: var(--brm-text);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.brm-equipment-slider__nav:hover,
.brm-equipment-slider__nav:focus-visible {
	background: var(--brm-primary);
	color: #ffffff;
	border-color: var(--brm-primary);
	outline: none;
}

.brm-equipment-slider__nav:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	background: var(--brm-surface-muted);
	color: var(--brm-text-soft);
	border-color: var(--brm-border);
}

.brm-equipment-slider__nav .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.brm-equipment-slider__viewport {
	width: 100%;
	overflow: hidden;
	position: relative;
	touch-action: pan-y pinch-zoom;
}

.brm-equipment-slider__track {
	display: flex;
	gap: 1rem;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	transition: transform 360ms ease;
}

.brm-equipment-slider__slide {
	flex: 0 0 calc((100% - 1rem) / 2);
	min-width: 0;
}

.brm-equipment-slider__slide > * {
	height: 100%;
}

@media (min-width: 981px) {
	.brm-equipment-slider__viewport {
		cursor: grab;
	}

	.brm-equipment-slider.is-dragging .brm-equipment-slider__viewport {
		cursor: grabbing;
	}

	.brm-equipment-slider.is-dragging .brm-equipment-slider__track {
		transition: none;
	}

	.brm-equipment-slider.is-dragging .brm-equipment-slider__slide,
	.brm-equipment-slider.is-dragging .brm-card,
	.brm-equipment-slider.is-dragging .brm-card * {
		user-select: none;
	}
}

.brm-equipment-slider__bullets {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
}

.brm-equipment-slider__bullet {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1px solid var(--brm-border);
	border-radius: 1px;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.brm-equipment-slider__bullet:hover,
.brm-equipment-slider__bullet:focus-visible {
	border-color: var(--brm-primary);
	transform: translateY(-1px);
	outline: none;
}

.brm-equipment-slider__bullet.is-active {
	background: var(--brm-primary);
	border-color: var(--brm-primary);
}

.brm-equipment-slider.is-static .brm-equipment-slider__controls,
.brm-equipment-slider.is-static .brm-equipment-slider__bullets {
	display: none;
}

.brm-card {
	display: grid;
	grid-template-rows: auto 1fr;
	background: var(--brm-surface);
	border: 1px solid var(--brm-border);
	min-height: 100%;
}

.brm-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	position: relative;
	background: #ffffff;
}

.brm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
	transition: transform 0.35s ease;
}

.brm-card:hover .brm-card__media img {
	transform: scale(1.03);
}

.brm-card__content {
	display: grid;
	gap: 0.78rem;
	padding: 1rem;
}

.brm-card__media-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	align-items: flex-start;
}

.brm-card__status {
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.55rem;
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--brm-primary);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(43, 43, 43, 0.1);
}

.brm-card__category {
	display: inline-block;
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6a6a6a;
}

.brm-card__title {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.25;
	font-weight: 500;
}

.brm-card__title a {
	color: var(--brm-text);
	text-decoration: none;
}

.brm-card__title a:hover {
	color: var(--brm-primary);
}

.brm-card__brand {
	margin: 0;
	font-size: 0.8rem;
	color: #707070;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.brm-card__excerpt {
	margin: 0;
	color: var(--brm-text-soft);
	font-size: 0.9rem;
	line-height: 1.52;
}

.brm-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.9rem;
	margin-top: auto;
}

.brm-card__price {
	display: grid;
	gap: 2px;
}

.brm-card__price span,
.brm-card__price small {
	font-size: 0.76rem;
	color: #757575;
	line-height: 1.2;
}

.brm-card__price strong {
	font-size: 1.06rem;
	line-height: 1.15;
	color: var(--brm-text);
}

.brm-card__actions {
	display: flex;
	gap: 0.55rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-left: auto;
}

.brm-card__actions .brm-button {
	min-width: 170px;
}

.brm-pagination {
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.brm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0 10px;
	border: 1px solid var(--brm-border);
	background: var(--brm-surface);
	color: var(--brm-text);
	text-decoration: none;
	font-size: 0.86rem;
}

.brm-pagination .current,
.brm-pagination .page-numbers:hover {
	background: var(--brm-primary);
	color: #ffffff;
	border-color: var(--brm-primary);
}

.brm-product-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.brm-product-column {
	display: grid;
	gap: 1rem;
	align-self: start;
	min-width: 0;
}

.brm-product-column--primary {
	padding-right: 0;
	border-right: 0;
	max-width: none;
	width: 100%;
}

.brm-product-gallery,
.brm-product-summary,
.brm-product-tabs,
.brm-booking-panel,
.brm-account-panel,
.brm-account-content,
.brm-checkout-cart,
.brm-checkout-form-card,
.brm-account-dashboard__summary {
	background: var(--brm-surface);
	border: 1px solid var(--brm-border);
}

.brm-product-gallery {
	padding: 1rem;
	display: grid;
	gap: 0.75rem;
	max-width: none;
	width: 100%;
}

.brm-product-gallery__main {
	aspect-ratio: 5 / 4;
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(43, 43, 43, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
}

.brm-product-gallery__track {
	display: flex;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	touch-action: pan-y;
}

.brm-product-gallery__track::-webkit-scrollbar {
	display: none;
}

.brm-product-gallery__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brm-product-gallery__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	align-items: flex-start;
}


.brm-product-gallery__status {
	display: inline-flex;
	align-items: center;
	padding: 0.34rem 0.58rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--brm-primary);
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(43, 43, 43, 0.1);
}

.brm-product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.brm-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border: 1px solid var(--brm-border);
	background: rgba(255, 255, 255, 0.94);
	color: var(--brm-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.brm-gallery-nav:hover,
.brm-gallery-nav:focus-visible {
	background: var(--brm-primary);
	color: #ffffff;
	border-color: var(--brm-primary);
	outline: none;
}

.brm-gallery-nav:disabled {
	opacity: 0.45;
	cursor: default;
}

.brm-gallery-nav--prev {
	left: 10px;
}

.brm-gallery-nav--next {
	right: 10px;
}

.brm-product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.55rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.brm-gallery-thumb {
	appearance: none;
	border: 1px solid var(--brm-border);
	padding: 0;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.brm-gallery-thumb.is-active {
	border-color: var(--brm-primary);
}

.brm-gallery-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.brm-product-summary {
	padding: 1rem;
	display: grid;
	gap: 1rem;
	min-width: 0;
	border-left: 1px solid var(--brm-border);
	padding-left: 1.1rem;
}

.brm-product-tabs-slot {
	display: block;
}

.brm-product-tabs-slot:empty {
	display: none;
}

.brm-product-tabs {
	display: grid;
	gap: 0;
}

.brm-product-tabs__nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	border-bottom: 1px solid var(--brm-border);
}

.brm-product-tabs__button {
	appearance: none;
	min-height: 48px;
	padding: 0.9rem 1rem;
	border: 0;
	border-right: 1px solid var(--brm-border);
	background: #ffffff;
	color: #666666;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.brm-product-tabs__button:last-child {
	border-right: 0;
}

.brm-product-tabs__button:hover,
.brm-product-tabs__button:focus-visible {
	background: rgba(180, 89, 74, 0.06);
	color: var(--brm-primary);
	outline: none;
}

.brm-product-tabs__button.is-active {
	background: rgba(180, 89, 74, 0.08);
	color: var(--brm-primary);
}

.brm-product-tabs__panels {
	padding: 1rem;
}

.brm-product-tabs__panel {
	display: none;
}

.brm-product-tabs__panel.is-active {
	display: block;
}

.brm-product-summary__top {
	display: grid;
	gap: 0.7rem;
}

.brm-product-summary__heading h1 {
	margin: 0;
	font-size: clamp(1.7rem, 2.2vw, 2.3rem);
	line-height: 1.1;
	font-weight: 500;
	color: var(--brm-text);
}

.brm-product-summary__heading p {
	margin: 0.5rem 0 0;
	color: var(--brm-text-soft);
	font-size: 0.96rem;
	line-height: 1.55;
}

.brm-product-meta {
	display: flex;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.brm-product-meta span {
	display: inline-flex;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4e4e4e;
	background: #f3f3f3;
}

.brm-product-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.brm-product-badges span {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	font-size: 0.76rem;
	background: rgba(180, 89, 74, 0.12);
	color: var(--brm-primary);
}

.brm-product-pricing,
.brm-product-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}

.brm-spec-list,
.brm-checkout-totals {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}

.brm-booking-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}

.brm-product-pricing div,
.brm-product-facts div,
.brm-spec-list div,
.brm-booking-summary div,
.brm-checkout-totals div {
	display: grid;
	gap: 2px;
	padding: 0.65rem 0.72rem;
	border: 1px solid var(--brm-border);
	background: var(--brm-surface-muted);
}

.brm-product-pricing span,
.brm-product-facts span,
.brm-spec-list span,
.brm-booking-summary span,
.brm-checkout-totals span {
	font-size: 0.76rem;
	color: #727272;
}

.brm-product-pricing strong,
.brm-product-facts strong,
.brm-spec-list strong,
.brm-booking-summary strong,
.brm-checkout-totals strong {
	font-size: 0.95rem;
	color: var(--brm-text);
}

.brm-checkout-rsd-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	padding: 6px 0 0;
	border-top: 1px dashed rgba(180, 89, 74, 0.2);
	margin-top: 4px;
}

.brm-checkout-rsd-row span {
	font-size: 0.78rem;
	color: #888;
}

.brm-checkout-rsd-row span small {
	opacity: 0.8;
}

.brm-checkout-rsd-row strong {
	font-size: 0.88rem;
	color: #555;
	font-weight: 600;
	white-space: nowrap;
}

.brm-product-pricing div,
.brm-product-facts div {
	padding: 0.55rem 0.62rem;
}

.brm-product-pricing span,
.brm-product-facts span {
	font-size: 0.72rem;
	line-height: 1.32;
}

.brm-product-pricing strong,
.brm-product-facts strong {
	font-size: 0.9rem;
	line-height: 1.3;
}

.brm-booking-summary div {
	padding: 0.55rem 0.62rem;
}

.brm-booking-summary span {
	font-size: 0.72rem;
	line-height: 1.32;
}

.brm-booking-summary strong {
	font-size: 0.9rem;
	line-height: 1.3;
}

.brm-booking-panel {
	padding: 1rem;
	display: grid;
	gap: 1rem;
}

.brm-booking-actions {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.brm-checkout-next {
	display: flex;
	justify-content: flex-end;
}

.brm-add-to-cart-form {
	display: grid;
	gap: 1rem;
}

.brm-single-copy,
.brm-single-specs {
	display: grid;
	gap: 1rem;
}

.brm-single-description,
.brm-admin-copy {
	color: var(--brm-text-soft);
	line-height: 1.7;
}

.brm-single-description p {
	margin: 0 0 0.8rem;
}

.brm-single-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.brm-related-section {
	display: grid;
	gap: 0.9rem;
}

.brm-checkout-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: start;
}

.brm-checkout-cart,
.brm-checkout-form-card {
	padding: 1rem;
	display: grid;
	gap: 1rem;
	align-self: start;
}

.brm-checkout-cart--summary {
	position: sticky;
	top: 24px;
}

.brm-checkout-cart--summary .brm-checkout-item {
	grid-template-columns: 108px 1fr;
}

.brm-checkout-cart--summary .brm-checkout-list {
	gap: 0.65rem;
}

.brm-checkout-cart--summary .brm-checkout-totals--overview,
.brm-checkout-cart--summary .brm-checkout-totals--final {
	margin-top: 0.1rem;
}

.brm-checkout-cart--summary .brm-form-terms {
	margin-top: 0.2rem;
	margin-bottom: 0.95rem;
	padding-top: 0.45rem;
}

.brm-checkout-cart--summary .brm-button--block {
	margin-top: 0.15rem;
}

.brm-checkout-summary__privacy {
	margin-top: 0.1rem;
}

.brm-checkout-success {
	display: grid;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
}

.brm-checkout-success__head {
	display: grid;
	gap: 0.45rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--brm-border);
}

.brm-checkout-success__head h2 {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.25;
}

.brm-checkout-success__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	font-size: 0.86rem;
	color: var(--brm-text-soft);
}

.brm-checkout-success__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.brm-checkout-success__card {
	display: grid;
	gap: 0.65rem;
	padding: 0.85rem;
	border: 1px solid var(--brm-border);
	background: #fafafa;
}

.brm-checkout-success__card h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
}

.brm-checkout-success__card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.brm-checkout-success__card li {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--brm-text);
}

.brm-checkout-success__items {
	display: grid;
	gap: 0.55rem;
}

.brm-checkout-success__item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.7rem 0;
	border-top: 1px solid rgba(43, 43, 43, 0.09);
}

.brm-checkout-success__item:first-child {
	border-top: 0;
	padding-top: 0.1rem;
}

.brm-checkout-success__item > strong {
	white-space: nowrap;
	font-size: 0.95rem;
}

.brm-checkout-success__item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.7rem;
	margin-top: 0.25rem;
	font-size: 0.82rem;
	color: var(--brm-text-soft);
}

.brm-checkout-success__totals {
	display: grid;
	gap: 0.45rem;
	padding: 0.85rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
}

.brm-checkout-success__totals > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.9rem;
}

.brm-checkout-success__totals > div span {
	color: var(--brm-text-soft);
}

.brm-checkout-list,
.brm-reservation-list {
	display: grid;
	gap: 0.75rem;
}

.brm-checkout-item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 0.8rem;
	padding: 0.75rem;
	border: 1px solid var(--brm-border);
	background: #fafafa;
	align-items: start;
}

.brm-checkout-item--compact {
	display: block;
	padding: 0.55rem 0;
	border: none;
	border-bottom: 1px solid var(--brm-border);
	background: transparent;
}

.brm-checkout-item--compact:last-child {
	border-bottom: none;
}

.brm-checkout-item__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
}

.brm-checkout-item__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--brm-text);
	line-height: 1.3;
}

.brm-checkout-item__name a {
	color: inherit;
	text-decoration: none;
}

.brm-checkout-item__name a:hover {
	color: var(--brm-primary);
}

.brm-checkout-item--compact .brm-checkout-item__total {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--brm-text);
	white-space: nowrap;
	display: block;
}

.brm-checkout-item__details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.6rem;
	margin-top: 0.2rem;
}

.brm-checkout-item__details span {
	font-size: 0.78rem;
	color: var(--brm-soft-text, #888);
}

.brm-checkout-item__details span + span::before {
	content: '·';
	margin-right: 0.6rem;
	color: #ccc;
}

.brm-checkout-item__media {
	display: block;
	background: #ffffff;
	border: 1px solid rgba(43, 43, 43, 0.1);
	aspect-ratio: 1 / 1;
	align-self: start;
}

.brm-checkout-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 8px;
}

.brm-checkout-item__body {
	display: grid;
	gap: 0.5rem;
}

.brm-cart-edit-form {
	display: grid;
	gap: 0.8rem;
	padding-top: 0.1rem;
}

.brm-cart-edit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: start;
}

.brm-cart-edit-actions {
	display: flex;
	justify-content: flex-end;
}

.brm-field-hint--cart {
	margin-top: -0.2rem;
	text-align: right;
}

.brm-field-hint {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--brm-text-soft);
}

.brm-checkout-item__top {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	align-items: flex-start;
}

.brm-checkout-item__top h3 {
	margin: 0;
	font-size: 1rem;
}

.brm-checkout-item__top h3 a {
	color: var(--brm-text);
	text-decoration: none;
}

.brm-checkout-item__top p,
.brm-checkout-item__meta {
	margin: 0;
	font-size: 0.84rem;
	color: var(--brm-text-soft);
	display: flex;
	gap: 0.7rem;
	flex-wrap: wrap;
}

.brm-checkout-item__total {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 0.45rem;
	text-align: right;
	margin-top: 0.15rem;
}

.brm-checkout-item__total span {
	font-size: 0.82rem;
	color: var(--brm-text-soft);
}

.brm-checkout-item__total strong {
	font-size: 1rem;
	color: var(--brm-text);
}

.brm-link-button {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	color: var(--brm-primary);
	font-weight: 700;
	font-size: 0.84rem;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
}

.brm-link-button:hover,
.brm-link-button:focus-visible,
.brm-link-button:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-color: transparent;
	color: var(--brm-primary-dark);
	text-decoration: underline;
	outline: none;
}

.brm-link-button--action {
	font-size: 0.92rem;
	font-weight: 700;
}

.brm-link-button--action:hover,
.brm-link-button--action:active,
.brm-link-button--action:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: none;
}

/* ── Fulfillment method toggle ── */
.brm-fulfillment-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
}

.brm-fulfillment-toggle__option {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 1.1rem 0.75rem 1rem;
	cursor: pointer;
	background: var(--brm-surface, #fff);
	border: 2px solid var(--brm-border, #e5e5e5);
	border-radius: 10px;
	text-align: center;
	transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
	user-select: none;
}

.brm-fulfillment-toggle__option:hover {
	border-color: #d0a49e;
	background: #fdf8f7;
}

.brm-fulfillment-toggle__option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.brm-fulfillment-toggle__icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f2f2f2;
	color: #999;
	transition: background 0.18s, color 0.18s;
	flex-shrink: 0;
}

.brm-fulfillment-toggle__icon svg {
	width: 20px;
	height: 20px;
}

.brm-fulfillment-toggle__label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #888;
	transition: color 0.18s;
	line-height: 1.25;
}

/* Active state */
.brm-fulfillment-toggle__option.is-active {
	border-color: var(--brm-primary, #b4594a);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(180, 89, 74, 0.10);
}

.brm-fulfillment-toggle__option.is-active .brm-fulfillment-toggle__icon {
	background: var(--brm-primary, #b4594a);
	color: #fff;
}

.brm-fulfillment-toggle__option.is-active .brm-fulfillment-toggle__label {
	color: var(--brm-primary, #b4594a);
}

/* Active checkmark badge */
.brm-fulfillment-toggle__option.is-active::after {
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--brm-primary, #b4594a);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 6 5 9 10 3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

/* ── Static pickup location display ── */
.brm-pickup-location-static {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 0.9rem;
	background: linear-gradient(135deg, #fdf5f4 0%, #fff8f7 100%);
	border: 1px solid rgba(180, 89, 74, 0.25);
	border-left: 3px solid var(--brm-primary, #b4594a);
	border-radius: 7px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--brm-text);
}

.brm-pickup-location-static svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--brm-primary, #b4594a);
}

.brm-company-toggle {
	display: flex;
	align-items: center;
	padding: 0.75rem 0.9rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
}

.brm-checkbox--company {
	width: 100%;
	gap: 0.7rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--brm-text);
	cursor: pointer;
}

.brm-checkbox--company span {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--brm-text);
}

.brm-form-terms {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--brm-text-soft);
}

.brm-checkout-form {
	display: grid;
}

.brm-checkout-form-card .brm-form-grid {
	margin-bottom: 0;
}

.brm-checkout-form .brm-form-field--full .brm-checkbox--privacy {
	padding-top: 0.3rem;
}

.brm-checkout-form .brm-checkout-totals--final {
	margin-bottom: 1rem;
}

.brm-checkout-form .brm-form-terms {
	margin-top: 0.35rem;
	margin-bottom: 0.95rem;
	padding-top: 0.55rem;
}

.brm-checkout-form > .brm-button--block {
	margin-top: 0.1rem;
}

.brm-checkout-pricing-note {
	margin: 0.75rem 0 0;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--brm-border);
	background: #fafafa;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--brm-text-soft);
}

.brm-auth-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.brm-auth-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	z-index: 9999;
}

.brm-auth-modal.is-open {
	display: flex;
}

.brm-auth-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 24, 24, 0.52);
}

.brm-auth-modal__dialog {
	position: relative;
	width: min(920px, 100%);
	max-height: min(880px, calc(100vh - 32px));
	margin: auto;
	padding: 1.5rem;
	background: #ffffff;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid rgba(43, 43, 43, 0.12);
}

.brm-auth-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	cursor: pointer;
}

.brm-auth-modal__close .dashicons {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	font-size: 18px;
	line-height: 18px;
}

.brm-auth-modal__close:hover,
.brm-auth-modal__close:focus-visible {
	background: var(--brm-primary);
	color: #ffffff;
	border-color: var(--brm-primary);
	outline: none;
}

.brm-auth-modal__head {
	padding-right: 58px;
	margin-bottom: 1.25rem;
}

.brm-auth-modal__title-line {
	display: flex;
	align-items: center;
	gap: 14px;
}

.brm-auth-modal__triangle {
	margin-top: 0;
	flex: 0 0 auto;
}

.brm-auth-modal__head h2 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 2.4rem);
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: var(--brm-text);
}

.brm-auth-modal__subtitle {
	margin: 0.9rem 0 0;
	max-width: 640px;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--brm-text-soft);
}

.brm-auth-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin-bottom: 1.15rem;
}

.brm-auth-tab {
	appearance: none;
	min-height: 44px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: #5b5b5b;
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
}

.brm-auth-tab.is-active {
	background: var(--brm-primary);
	border-color: var(--brm-primary);
	color: #ffffff;
}

.brm-auth-panel {
	display: none;
}

.brm-auth-panel.is-active {
	display: block;
}

.brm-auth-panels,
.brm-auth-panel,
.brm-auth-form,
.brm-account-register,
.brm-auth-panel .brm-form-grid,
.brm-auth-panel .brm-form-field {
	min-width: 0;
}

.brm-auth-panel .brm-form-grid {
	gap: 1rem;
}

.brm-auth-form,
.brm-account-register {
	gap: 1rem;
}

.brm-auth-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.45rem;
}

.brm-auth-modal__footer--stack {
	flex-direction: column;
	align-items: center;
}

.brm-auth-modal__footer--center {
	justify-content: center;
}

.brm-auth-link {
	color: var(--brm-primary);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.brm-auth-modal__submit {
	min-width: 230px;
	min-height: 50px;
	padding: 0.95rem 1.4rem;
	font-size: 0.98rem;
	justify-content: center;
}

.brm-auth-link:hover {
	text-decoration: underline;
}

.brm-account-panel,
.brm-account-content,
.brm-account-dashboard__summary {
	padding: 1rem;
}

.brm-account-panel--guest {
	display: grid;
	gap: 1rem;
}

.brm-account-header__actions {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.brm-account-dashboard {
	display: grid;
	gap: 1rem;
}

.brm-account-dashboard__summary h2 {
	margin: 0;
	font-size: 1.34rem;
}

.brm-account-dashboard__summary p {
	margin: 0.25rem 0 0;
	font-size: 0.9rem;
	color: var(--brm-text-soft);
}

.brm-account-nav {
	display: flex;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.brm-account-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 12px;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
}

.brm-account-nav a.is-active,
.brm-account-nav a:hover {
	color: #ffffff;
	background: var(--brm-primary);
	border-color: var(--brm-primary);
}

.brm-summary-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
}

.brm-summary-card {
	padding: 0.72rem;
	border: 1px solid var(--brm-border);
	background: var(--brm-surface-muted);
	display: grid;
	gap: 3px;
}

.brm-summary-card span {
	font-size: 0.76rem;
	color: #747474;
}

.brm-summary-card strong {
	font-size: 1.04rem;
}

.brm-account-panel-block {
	background: var(--brm-surface);
	border: 1px solid var(--brm-border);
	padding: 1rem;
}

.brm-account-panel-block h3 {
	margin: 0 0 0.7rem;
	font-size: 1.08rem;
}

.brm-account-password {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--brm-border);
	display: grid;
	gap: 0.8rem;
}

.brm-account-password h3 {
	margin: 0;
	font-size: 1.02rem;
}

.brm-account-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.65rem;
}

.brm-account-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--brm-border);
	background: #fafafa;
}

.brm-account-list strong {
	display: block;
	font-size: 0.92rem;
}

.brm-account-list span {
	font-size: 0.81rem;
	color: #6f6f6f;
}

.brm-reservation-card {
	border: 1px solid var(--brm-border);
	background: #fafafa;
	padding: 0.75rem;
	display: grid;
	gap: 0.7rem;
}

.brm-reservation-card__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.7rem;
}

.brm-reservation-card__main h3 {
	margin: 0;
	font-size: 1rem;
}

.brm-reservation-card__main p {
	margin: 0.2rem 0 0;
	font-size: 0.85rem;
	color: #6f6f6f;
}

.brm-reservation-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.brm-status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 9px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4d4d4d;
	background: #ededed;
}

.brm-status-pill--new,
.brm-status-pill--pending {
	background: #ece9e4;
	color: #614b44;
}

.brm-status-pill--confirmed {
	background: #dfeee4;
	color: #2d6b45;
}

.brm-status-pill--paid,
.brm-status-pill--completed {
	background: #dde8f5;
	color: #1a5296;
}

.brm-status-pill--cancelled {
	background: #f2dfdf;
	color: #8d3930;
}

body .ui-datepicker {
	position: absolute !important;
	width: min(320px, calc(100vw - 24px));
	padding: 0.85rem;
	border: 1px solid rgba(43, 43, 43, 0.18);
	background: #ffffff;
	color: var(--brm-text);
	font-family: inherit;
	z-index: 999999 !important;
}

body .ui-datepicker .ui-datepicker-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 44px;
	margin-bottom: 0.7rem;
}

body .ui-datepicker .ui-datepicker-prev,
body .ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--brm-border);
	background: #ffffff;
	color: var(--brm-text);
	text-decoration: none;
	cursor: pointer;
}

body .ui-datepicker .ui-datepicker-prev {
	left: 0;
}

body .ui-datepicker .ui-datepicker-next {
	right: 0;
}

body .ui-datepicker .ui-datepicker-prev:hover,
body .ui-datepicker .ui-datepicker-next:hover {
	border-color: var(--brm-primary);
	color: var(--brm-primary);
}

body .ui-datepicker .ui-datepicker-prev span,
body .ui-datepicker .ui-datepicker-next span {
	display: none;
}

body .ui-datepicker .ui-datepicker-prev::before,
body .ui-datepicker .ui-datepicker-next::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
}

body .ui-datepicker .ui-datepicker-prev::before {
	transform: rotate(-135deg);
}

body .ui-datepicker .ui-datepicker-next::before {
	transform: rotate(45deg);
}

body .ui-datepicker .ui-datepicker-title {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	text-align: center;
	font-size: 0.92rem;
	font-weight: 700;
	white-space: nowrap;
}

body .ui-datepicker .ui-datepicker-title .ui-datepicker-month,
body .ui-datepicker .ui-datepicker-title .ui-datepicker-year {
	display: inline;
}

body .ui-datepicker table {
	width: 100%;
	border-collapse: collapse;
}

body .ui-datepicker th {
	padding: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #7a7a7a;
	text-transform: uppercase;
}

body .ui-datepicker td {
	padding: 0;
}

body .ui-datepicker td a,
body .ui-datepicker td span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 36px;
	border: 1px solid transparent;
	background: #ffffff;
	color: var(--brm-text);
	text-decoration: none;
	font-size: 0.85rem;
}

body .ui-datepicker td a:hover {
	background: rgba(180, 89, 74, 0.08);
	color: var(--brm-primary);
}

body .ui-datepicker .ui-state-active {
	background: #9e483c;
	border-color: #9e483c;
	color: #ffffff;
	font-weight: 700;
}

body .ui-datepicker td a.ui-state-active:hover,
body .ui-datepicker td a.ui-state-active:focus-visible,
body .ui-datepicker td a.ui-state-active:active {
	background: #8a3f35;
	border-color: #8a3f35;
	color: #ffffff;
	outline: none;
}

body .ui-datepicker .ui-state-highlight {
	border-color: rgba(180, 89, 74, 0.3);
	color: var(--brm-primary);
}

body .ui-datepicker .ui-state-disabled span,
body .ui-datepicker .ui-datepicker-unselectable span {
	color: #b1b1b1;
}

body .ui-datepicker td.brm-date-unavailable span,
body .ui-datepicker td.ui-datepicker-unselectable.brm-date-unavailable span,
body .ui-datepicker td.brm-date-unavailable .ui-state-disabled {
	background: #bb574a;
	border-color: #bb574a;
	color: #ffffff;
	opacity: 1;
}

body .ui-datepicker td.brm-date-partial a,
body .ui-datepicker td.brm-date-partial span {
	background: #f5a623;
	border-color: #e8961a;
	color: #ffffff;
}

body .ui-datepicker td.brm-date-partial a:hover {
	background: #e8961a;
	border-color: #d4870f;
	color: #ffffff;
}

.brm-datepicker-legend {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	padding: 8px 10px;
	border-top: 1px solid #ebebeb;
	margin-top: 2px;
}

.brm-datepicker-legend__item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #555;
	line-height: 1;
}

.brm-datepicker-legend__dot {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex-shrink: 0;
}

.brm-datepicker-legend__dot--available { background: #4a8c5c; }
.brm-datepicker-legend__dot--partial   { background: #f5a623; }
.brm-datepicker-legend__dot--full      { background: #bb574a; }

@media (max-width: 1160px) {
	.brm-catalog-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-catalog-layout {
		grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	}
}

@media (max-width: 980px) {
	.brm-catalog-shell .alignwide,
	.brm-checkout-shell .alignwide,
	.brm-account-shell .alignwide,
	.brm-single-equipment .alignwide {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.brm-product-layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-checkout-layout,
	.brm-auth-layout {
		grid-template-columns: 1fr;
	}

	.brm-product-column--primary {
		padding-right: 0;
		border-right: 0;
		max-width: 100%;
	}

	.brm-product-gallery {
		max-width: 100%;
	}

	.brm-product-gallery__thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.brm-gallery-nav {
		width: 34px;
		height: 34px;
		font-size: 16px;
	}

	.brm-product-summary {
		border-left: 1px solid var(--brm-border);
		padding-left: 1.1rem;
		margin-top: 0;
		border-top: 0;
	}

	.brm-checkout-success__grid {
		grid-template-columns: 1fr;
	}

	.brm-cart-drawer__panel {
		width: min(430px, calc(100vw - 16px));
	}

	.brm-product-pricing,
	.brm-product-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-booking-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-page-header {
		gap: 1rem;
	}

	.brm-page-header__side {
		width: 100%;
		justify-content: flex-start;
	}

	.brm-catalog-filters {
		grid-template-columns: 1fr;
	}

	.brm-catalog-layout {
		grid-template-columns: 1fr;
	}

	.brm-equipment-slider__slide {
		flex-basis: 100%;
	}

	.brm-catalog-layout__filters {
		position: static;
		top: auto;
	}

	.brm-catalog-filter-toggle-row {
		display: flex;
	}

	.brm-catalog-filters--collapsible {
		display: none;
	}

	.brm-catalog-filters--collapsible.is-open {
		display: grid;
	}

	.brm-filter-field--search {
		grid-column: auto;
	}

	.brm-filter-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-product-tabs__nav {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	}

	.brm-checkout-item {
		grid-template-columns: 1fr;
	}

	.brm-cart-edit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brm-checkout-item__media {
		max-width: 280px;
	}

	.brm-field-hint--cart {
		text-align: left;
	}

	.brm-checkout-cart--summary {
		position: static;
		top: auto;
	}

	.brm-checkout-cart--summary .brm-checkout-item {
		grid-template-columns: 1fr;
	}

	.brm-checkout-item__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.brm-cart-drawer__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.brm-cart-drawer__qty-row {
		grid-template-columns: 1fr;
	}

	.brm-auth-modal__dialog {
		width: min(760px, 100%);
		padding: 1.2rem;
		max-height: calc(100vh - 20px);
	}
}

@media (max-width: 760px) {
	.brm-product-layout {
		grid-template-columns: 1fr;
	}

	.brm-product-summary {
		border-left: 0;
		padding-left: 1rem;
		margin-top: 0.25rem;
		border-top: 1px solid var(--brm-border);
	}

	.brm-gallery-nav {
		width: 32px;
		height: 32px;
		font-size: 15px;
	}

	.brm-main-heading {
		gap: 12px;
	}

	.brm-main-heading h1 {
		font-size: 1.62rem;
		line-height: 1.12;
	}

	.brm-main-heading p {
		font-size: 0.92rem;
		line-height: 1.5;
	}

	.brm-breadcrumb {
		gap: 6px;
		font-size: 0.74rem;
	}

	.brm-main-heading__triangle {
		border-top-width: 9px;
		border-bottom-width: 9px;
		border-left-width: 11px;
	}

	.brm-auth-modal__head h2 {
		font-size: 1.7rem;
	}

	.brm-auth-modal__subtitle {
		font-size: 0.92rem;
		line-height: 1.55;
	}

	.brm-cart-drawer__panel {
		width: 100%;
	}

	.brm-cart-drawer__head,
	.brm-cart-drawer__body,
	.brm-cart-drawer__footer,
	.brm-cart-drawer__notice {
		margin-left: 0.9rem;
		margin-right: 0.9rem;
	}

	.brm-cart-drawer__head,
	.brm-cart-drawer__body,
	.brm-cart-drawer__footer {
		padding-left: 0;
		padding-right: 0;
	}

	.brm-catalog-list,
	.brm-form-grid,
	.brm-booking-grid,
	.brm-cart-edit-grid,
	.brm-spec-list,
	.brm-checkout-totals,
	.brm-summary-cards {
		grid-template-columns: 1fr;
	}

	.brm-product-pricing,
	.brm-product-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.brm-booking-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.brm-product-pricing div,
	.brm-product-facts div {
		padding: 0.5rem 0.56rem;
	}

	.brm-booking-summary div {
		padding: 0.5rem 0.56rem;
	}

	.brm-catalog-shell,
	.brm-checkout-shell,
	.brm-account-shell,
	.brm-single-equipment {
		padding: 10px var(--brm-layout-edge-spacing) 20px;
	}

	.brm-shell--catalog,
	.brm-shell--checkout,
	.brm-shell--account,
	.brm-shell--single {
		gap: 1rem;
	}

	.brm-catalog-filters,
	.brm-product-gallery,
	.brm-product-summary,
	.brm-product-tabs__panels,
	.brm-booking-panel,
	.brm-checkout-cart,
	.brm-checkout-form-card,
	.brm-checkout-success,
	.brm-account-panel,
	.brm-account-content,
	.brm-account-dashboard__summary {
		padding: 0.85rem;
	}

	.brm-form-field input,
	.brm-form-field textarea,
	.brm-filter-field input,
	.brm-form-stack input,
	.brm-form-stack textarea,
	.brm-form-field .brm-select__trigger,
	.brm-filter-field .brm-select__trigger,
	.brm-form-stack .brm-select__trigger {
		font-size: 16px;
	}

	.brm-catalog-filters {
		gap: 0.8rem;
	}

	.brm-catalog-filter-toggle-row {
		justify-content: center;
		margin-bottom: -0.2rem;
	}

	.brm-filter-toggle {
		width: auto;
		max-width: 100%;
		justify-content: space-between;
		min-width: 148px;
	}

	.brm-catalog-offer-tabs {
		width: 100%;
	}

	.brm-catalog-offer-tab {
		flex: 1 1 calc(50% - 0.25rem);
	}

	.brm-filter-actions {
		grid-template-columns: 1fr;
	}

	.brm-filter-actions .brm-button {
		width: 100%;
	}

	.brm-catalog-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.brm-catalog-list {
		gap: 0.85rem;
	}

	.brm-card__content {
		padding: 0.9rem;
	}

	.brm-card__media-badge {
		top: 10px;
		left: 10px;
	}

	.brm-card__title {
		font-size: 1rem;
	}

	.brm-card__excerpt {
		font-size: 0.88rem;
	}

	.brm-card__price strong {
		font-size: 1rem;
	}

	.brm-card__actions .brm-button {
		min-width: 0;
	}

	.brm-product-gallery__main {
		aspect-ratio: 16 / 12;
	}

	.brm-product-gallery__badge {
		top: 10px;
		left: 10px;
	}

	.brm-product-gallery__main img {
		padding: 12px;
	}

	.brm-product-gallery__thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.brm-product-tabs__nav {
		grid-template-columns: 1fr;
	}

	.brm-product-tabs__button {
		border-right: 0;
		border-bottom: 1px solid var(--brm-border);
		text-align: left;
	}

	.brm-product-tabs__button:last-child {
		border-bottom: 0;
	}

	.brm-page-header,
	.brm-page-header__side,
	.brm-card__footer,
	.brm-booking-actions,
	.brm-inline-notice__actions,
	.brm-checkout-next,
	.brm-account-header__actions,
	.brm-checkout-item__top,
	.brm-account-list li,
	.brm-reservation-card__main,
	.brm-reservation-card__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.brm-checkout-success__item {
		flex-direction: column;
		align-items: flex-start;
	}

	.brm-card__actions {
		justify-content: flex-start;
	}

	.brm-company-toggle {
		padding: 0.72rem 0.8rem;
	}

	.brm-account-nav {
		display: grid;
		grid-template-columns: 1fr;
	}

	.brm-account-nav a {
		width: 100%;
		justify-content: flex-start;
		padding: 0.75rem 0.9rem;
	}

	.brm-auth-modal__dialog {
		width: 100%;
		padding: 1rem;
		max-height: calc(100vh - 16px);
	}

	.brm-cart-drawer__head {
		padding-top: 1rem;
		padding-bottom: 0.9rem;
	}

	.brm-cart-drawer__body,
	.brm-cart-drawer__footer {
		padding-top: 0.9rem;
		padding-bottom: 1rem;
	}

	.brm-auth-tabs {
		grid-template-columns: 1fr;
	}

	.brm-auth-modal__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.brm-auth-modal__footer .brm-button,
	.brm-auth-modal__footer .brm-auth-link {
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.brm-auth-link {
		padding: 0.15rem 0;
	}

	.brm-auth-modal__submit {
		min-width: 0;
	}

	.brm-toast {
		right: 12px;
		left: 12px;
		bottom: 12px;
		width: auto;
		max-width: none;
	}

	body .ui-datepicker {
		width: calc(100vw - 16px);
		padding: 0.7rem;
	}

	body .ui-datepicker .ui-datepicker-header {
		padding: 0 38px;
	}

	body .ui-datepicker .ui-datepicker-prev,
	body .ui-datepicker .ui-datepicker-next {
		width: 32px;
		height: 32px;
	}

	body .ui-datepicker th {
		font-size: 0.68rem;
	}

	body .ui-datepicker td a,
	body .ui-datepicker td span {
		min-height: 34px;
		font-size: 0.82rem;
	}

	.brm-button,
	.brm-card__actions .brm-button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.brm-main-heading h1 {
		font-size: 1.42rem;
	}

	.brm-auth-modal__title-line {
		gap: 12px;
	}

	.brm-auth-modal__head h2 {
		font-size: 1.48rem;
	}

	.brm-main-heading p {
		font-size: 0.88rem;
	}

	.brm-page-header {
		gap: 0.85rem;
	}

	.brm-card__media {
		aspect-ratio: 16 / 11;
	}

	.brm-product-gallery__thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.brm-checkout-item {
		padding: 0.65rem;
	}

	.brm-checkout-item__body {
		gap: 0.45rem;
	}

	.brm-checkout-item__meta {
		gap: 0.45rem;
	}

	.brm-summary-card,
	.brm-account-panel-block,
	.brm-reservation-card {
		padding: 0.7rem;
	}

	.brm-account-dashboard__summary h2 {
		font-size: 1.18rem;
	}

	body .ui-datepicker .ui-datepicker-title {
		font-size: 0.86rem;
	}
}

/* ── km delivery result feedback ── */
.brm-km-delivery-result {
	margin-top: 6px;
	font-size: 0.82rem;
	padding: 6px 10px;
	border-radius: 5px;
}

.brm-km-delivery-result--loading {
	color: #888;
	background: #f5f5f5;
}

.brm-km-delivery-result--ok {
	color: #2d6a2d;
	background: #f0faf0;
	border: 1px solid #c3e6c3;
}

.brm-km-delivery-result--error {
	color: #b91c1c;
	background: #fff0f0;
	border: 1px solid #fca5a5;
}

/* ── km delivery map ── */
.brm-km-delivery-map .leaflet-control-attribution {
	display: none;
}


.brm-km-delivery-map {
	margin-top: 10px;
	height: 220px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	position: relative;
}

.brm-map-overlay {
	position: absolute;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
	padding: 0.65rem;
}

.brm-map-overlay span {
	background: rgba(255, 255, 255, 0.72);
	color: var(--brm-primary);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.4rem 0.9rem;
	border-radius: 6px;
	border: 1.5px solid var(--brm-primary);
	pointer-events: none;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	box-shadow: 0 1px 6px rgba(0,0,0,0.18);
	letter-spacing: 0.01em;
}

/* Custom map marker icons */
.brm-map-icon span {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.brm-map-icon--origin span { background: #b4594a; }
.brm-map-icon--dest span   { background: #2d6a2d; }

/* Per-km rate label next to "Cena dostave" */
.brm-delivery-km-rate-label {
	font-size: 0.78rem;
	color: var(--brm-soft-text, #888);
	font-weight: 400;
	margin-left: 4px;
}
