/**
 * Luxico Commerce Core — structural fallback styles.
 * The Atelier theme provides the full design; these rules only keep the
 * consent panel, dialogs, forms and placeholders usable with other themes.
 */

.luxico-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.luxico-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 99999;
	display: flex;
	justify-content: center;
	padding: 0 16px 16px;
	pointer-events: none;
}

.luxico-consent__panel {
	pointer-events: auto;
	background: #fffcf8;
	color: #171713;
	border: 1px solid #ded5c9;
	box-shadow: 0 18px 44px -18px rgba(23, 23, 19, 0.35);
	max-width: 680px;
	width: 100%;
	padding: 18px 20px 20px;
	box-sizing: border-box;
	font-size: 15px;
}

.luxico-consent__panel h2 {
	margin: 0 0 8px;
	font-size: 17px;
}

.luxico-consent__choices {
	display: grid;
	gap: 10px;
	margin: 0 0 14px;
	border-top: 1px solid #ded5c9;
	padding-top: 12px;
}

.luxico-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.luxico-consent .luxico-checkbox,
.luxico-form .luxico-checkbox {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
}

.luxico-consent .luxico-button,
.luxico-dialog .luxico-button {
	min-height: 44px;
	padding: 10px 20px;
	background: #171713;
	color: #fffcf8;
	border: 1.5px solid #171713;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.luxico-consent .luxico-button--outline,
.luxico-dialog .luxico-button--outline {
	background: #fffcf8;
	color: #171713;
}

.luxico-consent .luxico-button--text {
	background: transparent;
	border: 0;
	color: #171713;
	text-decoration: underline;
	text-underline-offset: 3px;
}

dialog.luxico-dialog {
	border: 1px solid #ded5c9;
	background: #fffcf8;
	color: #171713;
	padding: 0;
	max-width: min(920px, calc(100vw - 32px));
	width: 100%;
}

dialog.luxico-dialog::backdrop {
	background: rgba(23, 23, 19, 0.55);
}

.luxico-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #ded5c9;
}

.luxico-dialog__close {
	min-width: 44px;
	min-height: 44px;
	background: transparent;
	border: 1px solid #ded5c9;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}

.luxico-dialog__body {
	padding: 16px;
	max-height: min(70vh, 640px);
	overflow: auto;
}

.luxico-quickview__layout {
	display: grid;
	gap: 18px;
}

@media (min-width: 720px) {
	.luxico-quickview__layout {
		grid-template-columns: 1fr 1fr;
	}
}

.luxico-quickview__media img {
	width: 100%;
	height: auto;
	display: block;
}

.luxico-card__tools {
	display: flex;
	gap: 14px;
	margin: 8px 0 0;
	font-size: 13px;
}

.luxico-card__tools button {
	background: none;
	border: 0;
	padding: 4px 0;
	min-height: 32px;
	color: #6d6a65;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
}

.luxico-card__tools button:hover {
	color: #171713;
}

.luxico-card__tools button[aria-pressed="true"] {
	color: #687054;
	font-weight: 600;
}

.luxico-save-note {
	font-size: 12px;
	color: #6d6a65;
}

@media (prefers-reduced-motion: reduce) {
	.luxico-consent__panel,
	dialog.luxico-dialog {
		transition: none !important;
		animation: none !important;
	}
}
