/* nova-home.css — Catálogo Damyller redesign 2026 */

:root {
  --brand: #8B7355;
  --brand-overlay: rgba(139, 115, 85, 0.4);
  --brand-dark: #6B5B45;
  --bg: #FFFFFF;
  --text: #333333;
  --text-secondary: #888888;
  --border: #E0E0E0;
  --border-light: #F0F0F0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --radius: 2px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-size-sm: 11px;
  --font-size-xs: 10px;
  --font-size-md: 12px;
  --pad-x: 8px;
  --gap-h: 8px;
  --gap-v: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

button {
  cursor: pointer;
  font-family: inherit;
}

button:focus {
  outline: none;
}


/* ── 1. BANNER PROMOCIONAL ── */
.promo-banner {
  width: 100%;
  overflow: hidden;
  background: var(--border-light);
}

.sale-banner-hidden {
  display: none !important;
}

.promo-banner a {
  display: block;
  line-height: 0;
}

.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 2. MENU PRINCIPAL ── */
.main-menu {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 19;
  display: flex;
  align-items: center;
}

.menu-scroll-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #907159;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.menu-scroll-arrow:hover {
  opacity: 0.8;
}

.menu-scroll {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
  background: #907159;
  height: 40px;
  cursor: grab;
  user-select: none;
}

.menu-scroll.dragging {
  cursor: grabbing;
}

.menu-scroll::-webkit-scrollbar {
  display: none;
}

.menu-link {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.menu-link:hover {
  color: #fff;

}

.menu-link.active {
  color: #fff;
  opacity: 0.6;
}

/* ── 3. CABEÇALHO ── */
.store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px var(--pad-x);
  background: #E8E2D5;
  position: sticky;
  top: 41px;
  z-index: 18;
}

.store-header-left {
  display: flex;
  align-items: flex-end;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.store-header-name {
  margin-left: 10px;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 0.55rem;
  font-weight: 200;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  color: #907159;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55vw;
}

.header-search-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #907159;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
}

.header-search-btn:focus,
.header-search-btn:focus-visible,
.header-search-btn:active,
.header-search-btn:hover {
  outline: none !important;
  outline-style: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

.header-search-btn::-moz-focus-inner {
  border: 0;
}

.header-search-btn svg {
  width: 24px;
  height: 24px;
}

.header-search-btn .icon-close {
  display: none;
}

.header-search-btn.open .icon-search {
  display: none;
}

.header-search-btn.open .icon-close {
  display: block;
}

/* ── 4. BANNER F/M ── */
.gender-banner {
  display: flex;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.gender-item {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gender-item img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gender-item:hover img {
  transform: scale(1.03);
}

.gender-overlay {
  position: absolute;
  inset: 0;
  background: var(--brand-overlay);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gender-overlay.active {
  opacity: 1;
}

.gender-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
  transition: font-weight var(--transition);
}

.gender-label-text {
  position: relative;
  display: inline-block;
}

.gender-item.active .gender-label {
  font-weight: 700;
}

.gender-item.active .gender-label-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* ── 5. CATEGORIAS ── */
.category-menu {
  padding: var(--gap-v) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cat-scroll-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.cat-scroll-arrow:hover {
  color: var(--text);
}

.cat-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
  cursor: grab;
  user-select: none;
}

.cat-scroll.dragging {
  cursor: grabbing;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-link {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: var(--font-size-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Work Sans';
  color: #907159;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}

.cat-link:hover,
.cat-link.active {
  color: var(--text);
}

.cat-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--text);
}

.cat-link+.cat-link::before {
  content: '|';
  display: inline;
  color: var(--border);
  margin-right: 10px;
}

/* ── 6. TEXTO EXPLICATIVO ── */
.info-text {
  text-align: center;
  padding: 16px var(--pad-x) 12px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ── 7. BARRA DE AÇÕES ── */
.action-bar {
  display: flex;
  align-items: center;
  gap: var(--gap-h);
  padding: 0 var(--pad-x) var(--gap-v);
  flex-wrap: nowrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 18px;
  background: var(--bg);
  border: 1px solid #a7907e;
  border-radius: 3px;
  color: #a7907e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.sort-dropdown {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin-left: 5px;
}

.sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1;
}

.sort-trigger .sort-chevron {
  flex-shrink: 0;
  display: block;
}

.sort-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 4px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sort-options.open {
  display: block;
}

.sort-options li {
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.sort-options li:hover {
  background: var(--border-light);
}

.sort-options li.active {
  font-weight: 500;
  color: var(--brand);
}

.view-modes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: var(--text-secondary);
  font-size: 22px;
  touch-action: manipulation;
  cursor: pointer;
}

.view-mode-btn i,
.view-mode-btn svg,
.view-mode-btn svg * {
  pointer-events: none;
}

.view-mode-btn:hover,
.view-mode-btn.active {
  color: var(--text);
}

.view-mode-btn:hover,
.view-mode-btn.active .cls-2 {
  stroke: var(--text);
}

.catalog-share-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: var(--text-secondary);
  font-size: 22px;
  touch-action: manipulation;
  cursor: pointer;
}

.catalog-share-filter:hover {
  color: var(--text);
}

/* ── 8. TODAS CHECKBOX ── */
.todas-wrap {
  padding: 0 var(--pad-x) var(--gap-v);
}

.todas-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.todas-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition);
}

.todas-check input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.todas-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── 9. GRID DE PRODUTOS ── */
.product-grid {
  display: grid;
  gap: 0;
  padding: 0 var(--pad-x);
  margin-bottom: 80px;
}

.product-grid.view-col3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid.view-col4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid.view-col5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 768px) {
  .product-grid.view-col4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid.view-col5 {
    grid-template-columns: 1fr;
  }

  .product-grid.view-col3 .card-name {
    font-size: 11px;
  }

  .product-grid.view-col3 .card-color-img {
    width: 22px;
  }

  .product-grid.view-col3 .card-info {
    padding: 4px 1px 2px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid.view-col4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid.view-col5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── PRODUCT CARD ── */
.product-card {
  position: relative;
  cursor: pointer;
  padding: 4px;
  min-width: 0;
  animation: fadeIn 0.4s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f0eeed;
  border-radius: var(--radius);
}

.card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

@media (hover: none),
(pointer: coarse) {
  .product-card:hover .card-img-wrap img {
    transform: none;
  }
}

/* ── CARD CHECKBOX ── */
.card-checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-checkbox .checkmark {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-checkbox .checkmark::after {
  content: "";
  width: 8px;
  height: 13px;
  border: 2.5px solid rgba(0, 0, 0, 0.2);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  transition: border-color 0.2s ease;
}

.card-checkbox input[type="checkbox"]:checked+.checkmark {
  background: var(--brand);
  border-color: var(--brand);
}

.card-checkbox input[type="checkbox"]:checked+.checkmark::after {
  border-color: #fff;
}

/* ── CARD INFO ── */
.card-info {
  padding: 6px 2px 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 32px;
}

.card-name {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 5px;
}

.card-colors {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.card-color-img {
  width: 32px;
  /* height: 50px; */
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: inline-block;
  flex-shrink: 0;
}

/* ── ADDED STATE ── */
.product-card.added .card-checkbox .checkmark {
  background: var(--brand);
  border-color: var(--brand);
}

.product-card.added .card-checkbox input[type="checkbox"]:checked+.checkmark::after {
  border-color: #fff;
}

/* ── 10. FAB SACOLA ── */
.cart-fab {
  position: fixed;
  top: 50%;
  right: 1px;
  width: 56px;
  height: 56px;
  border-radius: 20px 0 0 20px;
  border: none;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 115, 85, 0.35);
  z-index: 150;
  transform: translateY(-50%);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cart-fab:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 24px rgba(139, 115, 85, 0.45);
}

.cart-fab svg {
  width: 24px;
  height: 24px;
}

.fab-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ── FILTER SIDEBAR (overlay) ── */
#filterOverlay {
  display: none;
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
}

#filterOverlay.active {
  display: block;
}

.filter-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 340px);
  height: 100dvh;
  background: #FBF9F3;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 16px 24px;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.22s ease, visibility 0s linear 0.28s;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.06);
}

.filter-sidebar.mobile-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E8E2D5;
}

.filter-header h2 {
  font-size: 16px;
  font-weight: 200;
  color: #907159;
  text-transform: uppercase;
  font-family: 'Work Sans';

}

.filter-clear {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.filter-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  margin-left: 8px;
  font-weight: 200;
  color: #907159;
  letter-spacing: 0.02em;
}

.filter-mobile-close i {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 200;
}

.filter-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -4px 0 0;
  padding-right: 8px;
}

@media (max-width: 768px) {
  .filter-scroll {
    flex: none;
    height: 340px;
  }
}

.filter-group {
  border-bottom: 1px solid #979797;
  padding: 14px 0;
}

.filter-group-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  gap: 12px;
  transition: color var(--transition);
}

.filter-group-title:hover {
  color: var(--text);
}

.filter-group-arrow {
  font-size: 12px;
  line-height: 1;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.filter-group-title:hover .filter-group-arrow {
  color: #1a1a1a;
}

.filter-group-arrow.open {
  color: #1a1a1a;
}

.filter-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.filter-body.open {
  max-height: 400px;
  overflow-y: auto;
}

.filter-list {
  list-style: none;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-list li label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}

.filter-list li label:hover {
  color: var(--text);
}

.filter-list li input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--border);
  border-radius: 1px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}

.filter-list li input[type="checkbox"]:checked {
  background: var(--text);
  border-color: var(--text);
}

.filter-list li input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Size chips in filter */
.filter-list-sizes,
.filter-list-gancho {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  padding-top: 8px;
}

.filter-list-sizes li,
.filter-list-gancho li {
  list-style: none;
}

.filter-list-sizes li label,
.filter-list-gancho li label {
  margin: 0;
  display: block;
  width: 100%;
}

.filter-list-sizes li input[type="checkbox"],
.filter-list-gancho li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.filter-list-sizes li .size-chip,
.filter-list-gancho li .gancho-chip {
  width: 100%;
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--border-light);
  color: var(--text);
  font-size: var(--font-size-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 3px 2px;
  transition: all 0.2s ease;
}

.filter-list-sizes li label:hover .size-chip,
.filter-list-gancho li label:hover .gancho-chip {
  border-color: var(--text-secondary);
  background: var(--bg);
}

.filter-list-sizes li input[type="checkbox"]:checked+.size-chip,
.filter-list-gancho li input[type="checkbox"]:checked+.gancho-chip {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Gender tabs in sidebar */
.gender-tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.gender-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  color: #6b6b6b;
  text-align: left;
}

.gender-tab.active {
  /* background: #E8E2D5; */
  color: #555555;
  font-weight: 500;
}

#tab-fem {
  border-right: none;
}

/* Color swatches in filter */
.filter-list #cores {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-list #cores input[type="checkbox"] {
  margin: 0;
  border: 0;
  height: 0;
  width: 0;
  display: flex;
  padding: 0;
}

.color {
  border-radius: 50%;
  display: inline-block;
  margin: 1px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.color.active-color {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--text);
}

/* Filter search box */
.filter-search-wrap {
  position: relative;
  flex-shrink: 0;
  margin-bottom: 8px;
  background: #FBF9F3;
  margin-top: 45px;
}

.filter-sidebar-search-input {
  width: 100%;
  padding: 10px 34px 10px 12px;
  border: 1px solid #AB947F;
  border-radius: var(--radius);
  background: transparent;
  font-size: 13px;
  font-family: 'Work Sans', sans-serif;
  color: #3f3f3f;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 7px;

}

.filter-sidebar-search-input::placeholder {
  color: #828282;
  letter-spacing: 0.04em;
}

.filter-sidebar-search-input:focus {
  border-color: #907159;
}

.filter-search-icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #B5A996;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.filter-search-icon:hover {
  color: #907159;
}

/* Filter bottom actions */
.filter-bottom-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  margin-top: 12px;
  padding-top: 12px;
  /* border-top: 1px solid #E8E2D5; */
  background: #FBF9F3;
}

@media (max-width: 768px) {
  .filter-bottom-actions {
    margin-top: 45px;
    padding-top: 16px;
  }
}

.filter-mobile-clear {
  flex: 1;
  background: none;
  border: none;
  color: #907159;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* Filter search button at bottom of sidebar */
.filter-mobile-search {
  display: block;
  flex: 1;
  margin-top: 0;
  padding: 12px;
  border: 1.5px solid #E8E2D5;
  border-radius: var(--radius);
  background: #E8E2D5;
  color: #907159;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ── PRODUCT INFO LINE ── */
#product-info {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  padding: 0 var(--pad-x) 8px;
}

/* ── NO PRODUCTS MESSAGE ── */
.aviso-sem-produto {
  padding: 40px var(--pad-x);
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ── SEARCH EMPTY STATE ── */
.product-grid .search-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  min-height: 40vh;
  width: 100%;
}

.search-empty-badge {
  display: inline-block;
  background: #F6F5EE;
  color: #000000;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px;
  border-radius: 10px;
  line-height: 1;
  margin-bottom: 24px;
}

.search-empty-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  /* line-height: 1.6; */
  max-width: 460px;
  margin: 0;
}

.search-empty-query {
  font-weight: bolder;
}

.search-empty-subtitle {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: #8A8A8A;
  margin: 10px;
}

@media (max-width: 600px) {
  .product-grid .search-empty-state {
    padding: 60px 20px;
    min-height: 30vh;
  }

  .search-empty-title {
    font-size: 14px;
  }
}

/* ── FOOTER ── */
.nova-footer {
  background: var(--border-light);
  padding: 16px var(--pad-x);
  text-align: center;
  margin-top: 40px;
}

.nova-footer img {
  height: 20px;
  opacity: 0.6;
  margin: 0 auto;
}

/* ── SEARCH BAR FROM MENU ── */
.search-shell {
  background: #e8e2d5;
  /* border-bottom: 1px solid var(--border-light); */
  padding: 0 var(--pad-x);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease, padding 0.28s ease;
}

.search-shell.open {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
  padding: 10px var(--pad-x);
}

.search-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.search-field-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8e2d5;
  border-bottom: 1px solid #989898;
  /* border-radius: 999px; */
  padding: 0 12px;
  min-height: 40px;
}

.search-field-wrap i {
  color: #222222;
  font-size: 14px;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: var(--sans);
  color: #5A5A5A;
}

.search-input::placeholder {
  color: #5A5A5A;
}

.search-input:focus {
  outline: none;
}

.search-clear-btn {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.search-clear-btn.visible {
  display: flex;
  align-items: center;
}

/* ── MENU.PHP OVERRIDES ── */
.promo-bar {
  display: none !important;
}

header.header-old {
  display: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .gender-item img {
    height: 100%;
  }

  .gender-banner {
    height: 120px;
  }

  .gender-label {
    font-size: 16px;
  }

  .brand-logo {
    height: 16px;
  }

  .action-bar {
    gap: 6px;
  }

  .sort-select {
    max-width: 120px;
    font-size: var(--font-size-xs);
    padding: 0 24px 0 8px;
  }

  .cart-fab {
    width: 48px;
    height: 48px;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
  }

  .cart-fab svg {
    width: 24px;
    height: 24px;
  }

  .fab-badge {
    min-width: 18px;
    height: 18px;
    font-size: 9px;
  }
}