/*
Theme Name: My Invitations

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 4em;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #4169e1;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background-color: #0f834d;
	clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background-color: #3d9cd2;
}

.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

/* ── My Account — Orders Card List ─────────────────────────────── */
.miio-orders-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.miio-order-card {
	display: grid;
	grid-template-columns: 90px 1fr auto;
	align-items: start;
	gap: 18px;
	background: #fff;
	border: 1px solid #f0e6ea;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 4px rgba(255,115,150,.07);
	max-width: 100%;
	box-sizing: border-box;
}
.miio-order-thumb { flex: none; }
.miio-order-thumb img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

/* Info column */
.miio-order-info { min-width: 0; }

/* Actions panel — separate card on right */
.miio-order-actions-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 180px;
	width: 200px;
	flex-shrink: 0;
}
.miio-actions-header {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #aaa;
	margin-bottom: 2px;
}

/* Panel buttons — stacked full-width in actions panel */
.miio-panel-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	min-height: 42px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	text-decoration: none !important;
	cursor: pointer;
	border: none;
	transition: background .15s, border-color .15s;
	text-align: center;
}
.miio-panel-btn--primary  { background: #FF7396; color: #fff !important; }
.miio-panel-btn--primary:hover  { background: #e05575; color: #fff !important; }
.miio-panel-btn--download { background: #e8f7ed !important; color: #2e7d4f !important; border: 1px solid #86efac !important; }
.miio-panel-btn--download:hover { background: #d1f0e0 !important; }
.miio-panel-btn--buy-more { background: #fff8e1 !important; color: #b07000 !important; border: 1px solid #fcd34d !important; }
.miio-panel-btn--buy-more:hover { background: #fde68a !important; }
.miio-panel-btn--details  { background: #fff; color: #666 !important; border: 1px solid #e5e7eb !important; }
.miio-panel-btn--details:hover  { background: #f9fafb; }

/* Edit dots progress indicator */
.miio-edit-dots-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 8px;
}
.miio-edit-dots { display: flex; gap: 5px; align-items: center; }
.miio-edit-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}
.miio-dot-used { background: #FF7396; }
.miio-dot-free { background: #e5e7eb; border: 1.5px solid #d1d5db; }
.miio-edit-dots-label { font-size: 12px; color: #555; line-height: 1.4; }
.miio-edit-dots-label strong { color: #1a1a2e; }
.miio-edit-dots-label span { display: block; color: #999; font-size: 11px; }

/* Badge info icon */
.miio-badge-info { font-size: 11px; opacity: .65; cursor: help; }

/* Inline limit notice inside actions panel */
.miio-limit-notice-inline {
	display: flex;
	gap: 8px;
	background: #fff8e1;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 11px;
	margin-bottom: 4px;
}
.miio-limit-notice-inline .miio-notice-body { font-size: 11px; }
.miio-limit-notice-inline .miio-notice-body strong { display: block; font-size: 12px; color: #1a1a2e; }
.miio-limit-notice-inline .miio-notice-body span  { color: #888; }

/* Mobile: stack to single column */
@media (max-width: 600px) {
	.miio-order-card { grid-template-columns: 70px 1fr; }
	.miio-order-actions-panel { grid-column: 1 / -1; width: 100%; }
}

/* Legacy .miio-order-body kept for package-mode hook output */
.miio-order-body { flex: 1; min-width: 0; }
.miio-order-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}
.miio-order-number {
	font-weight: 700;
	font-size: 15px;
	color: #FF7396;
	text-decoration: none;
}
.miio-order-number:hover { text-decoration: underline; }
.miio-order-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
}
.miio-badge-completed  { background: #e8f7ed; color: #2e7d4f; }
.miio-badge-processing { background: #fff4e0; color: #b07000; }
.miio-badge-on-hold,
.miio-badge-pending    { background: #f0f0f0; color: #555; }
.miio-badge-cancelled,
.miio-badge-failed     { background: #fdecea; color: #c0392b; }
.miio-badge-refunded   { background: #f0e6ff; color: #6b3fa0; }
.miio-order-product-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 4px;
}
.miio-order-product-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.miio-product-type {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 20px;
	white-space: nowrap;
	letter-spacing: 0.3px;
}
.miio-type-video { background: #ede9fe; color: #6d28d9; }
.miio-type-pdf   { background: #dbeafe; color: #1d4ed8; }
.miio-order-date { font-size: 12px; color: #888; margin-bottom: 6px; }

/* Payment status badge — "Payment:" label makes it distinct from video render status */
.miio-order-badge::before { content: 'Payment: '; font-weight: 400; opacity: .7; }

/* Edits remaining counter */
.miio-edits-counter {
	font-size: 11px;
	color: #666;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.miio-edits-counter strong { color: #1a1a2e; font-size: 13px; }
.miio-edits-counter.miio-edits-exhausted { color: #b07000; }
.miio-edits-counter.miio-edits-exhausted strong { color: #b07000; }
.miio-order-actions {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.miio-order-actions .ipw-package-stats { font-size: 12px; color: #666; display: block; margin-bottom: 8px; }
.miio-order-actions .ipw-order-package-actions strong { font-size: 13px; }
.miio-order-actions .ipw-order-package-actions small  { font-size: 11px; color: #888; }

/* Dynamic mode: unified Edit / Download / Status buttons */
.miio-act-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	min-height: 40px;
	box-sizing: border-box;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.4;
	transition: background .15s, color .15s;
	margin-right: 4px;
	margin-bottom: 4px;
	font-family: 'Poppins', sans-serif;
}
.miio-act-edit {
	background: #FF7396 !important;
	color: #fff !important;
	border: none !important;
}
.miio-act-edit:hover { background: #e05575 !important; color: #fff !important; }
.miio-act-download {
	background: #e8f7ed !important;
	color: #2e7d4f !important;
	border: 1px solid #86efac !important;
}
.miio-act-download:hover { background: #d1f0e0 !important; color: #2e7d4f !important; }
.miio-act-status {
	background: #fff4e0;
	color: #b07000 !important;
	border: 1px solid #fcd34d;
}
.miio-act-status:hover { background: #fde68a; color: #b07000 !important; }
.miio-act-preview {
	background: #FF7396;
	color: #fff !important;
	justify-content: space-between;
	min-width: 180px;
}
.miio-act-preview:hover, .miio-act-preview:focus { background: #e0506e; color: #fff !important; text-decoration: none !important; }
.miio-arrow { font-size: 15px; opacity: 0.75; margin-left: 4px; }
.miio-act-view {
	background: #fff;
	color: #555 !important;
	border: 1px solid #e2e8f0;
}
.miio-act-view:hover { background: #f8fafc; color: #333 !important; }

/* Edit limit notice */
.miio-edits-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff8e1;
	border: 1px solid #fcd34d;
	border-radius: 12px;
	padding: 12px 14px;
	margin: 6px 0 12px;
}
.miio-notice-icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	background: rgba(251,191,36,.18);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}
.miio-notice-body strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 2px;
}
.miio-notice-body span {
	font-size: 11px;
	color: #777;
	line-height: 1.4;
}
@media (max-width: 640px) {
	.miio-act-preview { flex: 0 0 100%; }
}

.miio-act-rendering {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 5px;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #b07000;
	background: #fff4e0;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	padding: 10px 14px;
	min-height: 42px;
	width: 100%;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	cursor: default;
}
.miio-spinner {
	width: 14px;
	height: 14px;
	border: 2px solid #e8e8e8;
	border-top-color: #FF7396;
	border-radius: 50%;
	display: inline-block;
	animation: miio-spin 0.8s linear infinite;
	flex-shrink: 0;
}
@keyframes miio-spin { to { transform: rotate(360deg); } }

.miio-orders-pagination { display: flex; gap: 10px; margin-top: 20px; }
.miio-page-btn {
	background: #FF7396;
	color: #fff !important;
	border: none;
	border-radius: 6px;
	padding: 8px 20px;
	font-size: 14px;
	text-decoration: none;
}
.miio-page-btn:hover { background: #e05575; }
.miio-orders-empty { text-align: center; padding: 40px 20px; color: #666; }
.miio-orders-empty p { font-size: 16px; margin-bottom: 16px; }
.miio-browse-btn {
	background: #FF7396;
	color: #fff !important;
	border-radius: 8px;
	padding: 10px 24px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.miio-browse-btn:hover { background: #e05575; }
@media (max-width: 480px) {
	.miio-order-card { flex-direction: column; }
	.miio-order-thumb { flex: none; }
	.miio-order-thumb img { width: 100%; height: 140px; }
}

/* ── Thank You Page ─────────────────────────────────────────── */
.miio-thankyou-wrap {
	font-family: 'Poppins', sans-serif;
	max-width: 860px;
	margin: 0 auto;
}
.miio-thankyou-hero {
	background: linear-gradient(135deg, #FF7396 0%, #ff9bb5 100%);
	border-radius: 20px;
	padding: 52px 32px 44px;
	text-align: center;
	margin-bottom: 36px;
	box-shadow: 0 8px 32px rgba(255,115,150,.22);
}
.miio-thankyou-check {
	width: 72px;
	height: 72px;
	background: rgba(255,255,255,.28);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 18px;
}
.miio-thankyou-title {
	font-size: 30px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.2;
}
.miio-thankyou-sub {
	font-size: 16px;
	color: rgba(255,255,255,.9);
	margin: 0;
}

/* Download button */
.miio-thankyou-wrap .button_section {
	text-align: center;
	margin: 8px 0 32px;
}
.miio-thankyou-wrap .button_section .download-invitation {
	background: #FF7396;
	color: #fff !important;
	border: none;
	border-radius: 50px;
	padding: 16px 44px;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 22px rgba(255,115,150,.38);
	transition: background .2s, transform .2s, box-shadow .2s;
	display: inline-block;
}
.miio-thankyou-wrap .button_section .download-invitation:hover {
	background: #e05575;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255,115,150,.48);
}
/* View All Orders link */
.miio-thankyou-orders-link {
	text-align: center;
	margin-top: 20px;
}
.miio-thankyou-orders-link a {
	display: inline-block;
	font-size: 14px;
	color: #333 !important;
	text-decoration: underline !important;
	font-weight: 500;
	background: none;
	border: none;
	padding: 0;
}
.miio-thankyou-orders-link a:hover { color: #FF7396 !important; }
/* Hide default WC success notice — replaced by our hero */
.miio-thankyou-wrap .woocommerce-thankyou-order-received {
	display: none !important;
}

/* ── Mobile burger ↔ account badge clearance ────────────────── */
/* Burger is fixed at right:12px, width:44px → occupies right 56px.
   On checkout/order-received the contact button is hidden so My Account
   button sits flush right — bump padding to clear the burger. */
@media (max-width: 768px) {
	.woocommerce-checkout .header_right,
	.woocommerce-order-received .header_right {
		padding-right: 64px !important;
	}
}
@media (max-width: 680px) {
	.miio-thankyou-hero { padding: 36px 20px 30px; }
	.miio-thankyou-title { font-size: 24px; }
}
