/* Tab styles mapping */
.woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 2rem !important;
  border-bottom: 2px solid var(--border-color) !important;
  margin-bottom: 2rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce-tabs ul.tabs li {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  padding-bottom: 1rem !important;
  position: relative !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li.active {
  color: var(--text-main) !important;
}
.woocommerce-tabs ul.tabs li.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--primary) !important;
  display: block !important;
}
.woocommerce-tabs .panel {
  background: var(--card-bg) !important;
  border-radius: var(--radius-lg) !important;
  padding: 3rem !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--text-muted) !important;
}

/* Force product image fix */
.gallery-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}
.gallery-container .woocommerce-product-gallery {
  border: none !important;
  padding: 0 !important;
  background: white !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  display: flex !important;
}
.woocommerce-product-gallery__wrapper { margin: 0 !important; width: 100% !important; padding: 2rem !important; }
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: contain !important;
}
.product-badge {
   position: absolute !important;
   background: var(--primary) !important;
}

/* Typography, Breadcrumbs and Prices */
.p-price-wrap .price, .p-price-wrap .woocommerce-Price-amount {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
}
.p-price-wrap del .woocommerce-Price-amount {
  font-size: 1.25rem !important;
  color: var(--text-muted) !important;
  text-decoration: line-through !important;
  margin-left: 1rem;
}
/* WooCommerce breadcrumbs in content (no full-width hero) */
.woocommerce-breadcrumb {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin-bottom: 1rem !important;
}
.woocommerce-breadcrumb a {
  color: #c1272d !important;
}
.woocommerce-breadcrumb a:hover {
  color: #9e1f24 !important;
}

.reetal-shop-breadcrumb {
  margin-bottom: 0.75rem;
}

.reetal-shop-breadcrumb .woocommerce-breadcrumb {
  margin-bottom: 0 !important;
}
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Related Products Header */
.related.products > h2,
.upsells.products > h2 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin-bottom: 2.5rem !important;
  color: var(--text-main) !important;
  width: 100% !important;
}
.related.products {
  width: 100%;
}
.product-badge {
   position: absolute !important;
   background: var(--primary) !important;
}

/* Header third tier only (avoid fighting main.css dark-nav rules site-wide) */
.site-header .nav-bar.reetal-sub-nav {
  background: #eceff3 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.site-header .reetal-sub-nav .main-navigation .nav-menu > li > a {
  color: #1f2937 !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.85rem 0.25rem !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
}
.site-header .reetal-sub-nav .main-navigation .nav-menu > li > a:hover,
.site-header .reetal-sub-nav .main-navigation .nav-menu > li.current-menu-item > a {
  color: #c1272d !important;
  background: transparent !important;
  border-bottom-color: #c1272d !important;
}
.site-header .browse-categories {
  margin-bottom: -1px;
}

/* Alignment and Flex Fixes */
form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: center !important;
}
form.cart > * {
  flex: none !important;
}
form.cart > .single_add_to_cart_button {
  flex: 1 !important;
  min-width: 150px;
}
/* Ensure injected trust badges break to next line */
form.cart > div:not(.quantity), form.cart > ul, form.cart > p {
  flex-basis: 100% !important;
  margin-top: 1rem !important;
}
.stock {
  width: 100% !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}
.action-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.75rem !important;
  justify-content: center !important;
}
.action-btn i { font-size: 1.25rem !important; }
.header-actions {
  display: flex !important;
  gap: 1.5rem !important;
  align-items: center !important;
}
.search-bar .search-field {
  padding-left: 3rem !important;
}
.search-bar.reetal-main-bar__search .search-field,
.search-bar.reetal-main-bar__search .reetal-search-form__input {
  padding-left: 2.85rem !important;
  border-radius: 999px !important;
}
.search-bar i {
  position: absolute !important;
  left: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}
.search-bar.reetal-main-bar__search .reetal-search-form__icon {
  left: 1rem !important;
}
/* Blog / search / archive titles inside #content (not a full-width cover band) */
#content .page-header {
  background: transparent !important;
  padding: 0 0 1rem !important;
  text-align: left !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid #e5e7eb !important;
}
#content .page-header .page-title {
  color: #111827 !important;
  font-size: 1.65rem !important;
  margin: 0 0 0.35rem !important;
}
.shop-toolbar {
  margin-bottom: 2rem !important;
}

/* Force layout grid */
.shop-layout {
  display: grid !important;
  grid-template-columns: 280px 1fr !important;
  gap: 2.5rem !important;
  align-items: start !important;
}
.cart-empty, .return-to-shop { width: 100%; }
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ——— Product card: image area background (pinkish-light like lotomena.com) ——— */
.product-card .product-image,
.woocommerce ul.products li.product .product-image {
  background: linear-gradient(160deg, #faf6f6 0%, #f0e6e6 100%) !important;
}
.product-image img,
.product-card .product-image img {
  background: transparent !important;
}
/* WooCommerce default image background override */
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img {
  background: linear-gradient(160deg, #faf6f6 0%, #f0e6e6 100%) !important;
}

/* ——— Model # strip under product image (loop cards) ——— */
.product-model-bar {
  background: var(--color-nav, #1a1a1a) !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.85rem !important;
  letter-spacing: 0.01em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  min-height: 28px !important;
}
.product-model-label {
  opacity: 0.75;
  font-weight: 500;
}
.product-model-value {
  font-weight: 700;
}
/* Standard WooCommerce loop: model bar for li.product using SKU injected via hook */
.woocommerce ul.products li.product .reetal-loop-product-cat {
  background: transparent !important;
}

/* ——— Shop grid + dense: Lotomena-style frame (gold border, brand badge, model strip on image) ——— */
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-card__media {
  position: relative;
  background: #fff;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-image {
  position: relative !important;
  background: #fff !important;
  border: 2px solid #e8c547 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
  overflow: hidden !important;
  margin: 0.65rem 0.65rem 0.4rem !important;
  align-self: stretch;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-image-badge {
  position: absolute;
  z-index: 4;
  inset-inline-start: 8px;
  top: 8px;
  max-width: calc(100% - 3.75rem);
  padding: 0.22rem 0.45rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c1272d 0%, #9e1f24 100%);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-image .product-model-bar {
  position: absolute !important;
  inset-inline: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 3 !important;
  justify-content: center !important;
  text-align: center !important;
  flex-wrap: wrap !important;
  gap: 0.2rem 0.45rem !important;
  padding: 0.38rem 0.5rem !important;
  font-size: 0.62rem !important;
  min-height: 0 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(26, 26, 26, 0.9)) !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-image .product-model-label {
  opacity: 0.9 !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-actions {
  opacity: 1 !important;
  transform: none !important;
  top: 0.42rem !important;
  inset-inline-end: 0.42rem !important;
  inset-inline-start: auto !important;
  z-index: 5 !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-actions .btn-icon {
  width: 34px !important;
  height: 34px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-info .product-title {
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-top: 0 !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-info .product-category {
  margin-top: 0.15rem !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products:not(.reetal-shop-view--list) li.product .product-image > a img {
  padding-bottom: 2rem !important;
  object-position: center bottom !important;
}

/* ——— Product image background for .product-image wrapper ——— */
.product-image {
  background: linear-gradient(160deg, #faf6f6 0%, #f0e6e6 100%) !important;
}


/* ——— "Show: 9/12/18/24" per-page links in toolbar ——— */
.reetal-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  margin-left: 0;
}
.reetal-per-page__label {
  color: var(--text-muted, #6b7280);
  font-weight: 500;
}
.reetal-per-page__link {
  color: var(--text-muted, #6b7280);
  text-decoration: none;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.reetal-per-page__link:hover {
  color: var(--primary, #dc2626);
  text-decoration: none;
}
.reetal-per-page__link--active {
  color: var(--primary, #dc2626) !important;
  font-weight: 800;
  text-decoration: underline;
}
/* Separate result count (left) + per-page/sort (right) */
.reetal-shop-toolbar .woocommerce-result-count {
  margin-right: auto;
}

/* ——— Shop toolbar row (Lotomena-style: count | … | Show | icons | Sort) ——— */
.reetal-shop-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem 1rem !important;
}
.reetal-toolbar-right {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.5rem 0.85rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* ——— Grid / list / dense toggle ——— */
.reetal-view-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 2px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(195, 33, 33, 0.2) !important;
  background: var(--color-surface, #fff) !important;
}
.reetal-view-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--text-muted, #6b7280) !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  transition: background 0.15s, color 0.15s !important;
}
.reetal-view-btn:hover {
  color: var(--primary, #c32121) !important;
  background: rgba(195, 33, 33, 0.06) !important;
}
.reetal-view-btn.is-active {
  color: #c32121 !important;
  background: #fff !important;
  box-shadow: 0 0 0 1.5px #3b82f6 !important;
}

/* ——— Shop archive: 3 columns “standard” grid; dense = 4 (Lotomena-style) ——— */
@media (min-width: 1024px) {
  body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main ul.products.reetal-shop-view--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.35rem !important;
  }
  body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main ul.products.reetal-shop-view--dense {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}
@media (max-width: 1023px) {
  body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main ul.products {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)) !important;
  }
}

/* List view — two-column grid: media (image + model) | info (fixes model bar stretching mid-row) */
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list {
  grid-template-columns: 1fr !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product.product-card {
  display: grid !important;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) !important;
  grid-template-areas: 'pcmedia pcinfo' !important;
  gap: 0 1rem !important;
  align-items: stretch !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-card__media {
  grid-area: pcmedia !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-card__media .product-image {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  padding-top: 0 !important;
  min-height: 0 !important;
  align-self: stretch !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-card__media .product-image img {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: 150px !important;
  aspect-ratio: 1;
  object-fit: contain !important;
  padding: 0.75rem !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-image .product-model-bar {
  position: relative !important;
  inset: auto !important;
  bottom: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: auto !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  justify-content: flex-start !important;
  text-align: left !important;
  border-radius: 0 !important;
  background: var(--color-nav, #1a1a1a) !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-image-badge {
  display: none !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-info {
  grid-area: pcinfo !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 0.75rem 0.5rem 0.75rem 0 !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .product-actions {
  right: 0.35rem !important;
  top: 0.35rem !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product a.woocommerce-LoopProduct-link,
body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product .woocommerce-loop-product__link {
  flex: unset !important;
  max-width: none !important;
}

@media (max-width: 640px) {
  body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products.reetal-shop-view--list li.product.product-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      'pcmedia'
      'pcinfo' !important;
  }
}

/* ——— Pagination ——— */
.woocommerce nav.woocommerce-pagination {
  margin: 2rem 0 0 !important;
  clear: both !important;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li {
  margin: 0 !important;
  border: none !important;
  display: inline-flex !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 0.65rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  border: 1px solid rgba(195, 33, 33, 0.18) !important;
  background: var(--color-surface, #fff) !important;
  color: var(--text-main, #1a1a1a) !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--primary, #c32121) !important;
  color: var(--primary, #c32121) !important;
  background: rgba(195, 33, 33, 0.06) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  border-color: var(--primary, #c32121) !important;
  background: rgba(195, 33, 33, 0.12) !important;
  color: var(--primary, #c32121) !important;
  font-weight: 700 !important;
}
.woocommerce nav.woocommerce-pagination ul li span.dots {
  border: none !important;
  background: transparent !important;
  min-width: auto !important;
  color: var(--text-muted, #6b7280) !important;
}

/* ═══ Shop archive — Lotomena / reference styling ═══ */
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main.shop-content {
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  border-radius: 12px;
  padding: 1rem 1rem 1.5rem;
}

/* Beat design-override.css #secondary .widget / .widget-title (ID wins without .shop-sidebar). */
#secondary.shop-sidebar .widget {
  background: #fff !important;
  border: 1px solid #e8e8ec !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  padding: 1.15rem 1.2rem 1.2rem !important;
  margin-bottom: 1.15rem !important;
}

#secondary.shop-sidebar .widget:last-child {
  margin-bottom: 0 !important;
}

#secondary.shop-sidebar .widget-title {
  border-left: 4px solid #c1272d !important;
  border-bottom: 1px solid #ececf0 !important;
  color: #111 !important;
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  margin: 0 0 0 !important;
  padding: 0 0 0.75rem 0.75rem !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .widget {
  background: #fff !important;
  border: 1px solid #e8e8ec !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  padding: 1.15rem 1.2rem 1.2rem !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .widget-title {
  border-left-color: #c1272d !important;
  color: #111 !important;
}

/* ——— Shop sidebar: price filter (fallback + legacy widget button) ——— */
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-shell {
  margin-top: 0.4rem;
  padding: 1rem 0.95rem 1.1rem;
  background: linear-gradient(180deg, #f3f3f5 0%, #ebecef 100%);
  border: 1px solid #e0e1e6;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Red “slider” line + end caps (reference Lotomena) */
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__visual {
  position: relative;
  height: 14px;
  margin: 0 0.15rem 0.75rem;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__visual-line {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #d12d2d;
  border-radius: 2px;
  box-shadow: 0 -2px 10px rgba(209, 45, 45, 0.35);
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__visual-cap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  background: #d12d2d;
  border-radius: 1px;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__visual-cap--l {
  left: 0;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__visual-cap--r {
  right: 0;
}

/* Draggable dual range (syncs to min/max number fields via theme.js) */
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-wrap {
  position: relative;
  height: 32px;
  margin: 0 0 0.85rem;
  padding: 0 10px;
  box-sizing: border-box;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-track-bg {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #e5e7eb;
  border-radius: 2px;
  pointer-events: none;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-fill {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #d12d2d;
  border-radius: 2px;
  width: 40%;
  max-width: calc(100% - 20px);
  box-shadow: 0 -1px 10px rgba(209, 45, 45, 0.35);
  pointer-events: none;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-wrap .reetal-price-range {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range--min {
  z-index: 2;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range--max {
  z-index: 3;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
  border: none;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range::-moz-range-track {
  height: 3px;
  background: transparent;
  border: none;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 12px;
  height: 14px;
  margin-top: -5px;
  border-radius: 2px;
  background: #d12d2d;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-range::-moz-range-thumb {
  pointer-events: auto;
  width: 12px;
  height: 14px;
  border-radius: 2px;
  background: #d12d2d;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-text {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.45;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-label {
  font-weight: 600;
  color: #6b7280;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-lo,
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-hi {
  font-weight: 800;
  color: #111;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-lo .woocommerce-Price-amount,
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__range-hi .woocommerce-Price-amount {
  font-weight: 800;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__currency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ececf0;
  border-radius: 8px;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__currency-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.02em;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-fields--dual {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem 0.45rem;
  align-items: end;
  margin: 0 0 0.9rem !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__lbl {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-fields input[type="number"] {
  width: 100% !important;
  min-height: 44px;
  padding: 0.5rem 0.65rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  border: 2px solid #e2e4e8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-fields input[type="number"]::placeholder {
  color: #b4b8c0;
  font-weight: 500;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-fields input[type="number"]:hover {
  border-color: #cfd4dc !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-fields input[type="number"]:focus {
  outline: none !important;
  border-color: #c1272d !important;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.14) !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__between {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.52rem;
  color: #c4c8d0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__btn,
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-form .reetal-price-filter__btn {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.68rem 1rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 10px !important;
  border: 2px solid #c1272d !important;
  background: #fff !important;
  color: #c1272d !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter__btn:hover,
body.woocommerce-page:not(.single-product) .shop-sidebar .reetal-price-filter-form .reetal-price-filter__btn:hover {
  background: #c1272d !important;
  color: #fff !important;
  border-color: #c1272d !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .widget_price_filter .price_slider_wrapper {
  margin-top: 0.5rem;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .widget_price_filter .button {
  width: 100% !important;
  margin-top: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 10px !important;
  border: 2px solid #c1272d !important;
  background: #fff !important;
  color: #c1272d !important;
}

body.woocommerce-page:not(.single-product) .shop-sidebar .widget_price_filter .button:hover {
  background: #c1272d !important;
  color: #fff !important;
}

/* ——— Sort by Categories: #secondary beats global ul resets; ::before bullets always show ——— */
#secondary.shop-sidebar .widget.widget_product_categories,
#secondary.shop-sidebar .reetal-shop-cat-widget {
  overflow: visible !important;
  border-radius: 10px !important;
}

#secondary.shop-sidebar .widget.widget_product_categories > .widget-title,
#secondary.shop-sidebar .reetal-shop-cat-widget > .widget-title {
  margin: 0 !important;
  padding: 0 0 0.85rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #111 !important;
  border-left: 4px solid #c1272d !important;
  border-bottom: 1px solid #ececf0 !important;
}

#secondary.shop-sidebar .widget_product_categories ul,
#secondary.shop-sidebar .reetal-shop-cat-widget ul {
  list-style: none !important;
  margin: 0.75rem 0 0 !important;
  padding: 0 0 0.25rem !important;
}

#secondary.shop-sidebar .widget_product_categories ul ul,
#secondary.shop-sidebar .reetal-shop-cat-widget ul ul {
  margin: 0.2rem 0 0 !important;
  padding: 0 0 0 0.65rem !important;
}

#secondary.shop-sidebar .widget_product_categories li.cat-item,
#secondary.shop-sidebar .reetal-shop-cat-widget li.cat-item {
  position: relative !important;
  border: none !important;
  margin: 0.32rem 0 !important;
  padding: 0.15rem 0 0.15rem 0.95rem !important;
  line-height: 1.45 !important;
}

#secondary.shop-sidebar .widget_product_categories li.cat-item::before,
#secondary.shop-sidebar .reetal-shop-cat-widget li.cat-item::before {
  content: '\2022';
  position: absolute;
  left: 0.1rem;
  top: 0.52rem;
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  pointer-events: none;
}

#secondary.shop-sidebar .widget_product_categories ul ul li.cat-item,
#secondary.shop-sidebar .reetal-shop-cat-widget ul ul li.cat-item {
  padding-left: 1.15rem !important;
}

#secondary.shop-sidebar .widget_product_categories ul ul li.cat-item::before,
#secondary.shop-sidebar .reetal-shop-cat-widget ul ul li.cat-item::before {
  left: 0.2rem;
}

#secondary.shop-sidebar .widget_product_categories a,
#secondary.shop-sidebar .reetal-shop-cat-widget a {
  display: block !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  color: #2d3a4d !important;
  padding: 0.38rem 0.4rem 0.38rem 0 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.12s ease, color 0.12s ease !important;
}

#secondary.shop-sidebar .widget_product_categories a:hover,
#secondary.shop-sidebar .reetal-shop-cat-widget a:hover {
  background: rgba(193, 39, 45, 0.07) !important;
  color: #c1272d !important;
}

/* ——— Filter by status (checkboxes + pill Filter button) ——— */
#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__list {
  list-style: none !important;
  margin: 0.55rem 0 0 !important;
  padding: 0 !important;
}

#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__item {
  margin: 0.5rem 0 !important;
  padding: 0 !important;
}

#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__label {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c6570;
  margin: 0;
}

#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__label input[type='checkbox'] {
  width: 17px;
  height: 17px;
  margin: 0 !important;
  flex-shrink: 0;
  accent-color: #d12d2d;
  border-radius: 4px;
  border: 1px solid #cfd4dc;
  cursor: pointer;
}

#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__btn {
  width: 100% !important;
  margin-top: 0.75rem !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  border: 1px solid #dce0e6 !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#secondary.shop-sidebar .reetal-shop-status-widget .reetal-status-filter__btn:hover {
  background: #e8eaef !important;
  border-color: #c4c9d2 !important;
  color: #111 !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-toolbar {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  padding: 0.85rem 1.15rem !important;
  margin-bottom: 1.35rem !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-toolbar .woocommerce-result-count {
  color: #6b7280 !important;
  font-weight: 500 !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-toolbar .woocommerce-ordering select {
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #374151 !important;
}

.reetal-per-page__slash {
  color: #9ca3af;
  font-weight: 500;
  user-select: none;
  margin: 0 0.12rem;
  font-size: 0.8rem;
}

.reetal-per-page__link--active {
  text-decoration: none !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products li.product.product-card {
  border: 1px solid #e8e8ec !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  background: #fff !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap ul.products li.product.product-card:hover {
  border-color: rgba(193, 39, 45, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-image {
  background: #eef0f2 !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-info {
  padding: 1rem 1.15rem 1.1rem !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-category {
  color: #6b7280 !important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.07em !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-title {
  font-weight: 700 !important;
  color: #111 !important;
  font-size: 0.98rem !important;
  margin-bottom: 0.6rem !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .add-to-cart-wrapper {
  margin-top: auto;
  width: 100%;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .add-to-cart-wrapper a.button,
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .add-to-cart-wrapper .btn.btn-primary {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 8px !important;
  padding: 0.68rem 1rem !important;
  font-weight: 700 !important;
  background: #c1272d !important;
  border: none !important;
  color: #fff !important;
  justify-content: center !important;
  text-align: center !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .add-to-cart-wrapper a.button:hover,
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .add-to-cart-wrapper .btn.btn-primary:hover {
  background: #9e1f24 !important;
  color: #fff !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-price {
  font-weight: 700 !important;
  color: #c1272d !important;
  margin-bottom: 0.35rem !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-price del {
  color: #9ca3af !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-price ins {
  text-decoration: none !important;
  color: #c1272d !important;
}

body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-model-bar {
  font-size: 0.72rem !important;
  min-height: 26px !important;
}

/* Theme wishlist / compare pages + loop toggles */
.reetal-wlcmp-wrap {
  padding: 2rem 0 3rem;
}
.reetal-wlcmp-header {
  margin-bottom: 2rem;
}
.reetal-wlcmp-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--text-main, #111);
}
.reetal-wlcmp-intro {
  margin: 0;
  color: var(--text-muted, #6b7280);
  font-size: 0.95rem;
}
.reetal-wlcmp-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
}
.reetal-wlcmp-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.reetal-wlcmp-btn--primary {
  background: #c1272d;
  color: #fff !important;
}
.reetal-wlcmp-btn--primary:hover {
  background: #9e1f24;
  color: #fff !important;
}
.reetal-wlcmp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.reetal-wlcmp-card {
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--card-bg, #fff);
  display: flex;
  flex-direction: column;
}
.reetal-wlcmp-card__media {
  position: relative;
  background: #f9fafb;
}
.reetal-wlcmp-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.reetal-wlcmp-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reetal-wlcmp-remove:hover {
  background: rgba(0, 0, 0, 0.75);
}
.reetal-wlcmp-card__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.reetal-wlcmp-card__title {
  font-weight: 700;
  color: var(--text-main, #111);
  text-decoration: none;
}
.reetal-wlcmp-card__title:hover {
  color: #c1272d;
}
.reetal-wlcmp-card__body .button,
.reetal-wlcmp-card__body a.add_to_cart_button {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}
.reetal-cmp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
  background: var(--card-bg, #fff);
}
.reetal-cmp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  margin: 0;
}
.reetal-cmp-table th,
.reetal-cmp-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.reetal-cmp-table thead th {
  font-weight: 700;
  background: #fafafa;
}
.reetal-cmp-col-product {
  min-width: 160px;
  position: relative;
}
.reetal-cmp-remove-col {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.reetal-cmp-remove-col:hover {
  background: #e5e7eb;
}
.reetal-cmp-product-title {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--text-main, #111);
  text-decoration: none;
}
.reetal-cmp-product-title:hover {
  color: #c1272d;
}
.reetal-cmp-add-cell .button {
  white-space: nowrap;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .btn-icon.reetal-wl-toggle.is-active,
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .btn-icon.reetal-cmp-toggle.is-active {
  color: #c1272d;
}
.reetal-pdp-links__btn.reetal-wl-toggle.is-active,
.reetal-pdp-links__btn.reetal-cmp-toggle.is-active {
  color: #c1272d;
}
.reetal-wl-toggle[aria-busy='true'],
.reetal-cmp-toggle[aria-busy='true'] {
  opacity: 0.65;
  pointer-events: none;
}

/* Quick view: Lotomena-style red eye + modal */
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-actions .btn-icon.btn-icon--quick-view {
  background: #c1272d !important;
  color: #fff !important;
  border: none !important;
}
body.woocommerce-page:not(.single-product) .reetal-shop-wrap .product-actions .btn-icon.btn-icon--quick-view:hover {
  background: #9e1f24 !important;
  color: #fff !important;
}
body.reetal-qv-open {
  overflow: hidden;
}
.reetal-qv {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.reetal-qv[hidden] {
  display: none !important;
}
.reetal-qv__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}
.reetal-qv__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: reetal-qv-in 0.22s ease-out;
}
@keyframes reetal-qv-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reetal-qv__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reetal-qv__close:hover {
  background: #e5e7eb;
  color: #111;
}
.reetal-qv__body {
  overflow: auto;
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  min-height: 0;
}
.reetal-qv__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 200px;
  color: #6b7280;
  font-weight: 600;
}
.reetal-qv__spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #e5e7eb;
  border-top-color: #c1272d;
  border-radius: 50%;
  animation: reetal-qv-spin 0.7s linear infinite;
}
@keyframes reetal-qv-spin {
  to {
    transform: rotate(360deg);
  }
}
.reetal-qv__error {
  margin: 2rem auto;
  max-width: 28rem;
  text-align: center;
  color: #b91c1c;
  font-weight: 600;
}
.reetal-qv-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
@media (max-width: 640px) {
  .reetal-qv-inner {
    grid-template-columns: 1fr;
  }
}
.reetal-qv-inner__media img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #fafafa;
}
.reetal-qv-inner__img-link {
  display: block;
}
.reetal-qv-inner__sku {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin: 0 0 0.5rem;
}
.reetal-qv-inner__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  line-height: 1.35;
  display: block;
  margin-bottom: 0.65rem;
}
.reetal-qv-inner__title:hover {
  color: #c1272d;
}
.reetal-qv-inner__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #c1272d;
  margin-bottom: 1rem;
}
.reetal-qv-inner__excerpt {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-height: 9rem;
  overflow: auto;
}
.reetal-qv-inner__actions .button,
.reetal-qv-inner__actions .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  background: #c1272d !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
}
.reetal-qv-inner__actions .button:hover,
.reetal-qv-inner__actions .add_to_cart_button:hover {
  background: #9e1f24 !important;
  color: #fff !important;
}

/* ——— Static pages (About, Contact, block editor): readable body + forms ——— */
.entry--page .entry-header .entry-title,
.reetal-page-static .entry-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 1rem !important;
  letter-spacing: -0.02em;
}

.entry--page .entry-content,
.reetal-page-static .entry-content {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #374151 !important;
  max-width: 48rem;
}

.entry--page .entry-content > *:first-child,
.reetal-page-static .entry-content > *:first-child {
  margin-top: 0 !important;
}

.entry--page .entry-content p,
.reetal-page-static .entry-content p,
.entry--page .entry-content .wp-block-paragraph {
  margin-bottom: 1rem !important;
}

.entry--page .entry-content h2,
.entry--page .entry-content h3,
.reetal-page-static .entry-content h2,
.reetal-page-static .entry-content h3,
.entry--page .entry-content .wp-block-heading {
  color: #111827 !important;
  font-weight: 800 !important;
  margin: 1.75rem 0 0.65rem !important;
  line-height: 1.3 !important;
}

.entry--page .entry-content h2,
.reetal-page-static .entry-content h2,
.entry--page .entry-content .wp-block-heading {
  font-size: 1.25rem !important;
}

.entry--page .entry-content ul,
.reetal-page-static .entry-content ul {
  margin: 0.5rem 0 1.25rem 1.25rem !important;
  padding: 0 !important;
}

.entry--page .entry-content li,
.reetal-page-static .entry-content li {
  margin-bottom: 0.35rem !important;
}

.entry--page .entry-content hr,
.reetal-page-static .entry-content hr,
.entry--page .entry-content .wp-block-separator {
  border: none !important;
  border-top: 1px solid #e5e7eb !important;
  margin: 1.5rem 0 !important;
}

/* Block / HTML forms inside pages (not theme .reetal-contact-form) */
.entry--page .entry-content form:not(.reetal-contact-form),
.reetal-page-static .entry-content form:not(.reetal-contact-form) {
  max-width: 36rem;
  margin-top: 1.5rem;
}

.entry--page .entry-content form:not(.reetal-contact-form) p,
.reetal-page-static .entry-content form:not(.reetal-contact-form) p {
  margin-bottom: 1rem !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) label,
.reetal-page-static .entry-content form:not(.reetal-contact-form) label {
  display: block;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  color: #374151 !important;
  margin-bottom: 0.35rem !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) input[type='text'],
.entry--page .entry-content form:not(.reetal-contact-form) input[type='email'],
.entry--page .entry-content form:not(.reetal-contact-form) input[type='tel'],
.entry--page .entry-content form:not(.reetal-contact-form) input[type='url'],
.entry--page .entry-content form:not(.reetal-contact-form) textarea,
.entry--page .entry-content form:not(.reetal-contact-form) select,
.reetal-page-static .entry-content form:not(.reetal-contact-form) input[type='text'],
.reetal-page-static .entry-content form:not(.reetal-contact-form) input[type='email'],
.reetal-page-static .entry-content form:not(.reetal-contact-form) input[type='tel'],
.reetal-page-static .entry-content form:not(.reetal-contact-form) textarea,
.reetal-page-static .entry-content form:not(.reetal-contact-form) select {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.65rem 0.85rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 0.9375rem !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) textarea,
.reetal-page-static .entry-content form:not(.reetal-contact-form) textarea {
  min-height: 8rem !important;
  resize: vertical !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) input:focus,
.entry--page .entry-content form:not(.reetal-contact-form) textarea:focus,
.reetal-page-static .entry-content form:not(.reetal-contact-form) input:focus,
.reetal-page-static .entry-content form:not(.reetal-contact-form) textarea:focus {
  outline: none !important;
  border-color: #c1272d !important;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.12) !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) input[type='submit'],
.entry--page .entry-content form:not(.reetal-contact-form) button[type='submit'],
.reetal-page-static .entry-content form:not(.reetal-contact-form) input[type='submit'],
.reetal-page-static .entry-content form:not(.reetal-contact-form) button[type='submit'],
.entry--page .entry-content .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  padding: 0.6rem 1.5rem !important;
  margin-top: 0.25rem !important;
  background: #c1272d !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  cursor: pointer !important;
  font-family: inherit !important;
  text-decoration: none !important;
}

.entry--page .entry-content form:not(.reetal-contact-form) input[type='submit']:hover,
.entry--page .entry-content form:not(.reetal-contact-form) button[type='submit']:hover,
.reetal-page-static .entry-content form:not(.reetal-contact-form) input[type='submit']:hover,
.reetal-page-static .entry-content form:not(.reetal-contact-form) button[type='submit']:hover,
.entry--page .entry-content .wp-block-button__link:hover {
  background: #9e1f24 !important;
  color: #fff !important;
}

/* ——— Product row carousel (About “Special offers”, single-product related / up-sells) ——— */
.reetal-product-carousel {
  position: relative;
  padding: 0 clamp(1.35rem, 4vw, 2.75rem);
}

.reetal-product-carousel--no-scroll {
  padding-left: 0;
  padding-right: 0;
}

.reetal-product-carousel--no-scroll .reetal-product-carousel__btn {
  display: none;
}

.reetal-product-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reetal-product-carousel__viewport::-webkit-scrollbar {
  display: none;
}

/*
 * Beat design-override.css `body:not(.reetal-shop-archive-layout) ul.products { display:grid }`
 * and main.css `.woocommerce ul.products { display:grid }` — those were forcing a multi-row grid.
 */
body:not(.reetal-shop-archive-layout) .reetal-product-carousel__viewport ul.products,
.woocommerce .reetal-product-carousel__viewport ul.products,
.reetal-product-carousel__viewport ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: stretch;
  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 0 0.35rem !important;
  width: max-content !important;
  min-width: 100%;
  list-style: none !important;
}

.reetal-product-carousel__viewport ul.products::before,
.reetal-product-carousel__viewport ul.products::after {
  display: none !important;
  content: none !important;
}

.reetal-product-carousel__viewport ul.products li.product {
  float: none !important;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  flex: 0 0 clamp(148px, 42vw, 188px);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

@media (min-width: 480px) {
  .reetal-product-carousel__viewport ul.products li.product {
    flex: 0 0 clamp(155px, 30vw, 185px);
  }
}

@media (min-width: 768px) {
  .reetal-product-carousel__viewport ul.products li.product {
    flex: 0 0 clamp(160px, 19vw, 178px);
  }
}

@media (min-width: 1100px) {
  .reetal-product-carousel__viewport ul.products li.product {
    flex: 0 0 clamp(158px, 15vw, 172px);
  }
}

@media (min-width: 1400px) {
  .reetal-product-carousel__viewport ul.products li.product {
    flex: 0 0 clamp(156px, 13vw, 168px);
  }
}

/* Compact card chrome inside carousels only (classic titles + Reetal product-card template) */
.reetal-product-carousel__viewport ul.products li.product .woocommerce-loop-product__title,
.reetal-product-carousel__viewport ul.products li.product .woocommerce-loop-product__title a {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
  -webkit-line-clamp: 2 !important;
  padding: 0.45rem 0.65rem 0 !important;
  margin: 0 !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-info .product-title {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  padding: 0.4rem 0.6rem 0 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-info .product-category {
  font-size: 0.58rem !important;
  padding: 0.1rem 0.6rem !important;
  margin: 0 !important;
}

.reetal-product-carousel__viewport ul.products li.product .price,
.reetal-product-carousel__viewport ul.products li.product .product-price {
  font-size: 0.85rem !important;
  padding: 0.15rem 0.6rem 0.35rem !important;
  margin: 0 !important;
}

.reetal-product-carousel__viewport ul.products li.product p.reetal-loop-product-cat,
.reetal-product-carousel__viewport ul.products li.product .reetal-loop-product-cat {
  font-size: 0.62rem !important;
  margin: 0 0.65rem !important;
  letter-spacing: 0.04em;
}

.reetal-product-carousel__viewport ul.products li.product .attachment-woocommerce_thumbnail,
.reetal-product-carousel__viewport ul.products li.product img {
  padding: 0.55rem !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-image img {
  padding: 0.45rem !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-image-badge {
  font-size: 0.58rem !important;
  padding: 0.12rem 0.35rem !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-actions .btn-icon {
  width: 1.65rem !important;
  height: 1.65rem !important;
  font-size: 0.72rem !important;
}

.reetal-product-carousel__viewport ul.products li.product .button,
.reetal-product-carousel__viewport ul.products li.product a.button,
.reetal-product-carousel__viewport ul.products li.product .add-to-cart-wrapper .button,
.reetal-product-carousel__viewport ul.products li.product .add-to-cart-wrapper .add_to_cart_button {
  margin: auto 0.55rem 0.55rem !important;
  padding: 0.4rem 0.55rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-model-bar {
  font-size: 0.58rem !important;
  padding: 0.3rem 0.45rem !important;
  line-height: 1.2 !important;
}

.reetal-product-carousel__viewport ul.products li.product .product-model-value {
  word-break: break-word;
}

.reetal-product-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.reetal-product-carousel__btn:hover:not(:disabled) {
  border-color: #c1272d;
  color: #c1272d;
  box-shadow: 0 6px 22px rgba(193, 39, 45, 0.15);
}

.reetal-product-carousel__btn:disabled {
  opacity: 0.32;
  cursor: default;
  box-shadow: none;
}

.reetal-product-carousel__btn--prev {
  left: 0;
}

.reetal-product-carousel__btn--next {
  right: 0;
}

.reetal-about-special .reetal-product-carousel {
  margin-top: 0.25rem;
}
