/* Product price — intentionally scoped to the individual product page. */
.single-product .mega-product-price {
	margin: 0 0 1rem;
}

.single-product .mega-product-price .price {
	margin: 0;
}

.single-product .mega-product-price--sale {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	gap: clamp(0.8rem, 1.8vw, 1.35rem);
}

.single-product .mega-product-price--sale .price {
	display: flex;
	flex: 0 1 auto;
	flex-flow: row nowrap;
	align-items: center;
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.single-product .mega-product-price--sale .price ins {
	order: 1;
	color: var(--e-global-color-primary) !important;
	font-family: "Inter", sans-serif !important;
	font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.035em !important;
	line-height: 1 !important;
	text-decoration: none;
}

.single-product .mega-product-price--sale .price ins .woocommerce-Price-amount {
	color: var(--e-global-color-primary) !important;
	font-weight: 800 !important;
}

.single-product .mega-product-price--sale .price del {
	order: 2;
	color: #242424;
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	font-weight: 400;
	line-height: 1.4;
	margin: 0 !important;
	text-decoration: none;
	white-space: nowrap;
}

.single-product .mega-product-price--sale .price del .woocommerce-Price-amount {
	text-decoration: line-through;
}

.single-product .mega-product-price--sale .price ins .woocommerce-Price-currencySymbol {
	font-size: 0.68em;
	font-weight: 750;
	letter-spacing: 0;
}

.single-product .mega-product-price__discount {
	display: grid;
	min-width: clamp(2.5rem, 4vw, 2.75rem);
	min-height: clamp(2.5rem, 4vw, 2.75rem);
	padding: 0.3rem;
	border-radius: 0.35rem;
	background: #f7ca3e;
	color: #101010;
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	font-weight: 800;
	line-height: 1;
	place-items: center;
}

@media (max-width: 430px) {
	.single-product .mega-product-price--sale {
		gap: 0.85rem;
	}

	.single-product .mega-product-price--sale .price {
		gap: 0.8rem;
	}
}

/* View order */
.mega-view-order {
	--mega-brand: #ed831d;
	--mega-brand-dark: #b95300;
	--mega-ink: #24313b;
	--mega-muted: #66727d;
	--mega-border: #e3e8ec;
	--mega-surface: #f6f8f9;
	--mega-success: #16815d;
	color: var(--mega-ink);
	font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
}

.mega-view-order *,
.mega-view-order *::before,
.mega-view-order *::after {
	box-sizing: border-box;
}

.mega-view-order__back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	color: #59656f;
	font-size: 0.88rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-decoration: none;
	transition: color 160ms ease, transform 160ms ease;
}

.mega-view-order__back:hover,
.mega-view-order__back:focus-visible {
	color: var(--mega-brand-dark);
	transform: translateX(-2px);
}

.mega-order-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem 2rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid var(--mega-border);
	border-radius: 4px;
	background:
		radial-gradient(circle at 100% 0, rgba(237, 131, 29, 0.14), transparent 33%),
		#fff;
	box-shadow: 0 12px 35px rgba(33, 48, 58, 0.07);
}

.mega-order-hero__heading h1 {
	margin: 0;
	color: var(--mega-ink);
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
}

.mega-order-hero__eyebrow,
.mega-section-heading__eyebrow {
	margin: 0 0 0.35rem;
	color: var(--mega-brand-dark);
	font-size: 0.72rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
	text-transform: uppercase;
}

.mega-order-status {
	display: inline-flex;
	align-items: center;
	align-self: start;
	gap: 0.45rem;
	min-height: 2.15rem;
	padding: 0.45rem 0.75rem;
	border: 1px solid #ffd9b5;
	border-radius: 4px;
	background: #fff7ef;
	color: #9c4704;
	font-size: 0.78rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	line-height: 1.5;
}

.mega-order-status-group {
	display: flex;
	align-items: flex-end;
	justify-self: end;
	flex-direction: column;
	gap: 0.4rem;
}

.mega-order-status-extra {
	max-width: 18rem;
	color: var(--mega-muted);
	font-size: 0.72rem;
	line-height: 1.5;
	text-align: right;
}

.mega-order-status-extra mark {
	padding: 0;
	background: transparent;
	color: inherit;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.mega-order-status--completed,
.mega-order-status--processing {
	border-color: #bfe7d8;
	background: #edf9f4;
	color: var(--mega-success);
}

.mega-order-status--cancelled,
.mega-order-status--failed,
.mega-order-status--refunded {
	border-color: #efd0d0;
	background: #fff3f3;
	color: #a43a3a;
}

.mega-order-summary {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--mega-border);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.82);
}

.mega-order-summary__item {
	display: flex;
	min-width: 0;
	padding: 0.85rem 1rem;
	flex-direction: column;
	gap: 0.2rem;
}

.mega-order-summary__item + .mega-order-summary__item {
	border-left: 1px solid var(--mega-border);
}

.mega-order-summary__item span {
	color: var(--mega-muted);
	font-size: 0.72rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-transform: uppercase;
}

.mega-order-summary__item strong {
	overflow-wrap: anywhere;
	color: var(--mega-ink);
	font-size: 0.92rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

.mega-order-updates,
.mega-order-details,
.mega-customer-details {
	margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.mega-order-updates {
	padding: clamp(1.15rem, 3vw, 1.6rem);
	border: 1px solid #f0dfcf;
	border-radius: 4px;
	background: #fffaf6;
}

.mega-order-updates h2 {
	margin: 0 0 1.25rem;
	color: var(--mega-ink);
	font-size: 1.15rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.mega-order-timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mega-order-timeline li {
	position: relative;
	padding: 0 0 1.25rem 1.4rem;
	border-left: 2px solid #f1c79f;
}

.mega-order-timeline li:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.mega-order-timeline li::before {
	position: absolute;
	top: 0.22rem;
	left: -0.42rem;
	width: 0.72rem;
	height: 0.72rem;
	border: 2px solid #fffaf6;
	border-radius: 4px;
	background: var(--mega-brand);
	box-shadow: 0 0 0 2px #f1c79f;
	content: "";
}

.mega-order-timeline time {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--mega-muted);
	font-size: 0.75rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.mega-order-timeline p {
	margin: 0;
}

.mega-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mega-section-heading h2,
.mega-order-details .woocommerce-order-details__title,
.mega-customer-details h2 {
	margin: 0;
	color: var(--mega-ink);
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
}

.mega-section-heading__count {
	padding: 0.35rem 0.65rem;
	border-radius: 4px;
	background: #eef2f4;
	color: #59656f;
	font-size: 0.75rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	white-space: nowrap;
}

.mega-order-tracking {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid #bde2d4;
	border-radius: 4px;
	background: #f0faf6;
}

.mega-order-tracking div {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.mega-order-tracking strong {
	color: #176d51;
	font-size: 0.9rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

.mega-order-tracking span {
	color: #517065;
	font-size: 0.78rem;
}

.mega-order-tracking .mega-order-tracking__button {
	min-height: 2.55rem;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 4px;
	background: var(--mega-success);
	color: #fff;
	font-size: 0.8rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	white-space: nowrap;
}

.mega-order-card,
.mega-address-card {
	border: 1px solid var(--mega-border);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 7px 25px rgba(33, 48, 58, 0.045);
}

.mega-order-card--items {
	overflow: hidden;
}

.mega-order-details .shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 4px;
	background: transparent;
}

.mega-order-details .shop_table thead {
	background: var(--mega-surface);
}

.mega-order-details .shop_table th,
.mega-order-details .shop_table td {
	border: 0;
	color: var(--mega-ink);
}

.mega-order-details .shop_table thead th {
	padding: 0.8rem 1.25rem;
	color: var(--mega-muted);
	font-size: 0.7rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	text-transform: uppercase;
}

.mega-order-details .shop_table .product-total {
	width: 25%;
	text-align: right;
}

.mega-order-details .mega-order-item td {
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid var(--mega-border);
	vertical-align: middle;
}

.mega-order-item__layout {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.mega-order-item__image {
	display: grid;
	flex: 0 0 74px;
	width: 74px;
	height: 74px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #edf0f2;
	border-radius: 4px;
	background: #fff;
}

.mega-order-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.mega-order-item__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.mega-order-item__content .mega-order-item__name {
	color: var(--mega-ink);
	font-size: 0.92rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	line-height: 1.5;
	text-decoration: none;
}

a.mega-order-item__name:hover,
a.mega-order-item__name:focus-visible {
	color: var(--mega-brand-dark);
}

.mega-order-item__quantity,
.mega-order-item__content .wc-item-meta {
	margin: 0;
	color: var(--mega-muted);
	font-size: 0.76rem;
	line-height: 1.5;
}

.mega-order-item__quantity strong {
	font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

.mega-order-item__content .wc-item-meta li {
	display: flex;
	gap: 0.35rem;
}

.mega-order-item__content .wc-item-meta p {
	margin: 0;
}

.mega-order-details .mega-order-item .product-total {
	font-size: 0.95rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	white-space: nowrap;
}

.mega-order-details .shop_table tfoot {
	background: #fbfcfc;
}

.mega-order-details .shop_table tfoot th,
.mega-order-details .shop_table tfoot td {
	padding: 0.55rem 1.25rem;
	border: 0;
	font-size: 0.82rem;
}

.mega-order-details .shop_table tfoot th {
	color: var(--mega-muted);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-align: right;
}

.mega-order-details .shop_table tfoot td {
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-align: right;
}

.mega-order-details .shop_table tfoot tr:first-child th,
.mega-order-details .shop_table tfoot tr:first-child td {
	padding-top: 1.1rem;
}

.mega-order-details .shop_table tfoot tr:last-child th,
.mega-order-details .shop_table tfoot tr:last-child td {
	padding-bottom: 1.1rem;
}

.mega-order-details .shop_table .mega-order-total--order_total th,
.mega-order-details .shop_table .mega-order-total--order_total td {
	padding-top: 0.9rem;
	border-top: 1px solid var(--mega-border);
	color: var(--mega-ink);
	font-size: 1rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.mega-order-details .shop_table .mega-order-total--order_total td {
	color: var(--mega-brand-dark);
	font-size: 1.15rem;
}

.mega-order-details .mega-order-actions td .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0.25rem 0 0.25rem 0.4rem;
	padding: 0.65rem 0.9rem;
	border: 0;
	border-radius: 4px;
	background: var(--mega-brand);
	color: #fff;
	font-size: 0.78rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-decoration: none;
}

.mega-address-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.mega-address-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.mega-address-card {
	padding: clamp(1.15rem, 3vw, 1.5rem);
}

.wlb-account-content .mega-address-card h3 {
	margin: 0 0 0.85rem !important;
	color: var(--mega-ink);
	font-size: 0.98rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-align: left;
}

.mega-address-card address {
	margin: 0;
	color: #52606b;
	font-size: 0.83rem;
	font-style: normal;
	line-height: 1.5;
}

.mega-address-card__contact {
	display: flex;
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--mega-border);
	flex-direction: column;
	color: var(--mega-ink);
	line-height: 1.5;
	text-decoration: none;
}

.mega-address-card__contact span {
	color: var(--mega-muted);
	font-size: 0.68rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-transform: uppercase;
}

.mega-address-card__contact strong {
	overflow-wrap: anywhere;
	font-size: 0.82rem;
	font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

@media (max-width: 767px) {
	.mega-order-hero {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.mega-order-status {
		justify-self: start;
	}

	.mega-order-status-group {
		align-items: flex-start;
		justify-self: start;
	}

	.mega-order-status-extra {
		text-align: left;
	}

	.mega-order-summary {
		grid-template-columns: 1fr;
	}

	.mega-order-summary__item + .mega-order-summary__item {
		border-top: 1px solid var(--mega-border);
		border-left: 0;
	}

	.mega-order-tracking {
		align-items: stretch;
		flex-direction: column;
	}

	.mega-order-tracking .mega-order-tracking__button {
		justify-content: center;
		text-align: center;
	}

	.mega-order-details .shop_table thead {
		display: none;
	}

	.mega-order-details .mega-order-item {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mega-order-details .mega-order-item td,
	.mega-order-details .mega-order-item .product-total {
		display: block;
		width: 100%;
		padding: 1rem;
		text-align: left;
	}

	.mega-order-details .mega-order-item .product-name {
		padding-bottom: 0.75rem;
		border-bottom: 0;
	}

	.mega-order-details .mega-order-item .product-total {
		padding-top: 0;
		border-bottom: 1px solid var(--mega-border);
		color: var(--mega-brand-dark);
	}

	.mega-order-details .mega-order-item .product-total::before {
		display: inline;
		float: none;
		margin-right: 0.35rem;
		color: var(--mega-muted);
		content: attr(data-title) ":";
		font-size: 0.75rem;
		font-weight: var(--e-global-typography-primary-font-weight, 600);
	}

	.mega-order-details .shop_table tfoot {
		display: table;
		width: 100%;
	}

	.mega-order-details .shop_table tfoot tr {
		display: table-row;
	}

	.mega-order-details .shop_table tfoot th,
	.mega-order-details .shop_table tfoot td {
		display: table-cell;
		width: 50%;
	}

	.mega-address-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.mega-order-item__layout {
		align-items: flex-start;
	}

	.mega-order-item__image {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	.mega-order-details .shop_table tfoot th,
	.mega-order-details .shop_table tfoot td {
		padding-right: 0.8rem;
		padding-left: 0.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mega-view-order__back {
		transition: none;
	}
}

/* Account order layout: keep these rules above the theme/Elementor specificity. */
.woocommerce-account #wlb-content {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.woocommerce-account #wlb-content .wlb-grid > .wlb-col--12 {
	min-width: 0;
}

.woocommerce-account #wlb-content .mega-address-customer,
.woocommerce-account #wlb-content .button,
.woocommerce-account #wlb-content input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-account #wlb-content select,
.woocommerce-account #wlb-content textarea {
	border-radius: 4px;
}

.woocommerce-account #wlb-content .wlb-grid {
	font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	font-weight: var(--e-global-typography-text-font-weight, 400);
	letter-spacing: normal;
	line-height: 1.5;
}

.woocommerce-account #wlb-content .wlb-account-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 4px;
	margin: 0 0 28px;
	padding: 6px;
	border: 1px solid #e5e9ec;
	border-radius: 4px;
	background: #f7f8fa;
}

.woocommerce-account #wlb-content .wlb-account-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-account #wlb-content .wlb-account-navigation a {
	display: block;
	padding: 11px 15px;
	border-radius: 4px;
	color: #59656f;
	font-size: 14px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	line-height: 1.5;
	text-decoration: none;
}

.woocommerce-account #wlb-content .wlb-account-navigation .is-active a {
	background: #fff;
	color: var(--e-global-color-primary, #ed831d);
	box-shadow: 0 1px 4px #24313b14;
}

.woocommerce-view-order .wlb-account-content .mega-view-order {
	--mega-brand: var(--e-global-color-primary, #ed831d);
	font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	font-size: 16px;
	letter-spacing: normal;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-order-hero {
	gap: 20px 24px;
	padding: 24px;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 3px 16px #24313b06;
}

.woocommerce-view-order .mega-view-order .mega-order-hero__heading h1 {
	font-family: var(--e-global-typography-primary-font-family, "Inter"), sans-serif;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-order-hero__eyebrow,
.woocommerce-view-order .mega-view-order .mega-section-heading__eyebrow {
	margin: 0 0 6px;
	color: #7a858e;
	font-size: 12px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
}

.woocommerce-view-order .mega-view-order .mega-order-summary {
	border: 0;
	border-top: 1px solid var(--mega-border);
	border-radius: 4px;
	background: transparent;
	padding-top: 18px;
}

.woocommerce-view-order .mega-view-order .mega-order-summary__item {
	padding: 0 20px;
	gap: 8px;
}

.woocommerce-view-order .mega-view-order .mega-order-summary__item:first-child {
	padding-left: 0;
}

.woocommerce-view-order .mega-view-order .mega-order-summary__item > span {
	font-size: 13px;
	font-weight: var(--e-global-typography-accent-font-weight, 500);
	text-transform: none;
}

.woocommerce-view-order .mega-view-order .mega-order-summary__item strong,
.woocommerce-view-order .mega-view-order .mega-order-summary__item strong span {
	color: var(--mega-ink);
	font-size: 16px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	text-transform: none;
}

.woocommerce-view-order .mega-view-order .mega-order-details,
.woocommerce-view-order .mega-view-order .mega-customer-details,
.woocommerce-view-order .mega-view-order .mega-order-updates {
	margin: 28px 0 0;
}

.woocommerce-view-order .mega-view-order .mega-section-heading {
	align-items: center;
	margin: 0 0 14px;
}

.woocommerce-view-order .mega-view-order .mega-section-heading h2 {
	font-family: var(--e-global-typography-primary-font-family, "Inter"), sans-serif;
	margin: 0;
	color: var(--mega-ink);
	font-size: 22px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-section-heading__count {
	padding: 5px 10px;
	font-size: 11px;
}

.mega-order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
	align-items: start;
	gap: 20px;
}

.woocommerce-view-order .mega-view-order .mega-order-card,
.woocommerce-view-order .mega-view-order .mega-address-card {
	min-width: 0;
	border-radius: 4px;
	box-shadow: none;
}

.woocommerce-view-order .mega-view-order table.shop_table {
	margin: 0;
	border: 0;
	font-size: 13px;
}

.woocommerce-view-order .mega-view-order table.shop_table th,
.woocommerce-view-order .mega-view-order table.shop_table td {
	border: 0;
	background: transparent;
}

.woocommerce-view-order .mega-view-order table.shop_table thead th {
	padding: 13px 18px;
	background: #f7f8fa;
	font-size: 10px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.woocommerce-view-order .mega-view-order table.shop_table .mega-order-item td {
	padding: 20px 18px;
	border-top: 1px solid var(--mega-border);
}

.woocommerce-view-order .mega-view-order .mega-order-item__image {
	flex-basis: 64px;
	width: 64px;
	height: 64px;
}

.woocommerce-view-order .mega-view-order .mega-order-item__name {
	font-size: 15px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	letter-spacing: normal;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-order-item__quantity,
.woocommerce-view-order .mega-view-order .mega-order-item__content .wc-item-meta {
	font-size: 13px;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-order-item .product-total {
	font-size: 16px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.woocommerce-view-order .mega-view-order .mega-order-customer-note {
	margin: 0 18px;
	padding: 16px 0;
	border-top: 1px solid var(--mega-border);
	color: var(--mega-muted);
	font-size: 14px;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-order-customer-note strong {
	color: var(--mega-ink);
	font-size: 13px;
	font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

.woocommerce-view-order .mega-view-order .mega-order-customer-note p {
	margin: 4px 0 0;
}

.woocommerce-view-order .mega-view-order .mega-order-totals {
	padding: 20px;
}

.woocommerce-view-order .wlb-account-content .mega-order-totals h3 {
	font-family: var(--e-global-typography-primary-font-family, "Inter"), sans-serif;
	margin: 0 0 16px !important;
	color: var(--mega-ink);
	font-size: 18px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	line-height: 1.5;
	text-align: left;
}

.mega-order-totals dl {
	margin: 0;
}

.mega-order-totals .mega-order-total {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 20px;
	padding: 13px 0;
	font-size: 14px;
	line-height: 1.5;
}

.mega-order-totals dt {
	color: var(--mega-muted);
	font-weight: var(--e-global-typography-text-font-weight, 400);
}

.mega-order-totals dd {
	margin: 0;
	color: var(--mega-ink);
	font-weight: var(--e-global-typography-accent-font-weight, 500);
	text-align: right;
	overflow-wrap: anywhere;
}

.mega-order-totals .mega-order-total--order_total {
	align-items: center;
	margin-top: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--mega-border);
}

.mega-order-totals .mega-order-total--order_total dt {
	color: var(--mega-ink);
	font-size: 14px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.mega-order-totals .mega-order-total--order_total dd {
	color: var(--e-global-color-primary, #ed831d);
	font-size: 22px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.woocommerce-view-order .mega-view-order .mega-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.woocommerce-view-order .mega-view-order .mega-order-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 4px;
	background: #ad510b;
	color: #fff;
	font-size: 12px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
}

.woocommerce-view-order .mega-view-order .mega-order-additional {
	margin-top: 18px;
}

.mega-order-additional summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 17px 20px;
	color: var(--mega-ink);
	font-size: 12px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	list-style: none;
	cursor: pointer;
}

.mega-order-additional summary::-webkit-details-marker {
	display: none;
}

.mega-order-additional summary span {
	margin-left: auto;
	color: var(--mega-muted);
	font-size: 11px;
	font-weight: var(--e-global-typography-text-font-weight, 400);
}

.mega-order-additional summary::after {
	color: var(--mega-muted);
	content: "+";
	font-size: 20px;
	line-height: 1.5;
}

.mega-order-additional[open] summary::after {
	content: "−";
}

.mega-order-additional__content {
	padding: 20px;
}

.mega-order-additional__notice {
	margin: 0 0 16px;
	color: var(--mega-muted);
	font-size: 12px;
}

.woocommerce-view-order .mega-view-order table.woocommerce_eupago_table {
	width: 100% !important;
	max-width: 560px;
	margin: 0;
	border: 1px solid var(--mega-border);
	border-collapse: collapse;
	font-size: 13px;
}

.woocommerce-view-order .mega-view-order table.woocommerce_eupago_table th,
.woocommerce-view-order .mega-view-order table.woocommerce_eupago_table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--mega-border);
	background: #fff;
	color: var(--mega-ink);
}

.woocommerce-view-order .mega-view-order table.woocommerce_eupago_table th {
	background: #f7f8fa;
	text-align: left;
}

.woocommerce-view-order .mega-view-order table.woocommerce_eupago_table th img {
	display: block;
	width: auto;
	max-width: 160px;
	max-height: 40px;
	margin: 12px 0 0;
	object-fit: contain;
}

.woocommerce-view-order .mega-view-order .mega-address-card {
	padding: 20px;
}

.woocommerce-view-order .wlb-account-content .mega-address-card h3 {
	font-family: var(--e-global-typography-primary-font-family, "Inter"), sans-serif;
	margin: 0 0 12px !important;
	font-size: 17px;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-address-card address {
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order .mega-address-grid--single .mega-address-card address {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 28px;
}

.woocommerce-view-order .mega-view-order .mega-address-card__contact {
	margin-top: 0;
	padding: 10px 0;
}

.woocommerce-view-order .mega-view-order .mega-address-card__contact strong {
	font-size: 14px;
	line-height: 1.5;
}

.woocommerce-view-order .mega-view-order a:focus-visible,
.woocommerce-account .wlb-account-navigation a:focus-visible,
.woocommerce-view-order .mega-view-order summary:focus-visible {
	outline: 2px solid #ad510b;
	outline-offset: 4px;
}

@media (max-width: 900px) {
	.mega-order-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.woocommerce-account #wlb-content .wlb-account-navigation ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-bottom: 20px;
	}

	.woocommerce-account #wlb-content .wlb-account-navigation li {
		flex: 0 0 auto;
	}

	.woocommerce-view-order .mega-view-order .mega-order-hero {
		padding: 20px;
	}

	.woocommerce-view-order .mega-view-order .mega-order-summary__item {
		display: grid;
		grid-template-columns: 80px minmax(0, 1fr);
		align-items: baseline;
		padding: 12px 0;
	}

	.woocommerce-view-order .mega-view-order .mega-order-summary__item strong {
		text-align: right;
	}

	.woocommerce-view-order .mega-view-order .mega-order-summary__item:first-child {
		padding-top: 0;
	}

	.woocommerce-view-order .mega-view-order table.shop_table .mega-order-item .product-name {
		padding-bottom: 10px;
	}

	.woocommerce-view-order .mega-view-order table.shop_table .mega-order-item .product-total {
		padding-top: 0;
		border-top: 0;
	}

	.woocommerce-view-order .mega-view-order .mega-address-grid--single .mega-address-card address {
		display: block;
	}

	.woocommerce-view-order .mega-view-order .mega-address-card__contact {
		margin-top: 12px;
	}

	.mega-order-additional summary {
		padding: 16px;
	}

	.mega-order-additional summary span {
		display: none;
	}
}
