/* =============================================
   HERBORISTERIE ISABELLE RIVET — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ---- Variables ---- */
:root {
  --bg:        #FAF7F2;
  --primary:   #4A6741;
  --secondary: #8B6E52;
  --accent:    #C8784A;
  --text:      #2C2C2C;
  --muted:     #6B6B6B;
  --white:     #FFFFFF;
  --border:    #E0D8CC;
  --primary-light: rgba(74,103,65,0.08);
  --ff-heading: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --radius: 3px;
  --tr: 0.25s ease;
  --shadow: 0 2px 12px rgba(44,44,44,0.08);
  --shadow-lg: 0 8px 32px rgba(44,44,44,0.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--ff-body); line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Skip link ---- */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--primary); color: #fff; padding: .5rem 1rem; border-radius: 0 0 var(--radius) var(--radius); z-index: 9999; transition: top var(--tr); }
.skip-link:focus { top: 0; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-heading); font-weight: 500; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.8rem,4vw,2.8rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.8rem); }
p { color: var(--muted); line-height: 1.7; }
.section-label { font-family: var(--ff-body); font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .75rem; }

/* ---- Container ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; font-family: var(--ff-body); font-size: .875rem; font-weight: 500; letter-spacing: .04em; border-radius: var(--radius); transition: all var(--tr); line-height: 1; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #3a5333; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #b56a3d; transform: translateY(-1px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .8125rem; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--border); transition: box-shadow var(--tr); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-top { background: var(--primary); color: var(--white); font-size: .8125rem; text-align: center; padding: .4rem 1rem; letter-spacing: .02em; }
.header-top a { color: inherit; text-decoration: underline; }
.header-main { display: flex; align-items: center; gap: 2rem; padding: 1rem 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.site-logo { flex-shrink: 0; display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--ff-heading); font-size: 1.4rem; font-weight: 600; color: var(--primary); letter-spacing: .02em; }
.logo-tagline { font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a { padding: .5rem .875rem; font-size: .875rem; font-weight: 500; color: var(--text); border-radius: var(--radius); transition: all var(--tr); position: relative; }
.nav-list a::after { content: ''; position: absolute; bottom: 4px; left: .875rem; right: .875rem; height: 1.5px; background: var(--primary); transform: scaleX(0); transition: transform var(--tr); }
.nav-list a:hover, .nav-list a.active { color: var(--primary); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-icon-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); color: var(--text); transition: all var(--tr); position: relative; }
.header-icon-btn:hover { background: var(--bg); color: var(--primary); }
.header-icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 4px; right: 4px; background: var(--accent); color: var(--white); font-size: .625rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.menu-toggle { display: none; }

/* ---- Hero ---- */
.hero { min-height: 90vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 4rem 3rem 4rem; padding-left: max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem)); }
.hero h1 { font-size: clamp(2.4rem,4.5vw,3.8rem); font-weight: 400; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-subtitle { font-size: 1.0625rem; color: var(--muted); max-width: 42ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; background: linear-gradient(145deg,#e8ede6,#d4e0c9 40%,#c2d4b4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-botanical { width: 80%; max-width: 400px; opacity: .9; }

/* ---- Sections ---- */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.0625rem; }

/* ---- Avantages ---- */
.avantages { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.avantages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.avantage-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 1.5rem 1rem; }
.avantage-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; flex-shrink: 0; }
.avantage-item h4 { font-family: var(--ff-body); font-size: .9375rem; font-weight: 600; color: var(--text); }
.avantage-item p { font-size: .875rem; line-height: 1.5; }

/* ---- Products ---- */
.products-section { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius)*2); overflow: hidden; transition: all var(--tr); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card figure { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg,#f0ebe3,#e8e0d2); }
.product-card figure > div { width: 100%; height: 100%; }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover figure img { transform: scale(1.05); }
.badge-bio { position: absolute; top: 12px; left: 12px; background: var(--primary); color: var(--white); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.product-info { padding: 1.25rem; }
.product-info h3 { font-size: 1.0625rem; font-weight: 500; margin-bottom: .35rem; color: var(--text); }
.product-short-desc { font-size: .8125rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.4; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-family: var(--ff-heading); font-size: 1.25rem; font-weight: 600; color: var(--text); }
.btn-add-cart { padding: .5rem 1rem; font-size: .8125rem; background: var(--primary); color: var(--white); border-radius: var(--radius); transition: all var(--tr); font-weight: 500; }
.btn-add-cart:hover { background: #3a5333; }

/* ---- About split ---- */
.about-split { background: var(--white); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-visual { position: relative; aspect-ratio: 4/5; border-radius: calc(var(--radius)*3); overflow: hidden; background: linear-gradient(145deg,#d4e0c9,#b0c89e); }
.split-visual > div { width: 100%; height: 100%; }
.split-content h2 { margin-bottom: 1.25rem; }
.split-content p { margin-bottom: 1.5rem; }

/* ---- Categories ---- */
.categories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.category-card { position: relative; aspect-ratio: 4/3; border-radius: calc(var(--radius)*2); overflow: hidden; background: linear-gradient(135deg,#e8ede6,#d4e0c9); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 1.5rem; transition: all var(--tr); }
.category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(44,44,44,.6) 0%,transparent 60%); z-index: 1; }
.category-card:hover { transform: scale(1.02); }
.category-bg { position: absolute; inset: 0; font-size: 5rem; display: flex; align-items: center; justify-content: center; opacity: .35; }
.category-name { position: relative; z-index: 2; font-family: var(--ff-heading); font-size: 1.25rem; font-weight: 500; color: var(--white); text-align: center; }

/* ---- Testimonials ---- */
.testimonials { background: var(--primary-light); overflow: hidden; }
.testimonials-track { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; padding: .5rem 0; cursor: grab; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card { flex-shrink: 0; width: 320px; background: var(--white); border-radius: calc(var(--radius)*2); padding: 1.75rem; box-shadow: var(--shadow); }
.stars { color: #F4B942; font-size: .875rem; letter-spacing: 2px; margin-bottom: .75rem; }
.testimonial-card blockquote { font-family: var(--ff-heading); font-size: 1.0625rem; font-style: italic; color: var(--text); line-height: 1.6; margin-bottom: 1rem; }
.testimonial-author { font-size: .8125rem; font-weight: 600; color: var(--muted); }

/* ---- Blog ---- */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.article-card { border: 1px solid var(--border); border-radius: calc(var(--radius)*2); overflow: hidden; transition: all var(--tr); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.article-card figure { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#e8ede6,#d4e0c9); }
.article-card figure > div { width: 100%; height: 100%; }
.article-body { padding: 1.5rem; }
.article-category { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .5rem; display: block; }
.article-card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.article-card p { font-size: .875rem; margin-bottom: 1rem; }
.read-more { font-size: .875rem; font-weight: 500; color: var(--primary); display: inline-flex; align-items: center; gap: .35rem; }
.read-more::after { content: '→'; transition: transform var(--tr); }
.article-card:hover .read-more::after { transform: translateX(4px); }

/* ---- Newsletter ---- */
.newsletter { background: linear-gradient(135deg,var(--primary) 0%,#3a5333 100%); color: var(--white); padding: 4rem 0; }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter h2 { color: var(--white); margin-bottom: .75rem; }
.newsletter > .container > .newsletter-inner > p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; max-width: 440px; margin: 0 auto 1rem; }
.newsletter-form input { flex: 1; padding: .75rem 1.25rem; border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.15); color: var(--white); font-family: var(--ff-body); font-size: .9375rem; outline: none; transition: border-color var(--tr); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.7); }
.newsletter-form button { padding: .75rem 1.5rem; background: var(--accent); color: var(--white); border-radius: var(--radius); font-weight: 500; font-size: .9375rem; transition: background var(--tr); white-space: nowrap; }
.newsletter-form button:hover { background: #b56a3d; }
.newsletter-legal { font-size: .75rem; color: rgba(255,255,255,.55); }
.newsletter-legal a { color: rgba(255,255,255,.65); text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { background: #1e2820; color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-name { color: var(--white); font-size: 1.25rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.45); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .875rem; margin: 1rem 0 1.25rem; line-height: 1.6; }
.social-links { display: flex; gap: .75rem; }
.social-link { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: .875rem; transition: all var(--tr); color: rgba(255,255,255,.7); }
.social-link:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-family: var(--ff-body); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-nav li { margin-bottom: .6rem; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--tr); }
.footer-nav a:hover { color: var(--white); }
.hours-table { font-size: .8125rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 500; color: rgba(255,255,255,.8); }
.hours-row .closed { color: rgba(255,255,255,.35); }
.footer-contact p { font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: .4rem; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: .75rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.4); transition: color var(--tr); }
.footer-legal a:hover { color: var(--white); }

/* ---- Cookie Banner ---- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,.1); display: none; }
.cookie-banner.visible { display: block; }
.cookie-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: .875rem; color: var(--muted); min-width: 300px; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ---- Toast ---- */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300; display: flex; flex-direction: column; gap: .75rem; pointer-events: none; }
.toast { background: var(--text); color: var(--white); padding: .875rem 1.25rem; border-radius: calc(var(--radius)*2); font-size: .875rem; font-weight: 500; max-width: 300px; box-shadow: var(--shadow-lg); animation: slideIn .3s ease, fadeOut .3s ease 2.7s forwards; pointer-events: all; }
.toast.success { border-left: 3px solid #4caf50; }
.toast.info { border-left: 3px solid var(--primary); }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(110%); } }

/* ---- Mobile menu ---- */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.mobile-menu.open { display: block; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px,85vw); background: var(--white); padding: 2rem 1.5rem; overflow-y: auto; }
.mobile-menu-close { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; color: var(--muted); }
.mobile-nav-list { margin-top: 2.5rem; }
.mobile-nav-list li { border-bottom: 1px solid var(--border); }
.mobile-nav-list a { display: block; padding: 1rem 0; font-size: 1.125rem; font-family: var(--ff-heading); color: var(--text); transition: color var(--tr); }
.mobile-nav-list a:hover { color: var(--primary); }

/* ---- Search Modal ---- */
.search-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 200; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.search-modal.open { display: flex; }
.search-box { background: var(--white); border-radius: calc(var(--radius)*3); width: min(600px,90vw); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.search-input-wrap { display: flex; gap: .75rem; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); padding: .625rem 1rem; margin-bottom: 1rem; }
.search-input-wrap svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search-input-wrap input { flex: 1; border: none; outline: none; font-family: var(--ff-body); font-size: 1rem; color: var(--text); background: transparent; }
.search-input-wrap input::placeholder { color: var(--muted); }
.search-suggestions { font-size: .8125rem; color: var(--muted); }
.search-suggestions span { display: inline-block; margin-right: .5rem; cursor: pointer; transition: color var(--tr); }
.search-suggestions span:hover { color: var(--primary); }

/* ---- Page breadcrumb ---- */
.page-breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: .75rem 0; }
.breadcrumb { font-size: .8125rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--border); }

/* ---- Shop layout ---- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; padding: 3rem 0; }
.filter-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius)*2); padding: 1.5rem; position: sticky; top: 100px; }
.filter-group { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 { font-family: var(--ff-body); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .875rem; }
.filter-option { display: flex; align-items: center; gap: .625rem; margin-bottom: .5rem; cursor: pointer; font-size: .9rem; color: var(--muted); transition: color var(--tr); }
.filter-option:hover { color: var(--text); }
.filter-option input[type="checkbox"] { accent-color: var(--primary); }
.price-range { width: 100%; accent-color: var(--primary); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.product-count { font-size: .875rem; color: var(--muted); }
.sort-select { padding: .5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: .875rem; color: var(--text); background: var(--white); cursor: pointer; }

/* ---- Product page ---- */
.product-page { padding: 3rem 0 5rem; }
.product-layout { display: grid; grid-template-columns: 1fr .7fr; gap: 4rem; align-items: start; }
.gallery-main { aspect-ratio: 1; border-radius: calc(var(--radius)*2); overflow: hidden; background: linear-gradient(135deg,#f0ebe3,#e8e0d2); margin-bottom: 1rem; }
.gallery-main > div { width: 100%; height: 100%; }
.gallery-thumbs { display: flex; gap: .75rem; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: linear-gradient(135deg,#f0ebe3,#e8e0d2); transition: border-color var(--tr); }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb > div { width: 100%; height: 100%; }
.product-details { position: sticky; top: 100px; }
.product-details h1 { font-size: 2.25rem; margin-bottom: .5rem; }
.product-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.product-rating .stars { color: #F4B942; font-size: 1rem; }
.rating-count { font-size: .875rem; color: var(--muted); }
.product-price { font-family: var(--ff-heading); font-size: 2rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.stock-status { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; margin-bottom: 1.5rem; }
.stock-status.in-stock { color: #2e7d32; }
.stock-status.in-stock::before { content: '✓'; }
.stock-status.low-stock { color: var(--accent); }
.stock-status.low-stock::before { content: '⚠'; }
.product-actions { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.qty-selector { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-selector button { width: 40px; height: 48px; font-size: 1.125rem; color: var(--muted); transition: all var(--tr); }
.qty-selector button:hover { background: var(--bg); color: var(--text); }
.qty-selector input { width: 50px; text-align: center; border: none; outline: none; font-family: var(--ff-body); font-size: .9375rem; font-weight: 500; color: var(--text); }
.add-to-cart-btn { flex: 1; padding: .875rem 1.5rem; background: var(--primary); color: var(--white); border-radius: var(--radius); font-size: .9375rem; font-weight: 500; transition: all var(--tr); }
.add-to-cart-btn:hover { background: #3a5333; transform: translateY(-1px); }
.product-reassurance { background: var(--bg); border-radius: calc(var(--radius)*2); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.reassurance-item { display: flex; align-items: center; gap: .625rem; font-size: .875rem; color: var(--muted); }
.product-tabs { margin-top: 4rem; border: 1px solid var(--border); border-radius: calc(var(--radius)*2); overflow: hidden; }
.tabs-nav { display: flex; background: var(--bg); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { padding: 1rem 1.5rem; font-size: .875rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: all var(--tr); border-bottom: 2px solid transparent; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--white); }
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-panel { padding: 1.5rem; display: none; }
.tab-panel.active { display: block; }
.tab-panel p { font-size: .9375rem; line-height: 1.8; }

/* ---- Page hero ---- */
.page-hero { background: linear-gradient(135deg,#e8ede6,#d4e0c9); padding: 5rem 0; text-align: center; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; max-width: 60ch; margin: 0 auto; }

/* ---- About ---- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 5rem 0; }
.about-photo { aspect-ratio: 4/5; border-radius: calc(var(--radius)*3); overflow: hidden; background: linear-gradient(145deg,#d4e0c9,#b0c89e); }
.about-photo > div { width: 100%; height: 100%; }
.values-section { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.value-card { text-align: center; padding: 2rem 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius)*2); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.value-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.certif-section { background: var(--white); }
.certif-list { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.certif-badge { padding: .75rem 1.75rem; border: 1.5px solid var(--border); border-radius: 100px; font-size: .875rem; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: .5rem; }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-detail-icon { width: 40px; height: 40px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; }
.contact-detail-text p:first-child { font-weight: 600; color: var(--text); font-size: .875rem; margin-bottom: .2rem; }
.contact-buttons { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.map-container { border-radius: calc(var(--radius)*2); overflow: hidden; height: 280px; background: linear-gradient(135deg,#d4e0c9,#c2d4b4); margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; font-size: .875rem; color: var(--muted); }
.map-container iframe { width: 100%; height: 100%; border: none; }
.hours-table-full { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: .75rem; }
.hours-table-full td { padding: .5rem 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.hours-table-full td:first-child { font-weight: 500; color: var(--text); width: 110px; }
.hours-table-full tr:last-child td { border-bottom: none; }
.contact-form-col {}
.form-title { font-family: var(--ff-heading); font-size: 1.8rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: .9375rem; color: var(--text); background: var(--white); outline: none; transition: border-color var(--tr); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.consent-label { display: flex; gap: .625rem; align-items: flex-start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.consent-label input { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.consent-label a { color: var(--primary); text-decoration: underline; }

/* ---- Blog ---- */
.blog-header { padding: 3rem 0 1rem; }
.blog-cats { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.cat-pill { padding: .4rem 1rem; border: 1.5px solid var(--border); border-radius: 100px; font-size: .8125rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all var(--tr); }
.cat-pill:hover, .cat-pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.blog-grid-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; padding-bottom: 3rem; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; padding: 3rem 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-family: var(--ff-body); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 0 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 1.25rem 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; gap: 1rem; align-items: center; }
.cart-thumb { width: 72px; height: 72px; border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.cart-thumb > div { width: 100%; height: 100%; }
.cart-product-name { font-weight: 500; color: var(--text); }
.cart-product-variant { font-size: .8125rem; color: var(--muted); }
.remove-btn { color: var(--muted); font-size: 1.25rem; transition: color var(--tr); line-height: 1; }
.remove-btn:hover { color: #c62828; }
.order-summary { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius)*2); padding: 1.75rem; position: sticky; top: 100px; }
.order-summary h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: .6rem 0; font-size: .9375rem; color: var(--muted); border-bottom: 1px solid var(--bg); }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { display: flex; justify-content: space-between; padding: 1rem 0 0; margin-top: .5rem; border-top: 1.5px solid var(--border); font-weight: 600; font-size: 1.125rem; color: var(--text); }
.promo-field { margin: 1rem 0; display: flex; gap: .5rem; }
.promo-field input { flex: 1; padding: .625rem .875rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: .875rem; outline: none; }
.promo-field input:focus { border-color: var(--primary); }
.promo-field button { padding: .625rem 1rem; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: var(--text); transition: all var(--tr); }
.promo-field button:hover { background: var(--border); }

/* ---- Pagination ---- */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.page-num { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .875rem; color: var(--muted); cursor: pointer; transition: all var(--tr); }
.page-num:hover, .page-num.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-md { margin-bottom: 2rem; }

/* ---- Focus ---- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .avantages-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .shop-layout { grid-template-columns: 220px 1fr; }
  .product-layout { gap: 2.5rem; }
  .about-story { gap: 3rem; }
  .split-layout { gap: 3rem; }
  .blog-grid-full { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .avantages-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split-visual { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-details { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .blog-grid-full { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .avantages-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-actions { flex-wrap: wrap; }
  .add-to-cart-btn { flex: unset; width: 100%; }
}
