@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    src: url('https://fonts.gstatic.com/s/outfit/v14/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2') format('woff2');
}

/* ==========================================================================
   DESIGN TOKENS — single source of truth for color across the theme.
   All part CSS files should reference these instead of hardcoded hex values.
   ========================================================================== */
:root {
    /* --- Brand --- */
    --color-brand-green: #014e2e;        /* main brand / accent color (buttons, icons, links) */
    --color-brand-green-dark: #013a22;   /* hover/active state for brand-green elements */
    --color-brand-green-light: #669582;      /* lighter tint, for secondary buttons/badges */
    --color-brand-green-light-hover: #417a62; /* hover state for the lighter tint */
    --color-accent-orange: #f26522;      /* secondary CTA accent (hero button, chat button) */
    --color-accent-orange-dark: #e55a1b; /* hover state for orange CTAs */
    --color-accent-pink: #ba1051;        /* sale badges, highlighted nav pill */

    /* --- Text --- */
    --color-text: #495556;
    --color-text-heading: #4a4a4a;
    --color-text-muted: #666666;
    --color-text-light: #666666;
    --color-text-lighter: #707070;
    --color-text-dark: #333333;

    /* --- Slate scale (product page / tabs) --- */
    --color-slate-900: #1e293b;
    --color-slate-700: #2d3748;
    --color-slate-600: #4a5568;
    --color-slate-500: #64748b;
    --color-slate-400: #718096;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f4f7f9;
    --color-slate-50: #f8fafc;

    /* --- Neutrals / structure --- */
    --color-white: #ffffff;
    --color-border: #e3e3e3;
    --color-border-light: #f0f0f0;
    --color-divider: #dddddd;
    --color-bg-panel: #eef2f5;
    --color-bg-soft: #f5f5f5;
    --color-bg-softer: #f8f8f8;
    --color-footer-bg: #3a4a5a;
    --color-menu-dark: #4a4a4a;
    --color-menu-dark-hover: #3a3a3a;

    /* --- Status --- */
    --color-error: #f44336;
    --color-success: #00b67a;

    /* --- Extra neutrals (carousel controls, star rating) --- */
    --color-gray-200: #cccccc;
    --color-gray-300: #bbbbbb;
    --color-gray-400: #999999;
    --color-gray-500: #555555;
    --color-star-empty: #d9d9d9;
    --color-dot-inactive: #d0d0d0;
    --color-text-secondary: #666666;
    --color-text-strong: #222222;
    --color-border-lighter: #eeeeee;
    --color-bg-hero-mobile: #f1f1f1;

    /* --- One-off accents (used in exactly one component) --- */
    --color-hero-navy: #1a2a3a;
    --color-hero-red: #e02020;
    --color-accessibility-blue: #2563eb;
    --color-slate-hover: #f1f5f9;
    --color-bg-peach: #fff2ee;

    /* --- Decorative gradients (brand banner / rituals) --- */
    --color-decorative-gold-light: #e8a040;
    --color-decorative-gold-dark: #f0b050;
    --color-decorative-tan-light: #d4c8a8;
    --color-decorative-tan-dark: #c4b898;
    --color-decorative-taupe-light: #8a7a6a;
    --color-decorative-taupe-dark: #6a5a4a;

    /* --- Legacy aliases (kept for backward compatibility — do not use in new code) --- */
    --csg-orange: var(--color-brand-green);
    --csg-orange-dark: var(--color-brand-green-dark);
    --csg-purple: var(--color-accent-pink);
    --csg-text: var(--color-text);
    --csg-muted: var(--color-text-muted);
    --csg-border: var(--color-border);
    --csg-panel-bg: var(--color-bg-panel);
    --csg-star: var(--color-brand-green);
}

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    height: 100%;
    width: 100%;
    padding: 0;

    color: var(--csg-text);
    font-size: 15px;

    margin:auto;
    
}



.wp-block-woocommerce-checkout {

padding: 20px 16px;

}



/*---------------------------------------------------------------------*/
/* disable vew cart texte added by woocommerce after click add to cart */

a.added_to_cart {
    display: none !important;
}
/* ---------------------------------------------------------------------- */

/* --- Base structure --- */
.section {
    width: 100%;
    padding: 24px 0;
}

.section-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Carousel row layout --- */
.product-carousel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* --- Scrollable product row --- */
.product-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 8px 0 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-behavior: smooth;
}

.product-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Product card ------------------------------------------------------------ */

.product-card {
	border: 1px solid var(--csg-border);
	border-radius: 6px;
	background: var(--color-white);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.2s ease;
}

.product-card-carousel {
	min-width: 180px;
}

.product-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.product-image-link {
	display: block;
	text-decoration: none;
}

.product-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 300px;
	padding: 4px;
	background: var(--color-white);
}

.product-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sale-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--csg-purple);
	color: var(--color-white);
	font-size: 13px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 3px;
	z-index: 1;
}

.product-info {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-name-link {
	text-decoration: none;
	color: inherit;
}

.product-name {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-heading);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--csg-muted);
}

.star-rating {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 2px;
}

.stars-empty,
.stars-filled {
	display: block;
	white-space: nowrap;
}

.stars-empty {
	color: var(--color-star-empty);
}

.stars-filled {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: var(--csg-star);
}

.rating-value {
	font-weight: 700;
	color: var(--color-text-heading);
}

.product-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.current-price {
	font-size: 16px;
	font-weight: 500;
	color: var(--csg-text);
}

.current-price del {
	font-size: 13px;
	font-weight: 400;
	color: var(--color-text-lighter);
	margin-right: 6px;
	text-decoration: line-through;
}

.current-price ins {
	text-decoration: none;
}

.add-to-cart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--csg-orange);
	background: var(--csg-orange);
	color: var(--color-white);
	flex-shrink: 0;
	transition: background 0.15s ease, transform 0.15s ease;
	position: relative;
}

.add-to-cart-btn:hover {
	background: var(--csg-orange-dark);
	color: var(--color-white);
}

.add-to-cart-btn.loading {
	pointer-events: none;
}

.add-to-cart-btn.loading svg {
	opacity: 0.35;
}

.add-to-cart-btn.added {
	background: var(--csg-orange);
}

.add-to-cart-btn svg {
	width: 20px;
	height: 20px;
}

.add-to-cart-btn::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: var(--color-white);
	border-radius: 50%;
	opacity: 0;
	animation: csg-spin 0.7s linear infinite;
}

.add-to-cart-btn.loading::after {
	opacity: 1;
}

.add-to-cart-btn.loading svg {
	display: none;
}

@keyframes csg-spin {
	to {
		transform: rotate(360deg);
	}
}
/* --- Carousel arrows --- */
.section .carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-divider);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.section .carousel-arrow:hover {
    background: var(--color-bg-soft);
    border-color: var(--color-gray-300);
}

.section .carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-500);
}

/* --- CTA --- */
.nouveautes-cta {
    text-align: center;
    margin-top: 24px;
}

/* --- Carousel dots (page indicators) --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    min-height: 20px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-dot-inactive);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: none;
    flex-shrink: 0;
}

.carousel-dots .dot.active {
    background: var(--csg-orange);
    width: 24px;
    border-radius: 4px;
}

.carousel-dots .dot:hover {
    background: var(--color-gray-400);
}

.carousel-dots .dot.active:hover {
    background: var(--csg-orange);
}

/* --- TOUCH CONTROL FIX --- */
.section .product-row {
    touch-action: auto; /* Restored full browser control for natural horizontal mobile swiping */
}


/* ===== BUTTONS ===== */
.btn-primary { display: inline-block; background: var(--csg-purple); color: var(--color-white); font-size: 14px; font-weight: 700; padding: 12px 32px; border-radius: 8px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; border: none; cursor: pointer; transition: background 0.2s; }


/* ============================================ */
/* MOBILE STYLES (max-width: 900px)             */
/* ============================================ */
@media (max-width: 900px) {
    .product-carousel-row {
        display: block;
        position: relative;
    }

    /* Hide arrows on mobile */
    .carousel-arrow {
        display: none !important;
    }

    /* Product row: full-width scrollable */
    .product-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 4px 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .product-row::-webkit-scrollbar {
        display: none;
    }
   
}

/* ==========================================================================
   SHARED PRODUCT / WOOCOMMERCE BREADCRUMB LINKS
   Keeps the Shop breadcrumb visually identical to the product breadcrumb.
   ========================================================================== */
.product-page-main a,
.breadcrumb-wrapper a {
    color: var(--color-slate-400) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.15s ease, font-weight 0.15s ease !important;
}

.product-page-main a:hover,
.product-page-main a:focus-visible,
.breadcrumb-wrapper a:hover,
.breadcrumb-wrapper a:focus-visible {
    color: var(--color-slate-700) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* PageSpeed: base rules previously served from style.css (one less request). */
html { scroll-behavior: smooth; }
body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }

/* Reserve a stable media area for product cards to prevent image-driven CLS. */
.product-image { aspect-ratio: 1 / 1; max-height: none; }
.product-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; }
}


/* PageSpeed 2026-09: skip expensive below-the-fold rendering until needed. */
.brand-spotlight-section,
.offers-section,
.top-marques-section,
.seo-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
}

@media (prefers-reduced-motion: reduce) {
    .product-row,
    .slider {
        scroll-behavior: auto !important;
    }
    .product-card,
    .add-to-cart-btn,
    .btn-primary {
        transition: none !important;
    }
}


/* Minimal replacement for the core block-library accessibility helper. */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.screen-reader-text:focus {
    width: auto !important;
    height: auto !important;
    margin: 8px !important;
    padding: 12px 16px !important;
    clip: auto !important;
    white-space: normal !important;
    z-index: 100000 !important;
    background: #fff !important;
    color: #111 !important;
}
