/* stylelint-disable no-descending-specificity */

body.qrmm-branch-profile-enabled {
	overflow-x: hidden;
}

body.qrmm-branch-profile-enabled .qrmm-branch-profile,
body.qrmm-branch-profile-enabled .qrmm-branch-profile *,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal * {
	box-sizing: border-box;
}

body.qrmm-branch-profile-enabled .qrmm-branch-profile,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal,
body.qrmm-branch-profile-enabled .qrmm-branch-profile button,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal button,
body.qrmm-branch-profile-enabled .qrmm-branch-profile input,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal input,
body.qrmm-branch-profile-enabled .qrmm-branch-profile select,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal select,
body.qrmm-branch-profile-enabled .qrmm-branch-profile textarea,
body.qrmm-branch-profile-enabled .qrmm-branch-product-modal textarea {
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qrmm-branch-profile-enabled .qrmm-dd-header__inner {
	width: min(100%, 1440px);
	padding-inline: 28px;
}

body.qrmm-branch-profile-enabled .qrmm-branch-profile {
	width: min(1180px, calc(100vw - 40px));
	margin: 0 auto;
	background: #fff;
	color: var(--qrmm-public-text);
	padding: 28px 0 64px;
}

.qrmm-branch-profile--not-found {
	display: grid;
	min-height: 70vh;
	place-content: center;
	text-align: center;
}

.qrmm-branch-hero {
	overflow: hidden;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 18px;
	background: #fff;
}

.qrmm-branch-hero__cover {
	min-height: clamp(220px, 32vw, 390px);
	background:
		linear-gradient(135deg, rgba(230, 19, 52, 0.88), rgba(14, 14, 14, 0.52)),
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 32%),
		linear-gradient(135deg, #111827, #e61334);
	background-position: center;
	background-size: cover;
}

.qrmm-branch-hero__content {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 132px;
	padding: 18px 28px 20px;
}

.qrmm-branch-hero__logo {
	display: grid;
	width: 104px;
	height: 104px;
	border: 4px solid #fff;
	border-radius: 24px;
	background: var(--qrmm-public-primary);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
	color: #fff;
	font-size: 42px;
	font-weight: 850;
	place-items: center;
	transform: translateY(-64px);
	margin-bottom: -64px;
}

.qrmm-branch-hero__logo img {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	object-fit: cover;
}

.qrmm-branch-hero__copy {
	min-width: 0;
	padding-bottom: 3px;
}

.qrmm-branch-hero__copy p,
.qrmm-branch-section-head p {
	margin: 0 0 5px;
	color: #64748b;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qrmm-branch-hero__copy h1 {
	margin: 0;
	color: #111827;
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1;
}

.qrmm-branch-hero__copy strong,
.qrmm-branch-hero__copy span {
	display: block;
	margin-top: 7px;
	color: #334155;
	font-size: 15px;
	line-height: 1.45;
}

.qrmm-branch-hero__copy strong {
	color: #111827;
	font-weight: 720;
}

.qrmm-branch-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	padding-bottom: 0;
}

.qrmm-branch-hero__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 14px;
	font-weight: 760;
	gap: 9px;
	padding: 0 18px;
	text-decoration: none;
}

.qrmm-branch-hero__actions a:first-child {
	border-color: var(--qrmm-public-primary);
	background: var(--qrmm-public-primary);
	color: #fff;
}

.qrmm-branch-hero__actions svg,
.qrmm-branch-tabbar svg,
.qrmm-branch-info-grid svg,
.qrmm-branch-contact-grid svg,
.qrmm-branch-wifi-card svg,
.qrmm-branch-social-list svg,
.qrmm-branch-qr-session svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-qr-session {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 8px;
	background: #fff;
	padding: 12px 14px;
	color: #111827;
}

.qrmm-branch-qr-session__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: #f8fafc;
	color: var(--qrmm-public-primary);
}

.qrmm-branch-qr-session strong {
	display: block;
	margin: 0 0 3px;
	font-size: 14px;
	font-weight: 760;
}

.qrmm-branch-qr-session p {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 620;
}

.qrmm-branch-qr-session p span::before {
	content: "·";
	margin-right: 6px;
	color: #94a3b8;
}

.qrmm-branch-qr-session.is-active {
	border-color: #fecdd3;
	background: #fff7f8;
}

.qrmm-branch-qr-session.is-warning {
	border-color: #fed7aa;
	background: #fff7ed;
}

.qrmm-branch-qr-session.is-warning .qrmm-branch-qr-session__icon {
	background: #ffedd5;
	color: #c2410c;
}

.qrmm-branch-stats {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0;
}

.qrmm-branch-stats div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 14px;
	background: #fff;
	padding: 0 18px;
}

.qrmm-branch-stats b {
	color: #111827;
	font-size: 30px;
	font-weight: 820;
	line-height: 1;
}

.qrmm-branch-stats span {
	color: #64748b;
	font-size: 13px;
	font-weight: 760;
}

.qrmm-branch-campaigns {
	margin: 18px 0;
}

.qrmm-branch-campaigns__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.qrmm-branch-campaigns__head p {
	margin: 0 0 4px;
	color: #64748b;
	font-size: 12px;
	font-weight: 760;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qrmm-branch-campaigns__head h2 {
	margin: 0;
	color: #111827;
	font-size: 22px;
	font-weight: 780;
	line-height: 1.15;
}

.qrmm-branch-campaigns__head span {
	border-radius: 999px;
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
	font-size: 13px;
	font-weight: 760;
	padding: 8px 12px;
	white-space: nowrap;
}

.qrmm-branch-campaign-slider {
	display: grid;
	grid-auto-columns: minmax(280px, 1fr);
	grid-auto-flow: column;
	gap: 14px;
	overflow-x: auto;
	padding: 2px 2px 10px;
	scroll-snap-type: x mandatory;
}

.qrmm-branch-campaign-slider::-webkit-scrollbar {
	height: 6px;
}

.qrmm-branch-campaign-slider::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.18);
}

.qrmm-branch-campaign-card {
	display: grid;
	overflow: hidden;
	min-height: 190px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	color: inherit;
	cursor: pointer;
	padding: 0;
	scroll-snap-align: start;
	text-align: left;
}

.qrmm-branch-campaign-card__media {
	position: relative;
	display: grid;
	min-height: 128px;
	background:
		linear-gradient(135deg, rgba(230, 19, 52, 0.88), rgba(15, 23, 42, 0.5)),
		var(--qrmm-public-primary);
	background-position: center;
	background-size: cover;
	color: #fff;
	place-items: center;
}

.qrmm-branch-campaign-card__media svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-campaign-card__media em {
	position: absolute;
	top: 12px;
	left: 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--qrmm-public-primary);
	font-size: 12px;
	font-style: normal;
	font-weight: 820;
	padding: 7px 10px;
}

.qrmm-branch-campaign-card__copy {
	display: grid;
	gap: 4px;
	padding: 13px 14px;
}

.qrmm-branch-campaign-card__copy strong {
	color: #111827;
	font-size: 16px;
	font-weight: 760;
}

.qrmm-branch-campaign-card__copy small {
	overflow: hidden;
	color: #64748b;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qrmm-branch-tabs {
	border: 1px solid var(--qrmm-public-border);
	border-radius: 16px;
	background: #fff;
}

.qrmm-branch-tabbar {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding: 14px;
	border-bottom: 1px solid var(--qrmm-public-border);
}

.qrmm-branch-tabbar::-webkit-scrollbar {
	height: 0;
}

.qrmm-branch-tabbar button {
	display: inline-flex;
	align-items: center;
	border: 0;
	border-radius: 999px;
	background: #f6f6f6;
	color: #334155;
	cursor: pointer;
	font-size: 14px;
	font-weight: 720;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	white-space: nowrap;
}

.qrmm-branch-tabbar button.is-active {
	background: var(--qrmm-public-primary);
	color: #fff;
}

.qrmm-branch-panel {
	display: none;
	padding: 22px;
}

.qrmm-branch-panel.is-active {
	display: block;
}

.qrmm-branch-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.qrmm-branch-section-head h2 {
	margin: 0;
	color: #111827;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 820;
	line-height: 1.1;
}

.qrmm-branch-section-head > span {
	border-radius: 999px;
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
	font-size: 13px;
	font-weight: 760;
	padding: 8px 12px;
	white-space: nowrap;
}

.qrmm-branch-menu-toolbar {
	display: grid;
	gap: 12px;
	margin-bottom: 18px;
}

.qrmm-branch-product-search {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 8px;
	background: #fff;
	color: #64748b;
	min-height: 46px;
	padding: 0 14px;
}

.qrmm-branch-product-search svg {
	width: 18px;
	height: 18px;
	stroke: currentcolor;
	stroke-width: 2;
	fill: none;
	flex: 0 0 auto;
}

.qrmm-branch-product-search:focus-within {
	border-color: var(--qrmm-public-primary);
	box-shadow: 0 0 0 3px rgba(230, 19, 52, 0.08);
}

.qrmm-branch-product-search input {
	border: 0;
	background: transparent;
	color: #111827;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	min-height: 44px;
	outline: 0;
	width: 100%;
}

.qrmm-branch-product-search input::placeholder {
	color: #94a3b8;
	font-weight: 600;
}

.qrmm-branch-category-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding: 0 0 4px;
	scrollbar-width: thin;
}

.qrmm-branch-category-bar::-webkit-scrollbar {
	height: 6px;
}

.qrmm-branch-category-bar::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(100, 116, 139, 0.24);
}

.qrmm-branch-category-bar button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 999px;
	background: #fff;
	color: #334155;
	cursor: pointer;
	font-size: 14px;
	font-weight: 680;
	min-height: 38px;
	padding: 0 13px;
	white-space: nowrap;
}

.qrmm-branch-category-bar button:hover,
.qrmm-branch-category-bar button:focus-visible {
	border-color: var(--qrmm-public-primary);
	color: var(--qrmm-public-primary);
	outline: none;
}

.qrmm-branch-category-bar button.is-active {
	border-color: rgba(230, 19, 52, 0.2);
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
}

.qrmm-branch-category-bar small {
	display: inline-grid;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	font-size: 11px;
	font-weight: 760;
	min-width: 22px;
	min-height: 22px;
	padding: 0 7px;
	place-items: center;
}

.qrmm-branch-menu-strip {
	display: grid;
	grid-auto-columns: minmax(220px, 1fr);
	grid-auto-flow: column;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 8px;
	margin-bottom: 18px;
}

.qrmm-branch-menu-strip a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 14px;
	background: #fff;
	color: #111827;
	padding: 15px;
	text-decoration: none;
}

.qrmm-branch-menu-strip strong {
	font-size: 15px;
	font-weight: 780;
}

.qrmm-branch-menu-strip small {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.qrmm-branch-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.qrmm-branch-product.is-hidden {
	display: none;
}

.qrmm-branch-products-empty {
	margin-top: 12px;
}

.qrmm-branch-product-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.qrmm-branch-product-pagination__nav,
.qrmm-branch-product-pagination__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 999px;
	background: #fff;
	color: #111827;
	cursor: pointer;
	font-size: 14px;
	font-weight: 720;
	min-height: 42px;
	transition:
		border-color 160ms ease,
		color 160ms ease,
		background-color 160ms ease;
}

.qrmm-branch-product-pagination__nav {
	min-width: 96px;
	padding: 0 18px;
}

.qrmm-branch-product-pagination__pages {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.qrmm-branch-product-pagination__page {
	width: 42px;
	padding: 0;
}

.qrmm-branch-product-pagination__page.is-active {
	border-color: var(--qrmm-public-primary);
	background: var(--qrmm-public-primary);
	color: #fff;
}

.qrmm-branch-product-pagination__nav:hover:not(:disabled),
.qrmm-branch-product-pagination__nav:focus-visible:not(:disabled),
.qrmm-branch-product-pagination__page:hover:not(.is-active),
.qrmm-branch-product-pagination__page:focus-visible:not(.is-active) {
	border-color: var(--qrmm-public-primary);
	color: var(--qrmm-public-primary);
	outline: none;
}

.qrmm-branch-product-pagination__nav:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.qrmm-branch-product-pagination small {
	display: inline-grid;
	border-radius: 999px;
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
	font-size: 11px;
	font-weight: 820;
	min-width: 24px;
	min-height: 24px;
	padding: 0 8px;
	place-items: center;
}

.qrmm-branch-product {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 118px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 16px;
	background: #fff;
	color: #111827;
	cursor: pointer;
	font: inherit;
	padding: 12px;
	text-decoration: none;
	text-align: left;
	width: 100%;
}

.qrmm-branch-product:hover,
.qrmm-branch-product:focus-visible {
	border-color: var(--qrmm-public-primary);
	background: #fff7f8;
	outline: none;
}

.qrmm-branch-product__image {
	display: grid;
	width: 84px;
	height: 84px;
	border-radius: 14px;
	background: #f5f5f5;
	color: var(--qrmm-public-primary);
	place-items: center;
}

.qrmm-branch-product__image img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.qrmm-branch-product__copy {
	min-width: 0;
}

.qrmm-branch-product__copy strong {
	display: block;
	overflow: hidden;
	color: #111827;
	font-size: 16px;
	font-weight: 780;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qrmm-branch-product__copy small {
	display: -webkit-box;
	overflow: hidden;
	color: #64748b;
	font-size: 13px;
	line-height: 1.45;
	margin-top: 5px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.qrmm-branch-product em {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 7px;
	grid-column: 2;
	color: var(--qrmm-public-primary);
	font-style: normal;
	font-size: 15px;
	font-weight: 820;
}

.qrmm-branch-product em del {
	color: #9ca3af;
	font-size: 13px;
	font-weight: 640;
	text-decoration-thickness: 1px;
}

.qrmm-branch-product em ins {
	color: var(--qrmm-public-primary);
	font-style: normal;
	font-weight: 820;
	text-decoration: none;
}

.qrmm-branch-product em .woocommerce-Price-amount {
	white-space: nowrap;
}

.qrmm-branch-info-grid,
.qrmm-branch-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.qrmm-branch-info-grid article,
.qrmm-branch-contact-grid div,
.qrmm-branch-wifi-card,
.qrmm-branch-empty {
	border: 1px solid var(--qrmm-public-border);
	border-radius: 16px;
	background: #fff;
	padding: 18px;
}

.qrmm-branch-info-grid svg,
.qrmm-branch-contact-grid svg,
.qrmm-branch-wifi-card > svg {
	display: grid;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
	padding: 9px;
}

.qrmm-branch-info-grid h2 {
	margin: 16px 0 8px;
	color: #111827;
	font-size: 20px;
	font-weight: 800;
}

.qrmm-branch-info-grid p,
.qrmm-branch-empty {
	margin: 0;
	color: #475569;
	font-size: 15px;
	line-height: 1.65;
}

.qrmm-branch-contact-grid div {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 13px;
}

.qrmm-branch-contact-grid svg {
	grid-row: span 2;
}

.qrmm-branch-contact-grid small,
.qrmm-branch-wifi-card small {
	color: #64748b;
	font-size: 12px;
	font-weight: 760;
	text-transform: uppercase;
}

.qrmm-branch-contact-grid strong,
.qrmm-branch-wifi-card strong {
	overflow: hidden;
	color: #111827;
	font-size: 16px;
	font-weight: 780;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qrmm-branch-wifi-card {
	display: flex;
	align-items: center;
	gap: 14px;
}

.qrmm-branch-wifi-card span {
	display: block;
	margin-top: 4px;
	color: #64748b;
	font-size: 14px;
}

.qrmm-branch-social-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.qrmm-branch-social-list a {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 14px;
	background: #fff;
	color: #111827;
	font-size: 15px;
	font-weight: 760;
	gap: 10px;
	min-height: 56px;
	padding: 0 16px;
	text-decoration: none;
}

.qrmm-branch-social-list a:hover,
.qrmm-branch-social-list a:focus-visible {
	border-color: var(--qrmm-public-primary);
	color: var(--qrmm-public-primary);
	outline: none;
}

.qrmm-branch-about-layout {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 18px;
}

.qrmm-branch-about-nav {
	display: grid;
	align-content: start;
	gap: 8px;
}

.qrmm-branch-about-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 46px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: #f6f6f6;
	color: #334155;
	cursor: pointer;
	font-size: 14px;
	font-weight: 740;
	gap: 10px;
	padding: 0 14px;
	text-align: left;
}

.qrmm-branch-about-nav button.is-active {
	border-color: rgba(230, 19, 52, 0.16);
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
}

.qrmm-branch-about-nav svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-about-panel {
	display: none;
}

.qrmm-branch-about-panel.is-active {
	display: block;
}

.qrmm-branch-review-summary {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}

.qrmm-branch-review-score,
.qrmm-branch-review-bars {
	border: 1px solid var(--qrmm-public-border);
	border-radius: 16px;
	background: #fff;
	padding: 16px;
}

.qrmm-branch-review-score {
	display: grid;
	align-content: center;
	gap: 6px;
}

.qrmm-branch-review-score strong {
	color: #111827;
	font-size: 42px;
	font-weight: 760;
	line-height: 1;
}

.qrmm-branch-review-score span {
	color: #f59e0b;
	font-size: 16px;
	letter-spacing: 1px;
}

.qrmm-branch-review-score small {
	color: #64748b;
	font-size: 13px;
	font-weight: 680;
}

.qrmm-branch-review-bars {
	display: grid;
	gap: 9px;
}

.qrmm-branch-review-bars div {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 10px;
	color: #475569;
	font-size: 13px;
	font-weight: 680;
}

.qrmm-branch-review-bars i {
	overflow: hidden;
	height: 8px;
	border-radius: 999px;
	background: #eef2f7;
}

.qrmm-branch-review-bars b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--qrmm-public-primary);
}

.qrmm-branch-review-bars em {
	font-style: normal;
	text-align: right;
}

.qrmm-branch-reviews {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.qrmm-branch-review {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 16px;
	background: #fff;
	padding: 14px;
}

.qrmm-branch-review__image {
	display: grid;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	background: #f6f6f6;
	color: var(--qrmm-public-primary);
	place-items: center;
}

.qrmm-branch-review__image img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.qrmm-branch-review__copy {
	min-width: 0;
}

.qrmm-branch-review__copy header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.qrmm-branch-review__copy strong {
	overflow: hidden;
	color: #111827;
	font-size: 15px;
	font-weight: 780;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qrmm-branch-review__copy header span {
	color: #f59e0b;
	font-size: 13px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.qrmm-branch-review__copy small {
	display: block;
	overflow: hidden;
	color: #64748b;
	font-size: 12px;
	font-weight: 720;
	margin-top: 4px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qrmm-branch-review__copy p {
	display: -webkit-box;
	overflow: hidden;
	margin: 9px 0 0;
	color: #334155;
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

body.qrmm-branch-modal-open {
	overflow: hidden;
}

.qrmm-branch-product-modal,
.qrmm-branch-campaign-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.qrmm-branch-product-modal[hidden],
.qrmm-branch-campaign-modal[hidden] {
	display: none;
}

.qrmm-branch-product-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.qrmm-branch-product-modal__dialog,
.qrmm-branch-campaign-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.qrmm-branch-product-modal.is-visible .qrmm-branch-product-modal__backdrop,
.qrmm-branch-product-modal.is-visible .qrmm-branch-product-modal__dialog,
.qrmm-branch-campaign-modal.is-visible .qrmm-branch-product-modal__backdrop,
.qrmm-branch-campaign-modal.is-visible .qrmm-branch-campaign-modal__dialog {
	opacity: 1;
}

.qrmm-branch-product-modal.is-visible .qrmm-branch-product-modal__dialog,
.qrmm-branch-campaign-modal.is-visible .qrmm-branch-campaign-modal__dialog {
	transform: translateY(0) scale(1);
}

.qrmm-branch-product-modal__close {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	display: grid;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #111827;
	cursor: pointer;
	place-items: center;
}

.qrmm-branch-product-modal__close svg,
.qrmm-branch-product-modal__actions svg,
.qrmm-branch-product-modal__qty svg,
.qrmm-branch-product-modal__chip svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-campaign-modal__media {
	display: grid;
	min-height: 220px;
	background:
		linear-gradient(135deg, rgba(230, 19, 52, 0.85), rgba(15, 23, 42, 0.5)),
		var(--qrmm-public-primary);
	color: #fff;
	place-items: center;
}

.qrmm-branch-campaign-modal__media img {
	width: 100%;
	height: 100%;
	max-height: 300px;
	object-fit: cover;
}

.qrmm-branch-campaign-modal__media svg {
	width: 42px;
	height: 42px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-campaign-modal__body {
	display: grid;
	gap: 14px;
	padding: 24px;
}

.qrmm-branch-campaign-modal__body > span {
	justify-self: start;
	border-radius: 999px;
	background: var(--qrmm-public-primary-soft);
	color: var(--qrmm-public-primary);
	font-size: 12px;
	font-weight: 820;
	padding: 7px 10px;
}

.qrmm-branch-campaign-modal__body h2 {
	margin: 0;
	color: #111827;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 820;
	letter-spacing: 0;
	line-height: 1.05;
}

.qrmm-branch-campaign-modal__body p {
	margin: 0;
	color: #475569;
	font-size: 15px;
	line-height: 1.55;
}

.qrmm-branch-campaign-modal__rule {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.qrmm-branch-campaign-modal__rule div {
	display: grid;
	gap: 5px;
	border: 1px solid var(--qrmm-public-border);
	border-radius: 14px;
	background: #f8fafc;
	padding: 14px;
}

.qrmm-branch-campaign-modal__rule small {
	color: #64748b;
	font-size: 12px;
	font-weight: 760;
	text-transform: uppercase;
}

.qrmm-branch-campaign-modal__rule strong {
	color: #111827;
	font-size: 15px;
	font-weight: 760;
}

.qrmm-branch-campaign-modal details {
	border-top: 1px solid var(--qrmm-public-border);
	padding-top: 12px;
}

.qrmm-branch-campaign-modal summary {
	cursor: pointer;
	color: #111827;
	font-weight: 760;
}

.qrmm-branch-product-modal__media {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
	height: min(360px, 42vh);
	min-height: 0;
	background: #f6f6f6;
	color: var(--qrmm-public-primary);
	font-size: 64px;
	font-weight: 800;
}

.qrmm-branch-product-modal__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qrmm-branch-product-modal__body {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 26px 30px 30px;
}

.qrmm-branch-product-modal__body p {
	margin: 0 0 6px;
	color: #64748b;
	font-size: 12px;
	font-weight: 760;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qrmm-branch-product-modal__body h2 {
	margin: 0;
	color: #111827;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 780;
	line-height: 1.08;
}

.qrmm-branch-product-modal__body span[data-qrmm-product-modal-description] {
	display: block;
	margin-top: 10px;
	color: #475569;
	font-size: 15px;
	line-height: 1.55;
}

.qrmm-branch-product-modal__body .qrmm-public-product__price {
	margin: 0;
}

.qrmm-branch-product-modal__facts,
.qrmm-branch-product-modal__chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.qrmm-branch-product-modal__facts {
	margin-top: 10px;
}

.qrmm-branch-product-modal__facts .qrmm-public-quickfact svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.qrmm-branch-product-modal__facts[hidden],
.qrmm-branch-product-modal__groups[hidden],
.qrmm-branch-product-modal__options[hidden] {
	display: none;
}

.qrmm-branch-product-modal__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #f6f6f6;
	color: var(--qrmm-public-text);
	font-size: 13px;
	font-weight: 650;
	line-height: 1;
	padding: 8px 12px;
}

.qrmm-branch-product-modal__chip svg {
	width: 16px;
	height: 16px;
	color: currentcolor;
}

.qrmm-branch-product-modal__groups {
	display: grid;
	gap: 10px;
	padding: 0 0 14px;
	border: 0;
}

.qrmm-branch-product-modal__details[hidden] {
	display: none;
}

.qrmm-branch-product-modal__groups section {
	display: grid;
	gap: 10px;
}

.qrmm-branch-product-modal__groups h3 {
	margin: 0;
	color: var(--qrmm-public-text);
	font-size: 15px;
	font-weight: 720;
	text-transform: none;
}

.qrmm-branch-product-modal__chip-list {
	margin-top: 0;
}

.qrmm-branch-product-modal__options {
	display: grid;
	gap: 12px;
	border-top: 1px solid var(--qrmm-public-border);
	padding: 16px 0 4px;
}

.qrmm-branch-product-modal__option-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.qrmm-branch-product-modal__option-head h3 {
	margin: 0;
	color: var(--qrmm-public-text);
	font-size: 20px;
	font-weight: 720;
	line-height: 1.15;
}

.qrmm-branch-product-modal__option-head p {
	margin: 4px 0 0;
	color: #4b5563;
	font-size: 14px;
	font-weight: 620;
	line-height: 1.3;
	text-transform: none;
}

.qrmm-branch-product-modal__option-head > span {
	flex: 0 0 auto;
	border-radius: 999px;
	background: #f1f1f1;
	color: #71717a;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	padding: 7px 10px;
}

.qrmm-branch-product-modal__option-list {
	display: grid;
	gap: 4px;
}

.qrmm-branch-product-modal__portion {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 22px;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 58px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--qrmm-public-text);
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.25;
	padding: 14px 12px;
	position: relative;
	text-align: left;
}

.qrmm-branch-product-modal__portion::after {
	position: absolute;
	right: 12px;
	bottom: -3px;
	left: 12px;
	height: 1px;
	background: var(--qrmm-public-border);
	content: "";
}

.qrmm-branch-product-modal__portion:last-child::after {
	display: none;
}

.qrmm-branch-product-modal__portion:hover,
.qrmm-branch-product-modal__portion.is-active {
	background: #f7f7f7;
	color: var(--qrmm-public-text);
}

.qrmm-branch-product-modal__portion:hover::after,
.qrmm-branch-product-modal__portion.is-active::after {
	opacity: 0;
}

.qrmm-branch-product-modal__portion:focus-visible {
	background: #f7f7f7;
	outline: 2px solid var(--qrmm-public-primary);
	outline-offset: 2px;
}

.qrmm-branch-product-modal__portion strong {
	display: block;
	min-width: 0;
	color: var(--qrmm-public-text);
	font-size: 15px;
	font-weight: 650;
}

.qrmm-branch-product-modal__portion small {
	display: block;
	margin-top: 3px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

.qrmm-branch-product-modal__portion em {
	color: #3f3f46;
	font-style: normal;
	font-size: 14px;
	font-weight: 650;
	white-space: nowrap;
}

.qrmm-branch-product-modal__portion i {
	display: block;
	width: 20px;
	height: 20px;
	border: 2px solid #a1a1aa;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 4px #fff;
}

.qrmm-branch-product-modal__portion.is-active i {
	border-color: var(--qrmm-public-primary);
	background: var(--qrmm-public-primary);
}

.qrmm-branch-product-modal__qty {
	display: inline-grid;
	grid-template-columns: 40px 48px 40px;
	align-items: center;
	width: max-content;
	border-radius: 999px;
	background: #f6f6f6;
	padding: 4px;
}

.qrmm-branch-product-modal__qty button {
	display: grid;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	cursor: pointer;
	place-items: center;
}

.qrmm-branch-product-modal__qty b {
	color: #111827;
	font-size: 16px;
	font-weight: 740;
	text-align: center;
}

.qrmm-branch-product-modal__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 10px;
}

.qrmm-branch-product-modal__actions a,
.qrmm-branch-product-modal__actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 760;
	text-decoration: none;
}

.qrmm-branch-product-modal__actions a {
	border: 1px solid var(--qrmm-public-border);
	background: #fff;
	color: #111827;
}

.qrmm-branch-product-modal__actions button {
	border: 0;
	background: var(--qrmm-public-primary);
	color: #fff;
	cursor: pointer;
	gap: 8px;
}

.qrmm-branch-product-modal__actions button[disabled] {
	cursor: wait;
	opacity: 0.72;
}

.qrmm-branch-product-modal__status {
	min-height: 18px;
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
}

.qrmm-branch-product-modal__status[data-tone="success"] {
	color: #047857;
}

.qrmm-branch-product-modal__status[data-tone="error"] {
	color: var(--qrmm-public-primary);
}

@media (max-width: 980px) {

	.qrmm-branch-profile {
		width: min(100%, calc(100vw - 24px));
		padding-top: 18px;
	}

	.qrmm-branch-profile-enabled .qrmm-dd-header__inner {
		width: min(100%, calc(100vw - 24px));
		padding-inline: 0;
	}

	.qrmm-branch-hero__content {
		grid-template-columns: auto minmax(0, 1fr);
		padding-inline: 18px;
	}

	.qrmm-branch-hero__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.qrmm-branch-stats,
	.qrmm-branch-products,
	.qrmm-branch-info-grid,
	.qrmm-branch-contact-grid,
	.qrmm-branch-social-list,
	.qrmm-branch-review-summary,
	.qrmm-branch-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qrmm-branch-campaign-slider {
		grid-auto-columns: minmax(260px, 72vw);
	}
}

@media (max-width: 640px) {

	.qrmm-branch-profile {
		width: 100%;
		padding: 0 0 48px;
	}

	.qrmm-branch-profile-enabled .qrmm-dd-header__inner {
		width: 100%;
		padding-inline: 12px;
	}

	.qrmm-branch-hero,
	.qrmm-branch-tabs {
		border-left: 0;
		border-right: 0;
		border-radius: 0;
	}

	.qrmm-branch-hero__content {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 18px;
	}

	.qrmm-branch-hero__logo {
		width: 88px;
		height: 88px;
		transform: none;
		margin-bottom: 0;
	}

	.qrmm-branch-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 12px;
	}

	.qrmm-branch-campaigns {
		padding: 0 12px;
	}

	.qrmm-branch-campaigns__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.qrmm-branch-campaign-slider {
		grid-auto-columns: minmax(248px, 86vw);
	}

	.qrmm-branch-panel {
		padding: 16px 12px;
	}

	.qrmm-branch-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.qrmm-branch-products,
	.qrmm-branch-info-grid,
	.qrmm-branch-contact-grid,
	.qrmm-branch-social-list,
	.qrmm-branch-review-summary,
	.qrmm-branch-reviews {
		grid-template-columns: 1fr;
	}

	.qrmm-branch-about-layout {
		grid-template-columns: 1fr;
	}

	.qrmm-branch-about-nav {
		display: flex;
		overflow-x: auto;
	}

	.qrmm-branch-about-nav button {
		flex: 0 0 auto;
	}

	.qrmm-branch-product-modal__dialog,
	.qrmm-branch-campaign-modal__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.qrmm-branch-product-modal__media {
		min-height: 240px;
	}

	.qrmm-branch-product-modal__body {
		padding: 22px;
	}

	.qrmm-branch-product-modal__actions {
		grid-template-columns: 1fr;
	}

	.qrmm-branch-campaign-modal__rule {
		grid-template-columns: 1fr;
	}
}
