/* 1:1 WooCommerce Price Filter Slider */
.widget_price_filter .price_slider_wrapper .price_slider, .amaris-chips-price .price_slider_wrapper .price_slider {
  display: block !important;
  position: relative !important;
  text-align: left !important;
  /* Half a knob (11px) of breathing room on each side so the end
     handles are never clipped. */
  margin-left: 11px !important;
  margin-right: 11px !important;
  margin-bottom: 22px !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.18) !important;
  height: 6px !important;
  border-radius: 3px !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.widget_price_filter .price_slider .ui-slider-range, .amaris-chips-price .price_slider .ui-slider-range {
  position: absolute !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #383e5b !important;
  top: 0 !important;
  height: 100% !important;
  pointer-events: none !important;
}

.widget_price_filter .price_slider .ui-slider-handle, .amaris-chips-price .price_slider .ui-slider-handle {
  position: absolute !important;
  z-index: 2 !important;
  display: block !important;
  /* Big tappable knob — the single source of truth for handle geometry
     (no inline sizes/transforms in the component anymore). */
  width: 22px !important;
  height: 22px !important;
  /* Center on the 6px track without transform (transforms kept free
     for the hover scale so nothing fights). */
  top: 50% !important;
  margin-top: -11px !important;
  margin-left: -11px !important;
  transform: none !important;
  background-color: #ffffff !important;
  /* Inner pink grip dot = affordance that the knob can be dragged. */
  background-image: radial-gradient(circle, #383e5b 0 4px, #ffffff 4.5px) !important;
  border: 3px solid #383e5b !important;
  border-radius: 50% !important;
  cursor: grab !important;
  outline: 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(56, 62, 91, 0.25) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
  /* The theme (Woo styles) hides default slider handles with opacity: 0
     until jQuery UI init — we run a custom React slider, so force visible. */
  opacity: 1 !important;
}

.widget_price_filter .price_slider .ui-slider-handle:hover, .amaris-chips-price .price_slider .ui-slider-handle:hover,
.widget_price_filter .price_slider .ui-slider-handle:focus-visible, .amaris-chips-price .price_slider .ui-slider-handle:focus-visible {
  transform: scale(1.18) !important;
  border-color: #585fba !important;
  box-shadow: 0 0 0 5px rgba(56, 62, 91, 0.3), 0 2px 8px rgba(0, 0, 0, 0.55) !important;
}

.widget_price_filter .price_slider .ui-slider-handle:active, .amaris-chips-price .price_slider .ui-slider-handle:active {
  cursor: grabbing !important;
  transform: scale(1.25) !important;
  border-color: #585fba !important;
  box-shadow: 0 0 0 6px rgba(56, 62, 91, 0.35), 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

/* Generous click/drag hit area around the handle */
.widget_price_filter .price_slider .ui-slider-handle::after, .amaris-chips-price .price_slider .ui-slider-handle::after {
  content: "" !important;
  position: absolute !important;
  top: -12px !important;
  left: -12px !important;
  right: -12px !important;
  bottom: -12px !important;
  cursor: pointer !important;
}

.widget_price_filter .price_slider_amount, .amaris-chips-price .price_slider_amount {
  display: flex !important;
  flex-direction: column !important;
}

.widget_price_filter .price_slider_amount .price_label, .amaris-chips-price .price_slider_amount .price_label {
  display: block !important;
  font-size: 14px !important;
  color: #8b9098 !important;
  margin-bottom: 20px !important;
  order: 1 !important;
}

.widget_price_filter .price_slider_amount .button, .amaris-chips-price .price_slider_amount .button {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 140px !important;
}

.widget_price_filter .price_slider_amount input[type="text"], .amaris-chips-price .price_slider_amount input[type="text"] {
  display: none !important;
}

/* ==========================================================================
   Shop sidebar revamp: clear cards, hierarchy, friendly affordances.
   ========================================================================== */
/* Remove the theme's solid plaque behind the whole sidebar — widgets
   are cards of their own now. Padding stays for spacing. */
.sidebar.sidebar_float .sidebar_inner,
.sidebar_default.sidebar_float .sidebar_inner {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.sidebar .sidebar_inner > .widget {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  padding: 22px 20px !important;
  margin-bottom: 18px !important;
}

.sidebar .widget .widget_title {
  position: relative !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding-left: 14px !important;
  letter-spacing: 0.01em !important;
}

.sidebar .widget .widget_title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  bottom: 3px !important;
  width: 4px !important;
  border-radius: 2px !important;
  background: #383e5b !important;
}

.sidebar .widget .widget_subtitle {
  margin: 6px 0 16px !important;
  padding-left: 14px !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 13px !important;
  color: #9aa0ab !important;
}

/* --- Categories --- */
.sidebar .widget_product_categories ul.product-categories {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Kill theme bullets (link pseudo-element dots + markers). */
.sidebar .widget_product_categories ul.product-categories li.cat-item::marker,
.sidebar .widget_product_categories ul.children li.cat-item::marker {
  content: none !important;
}
.sidebar .widget_product_categories ul.product-categories li.cat-item::before,
.sidebar .widget_product_categories ul.children li.cat-item::before,
.sidebar .widget_product_categories ul.product-categories li.cat-item > a::before,
.sidebar .widget_product_categories ul.children li.cat-item > a::before {
  display: none !important;
  content: none !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  margin-bottom: 2px !important;
  border-radius: 12px !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #c9ced6 !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item > a:hover {
  background: rgba(56, 62, 91, 0.12) !important;
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item.current-cat > a {
  background: rgba(56, 62, 91, 0.18) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item .count {
  flex-shrink: 0 !important;
  min-width: 26px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: rgba(56, 62, 91, 0.55) !important;
  border-radius: 20px !important;
  padding: 2px 8px !important;
}

.sidebar .widget_product_categories ul.product-categories li.cat-item.current-cat .count {
  color: #ffffff !important;
  background: #383e5b !important;
}

.sidebar .widget_product_categories ul.product-categories ul.children {
  margin: 0 0 2px 12px !important;
  padding-left: 14px !important;
  list-style: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* --- Price filter --- */
.sidebar .widget_price_filter .price_slider_amount .price_label {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.sidebar .widget_price_filter .price_slider_amount .button {
  width: 100% !important;
  max-width: none !important;
  height: 46px !important;
  border-radius: 23px !important;
  background: #383e5b !important;
  border: none !important;
  color: #ffffff !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(56, 62, 91, 0.3) !important;
}

.sidebar .widget_price_filter .price_slider_amount .button:hover {
  background: #585fba !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(56, 62, 91, 0.4) !important;
}

.sidebar .amaris-filter-reset {
  display: inline-block !important;
  margin-top: 10px !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #9aa0ab !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease !important;
}

.sidebar .amaris-filter-reset:hover {
  color: #585fba !important;
}

/* --- Mini cart in sidebar --- */
.sidebar .widget_shopping_cart .amaris-mini-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
  padding: 8px 0 4px !important;
}

.sidebar .widget_shopping_cart .amaris-mini-empty .woocommerce-mini-cart__empty-message {
  margin: 0 !important;
  font-size: 14px !important;
  color: #9aa0ab !important;
}

.sidebar .widget_shopping_cart .amaris-mini-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 24px !important;
  border-radius: 23px !important;
  background: #383e5b !important;
  border: none !important;
  color: #ffffff !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(56, 62, 91, 0.4) !important;
}

.sidebar .widget_shopping_cart .amaris-mini-cta:hover {
  background: #585fba !important;
  border: none !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(56, 62, 91, 0.5) !important;
}

/* Two buttons in one row (empty mini-cart) — same treatment as header dropdown */
.sidebar .widget_shopping_cart .amaris-mini-actions-row {
  display: flex !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

.sidebar .widget_shopping_cart .amaris-mini-actions-row .amaris-mini-cta {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 12px !important;
  border-radius: 22px !important;
  font-size: 13.5px !important;
  white-space: nowrap !important;
}

/* Soft entrance for the shop grid: masks late font/image pop on refresh.
   `backwards` fill shows `from` during the stagger delay but releases the
   element afterwards, so theme hover transforms keep working. */
@keyframes shopCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.list_products .products.products_style_default > li.product {
  animation: shopCardIn 0.45s ease backwards;
  will-change: opacity, transform;
}

.list_products .products.products_style_default > li.product:nth-child(2) { animation-delay: 0.05s; }
.list_products .products.products_style_default > li.product:nth-child(3) { animation-delay: 0.1s; }
.list_products .products.products_style_default > li.product:nth-child(4) { animation-delay: 0.15s; }
.list_products .products.products_style_default > li.product:nth-child(5) { animation-delay: 0.2s; }
.list_products .products.products_style_default > li.product:nth-child(6) { animation-delay: 0.25s; }
.list_products .products.products_style_default > li.product:nth-child(7) { animation-delay: 0.3s; }
.list_products .products.products_style_default > li.product:nth-child(8) { animation-delay: 0.35s; }
.list_products .products.products_style_default > li.product:nth-child(9) { animation-delay: 0.4s; }
.list_products .products.products_style_default > li.product:nth-child(10) { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .list_products .products.products_style_default > li.product {
    animation: none;
  }
}

/* ==========================================================================
   Shop toolbar: result count left, sorting right, vertically aligned.
   ========================================================================== */
.list_products .shop-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 22px !important;
}

.list_products .shop-toolbar .woocommerce-result-count {
  float: none !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #a7adb6 !important;
}

.list_products .shop-toolbar .woocommerce-ordering {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  margin-left: auto !important;
  /* Grid li's carry a 30px right gutter, so pull the dropdown back to
     sit flush with the product image edge. */
  margin-right: 30px !important;
}

@media (max-width: 640px) {
  .list_products .shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .list_products .shop-toolbar .woocommerce-ordering {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Dropdown list opens below the left-aligned button: anchor to its left
     edge so the 230px panel never leaves the viewport on the left. */
  .woocommerce-ordering .amaris-orderby-list {
    left: 0 !important;
    right: auto !important;
    max-width: calc(100vw - 32px) !important;
  }
}

/* ==========================================================================
   Shop ordering dropdown — fully custom (native option popup can't be
   styled by browsers, so ShopOrderBySelect renders button + listbox).
   ========================================================================== */
.woocommerce-ordering .select_container.amaris-orderby {
  position: relative !important;
  display: inline-block !important;
  width: auto !important;
}

/* Hide the theme's arrow box so there's exactly one arrow (ours). */
.woocommerce-ordering .select_container.amaris-orderby::before,
.woocommerce-ordering .select_container.amaris-orderby::after {
  display: none !important;
  content: none !important;
}

.woocommerce-ordering .amaris-orderby-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 46px !important;
  padding: 0 20px !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #e8eaee !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 23px !important;
  cursor: pointer !important;
  outline: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-ordering .amaris-orderby-button:hover {
  border-color: rgba(56, 62, 91, 0.6) !important;
  background-color: rgba(255, 255, 255, 0.09) !important;
}

.woocommerce-ordering .amaris-orderby-button:focus-visible {
  border-color: #383e5b !important;
  box-shadow: 0 0 0 3px rgba(56, 62, 91, 0.25) !important;
}

.woocommerce-ordering .amaris-orderby-button[aria-expanded="true"] {
  border-color: #383e5b !important;
  background-color: rgba(56, 62, 91, 0.12) !important;
}

.woocommerce-ordering .amaris-orderby-chevron {
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.woocommerce-ordering .amaris-orderby-button[aria-expanded="true"] .amaris-orderby-chevron {
  transform: rotate(180deg) !important;
}

.woocommerce-ordering .amaris-orderby-list {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 50 !important;
  min-width: 230px !important;
  margin: 0 !important;
  padding: 6px !important;
  list-style: none !important;
  background-color: #1c2027 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
  outline: none !important;
  animation: amarisOrderbyIn 0.18s ease backwards !important;
}

@keyframes amarisOrderbyIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.woocommerce-ordering .amaris-orderby-option {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #c9ced6 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  list-style: none !important;
}

.woocommerce-ordering .amaris-orderby-option .amaris-orderby-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  flex-shrink: 0 !important;
  transition: background-color 0.15s ease !important;
}

.woocommerce-ordering .amaris-orderby-option:hover,
.woocommerce-ordering .amaris-orderby-option[data-active] {
  background-color: rgba(56, 62, 91, 0.14) !important;
  color: #ffffff !important;
}

.woocommerce-ordering .amaris-orderby-option:hover .amaris-orderby-dot,
.woocommerce-ordering .amaris-orderby-option[data-active] .amaris-orderby-dot {
  background-color: #ffffff !important;
}

.woocommerce-ordering .amaris-orderby-option[aria-selected="true"] {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.woocommerce-ordering .amaris-orderby-option[aria-selected="true"] .amaris-orderby-dot {
  background-color: #ffffff !important;
}

.woocommerce-ordering .amaris-orderby-option svg {
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce-ordering .amaris-orderby-list {
    animation: none !important;
  }
}

/* 1:1 Square Product Images */
.products .product .post_featured,
.products .product .post_featured.hover_shop {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.products .product .post_featured img,
.products .product .post_featured.hover_shop img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}



/* ==========================================================================
   Mobile shop UX: chips filter bar, grid gaps, always-visible card buttons,
   centered pagination. Desktop keeps the sidebar + hover overlays.
   ========================================================================== */

/* Chips bar: hidden on desktop, horizontal scroll row on phones. */
.amaris-shop-chips {
  display: none !important;
}

@media (max-width: 767px) {
  .amaris-shop-chips {
    display: block !important;
    /* Bleed the chips scroll row to the screen edges while the first
       chip keeps the 20px page-gutter alignment (see row padding). */
    margin: 0 -20px 16px !important;
  }
  /* Sort + price share one row: sort stretches, price pins right.
     Same 38px height as the category pills. */
  .amaris-controls-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 20px 10px !important;
  }
  .amaris-controls-sort {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    /* Theme Woo styles put a bottom margin on .woocommerce-ordering —
       it stretched the row and pushed the price pill off the line. */
    margin: 0 !important;
  }
  .amaris-controls-sort .select_container.amaris-orderby {
    display: block !important;
  }
  .amaris-controls-sort .amaris-orderby-button {
    width: auto !important;
    max-width: 100% !important;
    height: 38px !important;
    border-radius: 19px !important;
    font-size: 13.5px !important;
    padding: 0 16px !important;
    gap: 8px !important;
  }
  .amaris-controls-row .amaris-chip-price {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  /* Toolbar keeps only the result count on phones: its own sort copy
     is desktop-only, the working one lives in the controls row above. */
  .list_products .shop-toolbar .woocommerce-ordering {
    display: none !important;
  }
  .amaris-chips-row {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 2px 20px 10px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .amaris-chips-row::-webkit-scrollbar {
    display: none !important;
  }
  .amaris-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    height: 38px !important;
    padding: 0 16px !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #c9ced6 !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 19px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
  .amaris-chip-count {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #9aa0ab !important;
  }
  .amaris-chip-active {
    color: #ffffff !important;
    background-color: rgba(56, 62, 91, 0.55) !important;
    border-color: #585fba !important;
  }
  .amaris-chip-active .amaris-chip-count {
    color: #ffffff !important;
  }
  .amaris-chip-price svg {
    transition: transform 0.2s ease !important;
  }
  .amaris-chip-price.amaris-chip-open svg {
    transform: rotate(180deg) !important;
  }
  .amaris-chip-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: #d17596 !important;
    flex-shrink: 0 !important;
  }
  .amaris-chips-price {
    margin: 10px 20px 14px !important;
    padding: 18px 16px 20px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 16px !important;
  }
  .amaris-chips-price .amaris-filter-reset {
    display: inline-block !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #d17596 !important;
    text-decoration: underline !important;
  }
  /* Price slider submit spans full width for an easy thumb-friendly tap. */
  .amaris-chips-price .price_slider_amount .button {
    max-width: none !important;
    width: 100% !important;
    min-height: 46px !important;
  }

  /* Sidebar drawer is replaced by the chips bar on phones. */
  .sidebar.sidebar_float,
  .sidebar a.sidebar_control {
    display: none !important;
  }

  /* Card grid: real 12px gutters + equal-height rows so the
     "Adaugă în coș" buttons sit on one line even when titles wrap
     to one vs two lines. */
  .list_products .products.products_style_default.columns-2 {
    gap: 12px !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product {
    width: calc(50% - 6px) !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product .post_item {
    height: 100% !important;
    flex-direction: column !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product .post_data {
    display: flex !important;
    flex: 1 1 auto !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product .post_data_inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product .price_wrap {
    margin-bottom: 10px !important;
  }
  body .list_products .products.products_style_default.columns-2 > li.product .post_data .add_to_cart_button {
    margin-top: auto !important;
  }

  /* Pagination centered (theme defaults to left). */
  .list_products nav.woocommerce-pagination,
  .list_products nav.woocommerce-pagination ul.page-numbers {
    text-align: center !important;
  }
}

/* Touch overlay-button visibility lives in globals.css (shared by shop,
   home and related-products carousels). */
