/**
 * Amirati brand styles.
 *
 * Colours, fonts and button/form shapes are set in WoodMart > Theme Settings,
 * which turns them into its own --wd-* variables. This file adds what those
 * settings can't express. Selectors start with `body` so they win over the
 * WoodMart part stylesheets that load after this file.
 */

/* ---------- Fonts (variable files, Latin subset, served from this theme) ---------- */

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/jost-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens (project brief, section 3.2) ---------- */

:root {
	--color-rose: #c98b8f;        /* accents, borders, focus ring (too light for small text) */
	--color-rose-deep: #a8636b;   /* primary button background */
	--color-rose-text: #8f525a;   /* rose text, links, primary button hover (AA on ivory) */
	--color-rose-soft: #f3e1df;   /* section backgrounds, tags */
	--color-cream: #f8f1eb;       /* alternate background */
	--color-ivory: #fffdf9;       /* page background */
	--color-gold: #b8955a;        /* thin dividers and details only */
	--color-gold-light: #e6d3ae;  /* subtle borders, hover underline */
	--color-ink: #2b2224;         /* headings and main text */
	--color-muted: #6e6266;       /* secondary text */
	--color-border: #eaddd6;      /* borders, inputs */
	--color-success: #4f7d5b;     /* in stock, order confirmed (AA with white) */
	--color-error: #b3474f;       /* errors, out of stock */
	--color-whatsapp: #25d366;
	--color-whatsapp-dark: #128c7e; /* WhatsApp green that passes AA with white text */

	--font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "Jost", "Segoe UI", Arial, sans-serif;

	--radius-control: 4px;
	--radius-card: 8px;
	--shadow-soft: 0 4px 20px rgba(43, 34, 36, 0.06);
}

/* ---------- Map the tokens onto WoodMart's variables ---------- */

body {
	background-color: var(--color-ivory);
	--wd-main-bgcolor: var(--color-ivory);
	--bgcolor-white: var(--color-ivory);
	--bgcolor-white-rgb: 255, 253, 249;
	--btn-default-brd-radius: var(--radius-control);
	--btn-accented-brd-radius: var(--radius-control);
	--wd-form-brd-radius: var(--radius-control);
	--wd-title-font: var(--font-display); /* same family as Theme Settings, with a serif fallback */
	--wd-form-height: 48px;
	--btn-height: 48px;
	--brdcolor-gray-300: var(--color-border);
	--color-gray-800: var(--color-ink);
	--color-gray-900: var(--color-ink);
	--color-gray-500: var(--color-muted);
	--color-gray-400: var(--color-muted);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */

body h1,
body .title.wd-fontsize-xxl {
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.1;
}

body h2 {
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
}

body h3 {
	font-size: clamp(20px, 2.2vw, 24px);
	line-height: 1.25;
	font-weight: 600;
}

body h4,
body h5,
body h6 {
	font-weight: 600;
}

body h1,
body h2,
body h3 {
	text-wrap: balance;
}

body small,
body .wd-entry-meta,
body .woocommerce-result-count {
	color: var(--color-muted);
}

/* ---------- Buttons ---------- */

body .btn,
body .button,
body button[type="submit"],
body input[type="submit"],
body .added_to_cart {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Secondary: outlined ink button. Add the class "amirati-btn-outline" to any button or Elementor button. */
body .amirati-btn-outline,
body .amirati-btn-outline .elementor-button,
body .amirati-btn-outline .btn {
	background-color: transparent;
	color: var(--color-ink);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-control);
	box-shadow: none;
}

body .amirati-btn-outline:hover,
body .amirati-btn-outline .elementor-button:hover,
body .amirati-btn-outline .btn:hover {
	background-color: var(--color-ink);
	color: var(--color-ivory);
}

/* WhatsApp button. White text needs the darker green to stay readable. */
body .amirati-btn-whatsapp,
body .amirati-btn-whatsapp .elementor-button,
body .amirati-btn-whatsapp .btn {
	background-color: var(--color-whatsapp-dark);
	color: #fff;
	border-radius: var(--radius-control);
	box-shadow: none;
}

body .amirati-btn-whatsapp:hover,
body .amirati-btn-whatsapp .elementor-button:hover,
body .amirati-btn-whatsapp .btn:hover {
	background-color: #0e7468;
	color: #fff;
}

/* Text link with a gold underline that grows on hover. */
body .amirati-link {
	color: var(--color-ink);
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(var(--color-gold), var(--color-gold)) left bottom / 100% 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size 0.2s ease;
}

body .amirati-link:hover {
	color: var(--color-ink);
	background-size: 100% 2px;
}

/* ---------- Forms ---------- */

body label {
	color: var(--color-ink);
	font-weight: 500;
	font-size: 14px;
}

body .woocommerce-error,
body .wpcf7-not-valid-tip,
body .required {
	color: var(--color-error);
}

body .wpcf7-not-valid,
body .woocommerce-invalid input.input-text,
body .woocommerce-invalid select {
	border-color: var(--color-error);
}

/* ---------- Focus (keyboard users) ---------- */

body a:focus-visible,
body button:focus-visible,
body .btn:focus-visible,
body .button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body [tabindex]:focus-visible {
	outline: 2px solid var(--color-rose);
	outline-offset: 2px;
}

/* ---------- Shop details ---------- */

/* Prices in ink, not the accent colour: easier to read and calmer. */
body .price,
body .price .amount,
body .wd-product .price {
	color: var(--color-ink);
	font-family: var(--font-body);
	font-weight: 500;
}

body .price del,
body .price del .amount {
	color: var(--color-muted);
	font-weight: 400;
}

body .product-labels .product-label {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.04em;
	border-radius: var(--radius-control);
}

body .stock.in-stock,
body .wd-stock-status.in-stock {
	color: var(--color-success);
}

body .stock.out-of-stock {
	color: var(--color-error);
}

/* ---------- Helpers for page sections ---------- */

body .amirati-bg-cream {
	background-color: var(--color-cream);
}

body .amirati-bg-rose {
	background-color: var(--color-rose-soft);
}

body .amirati-rule {
	border: 0;
	border-top: 1px solid var(--color-gold);
	width: 64px;
	margin: 16px auto;
}

body .amirati-eyebrow {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-rose-text);
}

@media (prefers-reduced-motion: reduce) {
	body .amirati-link {
		transition: none;
	}
}

/* ---------- Checkout ---------- */

/* The country is always Morocco: the field stays in the form for WooCommerce but is not shown. */
body .amirati-hidden {
	display: none !important;
}

/* ---------- Header: announcement bar ---------- */

/* Three messages that fade one after another (12 s loop). */
body .amirati-announce {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 20px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #fff;
	text-align: center;
}

body .amirati-announce span {
	grid-area: 1 / 1;
	opacity: 0;
	animation: amirati-announce 12s infinite;
}

body .amirati-announce span:nth-child(2) { animation-delay: 4s; }
body .amirati-announce span:nth-child(3) { animation-delay: 8s; }

@keyframes amirati-announce {
	0% { opacity: 0; transform: translateY(4px); }
	2%, 32% { opacity: 1; transform: none; }
	34%, 100% { opacity: 0; transform: translateY(-4px); }
}

body .amirati-announce-wrap {
	width: 100%;
}

/* ---------- Header: main row ---------- */

body .whb-general-header {
	background-color: var(--color-ivory);
}

body .whb-general-header .wd-nav-main > li > a {
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--color-ink);
}

body .whb-general-header .wd-nav-main > li > a:hover,
body .whb-general-header .wd-nav-main > li.current-menu-item > a {
	color: var(--color-rose-text);
}

/* Cart count badge in rose. */
body .wd-tools-count,
body .wd-cart-number > span {
	background-color: var(--color-rose-deep);
	color: #fff;
}

/* Icon buttons: at least 44 × 44 px to tap. */
body .whb-header .wd-tools-element > a {
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}

/* ---------- Mobile side menu ---------- */

body .mobile-nav,
body .wd-side-hidden.mobile-nav {
	background-color: var(--color-ivory);
}

body .mobile-nav .wd-nav-mobile > li > a {
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--color-ink);
	min-height: 48px;
}

/* Chevron on category and page links. */
body .mobile-nav .wd-nav-mobile > li:not(.amirati-menu-social) > a::after {
	content: "›";
	margin-left: auto;
	padding-left: 12px;
	font-size: 20px;
	line-height: 1;
	color: var(--color-gold);
}

/* Social links grouped at the bottom on a cream band. */
body .mobile-nav .wd-nav-mobile > li.amirati-menu-social {
	background-color: var(--color-cream);
	border-bottom-color: var(--color-border);
}

body .mobile-nav .wd-nav-mobile > li.amirati-menu-whatsapp {
	margin-top: 16px;
}

body .mobile-nav .wd-nav-mobile > li.amirati-menu-whatsapp > a {
	color: var(--color-whatsapp-dark);
}

@media (prefers-reduced-motion: reduce) {
	body .amirati-announce span {
		animation: none;
	}

	body .amirati-announce span:first-child {
		opacity: 1;
	}
}

/* ---------- Footer ---------- */

body .wd-prefooter {
	background-color: var(--color-ivory);
	border-top: 1px solid var(--color-border);
	padding-block: 32px;
}

/* Trust row: 4 items, 2 per row on phones. */
body .amirati-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .amirati-trust li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	text-align: center;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-ink);
}

body .amirati-trust svg {
	color: var(--color-gold);
	flex-shrink: 0;
}

@media (max-width: 767px) {
	body .amirati-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}
}

body .wd-footer,
body .footer-container {
	background-color: var(--color-cream);
	color: var(--color-ink);
}

body .wd-footer .widget-title,
body .footer-container .widget-title {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-ink);
}

body .wd-footer a,
body .footer-container a {
	color: var(--color-ink);
}

body .wd-footer a:hover,
body .footer-container a:hover {
	color: var(--color-rose-text);
}

body .wd-footer .widget_nav_menu li {
	margin-bottom: 8px;
}

/* Social links in the "Suivez-nous" column. */
body .amirati-social {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

body .amirati-social a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 32px;
	text-decoration: none;
}

body .amirati-social svg {
	color: var(--color-gold);
}

body .amirati-hours {
	color: var(--color-muted);
	font-size: 14px;
}

body .amirati-hours strong {
	color: var(--color-ink);
	font-weight: 500;
}

/* Copyright bar. */
body .wd-copyrights,
body .copyrights-wrapper {
	background-color: var(--color-cream);
	border-top: 1px solid var(--color-border);
	color: var(--color-muted);
	font-size: 13px;
}

body .amirati-credit {
	color: var(--color-ink);
	font-weight: 500;
}

/* Keep room above WoodMart's mobile bottom bar. */
@media (max-width: 1024px) {
	body .wd-copyrights,
	body .copyrights-wrapper {
		padding-bottom: 72px;
	}
}

/* ---------- Floating WhatsApp button (Click to Chat, style 7) ---------- */

body .ht-ctc .ctc_s_7_icon_padding {
	box-shadow: 0 6px 20px rgba(43, 34, 36, 0.18);
}

body .ht-ctc .ht-ctc-cta {
	font-family: var(--font-body);
	font-weight: 500;
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--color-border);
	line-height: 36px;
}

body a.amirati-tel {
	white-space: nowrap;
}

/* ---------- Page width ----------
 * Content is 1280 px wide (WoodMart > Site width: custom 1280), centred,
 * with side margins: 16 px on phones, 24 px on tablets, 32 px on desktop.
 */
body {
	--wd-container-w: 1344px; /* 1280 + 2 × 32 */
}

body .container,
body .container-fluid .container {
	padding-left: 16px;
	padding-right: 16px;
}

@media (min-width: 768px) {
	body .container {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1025px) {
	body .container {
		max-width: 1344px;
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* ---------- Homepage ---------- */

/* Hero text sits on a soft ivory panel so it stays readable on store photos. */
body .amirati-hero-panel {
	background-color: rgba(255, 253, 249, 0.9);
	padding: 32px;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
}

body .amirati-hero-title {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(34px, 4.4vw, 56px);
	line-height: 1.1;
	color: var(--color-ink);
}

body .amirati-hero-text p {
	margin: 0 0 20px;
	font-size: 17px;
	color: var(--color-muted);
}

@media (max-width: 767px) {
	body .amirati-hero-panel {
		padding: 20px;
		margin-top: auto;
	}

	body .amirati-hero-text p {
		font-size: 15px;
	}
}

body .amirati-home-trust {
	background-color: var(--color-cream);
}

/* Category tiles: portrait photos, name over a soft gradient at the bottom. */
body .amirati-cat-tiles .wd-promo-banner,
body .amirati-cat-tiles .promo-banner {
	border-radius: var(--radius-card);
	overflow: hidden;
}

body .amirati-cat-tiles .banner-title,
body .amirati-cat-tiles .wd-banner-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 26px;
}

body .amirati-rounded img {
	border-radius: var(--radius-card);
}

/* Category tiles: dark gradient at the bottom so the white name is readable. */
body .amirati-cat-tiles .promo-banner {
	position: relative;
}

body .amirati-cat-tiles .promo-banner .main-wrapp-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(43, 34, 36, 0) 50%, rgba(43, 34, 36, 0.65) 100%);
	pointer-events: none;
}

body .amirati-cat-tiles .promo-banner .wrapper-content-banner,
body .amirati-cat-tiles .promo-banner .content-banner {
	z-index: 2;
}

body .amirati-cat-tiles .banner-title,
body .amirati-cat-tiles .wd-banner-title,
body .amirati-cat-tiles .banner-btn-wrapper a {
	color: #fff;
}

/* "Notre boutique" banner on soft rose: ink text. */
body .amirati-home-banner .title,
body .amirati-home-banner .title-after_title,
body .amirati-home-banner .title-subtitle,
body .amirati-home-banner p {
	color: var(--color-ink);
}

body .amirati-home-banner .title-subtitle {
	color: var(--color-rose-text);
}

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

/* Page title band: cream with ink text (WoodMart default was black). */
body .page-title.page-title-default,
body .wd-page-title {
	background-color: var(--color-cream);
}

body .wd-page-title .entry-title,
body .page-title .entry-title {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--color-ink);
}

body .wd-page-title .wd-nav-product-cat > li > a,
body .page-title .wd-nav-product-cat > li > a {
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--color-ink);
}

body .wd-page-title .wd-nav-product-cat > li.wd-active > a,
body .wd-page-title .wd-nav-product-cat > li > a:hover {
	color: var(--color-rose-text);
}

/* Category intro text under the title. */
body .term-description,
body .woocommerce-products-header .term-description {
	max-width: 70ch;
	color: var(--color-muted);
}

/* Filter sidebar. */
body .sidebar-container .widget-title,
body .wd-sidebar .widget-title {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-ink);
	border-bottom: 1px solid var(--color-border);
	padding-bottom: 10px;
}

body .widget_price_filter .ui-slider .ui-slider-range,
body .widget_price_filter .ui-slider .ui-slider-handle {
	background-color: var(--color-rose-deep);
}

/* Phones: filters open as a bottom sheet instead of a side panel. */
@media (max-width: 1024px) {
	body .sidebar-container.wd-side-hidden,
	body .wd-sidebar.wd-side-hidden {
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 85vh;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		transition: transform 0.3s ease;
		background-color: var(--color-ivory);
	}

	body .sidebar-container.wd-side-hidden.wd-opened,
	body .wd-sidebar.wd-side-hidden.wd-opened {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	body .sidebar-container.wd-side-hidden,
	body .wd-sidebar.wd-side-hidden {
		transition: none;
	}
}

/* Hide the floating WhatsApp button while the filter sheet is open. */
body:has(.sidebar-container.wd-opened) .ht-ctc {
	display: none !important;
}

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

body.single-product .product_title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
}

body.single-product .summary .price {
	font-size: 20px;
}

/* WhatsApp order button: full width under "Ajouter au panier". */
body .amirati-wa-order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin-top: 12px;
	text-decoration: none;
}

/* Reassurance list. */
body .amirati-reassurance {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--color-border);
	list-style: none;
}

body .amirati-reassurance li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	color: var(--color-ink);
}

body .amirati-reassurance svg {
	color: var(--color-success);
	flex-shrink: 0;
}

/* Size swatches: boxed buttons; sold-out sizes crossed out. */
body .wd-swatches-single .wd-swatch.wd-text {
	min-width: 44px;
	min-height: 40px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-control);
}

body .wd-swatches-single .wd-swatch.wd-text.wd-active {
	border-color: var(--color-ink);
}

body .wd-swatch.wd-disabled,
body .wd-swatch.wd-out-of-stock {
	position: relative;
	opacity: 0.45;
}

body .wd-swatch.wd-text.wd-disabled::after,
body .wd-swatch.wd-text.wd-out-of-stock::after {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	top: 50%;
	border-top: 1px solid var(--color-ink);
	transform: rotate(-20deg);
	pointer-events: none;
}

/* Accordions. */
body.single-product .wd-accordion-title-text,
body.single-product .wd-accordion-title {
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.04em;
}

/* Mobile: the sticky add-to-cart bar sits at the bottom; lift the WhatsApp button above it. */
@media (max-width: 1024px) {
	body.single-product.wd-sticky-btn-shown .ht-ctc,
	body.single-product:has(.wd-sticky-btn.wd-sticky-btn-shown) .ht-ctc {
		bottom: 140px !important;
	}
}

/* "Acheter maintenant" (WoodMart Buy now): ink, to stand apart from the rose add-to-cart. */
body .wd-buy-now-btn,
body .wd-buy-now-btn.button.alt {
	background-color: var(--color-ink);
	color: var(--color-ivory);
}

body .wd-buy-now-btn:hover,
body .wd-buy-now-btn.button.alt:hover {
	background-color: #000;
	color: #fff;
}

/* ---------- Cart, mini-cart and checkout ---------- */

body .amirati-shipping-note td,
body .amirati-mini-note {
	color: var(--color-muted);
	font-size: 14px;
}

body .amirati-mini-note {
	margin: 0 0 12px;
	text-align: center;
}

body .cart-widget-side,
body .wd-side-hidden.cart-widget-side {
	background-color: var(--color-ivory);
}

/* Main cart and checkout buttons: full width on phones. */
@media (max-width: 767px) {
	body .wc-proceed-to-checkout .checkout-button,
	body #place_order {
		width: 100%;
	}
}

body #place_order {
	min-height: 52px;
	font-size: 15px;
}

/* Checkout: titles and order review card. */
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
	font-family: var(--font-display);
	font-weight: 600;
}

body.woocommerce-checkout .woocommerce-checkout-review-order {
	background-color: var(--color-cream);
	border-radius: var(--radius-card);
	padding: 20px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order img {
	border-radius: var(--radius-control);
}

/* Cash on delivery box. */
body.woocommerce-checkout #payment .payment_box {
	background-color: var(--color-rose-soft);
	color: var(--color-ink);
}

/* ---------- Thank-you page ---------- */

body .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-ink);
	text-align: center;
}

body .amirati-thanks {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 560px;
	margin: 0 auto 32px;
	padding: 24px;
	text-align: center;
	background-color: var(--color-rose-soft);
	border-radius: var(--radius-card);
}

body .amirati-thanks-call {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	text-align: left;
	color: var(--color-ink);
	font-weight: 500;
}

body .amirati-thanks-call svg {
	flex-shrink: 0;
	color: var(--color-rose-text);
}

body .amirati-thanks .amirati-btn-whatsapp {
	width: 100%;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Espace VIP ---------- */

body .amirati-vip-welcome {
	margin-bottom: 24px;
	padding: 24px;
	background-color: var(--color-cream);
	border-radius: var(--radius-card);
}

body .amirati-vip-welcome h2 {
	margin: 4px 0 8px;
	font-size: clamp(24px, 3vw, 32px);
}

body .woocommerce-MyAccount-navigation ul li a {
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--color-ink);
}

body .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--color-rose-text);
}

body .woocommerce-form-login,
body .woocommerce-form-register {
	background-color: var(--color-cream);
	border-radius: var(--radius-card);
	padding: 24px;
}

/* ---------- Contact and Notre boutique pages ---------- */

body .amirati-map {
	position: relative;
	width: 100%;
	height: 420px;
	border-radius: var(--radius-card);
	overflow: hidden;
	background-color: var(--color-cream);
}

body .amirati-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 767px) {
	body .amirati-map {
		height: 360px;
	}
}

body .amirati-contact-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

body .amirati-contact-list li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 16px;
	background-color: var(--color-cream);
	border-radius: var(--radius-card);
}

body .amirati-contact-list strong {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-rose-text);
}

body .amirati-contact-strip .amirati-btn-whatsapp {
	display: flex;
	justify-content: center;
}

body .wpcf7 label {
	display: block;
	margin-bottom: 14px;
}

body .wpcf7 textarea {
	min-height: 140px;
}

/* ---------- Review R1: homepage ---------- */

/* Announcement bar: larger, easier to read. */
body .amirati-announce {
	min-height: 24px;
	font-size: 15px;
	letter-spacing: 0.03em;
}

@media (max-width: 767px) {
	body .amirati-announce {
		font-size: 14px;
	}
}

/* Trust icons: larger. */
body .amirati-trust svg {
	width: 40px;
	height: 40px;
}

body .amirati-trust li {
	font-size: 15px;
	gap: 12px;
}

@media (max-width: 767px) {
	body .amirati-trust svg {
		width: 34px;
		height: 34px;
	}
}

/* Separate product sections: centred "Voir tout" link under each grid. */
body .amirati-view-all {
	margin: 24px 0 0;
	text-align: center;
	font-size: 15px;
}

body .amirati-home-promos {
	background-color: var(--color-rose-soft);
	padding: 56px 32px !important;
	border-radius: var(--radius-card);
}

@media (max-width: 767px) {
	body .amirati-home-promos {
		padding: 40px 16px !important;
		border-radius: 0;
	}
}

/* FAQ accordions: bigger, visible arrows. */
body .wd-accordion .wd-accordion-opener {
	width: 28px;
	height: 28px;
	font-size: 16px;
	color: var(--color-rose-text);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

body .wd-accordion .wd-accordion-opener::after,
body .wd-accordion .wd-accordion-opener::before {
	font-size: 14px;
}

body .wd-accordion .wd-accordion-title {
	gap: 12px;
	min-height: 48px;
}

body .wd-accordion .wd-accordion-title-text {
	font-size: 16px;
}

/* ---------- Review R2: footer ---------- */

/* Columns closer together: content block centred and narrower. */
@media (min-width: 1025px) {
	body .main-footer .footer-sidebar {
		display: grid;
		grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 1fr));
		column-gap: 48px;
		max-width: 1080px;
		margin-inline: auto;
	}

	body .main-footer .footer-sidebar > .footer-column {
		grid-column: auto / span 1 !important;
		width: auto;
		max-width: none;
		padding-inline: 0;
	}

	body .main-footer .footer-sidebar > .footer-column:empty {
		display: none;
	}
}

/* Contact list icons (block 818): larger. */
body .footer-column-1 .wd-list .wd-icon img,
body .footer-column-1 .wd-list img {
	width: 20px;
	height: 20px;
}

body .footer-column-1 .wd-list li {
	align-items: center;
	gap: 10px;
}

/* Social icons and hours: larger icons. */
body .amirati-social svg {
	width: 26px;
	height: 26px;
}

body .amirati-social a {
	gap: 12px;
	font-size: 15px;
}

body .amirati-hours {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.5;
}

body .amirati-hours svg {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	color: var(--color-gold);
}

/* Copyright: one centred line. */
body .wd-copyrights.wd-layout-centered,
body .copyrights-wrapper.wd-layout-centered {
	text-align: center;
}

/* ---------- Review R3: contact page ---------- */

/* The contact map is Google's own place embed (with the real pin): shorter. */
body.page-id-4439 .amirati-map,
body.page-id-4439 .elementor-widget-html iframe[src*="google.com/maps"] {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
}

@media (max-width: 767px) {
	body.page-id-4439 .amirati-map,
	body.page-id-4439 .elementor-widget-html iframe[src*="google.com/maps"] {
		height: 220px;
	}
}

body .amirati-contact-list {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body .amirati-contact-list li {
	gap: 6px;
	padding: 20px;
}

body .amirati-contact-list svg {
	width: 30px;
	height: 30px;
	color: var(--color-gold);
	margin-bottom: 4px;
}

body .amirati-contact-list span {
	line-height: 1.6;
}

/* ---------- Review R4: product page ---------- */

body .amirati-reassurance {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
}

/* ---------- Review M1: square colour swatches like the size boxes ---------- */

body .wd-swatches-single .wd-swatch.wd-bg,
body .wd-swatches-filter .wd-swatch.wd-bg,
body .wd-swatches-product .wd-swatch.wd-bg {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-control);
	border: 1px solid var(--color-border);
	padding: 3px;
}

body .wd-swatch.wd-bg .wd-swatch-bg {
	border-radius: 2px;
	width: 100%;
	height: 100%;
}

body .wd-swatches-single .wd-swatch.wd-bg.wd-active,
body .wd-swatches-filter .wd-swatch.wd-bg.wd-active {
	border-color: var(--color-ink);
	box-shadow: 0 0 0 1px var(--color-ink);
}

body .wd-swatches-single .wd-swatch.wd-text,
body .wd-swatches-filter .wd-swatch.wd-text {
	min-width: 44px;
	min-height: 40px;
}

/* Filter list: colour squares with their names. */
body .widget .wd-swatches-filter .wd-swatch.wd-bg,
body .wd-filter-list .wd-swatch.wd-bg,
body .woodmart-woocommerce-layered-nav .wd-swatch.wd-bg {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-control);
}

/* ---------- Review M2: checkout order summary on phones ---------- */

@media (max-width: 767px) {
	/* Outer grey box: edge to edge, no side padding. */
	body.woocommerce-checkout .checkout-order-review {
		flex: 0 0 calc(100% + 32px) !important;
		width: calc(100% + 32px) !important;
		max-width: none !important;
		margin-inline: -16px !important;
		padding: 16px 0 !important;
		border-radius: 0;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order {
		margin-inline: 0 !important;
		padding: 12px !important;
		border-radius: 0;
	}

	/* White product card. */
	body.woocommerce-checkout .woocommerce-checkout-review-order .wd-table-wrapper {
		padding: 12px !important;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
		padding-left: 4px;
		padding-right: 4px;
	}

	body.woocommerce-checkout #payment {
		padding-inline: 0;
	}
}

/* Desktop: lift the WhatsApp button above the product sticky bar too. */
@media (min-width: 1025px) {
	body.single-product:has(.wd-sticky-btn.wd-sticky-btn-shown) .ht-ctc {
		bottom: 104px !important;
	}
}

/* =========================================================
   Audit Phase A
   ========================================================= */

/* Help and legal pages: one centred reading column. */
.amirati-reading .entry-content,
.amirati-reading .wd-content-area > article {
	max-width: 760px;
	margin-inline: auto;
}

.amirati-reading .entry-content h2 {
	font-size: 28px;
	margin-top: 1.6em;
	margin-bottom: .5em;
}

.amirati-reading .entry-content h3 {
	font-size: 21px;
	margin-top: 1.4em;
	margin-bottom: .4em;
}

.amirati-reading .entry-content p,
.amirati-reading .entry-content li {
	font-size: 16px;
	line-height: 1.75;
}

@media (max-width: 767px) {
	.amirati-reading .entry-content h2 { font-size: 23px; }
	.amirati-reading .entry-content h3 { font-size: 19px; }
}

/* Product page: delivery dates under the price. */
.amirati-delivery-date {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0 18px;
	padding: 10px 14px;
	background: var(--color-cream);
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.4;
}

.amirati-delivery-date svg {
	flex: 0 0 auto;
	color: var(--color-gold);
}

.amirati-delivery-date strong { font-weight: 600; }

/* "À partir de" before a price range. */
.amirati-from {
	font-size: .72em;
	font-weight: 400;
	color: var(--color-muted);
}

/* Phones: the product sticky bar is one "Commander maintenant" button, no quantity.
   Simple products use WoodMart's "Buy now" (straight to checkout);
   products with sizes/colours scroll up to the options first. */
@media (max-width: 768.98px) {
	.wd-sticky-btn .wd-sticky-btn-cart .quantity,
	.wd-sticky-btn .wd-product-type-simple .single_add_to_cart_button {
		display: none !important;
	}

	.wd-sticky-btn .wd-product-type-simple form.cart {
		display: flex;
		width: 100%;
	}

	.wd-sticky-btn .wd-product-type-simple .wd-buy-now-btn {
		display: inline-flex !important;
		flex: 1 1 100%;
		width: 100%;
		min-height: 0;
		height: 42px;
		margin: 0;
		background-color: var(--color-rose-deep) !important;
		color: #fff !important;
	}

	.wd-sticky-btn .wd-sticky-add-to-cart,
	.wd-sticky-btn .wd-product-type-simple .wd-buy-now-btn {
		align-items: center;
		justify-content: center;
		min-height: 0 !important;
		height: 42px !important;
		font-size: 0 !important;
	}

	.wd-sticky-btn .wd-sticky-add-to-cart::after,
	.wd-sticky-btn .wd-product-type-simple .wd-buy-now-btn::after {
		content: "Commander maintenant";
		font-size: 14px;
	}
}

/* Phones, product page: no quantity choice (always 1), the two buttons side by side. */
@media (max-width: 768.98px) {
	.single-product .summary form.cart .quantity {
		display: none !important;
	}

	.single-product .summary form.cart:not(.variations_form),
	.single-product .summary .woocommerce-variation-add-to-cart {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.single-product .summary form.cart .single_add_to_cart_button,
	.single-product .summary form.cart .wd-buy-now-btn {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		min-height: 48px;
		margin: 0 !important;
		padding: 6px 8px;
		font-size: 13px;
		letter-spacing: .4px;
		line-height: 1.2;
		white-space: normal;
		text-align: center;
	}
}

/* Tap targets: at least 44px for links people tap with a thumb. */
.single-product .summary .wd-wishlist-btn > a,
.single-product .summary .wd-sizeguide-btn > a,
.single-product .reset_variations {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.amirati-contact-list a,
.amirati-link,
.wd-button-wrapper .btn-style-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

@media (max-width: 767px) {
	.footer-sidebar .menu a,
	.footer-sidebar .wd-list-content a,
	.amirati-social a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.products .wd-action-btn > a,
	.products .wd-add-btn > a {
		width: 44px !important;
		height: 44px !important;
	}

	.wd-header-cart .wd-tools-count { font-size: 11px; }
}

/* Minimum readable text: 13px. */
.product-label,
.title-subtitle.wd-fontsize-xs,
.wd-button-wrapper .wd-btn-text {
	font-size: 13px !important;
}

/* =========================================================
   Phase B: homepage sections
   ========================================================= */

.amirati-steps h2,
.amirati-colis h2,
.amirati-social h2 {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.15;
	margin: 6px 0 14px;
	color: var(--color-ink);
}

/* Commander en 3 étapes */
.amirati-steps-inner {
	max-width: 1080px;
	margin-inline: auto;
	text-align: center;
}

.amirati-steps-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.amirati-steps-list li {
	margin: 0;
	padding: 28px 22px;
	background: var(--color-cream);
	border-radius: var(--radius-card);
}

.amirati-step-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--color-ivory);
	color: var(--color-gold);
}

.amirati-step-num {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-rose-deep);
	color: #fff;
	font: 600 13px/24px var(--font-body);
}

.amirati-steps-list h3 {
	font-family: var(--font-display);
	font-size: 23px;
	margin: 0 0 6px;
}

.amirati-steps-list p {
	margin: 0;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Votre colis Amirati */
.amirati-colis-inner {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 48px;
	align-items: center;
	max-width: 1080px;
	margin-inline: auto;
}

.amirati-colis-text > p:not(.amirati-eyebrow) {
	color: var(--color-muted);
	font-size: 16px;
	line-height: 1.7;
}

.amirati-colis-points {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.amirati-colis-points li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
}

.amirati-colis-points li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .45em;
	width: 12px;
	height: 7px;
	border-left: 1.5px solid var(--color-success);
	border-bottom: 1.5px solid var(--color-success);
	transform: rotate(-45deg);
}

.amirati-colis-photos {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
}

.amirati-colis-photos img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-card);
}

.amirati-colis-photos .amirati-colis-main {
	grid-row: 1 / 3;
	aspect-ratio: 4 / 5;
}

/* Instagram in a phone */
.amirati-social-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 56px;
	align-items: center;
	max-width: 980px;
	margin-inline: auto;
	padding: 56px 48px;
	background: var(--color-rose-soft);
	border-radius: var(--radius-card);
}

.amirati-social-count {
	font-size: 17px;
	margin-bottom: 8px;
}

.amirati-social-count strong {
	font-family: var(--font-display);
	font-size: 34px;
	color: var(--color-rose-text);
	margin-right: 4px;
}

.amirati-social-text > p:not(.amirati-eyebrow):not(.amirati-social-count) {
	color: var(--color-muted);
	line-height: 1.7;
}

.amirati-social-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.amirati-phone {
	width: 300px;
	padding: 12px;
	border-radius: 40px;
	background: var(--color-ink);
	box-shadow: 0 24px 48px rgba(43, 34, 36, .18);
}

.amirati-phone-screen {
	overflow: hidden;
	padding: 26px 12px 12px;
	border-radius: 30px;
	background: #fff;
}

.amirati-ig-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.amirati-ig-head img.amirati-ig-avatar {
	width: 56px;
	height: 56px;
	padding: 4px;
	object-fit: contain;
	border-radius: 50%;
	border: 2px solid var(--color-rose);
	background: var(--color-ivory);
}

.amirati-ig-head strong {
	display: block;
	font-size: 14px;
}

.amirati-ig-head span {
	font-size: 12.5px;
	color: var(--color-muted);
}

.amirati-ig-bio {
	margin: 10px 0;
	font-size: 13px;
	line-height: 1.45;
}

.amirati-ig-follow {
	display: block;
	margin-bottom: 12px;
	padding: 7px;
	border-radius: 8px;
	background: var(--color-rose-deep);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.amirati-ig-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
	margin-inline: -12px;
	margin-bottom: -12px;
}

.amirati-ig-grid a {
	display: block;
	aspect-ratio: 1;
}

.amirati-ig-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.amirati-colis-inner { gap: 32px; }
	.amirati-social-inner { gap: 32px; padding: 40px 28px; }
}

@media (max-width: 767px) {
	.amirati-steps-list {
		grid-template-columns: 1fr;
		gap: 12px;
		text-align: left;
	}

	.amirati-steps-list li {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 14px;
		padding: 18px 16px;
	}

	.amirati-step-icon {
		grid-row: 1 / 3;
		width: 52px;
		height: 52px;
		margin: 0;
	}

	.amirati-steps-list h3 { font-size: 21px; }

	.amirati-colis-inner,
	.amirati-social-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.amirati-colis-photos { gap: 8px; }

	.amirati-social-inner {
		padding: 32px 16px;
		margin-inline: -16px;
		border-radius: 0;
		text-align: center;
	}

	.amirati-social-buttons { justify-content: center; }

	.amirati-phone {
		width: min(300px, 100%);
		margin-inline: auto;
	}
}

/* Instagram phone: content inside the screen stays left-aligned. */
.amirati-phone { text-align: left; }
.amirati-ig-follow { width: 100%; }

/* Phones: product cards show only photo, name and price (no icons over the photo). */
@media (max-width: 767px) {
	.products .wd-product .wrapp-buttons {
		display: none !important;
	}
}

/* Bottom bar: WhatsApp button (custom link 1) with the WhatsApp icon. */
.wd-toolbar-link-1 .wd-toolbar-icon::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-color: var(--color-whatsapp-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.65 -3.8a9 9 0 1 1 3.4 2.9l-5.05 .9'/%3E%3Cpath d='M9 10a.5 .5 0 0 0 1 0v-1a.5 .5 0 0 0 -1 0v1a5 5 0 0 0 5 5h1a.5 .5 0 0 0 0 -1h-1a.5 .5 0 0 0 0 1'/%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='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.65 -3.8a9 9 0 1 1 3.4 2.9l-5.05 .9'/%3E%3Cpath d='M9 10a.5 .5 0 0 0 1 0v-1a.5 .5 0 0 0 -1 0v1a5 5 0 0 0 5 5h1a.5 .5 0 0 0 0 -1h-1a.5 .5 0 0 0 0 1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ page: questions open on tap. */
.amirati-faq-item {
	border-bottom: 1px solid var(--color-border);
}

.amirati-faq-item summary {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 14px 44px 14px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}

.amirati-faq-item summary::-webkit-details-marker { display: none; }

.amirati-faq-item summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 1.5px solid var(--color-rose-text);
	border-bottom: 1.5px solid var(--color-rose-text);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.amirati-faq-item[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.amirati-faq-item > div {
	padding: 0 0 16px;
}

.amirati-faq-item > div p:last-child { margin-bottom: 0; }
