/* WebWin AJAX Quick View v4.2 — lightweight no-iframe modal */

.wwaqv-lock {
	overflow: hidden;
}

.wwaqv-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.wwaqv-modal.is-open {
	display: flex;
}

.wwaqv-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 18, 22, 0.58);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.wwaqv-dialog {
	position: relative;
	width: min(980px, 100%);
	max-height: 90vh;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

/* High specificity + !important: the theme styles ALL <button>s (orange bg, border,
   padding via .elementor-kit-6 button). We must override that here. */
.wwaqv-modal .wwaqv-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	color: #222 !important;
	background: rgba(255, 255, 255, 0.96) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
	transition: background 0.18s ease, color 0.18s ease;
}

.wwaqv-modal .wwaqv-close:hover,
.wwaqv-modal .wwaqv-close:focus {
	background: #111 !important;
	color: #fff !important;
}

.wwaqv-scroll {
	position: relative;
	max-height: 90vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.wwaqv-loading {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	background: #fff;
}

.wwaqv-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid rgba(0, 0, 0, 0.13);
	border-top-color: rgba(0, 0, 0, 0.58);
	border-radius: 50%;
	animation: wwaqv-spin 0.7s linear infinite;
}

@keyframes wwaqv-spin {
	to { transform: rotate(360deg); }
}

.wwaqv-content {
	min-height: 260px;
}

.wwaqv-product {
	padding: 24px;
}

.wwaqv-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: flex-start;
}

.wwaqv-media,
.wwaqv-summary {
	min-width: 0;
}

/* --------------------------------------------------------------------- */
/* Self-contained gallery (main image + thumbnail strip) + lightbox        */
/* --------------------------------------------------------------------- */

.wwaqv-gallery-main {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f4f5f7;
}

.wwaqv-gallery-main-link {
	display: block;
	position: relative;
	cursor: zoom-in;
}

.wwaqv-gallery-main-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.wwaqv-gallery-zoom {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #243041;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wwaqv-gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

/* Override the theme's global button styling (orange bg/border/padding). */
.wwaqv-product .wwaqv-gallery-thumb {
	width: 80px;
	height: 80px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 12px !important;
	overflow: hidden;
	cursor: pointer;
	background: #f4f5f7 !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.18s ease;
}

.wwaqv-product .wwaqv-gallery-thumb:hover,
.wwaqv-product .wwaqv-gallery-thumb:focus {
	background: #f4f5f7 !important;
	color: inherit !important;
}

.wwaqv-product .wwaqv-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.wwaqv-product .wwaqv-gallery-thumb.is-active {
	box-shadow: 0 0 0 2px var( --e-global-color-secondary , #1aab4d) !important;
}

.wwaqv-gallery--empty img {
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* Fullscreen image lightbox — sits ABOVE the quick-view modal (z-index 999999). */
.wwaqv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(10, 12, 16, 0.9);
	cursor: zoom-out;
}

.wwaqv-lightbox-img {
	max-width: 94vw;
	max-height: 92vh;
	border-radius: 8px;
	box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.6);
}

.wwaqv-lightbox-close {
	position: absolute;
	top: 18px;
	right: 22px;
	width: 44px;
	height: 44px;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

.wwaqv-modal .wwaqv-product .wwaqv-title {
    clear: none;
    margin-top: 0;
    padding: 0;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: var(--e-global-typography-primary-line-height);
    color: var(--e-global-color-text);
}

@media (max-width: 1024px) {
    .wwaqv-modal .wwaqv-product .wwaqv-title {
        font-size: var(--e-global-typography-primary-font-size);
        line-height: var(--e-global-typography-primary-line-height);
    }
}

@media (max-width: 767px) {
    .wwaqv-modal .wwaqv-product .wwaqv-title {
        font-size: var(--e-global-typography-primary-font-size);
        line-height: var(--e-global-typography-primary-line-height);
    }
}


/* Rating on the left, price on the right — like the single product header. */
.wwaqv-modal .wwaqv-product .wwaqv-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 12px;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating {
	margin: 0;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .woocommerce-product-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	margin-bottom: 0;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .star-rating {
	margin: 0;
	font-size: 16px;
	line-height: 1;
	color: var(--e-global-color-da4cd40, #d7dbe3);
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .star-rating::before {
	color: var(--e-global-color-da4cd40, #d7dbe3);
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .star-rating span::before {
	color: var(--e-global-color-7947f06, #f4b740);
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .woocommerce-review-link {
	margin: 0 0 0 12px;
	font-family: var(--e-global-typography-9ef2b77-font-family, inherit);
	font-size: var(--e-global-typography-9ef2b77-font-size, 0.9375rem);
	line-height: var(--e-global-typography-9ef2b77-line-height, 1.4);
	color: inherit;
	text-decoration: none;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .woocommerce-review-link:hover,
.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-rating .woocommerce-review-link:focus {
	text-decoration: none;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row p.price.wwaqv-price,
.wwaqv-modal .wwaqv-product .wwaqv-head-row span.price.wwaqv-price {
	margin: 0;
	font-family: var(--e-global-typography-a9fc8af-font-family, inherit) !important;
	font-size: var(--e-global-typography-a9fc8af-font-size, 1.18rem) !important;
	font-weight: var(--e-global-typography-a9fc8af-font-weight, 600) !important;
	line-height: var(--e-global-typography-a9fc8af-line-height, 1.3) !important;
	color: var(--e-global-color-primary, var(--wpd-accent, #e8590c)) !important;
}

.wwaqv-modal .wwaqv-product .wwaqv-head-row .wwaqv-price .woocommerce-Price-currencySymbol {
	vertical-align: baseline;
}

/* Meta rows (preparation / categories / tags).
   Styles ported from JetEngine .jet-listing-dynamic-field on the single page. */
.wwaqv-meta {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 4px 0 16px;
}

/* = .jet-listing-dynamic-field + .jet-listing-dynamic-field__inline-wrap */
.wwaqv-meta-row {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 100%;
	width: auto;
}

/* = .jet-listing-dynamic-field__icon */
.wwaqv-meta-icon {
	flex: 0 0 auto;
	display: inline-flex;
	margin-right: 6px;
	width: 1em;
	height: 1em;
	color: var(--e-global-color-10dc7c7, #898989);
	fill: var(--e-global-color-10dc7c7, #898989);
}

/* = .jet-listing-dynamic-field__content */
.wwaqv-meta-row span {
	display: block;
	max-width: 100%;
	width: auto;
	color: #898989;
	font-weight: 500;
	text-transform: capitalize;
	line-height: 2;
	text-align: left;
}

/* = inner <span style="color:var(--e-global-color-primary)"> — the actual value */
.wwaqv-meta-row span strong,
.wwaqv-meta-row span a {
	color: var(--e-global-color-primary, var(--wpd-accent, #e8590c));
	font-weight: 500;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.wwaqv-meta-row span {
		font-size: 0.9375em;
		line-height: 2;
	}
}

@media (max-width: 767px) {
	.wwaqv-meta-row span {
		font-size: 0.875em;
		line-height: 1.8;
	}
}

.wwaqv-modal .wwaqv-product .wwaqv-short-description {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.6;
	opacity: 0.92;
}

.wwaqv-notices .woocommerce-message,
.wwaqv-notices .woocommerce-error,
.wwaqv-notices .woocommerce-info {
	margin: 0 0 14px;
}

.wwaqv-product form.cart {
	margin-top: 16px;
}

.wwaqv-product form.cart table {
	border-width: 0 0 1px;
}

.wwaqv-product form.cart table td {
	padding-left: 0;
}

.wwaqv-product form.cart .variations {
	width: 100%;
	max-width: 100%;
	margin: 0 0 1em !important;
	border: 0;
}

.wwaqv-product form.cart .variations tr > * {
	padding: 8px 0;
	border: 0;
	line-height: 2em;
	vertical-align: top;
}

.wwaqv-product form.cart .variations tbody > tr:nth-child(odd) > td,
.wwaqv-product form.cart .variations tbody > tr:nth-child(odd) > th,
.wwaqv-product form.cart .variations tbody > tr:hover > td,
.wwaqv-product form.cart .variations tbody > tr:hover > th {
	background: none;
}

.wwaqv-modal .wwaqv-product form.cart .variations .label label {
	display: block;
	padding: 0;
	color: var(--e-global-color-text, #243041);
	font-family: var(--e-global-typography-1d76c6c-font-family, inherit), Sans-serif;
	font-size: var(--e-global-typography-1d76c6c-font-size, 1rem);
	font-weight: var(--e-global-typography-1d76c6c-font-weight, 700);
	text-transform: var(--e-global-typography-1d76c6c-text-transform, none);
	line-height: var(--e-global-typography-1d76c6c-line-height, 1.4);
	text-align: left;
}

.wwaqv-modal .wwaqv-product form.cart .variations select {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	min-height: 50px !important;
	margin: 0;
	padding: 12px 44px 12px 16px !important;
	border: 1.5px solid var(--wpd-line-2, #d8dee8) !important;
	border-radius: var(--wpd-radius-sm, 10px) !important;
	background-color: #fff !important;
	background-image: linear-gradient(45deg, transparent 50%, var(--wpd-ink-soft, #7c8798) 50%), linear-gradient(135deg, var(--wpd-ink-soft, #7c8798) 50%, transparent 50%) !important;
	background-position: calc(100% - 21px) 22px, calc(100% - 16px) 22px !important;
	background-repeat: no-repeat !important;
	background-size: 5px 5px, 5px 5px !important;
	box-shadow: none !important;
	color: var(--wpd-ink, #243041) !important;
	cursor: pointer !important;
	font-family: var(--e-global-typography-1d76c6c-font-family, inherit), Sans-serif;
	font-size: var(--e-global-typography-1d76c6c-font-size, 1rem);
	font-weight: var(--e-global-typography-1d76c6c-font-weight, 600) !important;
	line-height: var(--e-global-typography-1d76c6c-line-height, 1.4);
	text-transform: var(--e-global-typography-1d76c6c-text-transform, none);
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	transition: border-color var(--wpd-ease, 0.2s ease), box-shadow var(--wpd-ease, 0.2s ease) !important;
}

.wwaqv-modal .wwaqv-product form.cart .variations select:focus {
	border-color: var(--wpd-line-2, #d8dee8) !important;
	box-shadow: none !important;
	outline: none;
}

.wwaqv-product form.cart .reset_variations {
	display: inline-block;
	margin: 10px 0 0;
	font-size: 0.83em;
}

.wwaqv-product form.cart .woocommerce-variation.single_variation {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.wwaqv-product form.cart .woocommerce-variation.single_variation:not([style*="display: none"]) {
	margin-bottom: 20px;
}

.wwaqv-product form.cart .woocommerce-variation-description {
	order: 1;
}

.wwaqv-product form.cart .woocommerce-variation-availability {
	order: 2;
}

.wwaqv-product form.cart .woocommerce-variation-price {
	order: 3;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-price .price {
	margin-bottom: 0;
	font-family: var(--e-global-typography-a9fc8af-font-family, inherit), Sans-serif !important;
	font-size: var(--e-global-typography-a9fc8af-font-size, 1.18rem) !important;
	font-weight: var(--e-global-typography-a9fc8af-font-weight, 600) !important;
	line-height: var(--e-global-typography-a9fc8af-line-height, 1.3) !important;
	color: var(--e-global-color-secondary, var(--e-global-color-primary, var(--wpd-accent, #e8590c))) !important;
}

.wwaqv-product form.cart .woocommerce-variation-price .price del {
	display: inline-block;
	color: var(--e-global-color-text, #243041);
	font-weight: 500;
	text-decoration: line-through;
	opacity: 0.7;
}

.wwaqv-product form.cart .woocommerce-variation-price .price del .amount {
	color: var(--e-global-color-text, #243041);
}

.wwaqv-product form.cart .woocommerce-variation-price .price ins {
	display: inline-block;
	background: inherit;
	color: var(--e-global-color-secondary, var(--e-global-color-primary, var(--wpd-accent, #e8590c)));
	font-weight: 700;
	text-decoration: none;
}

.wwaqv-product form.cart .woocommerce-variation-price .price ins .amount {
	color: var(--e-global-color-secondary, var(--e-global-color-primary, var(--wpd-accent, #e8590c)));
}

.wwaqv-product form.cart .woocommerce-variation-price .woocommerce-Price-currencySymbol {
	vertical-align: baseline;
}

.wwaqv-modal .wwaqv-product p.stock,
.wwaqv-modal .wwaqv-product .stock {
	width: fit-content;
	margin: 0 !important;
	padding: 4px 16px;
	border-radius: 30px;
	font-family: var(--e-global-typography-39e7e1f-font-family, inherit), Sans-serif;
	font-size: var(--e-global-typography-39e7e1f-font-size, 12px) !important;
	font-weight: var(--e-global-typography-39e7e1f-font-weight, 600);
	line-height: var(--e-global-typography-39e7e1f-line-height, 1.4);
}

.wwaqv-modal .wwaqv-product p.stock.in-stock,
.wwaqv-modal .wwaqv-product .stock.in-stock {
	color: var(--wpd-ok, #1f8f43) !important;
	background: var(--wpd-ok-bg, rgba(31, 143, 67, 0.12)) !important;
}

.wwaqv-modal .wwaqv-product .quantity input.qty {
	min-height: 42px;
}

.wwaqv-modal .wwaqv-product button.single_add_to_cart_button.button,
.wwaqv-modal .wwaqv-product button.single_add_to_cart_button.button.alt {
	min-height: 44px;
	padding-left: 22px !important;
	padding-right: 22px !important;
}

.wwaqv-modal .wwaqv-product .single_add_to_cart_button.loading {
	opacity: 0.65;
	cursor: progress;
}

.wwaqv-modal .wwaqv-product .single_add_to_cart_button.added::after {
	content: " ✓";
}


/* --------------------------------------------------------------------- */
/* Quantity stepper (.ww-qty) — ported from the single-page HTML widget,   */
/* scoped to the modal so it never affects the rest of the site.           */
/* --------------------------------------------------------------------- */

.wwaqv-product .ww-qty {
	direction: ltr;
	display: inline-grid !important;
	grid-template-columns: 48px 58px 48px;
	align-items: stretch;
	width: max-content !important;
	height: 46px;
	border: 1px solid #d8dee8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-sizing: border-box;
	vertical-align: middle;
}

.wwaqv-product .ww-qty:focus-within {
	border-color: #d8dee8 !important;
	box-shadow: none !important;
}

.wwaqv-product .ww-qty input[type="number"] {
	grid-column: 2;
	width: 58px !important;
	min-width: 58px !important;
	max-width: 58px !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-left: 1px solid #d8dee8 !important;
	border-right: 1px solid #d8dee8 !important;
	border-radius: 0 !important;
	text-align: center !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0b1a33 !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	appearance: textfield;
	-moz-appearance: textfield;
}

.wwaqv-product .ww-qty input[type="number"]:focus {
	outline: none !important;
	box-shadow: none !important;
	border-left: 1px solid #d8dee8 !important;
	border-right: 1px solid #d8dee8 !important;
}

.wwaqv-product .ww-qty input[type="number"]::-webkit-inner-spin-button,
.wwaqv-product .ww-qty input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.wwaqv-product .ww-qty .ww-qty-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #0b1a33 !important;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
}

.wwaqv-product .ww-qty .ww-minus {
	grid-column: 1;
}

.wwaqv-product .ww-qty .ww-plus {
	grid-column: 3;
}

.wwaqv-product .ww-qty .ww-qty-btn:hover {
	background: #f6f8fb !important;
}

/* EPO ships `.tm-quantity-alt .quantity{display:inline-block!important}` which ties
   our `.ww-qty{display:inline-grid}` on specificity but loads later, collapsing the
   bundle steppers to a single visible button. These higher-specificity rules win. */
.wwaqv-modal .wwaqv-product .ww-qty,
.wwaqv-product .tm-quantity-alt .quantity.ww-qty,
.wwaqv-product .tc-epo-element-product-container .ww-qty {
	display: inline-grid !important;
	grid-template-columns: 48px 58px 48px !important;
	width: max-content !important;
	float: none !important;
}

/* --------------------------------------------------------------------- */
/* EPO options accordion (.ww-epo-toggle) — ported from the single page.   */
/* --------------------------------------------------------------------- */

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	float: none !important;
	clear: both !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin: 18px 0 12px !important;
	padding: 12px 14px !important;
	cursor: pointer;
	user-select: none;
	color: #243041 !important;
	background: #f8fafc;
	border: 1px solid #dbe3ee;
	border-radius: 6px;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.wwaqv-product .tc-element-container:not(.ww-epo-panel-closed) {
	padding: 12px 14px !important;
	margin: -15px 0 24px 0 !important;
	border: 1px solid #dbe3ee;
	border-radius: 6px;
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle::before {
	content: "+";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	line-height: 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: #243041;
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle .tc-epo-element-label-text {
	display: inline-flex !important;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle::after {
	content: none !important;
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle:not(.ww-epo-closed)::before {
	content: "−";
}

.wwaqv-product .tm-extra-product-options .tc-epo-label.ww-epo-toggle:not(.ww-epo-closed) {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.wwaqv-product .tm-extra-product-options .tc-element-container.ww-epo-panel {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	clear: both !important;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s ease;
}

.wwaqv-product .tm-extra-product-options .tc-element-container.ww-epo-panel.ww-epo-panel-closed {
	max-height: 0 !important;
	opacity: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	pointer-events: none;
}

.wwaqv-product .tm-epo-totals {
	padding: 0 !important;
}

.wwaqv-product dl.tm-extra-product-options-totals {
	display: grid !important;
	grid-template-columns: 1fr auto !important;
	align-items: baseline !important;
	gap: 6px 16px !important;
	width: 100% !important;
	margin: 10px 0 0 !important;
	padding: 12px 0 0 !important;
	border-top: 1px solid var(--wpd-line, #e5e7eb) !important;
}

.wwaqv-product .tc-totals-form dl.tm-extra-product-options-totals {
	margin: 8px 0 0 !important;
}

.wwaqv-product dl.tm-extra-product-options-totals dt.tm-final-totals {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--wpd-ink, #243041) !important;
}

.wwaqv-product dl.tm-extra-product-options-totals dd.tm-final-totals .price,
.wwaqv-product dl.tm-extra-product-options-totals dd.tm-final-totals .amount {
	font-size: 19px !important;
	font-weight: 800 !important;
	color: var(--wpd-cta, var(--e-global-color-primary, #e8590c)) !important;
}

.wwaqv-product .tmcp-ul-wrap {
	gap: 4px 0 !important;
}

.wwaqv-product .tmcp-field-wrap .product-title {
	font-size: 16px !important;
}

.wwaqv-product .tm-extra-product-options .tc-element-inner-wrap .stock.in-stock {
	margin-top: -14px !important;
	padding: 0 !important;
	background: unset !important;
	opacity: 0.8;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
}

.wwaqv-modal .wwaqv-product .quantity.ww-qty {
	max-width: fit-content !important;
	display: inline-grid !important;
}

.wwaqv-modal .wwaqv-product form.cart > .quantity.ww-qty {
	margin-top: 16px !important;
}

.wwaqv-modal .wwaqv-product form.cart > .single_add_to_cart_button {
	width: calc(100% - 199px) !important;
	margin-top: 12px !important;
	font-family: var(--e-global-typography-a9fc8af-font-family, inherit), Sans-serif !important;
	font-size: var(--e-global-typography-a9fc8af-font-size, 1rem) !important;
	font-weight: var(--e-global-typography-a9fc8af-font-weight, 700) !important;
	line-height: var(--e-global-typography-a9fc8af-line-height, 1.2) !important;
	background-color: var(--e-global-color-e4ff4bc, var(--e-global-color-secondary, #05c74c)) !important;
	border-radius: 6px !important;
}

.wwaqv-modal .wwaqv-product form.cart > .single_add_to_cart_button:hover,
.wwaqv-modal .wwaqv-product form.cart > .single_add_to_cart_button:focus {
	background-color: #05c74c !important;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart > .quantity.ww-qty {
	margin-top: 16px !important;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	width: calc(100% - 199px) !important;
	margin-top: 12px !important;
	font-family: var(--e-global-typography-a9fc8af-font-family, inherit), Sans-serif !important;
	font-size: var(--e-global-typography-a9fc8af-font-size, 1rem) !important;
	font-weight: var(--e-global-typography-a9fc8af-font-weight, 700) !important;
	line-height: var(--e-global-typography-a9fc8af-line-height, 1.2) !important;
	background-color: var(--e-global-color-e4ff4bc, var(--e-global-color-secondary, #05c74c)) !important;
	border-radius: 6px !important;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button:focus {
	background-color: #05c74c !important;
}

.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled,
.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button:disabled {
	cursor: not-allowed;
}

@media (max-width: 760px) {
	.wwaqv-modal {
		padding: 0;
		align-items: flex-end;
	}

	.wwaqv-dialog {
		width: 100%;
		max-height: 94vh;
		border-radius: 18px 18px 0 0;
	}

	.wwaqv-scroll {
		max-height: 94vh;
	}

	.wwaqv-product {
		padding: 18px;
	}

	.wwaqv-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 767px) {
	.wwaqv-product .tmcp-field-wrap .product-title {
		font-size: 12px !important;
	}

	.wwaqv-modal .wwaqv-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
		width: calc(100% - 164px) !important;
	}

	.wwaqv-modal .wwaqv-product form.cart > .single_add_to_cart_button {
		width: calc(100% - 164px) !important;
	}
}

/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.2
   Built into the AQV template/plugin. Keeps ThemeComplete EPO
   fields active but hides their native UI, replacing it with a
   stable visual panel.
------------------------------------------------------------- */
.wwaqv-modal .wwaqv-dialog {
  width: min(1240px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  border-radius: 22px;
}
.wwaqv-modal .wwaqv-scroll {
  max-height: calc(100vh - 48px);
  overflow: hidden;
}
.wwaqv-modal .wwaqv-product {
  padding: 28px;
  max-height: calc(100vh - 48px);
  box-sizing: border-box;
}
.wwaqv-modal .wwaqv-grid {
  display: grid;
  grid-template-columns: minmax(380px, 48%) minmax(420px, 52%);
  gap: 36px;
  align-items: start;
  height: calc(100vh - 104px);
  min-height: 620px;
}
.wwaqv-modal .wwaqv-media,
.wwaqv-modal .wwaqv-summary { min-width: 0; }
.wwaqv-modal .wwaqv-summary {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.wwaqv-modal .wwaqv-gallery-main,
.wwaqv-modal .wwaqv-gallery-main-link,
.wwaqv-modal .wwaqv-gallery-main-img { border-radius: 18px !important; }
.wwaqv-modal .wwaqv-gallery-main-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.wwaqv-modal .wwaqv-title {
  font-size: clamp(34px, 3.1vw, 52px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em;
  font-weight: 750 !important;
  color: #111827 !important;
  margin-bottom: 14px !important;
}
.wwaqv-modal .wwaqv-head-row { margin-bottom: 14px !important; }
.wwaqv-modal .wwaqv-short-description,
.wwaqv-modal .wwaqv-short-description p {
  color: #64748b !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}
.wwaqv-modal .wwaqv-meta {
  margin: 12px 0 10px !important;
}
.wwaqv-modal .wwaqv-meta-row {
  width: 100% !important;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 9px 14px;
  box-sizing: border-box;
}
.wwaqv-modal .wwaqv-meta-row span,
.wwaqv-modal .wwaqv-meta-row strong {
  line-height: 1.2 !important;
  color: #111827 !important;
  font-weight: 400 !important;
}
.wwaqv-modal .wwaqv-meta-row svg { color: #6b7280 !important; }
/* Hide category/tag meta rows; use cleaner badges instead. */
.wwaqv-modal .wwaqv-meta-row:has(a[rel="tag"]),
.wwaqv-modal .wwaqv-meta-row:has(a[href*="/categories/"]) { display: none !important; }
.wwaqv-modal .stock.in-stock { display: none !important; }
.wwaqv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 14px;
}
.wwaqv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 15px;
  background: #eef2f7;
  color: #334155;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}
.wwaqv-badge.is-gluten-free { background: #dcfce7; color: #166534; }
.wwaqv-badge.is-spicy { background: #fee2e2; color: #991b1b; }

/* Food form grid: options scroll, totals/buttons stay visible. */
.wwaqv-food-ready form.cart {
  display: grid !important;
  grid-template-columns: 152px minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: 12px 14px;
  min-height: 0;
  margin-top: 12px !important;
}
.wwaqv-options-panel {
  grid-column: 1 / -1;
  max-height: clamp(250px, 36vh, 430px);
  overflow: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}
.wwaqv-options-panel::-webkit-scrollbar { width: 8px; }
.wwaqv-options-panel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.wwaqv-option-section {
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  margin: 0 0 14px;
}
.wwaqv-option-section h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}
.wwaqv-option-list {
  display: grid;
  gap: 12px;
}
.wwaqv-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 86px;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.wwaqv-option-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
}
.wwaqv-option-price {
  justify-self: end;
  color: #16a34a;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.wwaqv-option-stepper {
  justify-self: end;
  display: grid;
  grid-template-columns: 40px 50px 40px;
  width: 130px;
  height: 42px;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.wwaqv-option-stepper button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}
.wwaqv-option-value {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #edf1f5;
  border-right: 1px solid #edf1f5;
  color: #16a34a;
  font-size: 15px;
  font-weight: 750;
}
/* Keep ThemeComplete active, but remove its native UI from the visual layout. */
.wwaqv-food-ready .tm-extra-product-options {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.wwaqv-food-ready .tm-extra-product-options .tc-element-container,
.wwaqv-food-ready .tm-extra-product-options .ww-epo-panel {
  max-height: none !important;
  overflow: visible !important;
}
.wwaqv-food-ready .tc-extra-product-options-inline,
.wwaqv-food-ready .tc-epo-totals.tm-cart-inline,
.wwaqv-food-ready .tm-quantity.tm-hidden { display: none !important; }

/* Totals and bottom cart row. */
.wwaqv-food-ready form.cart > .tc-totals-form:not(.tm-totals-form-inline) {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals dt,
.wwaqv-food-ready dl.tm-extra-product-options-totals dd {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals dt {
  color: #64748b !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals dd {
  text-align: right;
  font-weight: 700 !important;
}
.wwaqv-food-ready .tm-final-totals,
.wwaqv-food-ready .tm-final-totals + dd,
.wwaqv-food-ready .tm-final-totals + dd .amount {
  color: #16a34a !important;
  font-size: 20px !important;
  font-weight: 750 !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty {
  grid-column: 1;
  width: 142px !important;
  min-width: 142px !important;
  height: 46px !important;
  display: inline-grid !important;
  grid-template-columns: 42px 56px 42px !important;
  margin: 0 !important;
  align-self: center;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty input[type="number"] {
  width: 56px !important;
  min-width: 56px !important;
  color: #16a34a !important;
  font-weight: 750 !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button {
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #16a34a !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 650 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 980px) {
  .wwaqv-modal .wwaqv-scroll { overflow: auto; }
  .wwaqv-modal .wwaqv-product { max-height: none; }
  .wwaqv-modal .wwaqv-grid {
    display: block;
    height: auto;
    min-height: 0;
  }
  .wwaqv-modal .wwaqv-media { margin-bottom: 22px; }
  .wwaqv-options-panel { max-height: none; overflow: visible; padding-right: 0; }
  .wwaqv-option-row { grid-template-columns: 1fr 128px; }
  .wwaqv-option-price { grid-column: 1 / -1; justify-self: start; }
  .wwaqv-food-ready form.cart { grid-template-columns: 1fr; }
  .wwaqv-food-ready form.cart > .quantity.ww-qty,
  .wwaqv-food-ready form.cart > .single_add_to_cart_button { grid-column: 1; width: 100% !important; }
}

/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.3
   Modern integrated look: fewer independent boxes, softer rows,
   compact footer, better option-panel balance.
------------------------------------------------------------- */
.wwaqv-modal .wwaqv-dialog {
  width: min(1180px, calc(100vw - 56px));
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px -36px rgba(15, 23, 42, .62);
}
.wwaqv-modal .wwaqv-product {
  padding: 26px 30px;
}
.wwaqv-modal .wwaqv-grid {
  grid-template-columns: minmax(360px, 48%) minmax(400px, 52%);
  gap: 34px;
  height: min(760px, calc(100vh - 106px));
  min-height: 0;
}
.wwaqv-modal .wwaqv-title {
  font-size: clamp(30px, 2.55vw, 43px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  font-weight: 760 !important;
  margin: 0 0 12px !important;
  max-width: 92%;
}
.wwaqv-modal .wwaqv-price {
  font-size: 22px !important;
  font-weight: 720 !important;
}
.wwaqv-modal .wwaqv-head-row {
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 10px !important;
}
.wwaqv-modal .wwaqv-short-description,
.wwaqv-modal .wwaqv-short-description p {
  font-size: 16px !important;
  color: #667085 !important;
  margin-bottom: 14px !important;
}
.wwaqv-modal .wwaqv-meta-row {
  background: #f8fafc;
  border-color: #e8edf3;
  padding: 8px 13px;
}
.wwaqv-badges {
  margin: 12px 0 18px;
  gap: 8px;
}
.wwaqv-badge {
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 500;
  background: #f1f5f9;
}

/* A more integrated option area: one soft surface per section, rows are not standalone cards. */
.wwaqv-options-panel {
  max-height: clamp(300px, 40vh, 452px);
  overflow: auto;
  padding: 0 4px 2px 0;
  margin-top: 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.wwaqv-option-section {
  border: 0;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e8eef5;
  padding: 14px;
  margin: 0 0 14px;
}
.wwaqv-option-section h3 {
  margin: 0 0 12px !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  font-weight: 680 !important;
  letter-spacing: -0.015em;
  color: #111827 !important;
}
.wwaqv-option-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8eef5;
}
.wwaqv-option-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px 74px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0;
  background: transparent;
}
.wwaqv-option-row:last-child {
  border-bottom: 0;
}
.wwaqv-option-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  font-size: 15.5px;
  line-height: 1.22;
  font-weight: 450;
  color: #111827;
}
.wwaqv-option-price {
  color: #12a150;
  font-size: 14.5px;
  font-weight: 700;
  justify-self: end;
}
.wwaqv-option-stepper {
  width: 122px;
  height: 38px;
  grid-template-columns: 36px 50px 36px;
  border-color: #e1e8f0;
  background: #fbfdff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.wwaqv-option-stepper button {
  width: 36px !important;
  height: 36px !important;
  background: #fbfdff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}
.wwaqv-option-stepper button:hover {
  background: #f1f5f9 !important;
}
.wwaqv-option-value {
  font-size: 14.5px;
  font-weight: 750;
  border-color: #edf2f7;
}

/* Compact, modern footer. */
.wwaqv-food-ready form.cart {
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 10px 12px;
  margin-top: 10px !important;
}
.wwaqv-food-ready form.cart > .tc-totals-form:not(.tm-totals-form-inline) {
  padding: 12px 0 0 !important;
  border-top: 1px solid #edf2f7;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals {
  gap: 6px 16px !important;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals dt {
  font-size: 14px !important;
}
.wwaqv-food-ready .tm-final-totals,
.wwaqv-food-ready .tm-final-totals + dd,
.wwaqv-food-ready .tm-final-totals + dd .amount {
  font-size: 18px !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty {
  width: 136px !important;
  min-width: 136px !important;
  height: 42px !important;
  grid-template-columns: 40px 56px 40px !important;
  border-radius: 999px !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty input[type="number"] {
  width: 56px !important;
  min-width: 56px !important;
  font-size: 15px !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button {
  min-height: 42px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  background: #16a34a !important;
  box-shadow: 0 8px 18px -14px rgba(22, 163, 74, .9) !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button:hover {
  background: #15803d !important;
}

@media (min-width: 981px) and (max-height: 820px) {
  .wwaqv-options-panel { max-height: clamp(240px, 33vh, 360px); }
  .wwaqv-option-row { min-height: 50px; padding-top: 6px; padding-bottom: 6px; }
  .wwaqv-option-section { padding: 12px; margin-bottom: 12px; }
}

@media (max-width: 980px) {
  .wwaqv-modal .wwaqv-dialog { width: 100%; border-radius: 20px 20px 0 0; }
  .wwaqv-modal .wwaqv-title { max-width: 100%; font-size: clamp(28px, 8vw, 38px) !important; }
  .wwaqv-option-section { padding: 12px; }
  .wwaqv-option-row { grid-template-columns: minmax(0, 1fr) 116px; }
  .wwaqv-option-price { grid-column: 1 / -1; justify-self: start; }
}


/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.4
   Modern compact + collapsed sections by default.
------------------------------------------------------------- */
.wwaqv-modal .wwaqv-dialog {
  width: min(1160px, calc(100vw - 56px));
}
.wwaqv-modal .wwaqv-grid {
  grid-template-columns: minmax(360px, 48%) minmax(400px, 52%);
  gap: 32px;
  height: min(720px, calc(100vh - 104px));
}
.wwaqv-modal .wwaqv-title {
  font-size: clamp(27px, 2.25vw, 36px) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 10px !important;
}
.wwaqv-modal .wwaqv-rating,
.wwaqv-modal .woocommerce-review-link {
  font-size: 13.5px !important;
}
.wwaqv-modal .wwaqv-price {
  font-size: 19px !important;
  font-weight: 700 !important;
}
.wwaqv-modal .wwaqv-short-description,
.wwaqv-modal .wwaqv-short-description p {
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}
.wwaqv-modal .wwaqv-meta-row {
  padding: 7px 12px !important;
  font-size: 14px !important;
}
.wwaqv-badges {
  margin: 10px 0 14px !important;
}
.wwaqv-badge {
  padding: 6px 11px !important;
  font-size: 13px !important;
  font-weight: 450 !important;
}

/* Collapsed, integrated option groups. */
.wwaqv-options-panel {
  max-height: none !important;
  overflow: visible !important;
  margin-top: 8px !important;
  padding: 0 !important;
}
.wwaqv-option-section {
  background: #fff !important;
  border: 1px solid #e5ebf2 !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
}
.wwaqv-section-toggle {
  width: 100% !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 15px !important;
  border: 0 !important;
  background: #f8fafc !important;
  color: #111827 !important;
  cursor: pointer !important;
  text-align: left !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wwaqv-section-title-text {
  font-size: 15.5px !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
}
.wwaqv-section-meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #64748b !important;
}
.wwaqv-section-count {
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: #eef2f7 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.wwaqv-section-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  border: 1px solid #d9e1eb !important;
  background: #fff !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}
.wwaqv-option-section:not(.is-collapsed) .wwaqv-section-toggle {
  background: #f3f7fb !important;
  border-bottom: 1px solid #e5ebf2 !important;
}
.wwaqv-option-section h3 {
  display: none !important;
}
.wwaqv-option-list {
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.wwaqv-option-row {
  min-height: 46px !important;
  grid-template-columns: minmax(0, 1fr) 114px 70px !important;
  padding: 7px 14px !important;
  gap: 10px !important;
  border-bottom: 1px solid #eef2f7 !important;
}
.wwaqv-option-title {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 430 !important;
}
.wwaqv-option-price {
  font-size: 13.5px !important;
  font-weight: 650 !important;
}
.wwaqv-option-stepper {
  width: 114px !important;
  height: 34px !important;
  grid-template-columns: 34px 46px 34px !important;
}
.wwaqv-option-stepper button {
  width: 34px !important;
  height: 32px !important;
  font-size: 15px !important;
}
.wwaqv-option-value {
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

/* Compact footer stays clean when all groups are closed. */
.wwaqv-food-ready form.cart {
  margin-top: 14px !important;
  grid-template-columns: 124px minmax(210px, 280px) !important;
  justify-content: end !important;
  align-items: end !important;
}
.wwaqv-food-ready form.cart > .tc-totals-form:not(.tm-totals-form-inline) {
  grid-column: 1 / -1 !important;
  padding: 10px 0 0 !important;
  margin-top: 2px !important;
}
.wwaqv-food-ready dl.tm-extra-product-options-totals dt {
  font-size: 13px !important;
}
.wwaqv-food-ready .tm-final-totals,
.wwaqv-food-ready .tm-final-totals + dd,
.wwaqv-food-ready .tm-final-totals + dd .amount {
  font-size: 16px !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty {
  width: 124px !important;
  min-width: 124px !important;
  height: 38px !important;
  grid-template-columns: 36px 52px 36px !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button {
  min-height: 38px !important;
  padding: 0 18px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

/* Render WooCommerce stars cleanly if the theme star font is missing. */
.wwaqv-modal .star-rating {
  width: auto !important;
  height: auto !important;
  font-family: inherit !important;
  color: #f4b400 !important;
  overflow: visible !important;
  letter-spacing: 1px !important;
}
.wwaqv-modal .star-rating::before {
  content: '★★★★★' !important;
  position: static !important;
  color: #f4b400 !important;
}
.wwaqv-modal .star-rating span {
  display: none !important;
}

@media (max-width: 980px) {
  .wwaqv-food-ready form.cart {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }
  .wwaqv-option-row {
    grid-template-columns: minmax(0, 1fr) 110px !important;
  }
  .wwaqv-option-price {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }
}


/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.5
   Fix collapsed groups: [hidden] must override previous display:grid rules.
------------------------------------------------------------- */
.wwaqv-option-section.is-collapsed > .wwaqv-option-list,
.wwaqv-option-list[hidden] {
  display: none !important;
}
.wwaqv-option-section.is-collapsed {
  margin-bottom: 8px !important;
}
.wwaqv-option-section.is-collapsed .wwaqv-section-toggle {
  border-bottom: 0 !important;
}
.wwaqv-option-section-extras .wwaqv-section-toggle {
  background: linear-gradient(90deg, #fff7ed, #ffffff) !important;
}
.wwaqv-option-section-toppings .wwaqv-section-toggle {
  background: linear-gradient(90deg, #fefce8, #ffffff) !important;
}
.wwaqv-option-section-drinks .wwaqv-section-toggle {
  background: linear-gradient(90deg, #f0fdf4, #ffffff) !important;
}
.wwaqv-option-section:not(.is-collapsed) .wwaqv-section-toggle {
  background: #f8fafc !important;
}
.wwaqv-section-title-text {
  color: #111827 !important;
}
.wwaqv-option-section-extras .wwaqv-section-count,
.wwaqv-option-section-extras .wwaqv-section-icon {
  border-color: #fed7aa !important;
}
.wwaqv-option-section-drinks .wwaqv-section-count,
.wwaqv-option-section-drinks .wwaqv-section-icon {
  border-color: #bbf7d0 !important;
}


/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.6
   Footer/button fix: old base rules used width: calc(100% - 199px),
   which squeezed the green Add to Cart button inside the modern grid.
------------------------------------------------------------- */
.wwaqv-food-ready form.cart {
  grid-template-columns: 132px minmax(300px, 340px) !important;
  justify-content: end !important;
  align-items: center !important;
  column-gap: 14px !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button,
.wwaqv-food-ready form.cart > button.single_add_to_cart_button.button,
.wwaqv-food-ready form.cart > button.single_add_to_cart_button.button.alt {
  width: 100% !important;
  max-width: none !important;
  min-width: 300px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty {
  max-width: 132px !important;
  width: 132px !important;
  min-width: 132px !important;
  overflow: hidden !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty .ww-qty-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 980px) {
  .wwaqv-food-ready form.cart {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }
  .wwaqv-food-ready form.cart > .single_add_to_cart_button,
  .wwaqv-food-ready form.cart > button.single_add_to_cart_button.button,
  .wwaqv-food-ready form.cart > button.single_add_to_cart_button.button.alt {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.7
   Polished stable layout: compact Woodmart-like typography,
   optional thumbnails, and a reserved options area so footer
   does not jump when sections open/close.
------------------------------------------------------------- */
.wwaqv-modal .wwaqv-dialog {
  width: min(1180px, calc(100vw - 48px)) !important;
}
.wwaqv-modal .wwaqv-product {
  padding: 24px 28px !important;
}
.wwaqv-modal .wwaqv-grid {
  grid-template-columns: minmax(360px, 48%) minmax(390px, 52%) !important;
  gap: 34px !important;
  height: min(720px, calc(100vh - 96px)) !important;
  min-height: 0 !important;
}
.wwaqv-modal .wwaqv-summary {
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.wwaqv-modal .wwaqv-title {
  font-size: clamp(25px, 2.05vw, 34px) !important;
  line-height: 1.06 !important;
  font-weight: 680 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 9px !important;
  max-width: 94% !important;
}
.wwaqv-modal .wwaqv-head-row {
  margin-bottom: 9px !important;
}
.wwaqv-modal .wwaqv-rating,
.wwaqv-modal .woocommerce-review-link {
  font-size: 13px !important;
}
.wwaqv-modal .wwaqv-price {
  font-size: 18px !important;
  font-weight: 680 !important;
}
.wwaqv-modal .wwaqv-short-description,
.wwaqv-modal .wwaqv-short-description p {
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #667085 !important;
  margin-bottom: 10px !important;
}
.wwaqv-modal .wwaqv-meta-row {
  padding: 7px 11px !important;
  font-size: 13.5px !important;
}
.wwaqv-badges { margin: 10px 0 12px !important; gap: 7px !important; }
.wwaqv-badge { padding: 6px 11px !important; font-size: 12.5px !important; font-weight: 450 !important; }

/* Stable cart layout: options occupy a reserved pane; footer stays put. */
.wwaqv-food-ready form.cart {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 130px minmax(280px, 330px) !important;
  grid-template-rows: minmax(150px, 1fr) auto 40px !important;
  align-content: stretch !important;
  align-items: end !important;
  justify-content: end !important;
  gap: 10px 14px !important;
  margin-top: 10px !important;
}
.wwaqv-options-panel {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  height: 100% !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 4px 0 0 !important;
  margin: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.wwaqv-options-panel::-webkit-scrollbar { width: 6px !important; }
.wwaqv-options-panel::-webkit-scrollbar-thumb { background: #cbd5e1 !important; border-radius: 999px !important; }
.wwaqv-food-ready form.cart > .tc-totals-form:not(.tm-totals-form-inline) {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  align-self: end !important;
  padding: 10px 0 0 !important;
  margin: 0 !important;
  border-top: 1px solid #edf2f7 !important;
  background: #fff !important;
}
.wwaqv-food-ready form.cart > .quantity.ww-qty {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: center !important;
  width: 130px !important;
  min-width: 130px !important;
  height: 38px !important;
  grid-template-columns: 38px 54px 38px !important;
  border-radius: 999px !important;
}
.wwaqv-food-ready form.cart > .single_add_to_cart_button,
.wwaqv-food-ready form.cart > button.single_add_to_cart_button.button,
.wwaqv-food-ready form.cart > button.single_add_to_cart_button.button.alt {
  grid-column: 2 !important;
  grid-row: 3 !important;
  width: 100% !important;
  min-width: 280px !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Section headers: clean colors without heavy boxes. */
.wwaqv-option-section {
  border: 1px solid #e5ebf2 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
  margin: 0 0 9px !important;
}
.wwaqv-section-toggle {
  min-height: 44px !important;
  padding: 0 14px !important;
  background: #f8fafc !important;
}
.wwaqv-option-section-extras .wwaqv-section-toggle { background: linear-gradient(90deg, #fff7ed 0%, #fff 100%) !important; }
.wwaqv-option-section-toppings .wwaqv-section-toggle { background: linear-gradient(90deg, #fefce8 0%, #fff 100%) !important; }
.wwaqv-option-section-drinks .wwaqv-section-toggle { background: linear-gradient(90deg, #f0fdf4 0%, #fff 100%) !important; }
.wwaqv-section-title-text { font-size: 14.5px !important; font-weight: 620 !important; color: #111827 !important; }
.wwaqv-section-count { width: 21px !important; min-width: 21px !important; height: 21px !important; font-size: 11.5px !important; }
.wwaqv-section-icon { width: 25px !important; height: 25px !important; font-size: 17px !important; }

/* Open rows: image, name, qty, price. */
.wwaqv-option-list { border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
.wwaqv-option-row {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) 112px 68px !important;
  min-height: 52px !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 7px 13px !important;
  border-bottom: 1px solid #eef2f7 !important;
  background: transparent !important;
}
.wwaqv-option-thumb {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #f1f5f9 !important;
  overflow: hidden !important;
  justify-self: start !important;
}
.wwaqv-option-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.wwaqv-option-title { font-size: 13.8px !important; line-height: 1.25 !important; font-weight: 430 !important; color: #111827 !important; }
.wwaqv-option-stepper {
  width: 112px !important;
  height: 34px !important;
  grid-template-columns: 34px 44px 34px !important;
  justify-self: end !important;
}
.wwaqv-option-stepper button { width: 34px !important; height: 32px !important; font-size: 15px !important; }
.wwaqv-option-value { font-size: 13px !important; font-weight: 700 !important; }
.wwaqv-option-price { font-size: 13.2px !important; font-weight: 650 !important; color: #0f9f4f !important; justify-self: end !important; }

@media (max-width: 980px) {
  .wwaqv-modal .wwaqv-grid { display: block !important; height: auto !important; }
  .wwaqv-food-ready form.cart { display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: auto auto auto !important; }
  .wwaqv-options-panel { height: auto !important; max-height: none !important; overflow: visible !important; }
  .wwaqv-option-row { grid-template-columns: 34px minmax(0,1fr) 110px !important; }
  .wwaqv-option-price { grid-column: 2 / -1 !important; justify-self: start !important; }
  .wwaqv-food-ready form.cart > .quantity.ww-qty,
  .wwaqv-food-ready form.cart > .single_add_to_cart_button { grid-column: 1 !important; width: 100% !important; min-width: 0 !important; }
}

/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.9
   Mobile & contrast polish.
------------------------------------------------------------- */
.wwaqv-modal .wwaqv-title {
  font-size: clamp(24px, 1.85vw, 31px) !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
}

.wwaqv-modal .wwaqv-short-description,
.wwaqv-modal .wwaqv-short-description p {
  color: #596579 !important;
}

.wwaqv-section-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 13px !important;
}

.wwaqv-option-section {
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.wwaqv-option-section-extras {
  border-color: #fdba74 !important;
  background: #fffaf4 !important;
}
.wwaqv-option-section-extras .wwaqv-section-toggle,
.wwaqv-option-section-extras.is-collapsed .wwaqv-section-toggle {
  background: linear-gradient(90deg, #ffedd5 0%, #fff7ed 100%) !important;
  color: #9a3412 !important;
}

.wwaqv-option-section-toppings {
  border-color: #facc15 !important;
  background: #fffdf2 !important;
}
.wwaqv-option-section-toppings .wwaqv-section-toggle,
.wwaqv-option-section-toppings.is-collapsed .wwaqv-section-toggle {
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 100%) !important;
  color: #854d0e !important;
}

.wwaqv-option-section-drinks {
  border-color: #86efac !important;
  background: #f6fff9 !important;
}
.wwaqv-option-section-drinks .wwaqv-section-toggle,
.wwaqv-option-section-drinks.is-collapsed .wwaqv-section-toggle {
  background: linear-gradient(90deg, #dcfce7 0%, #f0fdf4 100%) !important;
  color: #166534 !important;
}

.wwaqv-section-title-text {
  font-size: 14px !important;
  font-weight: 650 !important;
  color: currentColor !important;
}

.wwaqv-section-count {
  background: rgba(255,255,255,.72) !important;
  color: currentColor !important;
  font-weight: 700 !important;
}

.wwaqv-section-icon {
  background: #fff !important;
  color: currentColor !important;
  border: 1px solid currentColor !important;
  font-weight: 700 !important;
}

.wwaqv-option-section:not(.is-collapsed) .wwaqv-section-toggle {
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}

.wwaqv-option-title {
  font-size: 13.5px !important;
  font-weight: 430 !important;
}

.wwaqv-option-price {
  color: #059646 !important;
  font-weight: 700 !important;
}

.wwaqv-badge.is-gluten-free,
.wwaqv-badges .is-gluten-free {
  background: #dcfce7 !important;
  color: #166534 !important;
}
.wwaqv-badge.is-spicy,
.wwaqv-badges .is-spicy {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

/* Strong mobile support. This is responsive, not purely mobile-first yet. */
@media (max-width: 767px) {
  .wwaqv-modal {
    padding: 10px !important;
    align-items: flex-start !important;
  }

  .wwaqv-modal .wwaqv-dialog {
    width: min(430px, calc(100vw - 20px)) !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 18px !important;
  }

  .wwaqv-scroll {
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .wwaqv-modal .wwaqv-product {
    padding: 18px !important;
  }

  .wwaqv-modal .wwaqv-grid {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .wwaqv-modal .wwaqv-media {
    margin-bottom: 18px !important;
  }

  .wwaqv-modal .wwaqv-gallery-main-img,
  .wwaqv-modal .wwaqv-gallery-main img {
    height: auto !important;
    max-height: 245px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .wwaqv-modal .wwaqv-gallery-thumbs {
    margin-top: 10px !important;
    gap: 10px !important;
  }

  .wwaqv-modal .wwaqv-gallery-thumb {
    width: 64px !important;
    height: 64px !important;
    border-radius: 12px !important;
  }

  .wwaqv-modal .wwaqv-close {
    width: 34px !important;
    height: 34px !important;
    top: 12px !important;
    right: 12px !important;
    font-size: 22px !important;
  }

  .wwaqv-modal .wwaqv-title {
    font-size: 21px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 8px !important;
    max-width: calc(100% - 45px) !important;
  }

  .wwaqv-modal .wwaqv-head-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .wwaqv-modal .wwaqv-price {
    font-size: 14.5px !important;
  }

  .wwaqv-modal .wwaqv-rating,
  .wwaqv-modal .woocommerce-review-link {
    font-size: 11.5px !important;
  }

  .wwaqv-modal .wwaqv-short-description,
  .wwaqv-modal .wwaqv-short-description p {
    font-size: 12.5px !important;
    line-height: 1.38 !important;
  }

  .wwaqv-modal .wwaqv-meta-row {
    font-size: 12.3px !important;
    padding: 6px 9px !important;
  }

  .wwaqv-badges {
    gap: 5px !important;
    margin: 8px 0 12px !important;
  }

  .wwaqv-badge {
    font-size: 11px !important;
    padding: 5px 8px !important;
  }

  .wwaqv-food-ready form.cart {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 10px !important;
    margin-top: 10px !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .wwaqv-options-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .wwaqv-option-section {
    margin-bottom: 8px !important;
    border-radius: 13px !important;
  }

  .wwaqv-section-toggle {
    min-height: 40px !important;
    padding: 0 11px !important;
  }

  .wwaqv-section-title-text {
    font-size: 13px !important;
  }

  .wwaqv-section-count {
    width: 19px !important;
    min-width: 19px !important;
    height: 19px !important;
    font-size: 10.5px !important;
  }

  .wwaqv-section-icon {
    width: 23px !important;
    height: 23px !important;
    font-size: 15px !important;
  }

  .wwaqv-option-row {
    grid-template-columns: 32px minmax(0, 1fr) 102px !important;
    gap: 8px !important;
    min-height: 48px !important;
    padding: 7px 10px !important;
  }

  .wwaqv-option-thumb {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }

  .wwaqv-option-title {
    font-size: 12.8px !important;
    line-height: 1.25 !important;
  }

  .wwaqv-option-stepper {
    width: 102px !important;
    height: 31px !important;
    grid-template-columns: 31px 40px 31px !important;
  }

  .wwaqv-option-stepper button {
    width: 31px !important;
    height: 29px !important;
    font-size: 14px !important;
  }

  .wwaqv-option-value {
    font-size: 12px !important;
  }

  .wwaqv-option-price {
    grid-column: 2 / -1 !important;
    justify-self: end !important;
    font-size: 12px !important;
    margin-top: -2px !important;
  }

  .wwaqv-food-ready form.cart > .tc-totals-form:not(.tm-totals-form-inline) {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding-top: 8px !important;
  }

  .wwaqv-food-ready dl.tm-extra-product-options-totals dt,
  .wwaqv-food-ready dl.tm-extra-product-options-totals dd {
    font-size: 12px !important;
  }

  .wwaqv-food-ready form.cart > .quantity.ww-qty {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 142px !important;
    min-width: 142px !important;
    height: 36px !important;
    grid-template-columns: 36px 70px 36px !important;
    justify-self: start !important;
  }

  .wwaqv-food-ready form.cart > .single_add_to_cart_button,
  .wwaqv-food-ready form.cart > button.single_add_to_cart_button.button,
  .wwaqv-food-ready form.cart > button.single_add_to_cart_button.button.alt {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    font-size: 13.5px !important;
    padding: 0 14px !important;
  }
}

/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.7.9
   Mobile sticky footer polish.
------------------------------------------------------------- */
.wwaqv-cart-footer {
  display: grid !important;
  grid-template-columns: 124px minmax(210px, 280px) !important;
  gap: 10px 12px !important;
  justify-content: end !important;
  align-items: end !important;
  margin-top: 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf2f7 !important;
  background: #fff !important;
}

.wwaqv-cart-footer > .tc-totals-form:not(.tm-totals-form-inline) {
  grid-column: 1 / -1 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
}

.wwaqv-cart-footer > .quantity.ww-qty {
  grid-column: 1 !important;
  width: 124px !important;
  min-width: 124px !important;
  height: 38px !important;
  grid-template-columns: 36px 52px 36px !important;
  justify-self: start !important;
  border-radius: 999px !important;
}

.wwaqv-cart-footer > .single_add_to_cart_button,
.wwaqv-cart-footer > button.single_add_to_cart_button.button,
.wwaqv-cart-footer > button.single_add_to_cart_button.button.alt {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  background: #16a34a !important;
  box-shadow: 0 8px 18px -14px rgba(22, 163, 74, .9) !important;
}

@media (max-width: 767px) {
  .wwaqv-scroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 0 !important;
  }

  .wwaqv-cart-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 12px -18px -18px !important;
    padding: 10px 18px 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid #e5ebf2 !important;
    box-shadow: 0 -12px 26px -22px rgba(15, 23, 42, .45) !important;
  }

  .wwaqv-cart-footer > .tc-totals-form:not(.tm-totals-form-inline) {
    grid-column: 1 !important;
    padding: 0 !important;
  }

  .wwaqv-cart-footer dl.tm-extra-product-options-totals {
    margin-bottom: 6px !important;
  }

  .wwaqv-cart-footer dl.tm-extra-product-options-totals dt,
  .wwaqv-cart-footer dl.tm-extra-product-options-totals dd {
    font-size: 12px !important;
  }

  .wwaqv-cart-footer > .quantity.ww-qty {
    grid-column: 1 !important;
    width: 142px !important;
    min-width: 142px !important;
    height: 36px !important;
    grid-template-columns: 36px 70px 36px !important;
    justify-self: start !important;
  }

  .wwaqv-cart-footer > .single_add_to_cart_button,
  .wwaqv-cart-footer > button.single_add_to_cart_button.button,
  .wwaqv-cart-footer > button.single_add_to_cart_button.button.alt {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    font-size: 13.5px !important;
    padding: 0 14px !important;
  }
}

/* v0.8.8: admin image toggle + mobile footer safety patch. */
.wwaqv-no-option-images .wwaqv-option-row,
.wwaqv-option-row.wwaqv-option-row-no-image {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}
.wwaqv-no-option-images .wwaqv-option-thumb {
  display: none !important;
}
.wwaqv-no-option-images .wwaqv-option-title,
.wwaqv-option-row.wwaqv-option-row-no-image .wwaqv-option-title {
  padding-left: 0 !important;
}
@media (max-width: 767px) {
  .wwaqv-product.wwaqv-no-option-images .wwaqv-option-row,
  .wwaqv-option-row.wwaqv-option-row-no-image {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .wwaqv-product.wwaqv-no-option-images .wwaqv-option-price,
  .wwaqv-option-row.wwaqv-option-row-no-image .wwaqv-option-price {
    grid-column: 2 !important;
  }
  .wwaqv-modal.is-open .wwaqv-cart-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 80 !important;
    background: rgba(255,255,255,.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 12px !important;
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }
  .wwaqv-modal.is-open .wwaqv-summary {
    padding-bottom: 16px !important;
  }
}


/* -------------------------------------------------------------
   WebWin Restaurant Quick View UI v0.8.9
   True mobile fixed footer.
   This keeps the working v0.8.8 layout and makes the checkout footer
   stay visible on mobile even before the user scrolls to the bottom.
------------------------------------------------------------- */
@media (max-width: 767px) {
  .wwaqv-modal.is-open .wwaqv-dialog {
    overflow: hidden !important;
  }

  .wwaqv-modal.is-open .wwaqv-scroll {
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 0 !important;
  }

  .wwaqv-modal.is-open .wwaqv-product {
    padding-bottom: 152px !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%) !important;
    width: min(394px, calc(100vw - 56px)) !important;
    z-index: 1000005 !important;
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    align-items: end !important;
    margin: 0 !important;
    padding: 10px 10px 12px !important;
    border: 1px solid rgba(226, 232, 240, .94) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .97) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 18px 44px -22px rgba(15, 23, 42, .45) !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer > .tc-totals-form:not(.tm-totals-form-inline) {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer dl.tm-extra-product-options-totals {
    margin: 0 0 6px !important;
    gap: 4px 10px !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer dl.tm-extra-product-options-totals dt,
  .wwaqv-modal.is-open .wwaqv-cart-footer dl.tm-extra-product-options-totals dd {
    font-size: 12px !important;
    line-height: 1.18 !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer .tm-final-totals,
  .wwaqv-modal.is-open .wwaqv-cart-footer .tm-final-totals + dd,
  .wwaqv-modal.is-open .wwaqv-cart-footer .tm-final-totals + dd .amount {
    font-size: 14.5px !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer > .quantity.ww-qty {
    grid-column: 1 !important;
    width: 128px !important;
    min-width: 128px !important;
    height: 38px !important;
    grid-template-columns: 36px 56px 36px !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer > .quantity.ww-qty input[type="number"] {
    width: 56px !important;
    min-width: 56px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .wwaqv-modal.is-open .wwaqv-cart-footer > .single_add_to_cart_button,
  .wwaqv-modal.is-open .wwaqv-cart-footer > button.single_add_to_cart_button.button,
  .wwaqv-modal.is-open .wwaqv-cart-footer > button.single_add_to_cart_button.button.alt {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }
}
