.ui-autocomplete.ui-menu { display: none !important; }

.aa-Panel {
  font-family: 'Branding', 'Branding-Semilight', sans-serif !important;
  position: fixed;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 92vw;
  max-width: 960px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  z-index: 10000;
  margin-top: 8px;
  overflow: hidden;
}

.aa-Panel * {
  font-family: inherit;
}

.aa-EmptyState {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 340px;
}

.aa-EmptyState-searches {
  padding: 24px;
  border-right: 1px solid #f0f0f0;
  overflow-y: auto;
}

.aa-EmptyState-title {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.aa-EmptyState-title:not(:first-child) {
  margin-top: 24px;
}

.aa-RecentItem {
  display: flex;
  align-items: center;
  padding: 9px 0;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.15s;
}
.aa-RecentItem:hover {
  color: #e67e22;
}
.aa-RecentItem-icon {
  width: 18px;
  height: 18px;
  color: #bbb;
  flex-shrink: 0;
}
.aa-RecentItem-text {
  flex: 1;
}
.aa-RecentItem-remove {
  width: 16px;
  height: 16px;
  color: #ccc;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s;
}
.aa-RecentItem-remove:hover {
  color: #e74c3c;
}

.aa-PopularTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aa-PopularTag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.aa-PopularTag:hover {
  border-color: #e67e22;
  color: #e67e22;
  background: #fdf6f0;
}

.aa-EmptyState-banners {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.aa-BannersGrid {
  display: grid;
  gap: 24px;
  flex: 1;
  min-height: 0;
}
.aa-banners-1 .aa-BannersGrid {
  grid-template-columns: 1fr;
}
.aa-banners-2 .aa-BannersGrid {
  grid-template-columns: 1fr 1fr;
}
.aa-banners-3 .aa-BannersGrid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.aa-banners-3 .aa-BannersGrid .aa-CmsBanner:first-child {
  grid-row: 1 / -1;
}
.aa-CmsBanner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  max-height: 300px;
  border: 1px solid #f0f0f0;
}
.aa-CmsBanner:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.aa-banners-3 .aa-CmsBanner:first-child {
  grid-row: 1 / -1;
}

.aa-CmsBanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aa-EmptyState-bannersTitle {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 4px;
}

.aa-EmptyState-banners:empty {
  display: none;
}
.aa-EmptyState.aa-no-banners {
  grid-template-columns: 1fr;
}

.aa-Grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 300px;
}
.aa-Results {
  border-right: 1px solid #f0f0f0;
  overflow-y: auto;
  max-height: 500px;
  padding: 8px 0;
}
.aa-SourceHeader {
  display: flex;
  align-items: center;
  padding: 8px 16px 4px;
  gap: 8px;
}
.aa-SourceHeaderTitle {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.aa-SourceHeaderLine {
  flex: 1;
  height: 1px;
  background: #f0f0f0;
}

.aa-ProductItem {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  transition: background 0.12s;
  border-left: 3px solid transparent;
}
.aa-ProductItem:hover,
.aa-ProductItem.aa-ProductItem--active {
  background: #fdf6f0;
  border-left-color: #e67e22;
}
.aa-ProductItem-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #fafafa;
  padding: 2px;
  flex-shrink: 0;
}
.aa-ProductItem-info {
  flex: 1;
  min-width: 0;
}
.aa-ProductItem-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aa-ProductItem-name mark {
  background: #f7a94b;
  color: #333;
  border-radius: 2px;
  padding: 0 2px;
}
.aa-ProductItem-meta {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}
.aa-ProductItem-price {
  font-size: 14px;
  color: #e67e22;
  font-weight: 700;
  flex-shrink: 0;
}
.aa-ProductItem-badge {
  font-size: 9px;
  color: #fff;
  background: #e67e22;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.aa-ProductItem-priceOld,
.aa-Preview-priceOld,
.aa-MobileProduct-priceOld {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.aa-Preview {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fafafa;
  overflow-y: auto;
  max-height: 500px;
}
.aa-Preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ccc;
  font-size: 13px;
  text-align: center;
  padding: 40px 20px;
}
.aa-Preview-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 8px;
}
.aa-Preview-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 6px;
}
.aa-Preview-category {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}
.aa-Preview-price {
  font-size: 22px;
  color: #e67e22;
  font-weight: 700;
  margin-bottom: 8px;
}
.aa-Preview-badge {
  font-size: 11px;
  color: #fff;
  background: #e67e22;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.aa-Preview-description {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aa-Preview-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: #e67e22;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: auto;
}
.aa-Preview-btn:hover {
  background: #d35400;
}

.aa-RuleBanner {
  display: block;
  margin: 8px 12px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  grid-column: 1 / -1;
}
.aa-RuleBanner:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.aa-RuleBanner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 120px;
  object-fit: cover;
}

.aa-SeeAll {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  border-top: 2px solid #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s;
  grid-column: 1 / -1;
}
.aa-SeeAll:hover {
  background: #fdf6f0;
}

.aa-NoResults {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
  grid-column: 1 / -1;
}

.aa-Results::-webkit-scrollbar,
.aa-Preview::-webkit-scrollbar {
  width: 4px;
}
.aa-Results::-webkit-scrollbar-thumb,
.aa-Preview::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .aa-Panel {
    width: 95vw;
    max-width: none;
  }
  .aa-EmptyState {
    grid-template-columns: 1fr;
  }
  .aa-EmptyState-banners {
    display: none;
  }
  .aa-Grid {
    grid-template-columns: 1fr;
  }
  .aa-Preview {
    display: none;
  }
  .aa-Results {
    border-right: none;
  }
}