/* Global page structure */
.elementor-page .site-main {
  background: var(--ar-cream);
}

.ar-page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px;
}

.ar-hero {
  background: linear-gradient(130deg, rgba(26, 26, 26, 0.76), rgba(26, 26, 26, 0.35)),
    url("/wp-content/uploads/2026/05/Decouvrez-nos-assortiments-2500-x-150-px-2.png")
      center / cover no-repeat;
  border-radius: 10px;
  color: #fff;
  padding: 96px 64px;
}

.ar-hero h1,
.ar-hero h2 {
  color: #fff;
  margin: 0 0 16px;
}

.ar-hero p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 30px;
}

.ar-btn {
  display: inline-block;
  background: var(--ar-red);
  border: 1px solid var(--ar-red);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 12px;
  padding: 14px 26px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.ar-btn:hover,
.ar-btn:focus {
  background: var(--ar-red-dark);
  border-color: var(--ar-red-dark);
  color: #fff;
}

.ar-section-title {
  margin-bottom: 20px;
  font-size: 44px;
}

.ar-kicker {
  color: var(--ar-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 12px;
}

.ar-card {
  background: #fff;
  border: 1px solid #e8e2db;
  border-radius: 8px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.05);
}

.ar-card h3 {
  margin-top: 0;
  font-size: 28px;
}

.ar-card p:last-child {
  margin-bottom: 0;
}

.ar-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ar-info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e5dfd8;
}

.ar-info-list li:last-child {
  border-bottom: 0;
}

.ar-highlight {
  color: var(--ar-green);
  font-weight: 700;
}

.ar-woo-strip {
  background: var(--ar-red);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  margin: 20px 0 0;
}

@media (max-width: 1024px) {
  .ar-page-wrap {
    padding: 38px 16px;
  }

  .ar-hero {
    padding: 64px 24px;
  }

  .ar-section-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .ar-page-wrap {
    padding: 28px 14px;
  }

  .ar-hero {
    padding: 40px 18px;
  }

  .ar-hero p {
    font-size: 16px;
  }

  .ar-section-title {
    font-size: 30px;
  }
}

/* Header */
.ar-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #ece5dd;
}

.ar-site-header .ar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.ar-topbar {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid #f0e8e0;
}

.ar-topbar .ar-phone {
  color: var(--ar-red);
  font-weight: 700;
  text-decoration: none;
}

.ar-mainbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.ar-logo {
  text-align: center;
}

.ar-logo img {
  height: 86px;
  width: auto;
}

.ar-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.ar-search {
  border: 1px solid #dfd7ce;
  border-radius: 4px;
  height: 38px;
  width: 260px;
  padding: 0 12px;
}

.ar-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 50%;
  border: 1px solid #dfd7ce;
  color: #222;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-cat-nav {
  border-top: 1px solid #f0e8e0;
  border-bottom: 1px solid #f0e8e0;
}

.ar-cat-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 44px;
  display: flex;
  gap: 24px;
  align-items: center;
  overflow-x: auto;
}

.ar-cat-nav a {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 900;
  color: var(--ar-black);
  text-decoration: none;
}

.ar-cat-nav a:hover {
  color: var(--ar-red);
}

/* Footer */
.ar-site-footer {
  background: #111;
  color: #f1ede8;
  border-top: 4px solid var(--ar-red);
}

.ar-site-footer .ar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 22px;
}

.ar-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.ar-site-footer h4 {
  margin: 0 0 10px;
  color: #fff;
}

.ar-site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ar-site-footer li {
  margin-bottom: 8px;
}

.ar-site-footer a {
  color: #f1ede8;
  text-decoration: none;
}

.ar-site-footer a:hover {
  color: #fff;
}

.ar-footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 14px;
}

.ar-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ar-footer-social__link svg {
  width: 18px;
  height: 18px;
}

.ar-footer-social__link--facebook:hover,
.ar-footer-social__link--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.ar-footer-social__link--instagram:hover,
.ar-footer-social__link--instagram:focus-visible {
  background: #e4405f;
  border-color: #e4405f;
}

.ar-footer-social__link--youtube:hover,
.ar-footer-social__link--youtube:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
}

.ar-footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 24px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* WooCommerce buttons and controls (safe overrides only) */
.single-product .single_add_to_cart_button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--ar-red) !important;
  border: 1px solid var(--ar-red) !important;
  color: #fff !important;
}

.single-product .single_add_to_cart_button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--ar-red-dark) !important;
  border-color: var(--ar-red-dark) !important;
}

/* Header dimension normalization for active vdp header */
.vdp-header__logo img {
  height: 86px !important;
  max-width: 138px !important;
}

.vdp-header__phone {
  font-size: clamp(16px, 1.3vw, 20px) !important;
}

.vdp-header__main-row {
  gap: 16px !important;
}

/* Hide top secondary links in AR header */
.ar-lh-nav-top {
  display: none !important;
}

/* Product cards: stable dimensions */
.woocommerce.ar-lascours-shortcode-wrap ul.products li.product.ar-lascours-shortcode-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
  min-height: 0;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-inner img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Single product sheet: balanced media/text dimensions */
.ar-lascours-sheet {
  max-width: 1240px;
  margin: 0 auto;
}

.ar-lascours-hero {
  align-items: stretch;
}

.ar-lascours-hero-photo-inner > img {
  width: 100%;
  max-height: min(64vh, 620px);
  object-fit: cover;
}

#ar-cut-request-wrap {
  margin-top: 18px;
}

/* Contact page form block */
.ar-contact-form {
  background: #fff;
  border: 1px solid #e7ddd4;
  border-radius: 8px;
  padding: 24px;
}

.ar-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ar-contact-form input,
.ar-contact-form select,
.ar-contact-form textarea {
  width: 100%;
  border: 1px solid #d9d0c7;
  border-radius: 4px;
  min-height: 42px;
  padding: 8px 10px;
}

.ar-contact-form textarea {
  min-height: 120px;
}

/* Maquette v3 visual blocks */
.ar-mq-hero {
  position: relative;
  min-height: 520px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(26, 26, 26, 0.76), rgba(26, 26, 26, 0.3)),
    url("/wp-content/uploads/2026/05/hero-taureaux-camargue-hd.jpg") center/cover no-repeat;
}

.ar-mq-overlay {
  max-width: 820px;
  padding: 86px 56px;
  color: #fff;
}

.ar-mq-overlay h1 {
  color: #fff;
  font-size: clamp(34px, 3.2vw, 56px);
  margin: 0 0 16px;
}

.ar-mq-overlay p {
  font-size: 18px;
  line-height: 1.6;
}

.ar-mq-family {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 26px;
}

.ar-mq-family-content {
  padding: 40px;
}

.ar-mq-family-image {
  min-height: 360px;
  background: url("/wp-content/uploads/2026/05/story-atelier.jpg") center/cover no-repeat;
}

/* Ancien markup : 5 div directs. Nouveau : .ar-mq-reassurance-grid (voir maquette-pdf.css) */
.ar-mq-reassurance:not(.ar-mq-reassurance--pdf) {
  margin-top: 18px;
  background: var(--ar-red);
  color: #fff;
  border-radius: 6px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.ar-mq-reassurance.ar-mq-reassurance--pdf {
  display: block;
  grid-template-columns: none;
  padding: 0;
}

.ar-mq-newsletter {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 8px;
  padding: 24px;
}

.ar-mq-newsletter h3 {
  margin-top: 0;
}

.ar-mq-newsletter form {
  display: flex;
  gap: 10px;
}

.ar-mq-newsletter input {
  flex: 1;
  min-height: 42px;
  border: 1px solid #ddd2c8;
  border-radius: 4px;
  padding: 0 10px;
}

.ar-mq-intro {
  max-width: 900px;
  font-size: 18px;
}

.ar-mq-timeline {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ar-mq-timeline article {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 8px;
  padding: 20px;
}

.ar-mq-timeline h4 {
  margin: 0 0 8px;
  color: var(--ar-red);
  font-size: 34px;
}

.ar-mq-values,
.ar-mq-partners {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ar-mq-values article,
.ar-mq-partners article {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 8px;
  padding: 20px;
}

.ar-mq-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.ar-mq-shipping-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ar-mq-faq details {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 10px;
}

.ar-mq-faq summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .ar-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vdp-header__logo img {
    height: 74px !important;
    max-width: 122px !important;
  }

  .ar-mq-family {
    grid-template-columns: 1fr;
  }

  .ar-mq-reassurance {
    grid-template-columns: repeat(3, 1fr);
  }

  .ar-mq-timeline,
  .ar-mq-values,
  .ar-mq-partners,
  .ar-mq-shipping-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ar-mainbar {
    grid-template-columns: auto 1fr auto;
  }

  .ar-search {
    width: 160px;
  }

  .ar-logo img {
    height: 64px;
  }

  .ar-footer-grid {
    grid-template-columns: 1fr;
  }

  .ar-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ar-contact-grid {
    grid-template-columns: 1fr;
  }

  .vdp-header__logo img {
    height: 62px !important;
    max-width: 106px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
    min-height: 0;
  }

  .ar-mq-overlay {
    padding: 40px 20px;
  }

  .ar-mq-overlay p,
  .ar-mq-intro {
    font-size: 16px;
  }

  .ar-mq-newsletter form {
    flex-direction: column;
  }

  .ar-mq-reassurance {
    grid-template-columns: 1fr 1fr;
  }

  .ar-mq-timeline,
  .ar-mq-values,
  .ar-mq-partners,
  .ar-mq-shipping-cards,
  .ar-mq-contact {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Final pixel pass (desktop / tablet / mobile)
   ======================================== */

/* Global content rhythm */
body.ar-premium-terroir .elementor-element.elementor-element-edit-mode-full,
body.ar-premium-terroir .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1320px;
}

.ar-page-wrap > * + * {
  margin-top: 24px;
}

/* Home */
.ar-mq-hero {
  min-height: 560px;
}

.ar-mq-overlay {
  max-width: 760px;
  padding: 96px 62px;
}

.ar-mq-overlay .ar-kicker {
  font-size: 13px;
  margin-bottom: 14px;
}

.ar-mq-family-content h2 {
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: 1.18;
  margin: 0 0 14px;
}

.ar-mq-family-content p {
  font-size: 16px;
  line-height: 1.68;
}

/* Product cards (archive + homepage sections) */
.woocommerce.ar-lascours-shortcode-wrap ul.products {
  gap: 16px !important;
}

.woocommerce.ar-lascours-shortcode-wrap ul.products li.product.ar-lascours-shortcode-card {
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
}

.woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
  min-height: 0;
  line-height: 1.2;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-grid {
  min-height: 0;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-loop-info-row {
  min-height: 0;
}

/* Single product page */
body.single-product .site-main {
  background: var(--ar-cream);
}

body.single-product .product {
  padding-top: 18px !important;
}

/* Hide duplicate default summary when custom sheet is present */
body.single-product.ar-premium-terroir .product .summary > h1,
body.single-product.ar-premium-terroir .product .summary > .price,
body.single-product.ar-premium-terroir .product .summary > form.cart {
  display: none !important;
}

/* Hide default Woo summary when Elementor single-product template renders */
body.single-product .single-product div.product > .summary > .product_title,
body.single-product .single-product div.product > .summary > .price,
body.single-product .single-product div.product > .summary > form.cart,
body.single-product .single-product div.product > .summary > .woocommerce-product-rating,
body.single-product .single-product div.product > .summary > .product_meta {
  display: none !important;
}

body.single-product.ar-premium-terroir .product .woocommerce-tabs {
  display: none !important;
}

body.single-product .ar-lascours-sheet {
  border-radius: 0;
  overflow: visible;
}

.ar-lascours-sheet {
  border-radius: 10px;
  overflow: hidden;
}

.ar-lascours-hero {
  border: 1px solid #e8dfd6;
  border-radius: 10px;
  background: #fff;
  padding: 22px;
}

.ar-lascours-hero-side h2 {
  font-size: clamp(30px, 2.4vw, 46px) !important;
  line-height: 1.15;
}

.ar-lascours-hero-side .ar-intro {
  font-size: 16px;
  line-height: 1.65;
}

.ar-lascours-hero-side .ar-price {
  font-size: clamp(34px, 3.1vw, 52px) !important;
}

.ar-lascours-lascours-addtocart,
.ar-lascours-addtocart {
  margin-top: 12px;
}

/* Cart (block) */
.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 20px 38px;
}

.wc-block-cart .wc-block-components-main,
.wc-block-cart .wc-block-components-sidebar {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 10px;
}

.wc-block-cart .wc-block-components-main {
  padding: 16px;
}

.wc-block-cart .wc-block-components-sidebar {
  padding: 14px;
}

/* Checkout (classic shortcode) */
.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  row-gap: 0;
  column-gap: 18px;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid #e8dfd6;
  border-radius: 10px;
}

.woocommerce-checkout #customer_details {
  padding: 18px;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 12px 16px 0;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  font-family: "Playfair Display", Georgia, serif;
}

.woocommerce-checkout #order_review {
  margin-top: 0 !important;
  padding: 0 16px 16px;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
  margin-top: 0 !important;
}

.woocommerce-checkout .form-row label {
  font-weight: 700;
  color: #3b3229;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  min-height: 42px;
  border: 1px solid #d9d0c7;
  border-radius: 4px;
}

#ar-cut-request-wrap {
  border: 1px solid #e5dbd2 !important;
  border-radius: 10px !important;
  background: #fcfbf9 !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .ar-mq-hero {
    min-height: 460px;
  }

  .ar-mq-overlay {
    padding: 64px 28px;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-meta-grid {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ar-page-wrap > * + * {
    margin-top: 16px;
  }

  .ar-mq-hero {
    min-height: 360px;
  }

  .ar-mq-overlay {
    padding: 34px 16px;
  }

  .ar-mq-overlay h1 {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .woocommerce.ar-lascours-shortcode-wrap ul.products {
    gap: 12px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
    min-height: auto;
  }

  .ar-lascours-hero {
    padding: 12px;
  }

  .woocommerce-cart .wp-block-woocommerce-cart,
  .woocommerce-checkout .woocommerce {
    padding: 10px 12px 24px;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    border-radius: 8px;
  }
}

/* ========================================
   Layout stabilization v4 (reduce oversized / recenter)
   ======================================== */

/* Keep all main content centered consistently */
.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header from shortcode: reduce oversized elements */
.ar-lh-bar {
  max-width: 1200px !important;
  padding: 10px 18px 8px !important;
  grid-template-columns: minmax(200px, 1fr) auto minmax(220px, 1fr) !important;
  column-gap: 14px !important;
}

.ar-lh-phone a {
  font-size: clamp(16px, 1.5vw, 22px) !important;
}

.ar-lh-logo-link img {
  max-height: 72px !important;
  max-width: 190px !important;
}

.ar-lh-nav,
.ar-lh-nav-cats {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.ar-lh-nav-cats ul {
  justify-content: center !important;
}

.ar-lh-nav-cats a {
  font-size: 12px !important;
}

/* Hero and key blocks: less oversized */
.ar-mq-hero {
  min-height: 460px !important;
}

.ar-mq-overlay {
  max-width: 700px !important;
  padding: 62px 40px !important;
}

.ar-mq-overlay h1 {
  font-size: clamp(30px, 2.7vw, 44px) !important;
  line-height: 1.15 !important;
}

.ar-mq-overlay p {
  font-size: 16px !important;
}

.ar-mq-family-content {
  padding: 30px !important;
}

/* Product grid cards: uniform and centered content */
.woocommerce.ar-lascours-shortcode-wrap ul.products {
  align-items: stretch !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
  min-height: 0 !important;
}

.woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
  font-size: clamp(12px, 2.2vw, 15px) !important;
  min-height: 0 !important;
  text-align: left !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-box {
  padding: 8px 10px !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-loop-info-row,
.woocommerce.ar-lascours-shortcode-wrap .ar-loop-qty {
  justify-content: center !important;
}

/* Single product sheet typography and spacing normalization */
.ar-lascours-hero {
  padding: 16px !important;
}

.ar-lascours-hero-side h2 {
  font-size: clamp(28px, 2.2vw, 38px) !important;
}

.ar-lascours-hero-side .ar-price {
  font-size: clamp(30px, 2.6vw, 42px) !important;
}

.ar-lascours-hero-side .ar-intro {
  font-size: 15px !important;
}

/* Checkout cards centered and compact */
.woocommerce-checkout .woocommerce {
  padding-top: 12px !important;
}

.woocommerce-checkout form.checkout {
  gap: 14px !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

@media (max-width: 1024px) {
  .ar-lh-bar {
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr) !important;
  }

  .ar-lh-logo-link img {
    max-height: 64px !important;
    max-width: 165px !important;
  }

  .ar-mq-hero {
    min-height: 390px !important;
  }

  .ar-mq-overlay {
    padding: 46px 24px !important;
  }
}

@media (max-width: 767px) {
  .ar-lh-bar {
    padding: 6px 10px 6px !important;
  }

  .ar-lh-logo-link img {
    max-height: 54px !important;
    max-width: 138px !important;
  }

  .ar-mq-hero {
    min-height: 320px !important;
  }

  .ar-mq-overlay {
    padding: 28px 14px !important;
  }

  .ar-mq-overlay h1 {
    font-size: clamp(24px, 6.6vw, 30px) !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
    min-height: 0 !important;
  }
}

/* ========================================
   MAQUETTE HARD OVERRIDES V5
   ======================================== */

/* 1440 desktop baseline */
.ar-page-wrap,
.ar-mq-hero,
.ar-mq-family,
.ar-mq-newsletter,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
.ar-site-footer .ar-inner {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header lock */
.ar-lh-bar {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 8px 16px !important;
  grid-template-columns: minmax(210px, 1fr) auto minmax(230px, 1fr) !important;
  align-items: center !important;
}

.ar-lh-phone a {
  font-size: clamp(15px, 1.2vw, 19px) !important;
  font-weight: 800 !important;
}

.ar-lh-logo-link img {
  max-height: 68px !important;
  max-width: 170px !important;
  width: auto !important;
}

.ar-lh-tools {
  gap: 6px !important;
}

.ar-lh-search input {
  width: 230px !important;
  height: 36px !important;
}

.ar-lh-nav,
.ar-lh-nav-cats {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.ar-lh-nav-cats ul {
  justify-content: center !important;
  gap: 14px !important;
}

.ar-lh-nav-cats a {
  font-size: 11.5px !important;
  letter-spacing: 0.01em !important;
}

/* Home visual scale */
.ar-mq-hero {
  min-height: 430px !important;
  border-radius: 8px !important;
}

.ar-mq-overlay {
  max-width: 680px !important;
  padding: 56px 34px !important;
}

.ar-mq-overlay h1 {
  font-size: clamp(30px, 2.4vw, 42px) !important;
  line-height: 1.12 !important;
  margin-bottom: 12px !important;
}

.ar-mq-overlay p {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ar-mq-family {
  grid-template-columns: 1.1fr 1fr !important;
}

.ar-mq-family-content {
  padding: 28px !important;
}

.ar-mq-family-content h2 {
  font-size: clamp(28px, 2.1vw, 38px) !important;
}

.ar-mq-family-image {
  min-height: 300px !important;
}

.ar-mq-reassurance {
  font-size: 12px !important;
  padding: 10px !important;
}

/* Product grid lock */
.woocommerce.ar-lascours-shortcode-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.woocommerce.ar-lascours-shortcode-wrap ul.products li.product.ar-lascours-shortcode-card {
  min-width: 0 !important;
  border-radius: 8px !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
  min-height: 0 !important;
}

.woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
  min-height: 0 !important;
}
  font-size: 20px !important;
  line-height: 1.2 !important;
  min-height: 40px !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-grid {
  min-height: auto !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-box small {
  font-size: 10px !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-box strong {
  font-size: 12px !important;
}

/* Single product lock */
.ar-lascours-hero {
  padding: 14px !important;
  border-radius: 8px !important;
}

.ar-lascours-hero-side h2 {
  font-size: clamp(26px, 2.1vw, 34px) !important;
  margin-bottom: 8px !important;
}

.ar-lascours-hero-side .ar-intro {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ar-lascours-hero-side .ar-price {
  font-size: clamp(30px, 2.2vw, 38px) !important;
}

.ar-lascours-hero-photo-inner > img {
  max-height: min(58vh, 520px) !important;
}

/* Cart / checkout lock */
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .woocommerce {
  max-width: 1160px !important;
}

.woocommerce-checkout form.checkout {
  grid-template-columns: 1.25fr 1fr !important;
  gap: 12px !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  border-radius: 8px !important;
}

/* Tablet 768 */
@media (max-width: 1024px) {
  .ar-lh-bar {
    grid-template-columns: minmax(140px, 1fr) auto minmax(150px, 1fr) !important;
    padding: 7px 12px !important;
  }

  .ar-lh-logo-link img {
    max-height: 60px !important;
    max-width: 150px !important;
  }

  .ar-lh-search input {
    width: 180px !important;
  }

  .ar-mq-hero {
    min-height: 350px !important;
  }

  .ar-mq-overlay {
    padding: 40px 20px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ar-mq-family {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile 375 */
@media (max-width: 767px) {
  .ar-lh-bar {
    grid-template-columns: 44px 1fr auto !important;
    padding: 6px 8px !important;
  }

  .ar-lh-logo-link img {
    max-height: 50px !important;
    max-width: 126px !important;
  }

  .ar-mq-hero {
    min-height: 300px !important;
  }

  .ar-mq-overlay {
    padding: 24px 12px !important;
  }

  .ar-mq-overlay h1 {
    font-size: clamp(23px, 6.1vw, 28px) !important;
  }

  .ar-mq-overlay p {
    font-size: 14px !important;
  }

  .ar-mq-reassurance {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
    min-height: 0 !important;
  }

  .ar-lascours-hero {
    padding: 10px !important;
  }

  .ar-lascours-hero-photo-inner > img {
    max-height: 300px !important;
  }
}

/* ========================================
   Desktop 1440 final lock (higher priority)
   ======================================== */
@media (min-width: 1280px) {
  .ar-page-wrap,
  .woocommerce.ar-lascours-shortcode-wrap,
  .ar-lascours-sheet,
  .woocommerce-checkout .woocommerce,
  .woocommerce-cart .wp-block-woocommerce-cart {
    max-width: 1160px !important;
  }

  .ar-lh-bar,
  .ar-lh-nav,
  .ar-lh-nav-cats {
    max-width: 1160px !important;
  }

  .ar-lh-bar {
    grid-template-columns: 240px 1fr 290px !important;
    padding: 8px 8px !important;
  }

  .ar-lh-phone a {
    font-size: 18px !important;
  }

  .ar-lh-logo-link img {
    max-height: 66px !important;
    max-width: 166px !important;
  }

.ar-lh-logo-img {
  width: auto !important;
  height: auto !important;
  max-height: 66px !important;
  max-width: 166px !important;
  object-fit: contain !important;
}

  .ar-lh-search input {
    width: 220px !important;
  }

  .ar-mq-hero {
    min-height: 410px !important;
  }

  .ar-mq-overlay {
    max-width: 640px !important;
    padding: 52px 30px !important;
  }

  .ar-mq-overlay h1 {
    font-size: 42px !important;
    line-height: 1.06 !important;
  }

  .ar-mq-overlay p {
    font-size: 15px !important;
  }

  .ar-mq-family-content {
    padding: 26px !important;
  }

  .ar-mq-family-content h2 {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap ul.products {
    gap: 12px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-lascours-shortcode-card .ar-thumb-wrap {
    min-height: 0 !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
    font-size: 19px !important;
    min-height: 38px !important;
  }

  .woocommerce.ar-lascours-shortcode-wrap .ar-meta-grid {
    min-height: auto !important;
  }

  .ar-lascours-hero {
    padding: 12px !important;
  }

  .ar-lascours-hero-side h2 {
    font-size: 34px !important;
  }

  .ar-lascours-hero-side .ar-price {
    font-size: 36px !important;
  }

  .ar-lascours-hero-photo-inner > img {
    max-height: 460px !important;
  }

  .woocommerce-checkout .woocommerce {
    max-width: 1080px !important;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 62% 38% !important;
    gap: 12px !important;
  }
}

/* Reduce gap between header and first image section */
body.home #content-wrap,
body.home .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home .ar-page-wrap {
  padding-top: 8px !important;
}

body.home .ar-page-wrap > *:first-child {
  margin-top: 0 !important;
}

body.home .ar-mq-hero {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  body.home .ar-page-wrap {
    padding-top: 4px !important;
  }
}

/* ========================================
   UNIFORM DESIGN SYSTEM LAYER
   ======================================== */
:root {
  --ar-max-content: 1160px;
  --ar-radius-sm: 6px;
  --ar-radius-md: 10px;
  --ar-radius-lg: 14px;
  --ar-space-xs: 8px;
  --ar-space-sm: 12px;
  --ar-space-md: 16px;
  --ar-space-lg: 24px;
  --ar-space-xl: 32px;
  --ar-border-soft: #e8dfd6;
  --ar-surface: #ffffff;
  --ar-shadow-soft: 0 8px 20px rgba(26, 26, 26, 0.06);
  --ar-text-main: #1a1a1a;
  --ar-text-muted: #5e554b;
}

/* Global vertical rhythm and typography */
body {
  color: var(--ar-text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
}

p,
li,
label,
input,
textarea,
select,
button {
  line-height: 1.5;
}

/* Unified containers */
.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
.ar-site-footer .ar-inner,
.ar-lh-bar,
.ar-lh-nav,
.ar-lh-nav-cats {
  max-width: var(--ar-max-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ar-page-wrap {
  padding: var(--ar-space-lg) var(--ar-space-md) !important;
}

/* Unified section/card styling */
.ar-card,
.ar-mq-family,
.ar-mq-newsletter,
.ar-mq-timeline article,
.ar-mq-values article,
.ar-mq-partners article,
.ar-mq-faq details,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.wc-block-cart .wc-block-components-main,
.wc-block-cart .wc-block-components-sidebar {
  background: var(--ar-surface) !important;
  border: 1px solid var(--ar-border-soft) !important;
  border-radius: var(--ar-radius-md) !important;
  box-shadow: var(--ar-shadow-soft);
}

/* Unified button system */
.ar-btn,
.single-product .single_add_to_cart_button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce button.button,
.woocommerce a.button {
  border-radius: var(--ar-radius-sm) !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* Unified form controls */
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.ar-contact-form input,
.ar-contact-form textarea,
.ar-contact-form select,
.ar-mq-newsletter input {
  border: 1px solid #d8cfc6 !important;
  border-radius: var(--ar-radius-sm) !important;
  min-height: 42px !important;
  background: #fff !important;
}

/* Unified product cards */
.woocommerce.ar-lascours-shortcode-wrap ul.products li.product.ar-lascours-shortcode-card {
  background: #fff;
  border: 1px solid var(--ar-border-soft);
  border-radius: var(--ar-radius-md) !important;
  box-shadow: var(--ar-shadow-soft);
  overflow: visible;
}

.woocommerce.ar-lascours-shortcode-wrap .woocommerce-loop-product__title {
  color: var(--ar-text-main) !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-box small {
  color: #7a7167 !important;
}

.woocommerce.ar-lascours-shortcode-wrap .ar-meta-box strong {
  color: var(--ar-text-main) !important;
}

/* Header and footer consistency */
.ar-lh-header {
  border-bottom: 1px solid var(--ar-border-soft) !important;
}

.ar-lh-nav-cats {
  border-top: 1px solid #f1ece6 !important;
}

.ar-site-footer {
  border-top: 4px solid var(--ar-red) !important;
}

/* Consistent spacing between blocks */
.ar-page-wrap > * + *,
.woocommerce.ar-lascours-shortcode-wrap > * + * {
  margin-top: var(--ar-space-lg) !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .ar-page-wrap {
    padding: var(--ar-space-md) var(--ar-space-sm) !important;
  }

  .ar-page-wrap > * + *,
  .woocommerce.ar-lascours-shortcode-wrap > * + * {
    margin-top: var(--ar-space-md) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --ar-max-content: 100%;
  }

  .ar-page-wrap {
    padding: var(--ar-space-sm) var(--ar-space-xs) !important;
  }

  .ar-page-wrap > * + *,
  .woocommerce.ar-lascours-shortcode-wrap > * + * {
    margin-top: var(--ar-space-sm) !important;
  }
}

/* ========================================
   Native Elementor header styles
   ======================================== */
.ar-native-header {
  background: #fff;
  border-bottom: 1px solid #ece5dd;
}

.ar-native-header-row {
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 220px 1fr 340px;
  align-items: center;
  gap: 12px;
}

.ar-native-phone {
  color: var(--ar-red);
  font-weight: 800;
  text-decoration: none;
}

.ar-native-logo {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.ar-native-logo img {
  max-height: 64px;
  width: auto;
}

.ar-native-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ar-native-tools a {
  color: #1c1c1c;
  text-decoration: none;
}

.ar-native-search input {
  height: 34px;
  width: 220px;
  border: 1px solid #d8cfc6;
  border-radius: 4px;
  padding: 0 10px;
}

.ar-native-cat-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 10px;
  border-top: 1px solid #f0e8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ar-native-cat-nav a {
  font-size: 12px;
  text-transform: uppercase;
  color: #1a1a1a;
  font-weight: 800;
  text-decoration: none;
}

.ar-native-cat-nav a:hover {
  color: var(--ar-red);
}

@media (max-width: 1024px) {
  .ar-native-header-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .ar-native-logo {
    order: -1;
    grid-column: 1 / -1;
  }

  .ar-native-tools {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .ar-native-header-row {
    grid-template-columns: 1fr;
  }

  .ar-native-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ar-native-search input {
    width: 100%;
  }

  .ar-native-cat-nav {
    justify-content: flex-start;
    gap: 10px;
  }
}

/* ========================================
   Phase 2 pure-widget header/footer styling
   ======================================== */
.ar-p2-header-wrap {
  background: #fff;
  border-bottom: 1px solid #ece5dd;
}

.ar-p2-header-row {
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
}

.ar-p2-header-phone p {
  margin: 0;
}

.ar-p2-header-phone a {
  color: var(--ar-red);
  text-decoration: none;
  font-weight: 800;
}

.ar-p2-header-logo .elementor-widget-theme-site-logo {
  display: flex;
  justify-content: center;
}

.ar-p2-header-logo img {
  max-height: 64px !important;
  width: auto !important;
}

.ar-p2-header-tools {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.ar-p2-header-tools .elementor-widget-search-form {
  width: auto;
  flex: 0 0 auto;
}

.ar-p2-header-tools .elementor-search-form__container {
  min-height: 34px !important;
}

.ar-p2-header-tools input.elementor-search-form__input,
.ar-p2-header-tools .elementor-search-form__input {
  height: 34px !important;
  width: 220px !important;
  border: 1px solid #d8cfc6 !important;
  border-radius: 4px !important;
  padding: 0 10px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor {
  margin: 0 !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p {
  margin: 0;
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.ar-p2-header-tools .elementor-widget-text-editor a {
  color: #1c1c1c;
  text-decoration: none;
}

.ar-p2-header-menu-row {
  border-top: 1px solid #f0e8e0;
  padding: 8px 10px;
}

.ar-p2-header-menu-row .elementor-widget-nav-menu {
  max-width: 1160px;
  margin: 0 auto;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  text-transform: uppercase;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  padding: 0 !important;
}

.ar-p2-header-menu-row .elementor-item:hover {
  color: var(--ar-text-gray, #5c534c) !important;
}

.ar-p2-footer-wrap {
  background: #111;
  color: #f1ede8;
  border-top: 4px solid var(--ar-red);
  padding: 0;
}

.ar-p2-footer-wrap .elementor-heading-title,
.ar-p2-footer-wrap p,
.ar-p2-footer-wrap li {
  color: #f1ede8 !important;
}

.ar-p2-footer-wrap a {
  color: #f1ede8 !important;
  text-decoration: none;
}

.ar-p2-footer-wrap a:hover {
  color: #fff !important;
}

.ar-p2-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ar-p2-footer-grid {
  padding-top: 48px;
}

.ar-p2-footer-grid .elementor-widget-heading h4,
.ar-p2-footer-grid .elementor-widget-heading .elementor-heading-title {
  margin: 0 0 10px;
  color: #fff !important;
}

.ar-p2-footer-grid .elementor-widget-text-editor ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ar-p2-footer-grid .elementor-widget-text-editor li {
  margin-bottom: 8px;
}

.ar-p2-footer-grid .elementor-widget-text-editor a:hover {
  color: #fff !important;
}

.ar-p2-footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 24px;
  padding-top: 14px;
  padding-bottom: 22px;
}

.ar-p2-footer-bottom .elementor-widget-text-editor p {
  margin: 0;
}

.ar-p2-footer-bottom > .e-con-inner,
.ar-p2-footer-bottom {
  align-items: center;
}

.ar-p2-footer-bottom .e-con:nth-child(2) {
  text-align: right;
}

@media (max-width: 1024px) {
  .ar-p2-header-row {
    flex-wrap: wrap !important;
    row-gap: 8px;
  }

  .ar-p2-header-logo {
    width: 100%;
    order: -1;
  }

  .ar-p2-header-tools {
    justify-content: flex-end;
  }

  .ar-p2-footer-grid {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-logo {
    order: -1;
    width: 100%;
  }

  .ar-p2-header-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
    min-width: 220px;
  }

  .ar-p2-header-menu-row .elementor-nav-menu {
    justify-content: flex-start;
    gap: 10px;
  }

  .ar-p2-footer-bottom .e-con:nth-child(2) {
    text-align: left;
  }
}

/* ========================================
   Full-page global pass (site complet)
   ======================================== */
:root {
  --ar-max-content: min(96vw, 1460px);
}

.site,
.site-content,
.content-area,
.site-main,
.elementor-location-header,
.elementor-location-footer {
  width: 100%;
  max-width: 100%;
}

body.ar-premium-terroir .elementor-section.elementor-section-boxed > .elementor-container,
.elementor .e-con.e-con-boxed > .e-con-inner,
.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
.ar-site-footer .ar-inner,
.ar-p2-header-row,
.ar-p2-header-menu-row .elementor-widget-nav-menu,
.ar-p2-footer-inner {
  max-width: var(--ar-max-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ar-page-wrap {
  width: 100%;
  padding-left: clamp(14px, 2vw, 28px) !important;
  padding-right: clamp(14px, 2vw, 28px) !important;
}

body.woocommerce-checkout form.checkout {
  row-gap: 0 !important;
  column-gap: clamp(14px, 2vw, 28px) !important;
}

body.woocommerce-checkout h3#order_review_heading {
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.woocommerce-checkout #order_review {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(98vw, 1200px);
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-page-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ========================================
   Final pixel pass (desktop/tablet/mobile)
   ======================================== */
:root {
  --ar-max-content: min(97vw, 1500px);
}

body.home .ar-page-wrap {
  padding-top: 10px !important;
}

.ar-page-wrap > * + *,
.woocommerce.ar-lascours-shortcode-wrap > * + * {
  margin-top: clamp(18px, 2.2vw, 34px) !important;
}

.ar-p2-header-row {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ar-p2-header-logo img {
  max-height: 76px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: clamp(220px, 16vw, 290px) !important;
}

.ar-p2-header-menu-row {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ar-p2-footer-grid {
  padding-top: 42px;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  column-gap: clamp(12px, 1.1vw, 22px) !important;
  row-gap: clamp(16px, 1.4vw, 26px) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin-bottom: 0 !important;
}

body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: clamp(18px, 2vw, 34px);
  align-items: start;
}

body.single-product div.product .images,
body.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
}

.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  align-items: start;
}

.woocommerce-checkout #customer_details {
  width: 100%;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 100%;
}

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .woocommerce {
  padding-left: clamp(10px, 1.4vw, 20px);
  padding-right: clamp(10px, 1.4vw, 20px);
}

@media (max-width: 1440px) {
  :root {
    --ar-max-content: min(97vw, 1360px);
  }

  .ar-p2-header-logo img {
    max-height: 68px !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(98vw, 1180px);
  }

  .ar-page-wrap > * + *,
  .woocommerce.ar-lascours-shortcode-wrap > * + * {
    margin-top: 20px !important;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }

  body.single-product div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-page-wrap {
    padding-top: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ar-p2-header-row {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .ar-p2-header-logo img {
    max-height: 58px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
    min-width: 0;
  }

  .ar-p2-footer-grid {
    padding-top: 28px;
  }
}

/* ========================================
   Maquette compliance lock layer
   ======================================== */
:root {
  --ar-max-content: min(97vw, 1480px);
}

body {
  font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
.ar-p2-header-row,
.ar-p2-header-menu-row .elementor-widget-nav-menu,
.ar-p2-footer-inner {
  max-width: var(--ar-max-content) !important;
}

.ar-page-wrap {
  padding-top: clamp(12px, 1.2vw, 20px) !important;
  padding-bottom: clamp(24px, 2.2vw, 38px) !important;
}

.ar-mq-hero {
  min-height: clamp(460px, 42vw, 620px) !important;
  border-radius: 10px !important;
}

.ar-mq-overlay {
  max-width: min(58vw, 860px) !important;
  padding: clamp(34px, 5vw, 96px) clamp(20px, 4vw, 62px) !important;
}

.ar-mq-overlay h1 {
  font-size: clamp(34px, 4vw, 62px) !important;
  line-height: 1.06 !important;
}

.ar-mq-overlay p,
.ar-mq-intro {
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.6 !important;
}

.ar-mq-family,
.ar-mq-newsletter,
.ar-mq-timeline article,
.ar-mq-values article,
.ar-mq-partners article,
.ar-mq-faq details,
.ar-contact-form,
.woocommerce ul.products li.product,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  border-radius: 10px !important;
  border: 1px solid #e8dfd6 !important;
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.05) !important;
}

.woocommerce ul.products li.product {
  overflow: visible;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(16px, 1.1vw, 20px) !important;
  line-height: 1.22 !important;
  min-height: 50px !important;
}

body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%) !important;
  gap: clamp(18px, 2vw, 34px) !important;
  align-items: start !important;
}

body.single-product div.product .images,
body.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
}

.ar-p2-header-logo img {
  max-height: clamp(58px, 5.6vw, 84px) !important;
  width: auto !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  gap: clamp(10px, 1.2vw, 16px) !important;
}

.ar-p2-footer-grid {
  padding-top: clamp(32px, 3vw, 50px) !important;
}

.ar-p2-footer-bottom {
  padding-top: 14px !important;
  padding-bottom: 22px !important;
}

@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(98vw, 1180px);
  }

  .ar-mq-family,
  .ar-mq-contact {
    grid-template-columns: 1fr !important;
  }

  .ar-mq-timeline,
  .ar-mq-values,
  .ar-mq-partners,
  .ar-mq-shipping-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product div.product,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-page-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ar-mq-overlay {
    max-width: 100% !important;
  }

  .ar-mq-reassurance,
  .ar-mq-timeline,
  .ar-mq-values,
  .ar-mq-partners,
  .ar-mq-shipping-cards,
  .ar-mq-contact {
    grid-template-columns: 1fr !important;
  }

  .ar-p2-header-tools {
    width: 100% !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ar-p2-footer-bottom .e-con:nth-child(2) {
    text-align: left !important;
  }
}

/* ========================================
   PDF Maquette fidelity pass (1440/768/375)
   ======================================== */
:root {
  --ar-red: #be1e2d;
  --ar-red-dark: #8c1622;
  --ar-black: #1a1a1a;
  --ar-gold: #c4a35a;
  --ar-cream: #faf8f5;
  --ar-gray-light: #f2efeb;
  --ar-gray-text: #8c8578;
  --ar-price-green: #2e7d32;
  --ar-max-content: min(92vw, 1320px);
}

body {
  background: var(--ar-cream);
  color: var(--ar-black);
}

.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.ar-lascours-sheet,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
.ar-p2-header-row,
.ar-p2-header-menu-row .elementor-widget-nav-menu,
.ar-p2-footer-inner {
  max-width: var(--ar-max-content) !important;
}

.ar-p2-header-row {
  min-height: 82px;
}

.ar-p2-header-phone a {
  font-size: 18px;
  letter-spacing: 0;
}

.ar-p2-header-tools .elementor-search-form__input {
  height: 38px !important;
  border-radius: 4px !important;
}

.ar-p2-header-menu-row .elementor-item {
  letter-spacing: 0.04em !important;
}

.ar-mq-hero {
  min-height: 520px !important;
}

.ar-mq-overlay h1 {
  font-size: clamp(36px, 3.8vw, 58px) !important;
}

.ar-section-title,
.ar-mq-family-content h2 {
  font-size: clamp(32px, 2.6vw, 46px) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-Price-amount {
  color: var(--ar-price-green);
}

.woocommerce ul.products li.product .button,
.single-product .single_add_to_cart_button,
.woocommerce button.button,
.woocommerce a.button {
  background: var(--ar-red) !important;
  border-color: var(--ar-red) !important;
}

.woocommerce ul.products li.product .button:hover,
.single-product .single_add_to_cart_button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: var(--ar-red-dark) !important;
  border-color: var(--ar-red-dark) !important;
}

.ar-p2-footer-wrap {
  background: #111;
}

.ar-p2-footer-grid .elementor-widget-text-editor a:hover {
  color: #fff !important;
}

@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(96vw, 980px);
  }

  .ar-p2-header-row {
    min-height: 72px;
  }

  .ar-mq-hero {
    min-height: 420px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-page-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ar-p2-header-row {
    min-height: 64px;
  }

  .ar-p2-header-phone a {
    font-size: 16px;
  }

  .ar-mq-hero {
    min-height: 340px !important;
  }

  .ar-mq-overlay h1 {
    font-size: clamp(28px, 7vw, 40px) !important;
  }
}

/* ========================================
   Final micro-adjustment (header + hero + footer)
   ======================================== */
.ar-p2-header-row {
  gap: 14px !important;
}

.ar-p2-header-phone {
  flex: 0 0 210px;
  max-width: 210px;
}

.ar-p2-header-logo {
  flex: 1 1 auto;
}

.ar-p2-header-tools {
  flex: 0 0 430px;
  max-width: 430px;
}

.ar-p2-header-menu-row {
  min-height: 44px;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.ar-mq-overlay {
  max-width: 760px !important;
}

.ar-mq-overlay p {
  max-width: 680px;
}

.ar-p2-footer-grid {
  align-items: flex-start;
  gap: 24px !important;
}

.ar-p2-footer-grid .elementor-widget-text-editor p,
.ar-p2-footer-grid .elementor-widget-text-editor li {
  font-size: 15px;
  line-height: 1.55;
}

.ar-p2-footer-bottom {
  border-top-color: #2f2f2f !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-phone {
    flex: 0 0 180px;
    max-width: 180px;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ========================================
   Design corrective pass (stabilisation)
   ======================================== */
:root {
  --ar-max-content: min(94vw, 1280px);
}

.ar-page-wrap {
  padding-top: 16px !important;
  padding-bottom: 34px !important;
}

.ar-page-wrap > * + *,
.woocommerce.ar-lascours-shortcode-wrap > * + * {
  margin-top: 22px !important;
}

.ar-p2-header-row {
  min-height: 78px;
  align-items: center;
}

.ar-p2-header-logo {
  display: flex;
  justify-content: center;
}

.ar-p2-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ar-p2-header-tools .elementor-widget-text-editor p {
  align-items: center;
  gap: 8px;
}

.ar-p2-header-menu-row {
  padding-top: 9px;
  padding-bottom: 9px;
}

.ar-mq-hero {
  min-height: 500px !important;
}

.ar-mq-overlay {
  padding-top: clamp(38px, 5.2vw, 90px) !important;
  padding-bottom: clamp(38px, 5.2vw, 90px) !important;
}

.ar-mq-family,
.ar-mq-newsletter,
.ar-mq-timeline article,
.ar-mq-values article,
.ar-mq-partners article,
.ar-mq-faq details,
.woocommerce ul.products li.product,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.05) !important;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 46px !important;
}

.woocommerce ul.products li.product .price {
  margin-top: auto;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  text-align: center;
}

.ar-p2-footer-grid .elementor-widget-heading .elementor-heading-title {
  font-size: 24px;
  line-height: 1.2;
}

.ar-p2-footer-grid .elementor-widget-text-editor p,
.ar-p2-footer-grid .elementor-widget-text-editor li {
  color: #efe7dc !important;
}

@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(96vw, 980px);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-p2-header-row {
    min-height: 64px;
  }

  .ar-mq-hero {
    min-height: 320px !important;
  }

}

/* ========================================
   MASTER RESET: header + pages produits + fiches
   ======================================== */
:root {
  --ar-max-content: min(94vw, 1320px);
}

/* ---------- Header ---------- */
.ar-p2-header-wrap {
  background: #fff;
  border-bottom: 1px solid #ece5dd;
}

.ar-p2-header-row {
  max-width: var(--ar-max-content) !important;
  margin: 0 auto !important;
  min-height: 84px;
  padding: 10px 12px;
  display: flex !important;
  align-items: center;
  gap: 14px !important;
}

.ar-p2-header-phone {
  flex: 0 0 210px !important;
  max-width: 210px !important;
}

.ar-p2-header-phone a {
  font-size: 18px;
  font-weight: 800;
  color: var(--ar-red) !important;
}

.ar-p2-header-logo {
  flex: 1 1 auto !important;
  justify-content: center !important;
}

.ar-p2-header-logo img {
  max-height: 72px !important;
  width: auto !important;
}

.ar-p2-header-tools {
  flex: 0 0 430px !important;
  max-width: 430px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  height: 38px !important;
  width: 240px !important;
  border: 1px solid #d8cfc6 !important;
  border-radius: 4px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ar-p2-header-menu-row {
  min-height: 44px;
  padding: 10px 12px;
  border-top: 1px solid #f0e8e0;
}

.ar-p2-header-menu-row .elementor-widget-nav-menu {
  max-width: var(--ar-max-content) !important;
  margin: 0 auto !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  justify-content: center !important;
  gap: 14px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  font-weight: 800 !important;
  padding: 0 !important;
}

/* ---------- Pages produits (listing) ---------- */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.woocommerce-shop .site-main {
  background: var(--ar-cream);
}

.woocommerce .products,
.woocommerce ul.products {
  max-width: var(--ar-max-content);
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 12px 12px 14px !important;
  border: 1px solid #e8dfd6 !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.05) !important;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product a img {
  border-radius: 8px;
  margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 48px !important;
  font-size: clamp(18px, 1.25vw, 22px) !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}

.woocommerce ul.products li.product .price {
  color: var(--ar-price-green) !important;
  font-weight: 800 !important;
  margin-top: auto !important;
  margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  text-align: center;
  border-radius: 4px !important;
  min-height: 42px !important;
}

/* ---------- Fiche produit (single) ---------- */
body.single-product .site-main {
  background: var(--ar-cream);
}

body.single-product .product,
body.single-product div.product {
  max-width: var(--ar-max-content);
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 26px !important;
  align-items: start !important;
  padding: 12px !important;
}

body.single-product div.product .images,
body.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
}

body.single-product div.product .images img {
  border-radius: 10px;
}

body.single-product div.product .summary {
  background: #fff;
  border: 1px solid #e8dfd6;
  border-radius: 10px;
  padding: 18px;
}

body.single-product div.product .summary .product_title {
  font-size: clamp(30px, 2.4vw, 46px) !important;
  line-height: 1.1 !important;
  margin-bottom: 10px !important;
}

body.single-product div.product .summary .price {
  color: var(--ar-price-green) !important;
  font-size: clamp(32px, 2.8vw, 48px) !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
}

body.single-product div.product form.cart {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

body.single-product div.product form.cart .quantity .qty {
  min-height: 42px;
  width: 92px;
}

body.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 44px !important;
  border-radius: 4px !important;
}

body.single-product .woocommerce-tabs,
body.single-product .related.products {
  max-width: var(--ar-max-content);
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --ar-max-content: min(96vw, 980px);
  }

  .ar-p2-header-row {
    min-height: 72px;
    flex-wrap: wrap !important;
  }

  .ar-p2-header-phone {
    flex: 0 0 180px !important;
    max-width: 180px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .woocommerce .products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .product,
  body.single-product div.product {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  :root {
    --ar-max-content: 100vw;
  }

  .ar-p2-header-row {
    min-height: 64px;
    gap: 8px !important;
  }

  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-logo img {
    max-height: 56px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ar-p2-header-menu-row .elementor-nav-menu {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .woocommerce .products,
  .woocommerce ul.products,
  .woocommerce.ar-lascours-shortcode-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.5vw, 14px) !important;
  }

  body.single-product .product,
  body.single-product div.product {
    padding: 8px !important;
    gap: 16px !important;
  }
}

/* ========================================
   Hotfix final: header + product sizes
   ======================================== */
.ar-p2-header-row {
  min-height: 74px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.ar-p2-header-logo img {
  max-height: 96px !important;
  width: auto !important;
  display: block;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 230px !important;
  height: 36px !important;
}

.ar-p2-header-menu-row {
  min-height: 40px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 11px !important;
  letter-spacing: 0.035em !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(17px, 1.05vw, 20px) !important;
  min-height: 44px !important;
}

.woocommerce ul.products li.product .price {
  font-size: clamp(18px, 1.2vw, 24px) !important;
}

body.single-product div.product .summary .product_title {
  font-size: clamp(34px, 2.6vw, 48px) !important;
}

body.single-product div.product .summary .price {
  font-size: clamp(34px, 2.7vw, 50px) !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-logo img {
    max-height: 78px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 200px !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-logo img {
    max-height: 62px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 10.5px !important;
  }
}

/* ========================================
   User request: logo 3x bigger
   ======================================== */
.ar-p2-header-row {
  min-height: 190px !important;
}

.ar-p2-header-logo img {
  max-height: 228px !important;
  width: auto !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-row {
    min-height: 150px !important;
  }

  .ar-p2-header-logo img {
    max-height: 180px !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-row {
    min-height: 120px !important;
  }

  .ar-p2-header-logo img {
    max-height: 132px !important;
  }
}

/* ========================================
   Targeted fix pass: header + shop cards + product page
   ======================================== */

/* 1) Header */
.ar-p2-header-row {
  min-height: 72px !important;
  padding: 8px 12px !important;
  gap: 10px !important;
}

.ar-p2-header-phone {
  flex: 0 0 170px !important;
  max-width: 170px !important;
}

.ar-p2-header-phone a {
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

.ar-p2-header-logo img {
  max-height: 68px !important;
  width: auto !important;
}

.ar-p2-header-tools {
  flex: 0 0 360px !important;
  max-width: 360px !important;
  gap: 8px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 220px !important;
  height: 36px !important;
  font-size: 14px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p,
.ar-p2-header-tools .elementor-widget-text-editor a {
  font-size: 13px !important;
}

.ar-p2-header-menu-row {
  min-height: 40px !important;
  padding: 8px 12px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  gap: 12px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 11px !important;
  letter-spacing: 0.03em !important;
}

/* 2) Cartes boutique */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #e8dfd6 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(20, 20, 20, 0.05) !important;
  overflow: hidden;
}

.woocommerce ul.products li.product a img {
  border-radius: 8px !important;
  margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px !important;
  font-size: clamp(16px, 1.05vw, 19px) !important;
  line-height: 1.22 !important;
}

.woocommerce ul.products li.product .price {
  color: #2e7d32 !important;
  font-weight: 800 !important;
  margin: 8px 0 !important;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 40px !important;
  border-radius: 4px !important;
}

/* 3) Fiche produit */
body.single-product div.product {
  max-width: min(94vw, 1240px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
  gap: 20px !important;
  align-items: start !important;
}

body.single-product div.product .images,
body.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
}

body.single-product div.product .images img {
  border-radius: 10px !important;
}

body.single-product div.product .summary {
  background: #fff;
  border: 1px solid #e8dfd6;
  border-radius: 10px;
  padding: 18px !important;
}

body.single-product div.product .summary .product_title {
  font-size: clamp(28px, 2vw, 36px) !important;
  line-height: 1.12 !important;
  margin-bottom: 8px !important;
}

body.single-product div.product .summary .price {
  font-size: clamp(28px, 2.2vw, 38px) !important;
  line-height: 1.1 !important;
  color: #2e7d32 !important;
  font-weight: 800 !important;
}

body.single-product div.product form.cart {
  margin-top: 10px !important;
}

body.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 42px !important;
  border-radius: 4px !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-row {
    min-height: 68px !important;
    flex-wrap: wrap !important;
  }

  .ar-p2-header-phone {
    flex: 0 0 150px !important;
    max-width: 150px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product div.product,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-phone a {
    font-size: 15px !important;
  }

  .ar-p2-header-logo img {
    max-height: 56px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 10px !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }
}

/* ========================================
   Micro pixel tuning (final)
   ======================================== */
.ar-p2-header-row {
  min-height: 78px !important;
  padding: 8px 12px !important;
}

.ar-p2-header-phone {
  flex: 0 0 210px !important;
  max-width: 210px !important;
}

.ar-p2-header-phone a {
  font-size: 16px !important;
  font-weight: 800 !important;
}

.ar-p2-header-logo img {
  max-height: 76px !important;
}

.ar-p2-header-tools {
  flex: 0 0 400px !important;
  max-width: 400px !important;
  gap: 10px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 235px !important;
  height: 38px !important;
}

.ar-p2-icons {
  gap: 10px !important;
}

.ar-p2-icon-link {
  font-size: 18px !important;
}

.ar-p2-header-menu-row {
  min-height: 38px !important;
  padding: 8px 12px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  gap: 18px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-row {
    min-height: 70px !important;
  }

  .ar-p2-header-phone {
    flex: 0 0 170px !important;
    max-width: 170px !important;
  }

  .ar-p2-header-logo img {
    max-height: 66px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 210px !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-row {
    min-height: 60px !important;
    gap: 8px !important;
  }

  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-phone a {
    font-size: 15px !important;
  }

  .ar-p2-header-logo img {
    max-height: 58px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 10.5px !important;
  }
}

/* ========================================
   Header exact-match pass (Elementor)
   ======================================== */
.ar-p2-header-row {
  min-height: 90px !important;
  padding: 8px 14px !important;
  gap: 12px !important;
  border-bottom: 1px solid #f2ece3;
}

.ar-p2-header-phone {
  flex: 0 0 230px !important;
  max-width: 230px !important;
}

.ar-p2-header-phone a {
  color: #be1e2d !important;
  font-size: 33px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.ar-p2-header-logo {
  flex: 1 1 auto !important;
  justify-content: center !important;
}

.ar-p2-header-logo img {
  max-height: 96px !important;
  width: auto !important;
  object-fit: contain;
}

.ar-p2-header-tools {
  flex: 0 0 400px !important;
  max-width: 400px !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 230px !important;
  height: 40px !important;
  border: 1px solid #ece5dd !important;
  border-radius: 0 !important;
  font-size: 14px !important;
}

.ar-p2-icons {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ar-p2-icon-link {
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-size: 20px !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.ar-p2-icon-link.ar-p2-icon-cart {
  position: relative;
}

.ar-p2-cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #be1e2d;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ar-p2-header-menu-row {
  min-height: 34px !important;
  padding: 8px 14px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  gap: 26px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 1200px) {
  .ar-p2-header-phone a {
    font-size: 28px !important;
  }
  .ar-p2-header-menu-row .elementor-item {
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .ar-p2-header-phone a {
    font-size: 18px !important;
  }
  .ar-p2-header-logo img {
    max-height: 70px !important;
  }
  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }
  .ar-p2-header-menu-row .elementor-item {
    font-size: 12px !important;
  }
}

/* ========================================
   Final Uniform Layer (maquette-inspired)
   ======================================== */
:root {
  --ar-u-red: #be1e2d;
  --ar-u-red-dark: #8c1622;
  --ar-u-black: #1a1a1a;
  --ar-u-cream: #faf8f5;
  --ar-u-border: #e8dfd6;
  --ar-u-max: min(94vw, 1240px);
}

body {
  background: var(--ar-u-cream) !important;
  color: var(--ar-u-black) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif !important;
}

/* Global container discipline */
.ar-page-wrap,
.woocommerce.ar-lascours-shortcode-wrap,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart,
body.single-product div.product,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
.ar-p2-header-row,
.ar-p2-header-menu-row .elementor-widget-nav-menu,
.ar-p2-footer-inner {
  max-width: var(--ar-u-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header - close to provided target screenshot */
.ar-p2-header-row {
  min-height: 82px !important;
  padding: 8px 14px !important;
  gap: 10px !important;
}

.ar-p2-header-phone {
  flex: 0 0 210px !important;
  max-width: 210px !important;
}

.ar-p2-header-phone a {
  color: var(--ar-u-red) !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

.ar-p2-header-logo img {
  max-height: 74px !important;
  width: auto !important;
  object-fit: contain !important;
}

.ar-p2-header-tools {
  flex: 0 0 390px !important;
  max-width: 390px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 220px !important;
  height: 38px !important;
  border: 1px solid #e9e1d8 !important;
  border-radius: 2px !important;
  font-size: 14px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p,
.ar-p2-header-tools .elementor-widget-text-editor a {
  font-size: 13px !important;
  color: var(--ar-u-black) !important;
  text-decoration: none !important;
}

.ar-p2-header-menu-row {
  min-height: 40px !important;
  padding: 8px 14px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  justify-content: center !important;
  gap: 20px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

/* Product listing cards */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--ar-u-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.05) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.woocommerce ul.products li.product .price {
  color: #2e7d32 !important;
  font-weight: 800 !important;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 40px !important;
  border-radius: 4px !important;
}

/* Single product layout */
body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
  gap: 22px !important;
  padding: 10px 14px !important;
}

body.single-product div.product .images,
body.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
}

body.single-product div.product .summary {
  border: 1px solid var(--ar-u-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 18px !important;
}

body.single-product div.product .summary .product_title {
  font-size: clamp(28px, 2.1vw, 36px) !important;
  line-height: 1.12 !important;
}

body.single-product div.product .summary .price {
  font-size: clamp(28px, 2.2vw, 38px) !important;
  color: #2e7d32 !important;
  font-weight: 800 !important;
}

/* Footer */
.ar-p2-footer-wrap {
  border-top: 4px solid var(--ar-u-red) !important;
}

.ar-p2-footer-grid {
  padding-top: 34px !important;
}

/* Buttons/forms consistency */
.woocommerce button.button,
.woocommerce a.button,
.single-product .single_add_to_cart_button {
  background: var(--ar-u-red) !important;
  border-color: var(--ar-u-red) !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.single-product .single_add_to_cart_button:hover {
  background: var(--ar-u-red-dark) !important;
  border-color: var(--ar-u-red-dark) !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-row {
    min-height: 70px !important;
    flex-wrap: wrap !important;
  }

  .ar-p2-header-phone {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product div.product,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-phone a {
    font-size: 15px !important;
  }

  .ar-p2-header-logo img {
    max-height: 58px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 10.5px !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }
}

/* ========================================
   Header redesign lock (maquette-like)
   ======================================== */
.ar-p2-header-row {
  min-height: 86px !important;
  padding: 10px 14px !important;
  gap: 16px !important;
}

.ar-p2-header-phone {
  flex: 0 0 200px !important;
  max-width: 200px !important;
}

.ar-p2-header-phone a {
  font-size: 31px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.ar-p2-header-logo img {
  max-height: 108px !important;
  width: auto !important;
}

.ar-p2-header-tools {
  flex: 0 0 410px !important;
  max-width: 410px !important;
  gap: 8px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 250px !important;
  height: 40px !important;
  font-size: 15px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p,
.ar-p2-header-tools .elementor-widget-text-editor a {
  font-size: 15px !important;
}

.ar-p2-header-menu-row {
  min-height: 48px !important;
  padding: 12px 14px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-phone a {
    font-size: 25px !important;
  }

  .ar-p2-header-logo img {
    max-height: 88px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 210px !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 12px !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-phone a {
    font-size: 20px !important;
  }

  .ar-p2-header-logo img {
    max-height: 70px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }

  .ar-p2-header-menu-row .elementor-nav-menu {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 11px !important;
  }
}

/* ========================================
   Emergency visual reset (stable baseline)
   ======================================== */
.ar-p2-header-row {
  min-height: 74px !important;
  padding: 8px 12px !important;
  gap: 12px !important;
}

.ar-p2-header-phone {
  flex: 0 0 180px !important;
  max-width: 180px !important;
}

.ar-p2-header-phone a {
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

.ar-p2-header-logo img {
  max-height: 72px !important;
}

.ar-p2-header-tools {
  flex: 0 0 360px !important;
  max-width: 360px !important;
}

.ar-p2-header-tools .elementor-search-form__input {
  width: 220px !important;
  height: 36px !important;
  font-size: 14px !important;
}

.ar-p2-header-tools .elementor-widget-text-editor p,
.ar-p2-header-tools .elementor-widget-text-editor a {
  font-size: 13px !important;
}

.ar-p2-header-menu-row {
  min-height: 42px !important;
  padding: 9px 12px !important;
}

.ar-p2-header-menu-row .elementor-nav-menu {
  gap: 14px !important;
}

.ar-p2-header-menu-row .elementor-item {
  font-size: 12px !important;
  font-weight: 800 !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  gap: 16px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(16px, 1.05vw, 19px) !important;
  min-height: 42px !important;
}

body.single-product div.product {
  grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
  gap: 20px !important;
}

body.single-product div.product .summary .product_title {
  font-size: clamp(28px, 2.1vw, 38px) !important;
}

body.single-product div.product .summary .price {
  font-size: clamp(28px, 2.2vw, 40px) !important;
}

@media (max-width: 1024px) {
  .ar-p2-header-phone {
    flex: 0 0 150px !important;
    max-width: 150px !important;
  }

  .ar-p2-header-logo img {
    max-height: 64px !important;
  }

  .ar-p2-header-tools {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  body.single-product div.product,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .ar-p2-header-row {
    min-height: 60px !important;
    gap: 8px !important;
  }

  .ar-p2-header-phone,
  .ar-p2-header-logo,
  .ar-p2-header-tools {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .ar-p2-header-phone a {
    font-size: 15px !important;
  }

  .ar-p2-header-logo img {
    max-height: 56px !important;
  }

  .ar-p2-header-tools .elementor-search-form__input {
    width: 100% !important;
  }

  .ar-p2-header-menu-row .elementor-item {
    font-size: 10.5px !important;
  }
}
