/* Reaktorler Smart Search v3.8.2 - isolated dropdown styles */

.rt-smart-search-v382{
  display:none;position:absolute;top:100%;left:0;right:0;z-index:99999;
  background:#fff;border:1px solid #e5e5e5;border-top:0;
  box-shadow:0 10px 28px rgba(0,0,0,.12);max-height:600px;overflow-y:auto;
}
.rt-smart-search-v382.is-open{display:block}
.rt-smart-search-v382-item{
  display:flex;align-items:center;gap:12px;padding:10px 12px;
  color:inherit;text-decoration:none!important;border-bottom:1px solid #f0f0f0;
}
.rt-smart-search-v382-item:hover,.rt-smart-search-v382-item.is-active{background:#f7f7f7}
.rt-smart-search-v382-image{width:58px;height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center}
.rt-smart-search-v382-image img{max-width:58px;max-height:58px}
.rt-smart-search-v382-info{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
.rt-smart-search-v382-info strong{font-size:14px;line-height:1.25}
.rt-smart-search-v382-stock{color:#198754;font-size:10px;font-weight:700}
.rt-smart-search-v382-price{font-size:13px;font-weight:700;white-space:nowrap}
.rt-smart-search-v382-actions{
  display:flex;flex-wrap:wrap;gap:6px;padding:9px;background:#fafafa;border-top:1px solid #e5e5e5;
}
.rt-smart-search-v382-action{
  display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border:1px solid #ddd;
  border-radius:6px;background:#fff;text-decoration:none!important;color:#333!important;
  font-size:11px;font-weight:700;
}
.rt-smart-search-v382-action.primary{font-weight:800}
.rt-smart-search-v382-action small{font-weight:500;opacity:.55}
@media(max-width:767px){
  .rt-smart-search-v382{max-height:65vh}
  .rt-smart-search-v382-item{padding:9px}
  .rt-smart-search-v382-image{width:50px;height:50px;flex-basis:50px}
  .rt-smart-search-v382-image img{max-width:50px;max-height:50px}
  .rt-smart-search-v382-info strong{font-size:13px}
  .rt-smart-search-v382-actions{gap:5px}
  .rt-smart-search-v382-action{padding:7px 8px;font-size:10px}
}

.rt-smart-search-v382-price-sale{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.rt-smart-search-v382-price-sale strong{font-size:13px;font-weight:800}
.rt-smart-search-v382-price-sale del{font-size:11px;opacity:.55;font-weight:500}

/* Journal 3 native autocomplete is suppressed by JS when attached to the
   same visible search field; these selectors are intentionally scoped by
   the JS data attribute for safety. */
[data-rt-smart-hidden="1"]{display:none!important;visibility:hidden!important}

/* v3.1: Journal native autocomplete nodes are marked by JS and suppressed. */
[data-rt-smart-hidden="1"]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.rt-smart-search-v382-section-title{
  padding:8px 12px;
  background:#f2f4f6;
  color:#333;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  border-top:1px solid #e5e5e5;
  border-bottom:1px solid #e5e5e5;
}
.rt-smart-search-v382-section-out{
  margin-top:2px;
}
.rt-smart-search-v382-stock-out{
  color:#8a8a8a;
}

/* Hard isolation: Journal 3 must not restyle the autocomplete contents. */
#rt-smart-search-v382 {
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:100% !important;
  width:100% !important;
  box-sizing:border-box !important;
  z-index:999999 !important;
  font-family:inherit !important;
  text-align:left !important;
}
#rt-smart-search-v382:not(.is-open) { display:none !important; }
#rt-smart-search-v382.is-open { display:block !important; }
#rt-smart-search-v382 a {
  text-decoration:none !important;
}
#rt-smart-search-v382 img {
  display:block !important;
}
#rt-smart-search-v382 .rt-smart-search-v382-item {
  box-sizing:border-box !important;
  width:100% !important;
}
#rt-smart-search-v382 .rt-smart-search-v382-section-title,
#rt-smart-search-v382 .rt-smart-search-v382-actions {
  box-sizing:border-box !important;
  width:100% !important;
}
@media (max-width:767px){
  #rt-smart-search-v382 {
    max-width:100% !important;
    max-height:65vh !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }
}
