:root {
	--primary-color: #41352F;
	--secondary-color: #A9A9A9;
	--white: #FFF;
	--gray-light: #D9D9D9;
	--product-bg: #F3F3F2;
	--button-color: #7E6355;
	--text-secondary: #99A2AD;
	--background-light: #FCFCFC;
	--color-black: #121720
}
.page--account-order svg {
	fill: none;
}

.page--account-order .content-wrapper {
	background-color: var(--background-light);
}
.page--account-order .account-container {
	display: flex;
	gap: 20px;
	padding: 40px 20px;
	
	width: 100%;
	max-width: 120rem;
	margin-inline: auto;
}

.page--account-order .sidebar {
	flex-shrink: 0;
	width: 300px;
}

.page--account-order .sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.page--account-order .nav-link {
	color: var(--primary-color);
	font-size: 16px;
	font-weight: 400;
	line-height: 128%;
	text-decoration: none;
	transition: color 0.2s;
}

.page--account-order .nav-link .count {
	color: var(--secondary-color);
}

.page--account-order .nav-link:hover {
	opacity: 0.8;
}

.page--account-order .main-content {
	flex: 1;
	min-height: 600px;
}

.page--account-order .page-title {
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
	color: var(--primary-color);
	margin-bottom: 23px;
}

.page--account-order .page-title .count {
	color: var(--secondary-color);
}

.page--account-order .orders-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.page--account-order .order-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.page--account-order .order-info {
	display: flex;
	gap: 79px;
	flex-wrap: wrap;
}

.page--account-order .order-header {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 220px;
}

.page--account-order .order-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.page--account-order .order-meta .status-badge {
	height: 24px;
}

.page--account-order .status-badge {
	display: inline-flex;
	align-items: center;
	padding-inline: 10px;
	border-radius: 90px;
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}

.page--account-order .status-new {
	background: var(--primary-color);
}

.page--account-order .status-cancelled {
	background: var(--secondary-color);
}

.page--account-order .status-delivered {
	background: var(--primary-color);
}

.page--account-order .order-number {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.page--account-order .order-number svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--secondary-color);
	transition: all .3s ease;
}

.page--account-order .order-number:hover {
	color: var(--color-black);
}
.page--account-order .order-number:hover svg {
	transform: translateX(2px);
}

.page--account-order .order-date {
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}

.page--account-order .order-products {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 100%;
}

.page--account-order .products-count {
	color: var(--secondary-color);
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}

.page--account-order .product-thumbnails {
	display: flex;
	gap: 3px;
	flex-wrap: wrap;
}

.page--account-order .product-thumb {
	position: relative;
	width: 56px;
	height: 72px;
	border-radius: 4px;
	background: var(--product-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.page--account-order .product-thumb img {
	width: 32px;
	height: 36px;
	mix-blend-mode: darken;
}

.page--account-order .quantity-badge {
	position: absolute;
	bottom: 6px;
	right: 6px;
	color: var(--primary-color);
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
}

.page--account-order .more-products {
	color: var(--secondary-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 120%;
}

.page--account-order .order-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
	flex: 1;
	flex-wrap: wrap;
}

.page--account-order .order-summary {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
	min-width: 157px;
}

.page--account-order .delivery-type {
	color: var(--secondary-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 120%;
	text-align: right;
}

.page--account-order .order-price {
	color: var(--primary-color);
	font-size: 20px;
	font-weight: 500;
	line-height: 112%;
	text-align: right;
}

.page--account-order .action-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 220px;
}

.page--account-order .account-container .btn {
	padding: 12px 24px;
	border-radius: 8px;
	font-family: 'Aeonik Pro', -apple-system, Roboto, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
}

.page--account-order .account-container .btn-primary {
	background: var(--primary-color);
	color: var(--white);
}

.page--account-order .account-container .btn-primary:hover {
	opacity: 0.9;
}

.page--account-order .account-container .btn-secondary {
	background: var(--white);
	color: var(--primary-color);
	border: 1px solid var(--gray-light);
}

.page--account-order .account-container .btn-secondary:hover {
	background: var(--product-bg);
}

.page--account-order .divider {
	height: 1px;
	background: var(--gray-light);
	width: 100%;
}
@media (min-width: 768px) {
	.page--account-order .main-content {
		flex: 1;
		min-height: 600px;
	}
}

@media (max-width: 1200px) {
	.order-info {
		gap: 40px;
	}
}

@media (max-width: 992px) {
	.page--account-order .account-container {
		flex-direction: column;
	}

	.page--account-order .sidebar {
		display: none;
	}

	.page--account-order .order-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.page--account-order .order-actions {
		width: 100%;
		justify-content: space-between;
	}

	.page--account-order .action-buttons {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 767px) {
	.page--account-order .order-info {
		flex-direction: column;
		gap: 20px;
		width: 100%;
	}

	.page--account-order .order-header {
		width: 100%;
	}

	.page--account-order .order-actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.page--account-order .order-summary {
		align-items: flex-start;
		width: 100%;
	}

	.page--account-order .delivery-type,
	.page--account-order .order-price {
		text-align: left;
	}

	.page--account-order .action-buttons {
		width: 100%;
		max-width: 100%;
	}
	
}

@media (max-width: 480px) {
	.page--account-order .page-title {
		font-size: 20px;
	}

	.page--account-order .order-meta {
		gap: 8px;
	}
	.detail-view .order-status-bar .status-badge,
	.page--account-order .order-meta .status-badge {
		height: 26px;
	}
	.page--account-order .product-thumbnails {
		max-width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.page--account-order .order-actions .btn {
		padding: 12px 20px;
		font-size: 13px;
	}
}

.page--account-order .empty-state {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.page--account-order .empty-state-header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
	margin-bottom: 20px;
}

.page--account-order .empty-title {
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
	color: var(--primary-color);
}

.page--account-order .empty-subtitle {
	font-size: 16px;
	font-weight: 400;
	line-height: 128%;
	color: var(--primary-color);
}

.page--account-order .recommendations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	width: 100%;
}

.page--account-order .product-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.page--account-order .product-image-wrapper {
	width: 100%;
	aspect-ratio: 264/312;
	border-radius: 20px;
	background: var(--product-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.page--account-order .product-image {
	width: 79%;
	height: 70%;
	object-fit: contain;
	mix-blend-mode: darken;
}

.page--account-order .product-details {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.page--account-order .product-name {
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: var(--primary-color);
}

.page--account-order .product-pricing {
	display: flex;
	align-items: center;
	gap: 8px;
}

.page--account-order .product-price {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.page--account-order .product-price-old {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--secondary-color);
	text-decoration: line-through;
}

.page--account-order .product-variants {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.page--account-order .variant-thumb {
	width: 56px;
	height: 72px;
	border-radius: 8px;
	background: var(--product-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.page--account-order .variant-thumb img {
	width: 43px;
	height: 45px;
	mix-blend-mode: darken;
}

.page--account-order .variant-more {
	border: 1px dashed var(--text-secondary);
	background: transparent;
	color: var(--text-secondary);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.page--account-order .empty-state-footer {
	text-align: center;
	margin-top: 12px;
}

.page--account-order .catalog-link-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 128%;
	color: var(--primary-color);
}

.page--account-order .catalog-link {
	color: var(--button-color);
	text-decoration: none;
	transition: opacity 0.2s;
}

.page--account-order .catalog-link:hover {
	opacity: 0.8;
	text-decoration: underline;
}

@media (max-width: 1200px) {
	.page--account-order .recommendations-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

@media (max-width: 767px) {
	.page--account-order .recommendations-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 16px;
		row-gap: 32px;
	}

	.page--account-order .empty-title {
		font-size: 22px;
	}

	.page--account-order .empty-subtitle {
		font-size: 18px;
	}
}

@media (max-width: 480px) {

	.page--account-order .product-card {
		max-width: 100%;
	}
}
.detail-view {
	width: 100%;
}

.detail-view .detail-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}

.detail-view .back-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	text-decoration: none;
	transition: opacity 0.2s;
}

.detail-view .back-link:hover {
	opacity: 0.7;
}

.detail-view .back-icon {
	width: 24px;
	height: 24px;
}

.detail-view .detail-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 28px;
	color: var(--primary-color);
}

.detail-view .copy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s;
}

.detail-view .copy-btn:hover {
	opacity: 0.7;
}

.detail-view .copy-icon {
	width: 20px;
	height: 20px;
}

.detail-view .detail-content {
	display: grid;
	grid-template-columns: 1fr 473px;
	gap: 40px;
}

.detail-view .detail-info {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.detail-view .order-status-bar {
	display: flex;
	align-items: center;
	gap: 20px;
}

.detail-view .status-badge {
	height: 34px;
}

.detail-view .order-date-detail {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--primary-color);
}

.detail-view .order-info-grid {
	display: flex;
	flex-direction: column;
	gap: 29px;
}

.detail-view .info-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.detail-view .info-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--secondary-color);
}

.detail-view .info-value {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.detail-view .info-sub {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--secondary-color);
}

.detail-view .order-items-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.detail-view .items-heading {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--secondary-color);
}

.detail-view .order-items-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.detail-view .order-item {
	display: flex;
	gap: 24px;
}

.detail-view .item-image-wrapper {
	width: 124px;
	height: 170px;
	border-radius: 12px;
	background: var(--product-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.detail-view .item-image {
	width: 84px;
	height: 95px;
	mix-blend-mode: darken;
	object-fit: contain;
}

.detail-view .item-details {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1;
}

.detail-view .item-name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--primary-color);
	max-width: 370px;
}

.detail-view .item-pricing {
	display: flex;
	align-items: center;
	gap: 8px;
}

.detail-view .item-price {
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.detail-view .item-price-old {
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--secondary-color);
	text-decoration: line-through;
}

.detail-view .order-summary-sidebar {
	background: var(--white);
	margin-top: -108px;
	margin-bottom: -40px;
}

.detail-view .summary-card {
	height: fit-content;
	position: sticky;
	top: 20px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 76px 32px;
}

.detail-view .summary-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.detail-view .summary-title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.detail-view .summary-count {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: var(--primary-color);
}

.detail-view .summary-breakdown {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.detail-view .summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.detail-view .summary-row.summary-total {
	margin-top: 14px;
}

.detail-view .summary-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--primary-color);
}

.detail-view .summary-value {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--primary-color);
}

.detail-view .summary-total .summary-label,
.detail-view .summary-total .summary-value {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.detail-view .summary-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.detail-view .btn-large {
	padding: 20px 56px;
	font-size: 16px;
	line-height: 120%;
	height: 60px;
}

@media (max-width: 1200px) {
	.detail-view .detail-content {
		grid-template-columns: 1fr 400px;
		gap: 30px;
	}
	
	.detail-view .summary-card {
		padding: 40px 24px;
	}
}

@media (max-width: 992px) {
	.detail-view .detail-content {
		grid-template-columns: 1fr;
	}
	
	.detail-view .order-summary-sidebar {
		margin: 0;
	}
	
	.detail-view .summary-card {
		padding: 0;
	}
}

@media (max-width: 767px) {
	.detail-view .detail-header {
		margin-bottom: 24px;
	}
	
	.detail-view .detail-title {
		font-size: 20px;
	}
	
	.detail-view .order-status-bar {
		flex-wrap: wrap;
	}
	
	.detail-view .order-item {
		gap: 16px;
	}
	
	.detail-view .item-name {
		max-width: 100%;
	}
}

@media (max-width: 480px) {

	.detail-view .detail-header {
		gap: 8px;
	}

	.detail-view .detail-title {
		font-size: 18px;
		line-height: 24px;
	}
	
	.detail-view .summary-header {
		gap: 8px;
	}
	
	.detail-view .btn-large {
		padding: 16px 32px;
		font-size: 15px;
	}
}
