.quick-quote {
  margin-top: 12px;
  padding: 10px 0 0;
  border-top: 1px solid #ededeb;
}

.magnifier-lens {
  position: fixed;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 35%);
  pointer-events: none;
  background-repeat: no-repeat;
  background-color: #fff;
  z-index: 60;
}

.minimum-label {
  margin: 13px 0 0;
  color: #8c5149;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.product-card .card-bottom {
  justify-content: center;
  gap: 12px;
}

.quick-quote > span {
  display: block;
  margin-bottom: 8px;
  color: #8c5149;
  font-size: 10px;
  font-weight: 700;
}

.quick-controls {
  display: grid;
  grid-template-columns: 25px minmax(38px, 1fr) 25px minmax(68px, 1.25fr);
  overflow: hidden;
  border: 1px solid #e3d5d0;
  border-radius: 5px;
}

.quick-controls button,
.quick-controls input {
  min-width: 0;
  height: 30px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font:
    700 11px "DM Sans",
    sans-serif;
  text-align: center;
}

.quick-controls button:not(.quick-add) {
  background: #fbf4f1;
  color: var(--green);
  cursor: pointer;
}

.quick-controls input {
  outline: 0;
  border-right: 1px solid #e3d5d0;
  border-left: 1px solid #e3d5d0;
}

.quick-controls .quick-add {
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.product-card .card-bottom {
  padding-top: 9px;
}

.quote-line .line-editor {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.line-editor label {
  display: grid;
  gap: 4px;
  color: #6e625f;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.line-editor select,
.line-editor input {
  width: 100%;
  height: 30px;
  border: 1px solid #e0d8d4;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font:
    600 11px "DM Sans",
    sans-serif;
}

.line-editor select {
  padding: 0 5px;
}

.line-quantity {
  display: flex;
  overflow: hidden;
  border: 1px solid #e0d8d4;
  border-radius: 4px;
}

.line-quantity input {
  border: 0;
  border-radius: 0;
  text-align: center;
}
.line-quantity button {
  width: 26px;
  border: 0;
  background: #fbf4f1;
  color: var(--green);
  cursor: pointer;
}

.duplicate-line {
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--green);
  font:
    700 10px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.line-editor .minimum-label {
  grid-column: 1 / -1;
  margin: 0;
  text-align: left;
}

@media (max-width: 760px) {
  .quick-controls {
    grid-template-columns: 25px minmax(34px, 1fr) 25px minmax(64px, 1.3fr);
  }
  .quick-controls .quick-add {
    font-size: 10px;
  }
  .quote-line .line-editor {
    grid-template-columns: 1fr 1fr;
  }
  .duplicate-line {
    grid-column: 2;
    justify-self: end;
  }
}
.modal-thumbnails {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}

.modal-thumbnails:empty {
  display: none;
}

.modal-thumbnail {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.modal-thumbnail.is-selected {
  border-color: var(--green);
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-note {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  white-space: pre-line !important;
}

.collapsible-filter-options {
  display: grid;
  gap: 7px;
}

.collapsible-filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 23px;
  color: #47544f;
  font-size: 12px;
  cursor: pointer;
}

.collapsible-filter-options [data-extra-filter-option] {
  display: none;
}

.collapsible-filter-options.is-expanded [data-extra-filter-option] {
  display: flex;
}

.show-more-colors {
  width: 100%;
  min-height: 32px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  font:
    700 11px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.show-more-colors:hover,
.show-more-colors:focus-visible {
  border-color: var(--green);
  background: #f4faf7;
  outline: 0;
}

/* "Mais filtros": painel discreto, escondido até o cliente clicar para abrir. */
.more-filters-panel {
  display: none;
  margin-top: 13px;
}

.more-filters-panel.is-expanded {
  display: block;
}

.more-filters-panel h3 {
  font: 700 13px Outfit;
  margin: 0 0 13px;
}

.more-filters-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #47544f;
  font-size: 12px;
  margin: 10px 0;
  cursor: pointer;
}

/* Paginação: primeira, anterior, números, próxima, última e itens por página. */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pagination-size {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #67736d;
  font-size: 12px;
  white-space: nowrap;
}

.pagination-size select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 6px 8px;
  color: var(--ink);
  font: 700 12px "DM Sans";
  cursor: pointer;
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination-button {
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #354640;
  font: 700 12px "DM Sans";
  cursor: pointer;
}

.pagination-button:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
}

.pagination-button.is-current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pagination-button:disabled {
  color: #b7bdb8;
  cursor: default;
}

@media (max-width: 760px) {
  .pagination {
    justify-content: center;
  }
  .pagination-size {
    width: 100%;
    justify-content: center;
  }
  .pagination-nav {
    width: 100%;
    justify-content: center;
  }
  .pagination-button {
    min-width: 40px;
    min-height: 40px;
  }
}

/* Variáveis além da cor (formato, tamanho...) */
.option-groups {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.option-group strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.option-button {
  padding: 6px 12px;
  border: 1px solid #d6d1cf;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.option-button.selected {
  border-color: var(--brand, #b4231c);
  background: rgb(180 35 28 / 8%);
  font-weight: 700;
}
.option-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@keyframes new-line-highlight-drawer {
  from {
    background: #fdeceb;
  }
  to {
    background: transparent;
  }
}
.quote-line.is-new {
  animation: new-line-highlight-drawer 2.6s ease-out;
}
