/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/* ══════════════════════════════════════════════
   HEREPARA.MA — CUSTOM STYLES
   ══════════════════════════════════════════════ */

:root {
	--hp-primary: #15385C;
	--hp-primary-dark: #0e2a47;
	--hp-primary-light: #3393C5;
	--hp-bg-alt: #e8eef4;
	--hp-bg-warm: #f7f5f0;
	--hp-text: #383838;
	--hp-text-light: #6b6b6b;
	--hp-white: #ffffff;
	--hp-border: #e5e5e5;
	--hp-danger: #d94040;
	--hp-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--hp-radius: 12px;
	--hp-radius-sm: 8px;
	--hp-shadow: 0 4px 24px rgba(0,0,0,0.06);
	--hp-shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
	--hp-transition: all 0.3s ease;
}

/* ── GLOBAL ─────────────────────────────────── */
.hp-homepage {
	font-family: var(--hp-font);
	color: var(--hp-text);
	line-height: 1.6;
}
.hp-homepage .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── ANNOUNCEMENT BAR — removed (Porto built-in used instead) ── */

/* ── HERO ────────────────────────────────────── */
/* Background artwork has products on the right and empty navy on the
   left — text sits in that left third. Image ratio is ~2.1:1. */
.hp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	background: #0d2c4d url('/wp-content/uploads/hero-solaire.jpg') center right / cover no-repeat;
	aspect-ratio: 1817 / 866;
	min-height: 340px;
	max-height: 620px;
	overflow: hidden;
	/* Parent chain is already forced full-width below, so 100% is enough
	   (avoids the 100vw scrollbar-overflow artefact). */
	width: 100%;
}
/* Neutralise Porto's boxed wrapper chain on the homepage
   (#main.boxed > .container > .row > .col-lg-12) so full-bleed
   sections really reach the viewport edges. */
.home #main.boxed,
.home #main {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}
.home #main > .container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.home #main .row.main-content-wrap {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.home #main .main-content.col-lg-12 {
	padding: 0 !important;   /* Porto sets padding-top:35px / bottom:40px */
	margin: 0 !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}
.hp-homepage {
	overflow-x: hidden;
}
/* Inner sections keep their own centred container, so restore the
   readable max-width for everything that isn't full-bleed. */
.hp-homepage > .hp-section > .container,
.hp-homepage > .hp-categories-bar > .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.hp-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px;
}
.hp-hero-content > * {
	max-width: 440px;
}
.hp-hero-kicker {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.75);
	margin-bottom: 14px;
}
.hp-hero-title {
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	font-weight: 700;
	color: var(--hp-white);
	margin: 0 0 18px;
	line-height: 1.12;
	text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hp-hero-subtitle {
	font-size: clamp(0.95rem, 1.15vw, 1.08rem);
	color: rgba(255,255,255,0.88);
	margin-bottom: 30px;
	line-height: 1.6;
}
.hp-hero-cta {
	display: inline-block;
	background: var(--hp-white);
	color: var(--hp-primary);
	padding: 14px 36px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: var(--hp-transition);
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hp-hero-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.2);
	color: var(--hp-primary-dark);
}

/* ── CATEGORIES BAR ──────────────────────────── */
.hp-categories-bar {
	background: var(--hp-white);
	padding: 40px 0;
	border-bottom: 1px solid var(--hp-border);
}
.hp-categories-scroll {
	display: flex;
	gap: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 4px 0;
	justify-content: center;
	flex-wrap: wrap;
}
.hp-categories-scroll::-webkit-scrollbar { display: none; }
.hp-cat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 10px 12px;
	border-radius: var(--hp-radius);
	text-decoration: none;
	color: var(--hp-text);
	transition: var(--hp-transition);
	scroll-snap-align: start;
	min-width: 130px;
	text-align: center;
}
.hp-cat-item:hover {
	color: var(--hp-primary);
	transform: translateY(-3px);
}
.hp-cat-icon-wrap {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: var(--hp-bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--hp-transition);
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.hp-cat-icon-wrap svg {
	width: 50px;
	height: 50px;
	color: var(--hp-primary);
}
.hp-cat-icon-img {
	overflow: hidden;
	padding: 0;
}
.hp-cat-icon-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hp-cat-item:hover .hp-cat-icon-wrap {
	background: var(--hp-primary);
}
.hp-cat-item:hover .hp-cat-icon-wrap svg {
	color: var(--hp-white);
}
.hp-cat-label {
	font-size: 0.95rem;
	font-weight: 600;
}

/* ── HIDE TOP BAR + COLOR MENU BAR ─────────────
   Top bar (row 1590dc4): social icons + sale heading + USD/ENG/Need Help
   We hide it entirely and move its dark navy color (#15385C)
   onto the main menu row (ed849b3).
   ─────────────────────────────────────────────── */
.elementor-element-1590dc4 {
	display: none !important;
}
/* Language + currency switchers removed entirely (client request) */
.hp-lang-switcher-wrap,
.elementor-element-b0d4f3d,
.elementor-element-9eedb7f,
.porto-view-switcher,
.view-switcher,
.currency-switcher {
	display: none !important;
}
.elementor-element-ed849b3 {
	background-color: #15385C !important;
}
/* White text on dark menu bar */
.elementor-element-ed849b3 #menu-main-menu > li > a,
.elementor-element-ed849b3 .main-menu > li > a,
.custom-menu .main-menu > li > a {
	color: #ffffff !important;
}
.elementor-element-ed849b3 #menu-main-menu > li > a:hover,
.elementor-element-ed849b3 .main-menu > li > a:hover,
.custom-menu .main-menu > li > a:hover {
	color: rgba(255,255,255,0.7) !important;
	transform: none !important;
	text-decoration: none !important;
}
/* Kill Porto's built-in menu hover animations (underline slide, transform, etc.) */
.elementor-element-ed849b3 #menu-main-menu > li > a,
.elementor-element-ed849b3 .main-menu > li > a,
.custom-menu .main-menu > li > a {
	transition: color 0.15s ease !important;
	transform: none !important;
}
/* Kill Porto's underline-slide pseudo-element, but only on items WITHOUT a mega panel
   (items with mega panel use ::after for the dropdown arrow) */
.elementor-element-ed849b3 #menu-main-menu > li:not(:has(> .hp-megapanel)) > a::before,
.elementor-element-ed849b3 #menu-main-menu > li:not(:has(> .hp-megapanel)) > a::after,
.elementor-element-ed849b3 .main-menu > li:not(:has(> .hp-megapanel)) > a::before {
	display: none !important;
	content: none !important;
}
/* Arrow icons on sub-menu triggers also white */
.elementor-element-ed849b3 .main-menu > li > a .arrow:after,
.elementor-element-ed849b3 .main-menu .menu-item-has-children > a:after {
	color: #ffffff !important;
}

/* ── PORTO HEADER LAYOUT — match heypara.ma ──────
   Row 2 of header has 3 columns:
     76814c2 = search box
     ab4e536 = logo
     83304cb = myaccount + mini cart
   Default order: Search | Logo | Icons
   Target order:  Logo   | Search | Icons (like heypara.ma)
   ─────────────────────────────────────────────── */
.elementor-element-ab4e536 {               /* logo column */
	order: 1 !important;
}
/* search column positioning handled below via absolute centering */
/* ── SEARCH BAR — always visible, full-width pill ── */
.elementor-element-5ba3dc9 .searchform-popup {
	width: 100% !important;
}
.elementor-element-5ba3dc9 .search-toggle {
	display: none !important;
}
.elementor-element-5ba3dc9 .searchform {
	display: block !important;
	position: static !important;
	width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.elementor-element-5ba3dc9 .searchform-fields {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	width: 100% !important;
	background: #f5f5f5 !important;
	border-radius: 50px !important;
	overflow: hidden !important;
	height: 46px !important;
}
.elementor-element-5ba3dc9 .searchform-fields .text {
	flex: 1 1 auto !important;
	display: flex !important;
}
.elementor-element-5ba3dc9 .searchform-fields input[type="text"] {
	width: 100% !important;
	border: none !important;
	background: transparent !important;
	padding: 0 20px !important;
	font-size: 0.92rem !important;
	color: #333 !important;
	height: 46px !important;
	line-height: 46px !important;
}
.elementor-element-5ba3dc9 .searchform-fields input:focus {
	outline: none !important;
}
.elementor-element-5ba3dc9 .searchform-fields .button-wrap {
	flex: 0 0 auto !important;
}
.elementor-element-5ba3dc9 .searchform-fields .btn-special {
	background: #15385C !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 50px 50px 0 !important;
	padding: 0 22px !important;
	height: 46px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
}
.elementor-element-5ba3dc9 .searchform-fields .btn-special:hover {
	background: #0f2a47 !important;
}
.elementor-element-5ba3dc9 .searchform-fields .btn-special i {
	font-size: 1rem !important;
}
/* Hide mobile floating search duplicate on desktop */
.elementor-element-5ba3dc9 .live-search-list {
	top: 100% !important;
}
.elementor-element-83304cb {               /* account + cart */
	order: 3 !important;
}
/* Parent row: logo left, search absolute-centered, icons right */
.elementor-element-6b1bba9 > .e-con-inner {
	justify-content: space-between !important;
	align-items: center !important;
	position: relative !important;
}
/* Absolute-center the search column on the page */
.elementor-element-76814c2 {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 640px !important;
	max-width: 50% !important;
}
/* Give the logo a consistent right margin */
.elementor-element-fe0b192 .logo img {
	max-height: 54px !important;
	width: auto !important;
}
.elementor-element-ab4e536 {
	margin-right: 32px !important;
}

/* ── PORTO MAIN MENU — centered, heypara.ma style ──────
   heypara.ma uses: justify-content: center + column-gap: 36px
   on the <ul>, with no padding on <li>. Items are just text
   (no pills/boxes), no per-item margin, no letter-spacing.
   The inline style `.custom-menu .main-menu { justify-content: space-between; }`
   is what spread items across full width — override below.
   ────────────────────────────────────────────────────── */
.custom-menu .main-menu,
ul.main-menu,
ul.mega-menu,
#menu-main-menu {
	justify-content: center !important;
	column-gap: 36px !important;
	gap: 36px !important;
	flex-wrap: nowrap !important;
	white-space: nowrap !important;
}
#header .main-menu-wrap .menu > li,
.header-main .main-menu-wrap .menu > li,
.main-menu > li,
#menu-main-menu > li {
	margin: 0 !important;
	padding: 0 !important;
}
#header .main-menu-wrap .menu > li > a,
.main-menu > li > a,
#menu-main-menu > li > a {
	padding: 18px 0 !important;
	font-size: 1.02rem !important;
	letter-spacing: 0.2px !important;
	font-weight: 600 !important;
}
/* Visual gap before "À propos" (first item carrying the spacer class) */
/* Gap before "Liste Ingrédients" — spacing only, no divider line */
#menu-main-menu > li.hp-menu-spacer-before {
	margin-left: 56px !important;
}
#menu-main-menu > li.hp-menu-spacer-before::before {
	content: none !important;
}
/* Menu row container centered */
.elementor-element-ed849b3 > .e-con-inner,
.elementor-element-7304d59 {
	justify-content: center !important;
}
@media (max-width: 991px) {
	.custom-menu .main-menu,
	ul.main-menu,
	#menu-main-menu {
		column-gap: 20px !important;
		gap: 20px !important;
	}
	#header .main-menu-wrap .menu > li > a,
	.main-menu > li > a {
		padding: 10px 0 !important;
		font-size: 0.82rem !important;
	}
}

/* ── SECTIONS ────────────────────────────────── */
.hp-section {
	padding: 70px 0;
}
.hp-section-alt {
	background: var(--hp-bg-alt);
}
.hp-section-header {
	text-align: center;
	margin-bottom: 48px;
}
.hp-section-kicker {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--hp-primary);
	margin-bottom: 8px;
}
.hp-section-title {
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	font-weight: 700;
	color: var(--hp-text);
	margin: 0 0 12px;
}
.hp-section-desc {
	font-size: 1rem;
	color: var(--hp-text-light);
	max-width: 600px;
	margin: 0 auto;
}

/* ── PRODUCTS GRID ───────────────────────────── */
.hp-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.hp-products-grid-sm {
	grid-template-columns: repeat(4, 1fr);
}
.hp-product-card {
	background: var(--hp-white);
	border-radius: var(--hp-radius);
	overflow: hidden;
	box-shadow: var(--hp-shadow);
	transition: var(--hp-transition);
	position: relative;
	display: flex;
	flex-direction: column;
}
.hp-product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hp-shadow-hover);
}
.hp-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.hp-badge-sale {
	background: var(--hp-danger);
	color: var(--hp-white);
}
.hp-product-image {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f8f8f8;
	overflow: hidden;
	padding: 15px;
}
.hp-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.4s ease;
}
.hp-product-card:hover .hp-product-image img {
	transform: scale(1.05);
}
.hp-product-info {
	padding: 16px 18px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.hp-product-title {
	font-size: 0.92rem;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.35;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hp-product-title a {
	color: var(--hp-text);
	text-decoration: none;
}
.hp-product-title a:hover { color: var(--hp-primary); }
.hp-product-price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--hp-primary);
	margin-bottom: 14px;
}
.hp-product-price del {
	color: #aaa;
	font-weight: 400;
	font-size: 0.88em;
	margin-right: 6px;
}
.hp-product-price ins {
	text-decoration: none;
}
.hp-product-btn {
	display: block;
	text-align: center;
	background: var(--hp-primary);
	color: var(--hp-white);
	padding: 10px 16px;
	border-radius: var(--hp-radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--hp-transition);
	margin-top: auto;
}
.hp-product-btn:hover {
	background: var(--hp-primary-dark);
	color: var(--hp-white);
}

/* ── SHOWCASE GRID (categories) ──────────────── */
.hp-showcase-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.hp-showcase-card {
	border-radius: var(--hp-radius);
	overflow: hidden;
	background: var(--hp-white);
	box-shadow: var(--hp-shadow);
	text-decoration: none;
	color: var(--hp-text);
	display: flex;
	flex-direction: column;
	transition: var(--hp-transition);
}
.hp-showcase-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hp-shadow-hover);
	color: var(--hp-text);
}
.hp-showcase-image {
	height: 200px;
	background-size: cover;
	background-position: center;
	background-color: var(--hp-bg-alt);
}
.hp-showcase-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}
.hp-showcase-placeholder svg {
	width: 64px;
	height: 64px;
	color: var(--hp-primary);
	opacity: 0.5;
}
.hp-showcase-info {
	padding: 22px 24px 26px;
}
.hp-showcase-name {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--hp-text);
}
.hp-showcase-desc {
	font-size: 0.9rem;
	color: var(--hp-text-light);
	margin-bottom: 14px;
	line-height: 1.5;
}
.hp-showcase-link {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--hp-primary);
}
.hp-showcase-card:hover .hp-showcase-link { text-decoration: underline; }

/* ── CLASS SECTIONS ──────────────────────────── */
.hp-class-section {
	padding: 50px 0;
	border-bottom: 1px solid var(--hp-border);
}
.hp-class-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 32px;
}
.hp-class-icon {
	font-size: 1.6rem;
}
.hp-class-title {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0;
	flex: 1;
}
.hp-class-viewall {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--hp-primary);
	text-decoration: none;
	white-space: nowrap;
}
.hp-class-viewall:hover { text-decoration: underline; }

/* ── INGREDIENTS ─────────────────────────────── */
.hp-ingredients-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.hp-ingredient-card {
	background: var(--hp-white);
	border-radius: var(--hp-radius);
	padding: 30px 24px;
	text-align: center;
	box-shadow: var(--hp-shadow);
	transition: var(--hp-transition);
}
.hp-ingredient-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hp-shadow-hover);
}
.hp-ingredient-icon {
	font-size: 2.2rem;
	display: block;
	margin-bottom: 14px;
}
.hp-ingredient-name {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 6px;
}
.hp-ingredient-desc {
	font-size: 0.88rem;
	color: var(--hp-text-light);
	margin: 0;
}

/* ── BRANDS ──────────────────────────────────── */
.hp-brands-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.hp-brand-card {
	background: var(--hp-white);
	border-radius: var(--hp-radius);
	padding: 24px 16px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
	border: 1px solid var(--hp-border);
	transition: var(--hp-transition);
}
.hp-brand-card:hover {
	border-color: var(--hp-primary);
	box-shadow: var(--hp-shadow);
}
.hp-brand-logo {
	max-width: 100%;
	width: auto;
	height: 56px;
	object-fit: contain;
	margin: 0 auto 12px;
	display: block;
	filter: grayscale(30%);
	transition: var(--hp-transition);
}
.hp-brand-card:hover .hp-brand-logo {
	filter: grayscale(0);
}
.hp-brand-placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--hp-bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--hp-primary);
}
.hp-brand-name {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hp-text);
	display: block;
}

/* ── CTA SECTION ─────────────────────────────── */
.hp-cta-section {
	background: var(--hp-primary);
	color: var(--hp-white);
	padding: 70px 0;
}
.hp-cta-inner {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}
.hp-cta-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--hp-white);
}
.hp-cta-subtitle {
	font-size: 1rem;
	opacity: 0.85;
	margin-bottom: 36px;
}
.hp-cta-channels {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
.hp-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 50px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: var(--hp-transition);
}
.hp-cta-whatsapp {
	background: #25d366;
	color: #fff;
}
.hp-cta-whatsapp:hover {
	background: #128C7E;
	color: #fff;
	transform: translateY(-2px);
}
.hp-cta-phone {
	background: var(--hp-white);
	color: var(--hp-primary);
}
.hp-cta-phone:hover {
	background: #f0f0f0;
	color: var(--hp-primary-dark);
	transform: translateY(-2px);
}
.hp-cta-email {
	background: transparent;
	color: var(--hp-white);
	border: 2px solid rgba(255,255,255,0.4);
}
.hp-cta-email:hover {
	border-color: var(--hp-white);
	background: rgba(255,255,255,0.1);
	color: var(--hp-white);
	transform: translateY(-2px);
}

/* ── WHATSAPP FLOATING ───────────────────────── */
.hp-whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #25d366;
	color: #fff;
	padding: 14px 24px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: var(--hp-font);
	font-weight: 700;
	font-size: 0.95rem;
	z-index: 9999;
	box-shadow: 0 4px 20px rgba(37,211,102,0.35);
	transition: var(--hp-transition);
	animation: hp-pulse 2s infinite;
}
.hp-whatsapp-float:hover {
	background: #128C7E;
	color: #fff;
	transform: scale(1.05) translateY(-3px);
	box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.hp-wa-icon {
	width: 26px;
	height: 26px;
}
@keyframes hp-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
	70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.hp-products-grid { grid-template-columns: repeat(3, 1fr); }
	.hp-brands-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
	/* Mobile: stack text above the artwork so it never covers the products.
	   Image drops to the bottom half, text sits on solid navy on top. */
	.hp-hero {
		aspect-ratio: auto;
		min-height: 0;
		max-height: none;
		display: block;
		background:
			linear-gradient(180deg, #0d2c4d 0%, #0d2c4d 44%, rgba(13,44,77,0) 62%),
			url('/wp-content/uploads/hero-solaire.jpg') bottom right / 150% auto no-repeat,
			#0d2c4d;
		padding-bottom: 56%;
		text-align: center;
		width: 100%;
	}
	.hp-hero-content {
		padding: 42px 22px 0;
	}
	.hp-hero-content > * {
		max-width: 100%;
	}
	.hp-hero-title { font-size: 1.85rem; }
	.hp-hero-title br { display: none; }
	.hp-hero-subtitle { font-size: 0.95rem; margin-bottom: 22px; }
	.hp-hero-cta { padding: 12px 28px; font-size: 0.95rem; }

	.hp-categories-scroll { justify-content: flex-start; flex-wrap: nowrap; gap: 18px; }
	.hp-cat-item { min-width: 100px; padding: 8px 6px; gap: 10px; }
	.hp-cat-icon-wrap { width: 92px; height: 92px; }
	.hp-cat-icon-wrap svg { width: 38px; height: 38px; }
	.hp-cat-label { font-size: 0.82rem; }

	.hp-products-grid,
	.hp-products-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 16px; }

	.hp-showcase-grid { grid-template-columns: 1fr; }
	.hp-showcase-image { height: 160px; }

	.hp-ingredients-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

	.hp-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

	.hp-section { padding: 50px 0; }
	.hp-section-header { margin-bottom: 32px; }

	.hp-class-header { flex-wrap: wrap; }

	.hp-cta-channels { flex-direction: column; align-items: center; }

	.hp-whatsapp-float { bottom: 20px; right: 16px; padding: 12px 18px; font-size: 0.88rem; }
}

@media (max-width: 480px) {
	.hp-products-grid { gap: 12px; }
	.hp-product-info { padding: 12px 14px 16px; }
	.hp-product-title { font-size: 0.85rem; }
	.hp-product-btn { padding: 8px 12px; font-size: 0.8rem; }

	.hp-brands-grid { grid-template-columns: repeat(2, 1fr); }
	.hp-brand-card { padding: 18px 12px; }

	.hp-ingredients-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ── MEGA-MENU ─────────────────────────────────
   Full-width dropdown panel shown on hover of
   top-level menu items that have a mega-panel.
   ─────────────────────────────────────────────── */
#menu-main-menu > li:has(> .hp-megapanel) {
	position: static;  /* panel positions relative to the menu bar */
}
/* Hide Porto's native sub-menu when our mega-panel is present */
#menu-main-menu > li:has(> .hp-megapanel) > .sub-menu,
#menu-main-menu > li:has(> .hp-megapanel) > .popup,
#menu-main-menu > li:has(> .hp-megapanel) > ul.porto-narrow-sub-menu {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ── SIDEBAR MENU — HIDDEN ENTIRELY ────────────
   Client requested removal of the vertical category
   sidebar that appeared on shop/category pages.
   ─────────────────────────────────────────────── */
.widget_sidebar_menu,
.main-sidebar-menu,
.sidebar-menu-wrap,
.sidebar-menu {
	display: none !important;
}
.sidebar-menu .hp-megapanel,
.sidebar-menu .popup {
	display: none !important;
}
.sidebar-menu > li > a {
	color: #383838 !important;
	display: block !important;
	padding: 12px 16px !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	border-bottom: 1px solid #eee;
	transition: color 0.2s ease, background 0.2s ease;
}
.sidebar-menu > li > a:hover,
.sidebar-menu > li.current-menu-item > a,
.sidebar-menu > li > a.current {
	color: #15385C !important;
	background: #f5f7fa;
}
.sidebar-menu > li > .arrow {
	color: #999;
}
.widget_product_categories .product-categories a,
.widget_product_categories .product-categories .cat-item a {
	color: #383838 !important;
}
.widget_product_categories .product-categories a:hover {
	color: #15385C !important;
}
#menu-main-menu > li:has(> .hp-megapanel) > a::after {
	content: "▾";
	font-size: 0.7em;
	margin-left: 6px;
	opacity: 0.7;
}
.hp-megapanel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #ffffff;
	color: #333;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	border-top: 2px solid #15385C;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	padding: 32px 0;
}
#menu-main-menu > li:has(> .hp-megapanel):hover > .hp-megapanel,
#menu-main-menu > li:has(> .hp-megapanel):focus-within > .hp-megapanel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
.hp-megapanel-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px;
}
.hp-megacol-title {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #15385C;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8e8e8;
}
/* Spacer placeholder when a column has no header (heypara style) */
.hp-megacol-spacer {
	height: calc(0.85rem * 1.4 + 14px + 10px + 2px);
	margin: 0 0 14px;
}
.hp-megacol-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hp-megacol-list li {
	margin: 0;
	padding: 0;
}
.hp-megacol-list li a {
	display: block;
	padding: 8px 0;
	color: #444 !important;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .2s ease, padding-left .2s ease;
}
.hp-megacol-list li a:hover {
	color: #15385C !important;
	padding-left: 6px;
}
@media (max-width: 991px) {
	.hp-megapanel {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: 0;
		padding: 0;
		display: none;
	}
	#menu-main-menu > li:has(> .hp-megapanel).open > .hp-megapanel {
		display: block;
	}
	.hp-megapanel-inner { grid-template-columns: 1fr; gap: 16px; padding: 12px 16px; }
}

/* ── PAGES À PROPOS / CONSEILS ─────────────────── */
.hp-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 60px 24px 80px;
	font-family: var(--hp-font);
	color: var(--hp-text);
}
.hp-page-hero { text-align: center; margin-bottom: 56px; }
.hp-page-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--hp-primary);
	margin-bottom: 14px;
}
.hp-page-title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--hp-primary);
}
.hp-page-lead {
	font-size: 1.1rem;
	color: var(--hp-text-light);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.6;
}
.hp-page-section { margin-bottom: 56px; }
.hp-page-section h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 18px;
	color: var(--hp-primary);
}
.hp-page-section p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hp-text);
}

/* À propos pillars */
.hp-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px;
	margin-top: 24px;
}
.hp-pillar {
	background: var(--hp-white);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius);
	padding: 26px 22px;
	transition: var(--hp-transition);
}
.hp-pillar:hover { box-shadow: var(--hp-shadow); transform: translateY(-2px); }
.hp-pillar-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.hp-pillar h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--hp-primary); }
.hp-pillar p { font-size: 0.92rem; line-height: 1.55; margin: 0; color: var(--hp-text-light); }

/* Checklist */
.hp-checklist {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px 28px;
}
.hp-checklist li {
	position: relative;
	padding-left: 28px;
	line-height: 1.55;
}
.hp-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	background: var(--hp-primary);
	color: #fff;
	border-radius: 50%;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

/* Conseils grid */
.hp-conseils-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 64px;
}
.hp-conseil-card {
	background: var(--hp-white);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius);
	padding: 28px 24px;
	transition: var(--hp-transition);
}
.hp-conseil-card:hover { box-shadow: var(--hp-shadow); transform: translateY(-3px); border-color: var(--hp-primary-light); }
.hp-conseil-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.hp-conseil-title { font-size: 1.1rem; margin: 0 0 10px; color: var(--hp-primary); font-weight: 700; }
.hp-conseil-desc { font-size: 0.92rem; line-height: 1.6; margin: 0; color: var(--hp-text-light); }

/* Page CTA */
.hp-page-cta {
	background: var(--hp-bg-alt);
	border-radius: var(--hp-radius);
	padding: 40px 24px;
	text-align: center;
	margin-top: 24px;
}
.hp-page-cta h2 { margin: 0 0 8px; font-size: 1.4rem; color: var(--hp-primary); }
.hp-page-cta p { margin: 0 0 22px; color: var(--hp-text-light); }
.hp-page-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Ingredients page */
.hp-ingredients-page { max-width: 1080px; margin: 0 auto; padding: 60px 24px 80px; }
.hp-ingredients-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; color: var(--hp-text-light); font-size: 1.05rem; }

@media (max-width: 768px) {
	.hp-page { padding: 40px 16px 60px; }
	.hp-pillars { grid-template-columns: 1fr; }
	.hp-conseils-grid { grid-template-columns: 1fr; }
}

/* ── MINIMAL FOOTER ───────────────────────────
   Hide default Porto footer, show only our slim
   3-column footer (privacy / contact / payment).
   ─────────────────────────────────────────────── */
/* Porto's footer-builder block ships demo content
   (portotheme@portotheme.com, 100 Porto Ave New York,
   "Porto eCommerce © 2025"). Hide the whole wrapper. */
.footer-wrapper,
#footer,
footer#footer,
.footer.footer-builder,
.footer,
.site-footer {
	display: none !important;
}
/* Our own footer uses .hp-mini-footer, which none of the selectors
   above match — no override needed. */
.hp-mini-footer {
	background: #f5f6f8;
	color: #383838;
	padding: 40px 0 0;
	font-size: 0.92rem;
	border-top: 1px solid #e5e5e5;
	margin-top: 40px;
}
.hp-mini-footer-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.hp-mini-footer-col h4 {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 14px;
	color: #15385C;
	letter-spacing: 0.5px;
}
.hp-mini-footer-col a,
.hp-mini-footer-col span {
	display: block;
	margin: 6px 0;
	color: #444;
	text-decoration: none;
	line-height: 1.5;
}
.hp-mini-footer-col a:hover {
	color: #15385C;
}
.hp-mini-footer-payments {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.hp-mini-footer-bottom {
	text-align: center;
	padding: 20px 24px;
	margin-top: 30px;
	border-top: 1px solid #e5e5e5;
	color: #888;
	font-size: 0.85rem;
	background: #eff1f4;
}
@media (max-width: 767px) {
	.hp-mini-footer-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ══════════════════════════════════════════════
   SHOP / CATEGORY ARCHIVES
   ══════════════════════════════════════════════ */

/* Kill Porto's left sidebar column on product archives */
.woocommerce.archive .col-lg-3.sidebar,
.woocommerce.archive .sidebar-overlay,
.tax-product_cat .col-lg-3.sidebar,
.tax-product_cat .sidebar-overlay,
.post-type-archive-product .col-lg-3.sidebar,
.post-type-archive-product .sidebar-overlay,
.tax-pa_type-peau .col-lg-3.sidebar,
.tax-pa_type-cheveux .col-lg-3.sidebar,
.tax-pa_origine-bio .col-lg-3.sidebar {
	display: none !important;
}
.woocommerce.archive .main-content,
.tax-product_cat .main-content,
.post-type-archive-product .main-content,
.tax-pa_type-peau .main-content,
.tax-pa_type-cheveux .main-content,
.tax-pa_origine-bio .main-content {
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

/* ── Archive header ─────────────────────────── */
.hp-archive-header {
	background: var(--hp-bg-alt);
	padding: 38px 0 30px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--hp-border);
}
.hp-archive-header--image {
	background-size: cover;
	background-position: center;
	position: relative;
}
.hp-archive-header--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(21,56,92,0.92) 0%, rgba(21,56,92,0.72) 60%, rgba(21,56,92,0.5) 100%);
}
.hp-archive-header-inner {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.hp-archive-crumbs {
	font-size: 0.85rem;
	color: var(--hp-text-light);
	margin-bottom: 10px;
}
.hp-archive-crumbs a { color: var(--hp-text-light); text-decoration: none; }
.hp-archive-crumbs a:hover { color: var(--hp-primary); }
.hp-crumb-sep { margin: 0 8px; opacity: 0.5; }
.hp-archive-title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	color: var(--hp-primary);
	margin: 0;
	line-height: 1.2;
}
.hp-archive-desc {
	margin-top: 10px;
	max-width: 720px;
	color: var(--hp-text-light);
	line-height: 1.6;
}
.hp-archive-header--image .hp-archive-title,
.hp-archive-header--image .hp-archive-desc,
.hp-archive-header--image .hp-archive-crumbs,
.hp-archive-header--image .hp-archive-crumbs a {
	color: #fff;
}
.hp-archive-header--image .hp-archive-desc { color: rgba(255,255,255,0.9); }

/* ── Sub-category chips ─────────────────────── */
.hp-subcat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1280px;
	margin: 0 auto 30px;
	padding: 0 20px;
}
.hp-subcat-chip {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 50px;
	background: var(--hp-white);
	border: 1px solid var(--hp-border);
	color: var(--hp-text);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: var(--hp-transition);
}
.hp-subcat-chip:hover {
	background: var(--hp-primary);
	border-color: var(--hp-primary);
	color: #fff;
}

/* ── Empty category message ─────────────────── */
.hp-empty-cat {
	max-width: 640px;
	margin: 40px auto 60px;
	padding: 40px 24px;
	text-align: center;
	background: var(--hp-white);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius);
}
.hp-empty-cat-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--hp-primary);
	margin: 0 0 12px;
}
.hp-empty-cat-text {
	color: var(--hp-text-light);
	line-height: 1.6;
	margin: 0 0 24px;
}
.hp-empty-cat-btn {
	display: inline-block;
	background: var(--hp-primary);
	color: #fff !important;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--hp-transition);
}
.hp-empty-cat-btn:hover { background: var(--hp-primary-dark); }

@media (max-width: 767px) {
	.hp-archive-header { padding: 26px 0 22px; margin-bottom: 20px; }
	.hp-subcat-chips { gap: 8px; margin-bottom: 22px; }
	.hp-subcat-chip { padding: 8px 14px; font-size: 0.85rem; }
}

/* Full-width archive layout (body class added in functions.php) */
.hp-shop-fullwidth .col-lg-3.sidebar,
.hp-shop-fullwidth .sidebar-overlay,
.hp-shop-fullwidth .porto-product-filters-toggle {
	display: none !important;
}
.hp-shop-fullwidth #main.column2,
.hp-shop-fullwidth #main.column2-left-sidebar {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.hp-shop-fullwidth .main-content {
	max-width: 100% !important;
	flex: 0 0 100% !important;
	width: 100% !important;
}

/* Porto's empty-state box, restyled */
.nothing-found-message.hp-empty-cat .woocommerce-info {
	background: none !important;
	border: none !important;
	padding: 0 0 20px !important;
	color: var(--hp-text-light) !important;
	font-size: 1.02rem;
	line-height: 1.6;
}
.nothing-found-message.hp-empty-cat .woocommerce-info::before {
	display: none !important;
}

/* ══════════════════════════════════════════════
   PORTO DEMO BLOCKS — removed
   The shop-loop-after Elementor block ships demo
   content from the Porto "shop54" demo:
     c622414 → "Recently Viewed"
     9e54504 → scrolling marquee (English promos, $ prices)
     2fbbb72 → 3 promo banners (Premium Cosmetics / Skin Routine / Shine Beautifully)
     585c665 → "Get 10% OFF in Your First Order" newsletter
   ══════════════════════════════════════════════ */
.elementor-element-c622414,
.elementor-element-9e54504,
.elementor-element-2fbbb72,
.elementor-element-585c665 {
	display: none !important;
}

/* ══════════════════════════════════════════════
   PRODUCT PAGE — remove Porto demo blocks
     d537bb0 / e4437f4 → demo video hosted on sw-themes.com
     3ffa2ab           → "About the brand: MAC" (wrong brand, demo copy)
     176481b           → FAQ accordion, all Lorem ipsum
     ce45c57           → "Get 10% OFF in Your First Order" newsletter
     2cc48e1           → "Recently Viewed" heading
     f92b61c / ebf38f0 → "By: admin"
   ══════════════════════════════════════════════ */
.single-product .elementor-element-d537bb0,
.single-product .elementor-element-e4437f4,
.single-product .elementor-element-3ffa2ab,
.single-product .elementor-element-176481b,
.single-product .elementor-element-ce45c57,
.single-product .elementor-element-2cc48e1,
.single-product .elementor-element-f92b61c,
.single-product .elementor-element-ebf38f0 {
	display: none !important;
}

/* Product page: drop Porto's right sidebar, go full width */
.single-product .col-lg-3.sidebar,
.single-product .sidebar-overlay {
	display: none !important;
}
.single-product .main-content {
	max-width: 100% !important;
	flex: 0 0 100% !important;
}
