* {
	box-sizing: border-box;
}

.mar-fullscreen-page {
	margin: 0;
	background: #e5e5e5;
}

.mar-app {
	--mar-primary: #ff4b00;
	width: min(100%, 380px);
	height: 100dvh;
	margin: auto;
	background: #fff;
	color: #242424;
	font-family: Poppins, Arial, sans-serif;
	display: grid;
	grid-template-rows: 79px 1fr 64px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 12px #0003;
}

.mar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #ddd;
	background: #fff;
	z-index: 5;
}

.mar-logo {
	max-width: 150px;
	color: var(--mar-primary);
	font-size: 18px;
}

.mar-logo img {
	display: block;
	width: 140px;
	max-height: 45px;
	object-fit: contain;
	object-position: left center;
}

.mar-share {
	width: 36px;
	height: 36px;
	border: 1px solid #999;
	border-radius: 4px;
	background: #fff;
	font-size: 20px;
}

.mar-content {
	min-height: 0;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.mar-view {
	display: none;
	min-height: 100%;
}

.mar-view.is-active {
	display: block;
}

.mar-cover {
	height: 190px;
	background: #eee center / cover no-repeat;
}

.mar-profile {
	width: 170px;
	height: 170px;
	margin: -85px auto 0;
	border-radius: 50%;
	border: 7px solid #fff;
	background: #ddd center / cover no-repeat;
	box-shadow: 0 2px 5px #0004;
	position: relative;
}

.mar-intro {
	text-align: center;
	padding: 0 28px 60px;
}

.mar-intro h1 {
	font-size: 30px;
	margin: 4px 0 0;
}

.mar-intro p {
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 25px;
}

.mar-socials {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 0 34px;
}

.mar-socials a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: #fff;
	background: #444;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 700;
}

.mar-action {
	display: block;
	margin: 18px auto;
	padding: 12px;
	background: #fff;
	color: #111;
	text-decoration: none;
	box-shadow: 0 2px 8px #0002;
	border: 1px solid #eee;
}

.mar-title {
	text-align: center;
	font-size: 23px;
	font-weight: 800;
	padding: 17px 10px;
	margin: 0;
	border-bottom: 1px solid #ddd;
}

.mar-categories {
	display: flex;
	overflow-x: auto;
	gap: 30px;
	padding: 20px 26px;
	border-bottom: 1px solid #ddd;
	white-space: nowrap;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 3;
}

.mar-categories a {
	position: relative;
	padding-bottom: 16px;
	font-size: 13px;
	color: #555;
	text-decoration: none;
}

.mar-categories a.is-active {
	color: var(--mar-primary);
	font-weight: 800;
}

.mar-categories a.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--mar-primary);
}

.mar-menu-body {
	padding: 18px 15px 80px;
}

.mar-category {
	scroll-margin-top: 76px;
}

.mar-category h3 {
	font-size: 17px;
	margin: 6px 0;
}

.mar-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 25px;
}

.mar-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.mar-product {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 0 14px;
	border: 0;
	background: #fff;
	text-align: left;
	position: relative;
	cursor: pointer;
}

.mar-card-image {
	width: 100%;
	aspect-ratio: 1;
	background: #ffde5a;
}

.mar-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mar-product strong {
	padding: 10px 12px 3px;
	color: var(--mar-primary);
	font-size: 15px;
}

.mar-product > span:not(.mar-badge) {
	padding: 0 12px;
	font-size: 13px;
}

.mar-badge {
	position: absolute;
	z-index: 2;
	right: -31px;
	top: 14px;
	width: 110px;
	padding: 5px 0;
	transform: rotate(45deg);
	background: #388bdd;
	color: #fff;
	text-align: center;
	font-size: 10px;
}

.mar-empty,
.mar-hours {
	text-align: center;
	padding: 70px 30px;
}

.mar-clock {
	font-size: 70px;
	color: var(--mar-primary);
}

.mar-hours p {
	line-height: 2;
}

.mar-bottom {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #575757;
	z-index: 6;
}

.mar-bottom button {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}

.mar-bottom button span {
	display: block;
	font-size: 19px;
	margin-bottom: 3px;
}

.mar-bottom button.is-active {
	background: var(--mar-primary);
}

.mar-cart {
	position: absolute;
	right: 18px;
	bottom: 78px;
	border: 0;
	border-radius: 24px;
	padding: 13px 20px;
	background: #51b848;
	color: #fff;
	font-weight: 700;
	z-index: 8;
}

.mar-cart-panel,
.mar-product-panel {
	position: absolute;
	inset: 0;
	background: #0009;
	z-index: 10;
	padding: 22px;
	align-items: flex-end;
}

.mar-product-panel {
	z-index: 11;
	padding: 18px;
}

.mar-cart-panel:not([hidden]),
.mar-product-panel:not([hidden]) {
	display: flex;
}

.mar-cart-box {
	width: 100%;
	max-height: 75%;
	overflow: auto;
	background: #fff;
	border-radius: 14px;
	padding: 22px;
	position: relative;
}

.mar-cart-close {
	position: absolute;
	right: 12px;
	top: 8px;
	border: 0;
	background: none;
	font-size: 28px;
}

.mar-cart-step {
	display: none;
}

.mar-cart-step.is-active {
	display: block;
}

.mar-cart-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.mar-cart-row button {
	border: 0;
	background: #eee;
}

.mar-cart-total {
	font-weight: 700;
	text-align: right;
	padding: 18px 0;
}

.mar-order {
	width: 100%;
	border: 0;
	border-radius: 5px;
	padding: 14px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
}

.mar-cart-next {
	width: 100%;
	border: 0;
	border-radius: 5px;
	padding: 14px;
	background: var(--mar-primary);
	color: #fff;
	font-weight: 700;
}

.mar-field {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 16px;
}

.mar-field textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px;
	font: inherit;
	resize: vertical;
}

.mar-payment-wrap {
	margin-bottom: 18px;
}

.mar-payment-wrap > strong {
	display: block;
	font-size: 13px;
	margin-bottom: 8px;
}

.mar-payment-methods {
	display: grid;
	gap: 8px;
}

.mar-payment-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.mar-cart-actions {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 10px;
}

.mar-cart-back {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 14px;
	background: #fff;
	color: #222;
	font-weight: 700;
}

.mar-product-box {
	width: 100%;
	max-height: 86%;
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	position: relative;
}

.mar-product-close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px #0003;
	font-size: 22px;
	z-index: 2;
}

.mar-product-image {
	width: 100%;
	aspect-ratio: 1;
	background: #ffde5a;
	display: grid;
	place-items: center;
}

.mar-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mar-product-info {
	padding: 18px 18px 20px;
}

.mar-product-price {
	display: block;
	color: var(--mar-primary);
	font-size: 18px;
	margin-bottom: 6px;
}

.mar-product-name {
	font-size: 22px;
	line-height: 1.15;
	margin: 0 0 10px;
}

.mar-product-description {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 18px;
	color: #555;
}

.mar-product-description p {
	margin: 0 0 10px;
}

.mar-product-description ul,
.mar-product-description ol {
	margin: 0 0 18px;
	padding-left: 20px;
}

.mar-product-description li {
	margin-bottom: 6px;
}

.mar-product-add {
	width: 100%;
	border: 0;
	border-radius: 6px;
	padding: 14px;
	background: var(--mar-primary);
	color: #fff;
	font-weight: 700;
}

@media (max-width: 480px) {
	.mar-app {
		width: 100%;
		box-shadow: none;
	}

	.mar-fullscreen-page {
		background: #fff;
	}
}
