/*
 * inspiration.ma design system — "galerie": warm paper and wall tones, a serif display face (Fraunces) paired with
 * Geologica for UI and text, the brand violet as the action colour and terracotta for promotions.
 * Loaded after Woodmart's styles (inc/inspiration-ux.php). Source: deploy/child-theme/assets/inspiration.css.
 */

:root {
	--iq-paper: #f8f5f0;
	--iq-wall: #ede7de;
	--iq-wall-deep: #e3dbcf;
	--iq-card: #ffffff;
	--iq-ink: #1d1a2b;
	--iq-muted: #6f6b7b;
	--iq-line: #e7e1d7;
	--iq-brand: rgb(48, 27, 146);
	--iq-brand-hover: rgb(70, 50, 168);
	--iq-brand-soft: rgba(48, 27, 146, 0.08);
	--iq-lilac: rgb(202, 173, 203);
	--iq-sale: #b5432c;
	--iq-ok: #1b7f4b;

	--iq-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--iq-font-ui: "Geologica", "Segoe UI", Arial, sans-serif;

	--iq-radius: 16px;
	--iq-radius-sm: 10px;
	--iq-shadow: 0 1px 2px rgba(29, 26, 43, 0.04), 0 8px 24px rgba(29, 26, 43, 0.06);
	--iq-shadow-lift: 0 2px 4px rgba(29, 26, 43, 0.05), 0 18px 40px rgba(29, 26, 43, 0.12);
	--iq-ease: cubic-bezier(0.16, 1, 0.3, 1);

	/* Woodmart tokens */
	--wd-text-font: var(--iq-font-ui);
	--wd-text-color: #57536a;
	--wd-title-color: var(--iq-ink);
	--wd-entities-title-color: var(--iq-ink);
	--wd-entities-title-color-hover: var(--iq-brand);
	--wd-primary-color: var(--iq-brand);
	--wd-link-color: var(--iq-brand);
	--wd-link-color-hover: var(--iq-brand-hover);
	--wd-brd-radius: var(--iq-radius);
	--wd-prod-bg: transparent;
	--wd-bordered-bg: transparent;
	--btn-accented-bgcolor: var(--iq-brand);
	--btn-accented-bgcolor-hover: var(--iq-brand-hover);
	--btn-transform: none;
	--btn-default-transform: none;
	--btn-accented-transform: none;
}

body {
	background-color: var(--iq-paper);
	color: var(--wd-text-color);
	-webkit-font-smoothing: antialiased;
}

.whb-header .whb-main-header .whb-row:not(.whb-top-bar),
.wd-page-content,
.main-page-wrapper,
.wd-page-wrapper,
.website-wrapper {
	background-color: var(--iq-paper);
}

/* Page title bands: no grey strip, the title sits on the paper */
body .wd-page-title,
body .page-title {
	background-color: transparent !important;
}

/* Contact page card (replaces the Contact Form 7 widget) */
.iq-contact {
	padding: 24px;
	border: 1px solid var(--iq-line);
	border-radius: var(--iq-radius);
	background: var(--iq-card);
	box-shadow: var(--iq-shadow);
}

.iq-contact__lead {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--wd-text-color);
}

.iq-contact__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.iq-contact__mail {
	font-weight: 500;
}

@media (max-width: 768px) {
	.iq-contact__actions .iq-btn {
		flex: 1 1 100%;
	}
}

/* Display typography: page titles and section titles */
h1,
h2,
.page-title .title,
.wd-page-title .title,
.title-wrapper .title,
.wd-el-title .title,
.product_title,
.wd-checkout-title {
	font-family: var(--iq-font-display);
	font-weight: 500;
	font-variation-settings: "opsz" 96;
	letter-spacing: -0.015em;
	color: var(--iq-ink);
}

/* Buttons */
.btn,
.button,
button.button,
.single_add_to_cart_button {
	font-family: var(--iq-font-ui);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	transition: background-color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.btn:active,
.button:active {
	transform: scale(0.98);
}

:focus-visible {
	outline: 2px solid var(--iq-brand);
	outline-offset: 2px;
}

/* Notices: calm cards instead of full violet bars */
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner {
	background: var(--iq-card);
	color: var(--iq-ink);
	border: 1px solid var(--iq-line);
	border-left: 4px solid var(--iq-brand);
	border-radius: var(--iq-radius-sm);
	box-shadow: var(--iq-shadow);
}

.woocommerce-message a,
.woocommerce-info a {
	color: var(--iq-brand);
}

.woocommerce-message:before,
.woocommerce-info:before {
	color: var(--iq-brand);
}

/* Shared buttons for hand-written sections */
.iq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-family: var(--iq-font-ui);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.iq-btn:active {
	transform: scale(0.98);
}

.iq-btn--primary {
	background: var(--iq-brand);
	color: #fff;
	box-shadow: 0 10px 24px rgba(48, 27, 146, 0.25);
}

.iq-btn--primary:hover {
	background: var(--iq-brand-hover);
	color: #fff;
}

.iq-btn--ghost {
	border: 1px solid currentColor;
	color: var(--iq-ink);
}

.iq-btn--ghost:hover {
	background: var(--iq-ink);
	border-color: var(--iq-ink);
	color: #fff;
}

.iq-btn--whatsapp {
	background: #1f9d55;
	color: #fff;
}

.iq-btn--whatsapp:hover {
	background: #188247;
	color: #fff;
}

.iq-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--iq-brand);
}

.iq-section-title {
	margin: 0 0 12px;
	font-size: clamp(28px, 1.4rem + 1.6vw, 44px);
	line-height: 1.12;
}

/* ---------------------------------------------------------------- Home page */

.iq-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 8px;
}

.elementor-element-b291dce .iq-btn--ghost {
	border-color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.elementor-element-b291dce .iq-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--iq-ink);
}

/* Featured products block: no grey band, serif section title */
.elementor-element-fa61a69,
.elementor-element-fa61a69 .wd-tabs-header,
.elementor-element-fa61a69 .wd-products-tabs {
	background-color: transparent !important;
}

body .wd-products-tabs .tabs-name,
body .related-and-upsells .title,
body .elementor-widget-woocommerce-product-related h2,
body .wd-products-element .element-title {
	font-family: var(--iq-font-display);
	font-size: clamp(24px, 1.2rem + 1vw, 34px);
	font-weight: 500;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--iq-ink);
}

.iq-more {
	margin: 28px 0 0;
	text-align: center;
}

.iq-steps {
	padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
	text-align: center;
}

.iq-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.iq-steps__list li {
	position: relative;
	padding: 32px 26px 28px;
	border: 1px solid var(--iq-line);
	border-radius: var(--iq-radius);
	background: var(--iq-card);
	text-align: left;
	box-shadow: var(--iq-shadow);
}

.iq-steps__num {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--iq-brand-soft);
	color: var(--iq-brand);
	font-family: var(--iq-font-display);
	font-size: 20px;
	font-weight: 600;
}

.iq-steps__list h3 {
	margin: 0 0 8px;
	font-family: var(--iq-font-ui);
	font-size: 17px;
	font-weight: 600;
	color: var(--iq-ink);
}

.iq-steps__list p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--iq-muted);
}

.iq-closing {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 16px 32px;
	margin: clamp(40px, 5vw, 72px) 0 32px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: calc(var(--iq-radius) + 8px);
	background: var(--iq-wall);
}

.iq-closing .iq-section-title {
	font-size: clamp(24px, 1.2rem + 1.2vw, 34px);
}

.iq-closing__text p {
	margin: 0;
	color: var(--iq-muted);
}

.iq-closing__links {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-top: 18px;
	border-top: 1px solid var(--iq-wall-deep);
	font-size: 13px;
}

.iq-closing__links a {
	color: var(--iq-muted);
}

.iq-closing__links a:hover {
	color: var(--iq-brand);
}

@media (max-width: 768px) {
	.iq-hero-ctas {
		padding: 0 16px;
	}

	.iq-hero-ctas .iq-btn {
		flex: 1 1 100%;
	}

	.iq-steps__list {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.iq-steps__list li {
		display: grid;
		grid-template-columns: 40px 1fr;
		column-gap: 14px;
		padding: 18px;
	}

	.iq-steps__num {
		grid-row: span 2;
		margin: 0;
	}

	.iq-closing {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.iq-closing__links {
		justify-content: center;
	}
}

/* ---------------------------------------------------------------- Cart & checkout */

body.woocommerce-checkout #place_order,
body.woocommerce-checkout .wd-checkout-payment-methods button[type="submit"] {
	min-height: 56px;
	border-radius: 999px;
	background-color: var(--iq-brand);
	font-size: 16px;
	box-shadow: 0 10px 24px rgba(48, 27, 146, 0.22);
}

body.woocommerce-checkout #place_order:hover {
	background-color: var(--iq-brand-hover);
}

.iq-summary {
	max-width: 640px;
	margin: 0 auto 28px;
	padding: 20px;
	border: 1px solid var(--iq-line);
	border-radius: var(--iq-radius);
	background: var(--iq-card);
	box-shadow: var(--iq-shadow);
}

.iq-summary__title {
	margin: 0 0 14px;
	font-size: 22px;
}

.iq-summary__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iq-summary__item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--iq-line);
}

.iq-summary__thumb img {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--iq-wall);
	mix-blend-mode: multiply;
}

.iq-summary__thumb {
	border-radius: 10px;
	background: var(--iq-wall);
}

.iq-summary__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.iq-summary__name {
	font-weight: 600;
	color: var(--iq-ink);
}

.iq-summary__meta {
	font-size: 13px;
	color: var(--iq-muted);
}

.iq-summary__price {
	font-weight: 600;
	color: var(--iq-ink);
}

.iq-summary__totals {
	margin: 12px 0 0;
}

.iq-summary__totals > div {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	color: var(--iq-muted);
}

.iq-summary__totals dt,
.iq-summary__totals dd {
	margin: 0;
	font-weight: 400;
}

.iq-summary__free {
	color: var(--iq-ok);
	font-weight: 600;
}

.iq-summary__grand {
	margin-top: 6px;
	padding-top: 10px !important;
	border-top: 1px solid var(--iq-line);
	color: var(--iq-ink) !important;
	font-size: 17px;
}

.iq-summary__grand dd {
	font-weight: 700;
	color: var(--iq-brand);
}

/* ---------------------------------------------------------------- Product cards */

/* Neutralise Woodmart's "buttons on hover" motion: it lifts the card and pulls the text block up under a hidden
   button row, which clips our price and format lines. */
body .wd-products .wd-product.wd-hover-buttons-on-hover,
body .wd-product.wd-hover-buttons-on-hover {
	--wd-thumb-brd-radius: var(--iq-radius);
	--wd-trans-h: 0px;
}

/* Woodmart prints its card CSS inside <body>, after this file, so these need the extra specificity. */
body .wd-product.wd-hover-buttons-on-hover .wd-product-wrapper.iq-card,
body .wd-product.wd-hover-buttons-on-hover .wd-product-wrapper.iq-card:hover {
	overflow: visible;
	transform: none;
}

body .wd-product.wd-hover-buttons-on-hover .iq-card .product-element-bottom.iq-card__body {
	margin-bottom: 0;
}

body .wd-product.wd-hover-buttons-on-hover .iq-card .wd-product-thumb.iq-card__media {
	clip-path: none;
	border-radius: var(--iq-radius);
}

.wd-products.wd-products-with-bg .wd-product .product-wrapper,
.wd-products .wd-product .product-element-bottom {
	background: transparent;
	padding: 0;
}

.iq-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--iq-radius);
	background: var(--iq-wall);
	isolation: isolate;
	transition: box-shadow 0.35s var(--iq-ease), background-color 0.35s ease;
}

/* The mockups are shot on white: multiply lets the frame hang on the wall colour. */
.iq-card__media img {
	mix-blend-mode: multiply;
	transition: transform 0.6s var(--iq-ease), opacity 0.35s ease;
}

/* The hover image is a room photo, not a cut-out: show it as is. */
.iq-card__media .wd-product-img-hover,
.iq-card__media .wd-product-img-hover img {
	mix-blend-mode: normal;
}

.iq-card__body {
	padding: 14px 4px 4px;
}

.iq-card__cat {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--iq-muted);
}

.iq-card .wd-entities-title {
	margin-bottom: 6px;
	font-family: var(--iq-font-ui);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.iq-card .wd-entities-title a {
	color: var(--iq-ink);
}

.iq-card__price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
	font-family: var(--iq-font-ui);
}

.iq-price__from {
	font-size: 12px;
	color: var(--iq-muted);
}

.iq-card__price ins,
.iq-card__price .iq-price__now {
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--iq-ink);
}

.iq-card__price del,
.iq-card__price .iq-price__was {
	font-size: 13px;
	font-weight: 400;
	color: var(--iq-muted);
	opacity: 1;
}

.iq-card__meta {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--iq-muted);
}

/* Discount pill: the card prints its own (matching the price shown), so hide Woodmart's label there. */
.iq-card .product-labels {
	display: none;
}

.iq-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
}

.iq-card__badge,
.single-product .product-labels .product-label.onsale {
	min-width: 0;
	min-height: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--iq-sale);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

/* Hover CTA pill (pointer devices only) */
.iq-card__cta {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 4;
	padding: 9px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--iq-ink);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: var(--iq-shadow);
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity 0.25s ease, transform 0.35s var(--iq-ease), background-color 0.2s ease, color 0.2s ease;
	pointer-events: none;
}

@media (hover: hover) {
	.iq-card:hover .iq-card__media {
		box-shadow: var(--iq-shadow-lift);
		background: var(--iq-wall-deep);
	}

	.iq-card:hover .iq-card__media img {
		transform: scale(1.035);
	}

	body .wd-product .iq-card:hover .iq-card__cta {
		opacity: 1;
		transform: translate(-50%, 0);
		pointer-events: auto;
	}

	body .wd-product .iq-card__cta:hover {
		background: var(--iq-brand);
		color: #fff;
	}
}

@media (max-width: 768px) {
	.iq-card__cta {
		display: none;
	}

	.iq-card__body {
		padding-top: 10px;
	}

	.iq-card .wd-entities-title {
		font-size: 14px;
	}

	.iq-card__price ins,
	.iq-card__price .iq-price__now {
		font-size: 15px;
	}

	.iq-card__badge {
		top: 8px;
		left: 8px;
		padding: 4px 8px;
		font-size: 11px;
	}
}

/* ---------------------------------------------------------------- Shop / category pages */

/* Category strip at the top of the archive layout (Woodmart layout 818, widget fc38c87): compact round tiles. */
.elementor-element-fc38c87 .wd-carousel {
	--wd-col-lg: 9;
	--wd-col-md: 6;
	--wd-col-sm: 4.3;
	--wd-gap-lg: 18px;
	--wd-gap-md: 14px;
	--wd-gap-sm: 10px;
}

.elementor-element-fc38c87 .wd-cat-thumb {
	width: 92px;
	max-width: 100%;
	margin-inline: auto;
}

.elementor-element-fc38c87 .wd-cat-image,
.elementor-element-fc38c87 .wd-cat-image img {
	aspect-ratio: 1;
	width: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.elementor-element-fc38c87 .wd-cat-image {
	display: block;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--iq-line);
	transition: box-shadow 0.25s ease, transform 0.35s var(--iq-ease);
}

.elementor-element-fc38c87 .wd-cat:hover .wd-cat-image {
	box-shadow: 0 0 0 2px var(--iq-brand);
	transform: translateY(-2px);
}

body .elementor-element.elementor-element-fc38c87 .wd-cat .wd-entities-title {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.elementor-element-36fcfea {
	--padding-bottom: 12px;
	margin-bottom: 12px;
}

/* Archive heading (hook widget iqarchead in layout 818's sort row) */
.elementor-element-a638ab9 {
	justify-content: space-between !important;
	align-items: flex-end !important;
	gap: 16px;
}

.elementor-element-iqarchead {
	flex: 1 1 auto;
	min-width: 0;
}

.iq-archive-head__title {
	margin: 0;
	font-size: clamp(28px, 1.4rem + 1.6vw, 44px);
	line-height: 1.1;
}

.iq-archive-head__count {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--iq-muted);
}

.iq-archive-head__desc {
	display: -webkit-box;
	max-width: 720px;
	margin-top: 10px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.elementor-element-bf18896 {
	flex: 0 0 auto;
}

.iq-archive-head__desc p:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.elementor-element-a638ab9 {
		flex-wrap: wrap;
	}

	.elementor-element-fc38c87 .wd-cat-thumb {
		width: 68px;
	}

	body .elementor-element.elementor-element-fc38c87 .wd-cat .wd-entities-title {
		font-size: 12px;
	}
}

/* Elementor carousel arrows: Elementor's widget CSS arrives late and the unsized SVGs first render full width,
   causing a large layout shift on product pages. Same values as Elementor's own styles. */
.elementor-swiper-button {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: inline-flex;
	font-size: 25px;
	transform: translateY(-50%);
	cursor: pointer;
}

.elementor-swiper-button svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.elementor-swiper-button-prev {
	left: 10px;
}

.elementor-swiper-button-next {
	right: 10px;
}

/* ---------------------------------------------------------------- Product page */

/* Gallery on the wall tile, like the cards (layout 842: container 0a1ff3e holds the gallery). */
.single-product .elementor-element-0a1ff3e {
	background-color: var(--iq-wall) !important;
	border-radius: calc(var(--iq-radius) + 4px);
}

.single-product .elementor-element-68c756e {
	background-color: transparent !important;
}

/* Swiper's transforms isolate each slide, so the slide itself carries the wall colour for the blend. */
.single-product .woocommerce-product-gallery .wd-carousel-item {
	background-color: var(--iq-wall);
}

.single-product .woocommerce-product-gallery .wd-carousel-item img {
	mix-blend-mode: multiply;
}

.iq-save {
	display: table;
	margin-inline: auto;
}

.single-product .woocommerce-product-gallery .wd-carousel-item:not(:first-child) img {
	mix-blend-mode: normal; /* room photos */
}

.single-product .product_title {
	font-size: clamp(26px, 1.6rem + 1vw, 38px);
	line-height: 1.15;
}

/* Price block */
body.single-product .wd-single-price .price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 12px;
	font-family: var(--iq-font-ui);
}

body.single-product .wd-single-price .price ins,
body.single-product .wd-single-price .price > .amount {
	font-size: 34px;
	font-weight: 600;
	text-decoration: none;
	color: var(--iq-ink);
}

body.single-product .wd-single-price .price del {
	font-size: 20px;
	font-weight: 400;
	color: var(--iq-muted);
	opacity: 1;
}

.iq-save {
	display: inline-block;
	margin: 6px 0 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(181, 67, 44, 0.1);
	color: var(--iq-sale);
	font-size: 13px;
	font-weight: 600;
}

.iq-save[hidden] {
	display: none;
}

.iq-reassure {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--iq-muted);
}

.iq-reassure li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.iq-reassure__icon {
	width: 18px;
	height: 18px;
	color: var(--iq-brand);
}

/* Option chips */
body.single-product .variations .label,
body.single-product .variations .label label {
	font-family: var(--iq-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--iq-ink);
}

body.single-product .wd-swatches-single .wd-swatch.wd-text {
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--iq-line);
	border-radius: 12px;
	background: var(--iq-card);
	box-shadow: none;
	color: var(--iq-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.single-product .wd-swatches-single .wd-swatch.wd-text:hover {
	border-color: var(--iq-brand);
}

body.single-product .wd-swatches-single .wd-swatch.wd-text.wd-active {
	border-color: var(--iq-brand);
	background: var(--iq-brand-soft);
	box-shadow: inset 0 0 0 1px var(--iq-brand);
	color: var(--iq-brand);
}

body.single-product .wd-swatches-single .wd-swatch.wd-text.wd-active .wd-swatch-text {
	color: var(--iq-brand);
}

body.single-product .wd-swatches-single .wd-swatch:not(.wd-text) {
	border-radius: 12px;
	box-shadow: 0 0 0 1px var(--iq-line);
}

body.single-product .wd-swatches-single .wd-swatch:not(.wd-text).wd-active {
	box-shadow: 0 0 0 2px var(--iq-brand);
}

/* Main CTA in the brand colour (the layout set it to red) */
body.single-product form.cart .single_add_to_cart_button {
	min-height: 56px;
	border-radius: 999px;
	background-color: var(--iq-brand);
	font-size: 16px;
	box-shadow: 0 10px 24px rgba(48, 27, 146, 0.22);
}

body.single-product form.cart .single_add_to_cart_button:hover {
	background-color: var(--iq-brand-hover);
}

body.single-product .whatsapp-button {
	min-height: 52px;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 500;
}

/* Mobile buy bar (replaces Woodmart's sticky add-to-cart) */
.iq-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 400;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 -8px 24px rgba(29, 26, 43, 0.1);
	transform: translateY(110%);
	transition: transform 0.3s var(--iq-ease);
}

.iq-buybar.is-visible {
	transform: none;
}

.iq-buybar__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.iq-buybar__name {
	overflow: hidden;
	font-size: 13px;
	color: var(--iq-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.iq-buybar__price .price {
	display: inline;
}

.iq-buybar__price ins {
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	color: var(--iq-ink);
}

.iq-buybar__price del {
	font-size: 13px;
	color: var(--iq-muted);
}

.iq-buybar__price .iq-price__from {
	font-size: 12px;
	color: var(--iq-muted);
}

.iq-buybar .iq-buybar__btn {
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	background-color: var(--iq-brand);
	font-size: 15px;
}

@media (max-width: 1024px) {
	.iq-buybar {
		display: flex;
	}

	/* keep the WhatsApp bubble above the buy bar */
	body.single-product .whatsapp-widget {
		bottom: calc(84px + env(safe-area-inset-bottom)) !important;
	}

	.single-product .wd-sticky-btn {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iq-buybar,
	.iq-card__media,
	.iq-card__media img,
	.iq-card__cta {
		transition: none;
	}
}
