/* Quick Order DZ — order form on product pages. */

/* Colors (the settings print their own values right after this file). */
:root {
	--qodz-summary-bg: #aebab3;
	--qodz-summary-title: #20412c;
	--qodz-order: #b52c24;
	--qodz-order-text: #fff;
	--qodz-cart: #333;
	--qodz-cart-text: #fff;
	--qodz-cart-hover: #222;
	--qodz-cart-hover-text: #fff;
	--qodz-form-bg: #fbfbfb;
	--qodz-field-bg: #fff;
	--qodz-field-border: #b52c24;
	--qodz-total: #000;
}

.qodz {
	--qodz-border: #d9d9d6;
	--qodz-muted: #6c6c69;
	--qodz-soft: #f3f3f0;
	--qodz-error: #c0392b;
	--qodz-ok: #2e7d32;
	--qodz-wa: #1faa59;
	--qodz-radius: 10px;
	--qodz-field-radius: 8px;
	container-type: inline-size;
	margin: 1.25em 0;
	font-size: 15px;
	line-height: 1.5;
	text-align: start;
}

.qodz *,
.qodz *::before,
.qodz *::after {
	box-sizing: border-box;
}

.qodz [hidden],
.qodz-sticky[hidden] {
	display: none !important;
}

/* Line icons, even when the theme fills every SVG. */
.qodz .qodz-icon,
.qodz-sticky .qodz-icon,
.qodz-contact-float .qodz-icon {
	display: inline-block;
	flex: none;
	fill: none !important;
	stroke: currentColor;
	vertical-align: middle;
}

.qodz .qodz-sr,
.qodz .qodz-hp,
.qodz--modern .qodz-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.qodz .qodz-form {
	position: relative;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--qodz-border);
	border-radius: 14px;
	background: var(--qodz-form-bg);
	box-shadow: 0 1px 3px rgba(20, 20, 10, 0.04);
}

.qodz .qodz-title {
	margin: 0 0 16px;
	font-size: 1.1em;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

/* Options (size, color…) */

.qodz .qodz-attr {
	margin: 0 0 14px;
}

.qodz .qodz-attr__label {
	margin: 0 0 8px;
	font-size: 0.95em;
	font-weight: 600;
}

.qodz .qodz-attr__chosen {
	font-weight: 400;
	color: var(--qodz-muted);
}

.qodz .qodz-attr__chosen:not(:empty)::before {
	content: ":\00a0";
}

.qodz .qodz-attr__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.qodz .qodz-opt {
	position: relative;
	display: inline-flex;
	margin: 0;
	padding: 0;
	cursor: pointer;
	font-weight: 400;
}

.qodz .qodz-opt__input,
.qodz .qodz-rate__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.qodz .qodz-opt__text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 42px;
	padding: 8px 14px;
	border: 1.5px solid var(--qodz-border);
	border-radius: 8px;
	background: #fff;
	font-size: 0.92em;
	line-height: 1.3;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.qodz .qodz-opt:hover .qodz-opt__text {
	border-color: #a9a9a4;
}

.qodz .qodz-opt__input:checked + .qodz-opt__text {
	border-color: var(--qodz-order);
	background: #fff;
	background: color-mix(in srgb, var(--qodz-order) 7%, #fff);
	box-shadow: inset 0 0 0 1px var(--qodz-order);
	font-weight: 600;
}

.qodz .qodz-opt__input:focus-visible + .qodz-opt__text {
	outline: 2px solid var(--qodz-order);
	outline-offset: 2px;
}

.qodz .qodz-opt.is-unavailable .qodz-opt__text {
	border-style: dashed;
	color: #8f8f8a;
}

.qodz .qodz-opt.is-soldout {
	cursor: not-allowed;
}

.qodz .qodz-opt.is-soldout .qodz-opt__text {
	background: #f6f6f4;
	color: #a3a39e;
	text-decoration: line-through;
}

.qodz .qodz-attr.is-invalid .qodz-opt__text {
	border-color: var(--qodz-error);
}

/* Swatches: options shown with the photo of their variations. */

.qodz .qodz-opt--swatch .qodz-opt__text {
	flex-direction: column;
	justify-content: flex-start;
	width: 78px;
	min-height: 0;
	padding: 5px 5px 6px;
	text-align: center;
}

.qodz .qodz-opt__img {
	display: block;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--qodz-soft);
}

.qodz .qodz-opt__img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.qodz .qodz-opt--swatch .qodz-opt__label {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 0.88em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qodz .qodz-opt--swatch.is-soldout .qodz-opt__img {
	opacity: 0.4;
}

.qodz .qodz-variation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin: 0 0 14px;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--qodz-soft);
	font-size: 0.95em;
}

.qodz .qodz-variation__price ins {
	background: none;
	font-weight: 700;
	text-decoration: none;
}

.qodz .qodz-variation__price del {
	margin-inline-end: 4px;
	color: var(--qodz-muted);
	font-weight: 400;
}

.qodz .qodz-variation__stock .stock,
.qodz .qodz-variation__stock p {
	margin: 0;
	font-size: 0.92em;
}

.qodz .qodz-variation__none {
	color: var(--qodz-error);
}

/* Fields */

.qodz .qodz-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.qodz .qodz-field--wide,
.qodz .qodz-delivery {
	grid-column: 1 / -1;
}

.qodz .qodz-field {
	position: relative;
	margin: 0;
	padding: 0;
}

.qodz .qodz-label {
	display: block;
	margin: 0 0 5px;
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.35;
}

.qodz .qodz-label__req {
	color: var(--qodz-error);
}

.qodz .qodz-field__icon {
	position: absolute;
	top: 14px;
	inset-inline-start: 13px;
	display: flex;
	color: #8e8e89;
	pointer-events: none;
}

.qodz .qodz-field__icon .qodz-icon {
	width: 20px;
	height: 20px;
}

.qodz .qodz-input {
	display: block;
	width: 100%;
	max-width: none;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0 14px;
	padding-inline-start: 42px;
	border: 1px solid var(--qodz-field-border);
	border-radius: var(--qodz-field-radius);
	background-color: var(--qodz-field-bg);
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1.3;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.qodz textarea.qodz-input {
	height: auto;
	min-height: 78px;
	padding-top: 12px;
	padding-bottom: 12px;
	resize: vertical;
}

.qodz select.qodz-input {
	padding-inline-end: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.qodz[dir="rtl"] select.qodz-input {
	background-position: left 12px center;
}

.qodz select.qodz-input:disabled {
	background-color: #f5f5f3;
	color: #9a9a95;
	cursor: not-allowed;
	opacity: 1;
}

.qodz select.qodz-input option:disabled {
	color: #a3a39e;
}

/* The phone number is typed left to right, but lines up with the other fields. */
.qodz[dir="rtl"] .qodz-input[dir="ltr"] {
	padding-right: 42px;
	padding-left: 14px;
	text-align: right;
}

.qodz .qodz-input::placeholder {
	color: #8d8d88;
	opacity: 1;
}

.qodz .qodz-input:hover {
	border-color: #b9b9b4;
	border-color: color-mix(in srgb, var(--qodz-field-border) 75%, #000);
}

/* Neutral focus ring, so a red brand color never looks like an error. */
.qodz .qodz-input:focus {
	border-color: #45453f;
	box-shadow: 0 0 0 3px rgba(40, 40, 30, 0.12);
	outline: none;
}

.qodz .qodz-field.is-invalid .qodz-input {
	border-color: var(--qodz-error);
	background-color: #fff6f5;
	box-shadow: inset 0 0 0 1px var(--qodz-error);
}

.qodz .qodz-field.is-invalid .qodz-input:focus {
	box-shadow: inset 0 0 0 1px var(--qodz-error), 0 0 0 3px rgba(192, 57, 43, 0.14);
}

.qodz .qodz-field.is-invalid .qodz-field__icon {
	color: var(--qodz-error);
}

.qodz .qodz-error {
	margin: 5px 2px 0;
	color: var(--qodz-error);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

/* Delivery methods (from the WooCommerce shipping zone of the wilaya) */

.qodz .qodz-delivery {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.qodz .qodz-delivery__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 10px;
}

.qodz .qodz-delivery__status {
	margin: 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--qodz-soft);
	color: var(--qodz-muted);
	font-size: 14px;
}

.qodz .qodz-delivery__status.is-error {
	background: #fdeceb;
	color: #8e1f15;
}

.qodz .qodz-delivery.is-updating .qodz-delivery__options {
	opacity: 0.6;
	transition: opacity 0.15s;
}

.qodz .qodz-rate {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 10px 12px;
	border: 1.5px solid var(--qodz-border);
	border-radius: var(--qodz-radius);
	background: #fff;
	cursor: pointer;
	font-weight: 400;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.qodz .qodz-rate:hover {
	border-color: #a9a9a4;
}

.qodz .qodz-rate.is-checked {
	border-color: var(--qodz-order);
	background: #fff;
	background: color-mix(in srgb, var(--qodz-order) 6%, #fff);
	box-shadow: inset 0 0 0 1px var(--qodz-order);
}

.qodz .qodz-rate:has(.qodz-rate__input:focus-visible) {
	outline: 2px solid var(--qodz-order);
	outline-offset: 2px;
}

.qodz .qodz-rate__icon {
	display: grid;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--qodz-soft);
	color: #55554f;
	place-items: center;
}

.qodz .qodz-rate.is-checked .qodz-rate__icon {
	background: var(--qodz-order);
	color: var(--qodz-order-text);
}

.qodz .qodz-rate__label {
	flex: 1;
	min-width: 0;
	font-size: 0.93em;
	font-weight: 600;
	line-height: 1.3;
}

.qodz .qodz-rate__price {
	flex: none;
	font-size: 0.93em;
	font-weight: 700;
	white-space: nowrap;
}

.qodz .qodz-rate__price.is-free {
	color: var(--qodz-ok);
}

.qodz .qodz-delivery.is-invalid .qodz-rate {
	border-color: var(--qodz-error);
}

/* Coupon */

.qodz .qodz-coupon {
	position: relative;
	display: flex;
	gap: 8px;
}

.qodz .qodz-coupon .qodz-input {
	flex: 1;
	min-width: 0;
}

.qodz .qodz-coupon__apply,
.qodz .qodz-coupon__apply:hover,
.qodz .qodz-coupon__apply:focus {
	flex: none;
	min-width: 96px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #45453f;
	border-radius: var(--qodz-field-radius);
	background: #fff;
	box-shadow: none;
	color: #2b2b27;
	cursor: pointer;
	font: inherit;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
}

.qodz .qodz-coupon__apply:hover {
	background: var(--qodz-soft);
}

.qodz .qodz-coupon__apply:focus-visible {
	outline: 2px solid var(--qodz-order);
	outline-offset: 2px;
}

.qodz .qodz-coupon__apply:disabled {
	cursor: progress;
	opacity: 0.6;
}

.qodz .qodz-coupon__ok {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 6px 2px 0;
	color: var(--qodz-ok);
	font-size: 13.5px;
	font-weight: 600;
}

.qodz .qodz-coupon__remove,
.qodz .qodz-coupon__remove:hover,
.qodz .qodz-coupon__remove:focus {
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--qodz-muted);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 400;
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
}

/* Messages */

.qodz .qodz-message {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--qodz-soft);
	font-size: 14px;
	line-height: 1.45;
}

.qodz .qodz-message.is-error {
	background: #fdeceb;
	color: #8e1f15;
}

/* Quantity + order button */

.qodz .qodz-actions {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: 14px;
}

.qodz .qodz-qty {
	display: flex;
	flex: none;
	align-items: stretch;
	height: 52px;
	overflow: hidden;
	border: 1px solid var(--qodz-field-border);
	border-radius: var(--qodz-field-radius);
	background: var(--qodz-field-bg);
}

.qodz .qodz-qty__btn,
.qodz .qodz-qty__btn:hover,
.qodz .qodz-qty__btn:focus {
	display: grid;
	width: 40px;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	place-items: center;
}

.qodz .qodz-qty__btn:hover {
	background: var(--qodz-soft);
}

.qodz .qodz-qty__btn:focus-visible {
	outline: 2px solid var(--qodz-order);
	outline-offset: -2px;
}

.qodz .qodz-qty__btn:disabled {
	cursor: default;
	opacity: 0.35;
	background: transparent;
}

.qodz .qodz-qty__btn .qodz-icon {
	width: 18px;
	height: 18px;
}

.qodz .qodz-qty__input,
.qodz .qodz-qty__input:focus {
	width: 44px;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.qodz .qodz-qty__input::-webkit-outer-spin-button,
.qodz .qodz-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.qodz .qodz-btn,
.qodz-sticky .qodz-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	transition: background-color 0.15s, color 0.15s, filter 0.15s, transform 0.1s, opacity 0.15s;
}

.qodz .qodz-btn--order,
.qodz .qodz-btn--order:hover,
.qodz .qodz-btn--order:focus,
.qodz-sticky .qodz-btn--order,
.qodz-sticky .qodz-btn--order:hover,
.qodz-sticky .qodz-btn--order:focus {
	background: var(--qodz-order);
	color: var(--qodz-order-text);
}

.qodz .qodz-btn--order {
	flex: 1;
	min-height: 52px;
	font-size: 17px;
}

.qodz .qodz-btn--order:hover,
.qodz-sticky .qodz-btn--order:hover {
	filter: brightness(1.08);
}

.qodz .qodz-btn:active,
.qodz-sticky .qodz-btn:active {
	transform: translateY(1px);
}

.qodz .qodz-btn:focus-visible,
.qodz-sticky .qodz-btn:focus-visible {
	outline: 2px solid var(--qodz-order);
	outline-offset: 2px;
}

.qodz .qodz-btn:disabled {
	cursor: progress;
	filter: none;
	opacity: 0.85;
	transform: none;
}

.qodz .qodz-btn__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: qodz-spin 0.7s linear infinite;
}

.qodz.is-sending .qodz-btn__spinner {
	display: inline-block;
}

.qodz .qodz-btn--cart,
.qodz .qodz-btn--cart:focus {
	background: var(--qodz-cart);
	color: var(--qodz-cart-text);
}

.qodz .qodz-btn--cart:hover {
	background: var(--qodz-cart-hover);
	color: var(--qodz-cart-hover-text);
}

.qodz .qodz-btn--cart,
.qodz .qodz-btn--wa {
	width: 100%;
	min-height: 48px;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 600;
}

.qodz .qodz-btn--cart .qodz-icon,
.qodz .qodz-btn--wa .qodz-icon {
	width: 20px;
	height: 20px;
}

.qodz .qodz-btn--wa,
.qodz .qodz-btn--wa:hover,
.qodz .qodz-btn--wa:focus,
.qodz .qodz-btn--wa:visited {
	background: var(--qodz-wa);
	color: #fff;
}

.qodz .qodz-btn--wa:hover {
	filter: brightness(1.06);
}

/* Order summary */

.qodz .qodz-summary {
	margin-top: 14px;
	overflow: hidden;
	border-radius: var(--qodz-radius);
	background: var(--qodz-summary-bg);
}

.qodz .qodz-summary__head,
.qodz .qodz-summary__toggle:hover,
.qodz .qodz-summary__toggle:focus {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--qodz-summary-title);
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	text-align: start;
	text-transform: none;
	letter-spacing: normal;
}

.qodz .qodz-summary__toggle {
	cursor: pointer;
}

.qodz .qodz-summary__toggle:focus-visible {
	outline: 2px solid var(--qodz-summary-title);
	outline-offset: -3px;
}

.qodz .qodz-summary__title {
	flex: 1;
}

.qodz .qodz-summary__mini {
	color: var(--qodz-total);
	font-weight: 800;
	white-space: nowrap;
}

.qodz .qodz-summary.is-open .qodz-summary__mini {
	display: none;
}

.qodz .qodz-summary .qodz-icon--chevron {
	flex: none;
	transition: transform 0.2s;
}

.qodz .qodz-summary.is-open .qodz-icon--chevron {
	transform: rotate(180deg);
}

.qodz .qodz-summary__body {
	margin: 0 8px 8px;
	padding: 2px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.55);
}

.qodz .qodz-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.16);
	font-size: 14.5px;
}

.qodz .qodz-line:last-child {
	border-bottom: 0;
}

.qodz .qodz-line__label {
	min-width: 0;
}

.qodz .qodz-line__qty {
	margin-inline-start: 6px;
	color: var(--qodz-muted);
	font-weight: 600;
	white-space: nowrap;
}

.qodz .qodz-line__variation {
	display: block;
	color: var(--qodz-muted);
	font-size: 12.5px;
}

.qodz .qodz-line__variation:empty {
	display: none;
}

.qodz .qodz-line__code {
	color: var(--qodz-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
}

.qodz .qodz-line__value {
	flex: none;
	font-weight: 600;
	white-space: nowrap;
}

.qodz .qodz-line__value.is-muted {
	color: var(--qodz-muted);
	font-weight: 400;
}

.qodz .qodz-line__value.is-free,
.qodz .qodz-line--discount .qodz-line__value {
	color: var(--qodz-ok);
}

.qodz .qodz-summary.is-updating [data-shipping],
.qodz .qodz-summary.is-updating [data-discount] {
	opacity: 0.5;
}

.qodz .qodz-line--total .qodz-line__label {
	font-weight: 700;
}

.qodz .qodz-line--total .qodz-line__value {
	color: var(--qodz-total);
	font-size: 1.15em;
	font-weight: 800;
}

/* Thank you */

.qodz .qodz-done {
	padding: 28px 18px;
	border: 1px solid var(--qodz-border);
	border-radius: 14px;
	background: var(--qodz-form-bg);
	text-align: center;
	outline: none;
}

.qodz .qodz-done__icon {
	display: inline-grid;
	width: 58px;
	height: 58px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #e7f4e8;
	color: var(--qodz-ok);
	place-items: center;
	animation: qodz-pop 0.35s ease-out;
}

.qodz .qodz-done__icon .qodz-icon {
	width: 28px;
	height: 28px;
}

.qodz .qodz-done__title {
	margin: 0 0 6px;
	font-size: 1.2em;
	font-weight: 700;
}

.qodz .qodz-done__text {
	margin: 0 0 12px;
	color: var(--qodz-muted);
}

.qodz .qodz-done__number {
	display: inline-block;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--qodz-soft);
	font-size: 0.95em;
}

.qodz-notice {
	padding: 10px 12px;
	border-radius: 8px;
	background: #f5f5f2;
}

/* Classic design: labels above the fields, no icons, square corners. */

.qodz--classic {
	--qodz-radius: 4px;
	--qodz-field-radius: 3px;
}

.qodz--classic .qodz-form {
	border-radius: 6px;
	box-shadow: none;
}

.qodz--classic .qodz-field__icon {
	display: none;
}

.qodz--classic .qodz-input,
.qodz--classic[dir="rtl"] .qodz-input[dir="ltr"] {
	height: 44px;
	padding-right: 12px;
	padding-left: 12px;
}

.qodz--classic select.qodz-input {
	padding-inline-end: 34px;
}

.qodz--classic .qodz-opt__text {
	border-radius: 3px;
}

.qodz--classic .qodz-rate__icon {
	display: none;
}

.qodz--classic .qodz-rate {
	padding: 10px 12px;
}

.qodz--classic .qodz-rate::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border: 1.5px solid #8e8e89;
	border-radius: 50%;
	background: #fff;
}

.qodz--classic .qodz-rate.is-checked::before {
	border: 5px solid var(--qodz-order);
}

.qodz--classic .qodz-btn,
.qodz--classic .qodz-qty,
.qodz--classic .qodz-summary {
	border-radius: 4px;
}

/* Button animation */

.qodz--animate .qodz-btn--order::after,
.qodz-sticky--animate .qodz-btn--order::after,
.qodz--animate .qodz-btn--cart::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-20deg);
	animation: qodz-shine 3.2s ease-in-out infinite;
	pointer-events: none;
}

.qodz--animate .qodz-btn--cart::after {
	animation-delay: 1.6s;
}

.qodz--animate .qodz-btn--order,
.qodz-sticky--animate .qodz-btn--order {
	animation: qodz-pulse 2.4s ease-in-out infinite;
}

.qodz--animate .qodz-btn--order:hover,
.qodz--animate .qodz-btn--order:focus-visible,
.qodz--animate .qodz-btn--order:disabled,
.qodz.is-sending .qodz-btn--order::after {
	animation: none;
}

/* Sticky "Buy now" bar on phones */

.qodz-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: qodz-rise 0.2s ease-out;
}

.qodz-sticky .qodz-sticky__btn {
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	font-size: 17px;
}

.qodz-sticky .qodz-sticky__total {
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 0.85em;
	white-space: nowrap;
}

/* Call and WhatsApp buttons floating on phones */

.qodz-contact-float {
	position: fixed;
	right: 14px;
	bottom: 18px;
	z-index: 9991;
	display: none;
	flex-direction: column;
	gap: 10px;
}

.qodz-contact-float[dir="rtl"] {
	right: auto;
	left: 14px;
}

.qodz-contact-float .qodz-contact-float__btn {
	display: grid;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	color: #fff;
	text-decoration: none;
	place-items: center;
	transition: transform 0.15s;
}

.qodz-contact-float .qodz-contact-float__btn:hover,
.qodz-contact-float .qodz-contact-float__btn:focus {
	color: #fff;
	transform: scale(1.06);
}

.qodz-contact-float .qodz-contact-float__btn:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.qodz-contact-float .qodz-contact-float__btn--wa {
	background: #1faa59;
}

.qodz-contact-float .qodz-contact-float__btn--call {
	background: var(--qodz-order);
}

.qodz-contact-float .qodz-icon {
	width: 24px;
	height: 24px;
}

@media (min-width: 769px) {
	.qodz-sticky {
		display: none !important;
	}

	/* "Phones only": computers keep WooCommerce's normal form. */
	.qodz.qodz--phones-only {
		display: none !important;
	}
}

@media (max-width: 768px) {
	html.qodz-sticky-page body {
		padding-bottom: 76px;
	}

	.qodz-contact-float {
		display: flex;
	}

	html.qodz-sticky-page .qodz-contact-float {
		bottom: calc(86px + env(safe-area-inset-bottom, 0px));
	}

	body.qodz-phones-only form.cart:not(.qodz-form),
	body.qodz-phones-only .single_variation_wrap,
	body.qodz-phones-only .ast-sticky-add-to-cart {
		display: none !important;
	}
}

/* Narrow spaces (phones, sidebars) */

@container (max-width: 420px) {
	.qodz .qodz-form {
		padding: 14px;
	}

	.qodz .qodz-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.qodz .qodz-btn--order {
		font-size: 16px;
	}

	.qodz .qodz-coupon__apply {
		min-width: 0;
	}
}

@supports not (container-type: inline-size) {
	@media (max-width: 480px) {
		.qodz .qodz-fields {
			grid-template-columns: minmax(0, 1fr);
		}
	}
}

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

@keyframes qodz-pop {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes qodz-rise {
	from {
		transform: translateY(100%);
	}
	to {
		transform: none;
	}
}

@keyframes qodz-shine {
	0%,
	55% {
		left: -60%;
	}
	100% {
		left: 130%;
	}
}

@keyframes qodz-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.18);
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--qodz-order) 45%, transparent);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(0, 0, 0, 0);
		box-shadow: 0 0 0 7px color-mix(in srgb, var(--qodz-order) 0%, transparent);
	}
}

@media (prefers-reduced-motion: reduce) {
	.qodz *,
	.qodz *::after,
	.qodz-sticky,
	.qodz-sticky *,
	.qodz-sticky *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* Button that leads to the form (second add-to-cart area of some themes). */
.qodz-jump {
	white-space: nowrap;
}
