/**
 * Product Configurator Styles
 *
 * @package OrderWorkflowManager
 */

/* ==========================================================================
   Base Configurator Container
   ========================================================================== */

.owm-configurator {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.owm-configurator-error {
	padding: 15px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	margin-bottom: 20px;
}

.owm-configurator-error p {
	margin: 0 0 10px 0;
	color: #856404;
}

.owm-configurator-error ul {
	margin: 0;
	padding-left: 20px;
}

.owm-configurator-error li {
	color: #856404;
}

/* ==========================================================================
   Form Groups
   ========================================================================== */

.owm-form-group {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.owm-form-group:last-of-type {
	margin-bottom: 15px;
	padding-bottom: 0;
	border-bottom: none;
}

.owm-form-group__header {
	margin-bottom: 15px;
}

.owm-form-group__label {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 5px 0;
	color: #333;
}

.owm-form-group__description {
	font-size: 13px;
	color: #666;
	margin: 0;
}

.owm-form-group__content {
	/* Content wrapper */
}

/* ==========================================================================
   Form Fields
   ========================================================================== */

.owm-form-field {
	margin-bottom: 15px;
}

.owm-form-field:last-child {
	margin-bottom: 0;
}

.owm-form-field__label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #333;
}

.owm-form-field__required {
	color: #dc3545;
}

.owm-form-field__price {
	font-weight: normal;
	color: #28a745;
	font-size: 0.9em;
}

.owm-form-field__input,
.owm-form-field__textarea,
.owm-form-field__select {
	width: 100%;
	max-width: 400px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.owm-form-field__input:focus,
.owm-form-field__textarea:focus,
.owm-form-field__select:focus {
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
	outline: none;
}

.owm-form-field__help {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
}

/* Error state */
.owm-form-field--error .owm-form-field__input,
.owm-form-field--error .owm-form-field__textarea,
.owm-form-field--error .owm-form-field__select {
	border-color: #dc3545;
}

.owm-form-field--error .owm-form-field__label {
	color: #dc3545;
}

/* ==========================================================================
   Checkboxes and Radios
   ========================================================================== */

.owm-form-checkbox,
.owm-form-radio {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.owm-form-checkbox:hover,
.owm-form-radio:hover {
	border-color: #0073aa;
	background: #f8fbfd;
}

.owm-form-checkbox:last-child,
.owm-form-radio:last-child {
	margin-bottom: 0;
}

.owm-form-field__checkbox,
.owm-form-field__radio {
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	margin: 0 12px 0 0;
	flex-shrink: 0;
	cursor: pointer;
}

.owm-form-checkbox__label,
.owm-form-radio__label {
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	flex-grow: 1;
	line-height: 1.2;
}

.owm-form-checkbox__description,
.owm-form-radio__description {
	flex-basis: 100%;
	font-size: 12px;
	color: #666;
	margin: 4px 0 0 0;
	padding-left: 32px;
}

/* Checked state */
.owm-form-checkbox input:checked + .owm-form-checkbox__label,
.owm-form-radio input:checked + .owm-form-radio__label {
	color: #0073aa;
}

/* Checkbox/Radio group layout */
.owm-form-checkbox-group,
.owm-form-radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Horizontal layout for smaller options */
.owm-form-checkbox-group--horizontal,
.owm-form-radio-group--horizontal {
	flex-direction: row;
	flex-wrap: wrap;
}

.owm-form-checkbox-group--horizontal .owm-form-checkbox,
.owm-form-radio-group--horizontal .owm-form-radio {
	margin-bottom: 0;
}

/* Validation message */
.owm-form-validation-message {
	color: #dc3545;
	font-size: 13px;
	margin-top: 10px;
	padding: 8px 12px;
	background: #f8d7da;
	border-radius: 4px;
}

/* ==========================================================================
   Repeater
   ========================================================================== */

.owm-form-repeater {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 15px;
}

.owm-form-repeater__items {
	margin-bottom: 15px;
}

.owm-form-repeater__item {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-bottom: 15px;
	overflow: hidden;
}

.owm-form-repeater__item:last-child {
	margin-bottom: 0;
}

.owm-form-repeater__item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background: #f0f0f0;
	border-bottom: 1px solid #e0e0e0;
}

.owm-form-repeater__item-number {
	font-size: 16px;
	font-weight: 600;
	color: #666;
}

.owm-form-repeater__remove {
	background: none;
	border: none;
	font-size: 20px;
	color: #dc3545;
	cursor: pointer;
	padding: 0 5px;
	line-height: 1;
	transition: color 0.2s;
}

.owm-form-repeater__remove:hover {
	color: #a71d2a;
}

.owm-form-repeater__item-fields {
	padding: 15px;
}

.owm-form-repeater__add {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.owm-form-repeater__add:hover {
	background: #005a87;
}

.owm-form-repeater__add.disabled,
.owm-form-repeater__add:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.owm-form-repeater__price-info {
	font-size: 13px;
	color: #28a745;
	margin: 10px 0 0 0;
}

.owm-form-repeater__template {
	display: none;
}

/* ==========================================================================
   Price Display
   ========================================================================== */

.owm-configurator__price-display {
	margin-top: 25px;
	padding: 20px;
	background: #fff;
	border: 2px solid #0073aa;
	border-radius: 8px;
}

.owm-configurator__price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}

.owm-configurator__price-row--base {
	color: #666;
}

.owm-configurator__price-row--options {
	color: #28a745;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 12px;
}

.owm-configurator__price-row--total {
	font-size: 18px;
	font-weight: 700;
	padding-top: 12px;
}

.owm-configurator__price-label {
	/* Label styling */
}

.owm-configurator__price-value {
	font-weight: 600;
}

/* Price Breakdown */
.owm-configurator__price-breakdown {
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
	display: none;
}

.owm-configurator__price-breakdown-item {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #666;
	padding: 4px 0;
}

.owm-configurator__price-breakdown-label {
	/* Label */
}

.owm-configurator__price-breakdown-value {
	color: #28a745;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.owm-configurator {
		padding: 15px;
		margin: 15px 0;
	}

	.owm-form-group {
		margin-bottom: 20px;
		padding-bottom: 15px;
	}

	.owm-form-checkbox,
	.owm-form-radio {
		padding: 8px;
	}

	.owm-configurator__price-display {
		padding: 15px;
	}

	.owm-configurator__price-row--total {
		font-size: 16px;
	}

	.owm-form-repeater__item-header {
		padding: 8px 12px;
	}

	.owm-form-repeater__item-fields {
		padding: 12px;
	}
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */

.woocommerce .owm-configurator input[type="text"],
.woocommerce .owm-configurator input[type="password"],
.woocommerce .owm-configurator textarea,
.woocommerce .owm-configurator select {
	width: 100%;
	max-width: 400px;
}

.woocommerce .owm-configurator input[type="checkbox"],
.woocommerce .owm-configurator input[type="radio"] {
	width: auto;
}

/* Hide default WooCommerce price when configurator is active */
.owm-configurator-active .product .price {
	display: none;
}

/* ==========================================================================
   Cart & Mini-Cart – Terminal-Style Configuration Summary
   Brand colors: #1a1f35 (bg), #2d3348 (border), #f45a2a (accent), #7e868c (dim)
   ========================================================================== */

/* --- Classic WooCommerce (dl.variation) --- */

.woocommerce table.cart .product-name dl.variation,
.woocommerce-cart .product-name dl.variation,
.woocommerce .cart_item .product-name dl.variation,
dl.variation {
	display: flex !important;
	flex-wrap: wrap !important;
	background: #1a1f35 !important;
	border: 1px solid #2d3348 !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	margin: 10px 0 0 0 !important;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
	font-size: 12px !important;
}

.woocommerce table.cart .product-name dl.variation dt,
.woocommerce-cart .product-name dl.variation dt,
dl.variation dt {
	flex: 0 0 auto !important;
	color: #7e868c !important;
	font-weight: 400 !important;
	font-size: 12px !important;
	margin: 0 !important;
	padding: 3px 6px 3px 0 !important;
	float: none !important;
}

.woocommerce table.cart .product-name dl.variation dd,
.woocommerce-cart .product-name dl.variation dd,
dl.variation dd {
	flex: 1 1 0% !important;
	text-align: right !important;
	color: #a5d6ff !important;
	font-weight: 500 !important;
	font-size: 12px !important;
	margin: 0 !important;
	padding: 3px 0 !important;
	float: none !important;
	border-bottom: 1px solid #2d3348 !important;
}

.woocommerce table.cart .product-name dl.variation dd:last-of-type,
.woocommerce-cart .product-name dl.variation dd:last-of-type,
dl.variation dd:last-of-type {
	border-bottom: none !important;
}

.woocommerce table.cart .product-name dl.variation dd p,
.woocommerce-cart .product-name dl.variation dd p,
dl.variation dd p {
	margin: 0 !important;
	text-align: right !important;
}

/* Classic mini-cart flat format */
.widget_shopping_cart .variation,
.woocommerce-mini-cart .variation {
	background: #1a1f35 !important;
	border: 1px solid #2d3348 !important;
	border-radius: 6px !important;
	padding: 8px 12px !important;
	margin: 8px 0 0 0 !important;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
	font-size: 11px !important;
	color: #a5d6ff !important;
	line-height: 1.6 !important;
}

/* --- WooCommerce Blocks (Cart, Mini-Cart, Checkout Review) --- */

.wc-block-components-product-details,
.wc-block-cart-item__product .wc-block-components-product-details {
	background: #1a1f35 !important;
	border: 1px solid #2d3348 !important;
	border-radius: 6px !important;
	padding: 10px 14px !important;
	margin: 8px 0 0 0 !important;
	list-style: none !important;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
}

.wc-block-components-product-details li {
	display: flex !important;
	justify-content: space-between !important;
	padding: 2px 0 !important;
	margin: 0 !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	border-bottom: 1px solid #2d3348 !important;
	gap: 8px !important;
}

.wc-block-components-product-details li:last-child {
	border-bottom: none !important;
}

.wc-block-components-product-details .wc-block-components-product-details__name {
	display: inline !important;
	color: #7e868c !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.wc-block-components-product-details .wc-block-components-product-details__value {
	display: inline !important;
	color: #a5d6ff !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-align: right !important;
}

/* Blocks mini-cart – slightly more compact */
.wc-block-mini-cart__drawer .wc-block-components-product-details {
	padding: 6px 10px !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-details li,
.wc-block-mini-cart__drawer .wc-block-components-product-details .wc-block-components-product-details__name,
.wc-block-mini-cart__drawer .wc-block-components-product-details .wc-block-components-product-details__value {
	font-size: 10px !important;
}

/* ==========================================================================
   Order Confirmation & Terminal Block (Frontend)
   ========================================================================== */

/* Terminal block (used on order-received, my-account, etc.) */
.owm-term {
	margin: 12px 0 0 0;
}

.owm-term-bar {
	background: #2d3348;
	padding: 8px 14px;
	line-height: 1;
	border-radius: 6px 6px 0 0;
}

.owm-term-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
}

.owm-dot-r { background: #ff5f56; }
.owm-dot-y { background: #ffbd2e; }
.owm-dot-g { background: #27c93f; }

.owm-term-lbl {
	float: right;
	color: #7e868c;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 10px;
	line-height: 14px;
}

.owm-term-body {
	background: #1a1f35;
	border: 1px solid #2d3348;
	border-top: 0;
	border-radius: 0 0 6px 6px;
	padding: 16px 20px;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 12px;
	line-height: 1.6;
	color: #e6edf3;
}

.owm-term-prompt { color: #f45a2a; font-weight: bold; }
.owm-term-key { color: #7e868c; }
.owm-term-val { color: #a5d6ff; }
.owm-term-price { color: #7e868c; font-size: 11px; }
.owm-term-discount { color: #3fb950; font-size: 11px; }
.owm-term-sep { color: #2d3348; }
.owm-term-total-label { color: #f45a2a; font-weight: bold; }
.owm-term-total-val { color: #e6edf3; font-weight: bold; }

/* Hide default wc-item-meta when terminal is present */
.wc-item-meta:empty {
	display: none !important;
}

/* First item (Ihre Auswahl header) */
.wc-item-meta li:first-child {
	border-bottom: 1px solid #e0e0e0 !important;
	padding-bottom: 10px !important;
	margin-bottom: 10px !important;
}

.wc-item-meta li:first-child .wc-item-meta-label {
	font-weight: 700 !important;
	font-size: 1.1em !important;
}

/* Second item (Grundpreis) - spacing after */
.wc-item-meta li:nth-child(2) {
	margin-bottom: 12px !important;
}

/* ==========================================================================
   Share Configuration — Button, Modal, Banner, Toast
   ========================================================================== */

.owm-share-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 18px;
	background: linear-gradient(135deg, #eef6ff 0%, #e0ecff 100%);
	border: 1px solid #c7dcff;
	border-radius: 10px;
	color: #143b8c;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(20, 59, 140, 0.05);
}

.owm-share-banner::before {
	content: "🔗";
	font-size: 1.1rem;
	flex: 0 0 auto;
}

.owm-share-banner.is-error {
	background: linear-gradient(135deg, #fff4f4 0%, #ffe5e5 100%);
	border-color: #ffc4c4;
	color: #8a1f1f;
}

.owm-share-banner.is-error::before { content: "⚠"; }

/* Toolbar — slim, top-right action bar inside the configurator */

.owm-configurator__toolbar {
	display: flex;
	justify-content: flex-end;
	margin: -4px 0 14px;
}

.owm-share-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: transparent;
	color: #1a5fd4;
	border: 0;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.owm-share-link:hover,
.owm-share-link:focus-visible {
	background: rgba(26, 95, 212, 0.08);
	color: #154bb0;
	outline: none;
}

.owm-share-link svg {
	flex: 0 0 auto;
	opacity: 0.85;
}

/* Secondary share trigger — directly under "Add to cart". Subtle text link
   so it doesn't compete with the primary CTA but still gives a low-friction
   "share instead" option at the decision point. */

.owm-share-secondary {
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}

.owm-share-secondary__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	background: transparent;
	border: 0;
	color: #64748b;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease;
}

.owm-share-secondary__link:hover,
.owm-share-secondary__link:focus-visible {
	color: #1a5fd4;
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.owm-share-secondary__link svg {
	opacity: 0.7;
}

/* Modal — blurred backdrop + clean card. Position/z-index forced with
   !important so a theme can't kill the overlay with a stricter rule. */

.owm-share-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 100000 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
	margin: 0 !important;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.owm-share-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.owm-share-modal__backdrop {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.owm-share-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 540px;
	background: #fff;
	border-radius: 16px;
	padding: 32px 32px 28px;
	box-shadow:
		0 24px 70px rgba(2, 6, 23, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.04);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	transform: translateY(8px) scale(0.98);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.owm-share-modal.is-open .owm-share-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.owm-share-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	color: #94a3b8;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	transition: background-color 0.15s, color 0.15s;
}

.owm-share-modal__close:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.owm-share-modal__title {
	margin: 0 0 10px;
	font-size: 1.45rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.owm-share-modal__subtitle {
	margin: 0 0 22px;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.55;
}

.owm-share-modal__status {
	min-height: 1.2em;
	color: #64748b;
	font-size: 0.9rem;
	margin-bottom: 4px;
}

.owm-share-modal__status:empty { display: none; }

.owm-share-modal__status.is-error {
	color: #c0392b;
	font-weight: 500;
}

.owm-share-modal__link-row {
	display: flex;
	gap: 8px;
	margin: 4px 0 22px;
}

.owm-share-modal__link-row input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 14px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88rem;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	color: #0f172a;
	transition: border-color 0.15s, background-color 0.15s;
}

.owm-share-modal__link-row input:focus {
	outline: none;
	border-color: #1a5fd4;
	background: #fff;
}

.owm-share-modal__copy {
	flex: 0 0 auto;
	padding: 12px 20px;
	background: linear-gradient(135deg, #1a5fd4 0%, #154bb0 100%);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(26, 95, 212, 0.28);
	transition: box-shadow 0.15s, transform 0.08s;
}

.owm-share-modal__copy:hover {
	box-shadow: 0 6px 18px rgba(26, 95, 212, 0.4);
	transform: translateY(-1px);
}

.owm-share-modal__copy:active {
	transform: translateY(0);
}

.owm-share-modal__via {
	margin: 0 0 12px;
	font-size: 0.78rem;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.owm-share-modal__intents {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.owm-share-modal__intent {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	background: #f8fafc;
	color: #475569;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: all 0.18s ease;
}

.owm-share-modal__intent svg {
	width: 22px;
	height: 22px;
	transition: transform 0.18s;
}

.owm-share-modal__intent:hover,
.owm-share-modal__intent:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	outline: none;
}

.owm-share-modal__intent:hover svg {
	transform: scale(1.08);
}

.owm-share-modal__intent--email:hover {
	background: #1a5fd4;
	color: #fff;
	border-color: #1a5fd4;
}

.owm-share-modal__intent--whatsapp:hover {
	background: #25d366;
	color: #fff;
	border-color: #25d366;
}

.owm-share-modal__intent--linkedin:hover {
	background: #0a66c2;
	color: #fff;
	border-color: #0a66c2;
}

/* Toast */

.owm-share-toast {
	position: fixed;
	left: 50%;
	bottom: 36px;
	transform: translateX(-50%) translateY(20px);
	z-index: 100001;
	padding: 13px 22px;
	background: #0f172a;
	color: #fff;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 500;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
}

.owm-share-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.owm-share-toast.is-error {
	background: #c0392b;
}

@media (max-width: 600px) {
	.owm-share-modal__dialog {
		padding: 26px 20px 22px;
		border-radius: 14px;
	}
	.owm-share-modal__title {
		font-size: 1.25rem;
	}
	.owm-share-modal__link-row {
		flex-direction: column;
	}
	.owm-share-modal__copy {
		width: 100%;
	}
	.owm-share-actions {
		margin: 16px 0 4px;
	}
	.owm-share-button {
		width: 100%;
	}
	.owm-share-modal__intents {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}
	.owm-share-modal__intent {
		padding: 12px 6px;
		font-size: 0.78rem;
	}
}
