/*
Theme Name: Makeup Antwerp
Theme URI: https://example.com/makeup-antwerp
Author: Makeup Antwerp
Author URI: https://example.com
Description: Thème e-commerce WooCommerce (accueil catégories, bannières, meilleures ventes). Design Montserrat / accent #B2967D.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makeup-antwerp
Tags: e-commerce, woocommerce, custom-menu, featured-images, full-width-template

Tailwind est chargé depuis functions.php (CDN).
*/

html {
	scroll-behavior: smooth;
}

body.theme-makeup-antwerp {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.theme-makeup-antwerp button,
body.theme-makeup-antwerp input,
body.theme-makeup-antwerp textarea {
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

iconify-icon {
	display: inline-block;
	vertical-align: middle;
}

/* Scroll horizontal catégories (accueil) */
.scrollbar-hide {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
	display: none;
}

body.theme-makeup-antwerp .entry-content h1,
body.theme-makeup-antwerp .entry-content h2,
body.theme-makeup-antwerp .entry-content h3,
body.theme-makeup-antwerp .woocommerce-products-header__title,
body.theme-makeup-antwerp .woocommerce-page .page-title,
body.theme-makeup-antwerp .woocommerce div.product .product_title {
	font-family: "Montserrat", system-ui, sans-serif;
	font-weight: 700;
	color: #18181b;
	letter-spacing: -0.02em;
}

body.theme-makeup-antwerp .entry-content h1 {
	font-size: 1.75rem;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 0.75em;
}

body.theme-makeup-antwerp .entry-content h2 {
	font-size: 1.5rem;
}

body.theme-makeup-antwerp .entry-content h3 {
	font-size: 1.25rem;
}

body.theme-makeup-antwerp .entry-content h4 {
	font-size: 1.05rem;
	font-weight: 600;
}

body.theme-makeup-antwerp .entry-content > *:first-child {
	margin-top: 0;
}

body.theme-makeup-antwerp .ma-product-card a.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.theme-makeup-antwerp .entry-content a:hover {
	color: #9a7f65;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid #b2967d;
	outline-offset: 2px;
}

body.theme-makeup-antwerp .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: #18181b;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 1rem;
	line-height: 1.5;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	box-shadow: 0 0 0 2px #b2967d;
	text-decoration: none;
}

/* Fiche produit : titre maquette */
body.theme-makeup-antwerp .ma-single-product .product_title {
	font-weight: 600;
}

/* Variable : quantité + bouton sur une rangée */
body.theme-makeup-antwerp .ma-variable-cart .woocommerce-variation-add-to-cart.variations_button {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1rem;
}

body.theme-makeup-antwerp .ma-variable-cart .woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 3rem;
	border-radius: 0.125rem;
	border: 0;
	background: #18181b;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

body.theme-makeup-antwerp .ma-variable-cart .woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button:hover {
	background: #b2967d;
}

body.theme-makeup-antwerp #ma-related-products a.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
