body.foodord-table-ordering-catalog .foodord-add-to-cart-btn,
body.foodord-table-ordering-invalid .foodord-add-to-cart-btn,
body.foodord-table-ordering-catalog .add_to_cart_button,
body.foodord-table-ordering-invalid .add_to_cart_button,
body.foodord-table-ordering-catalog .single_add_to_cart_button,
body.foodord-table-ordering-invalid .single_add_to_cart_button,
body.foodord-table-ordering-catalog button[name='add-to-cart'],
body.foodord-table-ordering-invalid button[name='add-to-cart'],
body.foodord-table-ordering-catalog input[name='add-to-cart'],
body.foodord-table-ordering-invalid input[name='add-to-cart'],
body.foodord-table-ordering-catalog a[href*='add-to-cart='],
body.foodord-table-ordering-invalid a[href*='add-to-cart='],
body.foodord-table-ordering-catalog
	.foodord-modal-upsells__button[data-foodord-upsell-direct-add],
body.foodord-table-ordering-invalid
	.foodord-modal-upsells__button[data-foodord-upsell-direct-add] {
	display: none;
}

body.foodord-table-ordering-catalog .foodord-modal-footer,
body.foodord-table-ordering-invalid .foodord-modal-footer,
body.foodord-table-ordering-catalog .foodord-sidebar,
body.foodord-table-ordering-invalid .foodord-sidebar {
	display: none;
}

body.foodord-table-ordering-online .foodord-products-campaigns,
body.foodord-table-ordering-catalog .foodord-products-campaigns,
body.foodord-table-ordering-invalid .foodord-products-campaigns {
	display: none;
}

body.foodord-table-ordering-invalid .wr-card__cta,
body.foodord-table-ordering-invalid .foodord-mobile-cart__checkout-btn,
body.foodord-table-ordering-invalid .foodord-mobile-cart__bottom-checkout-btn {
	display: none;
}

body.foodord-table-ordering-online #site-navigation,
body.foodord-table-ordering-catalog #site-navigation,
body.foodord-table-ordering-invalid #site-navigation,
body.foodord-table-ordering-online .header-actions,
body.foodord-table-ordering-catalog .header-actions,
body.foodord-table-ordering-invalid .header-actions,
body.foodord-table-ordering-online .mobile-header,
body.foodord-table-ordering-catalog .mobile-header,
body.foodord-table-ordering-invalid .mobile-header,
body.foodord-table-ordering-online #mobile-navigation-drawer,
body.foodord-table-ordering-catalog #mobile-navigation-drawer,
body.foodord-table-ordering-invalid #mobile-navigation-drawer,
body.foodord-table-ordering-online .mobile-nav-drawer,
body.foodord-table-ordering-catalog .mobile-nav-drawer,
body.foodord-table-ordering-invalid .mobile-nav-drawer,
body.foodord-table-ordering-online #colophon,
body.foodord-table-ordering-catalog #colophon,
body.foodord-table-ordering-invalid #colophon,
body.foodord-table-ordering-online #footer-bottom,
body.foodord-table-ordering-catalog #footer-bottom,
body.foodord-table-ordering-invalid #footer-bottom {
	display: none;
}

body.foodord-table-ordering-online .site-branding a,
body.foodord-table-ordering-catalog .site-branding a,
body.foodord-table-ordering-invalid .site-branding a,
body.foodord-table-ordering-online .custom-logo-link,
body.foodord-table-ordering-catalog .custom-logo-link,
body.foodord-table-ordering-invalid .custom-logo-link,
body.foodord-table-ordering-online a.site-title,
body.foodord-table-ordering-catalog a.site-title,
body.foodord-table-ordering-invalid a.site-title {
	cursor: default;
	pointer-events: none;
}

@media (min-width: 1025px) {
	body.foodord-table-ordering-catalog.foodord-order-page .entry-content:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-invalid.foodord-order-page .entry-content:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-catalog.foodord-order-page .entry-content:has(.foodord-sidebar):has(.wp-block-foodord-products),
	body.foodord-table-ordering-invalid.foodord-order-page .entry-content:has(.foodord-sidebar):has(.wp-block-foodord-products),
	body.foodord-table-ordering-catalog.foodord-order-page .wp-block-post-content:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-invalid.foodord-order-page .wp-block-post-content:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-catalog.foodord-order-page .wp-block-post-content:has(.foodord-sidebar):has(.wp-block-foodord-products),
	body.foodord-table-ordering-invalid.foodord-order-page .wp-block-post-content:has(.foodord-sidebar):has(.wp-block-foodord-products),
	body.foodord-table-ordering-catalog.foodord-order-page .woocommerce:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-invalid.foodord-order-page .woocommerce:has(.foodord-sidebar):has(.foodord-products-shortcode),
	body.foodord-table-ordering-catalog.foodord-order-page .woocommerce:has(.foodord-sidebar):has(.wp-block-foodord-products),
	body.foodord-table-ordering-invalid.foodord-order-page .woocommerce:has(.foodord-sidebar):has(.wp-block-foodord-products) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			'nav'
			'products';
		column-gap: 0;
	}

	body.foodord-table-ordering-catalog.foodord-order-page .foodord-products-shortcode,
	body.foodord-table-ordering-invalid.foodord-order-page .foodord-products-shortcode,
	body.foodord-table-ordering-catalog.foodord-order-page .wp-block-foodord-products,
	body.foodord-table-ordering-invalid.foodord-order-page .wp-block-foodord-products,
	body.foodord-table-ordering-catalog.foodord-order-page .foodord-scroll-nav,
	body.foodord-table-ordering-invalid.foodord-order-page .foodord-scroll-nav {
		width: 100%;
		max-width: none;
	}

	body.foodord-table-ordering-catalog.has-foodord-sidebar:not(.wp-admin) .site-main,
	body.foodord-table-ordering-invalid.has-foodord-sidebar:not(.wp-admin) .site-main {
		padding-right: 0;
	}

	body.foodord-table-ordering-online:not(.wp-admin) .wr-card:not(.has-mode-toggle) .wr-card__body,
	body.foodord-table-ordering-catalog:not(.wp-admin) .wr-card:not(.has-mode-toggle) .wr-card__body {
		margin-top: 0;
	}

	body.foodord-table-ordering-online:not(.wp-admin) .foodord-scroll-nav.is-sticky ~ .site-main .wr-card:not(.has-mode-toggle) .wr-card__header,
	body.foodord-table-ordering-catalog:not(.wp-admin) .foodord-scroll-nav.is-sticky ~ .site-main .wr-card:not(.has-mode-toggle) .wr-card__header {
		top: 0;
	}
}

.foodord-table-ordering-notice {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 100000;
	max-width: min(360px, calc(100vw - 36px));
	padding: 12px 14px;
	border-radius: 10px;
	background: #1f2937;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.2);
}

.foodord-table-ordering-cta__check {
	display: none;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.foodord-table-ordering-cta--sent .foodord-table-ordering-cta__check {
	display: inline-flex;
}

body .wr-card__cta.foodord-table-ordering-cta--sent,
body .wr-card__cta.foodord-table-ordering-cta--sent:hover,
body .wr-card__cta.foodord-table-ordering-cta--sent:active,
body .wr-card__cta.foodord-table-ordering-cta--sent.wr-card__cta--disabled,
body .foodord-mobile-cart__checkout-btn.foodord-table-ordering-cta--sent,
body .foodord-mobile-cart__checkout-btn.foodord-table-ordering-cta--sent:hover,
body .foodord-mobile-cart__checkout-btn.foodord-table-ordering-cta--sent:active,
body .foodord-mobile-cart__checkout-btn.foodord-table-ordering-cta--sent:disabled,
body .foodord-mobile-cart__bottom-checkout-btn.foodord-table-ordering-cta--sent,
body .foodord-mobile-cart__bottom-checkout-btn.foodord-table-ordering-cta--sent:hover,
body .foodord-mobile-cart__bottom-checkout-btn.foodord-table-ordering-cta--sent:active,
body .foodord-mobile-cart__bottom-checkout-btn.foodord-table-ordering-cta--sent:disabled {
	background: #16a34a;
}

.foodord-table-ordering-modal-open {
	overflow: hidden;
}

.foodord-table-ordering-modal-overlay[hidden] {
	display: none;
}

.foodord-table-ordering-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 24, 39, 0.52);
	box-sizing: border-box;
}

.foodord-table-ordering-modal {
	width: min(458px, 100%);
	overflow: hidden;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
	color: #111827;
}

.foodord-table-ordering-modal__header {
	position: relative;
	display: flex;
	min-height: 168px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 56px 26px;
	background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
	color: #ffffff;
	box-sizing: border-box;
}

.foodord-table-ordering-modal__close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.foodord-table-ordering-modal__close::before,
.foodord-table-ordering-modal__close::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 17px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: '';
}

.foodord-table-ordering-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.foodord-table-ordering-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.foodord-table-ordering-modal__close:hover {
	background: rgba(255, 255, 255, 0.16);
}

.foodord-table-ordering-modal__plate {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.foodord-table-ordering-modal__plate-icon {
	width: 52px;
	height: 52px;
}

.foodord-table-ordering-modal__title-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
}

.foodord-table-ordering-modal__success-icon {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.foodord-table-ordering-modal__title {
	margin: 0;
	color: #ffffff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.foodord-table-ordering-modal__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 28px 26px;
	text-align: center;
}

.foodord-table-ordering-modal__message {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 18px;
	color: #111827;
}

.foodord-table-ordering-modal__message-icon {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	color: #f59e0b;
}

.foodord-table-ordering-modal__message p {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.28;
	text-align: left;
}

.foodord-table-ordering-modal__note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #6b7280;
}

.foodord-table-ordering-modal__note-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.foodord-table-ordering-modal__note p {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.foodord-table-ordering-modal__continue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
	min-height: 56px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.foodord-table-ordering-modal__continue:hover {
	filter: brightness(0.98);
}

@media (max-width: 480px) {
	.foodord-table-ordering-modal-overlay {
		padding: 16px;
	}

	.foodord-table-ordering-modal__header {
		padding-right: 44px;
		padding-left: 44px;
	}

	.foodord-table-ordering-modal__title {
		font-size: 20px;
	}

	.foodord-table-ordering-modal__message p {
		font-size: 18px;
	}
}
