/* ═══════════════════════════════════════════════════════════
   DevAura Search Enhancer — Dropdown Styles
   ═══════════════════════════════════════════════════════════ */

.dv-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999999999;
  background: #ffffff;
  border: 1px solid rgba(26, 20, 8, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(26, 20, 8, 0.12);
  margin-top: 6px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  animation: dvSearchFadeIn 0.2s ease;
}

@keyframes dvSearchFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Group ── */
.dv-sd-group {
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(26, 20, 8, 0.06);
}

.dv-sd-group:last-of-type {
  border-bottom: none;
}

.dv-sd-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #b48c50;
  margin-bottom: 8px;
}

.dv-sd-group-title svg {
  stroke: #b48c50;
}

/* ── Note Pills ── */
.dv-sd-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dv-sd-note-pill {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(26, 20, 8, 0.65);
  background: rgba(26, 20, 8, 0.04);
  border: 1px solid rgba(26, 20, 8, 0.1);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dv-sd-note-pill:hover {
  background: rgba(180, 140, 80, 0.1);
  border-color: rgba(180, 140, 80, 0.4);
  color: #b48c50;
}

/* ── Inspired By Items ── */
.dv-sd-ib-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dv-sd-ib-item:hover {
  background: rgba(180, 140, 80, 0.05);
}

.dv-sd-ib-label {
  font-size: 11px;
  color: rgba(26, 20, 8, 0.4);
  flex-shrink: 0;
}

.dv-sd-ib-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1408;
  flex: 1;
}

.dv-sd-ib-item svg {
  stroke: rgba(26, 20, 8, 0.25);
  flex-shrink: 0;
}

/* ── Product Items ── */
.dv-sd-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dv-sd-product:hover {
  background: rgba(180, 140, 80, 0.05);
}

.dv-sd-product-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(26, 20, 8, 0.04);
  flex-shrink: 0;
}

.dv-sd-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.dv-sd-product-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1408;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dv-sd-product-price {
  font-size: 12px;
  font-weight: 700;
  color: #b48c50;
}

.dv-sd-product svg {
  stroke: rgba(26, 20, 8, 0.25);
  flex-shrink: 0;
}

/* ── Brand Items ── */
.dv-sd-brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dv-sd-brand-item:hover {
  background: rgba(180, 140, 80, 0.05);
}

.dv-sd-brand-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(26, 20, 8, 0.03);
  border: 1px solid rgba(26, 20, 8, 0.08);
  flex-shrink: 0;
  padding: 4px;
}

.dv-sd-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(180, 140, 80, 0.08), rgba(180, 140, 80, 0.15));
  border: 1px solid rgba(180, 140, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dv-sd-brand-icon svg {
  stroke: #b48c50;
}

.dv-sd-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.dv-sd-brand-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1408;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dv-sd-brand-count {
  font-size: 11px;
  font-weight: 500;
  color: rgba(26, 20, 8, 0.4);
}

.dv-sd-brand-item svg:last-child {
  stroke: rgba(26, 20, 8, 0.25);
  flex-shrink: 0;
}

/* ── View All Link ── */
.dv-sd-viewall {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #b48c50;
  text-decoration: none;
  border-top: 1px solid rgba(26, 20, 8, 0.06);
  transition: background 0.2s ease;
}

.dv-sd-viewall:hover {
  background: rgba(180, 140, 80, 0.05);
}

/* ── Scrollbar ── */
.dv-search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.dv-search-dropdown::-webkit-scrollbar-track {
  background: rgba(26, 20, 8, 0.02);
  border-radius: 8px;
}

.dv-search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(180, 140, 80, 0.4);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.dv-search-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 140, 80, 0.6);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .dv-search-dropdown {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   NUKE BLOCKSY NATIVE SEARCH RESULTS — PERMANENTLY
   Targets by ID, class, and attribute so nothing leaks through
   ═══════════════════════════════════════════════════════════ */
#ct-search-results,
.ct-search-results,
.ct-live-search-results,
.ct-search-results-wrapper,
[data-search-results],
.dynamic-search-results,
.search-live-results {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

@media (max-width: 1024px) {
  #search-modal,
  .ct-search-modal,
  [data-panel="search"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HIDE LOYALTY POINTS BUTTON WHEN SEARCH IS ACTIVE
   Uses body class toggled by JS for bulletproof specificity
   ═══════════════════════════════════════════════════════════ */
body.dv-search-active .wll-launcher-button-container {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ═══════════════════════════════════════════════════════════
   POINTS BUTTON ENHANCED STYLING
   Premium rounded, glass-like button with subtle animation
   ═══════════════════════════════════════════════════════════ */
html body .wll-launcher-button-container {
  border-radius: 50px !important;
  box-shadow: 0 4px 20px rgba(180, 140, 80, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
}

html body .wll-launcher-button-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

html body .wll-launcher-button-container:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(180, 140, 80, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
}

html body .wll-launcher-button-container:hover::before {
  left: 100%;
}

html body .wll-launcher-button-container .wll-icon-text-container {
  border-radius: 50px !important;
}

html body .wll-launcher-button-container .wlr.wlrf-star {
  transition: transform 0.3s ease !important;
}

html body .wll-launcher-button-container:hover .wlr.wlrf-star {
  transform: rotate(15deg) scale(1.15) !important;
}

html body .wll-launcher-button-container .wll-icon-with-text {
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM MOBILE SEARCH OVERLAY (DEV AURA)
   ═══════════════════════════════════════════════════════════ */
.dv-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
  display: flex;
  flex-direction: column;
}

.dv-mobile-overlay.active {
  visibility: visible;
  opacity: 1;
}

.dv-mobile-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,20,8,0.98) 0%, rgba(44,34,16,0.95) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.dv-mobile-overlay-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.dv-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #b48c50;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}
.dv-mobile-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.dv-mobile-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}
.dv-mobile-title {
  color: #c9a050;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;
}

.dv-mobile-search-bar {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.dv-mobile-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  stroke: #b48c50;
}
#dv-mobile-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(180, 140, 80, 0.3);
  border-radius: 20px;
  color: #ffffff;
  font-size: 18px;
  padding: 18px 60px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#dv-mobile-search-input:focus {
  border-color: #b48c50;
  box-shadow: 0 0 0 3px rgba(180, 140, 80, 0.15);
  background: rgba(255, 255, 255, 0.12);
}
#dv-mobile-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#dv-mobile-results-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 40px;
}
#dv-mobile-results-container::-webkit-scrollbar {
  width: 4px;
}
#dv-mobile-results-container::-webkit-scrollbar-thumb {
  background: rgba(180, 140, 80, 0.5);
  border-radius: 4px;
}

.dv-mobile-loading, .dv-mobile-no-results {
  text-align: center;
  color: rgba(255,255,255,0.6);
  padding: 40px 20px;
  font-size: 16px;
}

.dv-mobile-custom-dropdown .dv-sd-group-title { color: #c9a050; }
.dv-mobile-custom-dropdown .dv-sd-note-pill { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(255,255,255,0.15); 
  color: rgba(255,255,255,0.7); 
}
.dv-mobile-custom-dropdown .dv-sd-product-name,
.dv-mobile-custom-dropdown .dv-sd-ib-name,
.dv-mobile-custom-dropdown .dv-sd-brand-name { color: #fff; }
.dv-mobile-custom-dropdown .dv-sd-brand-count { color: rgba(255,255,255,0.45); }
.dv-mobile-custom-dropdown .dv-sd-brand-img {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.dv-mobile-custom-dropdown .dv-sd-brand-icon {
  background: linear-gradient(135deg, rgba(180,140,80,0.15), rgba(180,140,80,0.25));
  border-color: rgba(180,140,80,0.3);
}
.dv-mobile-custom-dropdown .dv-sd-product:hover,
.dv-mobile-custom-dropdown .dv-sd-ib-item:hover,
.dv-mobile-custom-dropdown .dv-sd-brand-item:hover { background: rgba(180,140,80,0.15); }
