/*
 * Empire PDP CRO — Base Styles v2
 * ============================================================
 */

/* ============================================================
   0. CSS VARIABLE ALIASES
   pdp.css uses --emp-* shorthand; tokens.php injects --empire-*.
   These aliases bridge the gap so all vars resolve correctly.
   ============================================================ */
:root {
  --emp-accent:       var(--empire-accent,       #D4500A);
  --emp-dark:         var(--empire-dark,          #1C1A17);
  --emp-cream:        var(--empire-cream,         #F5F2EE);
  --emp-ff-body:      var(--empire-ff-body,       'DM Sans', sans-serif);
  --emp-ff-condensed: var(--empire-ff-condensed,  'Inter', sans-serif);
  --emp-ff-heading:   var(--empire-ff-display,    'Playfair Display', Georgia, serif);
  /* Semantic tokens not in --empire-* — hardcoded fallbacks */
  --emp-text:         #1C1A17;
  --emp-text-mid:     #6B7280;
  --emp-green:        #2D7C4A;
}

/* ============================================================
   1. ABOVE-FOLD MICRO-ELEMENTS
   ============================================================ */

.empire-green-line {
  font-size: 13px;
  color: var(--emp-green);
  font-weight: 500;
  line-height: 1.4;
}

.empire-perf-sku-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 11px;
  color: var(--emp-text-mid);
  margin-bottom: 6px;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: .5px;
}
.empire-perf-sku-line__brand {
  font-weight: 700;
  color: var(--emp-accent);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.empire-perf-sku-line__brand:hover { text-decoration: underline; }
.empire-perf-sku-line__sep { color: #d1d5db; }
.empire-perf-sku-line__label { color: var(--emp-text-mid); }
.empire-perf-sku-line__sku { font-weight: 600; color: var(--emp-text-mid); }

.empire-sku {
  font-size: 11px;
  color: var(--emp-text-mid);
  line-height: 1.4;
}

.empire-trusted {
  font-size: 12px;
  color: var(--emp-text-mid);
  line-height: 1.4;
}

.empire-trusted strong {
  color: var(--emp-text);
}

/* ============================================================
   2. PRICE PERKS ROW
   ============================================================ */

.empire-price-perks {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.empire-affirm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--emp-text-mid);
  line-height: 1.4;
}

.empire-free-ship-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--emp-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  padding: 3px 7px;
  line-height: 1.4;
}

/* ============================================================
   3. BULLET LIST
   ============================================================ */

.empire-bullets {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.empire-bullet {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.empire-chk {
  color: var(--emp-green);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ============================================================
   4. FITMENT CHECKER
   ============================================================ */

.empire-fitment {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.empire-fitment__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--emp-cream);
  border: none;
  cursor: pointer;
  font-family: var(--emp-ff-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--emp-text);
  text-align: left;
}

.empire-fitment__chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.empire-fitment__trigger[aria-expanded="true"] .empire-fitment__chevron {
  transform: rotate(180deg);
}

.empire-fitment__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.empire-fitment__body--open {
  max-height: 300px;
}

.empire-fitment__selects {
  display: flex;
  gap: 8px;
  padding: 16px;
  flex-wrap: wrap;
}

.empire-fitment__select {
  flex: 1;
  min-width: 120px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: var(--emp-ff-body);
  font-size: 13px;
  color: var(--emp-text);
  background-color: #fff;
}

.empire-fitment__btn {
  padding: 8px 20px;
  background-color: var(--emp-dark);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--emp-ff-condensed);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.empire-fitment__btn:hover {
  background-color: var(--emp-green);
}

.empire-fitment__help {
  padding: 0 16px 12px;
  font-size: 12px;
  color: var(--emp-text-mid);
  line-height: 1.5;
}

.empire-fitment__help a {
  color: var(--emp-accent);
  text-decoration: underline;
}

.empire-fitment__result {
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   5. TRUST STRIP
   ============================================================ */

.empire-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin: 16px 0;
}

.empire-trust-strip__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background-color: #fff;
}

.empire-trust-strip__item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--emp-accent);
  color: var(--emp-accent);
}

.empire-trust-strip__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.empire-trust-strip__text strong {
  font-family: var(--emp-ff-condensed);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--emp-text);
}

.empire-trust-strip__text span {
  font-family: var(--emp-ff-body);
  font-size: 11px;
  color: var(--emp-text-mid);
  line-height: 1.4;
}

/* ============================================================
   6. EYEBROW LINE
   ============================================================ */

.empire-eyebrow-line {
  font-family: var(--emp-ff-condensed);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emp-accent);
  line-height: 1.3;
}

/* ============================================================
   7. FAQ ACCORDION
   ============================================================ */

.empire-faq-section {
  padding: 48px 24px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}

.empire-faq__heading {
  font-family: var(--emp-ff-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--emp-text);
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: center;
}

.empire-faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.empire-faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--emp-ff-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--emp-text);
  text-align: left;
  line-height: 1.4;
}

.empire-faq-item__q:hover {
  color: var(--emp-accent);
}

.empire-faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--emp-accent);
  transition: transform 0.2s ease;
}

.empire-faq-item--open .empire-faq-item__icon {
  transform: rotate(45deg);
}

.empire-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.empire-faq-item--open .empire-faq-item__a {
  max-height: 300px;
}

.empire-faq-item__a p,
.empire-faq-item__a {
  font-family: var(--emp-ff-body);
  font-size: 14px;
  color: var(--emp-text-mid);
  line-height: 1.6;
  padding: 0 0 16px;
  margin: 0;
}

/* ============================================================
   8. CONTEXTUAL SEO BLOCK — CENTERED
   ============================================================ */

.empire-seo-contextual {
  padding: 48px 24px;
  background: var(--emp-cream);
  /* Full-bleed */
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.empire-seo-contextual__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.empire-seo-contextual__title {
  font-family: var(--emp-ff-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--emp-text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.empire-seo-contextual__desc {
  font-family: var(--emp-ff-body);
  font-size: 15px;
  color: var(--emp-text-mid);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 20px;
}

.empire-seo-contextual__desc a {
  color: var(--emp-accent);
  text-decoration: underline;
}

.empire-seo-contextual__brand-link {
  display: inline-block;
  font-family: var(--emp-ff-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--emp-accent);
  text-decoration: none;
  margin-bottom: 32px;
  padding: 10px 24px;
  border: 2px solid var(--emp-accent);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.empire-seo-contextual__brand-link:hover {
  background: var(--emp-accent);
  color: #fff;
  text-decoration: none;
}

.empire-seo-contextual__cats-title {
  font-family: var(--emp-ff-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emp-text-mid);
  margin: 0 0 16px;
}

.empire-seo-contextual__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.empire-seo-contextual__cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: var(--emp-text);
  font-family: var(--emp-ff-body);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.empire-seo-contextual__cat-link:hover {
  border-color: var(--emp-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--emp-text);
}

.empire-seo-contextual__cat-count {
  font-size: 12px;
  font-weight: 400;
  color: var(--emp-text-mid);
}

/* ============================================================
   9. NEWSLETTER SECTION
   ============================================================ */

.empire-newsletter-section {
  background-color: var(--emp-dark);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  /* Full-bleed */
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.empire-newsletter-section h2 {
  font-family: var(--emp-ff-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
  color: #fff;
}

.empire-newsletter-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}

.empire-newsletter__form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto 8px;
}

.empire-newsletter__form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--emp-ff-body);
  font-size: 14px;
  outline: none;
}

.empire-newsletter__form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.empire-newsletter__form button {
  padding: 12px 24px;
  background-color: var(--emp-accent);
  color: var(--emp-dark);
  border: none;
  border-radius: 0 4px 4px 0;
  font-family: var(--emp-ff-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.empire-newsletter-section small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   10. GUTENBERG MEDIA-TEXT IN PDP DESCRIPTION
   Styled to match high-ticket e-commerce reference design:
   rounded images, generous spacing, clean typography.
   ============================================================ */

.woocommerce-Tabs-panel--description .wp-block-media-text {
  max-width: 100%;
  margin: 40px 0;
  gap: 40px;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-Tabs-panel--description .wp-block-media-text:nth-of-type(odd) {
  background: none;
  background: none;
}

.woocommerce-Tabs-panel--description .wp-block-media-text:nth-of-type(even) {
  background: none;
  border: none;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__media {
  overflow: hidden;
  border-radius: 12px;
  margin: 0;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__media img {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content {
  padding: 32px;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content h3,
.woocommerce-Tabs-panel--description .wp-block-media-text__content h2 {
  font-family: var(--emp-ff-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--emp-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content p {
  font-family: var(--emp-ff-body);
  font-size: 15px;
  color: var(--emp-text-mid);
  line-height: 1.7;
  margin: 0 0 12px;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content p:last-child {
  margin-bottom: 0;
}

/* Bullet lists inside media-text (checkmarks) */
.woocommerce-Tabs-panel--description .wp-block-media-text__content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--emp-text-mid);
}

.woocommerce-Tabs-panel--description .wp-block-media-text__content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emp-green);
  font-weight: 700;
  font-size: 16px;
}

/* YouTube embeds in description */
.woocommerce-Tabs-panel--description .wp-block-embed {
  margin: 40px 0;
}

.woocommerce-Tabs-panel--description .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.woocommerce-Tabs-panel--description .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Separator between description text and feature blocks */
.woocommerce-Tabs-panel--description .wp-block-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 32px 0;
}

/* ============================================================
   MOBILE / TABLETTE — Description + media-text blocks
   Breakpoint 992px = même que Shoptimizer
   Objectif : même espace latéral que FAQ (24px côtés)
   Wrapper tabs = 16px, content = 8px → total 24px (= FAQ 24px)
   ============================================================ */
@media (max-width: 992px) {
  /* Tabs panel top/bottom : réduire padding vertical */
  .woocommerce-tabs .panel {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  /* Media-text blocks : marges et gaps réduits */
  .woocommerce-Tabs-panel--description .wp-block-media-text {
    margin: 16px 0;
    gap: 0;
    border-radius: 8px;
  }
  /* Contenu texte : padding côtés = 8px → total latéral 24px (16px wrapper + 8px) */
  .woocommerce-Tabs-panel--description .wp-block-media-text__content {
    padding: 16px 8px;
  }
  .woocommerce-Tabs-panel--description .wp-block-media-text__content h3,
  .woocommerce-Tabs-panel--description .wp-block-media-text__content h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .woocommerce-Tabs-panel--description .wp-block-media-text__content p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  /* Séparateur : margin réduit */
  .woocommerce-Tabs-panel--description .wp-block-separator {
    margin: 16px 0;
  }
  /* FAQ section : mêmes 8px côtés internes → total 24px */
  .empire-faq-section {
    padding: 32px 8px;
  }
}
/*
 * Empire PDP CRO — Shoptimizer Theme Overrides
 * Scoped to single-product pages. Corrects Shoptimizer defaults
 * to match the Empire design system without touching global styles.
 * ============================================================
 */

/* ============================================================
   2. NAVIGATION BORDER
   ============================================================ */

.col-full-nav {
  border-top: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
}

/* ============================================================
   3. PAGE BACKGROUND
   ============================================================ */

.single-product .site-content .col-full {
  background-color: #f8f8f8;
}

/* ============================================================
   4. SUMMARY — CARD TREATMENT
   ============================================================ */

.single-product .product-details-wrapper .summary {
  background-color: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 28px;
}

/* ============================================================
   5. GALLERY — CARD TREATMENT
   ============================================================ */

.single-product .product-details-wrapper
  .product-gallery-summary
  .woocommerce-product-gallery {
  background-color: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px;
}

/* ============================================================
   6. PRICE ZONE — HIGHLIGHTED BOX
   ============================================================ */

.single-product .summary > .price {
  display: block;
  background-color: #f9fafb;
  border: 1px solid #eef0f4;
  border-radius: 6px;
  padding: 16px 20px;
}

/* ============================================================
   7. BREADCRUMB
   ============================================================ */

.single-product .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb {
  padding: 12px 0;
  margin-bottom: 8px;
  font-size: 13px;
}

/* ============================================================
   8. HIDE TAB NAVIGATION BAR — keep panels (content renders natively)
   ============================================================ */

.single-product ul.tabs.wc-tabs,
.single-product .cgkit-tabs-header,
.single-product .commercekit-tabs-header,
.single-product .woocommerce-tabs > ul.tabs,
div.commercekit-atc-sticky-tabs,
div.commercekit-atc-sticky-tabs.cgkit-atc-product-simple,
.commercekit-atc-sticky-tabs .commercekit-atc-tab-links,
.single-product .woocommerce-tabs ul.tabs {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Star rating orphan text after reviews panel */
.single-product .woocommerce-tabs + .star-rating,
.single-product #reviews + .star-rating {
  display: none !important;
}

.single-product section.related {
  background-color: #fff;
}

/* ============================================================
   9. RELATED PRODUCTS
   ============================================================ */

.single-product section.related {
  padding: 32px 0;
}

.single-product section.related h2 {
  font-family: var(--emp-ff-heading);
  font-weight: 800;
}

/* ============================================================
   10. ADD-TO-CART BUTTON
   ============================================================ */

.single-product .summary .single_add_to_cart_button,
.single-product .summary button.single_add_to_cart_button {
  font-family: var(--emp-ff-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Trust strip: breathing room below ATC button */
.single-product .empire-trust-strip {
  margin-top: 16px !important;
}

/* ── Gallery / Summary column split — 45% / 45% (matches grillisland) ─────── */
@media (min-width: 768px) {
  .single-product .product-details-wrapper > .images {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
  }
  .single-product .product-details-wrapper > .summary {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
  }
}

/* ============================================================
   11. HIDDEN ELEMENTS
   Suppress Shoptimizer elements not used in the Empire layout.
   ============================================================ */

.summary > .onsale,
.shoptimizer-product-prevnext,
.summary > .clear,
.product_meta,
.wc-product-meta,
#respond.comment-respond,
.comment-form,
#review_form_wrapper {
  display: none !important;
}

/* Force product-widget visible even when out-of-stock (Shoptimizer hides it) */
.single-product .product-widget { display: block !important; }

/* ============================================================
   11b. EMPIRE-DD — Payment / Shipping accordion dropdowns
   ============================================================ */
.empire-dd {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}
.empire-dd__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1C1A17;
  font-family: Inter, system-ui, sans-serif;
  text-align: left;
}
.empire-dd__toggle:hover { background: #f3f3f3; }
.empire-dd__chevron {
  font-size: 11px;
  color: #6B7280;
  transition: transform .2s;
  flex-shrink: 0;
}
.empire-dd.is-open .empire-dd__chevron { transform: rotate(180deg); }
.empire-dd__body {
  display: none;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}
.empire-dd.is-open .empire-dd__body { display: block; }

.empire-widget__row { margin-bottom: 5px; }
.empire-widget__row--head { font-weight: 600; color: #1C1A17; margin-bottom: 6px; }
.empire-widget__row--sub { color: #6B7280; font-size: 12px; margin-bottom: 3px; }
.empire-widget__row--finance { font-weight: 600; color: #1C1A17; margin-bottom: 6px; }
.empire-widget__row--divider { border-top: 1px solid #e5e7eb; margin: 12px 0; }
.empire-widget__group { margin-bottom: 4px; }
.empire-widget__trust { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e5e7eb; }
.empire-widget__trust .empire-widget__row { color: #374151; }
.empire-widget__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 10px;
}
.empire-card-badge {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #374151;
  background: #fff;
  letter-spacing: .5px;
}

/* ============================================================
   12. SPACING — TIGHTEN SUMMARY STACK
   Each element gets tight bottom margin to reduce whitespace.
   ============================================================ */

/* Product title */
.single-product .summary .product_title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 4px;
}

/* Green line (availability / tag line) */
.single-product .summary .empire-green-line {
  margin: 0 0 2px;
}

/* SKU */
.single-product .summary .empire-sku {
  margin: 0 0 8px;
}

/* Star rating / trusted line */
.single-product .summary .empire-trusted {
  margin: 0 0 4px;
}

/* Price block */
.single-product .summary > .price {
  margin-bottom: 2px;
}

/* Price perks row */
.single-product .summary .empire-price-perks {
  margin: 2px 0 8px;
}

/* Stock indicator */
.single-product .summary .stock {
  font-size: 13px;
  margin: 4px 0 8px;
}

/* Short description */
.single-product .summary .woocommerce-product-details__short-description {
  margin-bottom: 2px;
}

/* ============================================================
   13. INVENTORY BAR
   ============================================================ */

.single-product .summary .empire-inventory-bar {
  font-size: 12px;
  margin-top: 8px;
}

/* ============================================================
   14. CALL-BACK / CALLBACK FEATURE BLOCK
   ============================================================ */

.single-product .summary .empire-callback {
  margin-top: 16px;
}

/* ============================================================
   15. BELOW-FOLD CONTAINERS — CONSTRAINED WIDTH
   Logos, reviews, FAQ, searches, and SEO sections share a
   centered max-width container with horizontal padding.
   ============================================================ */

.empire-logos-section,

.empire-faq-section,

.empire-seo-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Consistent vertical breathing room between below-fold sections */
.empire-seo-contextual,

.empire-faq-section,

.empire-seo-section,

.empire-categories-section,
.empire-newsletter-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

/* Collapse gap between tabs and the logos section directly below */
.single-product .woocommerce-tabs + .empire-logos-section {
  margin-top: 0;
}

/* ============================================================
   16. DARK FULL-BLEED SECTIONS
   Steps, categories, and newsletter break out of the content
   column to span the full viewport width.
   The calc(-50vw + 50%) trick works when the parent is centered
   and has no overflow:hidden ancestor — valid for Shoptimizer.
   ============================================================ */

.empire-steps,

.empire-newsletter-section {
  /* Break out of the centered Shoptimizer col-full container */
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  /* Ensure inner content is readable */
  position: relative;
}

/* ============================================================
   17. FOOTER COPYRIGHT — MATCH FOOTER BACKGROUND
   The copyright paragraph rendered below the footer can have a
   mismatched background. Force it to the same dark tone.
   ============================================================ */

footer.copyright {
  background-color: #111 !important;
  color: #999 !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  line-height: 1.4 !important;
}
footer.copyright .col-full {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 20px !important;
  min-height: 0 !important;
}
footer.copyright .widget {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
footer.copyright #text-15,
footer.copyright .widget img {
  display: none !important;
}
footer.copyright .textwidget,
footer.copyright .textwidget p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  color: #777 !important;
  line-height: 1.4 !important;
}

/* Auto-template copyright widget — inherits footer bg, no separate block */
.footer-copyright-widget {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  border-top: none !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
.footer-copyright-widget .textwidget,
.footer-copyright-widget .textwidget p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.5 !important;
}
.footer-copyright-widget a {
  color: rgba(255,255,255,0.5) !important;
}

/* ============================================================
   18. DESCRIPTION SECTION (replaces tabs)
   ============================================================ */

.empire-desc-section {
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.empire-desc__title {
  font-family: var(--emp-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--emp-text);
  margin: 0 0 16px;
}
.empire-desc__content {
  font-family: var(--emp-ff-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--emp-text-mid);
}
.empire-desc__content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

/* ── Feature blocks: wp-block-media-text inside empire-desc__features ── */

/* Grid: 42% image, 58% text — tighter image column keeps text readable */
.empire-desc__features .wp-block-media-text {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
  align-items: stretch;   /* both columns same height */
  margin: 0 0 2px;
  border-bottom: 1px solid #f0f2f5;
}
.empire-desc__features .wp-block-media-text:last-child {
  border-bottom: none;
}

/* Image right: flip column order */
.empire-desc__features .wp-block-media-text.has-media-on-the-right {
  grid-template-columns: 58% 42%;
}

/* Image: fixed height + cover so portrait/landscape both work */
.empire-desc__features .wp-block-media-text__media {
  overflow: hidden;
  margin: 0;
}
.empire-desc__features .wp-block-media-text__media img,
.empire-desc__features .wp-block-media-text__media .empire-feat-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0;
  border-radius: 0;
}
/* Round corners on outer edges only */
.empire-desc__features .wp-block-media-text:first-child .wp-block-media-text__media img {
  border-radius: 8px 0 0 0;
}
.empire-desc__features .wp-block-media-text:last-child .wp-block-media-text__media img {
  border-radius: 0 0 0 8px;
}
.empire-desc__features .wp-block-media-text.has-media-on-the-right:first-child .wp-block-media-text__media img {
  border-radius: 0 8px 0 0;
}
.empire-desc__features .wp-block-media-text.has-media-on-the-right:last-child .wp-block-media-text__media img {
  border-radius: 0 0 8px 0;
}

/* Text panel: centred vertically, padded, capped to image height */
.empire-desc__features .wp-block-media-text__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
  max-height: 360px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
/* Odd rows: light warm background */
.empire-desc__features .wp-block-media-text:nth-child(odd) .wp-block-media-text__content {
  background: var(--emp-cream, #f8f8f8);
}

/* Heading */
.empire-desc__features .wp-block-media-text__content .wp-block-heading,
.empire-desc__features .wp-block-media-text__content h3 {
  font-family: var(--emp-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--emp-text, #111);
  margin: 0 0 10px;
  line-height: 1.3;
}

/* Body text */
.empire-desc__features .wp-block-media-text__content p {
  font-family: var(--emp-ff-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--emp-text-mid, #555);
  margin: 0;
  overflow: hidden;
  /* Clamp to ~7 visible lines so text never overflows image height */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

/* Feature list */
.empire-desc__features .wp-block-media-text__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.empire-desc__features .wp-block-media-text__content ul li {
  font-family: var(--emp-ff-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--emp-text-mid, #555);
  padding-left: 16px;
  position: relative;
}
.empire-desc__features .wp-block-media-text__content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emp-accent, #D4500A);
  font-weight: 700;
  font-size: 12px;
  top: 1px;
}
.empire-desc__features .wp-block-media-text__content ul li strong {
  color: var(--emp-text, #111);
}

/* Outer wrapper border */
.empire-desc__features {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  overflow: hidden;
}

/* Mobile: stack image above text */
@media (max-width: 768px) {
  .empire-desc__features .wp-block-media-text,
  .empire-desc__features .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .empire-desc__features .wp-block-media-text.has-media-on-the-right {
    direction: ltr;
  }
  /* On mobile, image always on top */
  .empire-desc__features .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    order: -1;
  }
  .empire-desc__features .wp-block-media-text__media img,
  .empire-desc__features .wp-block-media-text__media .empire-feat-img {
    height: 260px;
    border-radius: 0 !important;
  }
  .empire-desc__features .wp-block-media-text__content {
    max-height: none;
    padding: 20px 16px;
  }
  .empire-desc__features .wp-block-media-text__content p {
    -webkit-line-clamp: unset;
  }
}

/* ============================================================
   19. HIDE RELATED PRODUCTS DUPLICATE HEADING
   ============================================================ */

.single-product .related.products {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
}
.single-product .related.products h2 {
  font-family: var(--emp-ff-heading) !important;
  font-weight: 700 !important;
  font-size: 22px !important;
}

/* ============================================================
   SPACING AUDIT FIXES — PDP 8px Grid System
   ============================================================ */

/* --- P1: CRITICAL — Above the Fold --- */

/* Summary container — 28px → 32px */
.summary.entry-summary {
  padding: 32px !important;
}

/* H1 title — 2px → 8px bottom */
.product_title {
  margin-bottom: 8px !important;
  padding-right: 48px;
}

/* Green line subtitle — 2px → 4px */
.empire-green-line {
  margin-bottom: 4px;
}

/* Price block — border-radius consistency */
.summary .price {
  border-radius: 8px;
  margin-bottom: 0;
}

/* Discount badge — snap to grid */
.summary .sale-item.product-label {
  margin-left: 8px;
  padding: 4px 8px;
}

/* Price perks — snap top margin */
.empire-price-perks {
  margin-top: 4px;
}

/* Affirm icon gap — 5px → 4px */
.empire-affirm {
  gap: 4px;
}

/* Free shipping badge — snap padding */
.empire-free-ship-badge {
  padding: 4px 8px;
}

/* Description — clean 12px margin */
.woocommerce-product-details__short-description {
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

/* Trust line — more room */
.empire-trusted {
  margin-top: 4px;
  margin-bottom: 8px;
}

/* Stock status — snap to grid */
.stock.in-stock {
  margin: 8px 0 !important;
  padding-top: 12px !important;
}

/* Bullet points — 4px → 8px */
.empire-bullets {
  gap: 8px;
}

/* Trust strip text gap — 1px → 2px */
.empire-trust-strip__text {
  gap: 2px;
}

/* --- P2: MODERATE --- */

/* Fitment checker bottom margin */
.empire-fitment {
  margin-bottom: 8px;
}

/* Wishlist — snap spacing */
.commercekit-wishlist {
  margin: 0 0 16px 0 !important;
}

/* Urgency — snap spacing */
.commercekit-inventory {
  margin-bottom: 16px !important;
}

/* Sticky ATC bar — round height */
.commercekit-sticky-add-to-cart {
  height: 56px;
  padding: 0 24px;
}

/* FAQ heading — 20px → 24px */
.empire-faq__heading {
  margin-bottom: 24px;
}

/* Review card — snap gap + padding */
.empire-review-card {
  gap: 8px;
  padding: 24px;
}

/* Category card gap — 2px → 4px */
.empire-cat-card {
  gap: 4px;
}

/* --- P3: MINOR — Below-fold polish --- */

/* Consistent 24px horizontal padding (was 20px) */
.empire-faq-section,

.empire-searches-section,
.empire-faq-section {
  padding-left: 24px;
  padding-right: 24px;
}

/* Brand marquee — 20px → 24px */
.empire-logos-section {
  padding: 24px;
}

/* Search tags — snap padding */
.empire-search-tag {
  padding: 8px 16px;
}

/* Tab content — round fractional values */
.woocommerce-Tabs-panel--description {
  margin-left: 48px;
  margin-right: 48px;
  padding: 24px 40px;
}
.woocommerce-tabs {
  padding: 0 40px 40px;
}
/* Mobile : reset des marges/padding excessifs de la description */
@media (max-width: 992px) {
  .woocommerce-Tabs-panel--description {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .woocommerce-tabs {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Fitment help — round fractional */
.empire-fitment__help {
  margin-bottom: 16px;
}

/* Newsletter bottom margin */
.empire-newsletter-section {
  margin-bottom: 48px;
}

/* ============================================================
   GET NOTIFIED (ckwtl-button3) — Sous qty+ATC (produits OOS)
   CommerceKit wraps qty+ATC dans .commercekit-sticky-atc-intersector
   ckwtl-button3 est inséré par CK JS — on le place APRÈS l'ATC via order:2
   En stock : ckwtl-button3 = display:none → qty|ATC côte à côte normal
   ============================================================ */
.single-product .commercekit-sticky-atc-intersector {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.single-product .commercekit-sticky-atc-intersector .quantity {
  order: 0;
  float: none !important;
}
.single-product .commercekit-sticky-atc-intersector .single_add_to_cart_button {
  order: 1;
  float: none !important;
  flex: 1;
}
.single-product .commercekit-sticky-atc-intersector #ckwtl-button3 {
  order: 2;
  flex: 0 0 100%;
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  height: auto !important;
  padding: 14px 24px;
  margin-top: 4px;
  border-radius: 6px;
}


/* =====================================================================
   SECTION 1 HERO — JSON-driven content (extractive, in-the-box, offer stack, guarantee)
   ===================================================================== */

/* Extractive answer 40w — juste sous le H1 */
.empire-extractive-answer {
  font-size: 15px;
  line-height: 1.55;
  color: var(--emp-text-mid, #555);
  margin: 8px 0 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
  font-weight: 400;
}

/* Hook headline — jstmattx: parle au cerveau émotionnel, pas aux specs */
.empire-extractive-answer--hook {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  color: var(--emp-dark, #1C1A17);
  border-bottom: none;
  padding: 4px 0 12px;
  margin: 4px 0 12px;
}

/* Icon bullets */
.empire-bullets--icons .empire-bullet {
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}
.empire-bullet__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--emp-accent-soft, rgba(232,93,4,0.08));
  border-radius: 6px;
  flex-shrink: 0;
}
.empire-bullet__icon svg {
  color: var(--emp-accent, #E85D04);
  stroke: var(--emp-accent, #E85D04);
}

/* In the box mini list */
.empire-in-the-box {
  margin: 16px 0;
  padding: 16px 20px;
  background: var(--emp-cream, #f8f8f8);
  border-radius: 8px;
  border-left: 3px solid var(--emp-accent, #D4500A);
}
.empire-in-the-box__title {
  font-family: var(--emp-ff-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--emp-text, #111);
  margin: 0 0 8px;
}
.empire-in-the-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--emp-text-mid, #555);
}
.empire-in-the-box__list li {
  padding: 3px 0 3px 18px;
  position: relative;
}
.empire-in-the-box__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emp-accent, #D4500A);
  font-weight: 700;
}

/* Offer stack (above ATC) */
.empire-offer-stack {
  margin: 12px 0;
  padding: 14px 16px;
  background: #fffaf5;
  border: 1px solid var(--emp-accent, #D4500A);
  border-radius: 8px;
}
.empire-offer__bonuses {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.empire-offer__bonuses li {
  font-size: 13px;
  color: var(--emp-text, #111);
  font-weight: 600;
}
.empire-offer__condition {
  font-weight: 400;
  color: var(--emp-text-mid, #555);
  font-size: 12px;
}
.empire-offer__urgency {
  font-size: 13px;
  font-weight: 600;
  color: var(--emp-accent, #D4500A);
  padding-top: 10px;
  border-top: 1px dashed rgba(212, 80, 10, 0.3);
}

/* Guarantee ribbon under ATC */
.empire-guarantee-ribbon {
  display: block;
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-size: 13px;
  color: #14532d;
  text-align: center;
  font-weight: 500;
}

/* ============================================================
   BANDE BLANCHE FIX — collapse gaps between seo-contextual,
   related categories, newsletter and footer
   ============================================================ */

.empire-seo-contextual,
.empire-categories-section,
.empire-seo-section {
  margin-bottom: 0 !important;
}
.empire-newsletter-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.empire-newsletter-section + footer,
.empire-newsletter-section ~ footer.site-footer {
  margin-top: 0 !important;
}

/* ============================================================
   MOBILE TOPBAR — force visible (theme hides it .hide-on-mobile)
   ============================================================ */

@media (max-width: 992px) {
  .col-full.topbar-wrapper.hide-on-mobile,
  .col-full.topbar-wrapper {
    display: block !important;
    visibility: visible !important;
    background-color: #16213E !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
  .col-full.topbar-wrapper .top-bar,
  .col-full.topbar-wrapper .widget,
  .col-full.topbar-wrapper * {
    color: #ffffff !important;
  }
  .col-full.topbar-wrapper .textwidget {
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

/* ============================================================
   SPECS ACCORDION — Section 6 Full Specs (hidden by default)
   Just Matt Step 5: specs justify the emotion but don't block
   the quick buyer. SEO content stays in the DOM.
   ============================================================ */

.empire-specs-accordion {
  margin: 24px 0 0;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.empire-specs-accordion[open] {
  background: var(--emp-cream, #f8f8f8);
}

.empire-specs-accordion__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--emp-ff-heading);
  font-weight: 700;
  color: var(--emp-text, #111);
  transition: background 0.15s;
  user-select: none;
}
.empire-specs-accordion__summary::-webkit-details-marker { display: none; }
.empire-specs-accordion__summary:hover {
  background: var(--emp-cream, #f8f8f8);
}
.empire-specs-accordion[open] .empire-specs-accordion__summary {
  border-bottom: 1px solid #e8eaed;
}

.empire-specs-accordion__label {
  font-size: 16px;
  font-weight: 700;
}
.empire-specs-accordion__count {
  font-size: 12px;
  font-weight: 400;
  color: var(--emp-text-mid, #555);
  font-family: var(--emp-ff-body);
}
.empire-specs-accordion__chevron {
  margin-left: auto;
  font-size: 12px;
  color: var(--emp-text-mid, #555);
  transition: transform 0.25s;
}
.empire-specs-accordion[open] .empire-specs-accordion__chevron {
  transform: rotate(180deg);
}

.empire-specs-accordion__body {
  padding: 16px 24px 24px;
}
.empire-specs-accordion__body .empire-specs-group-title:first-child {
  margin-top: 8px;
}
.empire-specs-accordion__body .empire-specs-table {
  margin-bottom: 16px;
}
.empire-specs-accordion__body .empire-specs-table:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .empire-specs-accordion__summary {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .empire-specs-accordion__count {
    flex-basis: 100%;
    order: 3;
  }
  .empire-specs-accordion__chevron {
    order: 2;
  }
  .empire-specs-accordion__body {
    padding: 12px 16px 20px;
  }
}


/* ============================================================
   PDP SECTIONS v2 — Shopify-style (Dawn / Impact / Focal inspired)
   Generous whitespace, contained 1200px, alternating bg, big imagery.
   Replaces the old Just Matt funnel sections (recognition/dream/enemy/
   proof/upsell/final-cta) with 4 clean sections: description, highlights,
   features (3 alternated blocks), specs (accordion).
   ============================================================ */

.empire-pdp-sections {
  max-width: none;
  padding: 0;
  margin: 0;
}

.empire-sec {
  padding: 80px 0;
  background: #fff;
}
.empire-sec:nth-child(even) {
  background: var(--emp-cream, #f8f8f8);
}
.empire-sec--feature-right {
  background: var(--emp-cream, #f8f8f8);
}

.empire-sec__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.empire-sec__h2 {
  font-family: var(--emp-ff-heading, 'Playfair Display', serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--emp-text, #111);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.empire-sec__lead {
  font-family: var(--emp-ff-body, 'DM Sans', sans-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--emp-text-mid, #555);
  margin: 0;
  max-width: 680px;
}

/* ---------- Section — Description (centered intro) ---------- */
.empire-sec--desc .empire-sec__container {
  text-align: center;
  max-width: 820px;
}
.empire-sec--desc .empire-sec__lead {
  margin: 0 auto;
  font-size: 18px;
}

/* ---------- Section — Highlights (4 icon tiles) ---------- */
.empire-sec--highlights {
  padding: 60px 0;
}
.empire-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.empire-highlight {
  text-align: center;
  padding: 16px;
}
.empire-highlight__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.empire-highlight__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--emp-accent, #D4500A);
  stroke-width: 1.5;
  fill: none;
}
.empire-highlight__label {
  font-family: var(--emp-ff-heading, 'Playfair Display', serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--emp-text, #111);
  line-height: 1.3;
}

/* ---------- Section — Features (3 alternated image-text blocks) ---------- */
.empire-sec--feature {
  padding: 100px 0;
}
.empire-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.empire-sec--feature-right .empire-feature-grid {
  direction: rtl;
}
.empire-sec--feature-right .empire-feature-grid > * {
  direction: ltr;
}
.empire-feature__media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empire-feature__media img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.empire-feature__body .empire-sec__h2 {
  margin-bottom: 18px;
}

/* ---------- Section — Specs (quick specs + accordion) ---------- */
.empire-sec--specs {
  padding: 80px 0;
}
.empire-sec--specs .empire-sec__container {
  max-width: 960px;
}
/* Existing .empire-specs-accordion* styling (defined above) is reused. */

/* Quick specs — always-visible headline EAV (pulled from grouped data) */
.empire-quick-specs {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: #fafaf7;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
}
.empire-quick-specs__title {
  font-family: var(--emp-ff-heading, 'Playfair Display', serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: #111;
  text-transform: none;
}
.empire-quick-specs__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
}
.empire-quick-specs__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.08);
}
.empire-quick-specs__row:last-child,
.empire-quick-specs__row:nth-last-child(2) {
  border-bottom: none;
}
.empire-quick-specs__row dt {
  font-family: var(--emp-ff-body, 'Inter', system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
}
.empire-quick-specs__row dd {
  margin: 0;
  font-family: var(--emp-ff-body, 'Inter', system-ui, sans-serif);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #111;
}

/* ---------- Mobile (≤ 900px) ---------- */
@media (max-width: 900px) {
  .empire-sec {
    padding: 56px 0;
  }
  .empire-sec--feature {
    padding: 64px 0;
  }
  .empire-sec--highlights {
    padding: 48px 0;
  }
  .empire-sec--specs {
    padding: 56px 0;
  }
  .empire-sec__container {
    padding: 0 20px;
  }
  .empire-sec__h2 {
    font-size: 26px;
  }
  .empire-sec__lead {
    font-size: 15px;
  }
  .empire-sec--desc .empire-sec__lead {
    font-size: 16px;
  }
  .empire-feature-grid,
  .empire-sec--feature-right .empire-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }
  .empire-feature__media img {
    max-height: 360px;
  }
  .empire-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .empire-highlight__icon {
    width: 48px;
    height: 48px;
  }
  .empire-highlight__icon svg {
    width: 24px;
    height: 24px;
  }
  .empire-quick-specs {
    padding: 18px 18px;
  }
  .empire-quick-specs__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   PDP SECTIONS v2 — Optional alternative sections
   (ticker, stats, fits, use-cases, promise, featured review)
   ============================================================ */

/* --- Ticker banner --- */
.empire-sec--ticker {
  padding: 0 !important;
  background: var(--emp-accent, #D4500A) !important;
  overflow: hidden;
}
.empire-ticker {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
}
.empire-ticker__track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: empire-ticker-scroll 40s linear infinite;
  /* No padding-left hack — the duplicated items below create the seamless loop,
     and the -50% translate keeps the second copy always visible as the first slides out. */
  will-change: transform;
}
.empire-ticker__item {
  color: #fff;
  font-family: var(--emp-ff-heading, sans-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empire-ticker__sep {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
}
@keyframes empire-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .empire-ticker__track {
    animation: none;
    padding-left: 0;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- Stats row --- */
.empire-sec--stats {
  padding: 80px 0;
  background: var(--emp-dark, #1c1a17) !important;
  color: #fff;
}
.empire-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}
.empire-stats-grid[data-count="4"] {
  grid-template-columns: repeat(4, 1fr);
}
.empire-stat {
  text-align: center;
}
.empire-stat__number {
  font-family: var(--emp-ff-heading, serif);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--emp-accent, #D4500A);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.empire-stat__label {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
@media (max-width: 768px) {
  .empire-sec--stats { padding: 56px 0; }
  .empire-stats-grid,
  .empire-stats-grid[data-count="4"] {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .empire-stat__number { font-size: 56px; }
}

/* --- Fits your kitchen --- */
.empire-sec--fits {
  padding: 80px 0;
  background: #fff;
}
.empire-fits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.empire-fits__diagram {
  margin: 0;
  padding: 24px;
  background: var(--emp-cream, #f8f8f8);
  border-radius: 12px;
}
.empire-fits__diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.empire-fits__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.empire-fits__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--emp-text-mid, #555);
}
.empire-fits__checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--emp-accent, #D4500A);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.empire-fits__checklist--solo {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 0;
}
.empire-fits__checklist--solo li {
  font-size: 17px;
}
/* Center heading + intro of the fits section to match the centered checklist */
.empire-sec--fits .empire-sec__container { text-align: center; }
.empire-sec--fits .empire-sec__lead { max-width: 640px; margin: 0 auto 24px; }
.empire-sec--fits .empire-fits__checklist--solo { text-align: left; }
@media (max-width: 768px) {
  .empire-sec--fits { padding: 56px 0; }
  .empire-fits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Use cases / what you can cook --- */
.empire-sec--use-cases {
  padding: 80px 0;
  background: var(--emp-cream, #f8f8f8);
}
.empire-sec--use-cases .empire-sec__container {
  text-align: center;
}
.empire-sec--use-cases .empire-sec__h2 {
  margin-bottom: 12px;
}
.empire-sec--use-cases .empire-sec__lead {
  margin: 0 auto 40px;
}
.empire-use-cases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.empire-use-cases-grid > .empire-use-case {
  flex: 0 1 160px;
  min-width: 140px;
}
.empire-use-case {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  background: #fff;
  border-radius: 12px;
}
.empire-use-case__icon {
  font-size: 40px;
  line-height: 1;
}
.empire-use-case__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--emp-text, #111);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .empire-use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .empire-sec--use-cases { padding: 56px 0; }
  .empire-use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Promise / brand pledge --- */
.empire-sec--promise {
  padding: 100px 0;
  background: var(--emp-dark, #1c1a17) !important;
  color: #fff;
}
.empire-sec--promise .empire-sec__h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.empire-sec--promise .empire-sec__lead {
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 680px;
}
.empire-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.empire-promise__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.empire-promise__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emp-accent, #D4500A);
}
.empire-promise__icon svg {
  width: 22px;
  height: 22px;
}
.empire-promise__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.empire-promise__body strong {
  font-family: var(--emp-ff-heading, serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.empire-promise__body span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .empire-promise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .empire-promise-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .empire-sec--promise { padding: 64px 0; }
}

/* --- Featured review --- */
.empire-sec--featured-review {
  padding: 80px 0;
  background: #fff;
}
.empire-featured-review {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: var(--emp-cream, #f8f8f8);
  border-radius: 16px;
}
.empire-featured-review__stars {
  font-size: 22px;
  color: #fbbf24;
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.empire-featured-review__quote {
  font-family: var(--emp-ff-heading, serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--emp-text, #111);
  margin: 0 0 32px;
  font-style: italic;
  font-weight: 500;
  quotes: none;
}
.empire-featured-review__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.empire-featured-review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--emp-accent, #D4500A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--emp-ff-heading, serif);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.empire-featured-review__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.empire-featured-review__meta {
  text-align: left;
}
.empire-featured-review__meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--emp-text, #111);
}
.empire-featured-review__meta span {
  display: block;
  font-size: 13px;
  color: var(--emp-text-mid, #555);
}
@media (max-width: 768px) {
  .empire-sec--featured-review { padding: 56px 0; }
  .empire-featured-review {
    padding: 32px 24px;
  }
  .empire-featured-review__quote {
    font-size: 18px;
  }
}

/* ============================================================
   MOBILE PADDING GLOBAL — breathing room (user: "tout est collé
   à gauche, pas de petite marge"). Force horizontal padding
   across sections + hero + Shoptimizer container on mobile.
   ============================================================ */

@media (max-width: 900px) {
  /* Shoptimizer col-full container — tight 12px default → 20px */
  .single-product .col-full,
  .single-product .site-content .col-full {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Product details wrapper (hero row) — more breathing room */
  .single-product .product-details-wrapper {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* Hero summary column — safe inner padding */
  .single-product .summary.entry-summary {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* PDP sections v2 container — bump from 20px → 24px on mobile */
  .empire-pdp-sections .empire-sec__container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /* In-the-box, offer stack, guarantee ribbon — inherit but add safety */
  .empire-in-the-box,
  .empire-offer-stack,
  .empire-guarantee-ribbon {
    margin-left: 4px !important;
    margin-right: 4px !important;
  }
  /* Dropdown widgets — safer padding on container */
  .single-product .summary .product-widget .empire-dd {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* Ticker banner stays full-bleed intentionally */
  .empire-sec--ticker .empire-sec__container,
  .empire-sec--ticker {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  /* Even tighter viewports (iPhone SE etc) — maintain 20px minimum */
  .empire-pdp-sections .empire-sec__container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .single-product .col-full,
  .single-product .site-content .col-full {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/*
 * Empire PDP CRO — Mobile Responsive Styles
 * ============================================================
 */

@media (max-width: 992px) {

  /* ============================================================
     DESCRIPTION TAB + TABS WRAPPER
     Problème : pdp-overrides.css ajoute margin: 0 48px + padding: 24px 40px
     sur .woocommerce-Tabs-panel--description et padding: 0 40px sur .woocommerce-tabs
     → sur mobile ça crée 88px de marge latérale !
     Fix : reset à 0, seul le wrapper Shoptimizer (16px) fournit l'espace latéral
     ============================================================ */
  .woocommerce-Tabs-panel--description {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .woocommerce-tabs {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Tab panel vertical padding réduit */
  .woocommerce-tabs .panel {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* ============================================================
     MEDIA-TEXT BLOCKS — stack + espacement cohérent
     Espace latéral : wrapper 16px + content 8px = 24px (= FAQ)
     ============================================================ */
  .woocommerce-Tabs-panel--description .wp-block-media-text {
    grid-template-columns: 1fr !important;
    gap: 0;
    margin: 16px 0;
    border-radius: 8px;
  }

  .woocommerce-Tabs-panel--description .wp-block-media-text__content {
    padding: 16px 8px;
  }

  .woocommerce-Tabs-panel--description .wp-block-media-text__content h3,
  .woocommerce-Tabs-panel--description .wp-block-media-text__content h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .woocommerce-Tabs-panel--description .wp-block-media-text__content p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* Image arrondie en haut seulement quand empilée */
  .woocommerce-Tabs-panel--description .wp-block-media-text__media img {
    border-radius: 8px 8px 0 0;
  }

  /* Bloc image-à-droite : mettre l'image en premier sur mobile */
  .woocommerce-Tabs-panel--description .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    order: -1;
  }
  .woocommerce-Tabs-panel--description .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media img {
    border-radius: 8px 8px 0 0;
  }

  /* Séparateur */
  .woocommerce-Tabs-panel--description .wp-block-separator {
    margin: 12px 0;
  }

  /* ============================================================
     AUTRES SECTIONS MOBILE
     ============================================================ */
  .empire-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .empire-fitment__selects {
    flex-direction: column;
  }

  .empire-fitment__select {
    min-width: unset;
    width: 100%;
  }

  .empire-fitment__btn {
    width: 100%;
    text-align: center;
  }

  .empire-newsletter-section {
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
    max-width: none;
    padding: 36px 20px;
  }

  .empire-newsletter__form {
    flex-direction: column;
    gap: 0;
  }

  .empire-newsletter__form input[type=email] {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }

  .empire-newsletter__form button {
    border-radius: 0 0 4px 4px;
    width: 100%;
  }

  .empire-price-perks {
    gap: 8px;
  }

  /* FAQ — même espace que le reste (wrapper 16px + section 8px = 24px) */
  .empire-faq-section {
    padding: 32px 8px;
  }

  /* SEO contextual — full bleed sur mobile */
  .empire-seo-contextual {
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
    max-width: none;
    padding: 32px 20px;
  }

  .empire-seo-contextual__cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .empire-seo-contextual__cat-link {
    padding: 12px 8px;
    font-size: 13px;
  }
}

/* ========== LEARNING CENTER ========== */
.empire-learning-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #F8F6F3;
  border: 1px solid #EDE9E4;
  border-radius: 10px;
  padding: 32px;
  margin: 32px 0;
}
.empire-lc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1C1A17;
  margin: 0 0 16px;
}
.empire-lc-title svg { color: var(--empire-accent, #E85D04); stroke: var(--empire-accent, #E85D04); flex-shrink: 0; }
.empire-lc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.empire-lc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--empire-accent, #E85D04);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s;
}
.empire-lc-list a:hover { background: rgba(232,93,4,0.06); }
.empire-lc-list svg { flex-shrink: 0; opacity: 0.7; }
.empire-lc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--empire-accent, #E85D04);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: auto;
}

/* ========== GUARANTEE SECTION ========== */
.empire-guarantee-section {
  background: #1C1A17;
  border-radius: 10px;
  padding: 40px;
  margin: 32px 0;
}
.empire-guarantee-inner { max-width: 100%; }
.empire-guarantee-header { margin-bottom: 28px; }
.empire-guarantee-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.empire-guarantee-lead {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.empire-guarantee-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.empire-guarantee-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 16px;
}
.empire-guarantee-icon { display: block; }
.empire-guarantee-icon svg { color: var(--empire-accent, #E85D04); stroke: var(--empire-accent, #E85D04); }
.empire-guarantee-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.empire-guarantee-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .empire-learning-center { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .empire-guarantee-items { grid-template-columns: 1fr; gap: 12px; }
  .empire-guarantee-section { padding: 24px 20px; }
}
