/**
 * Yasiru WhatsApp Order — buttons and popup.
 *
 * Colours come from the settings as --ywo-bg / --ywo-fg / --ywo-icon-size
 * (printed inline). Selectors are scoped to .ywo-* with enough weight to win
 * over theme rules for bare button / input / h2 elements.
 */

:root {
	--ywo-bg: #25d366;
	--ywo-fg: #fff;
	--ywo-icon-size: 40px;
	--ywo-ink: #101a2c;
	--ywo-muted: #7a8493;
	--ywo-line: #dde3ec;
	--ywo-surface: #f5f7fa;
	--ywo-price: #0f8a43;
	--ywo-error: #d92d20;
	--ywo-radius: 11px;
	--ywo-heading: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ywo-float-z: 55; /* Under the theme's drawers and modals. */
}

/* Buttons ---------------------------------------------------------------- */

.ywo-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	border: 0;
	background: var(--ywo-bg);
	color: var(--ywo-fg);
	font: inherit;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ywo-btn:hover,
.ywo-btn:focus-visible {
	background: var(--ywo-bg);
	color: var(--ywo-fg);
	filter: brightness(.94);
	box-shadow: 0 8px 18px rgba(37, 211, 102, .32);
}

.ywo-btn:focus-visible {
	outline: 2px solid var(--ywo-ink);
	outline-offset: 2px;
}

.ywo-btn .ywo-icon {
	flex: none;
	fill: currentColor;
}

/* Small rounded-square icon on product cards. */
.ywo-btn.ywo-btn--icon {
	position: relative;
	flex: none;
	width: var(--ywo-icon-size);
	height: var(--ywo-icon-size);
	min-width: 0;
	padding: 0;
	border-radius: 11px;
	vertical-align: middle;
}

.ywo-btn--icon .ywo-icon {
	width: 56%;
	height: 56%;
}

.ywo-btn--icon:hover {
	transform: translateY(-1px);
}

/* Placed by the script next to a card's add-to-cart button: sit beside it. */
.ywo-btn--injected {
	margin-left: auto !important;
}

/* Printed by woocommerce_after_shop_loop_item in standard themes. */
li.product > .ywo-btn--icon:not(.ywo-btn--injected) {
	margin: .5em 0 0 .4em;
}

/* Tooltip. */
.ywo-btn--icon[data-ywo-tip]::after {
	content: attr(data-ywo-tip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	z-index: 5;
	padding: 6px 10px;
	border-radius: 7px;
	background: var(--ywo-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.ywo-btn--icon:hover::after,
.ywo-btn--icon:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

/* Large button on the product page. */
.ywo-single {
	clear: both;
	margin: 14px 0 18px;
}

.ywo-btn.ywo-btn--button {
	min-height: 52px;
	padding: 13px 28px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 15.5px;
}

.ywo-btn--button .ywo-icon {
	width: 22px;
	height: 22px;
}

.ywo-btn--button.ywo-btn--full {
	display: flex;
	width: 100%;
}

.ywo-single__notice {
	margin: 8px 0 0;
	color: var(--ywo-error);
	font-size: 13.5px;
	font-weight: 600;
}

/* Popup ------------------------------------------------------------------ */

html.ywo-locked,
html.ywo-locked body {
	overflow: hidden;
}

.ywo-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: var(--ywo-ink);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
}

.ywo-modal[hidden],
.ywo-modal [hidden],
.ywo-single [hidden] {
	display: none !important;
}

.ywo-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 26, 44, .55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	animation: ywo-fade .2s ease;
}

.ywo-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	padding: 6px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(16, 26, 44, .3);
	animation: ywo-pop .22s cubic-bezier(.2, .9, .3, 1.15);
}

.ywo-modal__dialog:focus {
	outline: none;
}

/* Scrolls inside the card's padding so the scrollbar stays clear of the rounded edge. */
.ywo-modal__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 24px 26px 26px;
	/* Themes that set scrollbar-width globally would make Chrome ignore the styles below. */
	scrollbar-width: auto;
	scrollbar-color: auto;
}

.ywo-modal__body::-webkit-scrollbar {
	width: 12px;
}

.ywo-modal__body::-webkit-scrollbar-track {
	margin: 10px 0;
	background: transparent;
}

.ywo-modal__body::-webkit-scrollbar-thumb {
	border: 4px solid transparent;
	border-radius: 12px;
	background: #d0d5dd padding-box;
}

.ywo-modal__body::-webkit-scrollbar-thumb:hover {
	background-color: #98a2b3;
}

@supports not selector(::-webkit-scrollbar) {
	.ywo-modal__body {
		scrollbar-width: thin;
		scrollbar-color: #d0d5dd transparent;
	}
}

.ywo-modal .ywo-modal__close {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #98a2b3;
	cursor: pointer;
	box-shadow: none;
}

.ywo-modal .ywo-modal__close:hover,
.ywo-modal .ywo-modal__close:focus-visible {
	background: var(--ywo-surface);
	color: var(--ywo-ink);
}

.ywo-modal__head {
	margin-bottom: 22px;
	text-align: center;
}

.ywo-modal__logo {
	display: inline-flex;
	color: var(--ywo-bg);
}

.ywo-modal__logo .ywo-icon {
	width: 44px;
	height: 44px;
}

.ywo-modal .ywo-modal__title {
	margin: 12px 0 6px;
	padding: 0;
	color: var(--ywo-ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.ywo-modal .ywo-modal__subtitle {
	margin: 0;
	color: var(--ywo-muted);
	font-size: 13.5px;
}

/* Fields. */
.ywo-form {
	display: grid;
	gap: 16px;
	margin: 0;
}

.ywo-field {
	display: grid;
	gap: 7px;
}

.ywo-modal .ywo-field label {
	margin: 0;
	color: var(--ywo-ink);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
}

.ywo-req {
	color: var(--ywo-error);
}

.ywo-modal .ywo-field input,
.ywo-modal .ywo-field textarea {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 11px 15px;
	border: 1px solid var(--ywo-line);
	border-radius: var(--ywo-radius);
	background: #fff;
	color: var(--ywo-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ywo-modal .ywo-field textarea {
	min-height: 84px;
	resize: vertical;
}

.ywo-modal .ywo-field input::placeholder,
.ywo-modal .ywo-field textarea::placeholder {
	color: #8a94a3;
	opacity: 1;
}

.ywo-modal .ywo-field input:focus,
.ywo-modal .ywo-field textarea:focus {
	border-color: var(--ywo-bg);
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
}

.ywo-modal .ywo-field [aria-invalid="true"],
.ywo-modal .ywo-field [aria-invalid="true"]:focus {
	border-color: var(--ywo-error);
	box-shadow: 0 0 0 3px rgba(217, 45, 32, .12);
}

.ywo-field__error,
.ywo-form__error {
	margin: 0;
	color: var(--ywo-error);
	font-size: 12.5px;
	font-weight: 600;
}

.ywo-form__error {
	font-size: 13.5px;
	text-align: center;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.ywo-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Product summary. */
.ywo-summary {
	display: grid;
	gap: 8px;
	padding: 13px 15px;
	border-radius: var(--ywo-radius);
	background: var(--ywo-surface);
}

.ywo-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ywo-summary__name {
	min-width: 0;
	color: var(--ywo-ink);
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.ywo-summary__price {
	flex: none;
	color: var(--ywo-price);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.ywo-summary__meta {
	color: var(--ywo-muted);
	font-size: 12.5px;
}

.ywo-summary.is-loading .ywo-summary__name {
	color: var(--ywo-muted);
	font-weight: 600;
}

.ywo-summary__qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ywo-qty {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--ywo-line);
	border-radius: 9px;
	background: #fff;
}

.ywo-modal .ywo-qty__btn {
	-webkit-appearance: none;
	appearance: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ywo-ink);
	font: inherit;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.ywo-modal .ywo-qty__btn:hover:not(:disabled) {
	background: var(--ywo-surface);
}

.ywo-modal .ywo-qty__btn:disabled {
	color: #c3c9d2;
	cursor: default;
}

.ywo-modal .ywo-qty__input {
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: textfield;
	width: 42px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-inline: 1px solid var(--ywo-line);
	border-radius: 0;
	background: #fff;
	color: var(--ywo-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	box-shadow: none;
}

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

.ywo-modal .ywo-qty__input:focus {
	outline: 2px solid var(--ywo-bg);
	outline-offset: -2px;
}

.ywo-summary__total {
	color: var(--ywo-ink);
	font-size: 13.5px;
	font-weight: 700;
}

/* Send. */
.ywo-modal .ywo-submit {
	-webkit-appearance: none;
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	margin: 2px 0 0;
	padding: 13px 22px;
	border: 0;
	border-radius: 30px;
	background: var(--ywo-bg);
	color: var(--ywo-fg);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .4px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	transition: filter .18s ease, box-shadow .18s ease;
}

.ywo-modal .ywo-submit:hover,
.ywo-modal .ywo-submit:focus-visible {
	background: var(--ywo-bg);
	color: var(--ywo-fg);
	filter: brightness(.94);
	box-shadow: 0 10px 22px rgba(37, 211, 102, .3);
}

.ywo-modal .ywo-submit:focus-visible {
	outline: 2px solid var(--ywo-ink);
	outline-offset: 2px;
}

.ywo-modal .ywo-submit:disabled {
	opacity: .6;
	cursor: default;
}

.ywo-modal .ywo-submit .ywo-icon {
	width: 20px;
	height: 20px;
}

/* After sending. */
.ywo-modal__dialog.is-done .ywo-modal__title,
.ywo-modal__dialog.is-done .ywo-modal__subtitle {
	display: none;
}

.ywo-done {
	display: grid;
	justify-items: center;
	gap: 12px;
	text-align: center;
}

.ywo-done__check {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(37, 211, 102, .14);
	color: var(--ywo-price);
}

.ywo-modal .ywo-done__title {
	margin: 0;
	color: var(--ywo-ink);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

.ywo-done__title:focus {
	outline: none;
}

.ywo-done__text {
	margin: 0 0 6px;
	color: var(--ywo-muted);
	font-size: 14px;
}

.ywo-modal .ywo-done__close {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 8px 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ywo-muted);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}

.ywo-modal .ywo-done__close:hover {
	background: var(--ywo-surface);
	color: var(--ywo-ink);
}

/* Floating button ---------------------------------------------------------- */

.ywo-float {
	position: fixed;
	right: max(22px, env(safe-area-inset-right));
	bottom: calc(22px + env(safe-area-inset-bottom));
	z-index: var(--ywo-float-z);
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--ywo-bg);
	color: var(--ywo-fg);
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
	animation: ywo-float-in .35s cubic-bezier(.2, .9, .3, 1.2) backwards;
}

.ywo-float--left {
	right: auto;
	left: max(22px, env(safe-area-inset-left));
}

.ywo-float:hover,
.ywo-float:focus-visible {
	color: var(--ywo-fg);
	filter: brightness(1.05);
	box-shadow: 0 16px 34px rgba(37, 211, 102, .5);
	transform: translateY(-2px);
}

.ywo-float:focus-visible {
	outline: 3px solid var(--ywo-ink);
	outline-offset: 3px;
}

.ywo-float .ywo-icon {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

/* Tooltip: beside the button, towards the middle of the screen. */
.ywo-float__tip {
	position: absolute;
	top: 50%;
	right: calc(100% + 12px);
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--ywo-ink);
	color: #fff;
	font-family: var(--ywo-heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .2px;
	white-space: nowrap;
	/* The faint ring keeps it apart from dark sections behind it. */
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 18px rgba(16, 26, 44, .22);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(6px, -50%);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.ywo-float__tip::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	border: 6px solid transparent;
	border-left-color: var(--ywo-ink);
	border-right-width: 0;
	transform: translateY(-50%);
}

.ywo-float--left .ywo-float__tip {
	right: auto;
	left: calc(100% + 12px);
	transform: translate(-6px, -50%);
}

.ywo-float--left .ywo-float__tip::after {
	left: auto;
	right: 100%;
	border-left-color: transparent;
	border-right-color: var(--ywo-ink);
	border-left-width: 0;
	border-right-width: 6px;
}

.ywo-float:focus-visible .ywo-float__tip {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
	transition-delay: 0s;
}

@media (hover: hover) {
	.ywo-float:hover .ywo-float__tip {
		opacity: 1;
		visibility: visible;
		transform: translate(0, -50%);
		transition-delay: 0s;
	}
}

html.ywo-locked .ywo-float {
	visibility: hidden;
}

/* Part popup (floating button) -------------------------------------------- */

.ywo-modal--general .ywo-modal__dialog {
	max-width: 560px;
	border-radius: 20px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}

.ywo-modal--general .ywo-modal__body {
	padding: 28px 34px 26px;
}

.ywo-modal--general .ywo-modal__close {
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	background: #f1f4f8;
	color: #5a6675;
}

.ywo-modal--general .ywo-modal__close:hover,
.ywo-modal--general .ywo-modal__close:focus-visible {
	background: #e2e7ef;
	color: var(--ywo-ink);
}

.ywo-modal--general .ywo-modal__head {
	display: grid;
	justify-items: center;
	gap: 10px;
	margin-bottom: 24px;
}

.ywo-modal__badge {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #e9f9ef;
	color: var(--ywo-bg);
}

.ywo-modal__badge .ywo-icon {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.ywo-modal.ywo-modal--general .ywo-modal__title {
	margin: 0;
	font-family: var(--ywo-heading);
	font-size: 26px;
	letter-spacing: -.2px;
	line-height: 1.2;
}

.ywo-modal.ywo-modal--general .ywo-modal__subtitle {
	max-width: 400px;
	font-size: 14px;
	line-height: 1.5;
}

.ywo-form--general {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.ywo-form--general > * {
	grid-column: 1 / -1;
}

.ywo-form--general > .ywo-field--half {
	grid-column: auto;
}

.ywo-modal .ywo-form--general .ywo-field label {
	font-family: var(--ywo-heading);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .7px;
	text-transform: uppercase;
}

.ywo-modal .ywo-form--general .ywo-field label .ywo-req {
	color: #e4232b;
}

.ywo-opt {
	color: #8a94a3;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.ywo-modal .ywo-form--general .ywo-field input,
.ywo-modal .ywo-form--general .ywo-field textarea {
	min-height: 46px;
	padding: 12px 13px;
	border-width: 1.5px;
	border-radius: 10px;
	font-size: 14px;
}

.ywo-modal .ywo-form--general .ywo-field textarea {
	min-height: 78px;
	background: #fbfcfe;
}

.ywo-modal .ywo-form--general .ywo-field textarea:focus {
	background: #fff;
}

/* Photo: a dashed drop box; the file input lies over it, so a click or a key
   press anywhere on it opens the file picker. */
.ywo-drop {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 24px 18px;
	border: 1.6px dashed #d5dce6;
	border-radius: 12px;
	background: #fbfcfe;
	color: #8a94a3;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.ywo-drop:hover,
.ywo-drop.is-over {
	border-color: var(--ywo-bg);
	background: #f2fbf6;
}

.ywo-drop:focus-within {
	border-color: var(--ywo-bg);
	box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
}

.ywo-modal .ywo-field input.ywo-drop__input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 0;
	box-shadow: none;
}

.ywo-drop__icon {
	width: 30px;
	height: 30px;
}

.ywo-drop__text {
	color: #5a6675;
	font-size: 13.5px;
}

.ywo-drop__text b {
	color: #0d9c4a;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ywo-drop__hint {
	color: #a3adba;
	font-size: 12px;
}

.ywo-file {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1.5px solid #cfe9d9;
	border-radius: 12px;
	background: #f4fbf7;
}

.ywo-file__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border: 1px solid #e2ece7;
	border-radius: 9px;
	background: #fff;
	color: var(--ywo-bg);
}

.ywo-file__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ywo-file__info {
	display: grid;
	flex: 1;
	gap: 3px;
	min-width: 0;
}

.ywo-file__name {
	overflow: hidden;
	color: var(--ywo-ink);
	font-family: var(--ywo-heading);
	font-size: 14.5px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ywo-file__meta {
	color: var(--ywo-muted);
	font-size: 12px;
}

.ywo-file.is-done .ywo-file__meta {
	color: var(--ywo-price);
	font-weight: 600;
}

.ywo-file__bar {
	display: block;
	height: 4px;
	margin-top: 3px;
	overflow: hidden;
	border-radius: 4px;
	background: #dcefe3;
}

.ywo-file__bar span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--ywo-bg);
	transition: width .2s ease;
}

.ywo-file.is-done .ywo-file__bar {
	display: none;
}

.ywo-modal .ywo-file__remove {
	-webkit-appearance: none;
	appearance: none;
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #b3bdca;
	cursor: pointer;
	box-shadow: none;
}

.ywo-modal .ywo-file__remove:hover,
.ywo-modal .ywo-file__remove:focus-visible {
	background: #fff;
	color: #e4232b;
}

.ywo-modal .ywo-file__remove:focus-visible {
	outline: 2px solid var(--ywo-ink);
	outline-offset: 1px;
}

.ywo-modal.ywo-modal--general .ywo-submit {
	min-height: 54px;
	margin-top: 8px;
	padding: 15px 22px;
	border-radius: 40px;
	font-family: var(--ywo-heading);
	font-size: 16.5px;
	letter-spacing: .3px;
	text-transform: none;
	box-shadow: 0 10px 24px rgba(37, 211, 102, .32);
}

.ywo-modal.ywo-modal--general .ywo-submit .ywo-icon {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.ywo-modal.ywo-modal--general .ywo-submit:disabled {
	opacity: .7;
	filter: none;
	box-shadow: none;
}

.ywo-form__note {
	margin: -4px 0 0;
	color: #a3adba;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

/* Sent: the check mark replaces the WhatsApp badge and title. */
.ywo-modal--general .ywo-modal__dialog.is-done .ywo-modal__head {
	display: none;
}

.ywo-modal--general .ywo-done {
	padding: 10px 0 2px;
}

@keyframes ywo-float-in {
	from { opacity: 0; transform: scale(.6); }
}

@keyframes ywo-fade {
	from { opacity: 0; }
}

@keyframes ywo-pop {
	from { opacity: 0; transform: translateY(12px) scale(.97); }
}

@media (max-width: 480px) {
	.ywo-modal {
		padding: 12px;
	}

	.ywo-modal__dialog {
		border-radius: 16px;
	}

	.ywo-modal__body {
		padding: 20px 14px 16px;
	}

	.ywo-modal__head {
		margin-bottom: 18px;
	}

	.ywo-form {
		gap: 14px;
	}

	.ywo-modal--general .ywo-modal__body {
		padding: 24px 16px 18px;
	}

	.ywo-modal.ywo-modal--general .ywo-modal__title {
		font-size: 22px;
	}

	.ywo-form--general > .ywo-field--half {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.ywo-float {
		right: max(16px, env(safe-area-inset-right));
		bottom: calc(16px + env(safe-area-inset-bottom));
		width: 54px;
		height: 54px;
	}

	.ywo-float--left {
		right: auto;
		left: max(16px, env(safe-area-inset-left));
	}

	.ywo-float .ywo-icon {
		width: 28px;
		height: 28px;
	}
}

@media print {
	.ywo-float {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ywo-btn,
	.ywo-float,
	.ywo-float__tip,
	.ywo-modal__overlay,
	.ywo-modal__dialog,
	.ywo-file__bar span,
	.ywo-btn--icon[data-ywo-tip]::after {
		animation: none;
		transition: none;
	}
}
