/*
Theme Name: Eurotrade Import
Theme URI: https://eurotradeimport.com/
Author: Eurotrade Import
Description: Thème professionnel pour EUROTRADE IMPORT (quincaillerie, profilés aluminium, accessoires cuisine & dressing). Page d'accueil 100 % modifiable avec Elementor (version gratuite). Header et footer réglables dans Apparence → Personnaliser.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurotrade
Tags: business, e-commerce, elementor, custom-logo, custom-menu, full-width-template
*/

/* ========== Tokens ========== */
:root {
	--eti-navy: #141a5c;
	--eti-navy-2: #1e2575;
	--eti-ink: #0e1020;
	--eti-red: #e30613;
	--eti-red-d: #b8050f;
	--eti-grey: #f3f3f1;
	--eti-line: #e4e4e0;
	--eti-text: #4a4d5e;
	--eti-head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--eti-body: "Inter", "Segoe UI", Arial, sans-serif;
	--eti-radius: 10px;
	--eti-shadow: 0 10px 30px rgba(14, 16, 32, .08);
	--eti-shadow-h: 0 18px 44px rgba(14, 16, 32, .16);
	--eti-w: 1240px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--eti-body); font-size: 16px; line-height: 1.65; color: var(--eti-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--eti-head); color: var(--eti-ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
a { color: var(--eti-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--eti-red-d); }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.eti-container { width: 100%; max-width: var(--eti-w); margin: 0 auto; padding: 0 20px; }
.eti-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font: 600 15px/1 var(--eti-head); background: var(--eti-red); color: #fff; border: 2px solid var(--eti-red); transition: .2s; cursor: pointer; }
.eti-btn:hover { background: var(--eti-red-d); border-color: var(--eti-red-d); color: #fff; }

/* ========== Top bar ========== */
.eti-topbar { background: var(--eti-navy); color: #fff; font-size: 13px; font-weight: 500; }
.eti-topbar .eti-container { display: flex; justify-content: center; align-items: center; gap: 28px; min-height: 38px; flex-wrap: wrap; }
.eti-topbar span, .eti-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.eti-topbar svg { width: 15px; height: 15px; fill: currentColor; opacity: .9; }
.eti-topbar a:hover { color: #ffd0d3; }

/* ========== Header ========== */
.eti-header { position: sticky; top: 0; z-index: 999; background: #fff; border-bottom: 1px solid var(--eti-line); transition: box-shadow .25s; }
.admin-bar .eti-header { top: 32px; }
.eti-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 16, 32, .08); }
.eti-header__inner { display: flex; align-items: center; gap: 30px; min-height: 84px; }
.eti-logo img { display: block; max-height: 64px; width: auto; }
.eti-logo { flex: 0 0 auto; padding-right: 28px; border-right: 1px solid var(--eti-line); }
.eti-nav { flex: 1; }
.eti-nav ul { list-style: none; margin: 0; padding: 0; }
.eti-nav > ul { display: flex; gap: 6px; justify-content: center; }
.eti-nav li { position: relative; }
.eti-nav a { display: block; padding: 10px 14px; color: var(--eti-ink); font: 600 15px/1.2 var(--eti-head); }
.eti-nav > ul > li > a { position: relative; }
.eti-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--eti-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.eti-nav > ul > li:hover > a::after, .eti-nav > ul > .current-menu-item > a::after { transform: scaleX(1); }
.eti-nav .menu-item-has-children > a::before { content: ""; float: right; width: 7px; height: 7px; margin: 3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.eti-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 0 0 var(--eti-radius) var(--eti-radius); border-top: 3px solid var(--eti-red); box-shadow: var(--eti-shadow-h); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.eti-nav li:hover > .sub-menu, .eti-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.eti-nav .sub-menu a { font-weight: 500; font-size: 14px; padding: 10px 20px; }
.eti-nav .sub-menu a:hover { color: var(--eti-red); background: var(--eti-grey); }
.eti-header__actions { display: flex; align-items: center; gap: 12px; }
.eti-icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--eti-ink); }
.eti-icon-btn:hover { background: var(--eti-grey); }
.eti-icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.eti-burger { display: none; }
.eti-search { display: none; border-top: 1px solid var(--eti-line); background: #fff; padding: 16px 0; }
.eti-search.is-open { display: block; }
.eti-search form, .eti-searchform { display: flex; gap: 10px; }
.eti-search input[type=search], .eti-searchform input[type=search] { flex: 1; height: 50px; padding: 0 18px; border: 1px solid var(--eti-line); border-radius: 8px; font: 15px var(--eti-body); }

/* ========== Elementor helpers (classes set in Advanced → CSS Classes) ========== */
.elementor-heading-title { font-family: var(--eti-head); }
body .eti-overline .elementor-heading-title { display: inline-flex; align-items: center; gap: 12px; color: var(--eti-red); font: 700 13px/1.3 var(--eti-head); letter-spacing: .14em; text-transform: uppercase; }
body .eti-overline .elementor-heading-title::before { content: ""; width: 30px; height: 2px; background: currentColor; flex: 0 0 auto; }
body .eti-title .elementor-heading-title { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; text-transform: uppercase; color: var(--eti-ink); letter-spacing: -.01em; }
body .eti-title-sm .elementor-heading-title { font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; color: var(--eti-ink); }
body .eti-h1 .elementor-heading-title { font-weight: 800; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; color: #fff; letter-spacing: -.02em; }
.eti-lead { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 560px; }
body .eti-white .elementor-heading-title, body .eti-white { color: #fff; }

body .eti-btn-red .elementor-button, body .eti-btn-outline .elementor-button, body .eti-btn-white .elementor-button, body .eti-btn-outline-dark .elementor-button { font: 600 15px/1 var(--eti-head); padding: 17px 28px; border-radius: 6px; border: 2px solid transparent; transition: .2s; }
body .eti-btn-red .elementor-button { background: var(--eti-red); border-color: var(--eti-red); color: #fff; }
body .eti-btn-red .elementor-button:hover { background: var(--eti-red-d); border-color: var(--eti-red-d); color: #fff; }
body .eti-btn-outline .elementor-button { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
body .eti-btn-outline .elementor-button:hover { background: #fff; color: var(--eti-ink); }
body .eti-btn-outline-dark .elementor-button { background: transparent; border-color: var(--eti-ink); color: var(--eti-ink); }
body .eti-btn-outline-dark .elementor-button:hover { background: var(--eti-ink); color: #fff; }
body .eti-btn-white .elementor-button { background: #fff; color: var(--eti-ink); }
body .eti-btn-white .elementor-button:hover { background: var(--eti-ink); color: #fff; }
body .eti-arrow .elementor-button-text::after { content: "→"; margin-left: 10px; display: inline-block; transition: transform .2s; }
body .eti-arrow .elementor-button:hover .elementor-button-text::after { transform: translateX(4px); }

/* Hero search (HTML widget) */
.eti-hero-search { display: flex; align-items: center; max-width: 540px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.eti-hero-search svg { width: 20px; height: 20px; stroke: #888; fill: none; stroke-width: 2; flex: 0 0 auto; }
.eti-hero-search input { flex: 1; border: 0; outline: 0; font: 15px var(--eti-body); padding: 12px 12px; background: transparent; min-width: 0; }
.eti-hero-search button { border: 0; background: var(--eti-ink); color: #fff; font: 600 14px var(--eti-head); padding: 13px 22px; border-radius: 999px; cursor: pointer; }
.eti-hero-search button:hover { background: var(--eti-red); }

/* Stats band (Counter widgets) */
body .eti-stat .elementor-counter-number-wrapper { font: 800 clamp(36px, 4vw, 52px)/1 var(--eti-head); color: #fff; justify-content: center; }
body .eti-stat .elementor-counter-title { font: 500 16px/1.3 var(--eti-body); color: rgba(255, 255, 255, .9); text-align: center; margin-top: 6px; }
body .eti-stats .elementor-column + .elementor-column { border-left: 1px solid rgba(255, 255, 255, .3); }

/* Product cards (Image Box) */
body .eti-cards .elementor-widget-wrap { align-content: stretch; }
body .eti-cards .elementor-widget-wrap > .elementor-widget { flex: 1 1 100%; }
body .eti-pcard .elementor-widget-container { height: 100%; }
body .eti-pcard .elementor-image-box-wrapper { height: 100%; background: linear-gradient(120deg, #fff 0%, #f4f4f2 100%); border: 1px solid var(--eti-line); border-radius: var(--eti-radius); overflow: hidden; box-shadow: var(--eti-shadow); transition: transform .3s, box-shadow .3s; }
body .eti-pcard:hover .elementor-image-box-wrapper { transform: translateY(-5px); box-shadow: var(--eti-shadow-h); }
body .eti-pcard .elementor-image-box-wrapper { display: flex; align-items: center; min-height: 170px; }
body .eti-pcard .elementor-image-box-img { margin: 0 !important; align-self: stretch; overflow: hidden; }
body .eti-pcard .elementor-image-box-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
body .eti-pcard:hover .elementor-image-box-img img { transform: scale(1.06); }
body .eti-pcard .elementor-image-box-content { padding: 24px 10px 24px 26px; }
body .eti-pcard .elementor-image-box-title { font: 800 17px/1.2 var(--eti-head); text-transform: uppercase; color: var(--eti-ink); margin-bottom: 18px; }
body .eti-pcard .elementor-image-box-title a { color: inherit; }
body .eti-pcard .elementor-image-box-description { font: 700 14px var(--eti-head); color: var(--eti-red); }

/* Solution cards (Icon Box) */
body .eti-scard .elementor-widget-container { height: 100%; }
body .eti-scard .elementor-icon-box-wrapper { height: 100%; background: #fff; border: 1px solid var(--eti-line); border-radius: var(--eti-radius); padding: 26px 24px; box-shadow: var(--eti-shadow); transition: .3s; }
body .eti-scard:hover .elementor-icon-box-wrapper { border-color: var(--eti-red); transform: translateY(-4px); box-shadow: var(--eti-shadow-h); }
body .eti-scard .elementor-icon-box-title { font: 800 16px/1.25 var(--eti-head); text-transform: uppercase; color: var(--eti-ink); margin-bottom: 6px; }
body .eti-scard .elementor-icon-box-title a { color: inherit; }
body .eti-scard .elementor-icon-box-description { font-size: 14px; line-height: 1.5; margin: 0; }
body .eti-scard .elementor-icon { font-size: 34px; color: var(--eti-red); fill: var(--eti-red); }

/* Space tiles (columns with background image) */
body .eti-space > .elementor-widget-wrap, body .eti-space > .elementor-column-wrap { position: relative; border-radius: var(--eti-radius); overflow: hidden; }
body .eti-space > .elementor-element-populated { transition: transform .4s; }
body .eti-space:hover > .elementor-element-populated { transform: translateY(-4px); }
body .eti-space .elementor-widget { position: static; }
body .eti-space .elementor-heading-title { font: 800 22px var(--eti-head); text-transform: uppercase; color: #fff; }
body .eti-space .elementor-heading-title a { color: #fff; }
body .eti-space .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
body .eti-space .elementor-heading-title a::before { content: "→"; float: right; margin-left: 10px; transition: transform .2s; }
body .eti-space:hover .elementor-heading-title a::before { transform: translateX(5px); }

/* Partner points (Icon Box) */
body .eti-point .elementor-icon-box-title { font: 800 15px/1.25 var(--eti-head); text-transform: uppercase; color: var(--eti-ink); margin-bottom: 4px; }
body .eti-point .elementor-icon-box-description { font-size: 14px; line-height: 1.5; margin: 0; }
body .eti-point .elementor-icon { font-size: 18px; }

/* Catalogue band */
.eti-catalogue img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }

/* Contact */
body .eti-contact-list .elementor-icon-list-text { font-size: 15px; color: var(--eti-ink); font-weight: 500; }
body .eti-redcard > .elementor-element-populated { border-radius: 14px; box-shadow: 0 20px 50px rgba(227, 6, 19, .3); }

/* ========== Page / blog fallbacks ========== */
.eti-page-hero { background: var(--eti-navy); color: #fff; padding: 70px 0 60px; }
.eti-page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 0; }
.eti-page-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .8); }
.eti-content { padding: 60px 20px 80px; }
.eti-content-narrow { max-width: 820px; }
.eti-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.eti-post-card { background: #fff; border: 1px solid var(--eti-line); border-radius: var(--eti-radius); overflow: hidden; box-shadow: var(--eti-shadow); }
.eti-post-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.eti-post-card__body { padding: 22px; }
.eti-post-card h2 { font-size: 20px; }
.eti-post-card h2 a { color: var(--eti-ink); }
.eti-pagination { margin-top: 40px; display: flex; gap: 8px; }
.eti-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--eti-line); border-radius: 6px; color: var(--eti-ink); }
.eti-pagination .current { background: var(--eti-red); border-color: var(--eti-red); color: #fff; }

/* ========== Footer ========== */
.eti-footer { background: var(--eti-ink); color: rgba(255, 255, 255, .7); font-size: 14px; position: relative; overflow: hidden; }
.eti-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 40px; }
.eti-footer__brand img { max-height: 70px; width: auto; margin-bottom: 18px; }
.eti-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.eti-footer ul { list-style: none; margin: 0; padding: 0; }
.eti-footer li { margin-bottom: 9px; }
.eti-footer a { color: rgba(255, 255, 255, .7); }
.eti-footer a:hover { color: #fff; }
.eti-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.eti-footer__contact svg { width: 16px; height: 16px; fill: var(--eti-red); flex: 0 0 auto; margin-top: 3px; }
.eti-social { display: flex; gap: 10px; margin-top: 20px; }
.eti-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: .2s; }
.eti-social a:hover { background: var(--eti-red); border-color: var(--eti-red); }
.eti-social svg { width: 16px; height: 16px; fill: #fff; }
.eti-footer__wordmark { font: 800 clamp(48px, 10.5vw, 150px)/.8 var(--eti-head); color: rgba(255, 255, 255, .05); text-align: center; white-space: nowrap; letter-spacing: -.02em; user-select: none; margin-top: 10px; }
.eti-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; font-size: 13px; position: relative; }

/* WhatsApp floating button */
.eti-wa { position: fixed; right: 22px; bottom: 22px; z-index: 998; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.eti-wa:hover { transform: scale(1.08); }
.eti-wa svg { width: 30px; height: 30px; fill: #fff; }
.eti-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: eti-pulse 2.2s infinite; z-index: -1; }
@keyframes eti-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* WooCommerce basics */
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button { background: var(--eti-red); color: #fff; border-radius: 6px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--eti-red); }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
	.eti-nav a { padding: 10px 9px; font-size: 14px; }
	.eti-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.eti-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.eti-burger { display: grid; }
	.eti-logo { border: 0; padding: 0; }
	.eti-header__inner { justify-content: space-between; min-height: 72px; }
	.eti-logo img { max-height: 52px; }
	.eti-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff; z-index: 1001; padding: 80px 18px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: -20px 0 60px rgba(0, 0, 0, .2); }
	.eti-nav.is-open { transform: none; }
	.eti-nav > ul { flex-direction: column; gap: 0; }
	.eti-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--eti-line); }
	.eti-nav > ul > li > a::after { display: none; }
	.eti-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
	.eti-nav li.is-open > .sub-menu { display: block; }
	.eti-nav-close { position: absolute; top: 18px; right: 14px; }
	.eti-header__cta { display: none !important; }
	.eti-overlay { position: fixed; inset: 0; background: rgba(14, 16, 32, .5); z-index: 1000; opacity: 0; visibility: hidden; transition: .3s; }
	.eti-overlay.is-open { opacity: 1; visibility: visible; }
body .eti-stats .elementor-column + .elementor-column { border-left: 0; }
}
@media (min-width: 961px) { .eti-nav-close, .eti-overlay { display: none; } }
@media (max-width: 767px) {
	.eti-topbar .eti-container { gap: 14px; font-size: 12px; justify-content: space-around; }
	.eti-topbar .eti-hide-sm { display: none; }
	.eti-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 50px; }
	.eti-footer__contact-col { grid-column: 1 / -1; }
body .eti-pcard .elementor-image-box-wrapper { min-height: 140px; }
body .eti-pcard .elementor-image-box-wrapper { flex-direction: row-reverse !important; }
body .eti-pcard .elementor-image-box-img { width: 42% !important; }
body .eti-pcard .elementor-image-box-content { text-align: left !important; }
	.eti-hero-search button { padding: 12px 16px; }
	.admin-bar .eti-header { top: 0; }
}
.eti-legal ul, ul.eti-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.eti-legal li { margin: 0; }
