.casio-customer-entry {
	display: none;
}

.casio-donor-header .header__tools__item--account {
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

.casio-donor-header .header__tools__item--account .header__tools__icon {
	color: #232d40;
}

.casio-customer-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 24px;
	pointer-events: none;
	opacity: 0;
	transition: opacity .22s ease;
}

.casio-customer-modal.is-open {
	pointer-events: auto;
	opacity: 1;
}

.casio-customer-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 18, 32, .38);
	border: 0;
	cursor: pointer;
}

.casio-customer-modal__panel {
	position: relative;
	width: min(430px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 36px;
	border: 1px solid rgba(207, 218, 229, .85);
	border-radius: 28px;
	background:
		radial-gradient(circle at 86% 8%, rgba(255, 130, 24, .14), transparent 34%),
		linear-gradient(145deg, #fff 0%, #f7fbfd 100%);
	box-shadow: 0 28px 80px rgba(20, 43, 67, .22);
	transform: translateX(32px);
	transition: transform .26s ease;
}

.casio-customer-modal.is-open .casio-customer-modal__panel {
	transform: translateX(0);
}

.casio-customer-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #f3f6f9;
	cursor: pointer;
}

.casio-customer-modal__close span::before,
.casio-customer-modal__close span::after {
	content: "";
	position: absolute;
	top: 20px;
	left: 12px;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #8090a3;
}

.casio-customer-modal__close span::before {
	transform: rotate(45deg);
}

.casio-customer-modal__close span::after {
	transform: rotate(-45deg);
}

.casio-customer-modal__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 72px;
	margin-bottom: 18px;
	padding: 0 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffb21b 0%, #ff7a16 76%);
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.04em;
}

.casio-customer-modal[data-casio-customer-mode="reset"] .casio-customer-modal__badge {
	display: none;
}

.casio-customer-modal[data-casio-customer-mode="reset"] .casio-customer-modal__tabs {
	display: none;
}

.casio-customer-modal h2 {
	margin: 0;
	color: #061733;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.08;
}

.casio-customer-modal__intro {
	margin: 12px 0 24px;
	color: #526175;
	font-size: 16px;
	line-height: 1.55;
}

.casio-customer-modal__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px;
	border: 1px solid #d8e1ea;
	border-radius: 16px;
	background: #fff;
}

.casio-customer-modal__tabs button {
	min-height: 42px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #526175;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.casio-customer-modal__tabs button.is-active {
	background: #40a0b6;
	color: #fff;
}

.casio-customer-modal__message {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.45;
}

.casio-customer-modal__message.is-error {
	background: #fff2f0;
	color: #b42318;
}

.casio-customer-modal__message.is-success {
	background: #ecfdf3;
	color: #027a48;
}

.casio-customer-form {
	display: none;
	gap: 14px;
}

.casio-customer-form.is-active {
	display: grid;
}

.casio-customer-form label {
	display: grid;
	gap: 7px;
	color: #061733;
	font-size: 14px;
	font-weight: 700;
}

.casio-customer-form input[type="text"],
.casio-customer-form input[type="email"],
.casio-customer-form input[type="tel"],
.casio-customer-form input[type="password"] {
	width: 100%;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid #d8e1ea;
	border-radius: 14px;
	background: #fff;
	color: #061733;
	font-size: 15px;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.casio-customer-form input:focus {
	border-color: #40a0b6;
	box-shadow: 0 0 0 3px rgba(64, 160, 182, .14);
}

.casio-customer-form__checkbox {
	grid-template-columns: 20px 1fr;
	align-items: flex-start;
	gap: 10px !important;
	color: #526175 !important;
	font-weight: 500 !important;
	line-height: 1.4;
}

.casio-customer-form__checkbox input {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #40a0b6;
}

.casio-customer-form__submit {
	min-height: 54px;
	border: 0;
	border-radius: 16px;
	background: #40a0b6;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 16px 34px rgba(64, 160, 182, .28);
	transition: transform .16s ease, background .16s ease;
}

.casio-customer-form__submit:hover,
.casio-customer-form__submit:focus {
	background: #358fa4;
	transform: translateY(-1px);
}

.casio-customer-form__submit:disabled {
	cursor: wait;
	opacity: .72;
	transform: none;
}

.casio-customer-form__link {
	justify-self: center;
	border: 0;
	background: transparent;
	color: #40a0b6;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.casio-customer-form__link:hover,
.casio-customer-form__link:focus {
	color: #061733;
}

.casio-customer-verification-toast,
.casio-customer-floating-notice {
	position: fixed;
	right: 24px;
	bottom: 94px;
	z-index: 100040;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: min(420px, calc(100vw - 32px));
	padding: 14px 16px;
	border: 1px solid rgba(207, 218, 229, .9);
	border-radius: 18px;
	background: #fff;
	color: #061733;
	box-shadow: 0 18px 45px rgba(20, 43, 67, .16);
	font-size: 14px;
	line-height: 1.4;
}

.casio-customer-verification-toast button {
	flex: 0 0 auto;
	border: 0;
	border-radius: 999px;
	background: #40a0b6;
	color: #fff;
	padding: 9px 12px;
	font-weight: 700;
	cursor: pointer;
}

.casio-customer-floating-notice {
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease;
}

.casio-customer-floating-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.casio-customer-floating-notice.is-success {
	border-color: rgba(2, 122, 72, .18);
	background: #ecfdf3;
	color: #027a48;
}

.casio-customer-floating-notice.is-error {
	border-color: rgba(180, 35, 24, .18);
	background: #fff2f0;
	color: #b42318;
}

.casio-checkout-marketing-consent {
	margin-top: 16px;
}

body.casio-customer-modal-open {
	overflow: hidden;
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
	text-transform: none;
}

.casio-account-newsletter {
	max-width: 760px;
	padding: 30px;
	border: 1px solid #e3e8ef;
	background: #fff;
}

.casio-account-newsletter__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.casio-account-newsletter__eyebrow {
	margin: 0 0 6px;
	color: #40a0b6;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.casio-account-newsletter h2 {
	margin: 0;
	color: #061733;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
}

.casio-account-newsletter__status {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 13px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
}

.casio-account-newsletter__status.is-active {
	background: #ecfdf3;
	color: #027a48;
}

.casio-account-newsletter__status.is-inactive {
	background: #f3f6f9;
	color: #526175;
}

.casio-account-newsletter__text,
.casio-account-newsletter__meta {
	margin: 0 0 18px;
	color: #526175;
	font-size: 16px;
	line-height: 1.55;
}

.casio-account-newsletter__meta {
	font-size: 14px;
}

.casio-account-newsletter__form {
	display: grid;
	gap: 18px;
	margin-top: 22px;
}

.casio-account-newsletter__checkbox {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	color: #061733;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

.casio-account-newsletter__checkbox input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: #40a0b6;
}

.casio-account-newsletter__form .button {
	justify-self: start;
	min-width: 180px;
	min-height: 50px;
	border: 0;
	background: #061733;
	color: #fff;
	font-weight: 800;
}

.casio-payment-result {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 24px;
	width: min(100%, 1180px);
	margin: 18px auto 34px;
	padding: 34px;
	border: 1px solid #dfe8ee;
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 132, 22, 0.16), transparent 34%),
		linear-gradient(135deg, #f8fcff 0%, #ffffff 58%, #fff8ef 100%);
	box-shadow: 0 22px 58px rgba(6, 23, 51, 0.09);
	color: #061733;
	font-family: inter, Inter, sans-serif !important;
}

.casio-payment-result :where(h2, p, a, span, strong),
.casio-checkout-payment-alert,
.casio-checkout-payment-alert :where(h2, p, a, span, strong),
.casio-payment-result-page--pay form#order_review,
.casio-payment-result-page--pay form#order_review :where(table, th, td, ul, li, label, p, a, button, span, strong) {
	font-family: inter, Inter, sans-serif !important;
}

.casio-payment-result--compact {
	margin-top: 24px;
	margin-bottom: 24px;
	padding: 26px;
}

.woocommerce-account .casio-order-detail-result {
	width: 100%;
	margin-top: 0;
	margin-bottom: 28px;
}

.casio-payment-result__icon {
	display: grid;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 24px;
	background: #3fa6bb;
	color: #fff;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 16px 34px rgba(63, 166, 187, 0.25);
}

.casio-payment-result--failed .casio-payment-result__icon,
.casio-payment-result--cancelled .casio-payment-result__icon {
	background: #ff8416;
	box-shadow: 0 16px 34px rgba(255, 132, 22, 0.28);
}

.casio-payment-result--pending .casio-payment-result__icon {
	background: #ffd229;
	color: #061733;
	box-shadow: 0 16px 34px rgba(255, 210, 41, 0.28);
}

.casio-payment-result__eyebrow {
	margin: 0 0 8px;
	color: #3fa6bb;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.casio-payment-result--failed .casio-payment-result__eyebrow,
.casio-payment-result--cancelled .casio-payment-result__eyebrow {
	color: #ff8416;
}

.casio-payment-result h2 {
	margin: 0 0 10px;
	color: #061733;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 900;
	line-height: 1.05;
}

.casio-payment-result p:not(.casio-payment-result__eyebrow) {
	max-width: 820px;
	margin: 0;
	color: #627086;
	font-size: 18px;
	line-height: 1.55;
}

.casio-payment-result__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.casio-payment-result__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 42px;
	padding: 9px 14px;
	border: 1px solid #dfe8ee;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	color: #627086;
	font-size: 14px;
}

.casio-payment-result__meta strong {
	color: #061733;
	font-weight: 900;
}

.casio-payment-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.casio-payment-result__button,
.casio-payment-result__button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 24px;
	border-radius: 16px;
	font-weight: 900;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.casio-payment-result__button:hover,
.casio-payment-result__button:focus-visible {
	transform: translateY(-1px);
	text-decoration: none;
}

.casio-payment-result__button--primary,
.casio-payment-result__button--primary.button {
	border: 0;
	background: #3fa6bb;
	color: #fff;
	box-shadow: 0 14px 28px rgba(63, 166, 187, 0.23);
}

.casio-payment-result__button--secondary,
.casio-payment-result__button--secondary.button {
	border: 1px solid #d7e2ea;
	background: #fff;
	color: #061733;
}

.casio-payment-result__button--ghost,
.casio-payment-result__button--ghost.button {
	border: 0;
	background: transparent;
	color: #3fa6bb;
}

.casio-payment-result-page .woocommerce-thankyou-order-received,
.casio-payment-result-page .woocommerce-thankyou-order-failed,
.casio-payment-result-page .woocommerce-thankyou-order-failed-actions,
.casio-payment-result-page .wc-block-order-confirmation-status > h1,
.casio-payment-result-page .wc-block-order-confirmation-status > p,
.casio-payment-result-page .wc-block-order-confirmation-status__actions {
	display: none;
}

.casio-payment-result-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	width: min(100%, 1180px);
	margin: 0 auto 34px;
	padding: 0;
	border: 0;
}

.casio-payment-result-page .woocommerce-order-overview li {
	margin: 0;
	padding: 16px;
	border: 1px solid #e2e9ef;
	border-radius: 16px;
	background: #fff;
	color: #718096;
	font-size: 13px;
	list-style: none;
	text-transform: none;
}

.casio-payment-result-page .woocommerce-order-overview strong {
	display: block;
	margin-top: 6px;
	color: #061733;
	font-size: 17px;
	font-weight: 900;
}

.casio-payment-result-page--pay form#order_review {
	width: min(100%, 1180px);
	margin: 0 auto 50px;
	color: #061733;
}

.casio-payment-result-page--pay form#order_review .shop_table {
	margin-bottom: 22px;
	border: 1px solid #dfe8ee;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
}

.casio-payment-result-page--pay form#order_review .shop_table th,
.casio-payment-result-page--pay form#order_review .shop_table td {
	padding: 16px 18px;
	border-color: #e6edf2;
}

.casio-payment-result-page--pay form#order_review #payment {
	padding: 28px;
	border: 1px solid #dfe8ee;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(6, 23, 51, 0.08);
}

.casio-payment-result-page--pay form#order_review #payment::before,
.casio-payment-result-page--pay form#order_review #payment::after {
	display: none;
}

.casio-payment-result-page--pay form#order_review .payment_methods {
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	list-style: none;
}

.casio-payment-result-page--pay form#order_review .payment_methods > li {
	margin: 0;
	padding: 17px 18px;
	border: 1px solid #dfe8ee;
	border-radius: 16px;
	background: #f9fcfd;
	list-style: none;
}

.casio-payment-result-page--pay form#order_review .payment_methods > li::marker {
	content: "";
}

.casio-payment-result-page--pay form#order_review .payment_methods input[type="radio"] {
	width: 19px;
	height: 19px;
	margin: 2px 10px 0 0;
	accent-color: #3fa6bb;
	vertical-align: top;
}

.casio-payment-result-page--pay form#order_review .payment_methods > li > label {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	color: #061733;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.casio-payment-result-page--pay form#order_review .payment_methods > li > label img {
	width: auto !important;
	height: auto !important;
	max-width: 118px !important;
	max-height: 46px !important;
	margin: 0 0 0 12px !important;
	object-fit: contain;
}

.casio-payment-result-page--pay form#order_review .payment_box {
	margin: 14px 0 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: #eef7f9;
	color: #526279;
}

.casio-payment-result-page--pay form#order_review .payment_box::before {
	display: none;
}

.casio-payment-result-page--pay form#order_review .payment_box p {
	margin: 0;
	line-height: 1.55;
}

.casio-payment-result-page--pay form#order_review .payment_box .birpay-installments {
	display: block;
}

.casio-payment-result-page--pay form#order_review .payment_box .birpay-installments__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
}

.casio-payment-result-page--pay form#order_review .payment_box .birpay-installments__hint {
	display: block;
	margin: 10px 0 0 28px;
	padding-top: 2px;
	line-height: 1.5;
}

.casio-payment-result-page--pay form#order_review .woocommerce-privacy-policy-text {
	margin: 0 0 18px;
	color: #627086;
	font-size: 15px;
	line-height: 1.6;
}

.casio-payment-result-page--pay form#order_review .woocommerce-terms-and-conditions-wrapper {
	margin-top: 18px;
}

.casio-payment-result-page--pay form#order_review .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #061733;
	font-weight: 700;
	line-height: 1.5;
}

.casio-payment-result-page--pay form#order_review input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #3fa6bb;
}

.casio-payment-result-page--pay form#order_review #place_order {
	float: none;
	width: 100%;
	min-height: 58px;
	margin-top: 20px;
	padding: 15px 24px;
	border: 0;
	border-radius: 16px;
	background: #3fa6bb;
	color: #fff;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: 0 14px 28px rgba(63, 166, 187, 0.23);
}

.casio-payment-result-page--pay form#order_review .shop_table,
.casio-payment-result-page .woocommerce-order-details,
.casio-payment-result-page .woocommerce-customer-details,
.casio-payment-result-page .wc-block-order-confirmation-summary,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-totals-wrapper,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-billing-wrapper,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-shipping-wrapper {
	width: min(100%, 1180px);
	margin-right: auto;
	margin-left: auto;
}

.casio-payment-result-page .wc-block-order-confirmation-summary,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-totals-wrapper,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-billing-wrapper,
.casio-payment-result-page .wp-block-woocommerce-order-confirmation-shipping-wrapper {
	margin-top: 22px;
}

.casio-checkout-payment-alert {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 18px;
	width: min(100%, 1180px);
	margin: 0 auto 28px;
	padding: 22px;
	border: 1px solid #dfe8ee;
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 132, 22, 0.14), transparent 38%),
		linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
	box-shadow: 0 16px 38px rgba(6, 23, 51, 0.08);
	color: #061733;
	font-family: inter, Inter, sans-serif !important;
}

.casio-checkout-payment-alert__mark {
	display: grid;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 18px;
	background: #ffd229;
	color: #061733;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.casio-checkout-payment-alert--failed .casio-checkout-payment-alert__mark,
.casio-checkout-payment-alert--cancelled .casio-checkout-payment-alert__mark {
	background: #ff8416;
	color: #fff;
}

.casio-checkout-payment-alert__eyebrow {
	margin: 0 0 5px;
	color: #3fa6bb;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.casio-checkout-payment-alert--failed .casio-checkout-payment-alert__eyebrow,
.casio-checkout-payment-alert--cancelled .casio-checkout-payment-alert__eyebrow {
	color: #ff8416;
}

.casio-checkout-payment-alert h2 {
	margin: 0 0 6px;
	color: #061733;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 900;
	line-height: 1.12;
}

.casio-checkout-payment-alert p:not(.casio-checkout-payment-alert__eyebrow) {
	max-width: 760px;
	margin: 0;
	color: #627086;
	font-size: 16px;
	line-height: 1.5;
}

.casio-checkout-payment-alert__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.casio-checkout-payment-alert__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 18px;
	border-radius: 14px;
	font-weight: 900;
	text-decoration: none;
}

.casio-checkout-payment-alert__button:hover,
.casio-checkout-payment-alert__button:focus-visible {
	text-decoration: none;
}

.casio-checkout-payment-alert__button--primary {
	background: #3fa6bb;
	color: #fff;
}

.casio-checkout-payment-alert__button--secondary {
	border: 1px solid #d7e2ea;
	background: #fff;
	color: #061733;
}

.casio-checkout-payment-alert__button--ghost {
	background: transparent;
	color: #3fa6bb;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin: 4px 7px 4px 0 !important;
	padding: 8px 13px !important;
	border: 1px solid #d7e2ea !important;
	border-radius: 11px !important;
	background: #fff !important;
	color: #061733 !important;
	font-family: inter, Inter, sans-serif !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	text-transform: none !important;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.pay {
	border-color: #3fa6bb !important;
	background: #3fa6bb !important;
	color: #fff !important;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel {
	border-color: #f2c9a4 !important;
	background: #fff8ef !important;
	color: #b85d0a !important;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover,
.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(6, 23, 51, 0.1);
}

@media (min-width: 768px) {
	.casio-customer-modal__panel {
		width: min(660px, calc(100vw - 48px));
		padding: 32px 42px;
	}

	.casio-customer-modal__badge {
		min-width: 66px;
		height: 66px;
		margin-bottom: 14px;
		font-size: 22px;
	}

	.casio-customer-modal h2 {
		max-width: 520px;
		font-size: 34px;
	}

	.casio-customer-modal__intro {
		max-width: 560px;
		margin: 10px 0 18px;
	}

	.casio-customer-modal__tabs {
		margin-bottom: 14px;
	}

	.casio-customer-form {
		gap: 12px 16px;
	}

	.casio-customer-form[data-casio-customer-form="register"].is-active {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.casio-customer-form[data-casio-customer-form="reset"].is-active {
		max-width: 480px;
	}

	.casio-customer-form[data-casio-customer-form="register"] .casio-customer-form__checkbox,
	.casio-customer-form[data-casio-customer-form="register"] .casio-customer-form__submit,
	.casio-customer-form[data-casio-customer-form="register"] .casio-customer-form__link {
		grid-column: 1 / -1;
	}

	.casio-customer-form input[type="text"],
	.casio-customer-form input[type="email"],
	.casio-customer-form input[type="tel"],
	.casio-customer-form input[type="password"] {
		min-height: 46px;
	}

	.casio-customer-form__submit {
		min-height: 50px;
	}
}

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

	.casio-customer-modal__panel {
		width: 100%;
		max-height: 92vh;
		padding: 30px 22px 24px;
		border-radius: 26px 26px 0 0;
		transform: translateY(32px);
	}

	.casio-customer-modal.is-open .casio-customer-modal__panel {
		transform: translateY(0);
	}

	.casio-customer-modal h2 {
		font-size: 27px;
	}

	.casio-customer-modal__badge {
		min-width: 62px;
		height: 62px;
		font-size: 21px;
	}

	.casio-customer-verification-toast,
	.casio-customer-floating-notice {
		right: 16px;
		left: 16px;
		bottom: 82px;
		max-width: none;
	}

	.casio-customer-verification-toast {
		align-items: stretch;
		flex-direction: column;
	}

	.casio-account-newsletter {
		padding: 22px;
	}

	.casio-account-newsletter__header {
		display: grid;
	}

	.casio-account-newsletter h2 {
		font-size: 26px;
	}

	.casio-payment-result {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
		border-radius: 24px;
	}

	.casio-payment-result__icon {
		width: 64px;
		height: 64px;
		border-radius: 20px;
		font-size: 28px;
	}

	.casio-payment-result p:not(.casio-payment-result__eyebrow) {
		font-size: 16px;
	}

	.casio-payment-result__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.casio-checkout-payment-alert {
		grid-template-columns: 1fr;
		padding: 20px;
		border-radius: 20px;
	}

	.casio-checkout-payment-alert__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.casio-payment-result-page--pay form#order_review #payment {
		padding: 18px;
		border-radius: 20px;
	}

	.casio-payment-result-page--pay form#order_review .payment_methods > li {
		padding: 14px;
	}

	.casio-payment-result-page--pay form#order_review .payment_methods > li > label img {
		max-width: 94px !important;
		max-height: 38px !important;
	}
}

/* Keep the additional account action inside the compact mobile donor header. */
@media (max-width: 767px) {
	.casio-homepage .casio-donor-header .header__bottom {
		flex-wrap: wrap;
		column-gap: 4px;
		row-gap: 0;
	}

	.casio-homepage .casio-donor-header .header__bottom__logo {
		flex: 0 0 86px;
		width: 86px;
		min-width: 86px;
		max-width: 86px;
	}

	.casio-homepage .casio-donor-header .header__bottom__logo .header__logo-img {
		width: 86px;
	}

	.casio-homepage .casio-donor-header .header__tools {
		order: 2;
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		margin-left: auto;
		gap: 4px;
	}

	.casio-homepage .casio-donor-header .header__tools__item,
	.casio-homepage .casio-donor-header .header__tools .btn-green-transparent {
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
	}

	.casio-homepage .casio-donor-header .header__tools__icon,
	.casio-homepage .casio-donor-header .header__tools__item svg,
	.casio-homepage .casio-donor-header .header__tools .btn-green-transparent svg {
		width: 17px;
		height: 17px;
	}

	.casio-homepage .casio-donor-header .header__bottom__nav,
	.casio-homepage .casio-donor-header .casio-donor-catalog {
		order: 3;
		flex: 0 0 34px;
		width: 34px;
		min-width: 34px;
		max-width: 34px;
		margin-left: 0;
	}

	.casio-homepage .casio-donor-header .header__bottom__nav .menu-trigger-label {
		width: 34px;
		min-width: 34px;
		max-width: 34px;
		height: 34px;
	}

	.casio-homepage .casio-donor-header .header__bottom__search {
		margin-top: 12px;
	}

	.casio-homepage .casio-donor-header .casio-donor-catalog__menu {
		left: auto;
		right: 0;
		box-sizing: border-box;
		width: min(280px, calc(100vw - 32px));
		min-width: 0;
		max-width: calc(100vw - 32px);
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

@media (max-width: 359px) {
	.casio-homepage .casio-donor-header .header__bottom {
		column-gap: 3px;
	}

	.casio-homepage .casio-donor-header .header__bottom__logo {
		flex-basis: 78px;
		width: 78px;
		min-width: 78px;
		max-width: 78px;
	}

	.casio-homepage .casio-donor-header .header__bottom__logo .header__logo-img {
		width: 78px;
	}

	.casio-homepage .casio-donor-header .header__tools {
		gap: 3px;
	}

	.casio-homepage .casio-donor-header .header__tools__item,
	.casio-homepage .casio-donor-header .header__tools .btn-green-transparent {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
	}

	.casio-homepage .casio-donor-header .header__bottom__nav,
	.casio-homepage .casio-donor-header .casio-donor-catalog {
		flex-basis: 32px;
		width: 32px;
		min-width: 32px;
		max-width: 32px;
	}

	.casio-homepage .casio-donor-header .header__bottom__nav .menu-trigger-label {
		width: 32px;
		min-width: 32px;
		max-width: 32px;
		height: 32px;
	}
}
