/*
Theme Name: Oyinluxe Child - Shop Archive Styles
Description: Shop, product archive, filter drawer, and Smart Shopping styles extracted from the global stylesheet.
Source: style.css
*/

/* shop archive shell and grid */
/* Shop Archive */
.oyinluxe-shop {
	background: #fff;
	color: #050505;
	overflow-x: clip;
}

.oyinluxe-shop__header {
	margin-top: 30px;
	padding-top: 30px;
	padding-bottom: 24px;
}

.oyinluxe-shop__breadcrumbs {
	display: flex !important;
	visibility: visible !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 58px;
	color: rgba(0, 0, 0, 0.58);
	opacity: 1 !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	position: relative;
	text-transform: lowercase;
	z-index: 2;
}

.oyinluxe-shop__breadcrumbs a {
	color: #111;
	text-decoration: none;
}

.oyinluxe-shop__title {
	margin: 0 0 34px;
	color: #020202;
	font-size: clamp(32px, 3.2vw, 54px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.oyinluxe-shop__chips {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 46px;
}

.oyinluxe-shop__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	border: 1px solid rgba(0, 0, 0, 0.34);
	color: #171717;
	padding: 0 17px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-transform: lowercase;
	text-decoration: none;
	background: #fff;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oyinluxe-shop__chip.is-active {
	background: #101010;
	border-color: #101010;
	color: #fff;
}

.oyinluxe-shop__chip:hover,
.oyinluxe-shop__chip:focus-visible {
	background: #fff;
	border-color: #503265;
	color: #503265;
}

.oyinluxe-shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.oyinluxe-shop__filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 16px;
		border: 0;
		background: transparent;
		color: #111;
		padding: 0;
		font: inherit;
		font-size: 16px;
		font-weight: 500;
		line-height: 1;
		text-transform: uppercase;
		cursor: pointer;
	}

	.oyinluxe-shop__filter-toggle:hover,
	.oyinluxe-shop__filter-toggle:focus,
	.oyinluxe-shop__filter-toggle:active,
	.oyinluxe-shop__filter-toggle:focus-visible {
		background: transparent;
		background-image: none;
		color: #000;
		outline: none;
	}

.oyinluxe-shop__filter-toggle svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oyinluxe-shop__view {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	color: #111;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-transform: lowercase;
}

.oyinluxe-shop__view-button {
	width: 21px;
	height: 21px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.oyinluxe-shop__view-button span {
	display: block;
	background: rgba(0, 0, 0, 0.12);
}

.oyinluxe-shop__view-button[data-oyinluxe-grid-view="2"] {
	grid-template-columns: 1fr 1fr;
	gap: 5px;
}

.oyinluxe-shop__view-button[data-oyinluxe-grid-view="2"] span {
	height: 21px;
}

.oyinluxe-shop__view-button.is-active span {
	background: #050505;
}

.oyinluxe-shop__products {
	padding-top: 8px;
	padding-bottom: 80px;
	transition: opacity 0.18s ease;
}

.oyinluxe-shop__products.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.oyinluxe-shop__products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oyinluxe-shop__products[data-grid-view="2"] ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oyinluxe-shop__products ul.products::before,
.oyinluxe-shop__products ul.products::after {
	display: none !important;
}

.oyinluxe-shop__products ul.products li.product {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	flex: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* shop pagination and filter drawer */
.oyinluxe-shop .woocommerce-pagination {
	margin-top: 54px;
}

.oyinluxe-filter-drawer {
	position: fixed;
	inset: 0;
	z-index: 100100;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.oyinluxe-filter-drawer.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.oyinluxe-filter-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.22);
}

.oyinluxe-filter-drawer__panel {
	position: relative;
	width: min(520px, 100vw);
	height: 100dvh;
	overflow-y: auto;
	background: #fff;
	color: #090909;
	box-shadow: 18px 0 60px rgba(0, 0, 0, 0.14);
	transform: translateX(-100%);
	transition: transform 0.28s ease;
}

.oyinluxe-filter-drawer.is-open .oyinluxe-filter-drawer__panel {
	transform: translateX(0);
}

.oyinluxe-filter-drawer__header {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 74px;
	padding: 0 28px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.oyinluxe-filter-drawer__close {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #050505;
	padding: 0;
	cursor: pointer;
}

.oyinluxe-filter-drawer__close svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oyinluxe-filter-drawer__header h2 {
	margin: 0;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.oyinluxe-filter-drawer__section {
	padding: 24px 28px 22px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.oyinluxe-filter-drawer__section h3 {
	margin: 0 0 22px;
	color: #111;
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.oyinluxe-filter-drawer__options {
	display: grid;
	gap: 18px;
}

.oyinluxe-filter-drawer__option {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #171717;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: lowercase;
	cursor: pointer;
}

.oyinluxe-filter-drawer__option input {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 0;
	appearance: none;
	background: #fff;
	cursor: pointer;
}

.oyinluxe-filter-drawer__option input:checked {
	background: #050505;
	box-shadow: inset 0 0 0 5px #fff;
}

.oyinluxe-filter-drawer__price {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.oyinluxe-filter-drawer__price label {
	display: grid;
	gap: 9px;
	color: rgba(0, 0, 0, 0.7);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.oyinluxe-filter-drawer__price input {
	width: 100%;
	min-height: 48px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 0;
	background: #fff;
	color: #111;
	padding: 0 14px;
	font: inherit;
	font-size: 15px;
	outline: none;
}

.oyinluxe-filter-drawer__price input:focus {
	border-color: #050505;
}

.oyinluxe-filter-drawer__actions {
	position: sticky;
	bottom: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 20px 28px;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.oyinluxe-filter-drawer__actions a,
.oyinluxe-filter-drawer__actions button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #111;
	border-radius: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}

.oyinluxe-filter-drawer__actions a {
	background: #fff;
	color: #111;
}

.oyinluxe-filter-drawer__actions button {
	background: #503265;
	border-color: #503265;
	color: #fff;
	cursor: pointer;
}

body.oyinluxe-filter-open {
	overflow: hidden;
}

/* shop archive tablet responsive rules */
@media (max-width: 900px) {
	.oyinluxe-shop__header {
		padding-top: 30px;
	}

	.oyinluxe-shop__breadcrumbs {
		margin-bottom: 40px;
		gap: 18px;
	}

	.oyinluxe-shop__title {
		margin-bottom: 30px;
		font-size: 30px;
	}

	.oyinluxe-shop__chips {
		justify-content: flex-start;
		gap: 11px;
		margin-bottom: 36px;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 2px;
		scrollbar-width: none;
	}

	.oyinluxe-shop__chips::-webkit-scrollbar {
		display: none;
	}

	.oyinluxe-shop__chip {
		flex: 0 0 auto;
		min-height: 32px;
		padding: 0 14px;
		font-size: 14px;
	}

	.oyinluxe-shop__filter-toggle {
		gap: 14px;
		font-size: 16px;
	}

	.oyinluxe-shop__toolbar {
		align-items: center;
		justify-content: space-between;
	}

	.oyinluxe-shop__view {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.oyinluxe-shop__products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 14px;
		width: 100% !important;
	}

	.oyinluxe-shop__products[data-grid-view="4"] ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* shop archive mobile responsive rules */
@media (max-width: 520px) {
	.oyinluxe-shop .oyinluxe-align-frame {
		width: 100vw;
		max-width: 100vw;
		margin-left: 0;
		margin-right: 0;
	}

	.oyinluxe-shop__header {
		padding-top: 30px;
		padding-bottom: 18px;
	}

	.oyinluxe-shop__breadcrumbs {
		margin-bottom: 40px;
		font-size: 14px;
	}

	.oyinluxe-shop__toolbar {
		gap: 16px;
		width: 100%;
		max-width: calc(100vw - (var(--oyinluxe-page-gutter) * 2));
	}

	.oyinluxe-shop__filter-toggle {
		min-width: 0;
	}

	.oyinluxe-shop__view {
		display: inline-flex !important;
		gap: 10px;
		font-size: 14px;
		margin-left: auto;
	}

	.oyinluxe-shop__view-button {
		width: 18px;
		height: 18px;
		gap: 2px;
	}

	.oyinluxe-shop__view-button[data-oyinluxe-grid-view="2"] {
		gap: 4px;
	}

	.oyinluxe-shop__view-button[data-oyinluxe-grid-view="2"] span {
		height: 18px;
	}

	.oyinluxe-shop__products {
		padding-bottom: 58px;
	}

	.oyinluxe-shop__products ul.products {
		max-width: calc(100vw - (var(--oyinluxe-page-gutter) * 2));
	}

	.oyinluxe-shop__products[data-grid-view="2"] ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oyinluxe-shop__products[data-grid-view="4"] ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oyinluxe-filter-drawer__panel {
		width: min(500px, 100vw);
	}

	.oyinluxe-filter-drawer__header {
		min-height: 74px;
		padding: 0 22px;
	}

	.oyinluxe-filter-drawer__header h2 {
		font-size: 28px;
	}

	.oyinluxe-filter-drawer__section {
		padding: 24px 22px 22px;
	}

	.oyinluxe-filter-drawer__actions {
		padding: 18px 22px;
	}
}

/* smart shopping pages */
/* Smart shopping pages */
.oyinluxe-smart-shop__description {
	max-width: 560px;
	margin: 10px auto 0;
	color: #596172;
	font-family: var(--font-primary, 'Jost', 'Helvetica Neue', Arial, sans-serif);
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

.oyinluxe-smart-collections {
		padding-left: var(--oyinluxe-page-gutter);
		padding-right: var(--oyinluxe-page-gutter);
		padding-bottom: 72px;
		max-width: var(--oyinluxe-container);
		margin-left: auto;
		margin-right: auto;
		overflow-x: clip;
	}

	.oyinluxe-smart-collections__grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

.oyinluxe-smart-collections__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	color: #172030;
	text-decoration: none;
}

.oyinluxe-smart-collections__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	background: #f4f6f8;
	overflow: hidden;
}

.oyinluxe-smart-collections__image img,
.oyinluxe-smart-collections__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oyinluxe-smart-collections__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0 0;
}

.oyinluxe-smart-collections__content strong {
	color: #172030;
	font-family: var(--font-primary, 'Jost', 'Helvetica Neue', Arial, sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
}

.oyinluxe-smart-collections__content small {
	color: #6d7483;
	font-size: 12px;
	white-space: nowrap;
}

.oyinluxe-smart-shop__empty {
	width: min(620px, 100%);
	margin: 40px auto 90px;
	padding: 48px 24px;
	background: #f6f8fb;
	text-align: center;
}

.oyinluxe-smart-shop__empty h2 {
	margin: 0 0 10px;
	color: #172030;
	font-family: var(--font-primary, 'Jost', 'Helvetica Neue', Arial, sans-serif);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 500;
	line-height: 1.15;
}

.oyinluxe-smart-shop__empty p {
	margin: 0 auto 24px;
	max-width: 420px;
	color: #596172;
	font-size: 15px;
	line-height: 1.6;
}

.oyinluxe-smart-shop__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	background: #503265;
	color: #fff !important;
	font-family: var(--font-primary, 'Jost', 'Helvetica Neue', Arial, sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.oyinluxe-smart-shop__button:hover {
	background: #503265;
	color: #fff !important;
}

.oyinluxe-smart-shop__pagination {
	margin-top: 36px;
	text-align: center;
}

@media (max-width: 1024px) {
	.oyinluxe-smart-collections__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.oyinluxe-smart-shop__description {
		padding-left: 20px;
		padding-right: 20px;
		font-size: 14px;
	}

	.oyinluxe-smart-collections__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.oyinluxe-smart-collections__content {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

/* shop title h1 typography */
.oyinluxe-shop__title {
	font-size: var(--type-h1);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.015em;
}

/* filter drawer h2 typography */
.oyinluxe-filter-drawer__header h2 {
	font-size: var(--type-h2);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

/* filter drawer h3 typography */
.oyinluxe-filter-drawer__section h3 {
	font-size: var(--type-h3);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

/* filter drawer label typography */
.oyinluxe-filter-drawer__price label {
	font-size: var(--type-label);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* filter drawer action typography */
.oyinluxe-filter-drawer__actions a,
.oyinluxe-filter-drawer__actions button {
	font-family: var(--font-primary) !important;
	font-size: var(--type-button);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.10em;
	text-transform: uppercase;
}

/* shop heading text treatment */
.oyinluxe-shop__title,
.oyinluxe-filter-drawer__header h2,
.oyinluxe-filter-drawer__section h3 {
	color: var(--text-primary);
	text-transform: uppercase;
}

/* shop control text treatment */
.oyinluxe-shop__breadcrumbs,
.oyinluxe-shop__chip,
.oyinluxe-shop__filter-toggle,
.oyinluxe-shop__view,
.oyinluxe-filter-drawer__option {
	font-weight: 400;
	letter-spacing: 0;
}
