.woocommerce-account.logged-in .woocommerce {
	display: block !important;
	width: 100%;
	max-width: 1180px;
}

.woocommerce-account .as-account-layout {
	display: flex;
	align-items: start;
	gap: 32px;
	width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	min-width: 0;
}

.woocommerce-account .as-account-layout > .woocommerce-MyAccount-navigation {
	flex: 0 0 250px;
	order: 1;
}

.woocommerce-account .as-account-layout > .woocommerce-MyAccount-content {
	flex: 1 1 0;
	order: 2;
	width: 100% !important;
}

.woocommerce-account .as-account-orders {
	width: 100%;
}

.woocommerce-view-order .as-account-layout {
	display: block;
}

.woocommerce-view-order .as-account-layout > .woocommerce-MyAccount-navigation {
	width: 100% !important;
	margin: 0 0 26px;
}

.woocommerce-view-order .as-account-layout > .woocommerce-MyAccount-content {
	width: 100% !important;
}

.woocommerce-view-order .woocommerce-MyAccount-navigation ul {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	padding: 7px;
}

.woocommerce-view-order .woocommerce-MyAccount-navigation a {
	height: 100%;
	text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 8px;
	overflow: hidden;
	border: 1px solid #e1e6ed;
	border-radius: 14px;
	background: #fff;
	list-style: none;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	border: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 12px 14px;
	border-radius: 9px;
	color: #26364a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #eef1ff;
	color: #3040ff;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
	background: #f4f6fa;
	color: #3040ff;
}

.as-view-order-summary {
	margin: 0 0 30px;
	padding: 24px;
	border: 1px solid #e1e6ed;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.as-view-order-summary__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.as-view-order-summary__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: #7e8998;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.3;
}

.as-view-order-summary h2 {
	margin: 0 !important;
	color: #0f1b2a;
	font-size: 28px !important;
	line-height: 1.15;
}

.as-view-order-summary__status {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 13px;
	border-radius: 999px;
	background: #fff4e0;
	color: #a86600;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.as-view-order-summary__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.as-view-order-summary__grid > div {
	min-width: 0;
	padding: 14px 16px;
	border-radius: 11px;
	background: #f6f8fb;
}

.as-view-order-summary__grid span,
.as-view-order-summary__grid strong {
	display: block;
}

.as-view-order-summary__grid span {
	margin-bottom: 5px;
	color: #7e8998;
	font-size: 13px;
	line-height: 1.3;
}

.as-view-order-summary__grid strong {
	overflow-wrap: break-word;
	color: #172436;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.as-view-order-summary__back {
	display: inline-flex;
	align-items: center;
	margin-top: 18px;
	color: #3040ff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.as-view-order-summary__back::before {
	content: "←";
	margin-right: 7px;
}

.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details,
.woocommerce-account .as-order-updates {
	margin: 0 0 30px;
}

.woocommerce-account .woocommerce-order-details h2,
.woocommerce-account .woocommerce-customer-details h2,
.woocommerce-account .as-order-updates h2 {
	margin: 0 0 16px;
	color: #0f1b2a;
	font-size: 25px;
	line-height: 1.2;
}

.woocommerce-account .woocommerce-order-details table.shop_table {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid #e1e6ed;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	background: #fff;
}

.woocommerce-account .woocommerce-order-details table.shop_table th,
.woocommerce-account .woocommerce-order-details table.shop_table td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid #e8ecf2;
	background: #fff;
	vertical-align: middle;
}

.woocommerce-account .woocommerce-order-details table.shop_table thead th {
	background: #f6f8fb;
	color: #526075;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.woocommerce-account .woocommerce-order-details table.shop_table tr:last-child th,
.woocommerce-account .woocommerce-order-details table.shop_table tr:last-child td {
	border-bottom: 0;
}

.woocommerce-account .woocommerce-order-details .product-name {
	min-width: 0;
	color: #172436;
	font-weight: 650;
}

.woocommerce-account .woocommerce-order-details .product-name a {
	color: #172436;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-order-details .product-total,
.woocommerce-account .woocommerce-order-details tfoot td {
	color: #172436;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.woocommerce-account .woocommerce-order-details tfoot th {
	color: #667085;
	font-weight: 600;
}

.woocommerce-account .woocommerce-customer-details address {
	padding: 18px 20px;
	border: 1px solid #e1e6ed;
	border-radius: 14px;
	background: #fff;
	color: #344054;
	line-height: 1.65;
}

.woocommerce-view-order .as-order-delivery,
.woocommerce-view-order .as-order-contact {
	width: 100%;
	margin-top: 24px;
	padding: 24px;
	border: 1px solid #e1e6ed;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
}

.woocommerce-view-order .as-order-delivery h2,
.woocommerce-view-order .as-order-contact h2 {
	margin: 0 0 18px;
	color: #0f1b2a;
	font-size: 25px;
	line-height: 1.2;
}

.woocommerce-view-order .as-order-delivery dl,
.woocommerce-view-order .as-order-contact dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin: 0;
}

.woocommerce-view-order .as-order-delivery dl > div,
.woocommerce-view-order .as-order-contact dl > div {
	min-width: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 11px;
	background: #f6f8fb;
	box-sizing: border-box;
}

.woocommerce-view-order .as-order-delivery dt,
.woocommerce-view-order .as-order-contact dt {
	margin: 0 0 5px;
	color: #7e8998;
	font-size: 13px;
	line-height: 1.35;
}

.woocommerce-view-order .as-order-delivery dd,
.woocommerce-view-order .as-order-contact dd,
.woocommerce-view-order .as-order-contact dd a {
	margin: 0;
	color: #172436;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: none;
}

.woocommerce-view-order .as-order-delivery__note {
	margin: 14px 0 0;
}

.as-order-updates .woocommerce-OrderUpdates {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.as-order-updates .woocommerce-OrderUpdate {
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #e1e6ed;
	border-radius: 12px;
	background: #fff;
}

.as-order-updates .woocommerce-OrderUpdate-meta,
.as-order-updates .woocommerce-OrderUpdate-description p {
	margin: 0;
}

.as-order-updates .woocommerce-OrderUpdate-meta {
	margin-bottom: 6px;
	color: #7e8998;
	font-size: 13px;
}

@media (max-width: 1100px) {
	.woocommerce-account .as-account-layout {
		align-items: stretch;
		flex-direction: column;
		gap: 22px;
	}

	.woocommerce-account .as-account-layout > .woocommerce-MyAccount-navigation,
	.woocommerce-account .as-account-layout > .woocommerce-MyAccount-content {
		flex: 0 0 auto;
		width: 100% !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 100% !important;
		overflow: hidden;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul,
	.woocommerce-view-order .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 7px;
		padding: 7px;
		overflow-x: auto;
		border-radius: 12px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation a {
		padding: 10px 13px;
		white-space: nowrap;
	}
}

@media (max-width: 760px) {
	.woocommerce-account .entry-title {
		margin-bottom: 18px;
		font-size: 30px !important;
		line-height: 1.15;
	}

	.as-view-order-summary {
		margin-bottom: 24px;
		padding: 18px;
		border-radius: 14px;
	}

	.as-view-order-summary__top {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 16px;
	}

	.as-view-order-summary h2 {
		font-size: 25px !important;
	}

	.as-view-order-summary__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.as-view-order-summary__grid > div {
		display: grid;
		grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1.2fr);
		align-items: center;
		gap: 10px;
		padding: 12px 13px;
	}

	.as-view-order-summary__grid span {
		margin: 0;
	}

	.as-view-order-summary__grid strong {
		text-align: right;
	}

	.as-view-order-summary__back {
		justify-content: center;
		width: 100%;
		min-height: 44px;
		margin-top: 15px;
		border-radius: 10px;
		background: #eef1ff;
	}

	.woocommerce-account .woocommerce-order-details h2,
	.woocommerce-account .woocommerce-customer-details h2,
	.woocommerce-account .as-order-updates h2 {
		margin-bottom: 13px;
		font-size: 23px;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot {
		display: grid;
		width: 100%;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table thead {
		display: none;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tbody,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot {
		gap: 10px;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tfoot {
		margin-top: 10px;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tfoot tr {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tr {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		overflow: hidden;
		border: 1px solid #e1e6ed;
		border-radius: 12px;
		background: #fff;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table th,
	.woocommerce-account .woocommerce-order-details table.shop_table td {
		display: block !important;
		width: auto !important;
		min-width: 0;
		padding: 14px !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left !important;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table td::before {
		display: none !important;
		content: none !important;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table .product-total,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot td {
		align-self: center;
		text-align: right !important;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tfoot td {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tfoot th {
		align-self: center;
		color: #667085;
	}

	.woocommerce-account .woocommerce-order-details .product-name a {
		display: inline;
	}

	.woocommerce-account .woocommerce-customer-details .col2-set {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.woocommerce-account .woocommerce-customer-details .col-1,
	.woocommerce-account .woocommerce-customer-details .col-2 {
		float: none;
		width: 100%;
	}

	.woocommerce-view-order .as-order-delivery,
	.woocommerce-view-order .as-order-contact {
		padding: 18px;
		border-radius: 14px;
	}

	.woocommerce-view-order .as-order-delivery h2,
	.woocommerce-view-order .as-order-contact h2 {
		font-size: 23px;
	}
}

@media (max-width: 420px) {
	.woocommerce-account .site-content .ast-container {
		padding-right: 14px;
		padding-left: 14px;
	}

	.as-view-order-summary__grid > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.as-view-order-summary__grid strong {
		text-align: left;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table tr {
		grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
	}
}
