/* Быстрый поиск Плантации — изолирован от CSS темы. */
.ty-search-block.p74-live-search { position: relative !important; }
.p74-ls-panel[hidden] { display: none !important; }
.p74-ls-panel {
  position: absolute; z-index: 1100; top: calc(100% + 7px); left: 0;
  width: min(560px, 92vw); max-width: calc(100vw - 24px);
  background: #fff; color: #292824; border: 1px solid #e5dfd4;
  border-radius: 15px; box-shadow: 0 16px 42px rgba(28, 23, 15, .2);
  overflow: hidden; text-align: left; font: 16px/1.4 Arial, sans-serif;
}
.p74-ls-content { max-height: min(68vh, 610px); overflow-y: auto; overscroll-behavior: contain; }
.p74-ls-heading {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 16px; background: #f0eee9; color: #34342f;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.p74-ls-count { font-size: 13px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.p74-ls-categories { padding: 5px 0; }
.p74-ls-category, .p74-ls-all { display: block; padding: 8px 16px; color: #333 !important; text-decoration: none !important; }
.p74-ls-category:hover, .p74-ls-all:hover, .p74-ls-product-link:hover, .p74-ls-active { background: #f8f4eb; }
.p74-ls-panel mark { background: transparent; color: #844c24; font-weight: 700; }
.p74-ls-status { padding: 12px 16px; font-size: 14px; color: #6a665d; }
.p74-ls-status:empty { display: none; }
.p74-ls-products { padding: 2px 0; }
.p74-ls-product { display: flex; align-items: center; border-bottom: 1px solid #f0ece5; }
.p74-ls-product-link { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; padding: 9px 5px 9px 14px; text-decoration: none !important; color: #292824 !important; }
.p74-ls-image { display: flex; width: 64px; height: 64px; flex: 0 0 64px; align-items: center; justify-content: center; border-radius: 5px; background: #f6f2eb; overflow: hidden; }
.p74-ls-image img { display: block; width: 64px; height: 64px; object-fit: contain; }
.p74-ls-info { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.p74-ls-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.3; }
.p74-ls-price { font-size: 16px; font-weight: 700; white-space: normal; }
.p74-ls-unavailable { color: #9b5b4b; font-size: 12px; }
.p74-ls-controls { display: flex; align-items: center; margin: 0 !important; }
.p74-ls-action { display: inline-block; flex: 0 0 34px; width: 34px; padding: 12px 6px; border: 0; background: transparent; cursor: pointer; color: #6e7066 !important; font-size: 22px; text-align: center; text-decoration: none !important; }
.p74-ls-action:hover { color: #844c24 !important; }
.p74-ls-all { border-top: 1px solid #e5dfd4; color: #704724 !important; font-size: 14px; font-weight: 700; }
.p74-ls-mobile[hidden] { display: none !important; }
.p74-ls-mobile { position: fixed !important; z-index: 100100 !important; inset: 0 0 auto !important; display: flex !important; flex-direction: column !important; background: #fff; height: 100dvh; width: 100%; font-family: Arial, sans-serif; }
.p74-ls-mobile-open, .p74-ls-mobile-open body { overflow: hidden !important; }
.p74-ls-mobile-bar { display: flex !important; align-items: center; gap: 9px; padding: 10px 9px; background: #fffdf8; border-bottom: 1px solid #ded3bd; flex: 0 0 auto; box-sizing: border-box; }
.p74-ls-mobile button { appearance: none; border: 0; cursor: pointer; }
.p74-ls-mobile-back { display: block !important; width: 40px; height: 44px; flex: 0 0 40px; border-radius: 50%; background: #f4efe6; color: #1f2d22; font: 36px/40px Arial; padding: 0; }
.p74-ls-mobile-form { display: flex !important; align-items: center; flex: 1; min-width: 0; margin: 0 !important; padding: 3px; background: #f4efe6; border: 1px solid #cabc9e; border-radius: 30px; }
.p74-ls-mobile-form:focus-within { box-shadow: 0 0 0 2px #e6dac1; }
.p74-ls-mobile .p74-ls-mobile-input:focus { outline: none !important; border: 0 !important; box-shadow: none !important; }
.p74-ls-mobile-input { display: block !important; flex: 1; width: 0 !important; min-width: 0 !important; height: 46px !important; margin: 0 !important; padding: 8px 12px !important; border: 0 !important; box-shadow: none !important; border-radius: 30px; background: transparent !important; color: #292824 !important; font: 16px/1.4 Arial, sans-serif !important; }
.p74-ls-mobile-input::-webkit-search-cancel-button { display: none; }
.p74-ls-mobile-clear, .p74-ls-mobile-submit { display: block !important; flex: 0 0 40px; width: 40px; height: 44px; padding: 0; background: transparent; color: #1f2d22; font: 28px/44px Arial; border-radius: 50%; }
.p74-ls-mobile-submit { background: #b45309; color: #fff; font-size: 25px; }
.p74-ls-mobile .p74-ls-panel { position: static !important; display: flex !important; flex-direction: column; width: 100% !important; max-width: none !important; min-height: 0; flex: 1; border: 0; border-radius: 0; box-shadow: none; }
.p74-ls-mobile .p74-ls-content { max-height: none !important; min-height: 0; flex: 1; }
.p74-ls-panel .p74-ls-info { display: flex !important; visibility: visible !important; }
.p74-ls-panel .p74-ls-name { display: -webkit-box !important; visibility: visible !important; color: #292824 !important; font: 15px/1.35 Arial, sans-serif !important; white-space: normal !important; height: auto !important; }
.p74-ls-panel .p74-ls-product { display: grid !important; grid-template-columns: minmax(0, 1fr) 80px; }
.p74-ls-panel .p74-ls-product-link { width: auto !important; min-width: 0 !important; }
.p74-ls-panel .p74-ls-info { flex: 1; }
.p74-ls-panel .p74-ls-controls { display: flex !important; position: static !important; width: 80px !important; min-width: 0 !important; padding: 0 !important; }
@media (max-width: 767px) {
  .p74-ls-panel { position: fixed; top: var(--p74-ls-top, 100px); left: 8px; right: 8px; width: auto; max-width: none; border-radius: 13px; }
  .p74-ls-content { max-height: calc(100dvh - var(--p74-ls-top, 100px) - 15px); }
  .p74-ls-product-link { gap: 10px; padding-left: 12px; }
  .p74-ls-image, .p74-ls-image img { width: 58px; height: 58px; flex-basis: 58px; }
  .p74-ls-mobile .p74-ls-product { display: grid !important; grid-template-columns: 1fr 88px; align-items: end; position: relative; padding: 12px 8px; }
  .p74-ls-mobile .p74-ls-product-link { display: flex !important; align-items: start; padding: 0 !important; gap: 10px; }
  .p74-ls-mobile .p74-ls-image, .p74-ls-mobile .p74-ls-image img { display: flex !important; width: 70px !important; height: 70px !important; flex: 0 0 70px !important; }
  .p74-ls-mobile .p74-ls-info { gap: 4px; }
  .p74-ls-mobile .p74-ls-name { -webkit-line-clamp: 3; }
  .p74-ls-mobile .p74-ls-price { display: block !important; font: 700 17px/1.35 Arial, sans-serif !important; }
  .p74-ls-mobile .p74-ls-controls { justify-content: flex-end; width: 88px !important; }
  .p74-ls-mobile .p74-ls-action { display: block !important; position: static !important; flex: 0 0 44px; width: 44px; height: 44px; padding: 0 !important; font-size: 27px; line-height: 44px; }
}
