/*
Theme Name:   Divi Child
Theme URI:    https://www.elegantthemes.com/gallery/divi/
Description:  Divi Child Theme — Site de Rencontre Québec. Editorial-magazine modernization layered on top of Divi via CSS overrides only.
Author:       Emmanuel
Author URI:   https://www.elegantthemes.com
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         responsive-layout
Text Domain:  divi-child
*/

/* ═══════════════════════════════════════════════════════════════
   ALL CSS below exported from WordPress Customizer (local site)
   Merged into child theme style.css for production deployment
   ═══════════════════════════════════════════════════════════════ */

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.widget .woocommerce-mini-cart__buttons a:not(.checkout) {
display: none;
}
.name-of-cart-element {display: none !important; }
.et-cart-info {display: none !important; }

/* ═══════════════════════════════════════════════
   SITE DE RENCONTRE QUÉBEC — 2026 REDESIGN
   Modern Editorial Dating Review Site
   ═══════════════════════════════════════════════ */

/* ── GLOBAL ── */
body {
  background: #F8F9FA !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
html { scroll-behavior: smooth; }
::selection { background: #3B82F6; color: #fff; }
* { transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease; }

/* ── HEADER ── */
#main-header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
  border-bottom: none !important;
}
#main-header .container { max-width: 1200px !important; }
#et-top-navigation nav > ul > li > a {
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  color: #1D3557 !important;
  text-transform: none !important;
  padding-bottom: 8px !important;
  position: relative !important;
}


#et-top-navigation nav > ul > li > a:hover {
  color: #3B82F6 !important;
  opacity: 1 !important;
}

/* ── HERO SLIDER ── */
.et_pb_slider {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
}
.et_pb_slider .et_pb_slide {
  min-height: 520px !important;
}
.et_pb_slider .et_pb_slide_description {
  text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}
.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
}
.et_pb_slider .et_pb_slide_description .et_pb_slide_content {
  font-size: 16px !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}
.et_pb_slider .et_pb_more_button {
  padding: 14px 36px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border-radius: 50px !important;
  background: #3B82F6 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(59,130,246,0.4) !important;
}
.et_pb_slider .et_pb_more_button:hover {
  background: #2563EB !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(59,130,246,0.5) !important;
}
.et_pb_slider .et-pb-controllers a {
  width: 28px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,0.4) !important;
  border: none !important;
  margin: 0 4px !important;
}
.et_pb_slider .et-pb-controllers a.et-pb-active-control {
  background: #3B82F6 !important;
  width: 40px !important;
}
.et_pb_slider .et-pb-slider-arrows a {
  background: rgba(255,255,255,0.15) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  backdrop-filter: blur(8px) !important;
}
.et_pb_slider .et-pb-slider-arrows a:hover {
  background: rgba(255,255,255,0.3) !important;
}

/* ── SECTION SPACING & DIVIDERS ── */
.et_pb_section { padding: 60px 0 !important; }
.et_pb_section .et_pb_row { max-width: 1200px !important; }
hr, .et_pb_module hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent, #E5E7EB, transparent) !important;
  margin: 40px 0 !important;
}

/* ── CATEGORY HEADINGS ── */
.et_pb_text_inner h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #1D3557 !important;
  text-align: center !important;
  position: relative !important;
  padding-bottom: 20px !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px !important;
}
.et_pb_text_inner h2:after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #3B82F6, #60A5FA) !important;
  margin: 16px auto 0 !important;
  border-radius: 3px !important;
}
.et_pb_text_inner p {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #6B7280 !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* ── PRODUCT CARDS (WooCommerce) ── */
.et_pb_shop_grid ul.products {
  gap: 24px !important;
}
ul.products li.product {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  margin-bottom: 24px !important;
  position: relative !important;
}
ul.products li.product:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.1) !important;
  transform: translateY(-6px) !important;
  border-color: rgba(59,130,246,0.15) !important;
}
ul.products li.product a img,
ul.products li.product img.wp-post-image {
  border-radius: 0 !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}
ul.products li.product:hover a img,
ul.products li.product:hover img.wp-post-image {
  transform: scale(1.08) !important;
}
ul.products li.product .et_shop_image {
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  position: relative !important;
}
ul.products li.product .et_shop_image:after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 40% !important;
  background: linear-gradient(to top, rgba(0,0,0,0.06), transparent) !important;
  pointer-events: none !important;
}
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3 {
  padding: 16px 20px 6px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1D3557 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
}
ul.products li.product .price,
ul.products li.product .woocommerce-Price-amount {
  display: none !important;
}
ul.products li.product a.button,
ul.products li.product .added_to_cart {
  display: inline-block !important;
  margin: 4px 20px 20px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  color: #3B82F6 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
ul.products li.product a.button:hover {
  color: #2563EB !important;
  background: none !important;
  padding-left: 4px !important;
}
ul.products li.product a.button:after {
  content: ' \2192' !important;
  transition: margin-left 0.3s ease !important;
}
ul.products li.product a.button:hover:after {
  margin-left: 4px !important;
}

/* ── BLOG CARDS ── */
.et_pb_blog_grid .et_pb_post {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
}
.et_pb_blog_grid .et_pb_post:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.1) !important;
  transform: translateY(-6px) !important;
}
.et_pb_blog_grid .et_pb_post .entry-featured-image-url {
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  position: relative !important;
}
.et_pb_blog_grid .et_pb_post .entry-featured-image-url img {
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}
.et_pb_blog_grid .et_pb_post:hover .entry-featured-image-url img {
  transform: scale(1.06) !important;
}
.et_pb_blog_grid .et_pb_post .post-meta {
  padding: 0 24px !important;
  font-size: 12px !important;
  color: #9CA3AF !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 500 !important;
}
.et_pb_blog_grid .et_pb_post .post-meta a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
}
.et_pb_blog_grid .et_pb_post h2.entry-title {
  padding: 12px 24px 8px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1D3557 !important;
}
.et_pb_blog_grid .et_pb_post h2.entry-title a { color: #1D3557 !important; }
.et_pb_blog_grid .et_pb_post h2.entry-title a:hover { color: #3B82F6 !important; }
.et_pb_blog_grid .et_pb_post .post-content {
  padding: 0 24px 20px !important;
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.et_pb_blog_grid .et_pb_post .more-link {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* ── FOOTER ── */
#main-footer {
  background: linear-gradient(135deg, #1D3557 0%, #152238 100%) !important;
  border-top: none !important;
}
#footer-widgets {
  padding: 60px 0 40px !important;
}
#footer-widgets .footer-widget {
  padding: 0 20px !important;
}
#footer-widgets .footer-widget .widget-title {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: rgba(255,255,255,0.4) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
#footer-widgets .footer-widget li {
  list-style: none !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
#footer-widgets .footer-widget li:last-child { border-bottom: none !important; }
#footer-widgets .footer-widget a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
}
#footer-widgets .footer-widget a:hover {
  color: #ffffff !important;
  padding-left: 4px !important;
}
#footer-bottom {
  background: rgba(0,0,0,0.15) !important;
  padding: 20px 0 !important;
}
#footer-bottom #footer-info {
  color: rgba(255,255,255,0.35) !important;
  font-size: 13px !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ── BACK TO TOP BUTTON ── */
.et_pb_scroll_top {
  background: #3B82F6 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3) !important;
}

/* ── PAGINATION ── */
.pagination a, .wp-pagenavi a, .page-links a {
  border-radius: 8px !important;
  padding: 8px 16px !important;
  color: #1D3557 !important;
  font-weight: 500 !important;
}
.pagination .current, .wp-pagenavi .current {
  background: #3B82F6 !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .et_pb_slider .et_pb_slide { min-height: 400px !important; }
  .et_pb_slider .et_pb_slide_description .et_pb_slide_title { font-size: 28px !important; }
  .et_pb_text_inner h2 { font-size: 28px !important; }
  ul.products li.product a img { height: 160px !important; }
}
@media (max-width: 767px) {
  .et_pb_slider .et_pb_slide { min-height: 350px !important; }
  .et_pb_slider .et_pb_slide_description .et_pb_slide_title { font-size: 24px !important; }
  .et_pb_slider .et_pb_slide_description .et_pb_slide_content { font-size: 14px !important; }
  .et_pb_text_inner h2 { font-size: 24px !important; }
  .et_pb_section { padding: 40px 0 !important; }
}


/* ═══════════════════════════════════════════════
   SIDEBAR — Premium Editorial Style
   ═══════════════════════════════════════════════ */

/* Sidebar container */
#sidebar {
  padding-left: 30px !important;
}

/* All sidebar widgets — card treatment */
#sidebar .et_pb_widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease !important;
}
#sidebar .et_pb_widget:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* Widget titles */
#sidebar .et_pb_widget h4.widgettitle,
#sidebar .et_pb_widget .widgettitle,
#sidebar .et_pb_widget h2,
#sidebar .wp-block-heading {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #9CA3AF !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F3F4F6 !important;
  position: relative !important;
}
#sidebar .et_pb_widget h4.widgettitle:after,
#sidebar .et_pb_widget .widgettitle:after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #3B82F6 !important;
  border-radius: 1px !important;
}

/* Banner/image widgets — clean overflow */
#sidebar .et_pb_widget.widget_text {
  padding: 0 !important;
  overflow: hidden !important;
}
#sidebar .et_pb_widget.widget_text img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 16px !important;
  transition: transform 0.4s ease !important;
}
#sidebar .et_pb_widget.widget_text:hover img {
  transform: scale(1.03) !important;
}
#sidebar .et_pb_widget.widget_text .textwidget {
  padding: 0 !important;
}

/* Nav menu widget — category links */
#sidebar .widget_nav_menu {
  padding: 0 !important;
}
#sidebar .widget_nav_menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#sidebar .widget_nav_menu ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
}
#sidebar .widget_nav_menu ul li:last-child {
  border-bottom: none !important;
}
#sidebar .widget_nav_menu ul li a {
  display: flex !important;
  align-items: center !important;
  padding: 14px 20px !important;
  color: #374151 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}
#sidebar .widget_nav_menu ul li a:before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 0 !important;
  background: #3B82F6 !important;
  border-radius: 0 2px 2px 0 !important;
  transition: height 0.25s ease !important;
}
#sidebar .widget_nav_menu ul li a:hover {
  color: #3B82F6 !important;
  background: rgba(59,130,246,0.04) !important;
  padding-left: 24px !important;
}
#sidebar .widget_nav_menu ul li a:hover:before {
  height: 60% !important;
}
#sidebar .widget_nav_menu ul li.current-menu-item a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  background: rgba(59,130,246,0.06) !important;
}
#sidebar .widget_nav_menu ul li.current-menu-item a:before {
  height: 60% !important;
}

/* Recent posts widget */
#sidebar .widget_recent_entries,
#sidebar .wp-block-latest-posts {
  padding: 20px !important;
}
#sidebar .widget_recent_entries ul,
#sidebar .wp-block-latest-posts {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#sidebar .widget_recent_entries ul li,
#sidebar .wp-block-latest-posts li {
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #F3F4F6 !important;
}
#sidebar .widget_recent_entries ul li:last-child,
#sidebar .wp-block-latest-posts li:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* Recent posts with featured images */
#sidebar .wp-block-latest-posts__featured-image {
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
#sidebar .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  transition: transform 0.4s ease !important;
}
#sidebar .wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.05) !important;
}
#sidebar .wp-block-latest-posts__post-title,
#sidebar .widget_recent_entries a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1D3557 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
  display: block !important;
}
#sidebar .wp-block-latest-posts__post-title:hover,
#sidebar .widget_recent_entries a:hover {
  color: #3B82F6 !important;
}

/* Search widget */
#sidebar .widget_search input[type="text"],
#sidebar .widget_search input[type="search"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid #E5E7EB !important;
  border-radius: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  background: #F9FAFB !important;
  transition: all 0.3s ease !important;
  outline: none !important;
}
#sidebar .widget_search input[type="text"]:focus,
#sidebar .widget_search input[type="search"]:focus {
  border-color: #3B82F6 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
}
#sidebar .widget_search input[type="submit"] {
  background: #3B82F6 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  width: 100% !important;
  transition: background 0.3s ease !important;
}
#sidebar .widget_search input[type="submit"]:hover {
  background: #2563EB !important;
}

/* Sticky sidebar on desktop */
@media (min-width: 981px) {
  #sidebar {
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
  }
}

/* Sidebar responsive — hide on mobile */
@media (max-width: 980px) {
  #sidebar {
    padding-left: 0 !important;
    margin-top: 40px !important;
  }
}


/* ═══════════════════════════════════════════════
   FIXES — Nav text, product titles, category pages
   ═══════════════════════════════════════════════ */

/* ── FIX 1: NAV MENU TEXT INVISIBLE ── */
/* Main nav links — force visible text */
#top-menu > li > a,
#top-menu li a,
.nav li a,
#et-top-navigation nav > ul > li > a,
.menu-item a,
#top-menu > .menu-item > a {
  color: #1D3557 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#top-menu > li > a:hover,
#top-menu li a:hover,
#et-top-navigation nav > ul > li > a:hover {
  color: #3B82F6 !important;
  opacity: 1 !important;
}
/* Dropdown submenu links */
#top-menu li .sub-menu a,
.nav li .sub-menu a,
#top-menu .menu-item-has-children .sub-menu a {
  color: #374151 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
}
#top-menu li .sub-menu a:hover {
  color: #3B82F6 !important;
  background: rgba(59,130,246,0.04) !important;
}
/* Dropdown container */
#top-menu .sub-menu,
.nav .sub-menu {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
}
/* Fixed header text */
.et-fixed-header #top-menu > li > a,
.et-fixed-header #et-top-navigation nav > ul > li > a {
  color: #1D3557 !important;
  opacity: 1 !important;
}
.et-fixed-header #top-menu > li > a:hover {
  color: #3B82F6 !important;
}

/* ── FIX 2: PRODUCT TITLES TRUNCATED ── */
/* Remove line-clamp so full titles are visible */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  padding: 16px 20px 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1D3557 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* ── FIX 3: CATEGORY ARCHIVE PAGES ── */
/* Category page layout */
.archive .container,
.category .container,
.tag .container {
  max-width: 1200px !important;
}

/* Category page title */
.archive h1.page-title,
.category h1.page-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #1D3557 !important;
  text-align: center !important;
  padding-bottom: 16px !important;
  position: relative !important;
}
.archive h1.page-title:after,
.category h1.page-title:after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #3B82F6, #60A5FA) !important;
  margin: 16px auto 0 !important;
  border-radius: 3px !important;
}

/* Category archive post cards */
.archive .et_pb_post,
.category .et_pb_post {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  margin-bottom: 30px !important;
  transition: all 0.3s ease !important;
}
.archive .et_pb_post:hover,
.category .et_pb_post:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.1) !important;
  transform: translateY(-4px) !important;
}
.archive .et_pb_post .entry-featured-image-url,
.category .et_pb_post .entry-featured-image-url {
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
}
.archive .et_pb_post .entry-featured-image-url img,
.category .et_pb_post .entry-featured-image-url img {
  transition: transform 0.4s ease !important;
  width: 100% !important;
}
.archive .et_pb_post:hover .entry-featured-image-url img,
.category .et_pb_post:hover .entry-featured-image-url img {
  transform: scale(1.05) !important;
}
.archive .et_pb_post h2.entry-title,
.category .et_pb_post h2.entry-title {
  padding: 20px 24px 8px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.archive .et_pb_post h2.entry-title a,
.category .et_pb_post h2.entry-title a {
  color: #1D3557 !important;
}
.archive .et_pb_post h2.entry-title a:hover,
.category .et_pb_post h2.entry-title a:hover {
  color: #3B82F6 !important;
}
.archive .et_pb_post .post-meta,
.category .et_pb_post .post-meta {
  padding: 0 24px !important;
  font-size: 12px !important;
  color: #9CA3AF !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.archive .et_pb_post .post-meta a,
.category .et_pb_post .post-meta a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
}
.archive .et_pb_post .post-content,
.category .et_pb_post .post-content {
  padding: 12px 24px 24px !important;
  color: #6B7280 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}
.archive .et_pb_post .more-link,
.category .et_pb_post .more-link {
  display: inline-block !important;
  margin: 0 24px 24px !important;
  padding: 10px 24px !important;
  background: #3B82F6 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.archive .et_pb_post .more-link:hover,
.category .et_pb_post .more-link:hover {
  background: #2563EB !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important;
}

/* Category page sidebar — text not cut off */
.archive #sidebar .widget_nav_menu ul li a,
.category #sidebar .widget_nav_menu ul li a {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow: visible !important;
}

/* Sidebar on category pages — same styling */
.archive #sidebar,
.category #sidebar {
  padding-left: 30px !important;
}
.archive #sidebar .et_pb_widget,
.category #sidebar .et_pb_widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}


/* ── FIX: Hide Divi + overlay on product/blog images ── */
.et_overlay,
.et_pb_extra_overlay,
ul.products li.product .et_overlay,
.et_pb_blog_grid .et_pb_post .et_overlay,
.et_shop_image .et_overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
/* Also hide on post featured images */
.et_pb_post .entry-featured-image-url .et_overlay {
  display: none !important;
}


/* ═══════════════════════════════════════════════
   FIX: Dropdown menu trigger + WooCommerce category pages
   ═══════════════════════════════════════════════ */

/* ── FIX 1: Dropdown trigger area too large ── */
/* Tighten the menu item padding so hover zone matches text */
#top-menu > li {
  padding-bottom: 0 !important;
}
#top-menu > li > a {
  padding-bottom: 10px !important;
}
/* Prevent submenu from appearing via gap between link and dropdown */
#top-menu li .sub-menu {
  top: 100% !important;
  margin-top: 0 !important;
  padding-top: 8px !important;
}
/* Only show dropdown on direct hover of the parent li */
#top-menu > li > .sub-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
  transform: translateY(4px) !important;
}
#top-menu > li:hover > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
/* Tighten the invisible bridge between link and dropdown */
#top-menu > li > .sub-menu:before {
  content: '' !important;
  position: absolute !important;
  top: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 8px !important;
  background: transparent !important;
}

/* ── FIX 2: WooCommerce Product Category Pages ── */
/* Page title */
.woocommerce-products-header h1.woocommerce-products-header__title,
.tax-product_cat h1.page-title,
.woocommerce-page h1.page-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #1D3557 !important;
  text-align: center !important;
  padding-bottom: 16px !important;
  margin-bottom: 24px !important;
  position: relative !important;
}
.woocommerce-products-header h1:after,
.tax-product_cat h1.page-title:after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #3B82F6, #60A5FA) !important;
  margin: 16px auto 0 !important;
  border-radius: 3px !important;
}

/* Category description */
.woocommerce-products-header .term-description,
.tax-product_cat .term-description {
  max-width: 800px !important;
  margin: 0 auto 40px !important;
  text-align: center !important;
  color: #6B7280 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Product grid on category pages */
.tax-product_cat ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}
.tax-product_cat ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.1) !important;
  transform: translateY(-6px) !important;
  border-color: rgba(59,130,246,0.15) !important;
}
.tax-product_cat ul.products li.product img,
.woocommerce-page ul.products li.product img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}
.tax-product_cat ul.products li.product:hover img,
.woocommerce-page ul.products li.product:hover img {
  transform: scale(1.05) !important;
}
.tax-product_cat ul.products li.product .et_shop_image,
.woocommerce-page ul.products li.product .et_shop_image {
  overflow: hidden !important;
}
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product h2,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  padding: 16px 20px 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1D3557 !important;
  line-height: 1.4 !important;
}

/* Sidebar on WooCommerce category pages */
.tax-product_cat #sidebar,
.woocommerce-page #sidebar {
  padding-left: 30px !important;
}
.tax-product_cat #sidebar .et_pb_widget,
.tax-product_cat #sidebar .widget,
.woocommerce-page #sidebar .et_pb_widget,
.woocommerce-page #sidebar .widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}

/* WooCommerce sidebar — product categories widget */
.tax-product_cat #sidebar .widget_product_categories ul,
.tax-product_cat #sidebar .woocommerce-widget-layered-nav ul,
.woocommerce-page #sidebar .widget_product_categories ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.tax-product_cat #sidebar .widget_product_categories ul li,
.woocommerce-page #sidebar .widget_product_categories ul li {
  border-bottom: 1px solid #F3F4F6 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tax-product_cat #sidebar .widget_product_categories ul li:last-child,
.woocommerce-page #sidebar .widget_product_categories ul li:last-child {
  border-bottom: none !important;
}
.tax-product_cat #sidebar .widget_product_categories ul li a,
.woocommerce-page #sidebar .widget_product_categories ul li a {
  display: block !important;
  padding: 12px 16px !important;
  color: #374151 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border-left: 3px solid transparent !important;
}
.tax-product_cat #sidebar .widget_product_categories ul li a:hover,
.woocommerce-page #sidebar .widget_product_categories ul li a:hover {
  color: #3B82F6 !important;
  background: rgba(59,130,246,0.04) !important;
  border-left-color: #3B82F6 !important;
  padding-left: 20px !important;
}
.tax-product_cat #sidebar .widget_product_categories ul li.current-cat a,
.woocommerce-page #sidebar .widget_product_categories ul li.current-cat a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  background: rgba(59,130,246,0.06) !important;
  border-left-color: #3B82F6 !important;
}
/* Product count badge */
.tax-product_cat #sidebar .widget_product_categories ul li .count,
.woocommerce-page #sidebar .widget_product_categories ul li .count {
  float: right !important;
  background: #EFF6FF !important;
  color: #3B82F6 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  line-height: 1.4 !important;
}

/* WooCommerce sidebar widget titles */
.tax-product_cat #sidebar .widgettitle,
.tax-product_cat #sidebar h2.widgettitle,
.woocommerce-page #sidebar .widgettitle,
.woocommerce-page #sidebar h2.widgettitle {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #9CA3AF !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F3F4F6 !important;
  position: relative !important;
}
.tax-product_cat #sidebar .widgettitle:after,
.woocommerce-page #sidebar .widgettitle:after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #3B82F6 !important;
  border-radius: 1px !important;
}

/* Price filter widget */
.tax-product_cat #sidebar .widget_price_filter .price_slider_wrapper,
.woocommerce-page #sidebar .widget_price_filter .price_slider_wrapper {
  padding: 8px 0 !important;
}
.tax-product_cat #sidebar .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce-page #sidebar .widget_price_filter .ui-slider .ui-slider-handle {
  background: #3B82F6 !important;
  border-radius: 50% !important;
}
.tax-product_cat #sidebar .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce-page #sidebar .widget_price_filter .ui-slider .ui-slider-range {
  background: #3B82F6 !important;
}

/* Search widget on WooCommerce pages */
.tax-product_cat #sidebar .woocommerce-product-search input[type="search"],
.woocommerce-page #sidebar .woocommerce-product-search input[type="search"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid #E5E7EB !important;
  border-radius: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  background: #F9FAFB !important;
  outline: none !important;
  transition: all 0.3s ease !important;
}
.tax-product_cat #sidebar .woocommerce-product-search input[type="search"]:focus,
.woocommerce-page #sidebar .woocommerce-product-search input[type="search"]:focus {
  border-color: #3B82F6 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
}
.tax-product_cat #sidebar .woocommerce-product-search button,
.woocommerce-page #sidebar .woocommerce-product-search button {
  background: #3B82F6 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  margin-top: 8px !important;
  width: 100% !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* Hide Divi overlay on WooCommerce category pages too */
.tax-product_cat .et_overlay,
.woocommerce-page .et_overlay {
  display: none !important;
}

/* Responsive sidebar */
@media (max-width: 980px) {
  .tax-product_cat #sidebar,
  .woocommerce-page #sidebar {
    padding-left: 0 !important;
    margin-top: 40px !important;
  }
}


/* ═══════════════════════════════════════════════
   FIX: Divi Theme Builder sidebar (.et_pb_widget_area)
   Used on WooCommerce category pages (categorie-produit/)
   ═══════════════════════════════════════════════ */

/* All widgets in Theme Builder sidebar — card treatment */
.et_pb_widget_area .et_pb_widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease !important;
}
.et_pb_widget_area .et_pb_widget:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* Banner/image widgets — no padding, full bleed */
.et_pb_widget_area .et_pb_widget.widget_text {
  padding: 0 !important;
}
.et_pb_widget_area .et_pb_widget.widget_text img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 16px !important;
  transition: transform 0.4s ease !important;
}
.et_pb_widget_area .et_pb_widget.widget_text:hover img {
  transform: scale(1.03) !important;
}
.et_pb_widget_area .et_pb_widget.widget_text .textwidget {
  padding: 0 !important;
}

/* Widget titles */
.et_pb_widget_area .et_pb_widget h4.widgettitle,
.et_pb_widget_area .et_pb_widget .widgettitle,
.et_pb_widget_area .wp-block-heading {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #9CA3AF !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F3F4F6 !important;
  position: relative !important;
}
.et_pb_widget_area .et_pb_widget h4.widgettitle:after,
.et_pb_widget_area .et_pb_widget .widgettitle:after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #3B82F6 !important;
  border-radius: 1px !important;
}

/* Nav menu widget — category links */
.et_pb_widget_area .widget_nav_menu {
  padding: 0 !important;
}
.et_pb_widget_area .widget_nav_menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.et_pb_widget_area .widget_nav_menu ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
}
.et_pb_widget_area .widget_nav_menu ul li:last-child {
  border-bottom: none !important;
}
.et_pb_widget_area .widget_nav_menu ul li a {
  display: block !important;
  padding: 14px 20px !important;
  color: #374151 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border-left: 3px solid transparent !important;
}
.et_pb_widget_area .widget_nav_menu ul li a:hover {
  color: #3B82F6 !important;
  background: rgba(59,130,246,0.04) !important;
  border-left-color: #3B82F6 !important;
  padding-left: 24px !important;
}
.et_pb_widget_area .widget_nav_menu ul li.current-menu-item a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  background: rgba(59,130,246,0.06) !important;
  border-left-color: #3B82F6 !important;
}

/* Recent posts widget in TB sidebar */
.et_pb_widget_area .widget_recent_entries ul,
.et_pb_widget_area .wp-block-latest-posts {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.et_pb_widget_area .widget_recent_entries ul li,
.et_pb_widget_area .wp-block-latest-posts li {
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #F3F4F6 !important;
}
.et_pb_widget_area .widget_recent_entries ul li:last-child,
.et_pb_widget_area .wp-block-latest-posts li:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.et_pb_widget_area .wp-block-latest-posts__featured-image {
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.et_pb_widget_area .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  transition: transform 0.4s ease !important;
}
.et_pb_widget_area .wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.05) !important;
}
.et_pb_widget_area .wp-block-latest-posts__post-title,
.et_pb_widget_area .widget_recent_entries a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1D3557 !important;
  text-decoration: none !important;
}
.et_pb_widget_area .wp-block-latest-posts__post-title:hover,
.et_pb_widget_area .widget_recent_entries a:hover {
  color: #3B82F6 !important;
}

/* Sticky on desktop */
@media (min-width: 981px) {
  .et_pb_widget_area {
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
  }
}






/* ── Nav hover: border-bottom with proper spacing ── */
#et-top-navigation nav > ul > li {
  padding-bottom: 12px !important;
}
#et-top-navigation nav > ul > li > a {
  border-bottom: 2px solid transparent !important;
  padding-bottom: 8px !important;
  transition: all 0.3s ease !important;
}
#et-top-navigation nav > ul > li > a:hover,
#et-top-navigation nav > ul > li.current-menu-item > a {
  border-bottom-color: #3B82F6 !important;
}


/* ===============================================
   FIX - PRODUCT TITLE LINE-HEIGHT
   =============================================== */
.single-product h1.product_title,
.single-product .product_title.entry-title,
.et_pb_wc_title h1.product_title,
.woocommerce div.product .product_title {
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    padding-bottom: 16px !important;
}

/* ===============================================
   CATEGORY H2 BUTTON-LINK STYLING
   =============================================== */
.et_pb_text_inner h2 a.cat-heading-link {
    color: #1D3557 !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
}
.et_pb_text_inner h2 a.cat-heading-link:hover {
    color: #3B82F6 !important;
    transform: translateY(-1px) !important;
}
.et_pb_text_inner h2 a.cat-heading-link::after {
    content: " \2192" !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
    display: inline-block !important;
    transform: translateX(-6px) !important;
}
.et_pb_text_inner h2 a.cat-heading-link:hover::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
a.cat-see-all-btn {
    display: inline-block !important;
    margin-top: 10px !important;
    padding: 8px 22px !important;
    background: transparent !important;
    border: 2px solid #3B82F6 !important;
    border-radius: 50px !important;
    color: #3B82F6 !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}
a.cat-see-all-btn:hover {
    background: #3B82F6 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35) !important;
}
.cat-btn-wrapper {
    text-align: center !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
}

/* ===============================================
   FIX — HIDE RAW SHORTCODE TEXT
   tf_product_filter plugin not active
   =============================================== */
.et_pb_code_inner:not(:empty) {
    /* Hide only if content is raw shortcode text */
}
/* Target the specific code module in theme builder */
.et_pb_code_0_tb_body .et_pb_code_inner {
    display: none !important;
}

/* ===============================================
   FIX — H3 MORE LINE SPACING
   =============================================== */
.et_pb_text_inner h3,
.entry-content h3,
.et_pb_post_content h3 {
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    margin-top: 20px !important;
}

/* ===============================================
   ALL MOBILE FIXES (≤ 980px)
   Consolidated block with nuclear specificity
   =============================================== */
@media only screen and (max-width: 980px) {

    /* Hamburger icon → light blue */
    .mobile_menu_bar::before,
    .mobile_menu_bar_toggle::before {
        color: #3B82F6 !important;
    }

    /* Mobile content padding */
    .et_pb_text_inner,
    .et-db #et-boc .et-l .et_pb_text_inner,
    .entry-content,
    .et_pb_post_content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Shop module padding */
    .et_pb_shop,
    .et-db #et-boc .et-l .et_pb_shop {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* TB rows → stack vertically */
    .et_pb_row,
    .et-db #et-boc .et-l .et_pb_row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    /* TB columns → full width, no float */
    .et_pb_column_2_3,
    .et_pb_column_3_4,
    .et_pb_column_1_3,
    .et-db #et-boc .et-l .et_pb_column_2_3,
    .et-db #et-boc .et-l .et_pb_column_3_4,
    .et-db #et-boc .et-l .et_pb_column_1_3,
    .et_pb_column_2_3.et_pb_column_0_tb_body,
    .et_pb_column.et_pb_column_2_3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
    }

    /* Product grid → 2 columns, items STRETCH to fill cells */
    .et-db #et-boc .et-l .et_pb_shop_0_tb_body ul.products,
    .et-db #et-boc .et-l .et_pb_shop ul.products,
    .et-db #et-boc .et-l .woocommerce ul.products,
    .woocommerce ul.products[class*="columns-"],
    .woocommerce-page ul.products[class*="columns-"],
    ul.products {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        justify-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Product items → fill full grid cell */
    .et-db #et-boc .et-l .et_pb_shop_0_tb_body ul.products li.product:nth-child(n),
    .et-db #et-boc .et-l .et_pb_shop ul.products li.product:nth-child(n),
    .woocommerce ul.products[class*="columns-"] li.product:nth-child(n),
    .woocommerce-page ul.products[class*="columns-"] li.product:nth-child(n),
    .et-db #et-boc .et-l .woocommerce ul.products li.product:nth-child(n) {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    /* WooCommerce wrapper → full width */
    .woocommerce.columns-3,
    div.woocommerce.columns-3,
    .et-db #et-boc .et-l .woocommerce.columns-3 {
        width: 100% !important;
    }

    /* Product titles — readable */
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2,
    ul.products li.product h2,
    .woocommerce-loop-product__title {
        font-size: 14px !important;
        line-height: 1.35 !important;
        padding: 8px 4px !important;
        word-break: break-word !important;
    }

    /* Product images — fill grid cell */
    .et_pb_shop .et_shop_image img,
    .et_pb_shop_grid .et_shop_image img,
    ul.products li.product img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}