/*
Theme Name: Charlotte Child
Theme URI: https://charlotte.pet
Description: Child theme de Hello Elementor pour Charlotte Pet — marque premium de literie pour animaux
Author: Tanitoss
Author URI: https://tanitoss.com
Template: hello-elementor
Version: 1.0.0
Text Domain: charlotte
*/

:root {
  --charlotte-dark: #2D2D2D;
  --charlotte-charcoal: #3B3B3B;
  --charlotte-medium-gray: #6B6B6B;
  --charlotte-light-gray: #F5F2EF;
  --charlotte-blush: #EDD9D1;
  --charlotte-cream: #F9F5F0;
  --charlotte-white: #FFFFFF;
  --charlotte-border: #E8E4E0;
  --charlotte-accent-rose: #D9B5AA;
}

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--charlotte-dark);
  line-height: 1.7;
  background: var(--charlotte-white);
}

h1, h2, h3, h4, h5, h6,
.charlotte-serif {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--charlotte-dark);
  line-height: 1.2;
}

.charlotte-meta {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
}

.charlotte-btn,
.wp-block-button__link,
.elementor-button {
  border: 1px solid var(--charlotte-dark);
  background: transparent;
  color: var(--charlotte-dark);
  padding: 12px 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.charlotte-btn:hover {
  background: var(--charlotte-dark);
  color: var(--charlotte-white);
}

/* Header */
.charlotte-header {
  border-bottom: 1px solid var(--charlotte-border);
}

.charlotte-quote-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--charlotte-dark);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.charlotte-quote-indicator:hover {
  color: var(--charlotte-medium-gray);
}

.charlotte-quote-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  padding: 2px 6px;
  border: 1px solid var(--charlotte-border);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

/* Product page */
.charlotte-art-code {
  display: block;
  margin: 8px 0 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
}

.charlotte-product-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

.charlotte-product-attributes .charlotte-attribute-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--charlotte-cream, #F9F5F0);
  border: 1px solid var(--charlotte-border);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.charlotte-product-attributes .charlotte-attribute-tag:hover {
  background: var(--charlotte-white, #FFFFFF);
  border-color: var(--charlotte-dark);
}

.charlotte-product-attributes .charlotte-attribute-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  font-weight: 500;
}

.charlotte-product-attributes .charlotte-attribute-label::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--charlotte-border);
  margin-left: 10px;
  vertical-align: middle;
}

.charlotte-product-attributes .charlotte-attribute-value {
  font-size: 13px;
  color: var(--charlotte-dark);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .charlotte-product-attributes {
    gap: 8px;
  }
  .charlotte-product-attributes .charlotte-attribute-tag {
    padding: 7px 14px;
  }
}

.charlotte-quote-wrap {
  margin-top: 24px;
}

.charlotte-add-to-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charlotte-dark);
  color: var(--charlotte-white);
  border: none;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.charlotte-add-to-quote:hover {
  background: var(--charlotte-charcoal);
}

.charlotte-add-to-quote .arrow {
  font-size: 16px;
  line-height: 1;
}

.charlotte-quote-page-link {
  display: inline-block;
  margin-left: 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--charlotte-medium-gray);
  text-decoration: underline;
}

.charlotte-quote-feedback {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--charlotte-medium-gray);
}

/* Dimensions */
.charlotte-dimensions {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.charlotte-dimensions li {
  padding: 16px;
  border: 1px solid var(--charlotte-border);
  text-align: center;
}

.charlotte-dimensions li strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  margin-bottom: 6px;
  font-weight: 500;
}

/* WooCommerce loop tweaks */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  padding-top: 12px;
}

.woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.woocommerce-loop-add-to-cart,
.woocommerce .onsale,
.star-rating,
.woocommerce-page .star-rating {
  display: none !important;
}

/* 2x2 home grid — offset overlay bottom-right */
.charlotte-pillar-card {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.charlotte-pillar-overlay {
  position: absolute;
  right: 32px;
  bottom: 32px;
  max-width: 70%;
  background: rgba(45, 45, 45, 0.92);
  color: #FFFFFF;
  padding: 28px 32px;
}

.charlotte-pillar-overlay h3 {
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.2;
}

.charlotte-pillar-overlay .sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-style: italic;
  margin: 0 0 14px;
}

.charlotte-pillar-overlay .body {
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .charlotte-pillar-overlay {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
    padding: 20px;
  }
}

/* Collection cards on Home */
.charlotte-collection-card .elementor-background-overlay {
  transition: opacity 0.3s ease;
}

/* Featured products on Home - hide add-to-cart, clean layout */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}

/* Header logo constraint */
.charlotte-logo img {
  max-height: 40px;
  width: auto !important;
  object-fit: contain;
}

/* Header — clean horizontal layout matching maquette */
.charlotte-header > .elementor-container {
  align-items: center;
}

.charlotte-header .elementor-widget-image .elementor-widget-container {
  line-height: 0;
}

.charlotte-header > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
  align-items: stretch;
  justify-content: center;
}

.charlotte-header .elementor-widget-nav-menu {
  width: 100%;
}

.charlotte-header .elementor-nav-menu--main {
  justify-content: flex-end;
}

.charlotte-header .elementor-nav-menu--layout-horizontal .elementor-nav-menu {
  width: auto !important;
  margin-left: auto;
  flex-wrap: nowrap;
  padding: 0;
  list-style: none;
}

.charlotte-header .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li {
  flex-shrink: 0;
}

.charlotte-header .elementor-nav-menu--layout-horizontal .elementor-nav-menu a {
  flex-grow: 0 !important;
  white-space: nowrap;
}

.charlotte-header .elementor-nav-menu > li > a.elementor-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--charlotte-dark);
  padding: 8px 22px !important;
  text-transform: none;
  letter-spacing: 0;
  background: transparent !important;
}

.charlotte-header .elementor-nav-menu > li:last-child > a.elementor-item {
  padding-right: 0 !important;
}

.charlotte-header .elementor-nav-menu > li > a.elementor-item:hover,
.charlotte-header .elementor-nav-menu > li > a.elementor-item.elementor-item-active {
  color: var(--charlotte-medium-gray) !important;
  background: transparent !important;
}

/* Hide burger icon on desktop — only show on mobile */
@media (min-width: 1025px) {
  .charlotte-header .elementor-menu-toggle {
    display: none !important;
  }
  .charlotte-header .elementor-nav-menu--dropdown {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .charlotte-header .elementor-nav-menu--main {
    display: none !important;
  }
  .charlotte-header .elementor-menu-toggle {
    display: flex !important;
    margin-left: auto;
    color: var(--charlotte-dark);
  }
  .charlotte-header .elementor-menu-toggle svg {
    width: 22px;
    height: 22px;
  }
  .charlotte-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    background: #FFFFFF;
    border-top: 1px solid var(--charlotte-border);
  }
  .charlotte-header .elementor-nav-menu--dropdown .elementor-nav-menu li a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--charlotte-border);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--charlotte-dark);
  }
}

/* Tablet — collapse dense grids */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 5 collections → 3 per row */
  .elementor-section .elementor-column.elementor-col-20 {
    width: 33.333% !important;
  }
  /* 4 piliers → 2 per row */
  .elementor-section .elementor-column.elementor-col-25 {
    width: 50% !important;
  }
  /* Category hero stacks at 900px already (see grid rule above) */
}

/* Mobile global — responsive typography + paddings */
@media (max-width: 767px) {
  /* Force all Elementor columns full-width */
  .elementor-section > .elementor-container > .elementor-column {
    width: 100% !important;
  }
  .elementor-section .elementor-column {
    width: 100% !important;
  }

  /* Collections cards — reduce height on mobile */
  .charlotte-collection-card {
    min-height: 300px !important;
  }

  .elementor-element h1,
  .elementor-element .elementor-heading-title {
    word-wrap: break-word;
  }

  /* Hero headline */
  .elementor-section .elementor-element .elementor-heading-title {
    line-height: 1.2;
  }

  /* Footer stacks */
  .charlotte-footer > .elementor-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .charlotte-footer .elementor-column {
    width: 100% !important;
  }
  .charlotte-footer .elementor-widget-image .elementor-widget-container {
    text-align: center;
  }
  .charlotte-footer .elementor-widget-image img {
    margin: 0 auto;
  }
  .charlotte-footer p {
    text-align: center !important;
  }

  /* Header row — reduce padding */
  .charlotte-header {
    padding: 12px 20px !important;
  }

  /* Reduce big sections' padding */
  .elementor-section.elementor-top-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 2x2 pillar card: shrink and reposition overlay */
  .charlotte-pillar-card {
    min-height: 340px !important;
  }

  /* Category hero */
  .charlotte-archive-hero-title {
    font-size: 32px !important;
  }
  .charlotte-archive-hero-tagline {
    font-size: 13px !important;
  }

  /* Quote cart table — simplify */
  .charlotte-quote-table {
    font-size: 13px;
  }
  .charlotte-quote-product {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .charlotte-quote-product img {
    width: 70px;
    height: 70px;
  }

  /* Product single — stack gallery + summary */
  .woocommerce.single-product div.product .elementor-container {
    flex-direction: column;
  }

  /* Nav menu items touch targets */
  .menu-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  /* Reduce hero size aggressively on very small screens */
  .elementor-section .elementor-widget-heading h1 {
    font-size: 28px !important;
  }
  .elementor-section .elementor-widget-heading h2 {
    font-size: 24px !important;
  }
  .elementor-section .elementor-widget-heading h3 {
    font-size: 20px !important;
  }

  /* Pillar overlay full width */
  .charlotte-pillar-overlay {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 18px;
  }
  .charlotte-pillar-overlay h3 { font-size: 18px; }
  .charlotte-pillar-overlay .body { font-size: 12px; }

  /* Footer padding */
  .charlotte-footer { padding: 24px 16px !important; }
}

/* Category archive hero */
.charlotte-archive-hero {
  background: var(--charlotte-blush);
  position: relative;
  padding: 0;
}

.charlotte-archive-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

.charlotte-archive-hero-content {
  padding: 72px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.charlotte-archive-hero-content .charlotte-meta {
  margin: 0 0 12px;
  color: var(--charlotte-medium-gray);
}

.charlotte-archive-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--charlotte-dark);
}

.charlotte-archive-hero-title .accent {
  font-weight: 700;
}

.charlotte-archive-hero-title .suffix {
  font-style: italic;
  font-weight: 400;
  margin-left: 10px;
}

.charlotte-archive-hero-body {
  font-size: 15px;
  line-height: 1.75;
  max-width: 440px;
  color: var(--charlotte-dark);
  margin-bottom: 28px;
}

.charlotte-range-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.charlotte-range-tags li a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--charlotte-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--charlotte-dark);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.charlotte-range-tags li a:hover {
  background: var(--charlotte-dark);
  color: #FFFFFF;
}

.charlotte-archive-hero-image {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.charlotte-archive-hero-tagline {
  position: absolute;
  right: 48px;
  bottom: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--charlotte-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.charlotte-archive-hero-tagline span {
  font-style: italic;
  text-transform: none;
  margin-left: 6px;
}

.charlotte-archive-hero--simple {
  background: var(--charlotte-cream);
  padding: 80px 20px;
  text-align: center;
}

.charlotte-archive-hero--simple h1 {
  font-size: 48px;
  margin: 0;
}

@media (max-width: 900px) {
  .charlotte-archive-hero-inner {
    grid-template-columns: 1fr;
  }
  .charlotte-archive-hero-content {
    padding: 48px 24px;
  }
  .charlotte-archive-hero-image {
    min-height: 280px;
  }
  .charlotte-archive-hero-tagline {
    position: static;
    text-align: center;
    padding: 16px;
  }
}

/* ============================================================
   HOME — pixel-closer to maquettev3.jpg
   ============================================================ */

/* Hero */
.ch-hero {
  position: relative;
  min-height: 86vh;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 80px;
}

.ch-hero-inner {
  max-width: 720px;
}

.ch-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
  color: #2D2D2D;
  margin: 0 0 12px;
}

.ch-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #2D2D2D;
  margin: 0;
}

/* 4 Pillars band */
.ch-pillars {
  background: #F5F2EF;
  padding: 42px 60px;
}

.ch-pillars-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.ch-pillar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ch-pillar-icon {
  flex-shrink: 0;
  line-height: 0;
}

.ch-pillar-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: #2D2D2D;
  margin: 0 0 4px;
  line-height: 1.2;
}

.ch-pillar-text p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6B6B6B;
  margin: 0;
  line-height: 1.4;
}

/* Collections title */
.ch-collections-title {
  padding: 70px 20px 24px;
  text-align: center;
}

.ch-collections-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: #2D2D2D;
  margin: 0;
}

/* Collections grid 5 tiles, no gap */
.ch-collections {
  padding: 8px 0 70px;
}

.ch-collections-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 0 20px;
}

.ch-col-card {
  position: relative;
  display: block;
  padding-bottom: 120%;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  overflow: hidden;
}

.ch-col-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.35);
  transition: background 0.3s ease;
}

.ch-col-card:hover::before {
  background: rgba(45, 45, 45, 0.55);
}

.ch-col-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
  text-align: center;
}

.ch-col-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
}

.ch-col-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.ch-col-card:hover .ch-col-btn {
  background: #FFFFFF;
  color: #2D2D2D;
}

/* Welcome section */
.ch-welcome {
  padding: 60px 20px;
}

.ch-welcome-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ch-welcome-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: #2D2D2D;
  margin: 0 0 10px;
  line-height: 1.2;
}

.ch-welcome-title em {
  font-style: italic;
}

.ch-welcome-tag {
  font-size: 14px;
  color: #6B6B6B;
  margin: 0;
  font-style: italic;
}

.ch-welcome-right {
  position: relative;
}

.ch-welcome-right p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #2D2D2D;
  margin: 0;
  padding-right: 40px;
}

.ch-welcome-arrow {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 22px;
  color: #2D2D2D;
  text-decoration: none;
  line-height: 1;
}

.ch-welcome-arrow:hover {
  color: #6B6B6B;
}

/* 2x2 grid — caption at bottom of tile */
.ch-2x2 {
  padding: 0 20px 60px;
}

.ch-2x2-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ch-2x2-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.ch-2x2-caption {
  background: rgba(45, 45, 45, 0.92);
  color: #FFFFFF;
  padding: 26px 30px 28px;
  width: 100%;
}

.ch-2x2-caption h3 {
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.25;
}

.ch-2x2-caption .sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: italic;
  margin: 0 0 12px;
}

.ch-2x2-caption .body {
  color: #FFFFFF;
  font-size: 12.5px;
  line-height: 1.65;
  margin: 0;
}

/* Brand story */
.ch-story {
  padding: 80px 20px;
  text-align: center;
}

.ch-story p {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: #2D2D2D;
  max-width: 880px;
  margin: 0 auto;
}

/* CTA */
.ch-cta {
  background: #3B3B3B;
  padding: 48px 20px;
  text-align: center;
}

.ch-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.ch-cta h3 {
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}

.ch-cta-btn {
  display: inline-block;
  padding: 10px 40px;
  background: #FFFFFF;
  color: #2D2D2D;
  border: 1px solid #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ch-cta-btn:hover {
  background: transparent;
  color: #FFFFFF;
}

/* Responsive Home */
@media (max-width: 1024px) {
  .ch-hero { padding: 0 40px 60px; min-height: 70vh; }
  .ch-hero-title { font-size: 42px; }
  .ch-pillars-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .ch-collections-inner { grid-template-columns: repeat(3, 1fr); }
  .ch-col-card { padding-bottom: 100%; }
  .ch-welcome-inner { grid-template-columns: 1fr; gap: 24px; }
  .ch-2x2-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ch-hero { padding: 0 24px 48px; min-height: 60vh; }
  .ch-hero-title { font-size: 32px; }
  .ch-pillars { padding: 32px 20px; }
  .ch-pillars-inner { grid-template-columns: 1fr; gap: 20px; }
  .ch-collections-inner { grid-template-columns: 1fr; gap: 2px; }
  .ch-collections-title { padding: 50px 20px 16px; }
  .ch-collections-title h2 { font-size: 26px; }
  .ch-welcome { padding: 48px 20px; }
  .ch-welcome-title { font-size: 24px; }
  .ch-2x2-tile { min-height: 300px; }
  .ch-2x2-caption { padding: 18px 20px; }
  .ch-story { padding: 60px 20px; }
  .ch-story p { font-size: 16px; }
  .ch-cta { padding: 40px 20px; }
  .ch-cta h3 { font-size: 22px; }
}

/* ============================================================
   BLOG — archive + single post
   ============================================================ */

/* --- Archive hero --- */
.ch-blog-hero {
  background: var(--charlotte-cream);
  padding: 90px 40px 70px;
  text-align: center;
  border-bottom: 1px solid var(--charlotte-border);
}

.ch-blog-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.ch-blog-hero .charlotte-meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  margin: 0 0 18px;
}

.ch-blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--charlotte-dark);
  margin: 0 0 22px;
}

.ch-blog-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charlotte-medium-gray);
  margin: 0;
}

/* --- Archive grid --- */
.ch-blog-grid-wrap {
  padding: 80px 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.ch-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.ch-blog-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.ch-blog-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--charlotte-light-gray);
  transition: opacity 0.3s ease;
}

.ch-blog-card-image:hover {
  opacity: 0.88;
}

.ch-blog-card-body {
  padding: 22px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ch-blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  margin: 0 0 10px;
}

.ch-blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--charlotte-dark);
  margin: 0 0 12px;
}

.ch-blog-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ch-blog-card h3 a:hover {
  color: var(--charlotte-medium-gray);
}

.ch-blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charlotte-medium-gray);
  margin: 0 0 18px;
}

.ch-blog-card-more {
  margin-top: auto;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charlotte-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--charlotte-dark);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.ch-blog-card-more:hover {
  color: var(--charlotte-medium-gray);
  border-color: var(--charlotte-medium-gray);
}

/* Pagination */
.ch-blog-pagination {
  grid-column: 1 / -1;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ch-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--charlotte-border);
  font-size: 13px;
  color: var(--charlotte-dark);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ch-blog-pagination .page-numbers.current,
.ch-blog-pagination .page-numbers:hover {
  background: var(--charlotte-dark);
  color: #FFFFFF;
  border-color: var(--charlotte-dark);
}

.ch-blog-empty {
  text-align: center;
  color: var(--charlotte-medium-gray);
  padding: 40px 0;
  font-style: italic;
}

/* --- Single post --- */
.ch-single-post {
  background: #FFFFFF;
}

.ch-single-post-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 40px;
  color: #FFFFFF;
}

.ch-single-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.ch-single-post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.ch-single-post-hero .charlotte-meta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.ch-single-post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
  max-width: 800px;
}

/* Post body */
.ch-single-post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 20px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--charlotte-dark);
}

.ch-single-post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charlotte-dark);
  margin: 48px 0 18px;
}

.ch-single-post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--charlotte-dark);
  margin: 36px 0 14px;
}

.ch-single-post-body p {
  margin: 0 0 22px;
}

.ch-single-post-body strong {
  color: var(--charlotte-dark);
  font-weight: 600;
}

.ch-single-post-body a {
  color: var(--charlotte-dark);
  text-decoration: underline;
  text-decoration-color: var(--charlotte-border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.ch-single-post-body a:hover {
  text-decoration-color: var(--charlotte-dark);
}

.ch-single-post-body blockquote {
  margin: 32px 0;
  padding: 20px 28px;
  border-left: 2px solid var(--charlotte-dark);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--charlotte-dark);
}

.ch-single-post-body img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

/* Post footer */
.ch-single-post-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--charlotte-border);
}

.ch-back-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--charlotte-medium-gray);
  text-decoration: none;
  padding-top: 24px;
}

.ch-back-link:hover {
  color: var(--charlotte-dark);
}

.ch-share {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 24px;
}

.ch-share .charlotte-meta {
  margin: 0;
  font-size: 11px;
}

.ch-share a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charlotte-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--charlotte-dark);
  padding-bottom: 2px;
}

.ch-share a:hover {
  color: var(--charlotte-medium-gray);
  border-color: var(--charlotte-medium-gray);
}

/* Related posts */
.ch-related-posts {
  background: var(--charlotte-light-gray);
  padding: 80px 40px;
}

.ch-related-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.ch-related-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--charlotte-dark);
  text-align: center;
  margin: 0 0 40px;
}

.ch-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ch-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ch-related-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--charlotte-border);
  transition: opacity 0.3s ease;
}

.ch-related-card:hover .ch-related-card-image {
  opacity: 0.88;
}

.ch-related-card-body {
  padding: 16px 0 0;
}

.ch-related-card-body .charlotte-meta {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--charlotte-medium-gray);
  margin: 0 0 8px;
}

.ch-related-card-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charlotte-dark);
  transition: color 0.2s;
}

.ch-related-card:hover .ch-related-card-title {
  color: var(--charlotte-medium-gray);
}

/* Responsive blog */
@media (max-width: 1024px) {
  .ch-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-related-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-single-post-hero h1 { font-size: 38px; }
  .ch-single-post-hero { min-height: 45vh; padding: 60px 24px; }
}

@media (max-width: 640px) {
  .ch-blog-hero { padding: 60px 20px 50px; }
  .ch-blog-hero h1 { font-size: 36px; }
  .ch-blog-grid-wrap { padding: 50px 20px; }
  .ch-blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .ch-related-grid { grid-template-columns: 1fr; gap: 28px; }
  .ch-related-posts { padding: 50px 20px; }
  .ch-single-post-hero h1 { font-size: 30px; }
  .ch-single-post-hero { min-height: 40vh; }
  .ch-single-post-body { padding: 40px 20px 30px; font-size: 16px; }
  .ch-single-post-body h2 { font-size: 22px; }
  .ch-single-post-footer { flex-direction: column; align-items: flex-start; padding-bottom: 48px; }
}

/* ============================================================
   OUR STORY — matches maquette-apropos.jpg
   ============================================================ */

.ch-story-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 80px;
}

.ch-story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(45,45,45,0.35) 0%, rgba(45,45,45,0) 55%);
  pointer-events: none;
}

.ch-story-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.ch-story-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.1;
}

.ch-story-hero p {
  color: #FFFFFF;
  font-size: 17px;
  margin: 0;
}

.ch-story-quote {
  padding: 90px 20px;
  text-align: center;
}

.ch-story-quote-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ch-story-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: #2D2D2D;
  margin: 0;
}

.ch-story-quote strong {
  font-weight: 700;
}

.ch-story-row {
  padding: 0 20px 70px;
}

.ch-story-row-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

.ch-story-row--img-left {
  grid-template-columns: 1.2fr 1fr;
}

.ch-story-row--img-right {
  grid-template-columns: 1fr 1.2fr;
}

.ch-story-row--two-images {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ch-story-image {
  width: 100%;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.ch-story-image--wide {
  min-height: 300px;
}

.ch-story-text p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #2D2D2D;
  margin: 0;
}

@media (max-width: 900px) {
  .ch-story-hero { padding: 40px 24px; min-height: 45vh; }
  .ch-story-hero h1 { font-size: 36px; }
  .ch-story-quote { padding: 60px 20px; }
  .ch-story-quote p { font-size: 22px; }
  .ch-story-row-inner {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .ch-story-image { min-height: 260px; }
  .ch-story-row--img-right .ch-story-text { order: 1; }
  .ch-story-row--img-right .ch-story-image { order: 2; }
}

/* --- Our Assortment / Story card alignment --- */
/* Ensure equal-height columns inside multi-col sections */
.elementor-section .elementor-container > .elementor-column > .elementor-widget-wrap {
  align-content: flex-start;
}

/* Our Assortment cards: ratio-fixed image + bottom-aligned button.
   Scope via `.elementor-459` (Elementor adds it to the page's own content
   wrapper, never to header/footer Theme Builder templates). */
.elementor-459 .elementor-column.elementor-col-33 > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elementor-459 .elementor-column.elementor-col-33 .elementor-widget-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.elementor-459 .elementor-column.elementor-col-33 .elementor-widget-button {
  margin-top: auto;
}

.elementor-459 .elementor-section > .elementor-container {
  align-items: stretch;
}

/* Contact: input + textarea full width, form column alignment */
.page-id-460 .charlotte-serif {
  margin-bottom: 24px;
}

/* Collection cards on Home — force equal heights & no gaps */
.charlotte-collection-card {
  height: 100%;
}

/* Universal: equal height flex columns in multi-col sections
   (scoped to main content only) */
.elementor-location-main .elementor-section > .elementor-container {
  align-items: stretch;
}

.elementor-location-main .elementor-section > .elementor-container > .elementor-column {
  display: flex;
}

.elementor-location-main .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  width: 100%;
}

/* Other collections grid */
.charlotte-other-collections {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .charlotte-other-collections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .charlotte-other-collections {
    grid-template-columns: 1fr;
  }
}

.charlotte-other-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.charlotte-other-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.4);
  transition: background 0.2s ease;
}

.charlotte-other-card:hover::before {
  background: rgba(45, 45, 45, 0.6);
}

.charlotte-other-card-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 16px;
  color: #FFFFFF;
  width: 100%;
}

.charlotte-other-card-title {
  display: block;
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.charlotte-other-card-cta {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Quote cart */
.charlotte-quote-cart {
  max-width: 1100px;
  margin: 0 auto;
}

.charlotte-quote-empty {
  text-align: center;
  color: var(--charlotte-medium-gray);
  font-size: 16px;
  margin-bottom: 24px;
}

.charlotte-quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.charlotte-quote-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  font-weight: 500;
  padding: 16px 12px;
  border-bottom: 1px solid var(--charlotte-border);
}

.charlotte-quote-table td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--charlotte-border);
  vertical-align: middle;
}

.charlotte-quote-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.charlotte-quote-product img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.charlotte-quote-remove {
  background: none;
  border: none;
  color: var(--charlotte-medium-gray);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 12px;
}

.charlotte-quote-remove:hover {
  color: var(--charlotte-dark);
}

.charlotte-quote-clear {
  background: none;
  border: none;
  color: var(--charlotte-medium-gray);
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.charlotte-quote-form-title {
  margin-top: 40px;
  margin-bottom: 24px;
  font-size: 28px;
}

.charlotte-quote-request-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  margin-bottom: 4px;
}

.charlotte-quote-request-form input,
.charlotte-quote-request-form textarea {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--charlotte-border);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--charlotte-white);
}

.charlotte-quote-request-form input:focus,
.charlotte-quote-request-form textarea:focus {
  outline: none;
  border-color: var(--charlotte-dark);
}

@media (max-width: 768px) {
  .charlotte-dimensions {
    grid-template-columns: 1fr;
  }
  .charlotte-quote-table th:nth-child(2),
  .charlotte-quote-table td:nth-child(2) {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — fixes defensifs mobile (audit auto)
   Ajoute des garde-fous sans modifier les regles existantes.
   ============================================================ */

/* Garantir aucun debordement horizontal sur petits ecrans */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Overlays absolute avec right: 32-48px -> reduire la marge sur mobile pour eviter
     que le bloc deborde ou ecrase le contenu */
  .charlotte-pillar-overlay {
    right: 16px;
    bottom: 16px;
    padding: 18px 20px;
    max-width: calc(100% - 32px);
  }

  .charlotte-archive-hero-tagline {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
  }

  /* Boost lisibilite des micro-badges 11px -> 12px sur mobile uniquement */
  .charlotte-pill,
  .charlotte-badge {
    font-size: 12px !important;
  }

  /* Boutons : taille minimale tap target 44x44px (recommandation Apple/Google) */
  .charlotte-btn,
  .elementor-button,
  button {
    min-height: 44px;
  }

  /* Images : empecher overflow du conteneur */
  .charlotte-pillar img,
  .charlotte-other-card img,
  .ch-col-card img {
    max-width: 100%;
    height: auto;
  }
}

/* Tres petit ecran : meme principe, encore plus serre */
@media (max-width: 480px) {
  .charlotte-pillar-overlay {
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }
}

/* ============================================================
   Bouton "Explore" sur les cards wc-categories (home Section 3)
   Ajout via CSS pour preserver les categories dynamiques de l'admin.
   ============================================================ */
.elementor-widget-wc-categories ul.products li.product-category {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.elementor-widget-wc-categories ul.products li.product-category > a {
  display: block !important;
  text-decoration: none !important;
  position: relative !important;
  width: 100%;
  height: 100%;
}

.elementor-widget-wc-categories ul.products li.product-category > a img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  position: static !important;
}

/* Overlay sombre en bas de l'image — gradient pour lisibilite */
.elementor-widget-wc-categories ul.products li.product-category > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.elementor-widget-wc-categories ul.products li.product-category > a::after {
  content: "Explore";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
  padding: 9px 26px;
  border: 1.5px solid #FFFFFF;
  border-radius: 2px;
  color: #FFFFFF;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.elementor-widget-wc-categories ul.products li.product-category > a:hover::after {
  background: #FFFFFF;
  color: #2D2D2D;
}

/* Le titre : overlay sur l'image, positionne au-dessus du bouton (en bas) */
.elementor-widget-wc-categories ul.products li.product-category h2.woocommerce-loop-category__title {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: #FFFFFF !important;
  margin: 0 !important;
  padding: 0 16px;
  text-align: center;
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.elementor-widget-wc-categories ul.products li.product-category h2.woocommerce-loop-category__title mark.count {
  display: none;
}

/* Mobile : reduire la taille du bouton et titre */
@media (max-width: 767px) {
  .elementor-widget-wc-categories ul.products li.product-category > a::after {
    padding: 7px 16px;
    font-size: 10px;
    bottom: 14px;
  }
  .elementor-widget-wc-categories ul.products li.product-category h2.woocommerce-loop-category__title {
    font-size: 16px;
    bottom: 50px;
  }
}

/* ============================================================
   [charlotte_assortment_rows] — Rows alternees image/texte
   Pour la page Our Assortment, dynamique depuis admin WooCommerce
   ============================================================ */
.charlotte-assortment {
  display: flex;
  flex-direction: column;
}

.charlotte-assortment-row {
  padding: 60px 0;
  border-bottom: 1px solid var(--charlotte-border);
}

.charlotte-assortment-row:last-child {
  border-bottom: none;
}

.charlotte-assortment-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.charlotte-assortment-row.is-reverse .charlotte-assortment-row-inner {
  direction: rtl;
}

.charlotte-assortment-row.is-reverse .charlotte-assortment-img,
.charlotte-assortment-row.is-reverse .charlotte-assortment-text {
  direction: ltr;
}

/* Image cell */
.charlotte-assortment-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--charlotte-light-gray);
  overflow: hidden;
}

.charlotte-assortment-img a {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

/* Text cell */
.charlotte-assortment-text {
  padding: 20px 0;
}

.charlotte-assortment-text .charlotte-meta {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.charlotte-assortment-text h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--charlotte-dark);
}

.charlotte-assortment-desc {
  color: var(--charlotte-medium-gray);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Sub-categories chips */
.charlotte-assortment-subs {
  margin: 0 0 28px;
}

.charlotte-assortment-subs-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charlotte-medium-gray);
  font-weight: 600;
  margin: 0 0 12px;
}

.charlotte-assortment-sub {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 7px 16px;
  border: 1px solid var(--charlotte-dark);
  color: var(--charlotte-dark);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.charlotte-assortment-sub:hover {
  background: var(--charlotte-dark);
  color: var(--charlotte-white);
}

/* Main CTA */
.charlotte-assortment-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--charlotte-dark);
  color: var(--charlotte-white) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.charlotte-assortment-cta:hover {
  background: var(--charlotte-charcoal);
}

/* Responsive: stack columns on tablet/mobile */
@media (max-width: 900px) {
  .charlotte-assortment-row {
    padding: 40px 0;
  }
  .charlotte-assortment-row-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .charlotte-assortment-row.is-reverse .charlotte-assortment-row-inner {
    direction: ltr;
  }
  .charlotte-assortment-img {
    aspect-ratio: 16 / 10;
  }
  .charlotte-assortment-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .charlotte-assortment-row {
    padding: 30px 0;
  }
  .charlotte-assortment-text h2 {
    font-size: 24px;
  }
  .charlotte-assortment-desc {
    font-size: 14px;
  }
}
