/* ==========================================================================
   Dajena Shop, Product Cards, Filter Drawer, PDP & Cart Drawer (OrlaSkin)
   ========================================================================== */

/* ---------- Product Cards (Shared: Homepage Rails, Shop Grid, PDP Related) ---------- */

.product-card-item {
	display: block;
}

.product-card {
	display: flex;
	flex-direction: column;
}

.product-card-media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--surface);
	overflow: hidden;
}

.product-card-img-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.product-card-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8%;
	transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}

.product-card-hover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.product-card.has-hover-img:hover .product-card-hover {
	opacity: 1;
}

.product-card.has-hover-img:hover .product-card-img {
	opacity: 0;
}

.product-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--black);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.product-card-quickadd {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.product-card:hover .product-card-quickadd,
.product-card:focus-within .product-card-quickadd {
	opacity: 1;
	transform: translateY(0);
}

.product-card-quickadd .button,
.product-card-quickadd .add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	background: var(--black);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	border: 0;
	border-radius: 0;
}

.product-card-quickadd .button.loading {
	opacity: 0.7;
}

.product-card-quickadd .added_to_cart {
	display: none;
}

.product-card-meta {
	padding-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.woocommerce-loop-product__title {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ink);
}

.product-card-subtitle {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--muted);
}

.product-card-price {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--black);
	margin-top: 2px;
}

.product-card-price del {
	color: var(--muted);
	margin-right: 6px;
}

.product-card-price ins {
	text-decoration: none;
}

.product-card-consult {
	color: var(--muted);
	font-size: 12px;
}

/* ---------- Shop / Category Archive ---------- */

.shop-main {
	padding: 36px var(--gutter) 0;
}

.shop-header {
	margin-bottom: 32px;
}

.shop-title {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--black);
	margin-bottom: 10px;
}

.shop-subtitle {
	font-size: 13px;
	line-height: 1.4;
	color: var(--muted);
	max-width: 440px;
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	margin-bottom: 16px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.toolbar-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--black);
}

.toolbar-filter-btn:hover {
	opacity: 0.65;
}

.shop-count {
	font-size: 13px;
	color: var(--muted);
}

.shop-main ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px var(--gutter);
}

@media (max-width: 1099px) {
	.shop-main ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.shop-main ul.products {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* Pagination */

.woocommerce-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	gap: 8px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	font-size: 13px;
}

.woocommerce-pagination span.current {
	background: var(--black);
	color: #ffffff;
	border-color: var(--black);
}

/* Bottom Breadcrumb Strip */

.bottom-crumb {
	padding: 40px var(--gutter) 24px;
	border-top: 1px solid var(--line);
	margin-top: 48px;
}

.shop-main .bottom-crumb {
	padding-left: 0;
	padding-right: 0;
}

.woocommerce-breadcrumb {
	font-size: 11px;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.woocommerce-breadcrumb a {
	color: var(--ink);
}

.woocommerce-breadcrumb a:hover {
	opacity: 0.6;
}

/* ---------- Filter & Sort Left Drawer ---------- */

.filter-form {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.filter-body {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0 20px;
}

.filter-group {
	border-bottom: 1px solid var(--line);
	padding: 16px 0;
}

.filter-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	list-style: none;
}

.filter-summary::-webkit-details-marker {
	display: none;
}

.filter-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 14px;
}

.filter-option {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
}

.filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.filter-box {
	width: 14px;
	height: 14px;
	border: 1px solid var(--black);
	background: #ffffff;
	flex-shrink: 0;
	display: inline-block;
	position: relative;
}

.filter-option input:checked + .filter-box {
	background: var(--black);
}

.filter-foot {
	padding: 16px 20px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
}

.filter-clear {
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Single Product (PDP) — OrlaSkin Layout ---------- */

.pdp-stage {
	position: relative;
	background: var(--surface);
	min-height: min(84svh, 760px);
	display: flex;
	align-items: stretch;
}

.pdp-gallery {
	/* One fixed frame for every photo, so switching thumbnails never shifts the page. */
	--pdp-frame-h: max(520px, min(84svh, 760px));
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: var(--pdp-frame-h);
}

.pdp-stage--split .pdp-gallery {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdp-gallery-primary {
	position: relative;
	height: var(--pdp-frame-h);
	min-width: 0;
	min-height: 0;
}

/* Native swipe: each photo is a full-width snap point. */
.pdp-slides {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	touch-action: manipulation;
}

.pdp-slides::-webkit-scrollbar {
	display: none;
}

.pdp-slides:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: -2px;
}

.pdp-slide {
	box-sizing: border-box;
	flex: 0 0 100%;
	min-width: 0;
	height: 100%;
	padding: 40px 24px 80px;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.pdp-slide-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.pdp-main-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.pdp-gallery-secondary {
	position: relative;
	overflow: hidden;
	height: var(--pdp-frame-h);
	min-height: 0;
}

.pdp-secondary-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdp-thumbs {
	position: absolute;
	left: var(--gutter);
	bottom: var(--gutter);
	z-index: 4;
	display: flex;
	gap: 8px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.42);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	/* Stay inside the gallery; swipe sideways when the thumbnails don't all fit. */
	max-width: calc(100% - 2 * var(--gutter));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.pdp-thumbs::-webkit-scrollbar {
	display: none;
}

.pdp-thumb {
	flex: 0 0 52px;
	width: 52px;
	height: 64px;
	padding: 2px;
	border: 1px solid transparent;
	background: var(--surface);
	overflow: hidden;
	opacity: 0.72;
	transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pdp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdp-thumb.is-active,
.pdp-thumb:hover {
	opacity: 1;
	border-color: var(--black);
}

/* Floating White Buy-Box Card */

.pdp-buybox {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: min(372px, calc(100% - 32px));
	background: rgba(255, 255, 255, 0.68);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pdp-buybox-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.pdp-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--black);
}

.pdp-subtitle {
	font-size: 13px;
	color: var(--muted);
	margin-top: 4px;
}

.pdp-price-inline {
	font-size: 13px;
	font-weight: 500;
	color: var(--black);
	white-space: nowrap;
}

.pdp-price-inline del {
	color: var(--muted);
	margin-right: 4px;
}

.pdp-price-inline ins {
	text-decoration: none;
}

.pdp-size-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.pdp-size-label {
	font-size: 12px;
	color: var(--muted);
}

.pdp-size-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--line);
	font-size: 12px;
	color: var(--ink);
}

.pdp-size-chip.is-active {
	border-color: var(--black);
	color: var(--black);
}

/* WooCommerce Add-to-Cart Form inside Buy-Box */

.pdp-cart-wrap form.cart {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pdp-cart-wrap .quantity {
	display: none;
}

.pdp-cart-wrap .single_add_to_cart_button {
	width: 100%;
	height: 40px;
	background: var(--black);
	color: #ffffff;
	border: 0;
	border-radius: 0;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	transition: opacity 0.2s var(--ease);
}

.pdp-cart-wrap .single_add_to_cart_button:hover {
	opacity: 0.85;
}

.pdp-cart-wrap form.cart.is-loading .single_add_to_cart_button {
	opacity: 0.6;
	pointer-events: none;
}

.pdp-cart-wrap table.variations {
	width: 100%;
	border-collapse: collapse;
}

.pdp-cart-wrap table.variations tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid var(--line);
}

.pdp-cart-wrap table.variations th.label {
	text-align: left;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

.pdp-cart-wrap table.variations select {
	height: 32px;
	padding: 0 10px;
	border: 1px solid var(--black);
	border-radius: 0;
	background: #ffffff;
	font-size: 12px;
}

.pdp-cart-wrap .reset_variations {
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	text-transform: uppercase;
	color: var(--muted);
}

.pdp-consult-note {
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

@media (max-width: 959px) {
	.pdp-stage {
		flex-direction: column;
		min-height: auto;
	}

	.pdp-gallery {
		/* 4:5 image area plus the 108px of vertical padding, capped on tablets. */
		--pdp-frame-h: min(calc((100vw - 32px) * 1.25 + 108px), 760px);
	}

	.pdp-stage--split .pdp-gallery {
		grid-template-columns: minmax(0, 1fr);
	}

	.pdp-gallery-secondary {
		display: none;
	}

	.pdp-slide {
		padding: 32px 16px 76px;
	}

	.pdp-buybox {
		position: static;
		transform: none;
		width: 100%;
		background: #ffffff;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border: 0;
		border-bottom: 1px solid var(--line);
	}
}

/* PDP Centered Narrow Details & Accordions */

.pdp-details-wrap {
	padding: 56px var(--gutter) 32px;
}

.pdp-details-inner {
	max-width: 620px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.pdp-micro-label {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--muted-label);
	margin-bottom: 12px;
}

.pdp-desc-copy {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.pdp-seemore {
	margin-top: 14px;
}

.pdp-seemore-trigger {
	font-size: 13px;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	list-style: none;
	display: inline-block;
}

.pdp-seemore-trigger::-webkit-details-marker {
	display: none;
}

.pdp-specs-list {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.pdp-specs-list > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
}

.pdp-specs-list dt {
	color: var(--muted);
}

.pdp-specs-list dd {
	color: var(--ink);
	text-align: right;
}

.pdp-accordions {
	border-top: 1px solid var(--line);
}

.pdp-acc {
	border-bottom: 1px solid var(--line);
}

.pdp-acc-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--black);
	cursor: pointer;
	list-style: none;
}

.pdp-acc-summary::-webkit-details-marker {
	display: none;
}

.pdp-acc-body {
	padding-bottom: 18px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.pdp-assurances-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* PDP Sticky Bottom Quick-Add Bar */

.pdp-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	padding: 10px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pdp-sticky-bar[hidden] {
	display: none;
}

.pdp-sticky-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pdp-sticky-name {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--black);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pdp-sticky-sub {
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- Cart Drawer (Mini-Cart — OrlaSkin) ---------- */

.cart-drawer-body {
	padding: 0;
	display: flex;
	flex-direction: column;
}

.cart-drawer-body .widget_shopping_cart_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.woocommerce-mini-cart {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mini-cart-row {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.mini-cart-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.mini-cart-thumb {
	aspect-ratio: 4 / 5;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	overflow: hidden;
}

.mini-cart-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mini-cart-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mini-cart-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.mini-cart-name {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--black);
	line-height: 1.25;
}

.mini-cart-price {
	font-size: 13px;
	color: var(--black);
	white-space: nowrap;
}

.mini-cart-meta {
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}

.mini-cart-controls {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.qty-stepper {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--line);
	height: 28px;
	padding: 0 8px;
}

.qty-btn {
	border: 0;
	background: transparent;
	padding: 0 2px;
	font-size: 14px;
	line-height: 1;
	color: var(--black);
}

.qty-val {
	font-size: 12px;
	min-width: 14px;
	text-align: center;
}

.mini-cart-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	padding: 4px;
}

.mini-cart-remove:hover {
	color: var(--black);
}

.mini-cart-footer {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--line);
	background: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.woocommerce-mini-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
}

.woocommerce-mini-cart__total strong {
	font-weight: 500;
}

.mini-cart-note {
	text-align: center;
	font-size: 11px;
	color: var(--muted);
}

/* Empty Bag State */

.mini-cart-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px 20px 20px;
	gap: 32px;
}

.mini-cart-empty-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding-top: 32px;
}

.mini-cart-empty-icon svg {
	width: 28px;
	height: 28px;
}

.woocommerce-mini-cart__empty-message {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--black);
}

.mini-cart-upsell {
	border-top: 1px solid var(--line);
	padding-top: 16px;
}

.mini-cart-upsell-title {
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 12px;
}

.mini-cart-upsell-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mini-upsell-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mini-upsell-img {
	aspect-ratio: 4 / 5;
	background: var(--surface);
	padding: 8%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mini-upsell-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mini-upsell-name {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--black);
	margin-top: 4px;
}

.mini-upsell-price {
	font-size: 11px;
	color: var(--muted);
}

/* ---------- WooCommerce Notices ---------- */

.woocommerce-notices-wrapper {
	padding: 0 var(--gutter);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 12px 16px;
	margin: 12px 0;
	border: 1px solid var(--line);
	background: var(--surface);
	font-size: 13px;
}

.woocommerce-error {
	border-color: var(--black);
}

/* ---------- My Account ---------- */

.woocommerce-account .entry-content > .woocommerce {
	margin-top: 0;
}

.woocommerce-account .entry-content > .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

/* Logged out: login and lost password */

.woocommerce-account:not(.logged-in) .page-header,
.woocommerce-account .entry-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) {
	width: 100%;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce-account:not(.logged-in) .page-main {
	padding-top: 64px;
	padding-bottom: 96px;
}

.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > h2 {
	display: none;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
	display: grid;
	gap: 16px;
}

/* One form at a time: the body class is set server-side, so nothing flashes. */

.auth-view-login #customer_login .u-column2,
.auth-view-register #customer_login .u-column1 {
	display: none;
}

#customer_login h2 {
	margin-bottom: 16px;
	outline: none;
}

.woocommerce-account .entry-content .auth-switch {
	margin: 8px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	text-align: center;
	font-size: 13px;
}

.woocommerce-account .entry-content .auth-switch a {
	display: inline-block;
	padding: 4px 2px;
	font-weight: 600;
}

.woocommerce-account .woocommerce-form-login .form-row:not(.form-row-wide) {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button,
.woocommerce-account .woocommerce-ResetPassword .button {
	width: 100%;
}

.woocommerce-account .entry-content .lost_password {
	text-align: center;
	font-size: 12px;
}

/* Navigation */

.woocommerce-MyAccount-navigation {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

body.admin-bar .woocommerce-MyAccount-navigation {
	top: calc(var(--header-h) + 56px);
}

.woocommerce-MyAccount-navigation ul {
	border-top: 1px solid var(--line);
}

.woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--line);
}

.woocommerce-account .entry-content .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 8px 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	transition: color 0.2s var(--ease);
}

.woocommerce-account .entry-content .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .entry-content .woocommerce-MyAccount-navigation .is-active a {
	color: var(--black);
}

.woocommerce-MyAccount-navigation .is-active a::after {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--black);
}

/* Content */

.woocommerce-MyAccount-content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-account .woocommerce-notices-wrapper {
	padding: 0;
}

.woocommerce-account .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0 0 12px;
	padding: 14px 16px;
	border: 0;
	line-height: 1.45;
}

.woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-MyAccount-content > .woocommerce-error {
	margin-bottom: 0;
}

.woocommerce-account .woocommerce-error {
	display: block;
	border: 1px solid var(--black);
}

.woocommerce-account .woocommerce-message .button,
.woocommerce-account .woocommerce-info .button {
	order: 2;
	margin-left: auto;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
	padding: 0;
	color: var(--black);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.woocommerce-MyAccount-content mark {
	background: transparent;
	color: var(--black);
	font-weight: 500;
}

.woocommerce-account .entry-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 20px;
	border: 0;
	border-radius: var(--radius);
	background: var(--black);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.2s var(--ease);
}

.woocommerce-account .entry-content .button:hover {
	opacity: 0.85;
}

/* Forms */

.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.woocommerce-MyAccount-content form {
	max-width: 640px;
}

.woocommerce-MyAccount-content form > h2 {
	margin-bottom: 20px;
}

.woocommerce-EditAccountForm > *,
.woocommerce-address-fields__field-wrapper > .form-row {
	flex: 1 1 100%;
	min-width: 0;
}

.woocommerce-EditAccountForm > .form-row-first,
.woocommerce-EditAccountForm > .form-row-last,
.woocommerce-address-fields__field-wrapper > .form-row-first,
.woocommerce-address-fields__field-wrapper > .form-row-last {
	flex: 1 1 calc(50% - 8px);
}

.woocommerce-EditAccountForm > .clear {
	display: none;
}

.woocommerce-address-fields > p {
	margin-top: 20px;
}

.woocommerce-EditAccountForm fieldset {
	display: grid;
	gap: 16px;
	min-width: 0;
	margin: 12px 0 0;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.woocommerce-EditAccountForm legend {
	float: left;
	width: 100%;
}

.woocommerce-EditAccountForm legend + * {
	clear: both;
}

.woocommerce-account .form-row label:not(.woocommerce-form__label):not(.screen-reader-text) {
	display: block;
	margin-bottom: 6px;
	color: var(--muted-label);
	font-size: 12px;
}

.woocommerce-account .form-row .required {
	color: inherit;
	text-decoration: none;
}

.woocommerce-account .woocommerce-input-wrapper {
	display: block;
}

.woocommerce-account .input-text,
.woocommerce-account .form-row select {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--input-bg);
	color: var(--ink);
	font-size: 13px;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.woocommerce-account .input-text:hover {
	border-color: var(--line);
}

.woocommerce-account .input-text:focus {
	border-color: var(--black);
	background: #ffffff;
	outline: none;
}

.woocommerce-account .form-row.woocommerce-invalid .input-text {
	border-color: var(--black);
}

.woocommerce-account .entry-content form em {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 12px;
	font-style: normal;
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-size: 13px;
	cursor: pointer;
}

.woocommerce-account input[type='checkbox'] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--black);
}

.woocommerce-account .password-input {
	position: relative;
	display: block;
}

.woocommerce-account .password-input .input-text {
	padding-right: 48px;
}

.woocommerce-account .show-password-input {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted);
}

.woocommerce-account .show-password-input:hover {
	color: var(--black);
}

.woocommerce-account .show-password-input::before {
	content: '';
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-account .show-password-input.display-password::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E");
}

.woocommerce-account .select2-container .select2-selection--single {
	height: 44px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--input-bg);
}

.woocommerce-account .select2-container--open .select2-selection--single,
.woocommerce-account .select2-container--focus .select2-selection--single {
	border-color: var(--black);
	background: #ffffff;
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 14px;
	padding-right: 36px;
	color: var(--ink);
	font-size: 13px;
	line-height: 42px;
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 8px;
	height: 42px;
}

.woocommerce-account .select2-dropdown {
	border: 1px solid var(--black);
	border-radius: var(--radius);
	font-size: 13px;
}

.woocommerce-account .select2-search--dropdown .select2-search__field {
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.woocommerce-account .select2-results__option--highlighted[aria-selected],
.woocommerce-account .select2-results__option--highlighted[data-selected] {
	background: var(--black);
	color: #ffffff;
}

/* Addresses */

.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-columns--addresses::before,
.woocommerce-account .woocommerce-columns--addresses::after {
	content: none;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-column--billing-address,
.woocommerce-account .woocommerce-column--shipping-address {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 20px;
	background: var(--surface);
}

.woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.woocommerce-account .entry-content .woocommerce-Address-title .edit {
	flex-shrink: 0;
	font-size: 12px;
}

.woocommerce-account address {
	color: var(--muted);
	font-style: normal;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

/* Orders */

.woocommerce-MyAccount-content .shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.woocommerce-MyAccount-content .shop_table th,
.woocommerce-MyAccount-content .shop_table td {
	padding: 14px 12px 14px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
}

.woocommerce-MyAccount-content .shop_table thead th {
	padding-top: 0;
	padding-bottom: 10px;
	border-bottom-color: var(--black);
	color: var(--muted-label);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.woocommerce-MyAccount-content .shop_table tfoot th {
	font-weight: 500;
}

.woocommerce-MyAccount-content .shop_table tfoot td,
.woocommerce-MyAccount-content .shop_table .product-total {
	text-align: right;
	padding-right: 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number {
	font-weight: 500;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__header-order-actions,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
	padding-right: 0;
	text-align: right;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button {
	min-height: 32px;
	margin-left: 6px;
	padding: 6px 12px;
	font-size: 11px;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.woocommerce-customer-details address p {
	margin-top: 6px;
}

.woocommerce-MyAccount-content .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

@media (max-width: 860px) {
	.woocommerce-account .entry-content > .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.woocommerce-MyAccount-navigation {
		position: static;
		margin: 0 calc(var(--gutter) * -1);
		overflow-x: auto;
		scrollbar-width: none;
		border-bottom: 1px solid var(--line);
	}

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

	.woocommerce-MyAccount-navigation ul {
		display: flex;
		width: max-content;
		gap: 20px;
		padding: 0 var(--gutter);
		border-top: 0;
	}

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

	.woocommerce-account .entry-content .woocommerce-MyAccount-navigation a {
		position: relative;
		white-space: nowrap;
		font-size: 12px;
	}

	.woocommerce-MyAccount-navigation .is-active a::after {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		height: 2px;
	}
}

@media (max-width: 640px) {
	.woocommerce-account .input-text,
	.woocommerce-account .form-row select,
	.woocommerce-account .select2-search--dropdown .select2-search__field {
		font-size: 16px; /* Stops iOS zooming into focused fields. */
	}

	.woocommerce-account .woocommerce-Addresses,
	.woocommerce-account .woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr);
	}

	.woocommerce-EditAccountForm > .form-row-first,
	.woocommerce-EditAccountForm > .form-row-last,
	.woocommerce-address-fields__field-wrapper > .form-row-first,
	.woocommerce-address-fields__field-wrapper > .form-row-last {
		flex-basis: 100%;
	}

	.woocommerce-account .woocommerce-message .button,
	.woocommerce-account .woocommerce-info .button {
		width: 100%;
		margin-left: 0;
	}

	.woocommerce-MyAccount-content .shop_table_responsive thead {
		display: none;
	}

	.woocommerce-MyAccount-content .shop_table_responsive,
	.woocommerce-MyAccount-content .shop_table_responsive tbody,
	.woocommerce-MyAccount-content .shop_table_responsive tr {
		display: block;
	}

	.woocommerce-MyAccount-content .shop_table_responsive tr {
		padding: 8px 0;
		border-bottom: 1px solid var(--line);
	}

	.woocommerce-MyAccount-content .shop_table_responsive tbody th,
	.woocommerce-MyAccount-content .shop_table_responsive td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 6px 0;
		border-bottom: 0;
		text-align: right;
	}

	.woocommerce-MyAccount-content .shop_table_responsive tbody th::before,
	.woocommerce-MyAccount-content .shop_table_responsive td::before {
		content: attr(data-title);
		color: var(--muted-label);
		font-size: 12px;
		font-weight: 400;
		text-align: left;
	}

	.woocommerce-MyAccount-content .shop_table_responsive .woocommerce-orders-table__cell-order-actions::before {
		content: none;
	}

	.woocommerce-MyAccount-content .shop_table_responsive td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-end;
	}
}
