/* Velora AJAX Shop — scoped storefront styles */
.velora-shop,
.velora-shop * {
  box-sizing: border-box;
}

.velora-shop {
  --velora-text: #4A3A31;
  --velora-muted: #827168;
  --velora-line: #E7DED7;
  --velora-line-strong: #D7CCC4;
  --velora-soft: #A4948B;
  --velora-white: #FFFFFF;
  width: 100%;
  color: var(--velora-text);
  font-family: Manrope, sans-serif;
  background: transparent !important;
}

/* Kill theme/Elementor accent leakage inside this component. */
.velora-shop a,
.velora-shop a:visited,
.velora-shop a:hover,
.velora-shop a:focus {
  color: inherit;
}

.velora-shop button,
.velora-shop input,
.velora-shop select,
.velora-shop textarea {
  font-family: Manrope, sans-serif !important;
  box-shadow: none !important;
}

.velora-shop button,
.velora-shop button:hover,
.velora-shop button:focus,
.velora-shop button:active {
  color: var(--velora-text) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ---------- Top categories ---------- */
.velora-shop .velora-shop-top-categories {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  margin: 0 0 26px !important;
  padding: 0 0 15px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--velora-line) !important;
  background: transparent !important;
}

.velora-shop .velora-shop-top-category {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 0 7px !important;
  border: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap;
  color: var(--velora-muted) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 19.5px !important;
  letter-spacing: .52px !important;
  text-align: center;
  transition: color .22s ease;
}

.velora-shop .velora-shop-top-category:hover,
.velora-shop .velora-shop-top-category.is-active {
  color: var(--velora-text) !important;
}

.velora-shop .velora-shop-top-category::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: var(--velora-text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.velora-shop .velora-shop-top-category.is-active::after {
  transform: scaleX(1);
}

/* Never show mobile filter trigger on desktop, even if theme button CSS loads later. */
.velora-shop .velora-shop-mobile-filter {
  display: none !important;
  width: 100%;
  min-height: 42px;
  margin: 0 0 18px !important;
  padding: 9px 14px !important;
  border: 1px solid var(--velora-line-strong) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  font-size: 12px !important;
  line-height: 18px !important;
  letter-spacing: 1px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Main layout ---------- */
.velora-shop .velora-shop-main {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  width: 100%;
}

.velora-shop .velora-shop-sidebar {
  width: 100%;
  min-width: 0;
  background: transparent !important;
}

.velora-shop .velora-shop-filter-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.velora-shop .velora-shop-filter-section {
  margin: 0 0 25px !important;
  padding: 0 !important;
}

.velora-shop .velora-shop-filter-heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--velora-text) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 11px !important;
  line-height: 16.5px !important;
  letter-spacing: 1.32px !important;
  text-transform: uppercase;
}

/* ---------- Search + sort ---------- */
.velora-shop .velora-shop-search-wrap {
  position: relative;
  width: 100%;
}

.velora-shop .velora-shop-search,
.velora-shop .velora-shop-sort {
  display: block !important;
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  border: 1px solid var(--velora-line) !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background-color: transparent !important;
  color: var(--velora-text) !important;
  box-shadow: none !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 12px !important;
  line-height: 18px !important;
  letter-spacing: 0 !important;
}

.velora-shop .velora-shop-search {
  padding: 8px 33px 8px 10px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.velora-shop .velora-shop-search:focus,
.velora-shop .velora-shop-sort:focus {
  border-color: var(--velora-text) !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.velora-shop .velora-shop-search::placeholder {
  color: var(--velora-soft) !important;
  opacity: 1 !important;
}

.velora-shop .velora-shop-search::-webkit-search-decoration,
.velora-shop .velora-shop-search::-webkit-search-cancel-button,
.velora-shop .velora-shop-search::-webkit-search-results-button,
.velora-shop .velora-shop-search::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.velora-shop .velora-shop-search-button,
.velora-shop .velora-shop-search-button:hover,
.velora-shop .velora-shop-search-button:focus,
.velora-shop .velora-shop-search-button:active {
  position: absolute !important;
  right: 9px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  line-height: 0 !important;
  cursor: pointer;
}

.velora-shop .velora-shop-search-button svg {
  display: block;
  width: 17px;
  height: 17px;
  color: var(--velora-text) !important;
  stroke: currentColor;
}

.velora-shop .velora-shop-sort {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding: 8px 28px 8px 10px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--velora-text) 50%),
    linear-gradient(135deg, var(--velora-text) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 15px) calc(50% - 1px),
    calc(100% - 10px) calc(50% - 1px) !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
}

/* ---------- Dynamic filter options ---------- */
.velora-shop .velora-shop-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.velora-shop .velora-shop-color-option,
.velora-shop .velora-shop-check-option {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  cursor: pointer;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 19.5px !important;
  letter-spacing: 0 !important;
}

.velora-shop .velora-shop-color-option input,
.velora-shop .velora-shop-check-option input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.velora-shop .velora-shop-filter-color {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
  border-radius: 50% !important;
  border: 1px solid var(--velora-line-strong) !important;
  background: var(--velora-filter-color, #E7DED7) !important;
  box-shadow: none !important;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.velora-shop .velora-shop-color-option:hover .velora-shop-filter-color {
  transform: scale(1.05);
}

.velora-shop .velora-shop-color-option input:checked + .velora-shop-filter-color {
  border-color: var(--velora-text) !important;
  box-shadow: inset 0 0 0 2px var(--velora-white) !important;
}

.velora-shop .velora-shop-checkbox {
  position: relative;
  display: inline-block;
  width: 13px !important;
  height: 13px !important;
  flex: 0 0 13px;
  border: 1px solid #A89B92 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.velora-shop .velora-shop-check-option input:checked + .velora-shop-checkbox {
  border-color: var(--velora-text) !important;
}

.velora-shop .velora-shop-check-option input:checked + .velora-shop-checkbox::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--velora-text);
}

.velora-shop .velora-shop-clear,
.velora-shop .velora-shop-clear:hover,
.velora-shop .velora-shop-clear:focus,
.velora-shop .velora-shop-clear:active {
  display: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--velora-muted) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  cursor: pointer;
}

.velora-shop .velora-shop-clear.is-visible {
  display: inline-flex !important;
}

/* ---------- Product grid ---------- */
.velora-shop .velora-shop-products-wrap {
  min-width: 0;
  width: 100%;
}

.velora-shop .velora-shop-message {
  display: none;
  margin: 0 0 12px;
  color: var(--velora-muted);
  font-size: 12px;
  line-height: 18px;
}

.velora-shop .velora-shop-message.is-visible {
  display: block;
}

.velora-shop .velora-shop-products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
  width: 100%;
}

.velora-shop .velora-shop-card {
  display: block;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.velora-shop .velora-shop-card-image-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-decoration: none !important;
}

.velora-shop .velora-shop-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 246 / 306 !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #EEE7E1;
}

.velora-shop .velora-shop-card-image img,
.velora-shop .velora-shop-card-image .velora-shop-product-image,
.velora-shop .velora-shop-card-image .wp-post-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform .35s ease;
}

.velora-shop .velora-shop-card:hover .velora-shop-card-image img {
  transform: scale(1.02);
}


.velora-shop .velora-shop-wishlist-heart-wrap {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 6 !important;
  display: block !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #DED4CC !important;
  border-radius: 50% !important;
  background: rgba(244, 239, 233, .94) !important;
  color: #4A3A31 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  line-height: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
  transform: none !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart:hover {
  border-color: #4A3A31 !important;
  background: rgba(244, 239, 233, .98) !important;
  color: #4A3A31 !important;
  transform: none !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart.is-active,
.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart.is-active:hover {
  border-color: #4A3A31 !important;
  background: rgba(244, 239, 233, .98) !important;
  color: #4A3A31 !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center center !important;
  transition: none !important;
  pointer-events: none !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart:hover svg,
.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart.is-active svg,
.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart.is-active:hover svg {
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart svg path {
  transform: none !important;
  transform-origin: center center !important;
  transition: fill .22s ease, stroke .22s ease !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart .velora-heart-fill {
  fill: transparent !important;
  transition: fill .22s ease;
  transform: none !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart.is-active .velora-heart-fill {
  fill: #4A3A31 !important;
  transform: none !important;
}

.velora-shop .velora-shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 19px;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--velora-text) !important;
  color: var(--velora-white) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 500 !important;
  font-size: 10px !important;
  line-height: 19px !important;
  letter-spacing: .8px !important;
  text-transform: uppercase;
}

.velora-shop .velora-shop-card-info {
  margin: 0 !important;
  padding: 12px 0 0 !important;
  background: transparent !important;
}

.velora-shop .velora-shop-card-title-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.velora-shop .velora-shop-product-title,
.velora-shop .velora-shop-product-title:hover,
.velora-shop .velora-shop-product-title:focus {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  text-decoration: none !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 21px !important;
  letter-spacing: 0 !important;
}

.velora-shop .velora-shop-product-price,
.velora-shop .velora-shop-product-price:hover,
.velora-shop .velora-shop-product-price:focus,
.velora-shop .velora-shop-product-price *,
.velora-shop .velora-shop-product-price .amount,
.velora-shop .velora-shop-product-price .woocommerce-Price-amount {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  text-decoration: none !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 21px !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.velora-shop .velora-shop-product-price del,
.velora-shop .velora-shop-product-price del * {
  color: var(--velora-muted) !important;
  opacity: .72;
  text-decoration: line-through !important;
}

.velora-shop .velora-shop-product-price ins,
.velora-shop .velora-shop-product-price ins * {
  color: var(--velora-text) !important;
  text-decoration: none !important;
}

.velora-shop .velora-shop-product-category {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--velora-muted) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 12px !important;
  line-height: 18px !important;
  letter-spacing: 0 !important;
}

.velora-shop .velora-shop-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0 0 !important;
  padding: 0 !important;
}

.velora-shop .velora-shop-stars {
  color: #A18470 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
}

.velora-shop .velora-shop-stars-empty {
  color: var(--velora-line-strong) !important;
}

.velora-shop .velora-shop-review-count {
  color: var(--velora-muted) !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

.velora-shop .velora-shop-card-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.velora-shop .velora-shop-card-color,
.velora-shop .velora-shop-card-color:visited,
.velora-shop .velora-shop-card-color:hover,
.velora-shop .velora-shop-card-color:focus {
  display: inline-block !important;
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  min-height: 21px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--velora-line-strong) !important;
  border-radius: 50% !important;
  background: var(--velora-swatch, #E7DED7) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease;
}

.velora-shop .velora-shop-card-color:hover {
  transform: scale(1.06);
  border-color: var(--velora-text) !important;
}

.velora-shop .velora-shop-card-support {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: var(--velora-soft) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 16.5px !important;
  letter-spacing: .15px !important;
  text-transform: uppercase;
}

/* ---------- Empty/loading/pagination ---------- */
.velora-shop .velora-shop-empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 28px;
  border: 1px solid var(--velora-line);
  background: transparent;
  color: var(--velora-muted);
}

.velora-shop .velora-shop-empty strong {
  margin-bottom: 6px;
  color: var(--velora-text);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.velora-shop .velora-shop-pagination-wrap {
  margin-top: 30px;
}

.velora-shop .velora-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.velora-shop .velora-shop-page,
.velora-shop .velora-shop-page-gap {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--velora-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 18px;
}

.velora-shop .velora-shop-page-gap {
  min-width: auto;
  padding: 0 3px;
  border: 0 !important;
}

.velora-shop .velora-shop-page.is-active,
.velora-shop .velora-shop-page:hover {
  border-color: var(--velora-text) !important;
  background: var(--velora-text) !important;
  color: var(--velora-white) !important;
}

.velora-shop .velora-shop-products-wrap[aria-busy="true"] .velora-shop-products,
.velora-shop.is-loading .velora-shop-products {
  opacity: .5;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .velora-shop .velora-shop-main {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 24px;
  }

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

@media (max-width: 767px) {
  .velora-shop .velora-shop-top-categories {
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .velora-shop .velora-shop-top-categories::-webkit-scrollbar {
    display: none;
  }

  .velora-shop .velora-shop-mobile-filter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .velora-shop .velora-shop-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .velora-shop .velora-shop-sidebar {
    display: none !important;
    border-bottom: 1px solid var(--velora-line);
    padding-bottom: 4px;
  }

  .velora-shop.is-mobile-filters-open .velora-shop-sidebar {
    display: block !important;
  }

  .velora-shop .velora-shop-products {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .velora-shop .velora-shop-card-image {
    aspect-ratio: 246 / 306 !important;
  }
}

/* ---------- v1.5 responsive category + collapsible filters ---------- */
.velora-shop .velora-shop-mobile-category-wrap {
  display: none;
  width: 100%;
  margin: 0 0 16px;
}

.velora-shop .velora-shop-mobile-category-label {
  display: block;
  margin: 0 0 8px;
  color: var(--velora-text) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 16.5px !important;
  letter-spacing: 1.32px !important;
}

.velora-shop .velora-shop-mobile-category {
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 9px 38px 9px 12px;
  border: 1px solid var(--velora-line-strong) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--velora-text) !important;
  box-shadow: none !important;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--velora-text) 50%),
    linear-gradient(135deg, var(--velora-text) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 17px) calc(50% - 1px),
    calc(100% - 12px) calc(50% - 1px) !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 19.5px !important;
  letter-spacing: .52px !important;
}

.velora-shop .velora-shop-mobile-category:focus {
  border-color: var(--velora-text) !important;
}

.velora-shop .velora-shop-mobile-filter {
  justify-content: space-between !important;
  gap: 10px;
  text-transform: none;
  font-size: 13px !important;
  line-height: 19.5px !important;
  letter-spacing: .52px !important;
}

.velora-shop .velora-shop-mobile-filter-label {
  flex: 1;
  text-align: left;
}

.velora-shop .velora-shop-mobile-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--velora-text);
  color: var(--velora-white);
  font-size: 11px;
  line-height: 1;
}

.velora-shop .velora-shop-mobile-filter-count[hidden] {
  display: none !important;
}

.velora-shop .velora-shop-mobile-filter-chevron {
  flex: 0 0 auto;
  transition: transform .22s ease;
}

.velora-shop.is-mobile-filters-open .velora-shop-mobile-filter-chevron {
  transform: rotate(180deg);
}

.velora-shop .velora-shop-page.is-nav {
  min-width: 58px;
}


@media (max-width: 767px) {
  .velora-shop .velora-shop-wishlist-heart-wrap {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .velora-shop .velora-shop-wishlist-heart-wrap .velora-wishlist-heart {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

@media (max-width: 900px) {
  .velora-shop .velora-shop-mobile-filter {
    display: inline-flex !important;
    align-items: center;
  }

  .velora-shop .velora-shop-main {
    display: block !important;
  }

  .velora-shop .velora-shop-sidebar {
    display: block !important;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 0 !important;
    transition: max-height .35s ease, opacity .22s ease, padding .22s ease, margin .22s ease;
  }

  .velora-shop.is-mobile-filters-open .velora-shop-sidebar {
    max-height: 1800px;
    margin: 0 0 24px;
    padding: 18px 0 4px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-bottom: 1px solid var(--velora-line) !important;
  }

  .velora-shop .velora-shop-filter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }

  .velora-shop .velora-shop-filter-section {
    margin: 0 !important;
  }

  .velora-shop .velora-shop-clear {
    align-self: end;
    justify-self: start;
  }

  .velora-shop .velora-shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 767px) {
  .velora-shop .velora-shop-top-categories {
    display: none !important;
  }

  .velora-shop .velora-shop-mobile-category-wrap {
    display: block;
  }

  .velora-shop .velora-shop-mobile-filter {
    min-height: 44px;
    margin-bottom: 18px !important;
    padding: 10px 12px !important;
  }

  .velora-shop .velora-shop-card-title-price {
    gap: 8px;
  }

  .velora-shop .velora-shop-product-title,
  .velora-shop .velora-shop-product-title:hover,
  .velora-shop .velora-shop-product-title:focus,
  .velora-shop .velora-shop-product-price,
  .velora-shop .velora-shop-product-price *,
  .velora-shop .velora-shop-product-price .amount,
  .velora-shop .velora-shop-product-price .woocommerce-Price-amount {
    font-size: 13px !important;
    line-height: 19.5px !important;
  }

  .velora-shop .velora-shop-pagination-wrap {
    margin-top: 24px;
  }

  .velora-shop .velora-shop-pagination {
    gap: 6px;
  }

  .velora-shop .velora-shop-page,
  .velora-shop .velora-shop-page-gap {
    min-width: 40px;
    min-height: 40px;
    padding: 0 9px;
  }

  .velora-shop .velora-shop-page.is-nav {
    min-width: 64px;
  }
}

@media (max-width: 600px) {
  .velora-shop .velora-shop-filter-form {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .velora-shop.is-mobile-filters-open .velora-shop-sidebar {
    max-height: 2400px;
  }
}

@media (max-width: 520px) {
  .velora-shop .velora-shop-products {
    grid-template-columns: 1fr !important;
    gap: 26px;
  }

  .velora-shop .velora-shop-card-image {
    aspect-ratio: 246 / 306 !important;
  }
}

/* ---------- v1.6 mobile toolbar, side drawer filters & product counts ---------- */
.velora-shop .velora-shop-mobile-toolbar,
.velora-shop .velora-shop-filter-backdrop,
.velora-shop .velora-shop-drawer-header {
  display: none;
}

.velora-shop .velora-shop-desktop-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 24px;
  margin: 0 0 12px;
}

.velora-shop .velora-shop-desktop-product-count,
.velora-shop .velora-shop-mobile-product-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--velora-muted) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 400 !important;
}

.velora-shop .velora-shop-result-count-number {
  color: var(--velora-text) !important;
  font-size: 13px !important;
  line-height: 19.5px !important;
  letter-spacing: .15px !important;
}

.velora-shop .velora-shop-result-count-label {
  color: var(--velora-muted) !important;
  font-size: 11px !important;
  line-height: 16.5px !important;
  letter-spacing: .7px !important;
  text-transform: uppercase;
}

.velora-shop .velora-shop-drawer-close,
.velora-shop .velora-shop-drawer-close:hover,
.velora-shop .velora-shop-drawer-close:focus,
.velora-shop .velora-shop-drawer-close:active {
  border: 0 !important;
  background: transparent !important;
  color: var(--velora-text) !important;
  box-shadow: none !important;
}

html.velora-shop-drawer-open,
body.velora-shop-drawer-open {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .velora-shop .velora-shop-top-categories {
    display: none !important;
  }

  .velora-shop .velora-shop-mobile-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--velora-line) !important;
  }

  .velora-shop .velora-shop-mobile-category-wrap {
    position: relative;
    display: block !important;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0 !important;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
  }

  .velora-shop .velora-shop-mobile-category-label {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 11px;
    display: block !important;
    margin: 0 !important;
    color: var(--velora-muted) !important;
    font-size: 9px !important;
    line-height: 11px !important;
    letter-spacing: 1.05px !important;
    text-transform: uppercase;
    pointer-events: none;
  }

  .velora-shop .velora-shop-mobile-category {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 17px 35px 5px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: var(--velora-text) !important;
    box-shadow: none !important;
    outline: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--velora-text) 50%),
      linear-gradient(135deg, var(--velora-text) 50%, transparent 50%) !important;
    background-position:
      calc(100% - 16px) calc(50% + 3px),
      calc(100% - 11px) calc(50% + 3px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    font-size: 12px !important;
    line-height: 18px !important;
    letter-spacing: .2px !important;
  }

  .velora-shop .velora-shop-mobile-category-wrap:focus-within {
    border-color: var(--velora-text) !important;
  }

  .velora-shop .velora-shop-mobile-filter,
  .velora-shop .velora-shop-mobile-filter:hover,
  .velora-shop .velora-shop-mobile-filter:focus,
  .velora-shop .velora-shop-mobile-filter:active {
    display: inline-flex !important;
    width: auto !important;
    min-width: 92px;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    align-items: center;
    justify-content: center !important;
    gap: 7px;
    border: 1px solid var(--velora-line-strong) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--velora-text) !important;
    font-size: 12px !important;
    line-height: 18px !important;
    letter-spacing: .25px !important;
    font-weight: 400 !important;
    text-transform: none !important;
  }

  .velora-shop .velora-shop-mobile-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
  }

  .velora-shop .velora-shop-mobile-filter-label {
    flex: 0 0 auto !important;
    text-align: center !important;
  }

  .velora-shop .velora-shop-mobile-filter-count {
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: var(--velora-text) !important;
    color: var(--velora-white) !important;
    font-size: 10px !important;
    line-height: 19px !important;
  }

  .velora-shop .velora-shop-mobile-product-count {
    min-width: 72px;
    height: 46px;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-number {
    font-size: 13px !important;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-label {
    font-size: 9px !important;
    letter-spacing: .65px !important;
  }

  .velora-shop .velora-shop-desktop-results-toolbar {
    display: none !important;
  }

  .velora-shop .velora-shop-main {
    display: block !important;
  }

  .velora-shop .velora-shop-filter-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999998 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(38, 29, 24, .32) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .velora-shop.is-mobile-filters-open .velora-shop-filter-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .velora-shop .velora-shop-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    max-height: none !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 0 !important;
    border-right: 1px solid var(--velora-line) !important;
    background: #F7F3EE !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-102%);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1) !important;
    -webkit-overflow-scrolling: touch;
  }

  .velora-shop.is-mobile-filters-open .velora-shop-sidebar {
    transform: translateX(0);
  }

  .velora-shop .velora-shop-drawer-header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--velora-line) !important;
    background: #F7F3EE !important;
  }

  .velora-shop .velora-shop-drawer-eyebrow {
    margin: 0 0 2px;
    color: var(--velora-muted) !important;
    font-size: 9px !important;
    line-height: 12px !important;
    letter-spacing: 1.2px !important;
  }

  .velora-shop .velora-shop-drawer-title {
    color: var(--velora-text) !important;
    font-size: 18px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
  }

  .velora-shop .velora-shop-drawer-close,
  .velora-shop .velora-shop-drawer-close:hover,
  .velora-shop .velora-shop-drawer-close:focus,
  .velora-shop .velora-shop-drawer-close:active {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--velora-line-strong) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--velora-text) !important;
    cursor: pointer;
  }

  .velora-shop .velora-shop-filter-form {
    display: block !important;
    padding: 22px 18px 30px !important;
  }

  .velora-shop .velora-shop-filter-section {
    margin: 0 0 26px !important;
  }

  .velora-shop .velora-shop-clear {
    margin-top: 2px !important;
  }

  .velora-shop .velora-shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
}

@media (max-width: 560px) {
  .velora-shop .velora-shop-mobile-toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
  }

  .velora-shop .velora-shop-mobile-filter,
  .velora-shop .velora-shop-mobile-filter:hover,
  .velora-shop .velora-shop-mobile-filter:focus,
  .velora-shop .velora-shop-mobile-filter:active {
    min-width: 82px;
    padding: 0 9px !important;
  }

  .velora-shop .velora-shop-mobile-product-count {
    min-width: 60px;
  }

  .velora-shop .velora-shop-products {
    grid-template-columns: 1fr !important;
    gap: 26px;
  }
}

@media (max-width: 390px) {
  .velora-shop .velora-shop-mobile-toolbar {
    gap: 6px;
  }

  .velora-shop .velora-shop-mobile-filter {
    min-width: 74px !important;
  }

  .velora-shop .velora-shop-mobile-filter-icon {
    display: none;
  }

  .velora-shop .velora-shop-mobile-product-count {
    min-width: 34px;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-label {
    display: none;
  }
}

/* ---------- v1.7 always-visible mobile search ---------- */
.velora-shop .velora-shop-mobile-search-area {
  display: none;
}

@media (max-width: 900px) {
  .velora-shop .velora-shop-mobile-search-area {
    display: block !important;
    width: 100%;
    margin: -4px 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--velora-line) !important;
  }

  .velora-shop .velora-shop-mobile-search-label {
    margin: 0 0 7px;
    color: var(--velora-text) !important;
    font-family: Manrope, sans-serif !important;
    font-weight: 400 !important;
    font-size: 10px !important;
    line-height: 15px !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase;
  }

  .velora-shop .velora-shop-mobile-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
  }

  .velora-shop .velora-shop-search--mobile,
  .velora-shop .velora-shop-search--mobile:hover,
  .velora-shop .velora-shop-search--mobile:focus {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 44px 10px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--velora-text) !important;
    font-family: Manrope, sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    line-height: 19.5px !important;
    letter-spacing: 0 !important;
    appearance: none;
    -webkit-appearance: none;
  }

  .velora-shop .velora-shop-search--mobile::placeholder {
    color: var(--velora-muted) !important;
    opacity: .78 !important;
  }

  .velora-shop .velora-shop-mobile-search-wrap:focus-within {
    border-color: var(--velora-text) !important;
  }

  .velora-shop .velora-shop-search-button--mobile,
  .velora-shop .velora-shop-search-button--mobile:hover,
  .velora-shop .velora-shop-search-button--mobile:focus,
  .velora-shop .velora-shop-search-button--mobile:active {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--velora-text) !important;
    box-shadow: none !important;
    cursor: pointer;
  }

  /* Search is intentionally outside the filter drawer on mobile/tablet. */
  .velora-shop .velora-shop-sidebar .velora-shop-filter-section--search {
    display: none !important;
  }
}

/* ---------- v1.8 mobile two-row controls + footer/layout protection ---------- */
.velora-shop {
  display: flow-root !important;
  position: relative !important;
  clear: both !important;
  min-height: 1px;
  margin-bottom: clamp(56px, 7vw, 96px) !important;
  padding-bottom: 1px;
  overflow: visible !important;
  isolation: isolate;
}

.velora-shop .velora-shop-main,
.velora-shop .velora-shop-products-wrap,
.velora-shop .velora-shop-products,
.velora-shop .velora-shop-pagination-wrap {
  float: none !important;
  clear: none !important;
  position: relative;
}

.velora-shop .velora-shop-products-wrap {
  min-height: 1px;
  overflow: visible !important;
}

.velora-shop .velora-shop-mobile-count-only {
  display: none;
}

@media (max-width: 900px) {
  .velora-shop {
    margin-bottom: 64px !important;
  }

  /* Row 1: Category | Filters */
  .velora-shop .velora-shop-mobile-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .velora-shop .velora-shop-mobile-category-wrap {
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
    transition: border-color .2s ease !important;
  }

  .velora-shop .velora-shop-mobile-category-label {
    top: 5px !important;
    left: 12px !important;
    color: var(--velora-muted) !important;
    font-size: 8px !important;
    line-height: 11px !important;
    letter-spacing: 1.15px !important;
  }

  .velora-shop .velora-shop-mobile-category {
    height: 46px !important;
    min-height: 46px !important;
    padding: 18px 38px 5px 12px !important;
    color: var(--velora-text) !important;
    font-size: 12.5px !important;
    line-height: 18px !important;
    background-position:
      calc(100% - 17px) calc(50% + 4px),
      calc(100% - 12px) calc(50% + 4px) !important;
  }

  .velora-shop .velora-shop-mobile-category-wrap:focus-within {
    border-color: var(--velora-text) !important;
  }

  .velora-shop .velora-shop-mobile-filter,
  .velora-shop .velora-shop-mobile-filter:hover,
  .velora-shop .velora-shop-mobile-filter:focus,
  .velora-shop .velora-shop-mobile-filter:active {
    width: 112px !important;
    min-width: 112px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 12px !important;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
    color: var(--velora-text) !important;
    justify-content: center !important;
    gap: 7px !important;
  }

  /* Row 2: Search | Product count */
  .velora-shop .velora-shop-mobile-search-area {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 94px !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid var(--velora-line) !important;
  }

  .velora-shop .velora-shop-mobile-search-column {
    min-width: 0;
  }

  .velora-shop .velora-shop-mobile-search-label {
    display: none !important;
  }

  .velora-shop .velora-shop-mobile-search-wrap {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
  }

  .velora-shop .velora-shop-search--mobile,
  .velora-shop .velora-shop-search--mobile:hover,
  .velora-shop .velora-shop-search--mobile:focus {
    height: 46px !important;
    min-height: 46px !important;
    padding: 10px 44px 10px 12px !important;
    font-size: 13px !important;
  }

  .velora-shop .velora-shop-mobile-product-count {
    display: inline-flex !important;
    width: 94px !important;
    min-width: 94px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid var(--velora-line-strong) !important;
    background: transparent !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-number {
    color: var(--velora-text) !important;
    font-size: 13px !important;
    line-height: 19.5px !important;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-label {
    display: inline !important;
    color: var(--velora-muted) !important;
    font-size: 9px !important;
    line-height: 14px !important;
    letter-spacing: .55px !important;
  }

  .velora-shop .velora-shop-mobile-count-only {
    display: flex !important;
    justify-content: flex-end;
    margin: 0 0 18px;
  }

  .velora-shop .velora-shop-products-wrap {
    padding-bottom: 8px;
  }
}

@media (max-width: 560px) {
  .velora-shop .velora-shop-mobile-toolbar {
    grid-template-columns: minmax(0, 1fr) 104px !important;
    gap: 8px !important;
  }

  .velora-shop .velora-shop-mobile-filter,
  .velora-shop .velora-shop-mobile-filter:hover,
  .velora-shop .velora-shop-mobile-filter:focus,
  .velora-shop .velora-shop-mobile-filter:active {
    width: 104px !important;
    min-width: 104px !important;
  }

  .velora-shop .velora-shop-mobile-search-area {
    grid-template-columns: minmax(0, 1fr) 84px !important;
    gap: 8px !important;
  }

  .velora-shop .velora-shop-mobile-product-count {
    width: 84px !important;
    min-width: 84px !important;
    padding: 0 7px !important;
  }
}

@media (max-width: 390px) {
  .velora-shop .velora-shop-mobile-toolbar {
    grid-template-columns: minmax(0, 1fr) 92px !important;
    gap: 7px !important;
  }

  .velora-shop .velora-shop-mobile-filter,
  .velora-shop .velora-shop-mobile-filter:hover,
  .velora-shop .velora-shop-mobile-filter:focus,
  .velora-shop .velora-shop-mobile-filter:active {
    width: 92px !important;
    min-width: 92px !important;
    padding: 0 8px !important;
  }

  .velora-shop .velora-shop-mobile-search-area {
    grid-template-columns: minmax(0, 1fr) 78px !important;
    gap: 7px !important;
  }

  .velora-shop .velora-shop-mobile-product-count {
    width: 78px !important;
    min-width: 78px !important;
    padding: 0 5px !important;
  }

  .velora-shop .velora-shop-mobile-product-count .velora-shop-result-count-label {
    display: inline !important;
    font-size: 8px !important;
    letter-spacing: .25px !important;
  }
}


/* ---------- v2.0 archive-flow + footer hardening ---------- */
.velora-shop {
  display: flow-root !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 1px !important;
  max-height: none !important;
  overflow: visible !important;
  contain: none !important;
  clear: both !important;
  isolation: isolate;
}

/* The JS applies an exact measured minimum height to every Elementor host from
   the shortcode widget up to the product archive root. This is deliberately
   scoped to ancestors of this shortcode only. */
.velora-shop-host-fix,
.velora-shop-archive-flow-fix {
  height: auto !important;
  min-height: var(--velora-shop-required-height, auto) !important;
  max-height: none !important;
  overflow: visible !important;
  contain: none !important;
  clear: both !important;
}

.elementor-widget-shortcode.velora-shop-host-fix,
.elementor-widget-shortcode.velora-shop-host-fix > .elementor-widget-container,
.elementor-widget-container.velora-shop-host-fix,
.elementor-shortcode.velora-shop-host-fix {
  display: flow-root !important;
  width: 100% !important;
}

/* Elementor flex containers may otherwise shrink the shortcode host below the
   real AJAX grid height. Keep the measured host as a normal flex item. */
.e-con.velora-shop-host-fix,
.e-con-inner.velora-shop-host-fix,
.elementor-element.velora-shop-host-fix {
  align-self: stretch !important;
  flex-shrink: 0 !important;
}

/* If the site's footer itself is configured as absolute/fixed/sticky, normalize
   only that footer and only while this shop component is present on the page. */
body.velora-shop-page-active .velora-shop-footer-force-flow {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  z-index: auto !important;
}

/* Keep the result region and pagination unquestionably in normal document flow. */
.velora-shop .velora-shop-main,
.velora-shop .velora-shop-products-wrap,
.velora-shop .velora-shop-products,
.velora-shop .velora-shop-card,
.velora-shop .velora-shop-pagination-wrap,
.velora-shop .velora-shop-pagination {
  float: none !important;
  max-height: none !important;
  overflow: visible !important;
}

.velora-shop .velora-shop-products-wrap,
.velora-shop .velora-shop-products,
.velora-shop .velora-shop-pagination-wrap {
  position: relative !important;
}

@media (max-width: 900px) {
  .velora-shop {
    margin-bottom: 32px !important;
  }
}


/* Velora wishlist active state: fill ONLY the heart shape, never the full button. */
.velora-shop button.velora-wishlist-heart.is-active,
.velora-shop button.velora-wishlist-heart.is-active:hover,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart.is-active {
  background: rgba(244, 239, 233, .98) !important;
  background-color: rgba(244, 239, 233, .98) !important;
  border-color: #4A3A31 !important;
  color: #4A3A31 !important;
}

.velora-shop button.velora-wishlist-heart.is-active .velora-heart-fill,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart.is-active .velora-heart-fill {
  fill: #4A3A31 !important;
}

.velora-shop button.velora-wishlist-heart.is-active svg path:not(.velora-heart-fill) {
  stroke: #4A3A31 !important;
}


/* v2.3.0: lock wishlist heart geometry so the glyph never shifts on hover. */
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:hover,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:focus,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-indent: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}

.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart svg,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:hover svg,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:focus svg,
.velora-shop .velora-shop-wishlist-heart-wrap button.velora-wishlist-heart:active svg {
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}
