/* ==========================================================================
   MobileMarket React Islands Stylesheet (OmniSearch, Drawer, Spotlight)
   ========================================================================== */

/* 1. OmniSearch Input & Dropdown */
#react-search-mount {
  flex: 1;
  min-width: 0;
  display: flex;
}

.react-omnisearch-wrap {
  position: relative;
  width: 100%;
}

.react-search-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, #f8fafd 0%, #f1f7ff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.react-search-trigger input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 0.98rem;
  color: var(--text);
  padding: 0 8px;
}

.react-search-trigger input:focus {
  outline: none;
}

.react-search-kbd {
  display: none !important;
}

.react-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(203, 218, 237, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 48px -10px rgba(15, 35, 65, 0.16);
  z-index: 100;
  overflow: hidden;
  animation: reactFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.react-search-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.react-search-dropdown__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
}

.react-search-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.react-search-close:hover {
  color: #0f172a;
}

.react-search-chips {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  overflow-x: auto;
  border-bottom: 1px solid #f1f5f9;
}

.react-search-chip {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.react-search-chip:hover {
  background: #2563eb;
  color: #ffffff;
}

.react-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 0;
}

.react-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  text-decoration: none;
  color: #1e293b;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

.react-search-item:hover {
  background-color: #f1f5f9;
}

.react-search-item__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.react-search-item__info {
  flex: 1;
  min-width: 0;
}

.react-search-item__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.react-search-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.react-search-item__cat {
  font-size: 0.76rem;
  color: #64748b;
}

.react-search-item__badge {
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.react-search-item__price {
  font-size: 0.94rem;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
}

.react-search-empty {
  padding: 24px 18px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

.react-search-footer-link {
  display: block;
  text-align: center;
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #2563eb;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.react-search-footer-link:hover {
  background: #eff6ff;
  text-decoration: underline;
}

/* ==========================================================================
   2. SlideOverCart Drawer Styles
   ========================================================================== */

.react-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  animation: fadeIn 0.25s ease;
}

.react-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(440px, 100vw);
  background: #ffffff;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.react-drawer.is-open {
  transform: translateX(0);
}

.react-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.react-drawer__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.react-drawer__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.react-drawer__badge {
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.react-drawer__close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.react-drawer__close:hover {
  color: #0f172a;
}

/* Shipping Progress Bar */
.react-drawer__shipping-bar {
  padding: 14px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.react-shipping-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.react-shipping-congrats {
  font-size: 0.82rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 8px;
}

.react-progress-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.react-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Body & Items */
.react-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.react-drawer-empty {
  text-align: center;
  padding: 48px 16px;
}

.react-drawer-empty__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.react-drawer-empty strong {
  display: block;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.react-drawer-empty p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.react-cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.react-cart-item__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.react-cart-item__details {
  flex: 1;
}

.react-cart-item__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.react-cart-item__price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 10px;
}

.react-cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.react-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.react-qty-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
}

.react-qty-btn:hover:not(:disabled) {
  color: #2563eb;
}

.react-qty-val {
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
}

.react-cart-item__del {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.react-cart-item__del:hover {
  text-decoration: underline;
}

/* Footer Actions */
.react-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.react-drawer__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #475569;
}

.react-drawer__total-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}

.react-drawer__btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.react-btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
}

/* ==========================================================================
   3. Interactive Spotlight & Equalizer Styles
   ========================================================================== */

.react-spotlight-card {
  margin: 40px 0;
  background: #ffffff;
  border: 1px solid rgba(203, 218, 237, 0.9);
  border-radius: 26px;
  padding: 28px 32px;
  box-shadow: 0 16px 40px -10px rgba(15, 35, 65, 0.08);
  overflow: hidden;
}

.react-spotlight-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.react-spotlight-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.react-spotlight-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.react-spotlight-tab.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.react-spotlight-tab__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.react-spotlight-tab.is-active .react-spotlight-tab__dot {
  background: #38bdf8;
}

.react-spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}

@media (max-width: 840px) {
  .react-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.react-spotlight-tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.react-spotlight-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.react-spotlight-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 18px 0;
}

/* Audio Equalizer animation */
.react-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 24px;
  margin-bottom: 20px;
}

.eq-bar {
  width: 4px;
  background: #2563eb;
  border-radius: 4px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar--1 { height: 12px; animation-delay: 0.1s; }
.eq-bar--2 { height: 22px; animation-delay: 0.3s; }
.eq-bar--3 { height: 16px; animation-delay: 0.2s; }
.eq-bar--4 { height: 24px; animation-delay: 0.4s; }
.eq-bar--5 { height: 14px; animation-delay: 0.15s; }
.eq-bar--6 { height: 18px; animation-delay: 0.25s; }

@keyframes eqBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.eq-label {
  margin-inline-start: 10px;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.react-spotlight-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.react-spotlight-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.spec-check {
  color: #16a34a;
  font-weight: 900;
}

.react-spotlight-visual {
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(203, 218, 237, 0.8);
  box-shadow: 0 12px 28px rgba(15, 35, 65, 0.08);
}

.react-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.react-spotlight-card:hover .react-spotlight-img {
  transform: scale(1.03);
}


/* ==========================================================================
   4. React Sticky Facets Component Styles (/products/) - Apple Showcase Style
   ========================================================================== */

.react-facets-container {
  margin-bottom: 40px;
}

.react-facets-bar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(210, 210, 215, 0.7);
  border-radius: 20px;
  padding: 14px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: sticky;
  top: 75px;
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.react-facets-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 4px;
}

.react-facet-btn {
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: 980px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.react-facet-btn:hover {
  background: #e8e8ed;
  color: #000000;
}

.react-facet-btn.is-active {
  background: #0071e3;
  color: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.28);
}

.react-facets-toggles {
  display: flex;
  align-items: center;
  gap: 16px;
}

.react-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #515154;
  cursor: pointer;
}

.react-toggle-label input {
  accent-color: #0071e3;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.react-facet-sort {
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1d1d1f;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.react-facet-sort:focus {
  border-color: #0071e3;
}

.react-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.react-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(210, 210, 215, 0.7);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.react-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.3);
}

.react-product-card .product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 16px;
  background: #fafafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 12px;
}

.react-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.react-product-card:hover .product-image img {
  transform: scale(1.04);
}

.react-product-card .badge.discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 980px;
}

.react-product-card .product-card__cat {
  font-size: 0.78rem;
  color: #86868b;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.react-product-card .product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.react-product-card .product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.react-product-card .product-name a:hover {
  color: #0071e3;
}

.react-product-card .product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f5f5f7;
}

.react-product-card .current-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d1d1f;
  display: block;
}

.react-product-card .old-price {
  font-size: 0.8rem;
  color: #86868b;
  text-decoration: line-through;
  display: block;
}

.react-facets-loading,
.react-facets-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed #d2d2d7;
  border-radius: 20px;
  color: #86868b;
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   5. React Product Image Zoom & Lens
   ========================================================================== */

.react-zoom-lens-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(203, 218, 237, 0.9);
  background: #ffffff;
  cursor: crosshair;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 35, 65, 0.06);
}

.react-zoom-base-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.react-zoom-lens-preview {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 250%;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.15s ease;
}

/* ==========================================================================
   6. Interactive Accessory Finder Quiz (Stripe / Apple Luminous Indigo Card)
   ========================================================================== */

.finder-quiz-card {
  background: radial-gradient(circle at 12% 18%, rgba(83, 58, 253, 0.08) 0%, transparent 55%),
              radial-gradient(circle at 88% 82%, rgba(0, 113, 227, 0.1) 0%, transparent 60%),
              linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  color: #0d253d;
  border: 1px solid #dbe4ff;
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 0 18px 42px rgba(13, 37, 61, 0.06);
}

.finder-quiz-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(99, 91, 255, 0.14);
  margin-bottom: 26px;
}

.finder-badge {
  display: inline-block;
  background: rgba(83, 58, 253, 0.1);
  color: #533afd;
  border: 1px solid rgba(83, 58, 253, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 12px;
}

.finder-quiz-intro h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #0d253d;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.finder-quiz-intro p {
  font-size: 0.92rem;
  color: #425466;
  margin: 0;
  line-height: 1.7;
}

.finder-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.finder-scenario-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  color: #0d253d;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 37, 61, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.finder-scenario-btn:hover {
  background: #fafbff;
  border-color: #a5b4fc;
  transform: translateY(-2px);
}

.finder-scenario-btn.is-active {
  background: #f5f3ff;
  border-color: #533afd;
  box-shadow: 0 6px 18px rgba(83, 58, 253, 0.14);
}

.finder-scenario-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.finder-scenario-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.finder-scenario-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d253d;
}

.finder-scenario-text small {
  font-size: 0.74rem;
  color: #64748b;
}

.finder-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.finder-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(13, 37, 61, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.finder-item-card:hover {
  transform: translateY(-4px);
  border-color: #533afd;
  box-shadow: 0 14px 28px rgba(83, 58, 253, 0.1);
}

.finder-item-img {
  height: 140px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.finder-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finder-item-cat {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.finder-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0d253d;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.finder-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.finder-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #533afd;
}

.finder-quick-add {
  background: #533afd;
  color: #ffffff;
  border: 0;
  border-radius: 980px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.finder-quick-add:hover {
  background: #4434d4;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .finder-quiz-top {
    grid-template-columns: 1fr;
  }
  .finder-scenarios {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Mobile & Touch Polish for All React Islands (<= 768px / <= 640px)
   ========================================================================== */

@media (hover: none), (max-width: 768px) {
  .react-zoom-lens-container {
    cursor: default;
    max-width: 100%;
  }
  .react-zoom-base-img {
    height: 280px;
    object-fit: contain;
  }
  .react-zoom-lens-preview {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #react-search-mount {
    grid-area: search;
    width: 100%;
  }

  .react-search-trigger {
    height: 46px;
    border-radius: 14px;
    padding: 0 14px;
  }

  .react-search-trigger input {
    font-size: 16px;
  }

  .react-search-results {
    max-height: 55vh;
  }

  .react-drawer__footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .react-drawer {
    width: 100vw;
  }

  .react-drawer__header,
  .react-drawer__body,
  .react-drawer__shipping-bar {
    padding-inline: 18px;
  }

  .react-spotlight-card {
    margin: 24px 0;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .react-spotlight-title {
    font-size: 1.28rem;
  }

  .react-spotlight-desc {
    font-size: 0.9rem;
  }

  .react-spotlight-visual {
    height: 210px;
    border-radius: 16px;
  }

  .finder-quiz-card {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .finder-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .finder-item-img {
    height: 115px;
  }

  .finder-item-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .finder-quick-add {
    width: 100%;
    text-align: center;
  }

  /* Catalog Sticky Facets & 2-Column Mobile Product Grid */
  .react-facets-bar {
    position: static;
    padding: 12px 14px;
    border-radius: 16px;
    gap: 10px;
    margin-bottom: 18px;
  }

  .react-facets-chips {
    flex: 0 0 100%;
    width: 100%;
  }

  .react-facets-toggles {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .react-facet-sort {
    font-size: 16px;
    width: 100%;
  }

  .react-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .react-product-card {
    padding: 12px;
    border-radius: 16px;
  }

  .react-product-card .product-image {
    height: 145px;
    padding: 8px;
    margin-bottom: 10px;
  }

  .react-product-card .product-name {
    font-size: 0.86rem;
  }

  .react-product-card .product-price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .react-product-card .current-price {
    font-size: 0.94rem;
  }
}

@media (max-width: 360px) {
  .react-products-grid,
  .finder-results-grid {
    grid-template-columns: 1fr;
  }
}
