/* ==========================================================================
   LOJA & CATÁLOGO INTERATIVO — OLINDA ARTE EM MADEIRA
   Inspirado na estrutura do catálogo do cliente, adaptado para madeira de demolição
   ========================================================================== */

:root {
  --store-terracotta: #c85a17;
  --store-terracotta-hover: #b04e12;
  --store-terracotta-soft: #ffedd5;
  --store-amber: #d97706;
  --store-green: #15803d;
  --store-wood-dark: #1e1b18;
  --store-panel-bg: #ffffff;
  --store-panel-border: #e2e8f0;
  --store-text: #0f172a;
  --store-muted: #64748b;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.store-page {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 80px;
  color: var(--store-text);
}

/* Banner de Aviso do Ateliê */
.store-launch-banner-wrapper {
  padding-top: 24px;
  padding-bottom: 8px;
}
.store-launch-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200, 90, 23, 0.08) 0%, rgba(217, 119, 6, 0.08) 45%, #ffffff 100%);
  border: 1px solid rgba(200, 90, 23, 0.28);
  box-shadow: 0 8px 25px rgba(200, 90, 23, 0.06);
}
.launch-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--store-terracotta);
  color: #fff;
  font: 800 0.8rem var(--font-heading);
  letter-spacing: 0.8px;
  padding: 8px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.3);
  flex-shrink: 0;
}
.launch-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: storePulse 1.5s infinite;
}
@keyframes storePulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--store-terracotta); }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.launch-banner-content { flex: 1; }
.launch-banner-content strong {
  display: block;
  font: 800 1.05rem var(--font-heading);
  color: #0f172a;
  margin-bottom: 3px;
}
.launch-banner-content p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}
.launch-banner-content p strong {
  display: inline;
  color: var(--store-terracotta);
  font-weight: 700;
}

/* Hero da Loja Minimalista */
.store-hero {
  padding: 16px 0 12px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}
.store-hero-minimal {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.store-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--store-terracotta);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: var(--store-terracotta-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.store-hero h1 {
  font: 800 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--font-heading);
  letter-spacing: -0.5px;
  color: #0f172a;
  margin-bottom: 4px;
}
.store-hero h1 span {
  color: var(--store-terracotta);
}
.store-hero p {
  max-width: 640px;
  margin: 0 auto 8px;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.4;
}
.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.store-primary-btn, .store-outline-btn {
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.store-primary-btn {
  background: var(--store-terracotta);
  color: #fff;
  border: 1px solid var(--store-terracotta);
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.25);
}
.store-primary-btn:hover {
  background: var(--store-terracotta-hover);
  color: #fff;
  transform: translateY(-2px);
}
.store-outline-btn {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.store-outline-btn:hover, .store-outline-btn.active {
  border-color: var(--store-terracotta);
  color: var(--store-terracotta);
  background: #fffaf5;
}

/* Carrossel de Fotos no Card de Produto */
.store-card-carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  pointer-events: none;
  z-index: 4;
}
.store-carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.85;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.store-product-card:hover .store-carousel-btn {
  opacity: 1;
}
.store-carousel-btn:hover {
  background: var(--store-terracotta);
  color: #fff;
  transform: scale(1.1);
}
.store-card-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 999px;
}
.store-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-carousel-dot.active {
  background: #fff;
  width: 16px;
  border-radius: 999px;
}

/* Modal Carrossel Controls */
.modal-carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
  z-index: 5;
}
.modal-carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.modal-carousel-btn:hover {
  background: var(--store-terracotta);
  color: #fff;
  transform: scale(1.08);
}

/* Card Conceito Lateral */
.store-concept-card {
  min-height: 160px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(200, 90, 23, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.store-concept-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--store-terracotta), var(--store-amber));
}
.concept-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--store-terracotta), var(--store-amber));
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(200, 90, 23, 0.25);
}
.store-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--store-terracotta);
  background: var(--store-terracotta-soft);
  border: 1px solid rgba(200, 90, 23, 0.25);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--store-terracotta);
  box-shadow: 0 0 6px var(--store-terracotta);
  animation: storePulse 1.2s infinite;
}
.store-concept-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.store-concept-card span {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
  display: block;
}

/* Métricas do Catálogo (Compacto) */
.store-metrics {
  position: relative;
  z-index: 2;
  margin-top: -12px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid var(--store-panel-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.store-metrics div {
  padding: 8px 14px;
  border-right: 1px solid var(--store-panel-border);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.store-metrics div:last-child {
  border-right: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.store-metrics div:last-child:hover {
  background: #fffaf5;
}
.store-metrics span {
  display: inline-block;
  font: 900 1.1rem var(--font-heading);
  color: var(--store-terracotta);
}
.store-metrics small {
  display: inline-block;
  color: #64748b;
  margin-top: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Layout Geral: Sidebar + Catálogo */
.store-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}
.store-filter-panel {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 105px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 90, 23, 0.25) transparent;
  border-radius: 16px;
  background: var(--store-panel-bg);
  border: 1px solid var(--store-panel-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}
.store-filter-panel::-webkit-scrollbar {
  width: 5px;
}
.store-filter-panel::-webkit-scrollbar-thumb {
  background: rgba(200, 90, 23, 0.25);
  border-radius: 999px;
}
.store-filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--store-panel-border);
}
.store-filter-title small {
  color: var(--store-terracotta);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.72rem;
  display: block;
}
.store-filter-title h2 {
  font: 800 1.25rem var(--font-heading);
  margin: 0;
  color: #0f172a;
}
.store-filter-actions {
  display: flex;
  gap: 8px;
}
.store-filter-actions button {
  background: none;
  border: 0;
  color: var(--store-terracotta);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.store-filter-actions button:hover {
  background: var(--store-terracotta-soft);
}
.store-filter-actions button[hidden] { display:none; }
#storeMobileFilterToggle {
  display: none;
}

/* Busca */
.store-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 14px 16px;
}
.store-search i {
  position: absolute;
  left: 12px;
  font-size: 1.1rem;
  color: #94a3b8;
}
.store-search input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.store-search input:focus {
  border-color: var(--store-terracotta);
  background: #fff;
}

/* Grupos de Filtros */
.store-filter-group {
  border: 0;
  border-top: 1px solid var(--store-panel-border);
  padding: 16px 18px;
}
.store-filter-group legend {
  width: 100%;
  padding-bottom: 8px;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.88rem;
}
.store-filter-hint {
  margin: -3px 0 12px;
  color: #718096;
  font-size: 0.74rem;
  line-height: 1.4;
}
.store-filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  color: #475569;
  font-size: 0.88rem;
  cursor: pointer;
}
.store-filter-group label:hover {
  color: var(--store-terracotta);
}
.store-filter-group label span {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.78rem;
}
.store-filter-group input {
  accent-color: var(--store-terracotta);
}

/* ==========================================================================
   FAIXA DE INVESTIMENTO — SLIDER DE PREÇO (SLACE DE PREÇO)
   ========================================================================== */
.store-price-filter-group {
  padding-bottom: 20px;
}

.store-price-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(200, 90, 23, 0.18);
  border-radius: 10px;
  background: #fffaf5;
}

.store-price-readout .readout-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
}

.store-price-readout .readout-val {
  max-width: 155px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--store-terracotta);
  font-family: var(--font-heading);
  line-height: 1.25;
  text-align: right;
}

.store-dual-slider-container {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  margin: 5px 1px 3px;
}

.store-dual-track-bg {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  z-index: 1;
}

.store-dual-track-range {
  position: absolute;
  height: 4px;
  background: var(--store-terracotta);
  border-radius: 999px;
  z-index: 2;
  left: 0%;
  width: 100%;
}

.store-dual-range {
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  margin: 0;
  z-index: 3;
}

.store-dual-range::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--store-terracotta);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(200, 90, 23, 0.4);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-dual-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 3px 8px rgba(200, 90, 23, 0.55);
}
.store-dual-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(200, 90, 23, 0.22);
}

.store-dual-range::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--store-terracotta);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(200, 90, 23, 0.4);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-dual-range::-moz-range-thumb:hover {
  transform: scale(1.18);
}
.store-dual-range::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
}

.store-price-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 12px;
}

.store-price-quick-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.store-chip-btn {
  min-height: 42px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 8px;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.store-chip-btn:hover {
  border-color: var(--store-terracotta);
  color: var(--store-terracotta);
  background: var(--store-terracotta-soft);
}

.store-chip-btn.active {
  background: var(--store-terracotta);
  border-color: var(--store-terracotta);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(200, 90, 23, 0.18);
}

/* ==========================================================================
   MAR DE TAGS NA SIDEBAR (LOGO EM BAIXO DE FAIXA DE INVESTIMENTO)
   ========================================================================== */
.store-filter-panel .store-tags-filter-group {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--store-panel-border);
  border-radius: 0;
  padding: 16px 18px 20px;
  box-shadow: none;
}

.store-filter-panel .store-tags-filter-group::before {
  display: none;
}

.store-tag-sidebar-sub {
  margin: 0 0 10px;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}

.store-tag-reset-link {
  background: none;
  border: 0;
  color: var(--store-terracotta);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.store-tag-reset-link:hover {
  text-decoration: underline;
}

.store-tag-groups-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eef2f6;
}
.store-tag-groups-sidebar::-webkit-scrollbar {
  display: none;
}
.store-tag-groups-sidebar .store-tag-group-btn {
  min-height: 36px;
  font-size: 0.72rem;
  padding: 6px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 7px;
}

.store-tag-cloud-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: none;
  overflow: visible;
  padding: 0;
}
.store-tag-cloud-sidebar::-webkit-scrollbar {
  width: 4px;
}
.store-tag-cloud-sidebar::-webkit-scrollbar-thumb {
  background: rgba(200, 90, 23, 0.25);
  border-radius: 999px;
}

.store-tag-cloud-sidebar .store-tag-pill {
  font-size: 0.73rem;
  padding: 6px 9px;
  border-radius: 9px;
}

.store-filter-panel .store-tag-sea-title {
  margin: 0;
  color: #0f172a;
  font: 800 0.88rem var(--font-heading);
  letter-spacing: 0;
}

/* Dark Mode Adjustments */
html[data-bs-theme="dark"] .store-price-slider {
  background: #334155;
}
html[data-bs-theme="dark"] .store-price-slider::-webkit-slider-thumb {
  border-color: #0f172a;
}
html[data-bs-theme="dark"] .store-price-slider::-moz-range-thumb {
  border-color: #0f172a;
}
html[data-bs-theme="dark"] .store-chip-btn {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
html[data-bs-theme="dark"] .store-chip-btn:hover {
  background: rgba(200, 90, 23, 0.15);
  color: #fdba74;
}
html[data-bs-theme="dark"] .store-chip-btn.active {
  background: var(--store-terracotta);
  border-color: var(--store-terracotta);
  color: #ffffff;
}

/* Toolbar */
.store-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--store-panel-bg);
  border: 1px solid var(--store-panel-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}
.store-toolbar p {
  color: #0f172a;
  font-weight: 800;
  margin: 0;
  font-size: 0.95rem;
}
.store-toolbar p span {
  color: var(--store-terracotta);
}
.store-toolbar small {
  color: #64748b;
  font-size: 0.8rem;
}
.store-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}
.store-toolbar select {
  padding: 8px 12px;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  outline: none;
}
.store-toolbar select:focus {
  border-color: var(--store-terracotta);
}

.store-active-filter {
  display: inline-flex;
  margin: 14px 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--store-terracotta-soft);
  border: 1px solid rgba(200, 90, 23, 0.25);
  color: var(--store-terracotta);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Grid de Produtos */
.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.store-product-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--store-panel-bg);
  border: 1px solid var(--store-panel-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.store-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 90, 23, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.store-product-card.hidden {
  display: none !important;
}

/* Mídia do Card */
.store-product-media {
  position: relative;
  min-height: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fdfbf7, #f5efe6);
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}
.store-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.store-product-card:hover .store-product-img {
  transform: scale(1.05);
}
.store-product-icon {
  font-size: 4.5rem;
  transition: transform 0.25s ease;
}
.store-product-card:hover .store-product-icon {
  transform: scale(1.1) rotate(-3deg);
}
.store-product-badge, .store-product-code {
  position: absolute;
  top: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.store-product-badge {
  left: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--store-terracotta);
  color: #fff;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.3);
}
.store-product-code {
  right: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.store-interest-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
}
.store-interest-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}
.store-interest-btn.active {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
}

/* Corpo do Card */
.store-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.store-product-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.store-product-meta span {
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.card-title-clickable {
  cursor: pointer;
  min-height: 44px;
  font: 800 1.05rem/1.35 var(--font-heading);
  color: #0f172a;
  transition: color 0.2s;
  margin-bottom: 10px;
}
.card-title-clickable:hover {
  color: var(--store-terracotta);
}

/* Amostras de Acabamento / Tonalidade */
.store-card-colors {
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-colors-title {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}
.store-swatches-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.store-swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  outline: none;
}
.store-swatch-dot:hover {
  transform: scale(1.15);
}
.store-swatch-dot.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--store-terracotta);
}

/* Indicador Minimalista de Tamanho no Card */
.store-card-size-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
  margin-top: 6px;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: #fdf8f4;
  border: 1px solid rgba(200, 90, 23, 0.22);
  border-radius: 20px;
  color: #78350f;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-card-size-indicator:hover {
  background: rgba(200, 90, 23, 0.12);
  border-color: rgba(200, 90, 23, 0.4);
  color: var(--store-terracotta);
  transform: translateY(-1px);
}
.store-card-size-indicator i {
  font-size: 0.88rem;
  color: var(--store-terracotta);
}

/* Dimensões / Medidas */
.store-card-sizes {
  margin-bottom: 12px;
}
.store-size-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.store-size-pill {
  padding: 2px 7px;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Rodapé do Card */
.store-product-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.store-price del, .store-price strong, .store-price small {
  display: block;
}
.store-price del {
  color: #94a3b8;
  font-size: 0.75rem;
  min-height: 14px;
}
.store-price strong {
  font: 900 1.22rem var(--font-heading);
  color: #0f172a;
}
.store-price small {
  font-size: 0.68rem;
  color: var(--store-terracotta);
  font-weight: 600;
}
.store-card-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.store-quickview-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-quickview-btn:hover {
  background: var(--store-terracotta);
  color: #fff;
  border-color: var(--store-terracotta);
}
.store-add-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--store-terracotta);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-add-btn:hover {
  background: var(--store-terracotta-hover);
}
.store-add-btn.active {
  background: #ef4444;
}

/* Compartilhamento Minimalista */
.store-share-area {
  margin-top: 10px;
}
.store-share-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.store-share-btn:hover {
  background: var(--store-terracotta-soft);
  border-color: var(--store-terracotta);
  color: var(--store-terracotta);
  transform: translateY(-1px);
}
.store-share-btn.share-copied-active {
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
  color: #16a34a !important;
  font-weight: 700 !important;
}

/* Estado Vazio */
.store-empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
}
.store-empty i {
  font-size: 3rem;
  color: var(--store-terracotta);
  margin-bottom: 12px;
  display: block;
}
.store-empty.hidden {
  display: none !important;
}

/* Próximos Passos */
.store-next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 55px;
}
.store-next-steps div {
  position: relative;
  padding: 24px;
  border: 1px solid var(--store-panel-border);
  border-radius: 16px;
  background: #ffffff;
}
.store-next-steps span {
  position: absolute;
  right: 18px;
  top: 14px;
  font: 900 2.2rem var(--font-heading);
  color: rgba(200, 90, 23, 0.12);
}
.store-next-steps strong {
  display: block;
  color: #0f172a;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.store-next-steps p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   MODAL DE DETALHES DO PRODUTO (QUICK-VIEW)
   ========================================================================== */
.store-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.store-modal-backdrop.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}
.store-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.3s ease-out;
}
@keyframes modalPop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.store-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}
.store-modal-close:hover {
  color: var(--store-terracotta);
}

.store-modal-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}
.store-modal-media-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-modal-main-view {
  position: relative;
  width: 100%;
  height: 360px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.store-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-icon-placeholder {
  font-size: 6rem;
}
.store-modal-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.modal-thumb-btn {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.modal-thumb-btn.active {
  border-color: var(--store-terracotta);
}
.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-modal-info-col h2 {
  font: 900 1.5rem var(--font-heading);
  color: #0f172a;
  margin: 8px 0 14px;
}
.store-modal-price-card {
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
}
.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.modal-price-row del {
  color: #94a3b8;
  font-size: 0.9rem;
}
.modal-price-row strong {
  font: 900 1.6rem var(--font-heading);
  color: var(--store-terracotta);
}
.modal-payment-note {
  font-size: 0.8rem;
  color: #64748b;
  margin: 4px 0 0;
}
.store-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--store-green);
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--store-green);
}
.modal-option-block {
  margin-bottom: 14px;
}
.modal-option-label {
  display: block;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-pill-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #cbd5e1;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.modal-pill-btn.active {
  border-color: var(--store-terracotta);
  background: var(--store-terracotta-soft);
  color: var(--store-terracotta);
  font-weight: 700;
}
.modal-pill-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.15);
}
.modal-desc-block {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.modal-desc-block h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.modal-desc-block p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
.modal-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.modal-interest-btn {
  flex: 1;
  justify-content: center;
}
.store-zap-btn {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s;
}
.store-zap-btn:hover {
  background: #1fa851;
  color: #fff;
  transform: translateY(-2px);
}

/* Wishlist Modal */
.wishlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.wishlist-item img, .wishlist-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
html[data-bs-theme="dark"] .store-page {
  background: #080e1a !important;
  color: #e2e8f0;
}
html[data-bs-theme="dark"] .store-hero {
  background: #0b1325 !important;
  border-color: #263449 !important;
}
html[data-bs-theme="dark"] .store-hero h1,
html[data-bs-theme="dark"] .store-hero-actions .store-outline-btn {
  color: #fff;
}
html[data-bs-theme="dark"] .store-concept-card,
html[data-bs-theme="dark"] .store-metrics,
html[data-bs-theme="dark"] .store-filter-panel,
html[data-bs-theme="dark"] .store-toolbar,
html[data-bs-theme="dark"] .store-product-card,
html[data-bs-theme="dark"] .store-next-steps div,
html[data-bs-theme="dark"] .store-modal-container {
  background-color: #111827 !important;
  border-color: #263449 !important;
  color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] .store-product-media {
  background: #192231 !important;
  border-color: #263449 !important;
}
html[data-bs-theme="dark"] .card-title-clickable,
html[data-bs-theme="dark"] .store-price strong,
html[data-bs-theme="dark"] .store-filter-title h2,
html[data-bs-theme="dark"] .store-filter-group legend,
html[data-bs-theme="dark"] .store-modal-info-col h2,
html[data-bs-theme="dark"] .store-next-steps strong {
  color: #fff !important;
}
html[data-bs-theme="dark"] .store-product-meta span,
html[data-bs-theme="dark"] .store-size-pill,
html[data-bs-theme="dark"] .store-quickview-btn,
html[data-bs-theme="dark"] .modal-pill-btn,
html[data-bs-theme="dark"] .store-modal-price-card {
  background-color: #1a2436 !important;
  border-color: #263449 !important;
  color: #cbd5e1 !important;
}
html[data-bs-theme="dark"] .store-search input,
html[data-bs-theme="dark"] .store-toolbar select {
  background: #0b1325 !important;
  border-color: #263449 !important;
  color: #fff !important;
}
html[data-bs-theme="dark"] .store-launch-banner {
  background: #111827 !important;
  border-color: #263449 !important;
}
html[data-bs-theme="dark"] .launch-banner-content strong {
  color: #fff !important;
}
html[data-bs-theme="dark"] .launch-banner-content p {
  color: #94a3b8 !important;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 992px) {
  .store-hero-grid { grid-template-columns: 1fr; }
  .store-layout { grid-template-columns: 1fr; }
  .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-modal-grid { grid-template-columns: 1fr; }
  .store-modal-main-view { height: 280px; }
  .store-next-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .store-metrics { grid-template-columns: repeat(2, 1fr); }
  .store-metrics div:nth-child(2) { border-right: 0; }
  .store-product-grid { grid-template-columns: 1fr; }
  .store-launch-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  #storeMobileFilterToggle { display: inline-block; }
  .store-filter-panel.filters-collapsed .store-search,
  .store-filter-panel.filters-collapsed .store-filter-group {
    display: none;
  }
  .store-modal-container {
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 22px 18px;
    border-radius: 18px;
    margin: 16px auto;
  }
  .store-modal-main-view {
    height: 260px;
  }
  .store-carousel-btn {
    opacity: 0.95 !important;
    width: 36px;
    height: 36px;
  }
  .store-tag-sea-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .store-tag-sea-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .store-tag-sea-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }
}

@media (max-width: 575.98px) {
  .store-hero {
    padding: 28px 0 20px;
  }
  .store-hero h1 {
    font-size: 1.85rem !important;
  }
  .store-hero p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .store-tag-cloud {
    gap: 8px 6px !important;
  }
  .store-tag-pill {
    padding: 6px 11px !important;
    font-size: 0.78rem !important;
  }
  .modal-actions-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .modal-actions-row .modal-interest-btn,
  .modal-actions-row .store-zap-btn,
  .modal-actions-row .store-share-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   MAR DE TAGS & FILTRAGEM VISUAL DO ATELIÊ
   ========================================================================== */
.store-tag-sea-section {
  margin-top: 14px;
  margin-bottom: 32px;
}

.store-tag-sea-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 245, 0.96) 100%);
  border: 1px solid rgba(190, 110, 50, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(43, 24, 16, 0.05);
  position: relative;
  overflow: hidden;
}

.store-tag-sea-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c85a17, #d97706, #a45a2a, #c85a17);
  background-size: 200% 100%;
}

.store-tag-sea-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(200, 90, 23, 0.18);
}

.store-tag-sea-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-tag-sea-wave-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.store-tag-sea-badge {
  display: inline-block;
  font: 800 0.65rem var(--font-heading);
  letter-spacing: 1px;
  color: var(--store-terracotta);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.store-tag-sea-title {
  margin: 0;
  font: 800 1.35rem var(--font-heading);
  color: #1e1b18;
  letter-spacing: -0.02em;
}

.store-tag-sea-subtitle {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.store-tag-sea-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-tag-active-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--store-terracotta-soft);
  color: var(--store-terracotta);
  border: 1px solid rgba(200, 90, 23, 0.3);
}

.store-tag-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-tag-reset-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Abas de Categorias do Mar de Tags */
.store-tag-groups-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  margin-bottom: 16px;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.store-tag-groups-nav::-webkit-scrollbar {
  display: none;
}

.store-tag-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.store-tag-group-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.store-tag-group-btn.active {
  background: #1e1b18;
  color: #ffffff;
  border-color: #1e1b18;
  box-shadow: 0 4px 12px rgba(30, 27, 24, 0.2);
}

/* Cloud de Tags Fluido (O Mar de Tags) */
.store-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  align-items: center;
}

.store-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #ffffff;
  color: #334155;
  border: 1px solid rgba(203, 213, 225, 0.8);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  user-select: none;
}

.store-tag-pill:hover {
  border-color: var(--store-terracotta);
  color: var(--store-terracotta);
  background: #fffaf5;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(200, 90, 23, 0.12);
}

.store-tag-pill.is-active {
  background: linear-gradient(135deg, #c85a17 0%, #9e460f 100%) !important;
  color: #ffffff !important;
  border-color: #9e460f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 90, 23, 0.35);
}

.store-tag-pill .tag-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.store-tag-pill .tag-hash {
  opacity: 0.55;
  font-weight: 800;
}

.store-tag-pill.is-active .tag-hash {
  opacity: 0.9;
  color: #fde68a;
}

.store-tag-pill .tag-text {
  font-weight: 600;
}

.store-tag-pill .tag-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  margin-left: 2px;
  transition: all 0.2s ease;
}

.store-tag-pill:hover .tag-count-badge {
  background: #fed7aa;
  color: #9a3412;
}

.store-tag-pill.is-active .tag-count-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Mini-tags no Card de Produto */
.store-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 8px 0 10px;
}

.store-card-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
}

.store-card-tag-pill:hover {
  color: var(--store-terracotta);
  border-color: var(--store-terracotta);
  background: #fff7ed;
  transform: translateY(-1px);
}

.store-card-tag-more {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
}

/* Tags no Modal Quick-View */
.modal-tags-block {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.modal-tags-block h4 {
  margin: 0 0 10px;
  font: 700 0.85rem var(--font-heading);
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.modal-tag-pill:hover {
  background: var(--store-terracotta-soft);
  color: var(--store-terracotta);
  border-color: var(--store-terracotta);
  transform: translateY(-1px);
}

/* Modo Escuro para o Mar de Tags */
html[data-bs-theme="dark"] .store-tag-sea-card {
  background: #111827 !important;
  border-color: #263449 !important;
}

html[data-bs-theme="dark"] .store-tag-sea-title {
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .store-tag-sea-subtitle {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .store-tag-group-btn {
  background: #1a2436 !important;
  border-color: #263449 !important;
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .store-tag-group-btn.active {
  background: var(--store-terracotta) !important;
  border-color: var(--store-terracotta) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .store-tag-pill {
  background: #1a2436 !important;
  border-color: #263449 !important;
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .store-tag-pill .tag-count-badge {
  background: #0f172a !important;
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .store-tag-pill:hover {
  background: #243048 !important;
  color: #fdba74 !important;
}

html[data-bs-theme="dark"] .store-tag-pill.is-active {
  background: linear-gradient(135deg, #c85a17 0%, #9e460f 100%) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .store-card-tag-pill,
html[data-bs-theme="dark"] .modal-tags-block,
html[data-bs-theme="dark"] .modal-tag-pill {
  background: #1a2436 !important;
  border-color: #263449 !important;
  color: #cbd5e1 !important;
}

/* ==========================================================================
   ADMIN CARD EDITING (MODO ADMINISTRADOR)
   ========================================================================== */
.store-admin-banner {
  border-radius: 14px;
}
.store-admin-card-edit-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  background: #c85a17;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.45);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-admin-card-edit-btn:hover {
  background: #9e460f;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(200, 90, 23, 0.6);
}
.store-admin-quick-edit-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(200, 90, 23, 0.4);
  background: rgba(200, 90, 23, 0.08);
  color: #c85a17;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-admin-quick-edit-btn:hover {
  background: #c85a17;
  color: #ffffff;
  transform: scale(1.08);
}
html[data-bs-theme="dark"] .store-admin-card-edit-btn {
  background: #d97706;
  border-color: rgba(255, 255, 255, 0.2);
}
html[data-bs-theme="dark"] .store-admin-quick-edit-btn {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.4);
  color: #fbbf24;
}

/* Catálogo: ações claras e navegação por teclado. */
.store-interest-metric { background:transparent; border:0; padding:8px 14px; display:flex; align-items:center; justify-content:center; gap:6px; border-radius:12px; }
.store-interest-metric:hover { background:#fffaf5; }
.store-product-body .card-title-clickable { border:0; padding:0; background:none; color:inherit; font:inherit; text-align:left; }
.store-product-footer { flex-wrap:wrap; gap:12px; }
.store-card-actions .store-quickview-btn { width:auto; min-height:44px; padding:10px 16px; gap:8px; background:#a74713; color:white; font-weight:700; }
.store-stock-status,.store-delivery-note { font-size:.9rem; line-height:1.6; color:#52606b; }
.store-refinements {
  border-top: 1px solid var(--store-panel-border);
}
.store-refinements summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  color: #243047;
  font-size: 0.84rem;
  font-weight: 800;
}
.store-refinements summary::-webkit-details-marker { display:none; }
.store-refinements summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1rem;
  line-height: 1;
}
.store-refinements[open] summary::after { content:"−"; }
.store-refinements summary small {
  margin-left: auto;
  color: #8491a3;
  font-size: 0.68rem;
  font-weight: 600;
}
.store-refinements[open] summary {
  border-bottom: 1px solid var(--store-panel-border);
  background: #fbfcfd;
}
.store-refinements-body > .store-filter-group:first-child { border-top:0; }
.store-filter-panel .store-tag-groups-sidebar {
  flex-wrap: wrap;
  overflow: visible;
}
html[data-bs-theme="dark"] .store-price-readout {
  background:#171f2e;
  border-color:#334155;
}
html[data-bs-theme="dark"] .store-filter-panel .store-tag-sea-title,
html[data-bs-theme="dark"] .store-refinements summary { color:#f8fafc; }
html[data-bs-theme="dark"] .store-refinements[open] summary { background:#0f172a; }
html[data-bs-theme="dark"] .store-refinements summary::after { background:#1e293b;color:#cbd5e1; }
.store-page :focus-visible,.store-modal-backdrop :focus-visible { outline:3px solid #a74713; outline-offset:4px; }
.store-modal-backdrop .modal-actions-row { flex-direction:column-reverse; }
.store-modal-backdrop .modal-zap-btn,.store-modal-backdrop .store-zap-btn { min-height:48px; justify-content:center; }
.store-modal-backdrop .modal-interest-btn { background:white; color:#a74713; border:1px solid #a74713; }
.store-carousel-dot { border:0; padding:0; }
.store-tag-pill,.store-tag-group-btn,.store-chip-btn { min-height:44px; }
@media (max-width:768px) {
  .store-filter-panel.filters-collapsed #storeFilterFields { display:none; }
  .store-toolbar { flex-wrap:wrap; gap:12px; }
  .store-toolbar-actions,.store-toolbar label { width:100%; }
  .store-toolbar select { min-height:44px; flex:1; }
  .store-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion:reduce) {
  .store-page *, .store-modal-backdrop * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
.store-product-body h3 { font:800 1.05rem/1.35 var(--font-heading); }
.store-swatches-row { flex-wrap:wrap; }
.store-swatch-dot { width:32px; height:32px; margin:6px; }
