/* ==========================================================================
   WooCommerce — shop, product, cart & checkout (blocks), my account.
   ========================================================================== */

.pm-theme .woocommerce,
.pm-theme .woocommerce-page { color: var(--pm-text); }

/* ---------- shop grid ---------- */
.pm-theme .woocommerce ul.products,
.pm-theme ul.products,
body.pm-theme.woocommerce ul.products[class*="columns-"],
body.pm-theme .woocommerce ul.products[class*="columns-"] {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px !important;
	margin: 0 !important;
	clear: both;
	width: 100%;
}
.pm-theme .woocommerce-result-count,
.pm-theme .woocommerce-ordering { margin-bottom: 28px !important; }
/* WooCommerce hides the gallery until its script runs; LiteSpeed delays that script. */
.pm-theme .woocommerce-product-gallery { opacity: 1 !important; }
.pm-theme.single-product div.product > .onsale { display: none !important; }
.pm-theme .wc-block-grid__product { position: relative; }
.pm-theme ul.products::before,
.pm-theme ul.products::after { display: none !important; }
.pm-theme ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	background: var(--pm-card);
	border: 1px solid var(--pm-line);
	border-radius: 22px;
	overflow: hidden;
	transition: transform .45s var(--pm-ease), border-color .4s, box-shadow .45s var(--pm-ease);
}
.pm-theme ul.products li.product:hover { transform: translateY(-6px); border-color: rgba(237, 177, 24, .38); box-shadow: 0 30px 60px -25px rgba(233, 140, 0, .35); }
.pm-theme ul.products li.product .astra-shop-thumbnail-wrap { position: relative; overflow: hidden; background: #000; }
.pm-theme ul.products li.product img {
	width: 100%;
	aspect-ratio: 1600 / 873;
	object-fit: cover;
	margin: 0 !important;
	border-radius: 0 !important;
	transition: transform 1s var(--pm-ease);
}
.pm-theme ul.products li.product:hover img { transform: scale(1.06); }
.pm-theme ul.products li.product .astra-shop-summary-wrap { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pm-theme ul.products li.product .ast-woo-product-category { display: none; } /* "Uncategorized" */
.pm-theme ul.products li.product .woocommerce-loop-product__title {
	font-size: 19px !important;
	font-weight: 800 !important;
	line-height: 1.45;
	color: var(--pm-text) !important;
	margin: 0 !important;
}
.pm-theme ul.products li.product .price { margin-top: auto !important; }
.pm-theme ul.products li.product .button {
	margin-top: 8px !important;
	align-self: flex-start;
}

/* prices everywhere */
.pm-theme .woocommerce .price,
.pm-theme .price,
.pm-theme .woocommerce-Price-amount { color: #fff !important; font-family: var(--pm-font-num); font-weight: 700; }
.pm-theme .price ins { text-decoration: none; font-size: 1.3em; }
.pm-theme .price del,
.pm-theme .price del .woocommerce-Price-amount { color: var(--pm-dim) !important; opacity: 1; text-decoration-color: var(--pm-flame); font-weight: 600; }

/* sale badge */
.pm-theme .onsale,
.pm-theme .ast-onsale-card {
	background: var(--pm-grad) !important;
	color: #120a00 !important;
	border: 0 !important;
	border-radius: 999px !important;
	font: 800 13px/1 var(--pm-font) !important;
	padding: 8px 12px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	box-shadow: 0 6px 20px rgba(233, 140, 0, .45);
	top: 14px !important;
	inset-inline-start: 14px !important;
	inset-inline-end: auto !important;
	margin: 0 !important;
}

/* buttons */
.pm-theme .woocommerce a.button,
.pm-theme .woocommerce button.button,
.pm-theme .woocommerce input.button,
.pm-theme a.button.add_to_cart_button,
.pm-theme .single_add_to_cart_button,
.pm-theme .woocommerce #respond input#submit {
	background: var(--pm-grad) !important;
	color: #120a00 !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 12px 22px !important;
	font: 800 15px/1.2 var(--pm-font) !important;
	box-shadow: 0 10px 30px -8px rgba(233, 140, 0, .55);
	transition: transform .35s var(--pm-ease), box-shadow .35s var(--pm-ease);
}
.pm-theme .woocommerce a.button:hover,
.pm-theme .woocommerce button.button:hover,
.pm-theme .single_add_to_cart_button:hover { transform: translateY(-2px); color: #120a00 !important; }
.pm-theme .woocommerce a.added_to_cart { color: var(--pm-gold); font-weight: 700; margin-inline-start: 10px; }

/* toolbar */
.pm-theme .woocommerce-result-count { color: var(--pm-muted); }
.pm-theme .woocommerce-ordering select { min-width: 220px; }

/* ---------- single product ---------- */
.pm-theme.single-product div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pm-theme.single-product div.product > * { width: auto !important; float: none !important; margin: 0 !important; }
.pm-theme.single-product div.product .woocommerce-tabs,
.pm-theme.single-product div.product .related,
.pm-theme.single-product div.product .up-sells { grid-column: 1 / -1; }
.pm-theme.single-product .woocommerce-product-gallery { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--pm-line); background: #000; }
.pm-theme.single-product .woocommerce-product-gallery img { border-radius: 0; }
.pm-theme.single-product .summary {
	padding: 32px !important;
	background: linear-gradient(180deg, var(--pm-card-2), var(--pm-card));
	border: 1px solid rgba(237, 177, 24, .22);
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(233, 140, 0, .3);
}
.pm-theme.single-product .product_title { font-size: clamp(26px, 3vw, 36px) !important; font-weight: 900 !important; color: var(--pm-text) !important; }
.pm-theme.single-product .summary .price { font-size: 30px !important; margin: 10px 0 18px !important; }
.pm-theme.single-product .summary .single-product-category,
.pm-theme.single-product .product_meta { display: none; } /* "Uncategorized" */
.pm-theme.single-product .woocommerce-product-details__short-description,
.pm-theme.single-product .woocommerce-product-details__short-description p { color: #d9d5cc !important; }
.pm-theme.single-product .summary .has-ast-global-color-5-background-color,
.pm-theme.single-product .woocommerce-Tabs-panel .has-ast-global-color-5-background-color { border-radius: 14px; border: 1px solid var(--pm-line); }
.pm-theme.single-product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 18px !important; }
.pm-theme.single-product form.cart .quantity { display: none; } /* a course is bought once */
.pm-theme.single-product form.cart .single_add_to_cart_button { flex: 1; padding: 16px 28px !important; font-size: 17px !important; }
.pm-theme .woocommerce-tabs ul.tabs { border-color: var(--pm-line) !important; padding: 0 !important; display: flex; gap: 6px; }
.pm-theme .woocommerce-tabs ul.tabs::before { display: none; }
.pm-theme .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; margin: 0 !important; }
.pm-theme .woocommerce-tabs ul.tabs li a { color: var(--pm-muted) !important; padding: 10px 16px !important; border-bottom: 2px solid transparent; }
.pm-theme .woocommerce-tabs ul.tabs li.active a { color: var(--pm-gold) !important; border-color: var(--pm-orange); }
.pm-theme .woocommerce-tabs .panel { color: #d9d5cc; }
.pm-theme #reviews #comments ol.commentlist li .comment-text { border-color: var(--pm-line) !important; }
.pm-theme .related > h2,
.pm-theme .up-sells > h2 { font-size: clamp(24px, 3vw, 34px) !important; font-weight: 900; margin: 40px 0 24px !important; }
.pm-theme .star-rating,
.pm-theme .stars a { color: var(--pm-gold) !important; }

/* ---------- notices ---------- */
.pm-theme .woocommerce-message,
.pm-theme .woocommerce-info,
.pm-theme .woocommerce-error,
.pm-theme .wc-block-components-notice-banner {
	background: var(--pm-card) !important;
	color: var(--pm-text) !important;
	border: 1px solid var(--pm-line-2) !important;
	border-inline-start: 4px solid var(--pm-orange) !important;
	border-radius: 14px !important;
}
.pm-theme .woocommerce-error,
.pm-theme .wc-block-components-notice-banner.is-error { border-inline-start-color: var(--pm-flame) !important; }
.pm-theme .wc-block-components-notice-banner.is-success { border-inline-start-color: var(--pm-green) !important; }
.pm-theme .woocommerce-message::before,
.pm-theme .woocommerce-info::before { color: var(--pm-gold) !important; }

/* ---------- cart & checkout (blocks) ---------- */
/* Astra's "alignwide" gives these blocks -20px side margins but keeps their width, which pushes them
   20px off the right edge on Arabic (RTL) pages, worst on phones. Keep them inside the page, centered. */
.pm-theme .wp-block-woocommerce-checkout.alignwide,
.pm-theme .wp-block-woocommerce-cart.alignwide { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: 100%; }
.pm-theme .wp-block-woocommerce-cart,
.pm-theme .wp-block-woocommerce-checkout { color: var(--pm-text); }
.pm-theme .wc-block-components-sidebar-layout .wc-block-components-main,
.pm-theme .wc-block-components-sidebar { color: var(--pm-text); }
.pm-theme .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.pm-theme .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
.pm-theme .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	background: var(--pm-card);
	border-color: var(--pm-line) !important;
}
.pm-theme .wp-block-woocommerce-checkout-order-summary-block,
.pm-theme .wp-block-woocommerce-cart-order-summary-block {
	border: 1px solid rgba(237, 177, 24, .22) !important;
	border-radius: 20px !important;
	padding: 6px 8px;
	background: linear-gradient(180deg, var(--pm-card-2), var(--pm-card)) !important;
}
.pm-theme .wc-block-cart-items,
.pm-theme .wc-block-cart-items th,
.pm-theme .wc-block-cart-items td,
.pm-theme .wc-block-components-totals-wrapper,
.pm-theme .wc-block-components-order-summary-item,
.pm-theme .wc-block-components-checkout-step,
.pm-theme .wc-block-cart__totals-title { border-color: var(--pm-line) !important; color: var(--pm-text) !important; }
.pm-theme .wc-block-components-product-name { color: var(--pm-text) !important; font-weight: 800; text-decoration: none; }
.pm-theme .wc-block-components-product-metadata,
.pm-theme .wc-block-components-checkout-step__description,
.pm-theme .wc-block-components-totals-item__description { color: var(--pm-muted) !important; }
.pm-theme .wc-block-components-product-badge,
.pm-theme .wc-block-components-sale-badge { background: rgba(233, 140, 0, .12) !important; color: var(--pm-gold) !important; border-color: rgba(233, 140, 0, .4) !important; border-radius: 999px !important; }
.pm-theme .wc-block-cart-item__image img,
.pm-theme .wc-block-components-order-summary-item__image img { border-radius: 10px; aspect-ratio: 1600 / 873; object-fit: cover; }
.pm-theme .wc-block-components-checkout-step__title,
.pm-theme .wc-block-components-title { color: var(--pm-text) !important; font-weight: 800 !important; }
.pm-theme .wc-block-components-checkout-step__container::after { border-color: var(--pm-line) !important; }
.pm-theme .wc-block-components-checkout-step__heading-content,
.pm-theme .wc-block-components-checkout-step::after { color: var(--pm-muted); }
/* block form fields */
.pm-theme .wc-block-components-text-input input,
.pm-theme .wc-block-components-textarea,
.pm-theme .wc-block-components-combobox .wc-block-components-combobox-control input,
.pm-theme .wc-blocks-components-select .wc-blocks-components-select__select,
.pm-theme .wc-block-components-form .wc-block-components-text-input input {
	background: #0d0d12 !important;
	color: var(--pm-text) !important;
	border: 1px solid var(--pm-line-2) !important;
	border-radius: 12px !important;
}
.pm-theme .wc-block-components-text-input label,
.pm-theme .wc-blocks-components-select__label,
.pm-theme .wc-block-components-combobox label { color: var(--pm-muted) !important; }
.pm-theme .wc-block-components-text-input.is-active label { color: var(--pm-gold) !important; }
.pm-theme .wc-block-components-checkbox .wc-block-components-checkbox__input { background: #0d0d12 !important; border-color: var(--pm-line-2) !important; }
.pm-theme .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--pm-gold) !important; }
.pm-theme .wc-block-components-radio-control__option,
.pm-theme .wc-block-components-radio-control-accordion-option { color: var(--pm-text) !important; border-color: var(--pm-line-2) !important; }
.pm-theme .wc-block-components-radio-control__input { background: #0d0d12 !important; border-color: var(--pm-line-2) !important; }
.pm-theme .wc-block-components-radio-control__input:checked::before { background: var(--pm-orange) !important; }
.pm-theme .wc-block-components-radio-control-accordion-content { color: var(--pm-muted) !important; }
.pm-theme .wc-block-components-payment-method-label { color: var(--pm-text) !important; font-weight: 700; }
/* quantity selector */
.pm-theme .wc-block-components-quantity-selector { border-color: var(--pm-line-2) !important; border-radius: 10px !important; }
.pm-theme .wc-block-components-quantity-selector input,
.pm-theme .wc-block-components-quantity-selector button { background: transparent !important; color: var(--pm-text) !important; border: 0 !important; }
.pm-theme .wc-block-cart-item__remove-link { color: var(--pm-muted) !important; }
/* main buttons */
.pm-theme .wc-block-components-button:not(.is-link),
.pm-theme .wc-block-cart__submit-button,
.pm-theme .wc-block-components-checkout-place-order-button {
	background: var(--pm-grad) !important;
	color: #120a00 !important;
	border: 0 !important;
	border-radius: 999px !important;
	font: 800 17px/1.2 var(--pm-font) !important;
	min-height: 54px;
	box-shadow: 0 10px 30px -8px rgba(233, 140, 0, .55);
	transition: transform .35s var(--pm-ease), box-shadow .35s var(--pm-ease);
}
.pm-theme .wc-block-components-button:not(.is-link):hover { transform: translateY(-2px); }
.pm-theme .wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: #120a00 !important; }
.pm-theme .wc-block-components-button.is-link,
.pm-theme .wc-block-components-checkout-return-to-cart-button { color: var(--pm-gold) !important; }
.pm-theme .wc-block-components-totals-item__value,
.pm-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: #fff !important; font-family: var(--pm-font-num); font-weight: 700; }
.pm-theme .wc-block-components-totals-footer-item { font-size: 1.2em; }
.pm-theme .wc-block-components-panel__button,
.pm-theme .wc-block-components-totals-coupon-link { color: var(--pm-gold) !important; }
/* product cards inside empty-cart block */
.pm-theme .wc-block-grid__products,
.pm-theme .wp-block-woocommerce-product-new ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0 !important; list-style: none; }
.pm-theme .wc-block-grid__product { max-width: none !important; flex: none !important; width: auto !important; border: 1px solid var(--pm-line) !important; background: var(--pm-card); border-radius: 20px; overflow: hidden; padding: 0 0 20px !important; text-align: center; }
.pm-theme .wc-block-grid__product-image img { aspect-ratio: 1600 / 873; object-fit: cover; width: 100%; }
.pm-theme .wc-block-grid__product-title { color: var(--pm-text) !important; font-weight: 800; padding: 14px 16px 0; }
.pm-theme .wc-block-grid__product-onsale { background: var(--pm-grad) !important; color: #120a00 !important; border: 0 !important; border-radius: 999px !important; }
.pm-theme .wp-block-woocommerce-empty-cart-block .wp-block-heading,
.pm-theme .wc-block-cart__empty-cart__title { color: var(--pm-text) !important; }
.pm-theme .wp-block-woocommerce-empty-cart-block .wp-block-separator { border-color: var(--pm-line-2) !important; }

/* ---------- my account ---------- */
body.pm-theme.woocommerce-account.logged-in .entry-content > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
body.pm-theme.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* WooCommerce's clearfix pseudo-elements would otherwise take the first grid cells. */
body.pm-theme.woocommerce-account.logged-in .entry-content > .woocommerce::before,
body.pm-theme.woocommerce-account.logged-in .entry-content > .woocommerce::after { display: none; }
body.pm-theme .woocommerce-MyAccount-content { min-width: 0; }
body.pm-theme .woocommerce-orders-table { width: 100%; }
@media (max-width: 760px) {
	body.pm-theme .woocommerce-orders-table thead { display: none; }
	body.pm-theme .woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px; border-bottom: 1px solid var(--pm-line); }
	body.pm-theme .woocommerce-orders-table td { border: 0 !important; padding: 2px 0 !important; text-align: start !important; }
	body.pm-theme .woocommerce-orders-table td::before { display: none; }
}
.pm-theme.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; margin-inline: auto; }
.pm-theme .woocommerce-MyAccount-navigation,
.pm-theme .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.pm-theme .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; background: var(--pm-card); border: 1px solid var(--pm-line); border-radius: 18px; }
.pm-theme .woocommerce-MyAccount-navigation li { margin: 0; border: 0 !important; }
.pm-theme .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: #c9c4ba !important; text-decoration: none; font-weight: 700; }
.pm-theme .woocommerce-MyAccount-navigation li.is-active a,
.pm-theme .woocommerce-MyAccount-navigation li a:hover { background: rgba(237, 177, 24, .1); color: var(--pm-gold) !important; }
.pm-theme .woocommerce-MyAccount-content { color: #d9d5cc; }
.pm-theme form.woocommerce-form-login,
.pm-theme form.woocommerce-form-register,
.pm-theme .woocommerce form.login,
.pm-theme .woocommerce form.register {
	padding: 32px !important;
	margin: 0 !important;
	background: linear-gradient(180deg, var(--pm-card-2), var(--pm-card));
	border: 1px solid var(--pm-line-2) !important;
	border-radius: 22px !important;
}
.pm-theme .woocommerce form .form-row input.input-text { width: 100%; }
.pm-theme .woocommerce-form-login__rememberme { display: block; margin: 8px 0 14px; }
.pm-theme .woocommerce-LostPassword a { color: var(--pm-gold); }
.pm-theme table.shop_table,
.pm-theme table.shop_table :is(th, td),
.pm-theme .woocommerce-orders-table { border-color: var(--pm-line) !important; color: #d9d5cc; background: transparent !important; }
.pm-theme table.shop_table { border-radius: 16px !important; overflow: hidden; }
.pm-theme table.shop_table th { color: var(--pm-text); background: rgba(255, 255, 255, .03) !important; }
.pm-theme .woocommerce-order-overview { color: #d9d5cc; }
.pm-theme .woocommerce-order-overview li { border-color: var(--pm-line) !important; }
.pm-theme .woocommerce-order-details,
.pm-theme .woocommerce-customer-details address { border-color: var(--pm-line) !important; color: #d9d5cc; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
	.pm-theme ul.products,
	body.pm-theme.woocommerce ul.products[class*="columns-"],
	body.pm-theme .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pm-theme.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
	body.pm-theme.woocommerce-account.logged-in .entry-content > .woocommerce { grid-template-columns: 1fr; }
	.pm-theme .wc-block-grid__products,
	.pm-theme .wp-block-woocommerce-product-new ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.pm-theme ul.products,
	body.pm-theme.woocommerce ul.products[class*="columns-"],
	body.pm-theme .woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr !important; }
	.pm-theme.single-product .summary { padding: 22px !important; }
}

/* ---------- checkout fields: always dark and readable (typing, focus, browser autofill) ---------- */
.pm-theme .wc-block-components-totals-coupon .wc-block-components-text-input input,
.pm-theme .wc-block-components-totals-coupon .wc-block-components-text-input input:focus,
.pm-theme .wc-block-components-totals-coupon .wc-block-components-text-input.is-active input,
.pm-theme .wc-block-components-text-input input:focus,
.pm-theme .wc-block-components-text-input.is-active input,
.pm-theme .wc-block-components-text-input.has-error input {
	background: #0d0d12 !important;
	background-color: #0d0d12 !important;
	color: var(--pm-text) !important;
	-webkit-text-fill-color: var(--pm-text) !important;
}
.pm-theme .wc-block-components-text-input input:focus { border-color: var(--pm-gold) !important; box-shadow: 0 0 0 3px rgba(237, 177, 24, .18) !important; outline: none; }
.pm-theme .wc-block-components-totals-coupon .wc-block-components-text-input label { color: var(--pm-muted) !important; }
/* Chrome/Safari paint autofilled fields light blue/yellow: cover it with the dark fill */
.pm-theme input:-webkit-autofill,
.pm-theme input:-webkit-autofill:hover,
.pm-theme input:-webkit-autofill:focus,
.pm-theme textarea:-webkit-autofill,
.pm-theme select:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #0d0d12 inset !important;
	box-shadow: 0 0 0 1000px #0d0d12 inset !important;
	-webkit-text-fill-color: var(--pm-text) !important;
	caret-color: var(--pm-text);
	transition: background-color 99999s ease-out 0s;
}
.pm-theme input:autofill { background: #0d0d12 !important; color: var(--pm-text) !important; }
.pm-theme .wc-blocks-components-select__select:-webkit-autofill { -webkit-text-fill-color: var(--pm-text) !important; }

/* ---------- order summary / cart rows: image + short name, no long course description ---------- */
.pm-theme .wc-block-components-order-summary-item .wc-block-components-product-metadata__description,
.pm-theme .wc-block-cart-item__product .wc-block-components-product-metadata__description { display: none !important; }
.pm-theme .wc-block-components-order-summary-item { align-items: center; }
.pm-theme .wc-block-components-order-summary-item__image { width: 72px !important; flex: none; align-self: center; }
.pm-theme .wc-block-components-order-summary-item__image img { width: 72px !important; max-width: 72px !important; height: auto !important; aspect-ratio: 1600 / 873; object-fit: cover; border-radius: 10px; display: block; }
.pm-theme .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.45;
}

/* ---------- "payment didn't go through" page (templates/payment-failed.php) ---------- */
.pm-payfail { display: grid; place-items: start center; padding: 48px 0 72px; }
.pm-payfail-card { width: min(520px, 100%); text-align: center; background: linear-gradient(180deg, var(--pm-card-2), var(--pm-card)); border: 1px solid rgba(255, 61, 79, .35); border-radius: 24px; padding: 30px 26px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.pm-payfail-icon { width: 70px; height: 70px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 61, 79, .12); border: 1px solid rgba(255, 61, 79, .45); color: #ff6b7a; }
.pm-payfail-icon svg { width: 36px; height: 36px; }
.pm-payconfirm-icon { background: rgba(255, 184, 0, .12); border-color: rgba(255, 184, 0, .45); color: #ffc233; }
.pm-payfail h1 { margin: 0 0 12px; font-size: clamp(24px, 6vw, 32px); font-weight: 900; color: var(--pm-text); }
.pm-payfail-reason { margin: 0 0 10px; color: var(--pm-text); line-height: 1.8; }
.pm-payfail-safe { margin: 0 0 22px; color: var(--pm-muted); font-size: 14.5px; line-height: 1.8; }
.pm-payfail-actions { display: grid; gap: 10px; }
.pm-payfail-actions .pm-btn { width: 100%; box-sizing: border-box; white-space: normal; }
.pm-payfail-order { margin: 18px 0 0; color: var(--pm-dim); font-size: 13px; }/* country dropdown: same dark field as the others */
.pm-theme .wc-blocks-components-select .wc-blocks-components-select__container { background: #0d0d12 !important; border: 1px solid var(--pm-line-2) !important; border-radius: 12px !important; box-shadow: none !important; }
.pm-theme .wc-blocks-components-select .wc-blocks-components-select__select { border: 0 !important; }
.pm-theme .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--pm-muted) !important; }
.pm-payfail-foreign { padding: 12px 14px; border-radius: 14px; background: rgba(233, 140, 0, .1); border: 1px solid rgba(233, 140, 0, .35); font-size: 14.5px; }
