/**
 * OggyShop Image Search Styles
 * High-converting, responsive UI for visual product search with client-side localStorage.
 */

/* ==========================================================================
   1. Search Bar Trigger Button & Google-Style Clear Button
   ========================================================================== */
.site-header .header-search-form .search-form,
.search-form {
  position: relative !important;
}

/* Ensure search input leaves space on the right for submit button, camera, and clear cross */
.site-header .header-search-form .search-form input.search-input,
.search-form input.search-input {
  padding-right: 140px !important;
}

/* Suppress native browser search cancel button to avoid duplicate crosses */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}

/* Google-Style Clear ("X") Cross Button - Hidden by default until typed or searched */
/* Google-Style Clear ("X") Cross Button - Hidden by default until typed or searched */
body[data-theme="light"] .site-header .header-search-form .search-form button.oggy-search-clear-btn,
body[data-theme="dark"] .site-header .header-search-form .search-form button.oggy-search-clear-btn,
body .site-header .header-search-form .search-form button.oggy-search-clear-btn,
body[data-theme="light"] .search-form button.oggy-search-clear-btn,
body[data-theme="dark"] .search-form button.oggy-search-clear-btn,
body .search-form button.oggy-search-clear-btn,
.site-header .header-search-form .search-form button.oggy-search-clear-btn,
.site-header:not(.transparent) .detail-secondary .header-search-form .search-form button.oggy-search-clear-btn,
.site-header:not(.transparent) .detail-secondary .header-search-form.is-searchable form button.oggy-search-clear-btn,
.search-form button.oggy-search-clear-btn,
button.oggy-search-clear-btn {
  position: absolute !important;
  right: 104px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 50% !important;
  z-index: 6 !important;
}

/* Clear button appears ONLY when is-visible is present */
body[data-theme="light"] .site-header .header-search-form .search-form button.oggy-search-clear-btn.is-visible,
body[data-theme="dark"] .site-header .header-search-form .search-form button.oggy-search-clear-btn.is-visible,
body .site-header .header-search-form .search-form button.oggy-search-clear-btn.is-visible,
body[data-theme="light"] .search-form button.oggy-search-clear-btn.is-visible,
body[data-theme="dark"] .search-form button.oggy-search-clear-btn.is-visible,
body .search-form button.oggy-search-clear-btn.is-visible,
.site-header .header-search-form .search-form button.oggy-search-clear-btn.is-visible,
.site-header:not(.transparent) .detail-secondary .header-search-form .search-form button.oggy-search-clear-btn.is-visible,
.site-header:not(.transparent) .detail-secondary .header-search-form.is-searchable form button.oggy-search-clear-btn.is-visible,
.search-form button.oggy-search-clear-btn.is-visible,
button.oggy-search-clear-btn.is-visible {
  display: flex !important;
}

body[data-theme="light"] .site-header .header-search-form .search-form button.oggy-search-clear-btn:hover,
body[data-theme="dark"] .site-header .header-search-form .search-form button.oggy-search-clear-btn:hover,
body .site-header .header-search-form .search-form button.oggy-search-clear-btn:hover,
body[data-theme="light"] .search-form button.oggy-search-clear-btn:hover,
body[data-theme="dark"] .search-form button.oggy-search-clear-btn:hover,
body .search-form button.oggy-search-clear-btn:hover,
.site-header .header-search-form .search-form button.oggy-search-clear-btn:hover,
.site-header:not(.transparent) .detail-secondary .header-search-form .search-form button.oggy-search-clear-btn:hover,
.site-header:not(.transparent) .detail-secondary .header-search-form.is-searchable form button.oggy-search-clear-btn:hover,
.search-form button.oggy-search-clear-btn:hover,
button.oggy-search-clear-btn:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.08) !important;
  background-color: rgba(15, 23, 42, 0.08) !important;
}

.site-header .header-search-form .search-form button.oggy-search-clear-btn:active,
.search-form button.oggy-search-clear-btn:active,
button.oggy-search-clear-btn:active {
  transform: translateY(-50%) scale(0.9) !important;
  background: rgba(15, 23, 42, 0.12) !important;
}

.search-form button.oggy-search-clear-btn svg,
button.oggy-search-clear-btn svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Position camera button with perfect vertical centering and comfortable breathing room from submit button */
body[data-theme="light"] .site-header .header-search-form .search-form button.oggy-header-image-search-btn,
body[data-theme="dark"] .site-header .header-search-form .search-form button.oggy-header-image-search-btn,
body .site-header .header-search-form .search-form button.oggy-header-image-search-btn,
body[data-theme="light"] .search-form button.oggy-header-image-search-btn,
body[data-theme="dark"] .search-form button.oggy-header-image-search-btn,
body .search-form button.oggy-header-image-search-btn,
.site-header .header-search-form .search-form button.oggy-header-image-search-btn,
.site-header:not(.transparent) .detail-secondary .header-search-form .search-form button.oggy-header-image-search-btn,
.site-header:not(.transparent) .detail-secondary .header-search-form.is-searchable form button.oggy-header-image-search-btn,
.search-form button.oggy-header-image-search-btn,
button#oggyHeaderImageSearchBtn {
  position: absolute !important;
  right: 64px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border-radius: 50% !important;
  z-index: 5 !important;
}

body[data-theme="light"] .site-header .header-search-form .search-form button.oggy-header-image-search-btn:hover,
body[data-theme="dark"] .site-header .header-search-form .search-form button.oggy-header-image-search-btn:hover,
body .site-header .header-search-form .search-form button.oggy-header-image-search-btn:hover,
body[data-theme="light"] .search-form button.oggy-header-image-search-btn:hover,
body[data-theme="dark"] .search-form button.oggy-header-image-search-btn:hover,
body .search-form button.oggy-header-image-search-btn:hover,
.site-header .header-search-form .search-form button.oggy-header-image-search-btn:hover,
.site-header:not(.transparent) .detail-secondary .header-search-form .search-form button.oggy-header-image-search-btn:hover,
.site-header:not(.transparent) .detail-secondary .header-search-form.is-searchable form button.oggy-header-image-search-btn:hover,
button#oggyHeaderImageSearchBtn:hover {
  color: #d97706 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  background-color: rgba(245, 158, 11, 0.12) !important;
  transform: translateY(-50%) !important;
}

.site-header .header-search-form .search-form button.oggy-header-image-search-btn:active,
button#oggyHeaderImageSearchBtn:active {
  transform: translateY(-50%) scale(0.92) !important;
}

.site-header .header-search-form .search-form button.oggy-header-image-search-btn svg,
button#oggyHeaderImageSearchBtn svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  stroke: #64748b !important;
  fill: none !important;
  transition: stroke 0.2s ease;
}

.site-header .header-search-form .search-form button.oggy-header-image-search-btn:hover svg,
button#oggyHeaderImageSearchBtn:hover svg {
  stroke: #d97706 !important;
}

/* Mobile Search Drawer specifics where submit button is on left */
.klb-mobile-search form button#oggyHeaderImageSearchBtn,
.klb-mobile-search .search-form button#oggyHeaderImageSearchBtn,
body .klb-mobile-search #oggyHeaderImageSearchBtn,
body .klb-mobile-search button.oggy-header-image-search-btn {
  left: auto !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

body .klb-mobile-search .search-form button.oggy-search-clear-btn,
body .klb-mobile-search button.oggy-search-clear-btn,
.klb-mobile-search form button.oggy-search-clear-btn {
  left: auto !important;
  right: 46px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
}

.klb-mobile-search .search-form input.search-input,
.klb-mobile-search form input.search-input {
  padding-right: 80px !important;
  padding-left: 44px !important;
}

/* ==========================================================================
   1b. Mobile Search Drawer (.klb-mobile-search) Polish
   ========================================================================== */
.klb-mobile-search .mobile-search-header {
  position: relative !important;
  padding-right: 50px !important;
}

/* Explicit Close Button on Mobile Search Drawer */
.oggy-mobile-search-close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #475569 !important;
  z-index: 10 !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.oggy-mobile-search-close:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fecaca !important;
  transform: rotate(90deg) !important;
}

.oggy-mobile-search-close svg {
  display: block !important;
  stroke: currentColor !important;
}

/* Proper icon positioning inside .klb-mobile-search input */
.klb-mobile-search form input.search-input {
  padding-left: 2.8rem !important;
  padding-right: 4.8rem !important;
  border-radius: 10px !important;
}

.klb-mobile-search form button.oggy-header-image-search-btn {
  right: 8px !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
}

.klb-mobile-search form button.oggy-search-clear-btn {
  right: 40px !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  display: none !important;
}

.klb-mobile-search form button.oggy-search-clear-btn.is-visible {
  display: flex !important;
}

/* ==========================================================================
   2. Modal Overlay & Box
   ========================================================================== */
.oggy-is-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}

.oggy-is-modal-overlay.oggy-is-open {
  opacity: 1;
  visibility: visible;
}

.oggy-is-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.oggy-is-modal-overlay.oggy-is-open .oggy-is-modal-box {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.oggy-is-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.oggy-is-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oggy-is-modal-icon {
  font-size: 22px;
  line-height: 1;
}

.oggy-is-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.oggy-is-modal-sub {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-left: 4px;
}

.oggy-is-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a !important;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.oggy-is-close-btn:hover {
  background: #fee2e2;
  color: #ef4444 !important;
  border-color: #fecaca;
  transform: rotate(90deg) scale(1.05);
}

.oggy-is-close-cross {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-top: -2px;
  color: inherit;
}

/* Modal Body */
.oggy-is-modal-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   3. Dropzone
   ========================================================================== */
.oggy-is-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.oggy-is-dropzone:hover,
.oggy-is-dropzone.oggy-is-dragover {
  border-color: #f59e0b;
  background: #fffdf5;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

.oggy-is-drop-icon {
  color: #d97706;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: #fef3c7;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.oggy-is-dropzone:hover .oggy-is-drop-icon {
  transform: scale(1.08) translateY(-2px);
}

.oggy-is-drop-main-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.oggy-is-drop-sub-text {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px 0;
}

.oggy-is-btn-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.oggy-is-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.oggy-is-btn-browse {
  background: #0f172a;
  color: #ffffff;
}

.oggy-is-btn-browse:hover {
  background: #334155;
  color: #ffffff;
  transform: translateY(-1px);
}

.oggy-is-btn-camera {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.oggy-is-btn-camera:hover {
  background: #fde68a;
  color: #92400e;
  transform: translateY(-1px);
}

.oggy-is-paste-hint {
  font-size: 11.5px;
  color: #94a3b8;
  display: block;
}

/* ==========================================================================
   4. Active Preview Strip & Scanner
   ========================================================================== */
.oggy-is-preview-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.oggy-is-thumbnail-wrap {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.oggy-is-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Futuristic Scanline Animation */
.oggy-is-scanner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, #ef4444, transparent);
  box-shadow: 0 0 8px #f59e0b;
  animation: oggyScan 1.6s ease-in-out infinite;
  display: none;
}

.oggy-is-scanning .oggy-is-scanner {
  display: block;
}

@keyframes oggyScan {
  0% {
    top: 0%;
    opacity: 0.2;
  }
  50% {
    top: 96%;
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0.2;
  }
}

.oggy-is-query-summary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oggy-is-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oggy-is-spinner {
  width: 16px;
  height: 16px;
  border: 2.5px solid #cbd5e1;
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: oggySpin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes oggySpin {
  to { transform: rotate(360deg); }
}

.oggy-is-status-msg {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.oggy-is-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oggy-is-tag-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.oggy-is-tag-chip:hover,
.oggy-is-tag-chip.active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.oggy-is-btn-change-photo {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  transition: color 0.15s ease;
  width: fit-content;
}

.oggy-is-btn-change-photo:hover {
  color: #0f172a;
}

/* ==========================================================================
   5. Results Grid & Product Cards
   ========================================================================== */
.oggy-is-results-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oggy-is-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.oggy-is-results-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.oggy-is-view-all-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #d97706;
  text-decoration: none;
  transition: color 0.15s ease;
}

.oggy-is-view-all-link:hover {
  color: #b45309;
  text-decoration: underline;
}

.oggy-is-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .oggy-is-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.oggy-is-prod-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.oggy-is-prod-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.oggy-is-prod-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 8px;
}

.oggy-is-prod-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.oggy-is-prod-card:hover .oggy-is-prod-thumb-wrap img {
  transform: scale(1.05);
}

.oggy-is-prod-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.oggy-is-prod-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
}

.oggy-is-prod-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-top: auto;
}

.oggy-is-prod-price del {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 400;
  margin-right: 4px;
}

.oggy-is-prod-price ins {
  text-decoration: none;
  color: #15803d;
}

.oggy-is-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 10px;
  color: #64748b;
}

.oggy-is-empty-state-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.oggy-is-empty-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.oggy-is-empty-sub {
  font-size: 12.5px;
  margin: 0;
}

/* ==========================================================================
   6. Client-Side Recent Searches (localStorage ONLY)
   ========================================================================== */
.oggy-is-history-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 4px;
}

.oggy-is-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.oggy-is-history-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}

.oggy-is-clear-history-btn {
  background: transparent;
  border: none;
  font-size: 11px;
  color: #ef4444;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.oggy-is-clear-history-btn:hover {
  background: #fee2e2;
}

.oggy-is-history-list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.oggy-is-history-item {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.oggy-is-history-item:hover {
  border-color: #f59e0b;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.oggy-is-history-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   7. Modal Footer
   ========================================================================== */
.oggy-is-modal-footer {
  padding: 10px 22px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.oggy-is-privacy-badge {
  font-size: 11px;
  color: #64748b;
  display: inline-block;
  line-height: 1.4;
}

/* ==========================================================================
   8. Responsive Device Search & Header Triggers
   ========================================================================== */
.header-mobile .oggy-mobile-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #1e293b;
  margin-right: 6px;
  transition: all 0.2s ease;
}

.header-mobile .oggy-mobile-search-trigger i {
  font-size: 1.25rem;
  line-height: 1;
}

.header-mobile .oggy-mobile-search-trigger:hover {
  color: #ffc21f;
  background: rgba(255, 194, 31, 0.12);
}

body[data-theme="dark"] .header-mobile .oggy-mobile-search-trigger {
  color: #ffffff;
}

body[data-theme="dark"] .header-mobile .oggy-mobile-search-trigger:hover {
  color: #ffc21f;
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Image Search Modal Polish (< 576px) */
@media screen and (max-width: 576px) {
  .oggy-is-modal-box {
    max-height: 94vh;
    border-radius: 16px;
  }

  .oggy-is-modal-header {
    padding: 12px 16px;
  }

  .oggy-is-modal-title {
    font-size: 15px;
  }

  .oggy-is-modal-body {
    padding: 16px;
    gap: 14px;
  }

  .oggy-is-dropzone {
    padding: 24px 14px;
  }

  .oggy-is-drop-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
  }

  .oggy-is-drop-icon svg {
    width: 26px;
    height: 26px;
  }

  .oggy-is-btn-actions {
    gap: 8px;
  }

  .oggy-is-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
