/*
Theme Name: Peluche Lestée
Theme URI: https://peluchelestee.fr
Author: Peluche Lestée
Description: Thème custom pour peluchelestee.fr - guide et sélection de peluches lestées
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: peluche-lestee
*/

/* ========== RESET & TOKENS ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pl-clay: #C1683F;
  --pl-clay-dark: #A2532F;
  --pl-clay-light: #F1E7DA;
  --pl-sage: #6E8573;
  --pl-ink: #2A231D;
  --pl-ink-soft: #5B5148;
  --pl-text-light: #8A7F72;
  --pl-bg: #FAF5EF;
  --pl-white: #FFFFFF;
  --pl-line: #E4D8C7;
  --pl-max-width: 1180px;
  --pl-header-height: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pl-ink-soft);
  background: var(--pl-bg);
}

a { color: var(--pl-clay-dark); text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--pl-ink);
  line-height: 1.2;
  font-weight: 600;
}

.pl-container {
  max-width: var(--pl-max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.pl-container--narrow { max-width: 760px; }

.pl-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pl-clay-dark);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.pl-lead { max-width: 640px; margin-bottom: 32px; font-size: 16px; }

/* ========== BUTTONS (small radius: intentional, not a card) ========== */
.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.pl-btn:hover { transform: translateY(-2px); }
.pl-btn--primary { background: var(--pl-clay); color: #fff; }
.pl-btn--primary:hover { background: var(--pl-clay-dark); color: #fff; }
.pl-btn--ghost { background: transparent; border-color: var(--pl-ink); color: var(--pl-ink); }
.pl-btn--ghost:hover { background: var(--pl-ink); color: #fff; }

/* ========== HEADER ========== */
.pl-site-header {
  background: var(--pl-white);
  border-bottom: 1px solid var(--pl-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.pl-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pl-header-height);
}
.pl-site-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--pl-ink);
}
.pl-site-logo img { max-height: 46px; width: auto; }

.pl-main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.pl-main-nav a {
  color: var(--pl-ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.pl-main-nav a:hover { background: var(--pl-clay-light); color: var(--pl-clay-dark); }

.menu-item-has-children { position: relative; }
.menu-item-has-children > a::after { content: ' \25BE'; font-size: 10px; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  min-width: 220px;
  padding: 6px 0;
  z-index: 200;
}
.menu-item-has-children:hover .sub-menu { display: block; }
.sub-menu a { display: block; padding: 9px 16px; font-size: 13.5px; }

.pl-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.pl-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--pl-ink); }

/* ========== HERO (full-bleed image background) ========== */
.pl-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 56vw, 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  background: var(--pl-clay-light);
}
.pl-hero__bg { position: absolute; inset: 0; z-index: 0; }
.pl-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, .68);
}
.pl-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(40px, 6vw, 64px);
}
.pl-hero .pl-eyebrow { color: #fff; }
.pl-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -.01em;
  margin-bottom: 20px;
  color: #fff;
}
.pl-hero h1 em { font-style: normal; color: #E8935F; }
.pl-hero p { font-size: clamp(15.5px, 1.6vw, 18px); max-width: 520px; margin-bottom: 28px; color: rgba(255,255,255,.88); }
.pl-hero p strong { color: #fff; }
.pl-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.pl-hero .pl-btn--ghost { border-color: #fff; color: #fff; }
.pl-hero .pl-btn--ghost:hover { background: #fff; color: var(--pl-ink); }

.pl-hero-search-form {
  display: flex;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--pl-line);
  overflow: hidden;
  position: relative;
}
.pl-hero-search-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14.5px;
  font-family: inherit;
  background: transparent;
}
.pl-hero-search-btn {
  background: var(--pl-clay);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.pl-hero-search-btn:hover { background: var(--pl-clay-dark); }
.pl-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--pl-line);
  border-top: none;
  z-index: 50;
}
.pl-autocomplete a { display: block; padding: 10px 16px; font-size: 14px; color: var(--pl-ink); border-bottom: 1px solid var(--pl-line); }
.pl-autocomplete a:last-child { border-bottom: none; }
.pl-autocomplete a:hover { background: var(--pl-clay-light); }

/* ========== SECTIONS ========== */
.pl-section { padding-block: clamp(48px, 6vw, 80px); }
.pl-section--alt { background: var(--pl-clay-light); }
.pl-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pl-section-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 24px; }
.pl-section-header .pl-section-title { margin-bottom: 0; }
.pl-section-title--center { text-align: center; margin-bottom: 36px; }

/* ========== COLLECTIONS / CATEGORY CARDS (straight corners) ========== */
.pl-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
  max-width: 760px;
}
.pl-cat-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 0;
  overflow: hidden;
  display: block;
  color: inherit;
  transition: border-color .2s;
}
.pl-cat-card:hover { border-color: var(--pl-clay); }
.pl-cat-card__visual {
  aspect-ratio: 16/10;
  background: var(--pl-clay-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--pl-line);
}
.pl-cat-card__visual svg { width: 56%; height: 56%; }
.pl-cat-card__tag {
  display: inline-block;
  margin: 20px 0 0 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pl-sage);
  background: #EAF0EA;
  padding: 5px 12px;
  border-radius: 999px;
}
.pl-cat-card h3 { font-size: 19px; margin: 10px 20px 6px; }
.pl-cat-card p { font-size: 14.5px; margin: 0 20px 20px; color: var(--pl-ink-soft); }

/* ========== BROWSE BY TAG (species / brand circles) ========== */
.pl-tags-grid { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.pl-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.pl-brand-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--pl-ink);
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--pl-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.pl-brand-tag:hover {
  color: var(--pl-clay-dark);
  border-color: var(--pl-clay);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(54,38,27,.1);
}
.pl-tag-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  text-align: center;
  color: var(--pl-ink);
  font-family: 'Inter', sans-serif;
}
.pl-tag-circle__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, transform .15s ease;
}
.pl-tag-circle:hover .pl-tag-circle__avatar { border-color: var(--pl-clay); transform: translateY(-2px); }
.pl-tag-circle__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pl-tag-circle__initial {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--pl-clay-dark);
}
.pl-tag-circle__name { font-size: 14px; font-weight: 600; }
.pl-tag-circle__count { font-size: 12.5px; color: var(--pl-text-light); }

/* ========== ANIMAL BROWSER ========== */
.pl-animal-browser { background: var(--pl-white); }
.pl-animal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.pl-animal-card {
  display: flex;
  flex-direction: column;
  color: var(--pl-ink);
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pl-animal-card:hover {
  transform: translateY(-3px);
  border-color: var(--pl-clay);
  box-shadow: 0 10px 24px rgba(42,35,29,.09);
}
.pl-animal-card__visual { aspect-ratio: 1/1; overflow: hidden; background: var(--pl-clay-light); }
.pl-animal-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.pl-animal-card__name { padding: 12px 12px 0; font-weight: 700; font-size: 14px; }
.pl-animal-card__count { padding: 2px 12px 12px; color: var(--pl-text-light); font-size: 12px; }

/* ========== CATALOG ARCHIVE ========== */
.pl-archive-header { display:flex; justify-content:space-between; align-items:center; gap:32px; margin-bottom:20px; }
.pl-archive-header h1 { font-size:clamp(30px,4vw,44px); margin:0 0 10px; }
.pl-archive-description { max-width:720px; margin:0; }
.pl-archive-description p { margin:0; }
.pl-archive-animal-img { width:min(250px,28vw); aspect-ratio:1/1; object-fit:cover; border:1px solid var(--pl-line); }
.pl-amazon-more { margin-top:36px; padding:24px; display:flex; align-items:center; justify-content:space-between; gap:24px; background:var(--pl-clay-light); border:1px solid var(--pl-line); }
.pl-amazon-more p { margin:0; max-width:660px; }
.pl-product-meta { display:flex; flex-wrap:wrap; gap:5px; padding:8px 16px 0; }
.pl-product-meta span { font-size:11px; color:var(--pl-ink-soft); background:var(--pl-clay-light); padding:3px 7px; border-radius:999px; }
.pl-product-weight { margin:-4px 0 18px; font-size:15px; color:var(--pl-ink-soft); }
.pl-affiliate-disclosure { margin:0 0 20px; font-size:12px; color:#B8AFA3; }

/* ========== PRODUCT GRID ========== */
.pl-products-grid { display: grid; gap: 22px; margin-bottom: 12px; }
.pl-products-grid.pl-cols-4 { grid-template-columns: repeat(4, 1fr); }
.pl-products-grid.pl-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Carousel wrapper + nav arrows ---- */
.pl-carousel { position: relative; }
.pl-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  color: var(--pl-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(42, 35, 29, .16);
  transition: background .2s, color .2s, border-color .2s;
}
.pl-carousel__arrow svg { width: 20px; height: 20px; }
.pl-carousel__arrow:hover { background: var(--pl-clay); color: #fff; border-color: var(--pl-clay); }
.pl-carousel__arrow:disabled { opacity: .35; cursor: default; }
.pl-carousel__arrow:disabled:hover { background: var(--pl-white); color: var(--pl-ink); border-color: var(--pl-line); }
.pl-carousel__arrow--prev { left: 8px; }
.pl-carousel__arrow--next { right: 8px; }

/* ---- Carousel variant: one scrollable row, never wraps ---- */
.pl-products-grid--carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--pl-clay) transparent;
}
.pl-products-grid--carousel .pl-product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.pl-products-grid--carousel::-webkit-scrollbar { height: 8px; }
.pl-products-grid--carousel::-webkit-scrollbar-thumb { background: var(--pl-clay); }
.pl-products-grid--carousel::-webkit-scrollbar-track { background: var(--pl-clay-light); }
@media (max-width: 480px) {
  .pl-products-grid--carousel .pl-product-card { flex-basis: 220px; }
}

/* ========== UX/UI REFRESH 2026 ========== */
:root {
  --pl-clay: #C96E49;
  --pl-clay-dark: #9C4D31;
  --pl-clay-light: #F5E8DC;
  --pl-sage: #667C6A;
  --pl-ink: #261E19;
  --pl-ink-soft: #5C5047;
  --pl-text-light: #7D7168;
  --pl-bg: #FBF7F2;
  --pl-white: #FFFFFF;
  --pl-line: #E7D8CA;
  --pl-shadow-sm: 0 5px 18px rgba(54, 38, 27, .07);
  --pl-shadow-md: 0 16px 42px rgba(54, 38, 27, .11);
  --pl-radius: 18px;
  --pl-header-height: 78px;
}

body { background: linear-gradient(180deg, #fff 0, var(--pl-bg) 520px); }
::selection { background: #E9BCA6; color: var(--pl-ink); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid rgba(201,110,73,.32);
  outline-offset: 3px;
}
.pl-skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 10000;
  background: var(--pl-ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.pl-skip-link:focus { top: 12px; color: #fff; }

.pl-site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(42,35,29,.06);
}
.pl-site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pl-site-logo img { width: 205px; max-height: 52px; }
.pl-main-nav { display: flex; align-items: center; gap: 14px; }
.pl-main-nav a { font-weight: 600; }
.pl-main-nav .current-menu-item > a,
.pl-main-nav .current_page_item > a { color: var(--pl-clay-dark); background: var(--pl-clay-light); }
.pl-header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 17px !important; border-radius: 999px !important;
  background: var(--pl-ink); color: #fff !important;
}
.pl-header-cta:hover { background: var(--pl-clay-dark) !important; color: #fff !important; }

.pl-btn { border-radius: 999px; padding: 13px 24px; box-shadow: none; }
.pl-btn:hover { transform: translateY(-2px); box-shadow: var(--pl-shadow-sm); }
.pl-hero__overlay { background: linear-gradient(90deg, rgba(29,22,18,.84) 0%, rgba(29,22,18,.68) 48%, rgba(29,22,18,.28) 100%); }
.pl-hero__content { padding-block: clamp(56px, 7vw, 84px); }
.pl-hero h1 { font-size: clamp(38px, 4.8vw, 62px); max-width: 720px; letter-spacing: -.025em; }
.pl-hero p { max-width: 610px; }
.pl-hero-search-form { border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.18); }

.pl-trust-strip { background: var(--pl-white); border-bottom: 1px solid var(--pl-line); }
.pl-trust-strip__grid { display: grid; grid-template-columns: repeat(3,1fr); }
.pl-trust-strip__grid > div { padding: 22px 28px; border-right: 1px solid var(--pl-line); }
.pl-trust-strip__grid > div:last-child { border-right: 0; }
.pl-trust-strip strong { display: block; color: var(--pl-ink); font-size: 14px; }
.pl-trust-strip span { display: block; color: var(--pl-text-light); font-size: 12.5px; }

.pl-animal-card, .pl-cat-card, .pl-product-card, .pl-guide-card, .pl-post-card,
.pl-faq-item, .pl-filters, .pl-amazon-more, .pl-archive-animal-img {
  border-radius: var(--pl-radius);
}
.pl-animal-card, .pl-cat-card, .pl-product-card, .pl-guide-card, .pl-post-card {
  box-shadow: var(--pl-shadow-sm);
  border-color: rgba(201,110,73,.16);
}
.pl-animal-card:hover, .pl-cat-card:hover, .pl-product-card:hover, .pl-guide-card:hover, .pl-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-md);
  border-color: rgba(201,110,73,.52);
}
.pl-cat-card, .pl-product-card, .pl-guide-card, .pl-post-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pl-animal-card__visual, .pl-cat-card__visual { border-radius: calc(var(--pl-radius) - 1px) calc(var(--pl-radius) - 1px) 0 0; }
.pl-product-card .pl-product-img { margin: 8px; border-radius: 13px; }
.pl-product-card .pl-product-btn { border-radius: 999px; }
.pl-filters { box-shadow: var(--pl-shadow-sm); }
.pl-filter select { border-radius: 11px !important; min-height: 44px; }

.pl-blog-hero { padding: clamp(54px,7vw,88px) 0; background: linear-gradient(135deg,#F7E8DB 0%,#FFF 72%); border-bottom:1px solid var(--pl-line); }
.pl-blog-hero__inner { display:flex; align-items:center; justify-content:space-between; gap:48px; }
.pl-blog-hero h1 { font-size:clamp(34px,5vw,58px); max-width:820px; letter-spacing:-.025em; margin-bottom:16px; }
.pl-blog-hero p { font-size:18px; max-width:700px; }
.pl-blog-hero img { width:104px; height:104px; filter:drop-shadow(0 12px 18px rgba(87,49,31,.16)); }
.pl-blog-index { padding-top:52px; }
.pl-posts-grid { gap:26px; }
.pl-post-card > a { display:flex; flex-direction:column; height:100%; color:inherit; }
.pl-post-card__media { display:grid; place-items:center; aspect-ratio:16/9; overflow:hidden; background:linear-gradient(145deg,#F4DFCF,#FFF8F1); }
.pl-post-card__media > img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; margin:0; }
.pl-post-card__media > img[src*="logo-icon"] { width:92px; height:92px; object-fit:contain; }
.pl-post-card__body { display:flex; flex-direction:column; flex:1; padding:24px; }
.pl-post-card__meta { display:flex; justify-content:space-between; gap:12px; color:var(--pl-text-light); font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px; }
.pl-post-card__body h3 { font-size:20px; line-height:1.3; }
.pl-post-card__body p { margin-bottom:18px; }
.pl-text-link { margin-top:auto; color:var(--pl-clay-dark); font-weight:700; font-size:14px; }

.pl-article-page { padding-top:26px; }
.pl-article { max-width:1100px; margin:0 auto; }
.pl-article__header { max-width:880px; margin:40px auto 42px; text-align:center; }
.pl-article__header h1 { font-size:clamp(36px,5vw,60px); letter-spacing:-.03em; margin-bottom:18px; }
.pl-article__excerpt { font-size:clamp(17px,2vw,21px); color:var(--pl-ink-soft); max-width:760px; margin:0 auto 20px; }
.pl-article__meta { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 20px; font-size:12.5px; color:var(--pl-text-light); }
.pl-article__meta span + span::before { content:'•'; margin-right:20px; color:var(--pl-clay); }
.pl-article__cover { max-width:920px; margin:0 auto 42px; overflow:hidden; border-radius:24px; box-shadow:var(--pl-shadow-md); }
.pl-article__cover img { width:100%; max-height:520px; object-fit:cover; }
.pl-article__layout { display:grid; grid-template-columns:250px minmax(0,760px); justify-content:center; gap:52px; border-top:1px solid var(--pl-line); padding-top:42px; }
.pl-article__aside { position:sticky; top:calc(var(--pl-header-height) + 24px); align-self:start; padding:22px; background:var(--pl-clay-light); border-radius:16px; font-size:13.5px; }
.pl-article__aside strong { display:block; color:var(--pl-ink); margin-bottom:8px; }
.pl-article__aside p { margin-bottom:14px; }
.pl-article__aside a { font-weight:700; }
.pl-article .pl-entry-content { font-size:17px; line-height:1.78; }
.pl-article .pl-entry-content > p:first-child { font-size:19px; color:var(--pl-ink); }
.pl-article .pl-entry-content h2 { font-size:clamp(25px,3vw,34px); margin:46px 0 16px; letter-spacing:-.015em; }
.pl-article .pl-entry-content h3 { font-size:22px; margin-top:32px; }
.pl-article .pl-entry-content a { font-weight:650; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.pl-article .pl-entry-content ul, .pl-article .pl-entry-content ol { background:#fff; border:1px solid var(--pl-line); border-radius:14px; padding:20px 24px 20px 44px; margin:22px 0; }
.pl-article .pl-entry-content blockquote { margin:26px 0; padding:20px 24px; border-left:4px solid var(--pl-sage); background:#EEF2ED; color:var(--pl-ink); border-radius:0 14px 14px 0; }
.pl-note { padding:22px 24px; background:#FFF3E8; border:1px solid #EBC9AE; border-radius:14px; margin:26px 0; }
.pl-note--safety { background:#FBEDEC; border-color:#E9B8B2; }
.pl-note strong { color:var(--pl-ink); }
.pl-article-cta { max-width:1010px; margin:70px auto 10px; padding:32px 36px; background:var(--pl-ink); border-radius:22px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.pl-article-cta h2 { color:#fff; font-size:27px; margin-bottom:6px; }
.pl-article-cta p { color:#CFC5BB; }
.pl-article-cta .pl-eyebrow { color:#E9A17F; }

.pl-footer-logo { width:190px; background:#fff; border-radius:12px; padding:6px 10px; margin-bottom:14px; }
.pl-site-footer { padding-top:54px; }
#pl-cookie-banner { border-top:1px solid rgba(255,255,255,.14); box-shadow:0 -8px 30px rgba(0,0,0,.16); }

@media (max-width: 990px) {
  .pl-header-cta { display:none; }
  .pl-article__layout { grid-template-columns:1fr; max-width:760px; margin-inline:auto; gap:24px; }
  .pl-article__aside { position:static; }
}

@media (max-width: 768px) {
  body.pl-menu-open { overflow:hidden; }
  .pl-site-logo img { width:178px; }
  .pl-main-nav.active { padding:10px 20px 20px; max-height:calc(100vh - var(--pl-header-height)); overflow:auto; }
  .pl-main-nav.active ul { align-items:stretch; }
  .pl-main-nav.active .pl-header-cta { display:flex; margin-top:12px; }
  .pl-trust-strip__grid { grid-template-columns:1fr; padding-block:8px; }
  .pl-trust-strip__grid > div { border-right:0; border-bottom:1px solid var(--pl-line); padding:14px 0; }
  .pl-trust-strip__grid > div:last-child { border-bottom:0; }
  .pl-blog-hero__inner { align-items:flex-start; }
  .pl-blog-hero img { width:74px; height:74px; }
  .pl-article__header { margin-top:26px; }
  .pl-article__meta span + span::before { display:none; }
  .pl-article__layout { padding-top:28px; }
  .pl-article-cta { flex-direction:column; align-items:flex-start; padding:28px 24px; }
}

@media (max-width: 480px) {
  :root { --pl-header-height:68px; }
  .pl-site-logo img { width:158px; }
  .pl-hero h1 { font-size:38px; }
  .pl-blog-hero img { display:none; }
  .pl-article__header h1 { font-size:36px; }
  .pl-article__meta { flex-direction:column; }
  .pl-post-card__body { padding:20px; }
}

.pl-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pl-line);
  border-radius: 0;
  overflow: hidden;
  background: var(--pl-white);
  transition: border-color .2s;
}

.pl-product-card[hidden] {
    display: none !important;
}
.pl-product-card:hover { border-color: var(--pl-clay); }
.pl-product-card .pl-product-img {
  background: var(--pl-clay-light);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pl-product-card .pl-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-product-card .pl-product-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.pl-product-card .pl-product-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--pl-ink);
  padding: 14px 16px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pl-product-card .pl-product-price {
  display: block;
  padding: 8px 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--pl-clay-dark);
  font-family: 'Inter', sans-serif;
}
.pl-product-card .pl-product-price del { color: var(--pl-text-light); font-weight: 400; font-size: 13.5px; }
.pl-product-card .pl-product-btn {
  display: block;
  margin: auto 16px 16px;
  padding: 11px 16px;
  background: var(--pl-clay);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
}
.pl-product-card .pl-product-btn:hover { background: var(--pl-clay-dark); color: #fff; }

.pl-empty-grid {
  padding: 40px;
  text-align: center;
  background: var(--pl-white);
  border: 1px dashed var(--pl-line);
  color: var(--pl-ink-soft);
}

/* ========== FILTER BAR (shared with functions.php inline style) ========== */
.pl-filters { display: flex; gap: 14px; margin: 0 0 24px; flex-wrap: wrap; }

/* ========== GUIDE CARDS ========== */
.pl-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pl-guide-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 0;
  padding: 28px 24px;
}
.pl-guide-card h3 { font-size: 18px; margin-bottom: 10px; }
.pl-guide-card p { font-size: 14.5px; margin-bottom: 18px; }

/* ========== SEO CONTENT ========== */
.pl-seo-content { max-width: var(--pl-max-width); margin: 0 auto; }
.pl-seo-content h2 {
  font-size: 26px;
  margin: 44px 0 18px;
  padding: 14px 0 14px 20px;
  border-left: 3px solid var(--pl-clay);
  background: linear-gradient(90deg, var(--pl-clay-light) 0%, transparent 100%);
}
.pl-seo-content h2:first-child { margin-top: 0; }
.pl-seo-content h3 {
  font-size: 19px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pl-clay-light);
}
.pl-seo-content h4 { font-size: 16px; color: var(--pl-clay-dark); margin: 24px 0 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.pl-seo-content p { margin-bottom: 15px; font-size: 15.5px; }
.pl-seo-content a { font-weight: 600; border-bottom: 1px solid rgba(193,104,63,.35); }
.pl-seo-content a:hover { border-bottom-color: var(--pl-clay); }
.pl-seo-content ul { list-style: none; margin: 10px 0 18px; }
.pl-seo-content ul li {
  position: relative;
  padding: 10px 16px 10px 26px;
  margin-bottom: 6px;
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  font-size: 14.5px;
}
.pl-seo-content ul li::before {
  content: '';
  position: absolute;
  left: 12px; top: 17px;
  width: 6px; height: 6px;
  background: var(--pl-clay);
  border-radius: 50%;
}

/* FAQ */
.pl-faq-item {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 0;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.pl-faq-item h3 { font-size: 16px; margin: 0 0 8px; padding: 0; border: none; font-family: 'Inter', sans-serif; font-weight: 700; }
.pl-faq-item p { margin: 0; font-size: 14.5px; }

/* ========== BLOG POST CARDS ========== */
.pl-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
.pl-post-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 0;
  overflow: hidden;
}
.pl-post-card:hover { border-color: var(--pl-clay); }
.pl-post-card img { aspect-ratio: 16/10; object-fit: cover; }
.pl-post-card__body { padding: 20px; }
.pl-post-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.pl-post-card__body p { font-size: 14px; color: var(--pl-ink-soft); }
.pl-blog-title { padding-top: 32px; margin-bottom: 20px; }

/* ========== GENERIC PAGE CONTENT ========== */
.pl-page-content { padding-block: 40px 60px; }
.pl-entry-content h1 { font-size: 32px; margin-bottom: 20px; }
.pl-entry-content h2 { font-size: 24px; margin: 30px 0 12px; }
.pl-entry-content h3 { font-size: 20px; margin: 24px 0 10px; }
.pl-entry-content p { margin-bottom: 16px; }
.pl-entry-content ul, .pl-entry-content ol { margin: 0 0 18px 20px; }
.pl-entry-content li { margin-bottom: 6px; }
.pl-entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.pl-entry-content table th, .pl-entry-content table td { padding: 10px 14px; border: 1px solid var(--pl-line); text-align: left; font-size: 14.5px; }
.pl-entry-content table th { background: var(--pl-clay-light); }
.pl-entry-content img { margin: 16px 0; }

/* ========== SINGLE PRODUCT PAGE ========== */
.pl-single-wrap { padding: 24px 0 48px; }
.pl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pl-text-light);
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}
.pl-breadcrumb a { color: var(--pl-ink-soft); }
.pl-breadcrumb a:hover { color: var(--pl-clay); }
.pl-breadcrumb__sep { color: var(--pl-line); }
.pl-breadcrumb__current { color: var(--pl-text-light); }
.pl-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.pl-product-gallery {
  text-align: center;
  position: sticky;
  top: calc(var(--pl-header-height) + 24px);
  align-self: start;
}
.pl-product-main-img { width: 100%; max-height: 460px; object-fit: contain; }
.pl-product-info-title { font-size: 26px; margin-bottom: 12px; }
.pl-product-collections { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pl-product-tag {
  background: var(--pl-clay-light);
  color: var(--pl-clay-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pl-product-description { margin-bottom: 24px; }
.pl-product-description.pl-entry-content h2 { font-size: 19px; margin: 22px 0 10px; }
.pl-product-description.pl-entry-content h2:first-child { margin-top: 0; }
.pl-product-description.pl-entry-content h3 { font-size: 16px; margin: 18px 0 8px; }
.pl-product-description.pl-entry-content p { font-size: 15px; margin-bottom: 12px; }
.pl-product-description.pl-entry-content ul { margin: 0 0 12px 20px; }
.pl-product-description.pl-entry-content li { font-size: 15px; margin-bottom: 4px; }
.pl-product-price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 16px 20px; background: var(--pl-clay-light); }
.pl-price-current { font-size: 30px; font-weight: 700; color: var(--pl-clay-dark); font-family: 'Fraunces', serif; }
.pl-price-old { font-size: 17px; color: var(--pl-text-light); text-decoration: line-through; }
.pl-cta-button {
  display: block; width: 100%; text-align: center;
  background: var(--pl-clay); color: #fff !important;
  font-size: 17px; font-weight: 700; padding: 17px 30px;
  border-radius: 10px; transition: background .2s;
}
.pl-cta-button:hover { background: var(--pl-clay-dark); color: #fff !important; }
.pl-cta-note { font-size: 12px; color: var(--pl-text-light); text-align: center; margin-top: 10px; }

/* ========== FOOTER ========== */
.pl-site-footer { background: var(--pl-ink); color: #B8AFA3; padding: 44px 0 20px; }
.pl-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 28px; }
.pl-footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.pl-footer-col a { display: block; color: #B8AFA3; font-size: 13.5px; padding: 3px 0; }
.pl-footer-col a:hover { color: var(--pl-clay); }
.pl-footer-bottom { border-top: 1px solid #453B2F; padding-top: 18px; text-align: center; font-size: 12.5px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 990px) {
  .pl-hero { min-height: clamp(480px, 120vw, 640px); }
  .pl-products-grid.pl-cols-4 { grid-template-columns: repeat(3, 1fr); }
  .pl-guides-grid { grid-template-columns: 1fr; gap: 20px; }
  .pl-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-product-layout { grid-template-columns: 1fr; gap: 28px; }
  .pl-product-gallery { position: static; }
  .pl-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .pl-animal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pl-main-nav { display: none; }
  .pl-main-nav.active {
    display: flex; flex-direction: column;
    position: absolute; top: var(--pl-header-height); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--pl-line);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    z-index: 200;
  }
  .pl-main-nav.active ul { flex-direction: column; width: 100%; }
  .pl-main-nav.active ul li { width: 100%; border-bottom: 1px solid var(--pl-line); }
  .pl-main-nav.active ul li a { display: block; padding: 14px 20px; border-radius: 0; }
  .pl-mobile-toggle { display: flex; }
  .pl-cats-grid { grid-template-columns: 1fr; max-width: none; }
  .pl-products-grid.pl-cols-4, .pl-products-grid.pl-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pl-posts-grid { grid-template-columns: 1fr; }
  .pl-section-header { flex-direction: column; align-items: flex-start; }
  .pl-animal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-archive-header { align-items:flex-start; }
  .pl-amazon-more { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 480px) {
  .pl-products-grid.pl-cols-4, .pl-products-grid.pl-cols-3 { grid-template-columns: 1fr; }
  .pl-animal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
  .pl-archive-header--animal { display:grid; grid-template-columns:1fr; }
  .pl-archive-animal-img { width:100%; max-width:280px; }
}

/* Final cascade for refreshed components declared earlier in this stylesheet. */
.pl-product-card, .pl-guide-card, .pl-post-card, .pl-faq-item, .pl-empty-grid {
  border-radius: var(--pl-radius);
}
.pl-product-card, .pl-guide-card, .pl-post-card {
  box-shadow: var(--pl-shadow-sm);
  border-color: rgba(201,110,73,.16);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pl-product-card:hover, .pl-guide-card:hover, .pl-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-md);
  border-color: rgba(201,110,73,.52);
}
.pl-product-card .pl-product-img { margin:8px; border-radius:13px; }
.pl-product-card .pl-product-btn { border-radius:999px; }
.pl-site-footer { padding-top:54px; }

/* Header à deux niveaux : recherche au-dessus de la navigation. */
:root { --pl-header-height: 120px; }
.pl-site-header__inner {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.pl-site-header__top {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
}
.pl-header-search-form {
  position: relative;
  display: flex;
  flex: 0 1 430px;
  max-width: 430px;
  margin-left: auto;
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(54, 38, 27, .07);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pl-header-search-form:focus-within {
  border-color: var(--pl-clay);
  box-shadow: 0 0 0 3px rgba(201, 110, 73, .14);
}
.pl-header-search-field {
  min-width: 0;
  width: 100%;
  padding: 9px 15px;
  color: var(--pl-ink);
}
.pl-header-search-btn {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pl-clay);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pl-header-search-btn:hover { background: var(--pl-clay-dark); transform: scale(1.03); }
.pl-header-search-btn:focus-visible { outline: 3px solid rgba(201, 110, 73, .28); outline-offset: 2px; }
.pl-header-search-form .pl-autocomplete {
  top: calc(100% + 8px);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  border-radius: 14px;
  box-shadow: var(--pl-shadow-md);
}
.pl-main-nav {
  width: 100%;
  min-height: 50px;
  border-top: 1px solid var(--pl-line);
}
.pl-main-nav ul { flex: 1; justify-content: center; }

@media (max-width: 990px) {
  .pl-header-cta { display:none; }
  .pl-article__layout { grid-template-columns:1fr; max-width:760px; margin-inline:auto; gap:24px; }
  .pl-article__aside { position:static; }
}

@media (max-width: 768px) {
  :root { --pl-header-height: 116px; }
  body.pl-menu-open { overflow:hidden; }
  .pl-site-header__top { min-height: 116px; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0; }
  .pl-site-logo img { width:178px; }
  .pl-mobile-toggle { margin-left:auto; }
  .pl-header-search-form { order:3; flex:1 0 100%; max-width:none; }
  .pl-header-search-field { padding-block:8px; }
  .pl-header-search-btn { width:38px; min-width:38px; min-height:38px; }
  .pl-main-nav { min-height:0; border-top:0; }
  .pl-main-nav.active { top:100%; padding:10px 20px 20px; max-height:calc(100vh - var(--pl-header-height)); overflow:auto; }
  .pl-main-nav.active ul { align-items:stretch; }
  .pl-main-nav.active .pl-header-cta { display:flex; margin-top:12px; }
  .pl-trust-strip__grid { grid-template-columns:1fr; padding-block:8px; }
  .pl-trust-strip__grid > div { border-right:0; border-bottom:1px solid var(--pl-line); padding:14px 0; }
  .pl-trust-strip__grid > div:last-child { border-bottom:0; }
  .pl-blog-hero__inner { align-items:flex-start; }
  .pl-blog-hero img { width:74px; height:74px; }
  .pl-article__header { margin-top:26px; }
  .pl-article__meta span + span::before { display:none; }
  .pl-article__layout { padding-top:28px; }
  .pl-article-cta { flex-direction:column; align-items:flex-start; padding:28px 24px; }
}

@media (max-width: 480px) {
  :root { --pl-header-height:112px; }
  .pl-site-header__top { min-height:112px; }
  .pl-site-logo img { width:158px; }
  .pl-hero h1 { font-size:38px; }
  .pl-blog-hero img { display:none; }
  .pl-article__header h1 { font-size:36px; }
  .pl-article__meta { flex-direction:column; }
  .pl-post-card__body { padding:20px; }
}
