.ui-widget .search_right span.search_brand { display: none; }
body { -webkit-touch-callout: none !important; }
a { -webkit-user-select: none !important; }
.bothprices_after_tex { color: #FF0000; font-weight: bold; font-size: 18px; }

/* Giá 2 dòng */
.product-price-and-shipping {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}
.product-price-and-shipping .first-prices {
  width: 100%;
}
.product-price-and-shipping .third-prices {
  width: 100%;
}
.bothprices_after_tex {
  color: #333 !important;
  font-weight: normal !important;
  font-size: 14px !important;
}
.price-label-brutto {
  font-size: 13px;
  font-weight: normal;
  color: #666;
  margin-left: 2px;
}

/* Desktop quickview */
.product-list .product-miniature .grid-hover-btn {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.product-list .product-miniature .grid-hover-btn a.quick-view,
.product-list .product-miniature .grid-hover-btn a.js-quick-view {
  background: rgba(0,0,0,0.5) !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: auto !important;
  line-height: normal !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 0 !important;
  opacity: 1 !important;
  border: none !important;
  text-decoration: none !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  transform: translateY(-50%) !important;
}
.product-list .product-miniature .grid-hover-btn a.quick-view:hover {
  background: rgba(0,0,0,0.65) !important;
}
.quickview-text { display: inline !important; }

/* Mobile quickview */
@media (max-width: 1024px) {
  .product-miniature .grid-hover-btn {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 4px 0 0 0;
    height: auto !important;
    width: 100% !important;
  }
  .product-miniature .grid-hover-btn a.quick-view,
  .product-miniature .grid-hover-btn a.js-quick-view {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    color: #888 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
  }
  .product-miniature .grid-hover-btn .wishlist-button {
    display: none !important;
  }
  .product-miniature .first-block {
    overflow: visible !important;
  }
}

/* Card height */
.product-list-wrapper .product-miniature .second-third-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-list-wrapper .product-miniature .third-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-list-wrapper .product-miniature .third-block-left {
  flex: 1;
}
.product-list-wrapper .product-miniature .buttons-sections {
  margin-top: auto;
}
.buttons-sections .details-link {
  margin-top: auto;
  display: block;
}