/* Catálogo SPA — nueva identidad visual (ver Roble.dc.html en Claude Design).
   Independiente de styles.css/panel.css: vive solo en spa.html mientras está
   en preview, para no afectar las páginas públicas ni el panel ya en uso. */

:root {
  --ink: oklch(20% 0.025 155);
  --ink-70: oklch(36% 0.03 155);
  --muted: oklch(50% 0.025 150);
  --paper: oklch(95% 0.014 95);
  --paper-raised: oklch(98% 0.008 95);
  --paper-dim: oklch(91% 0.02 120);
  --primary: oklch(32% 0.07 152);
  --primary-deep: oklch(22% 0.06 152);
  --primary-soft: oklch(87% 0.045 140);
  --gold: oklch(70% 0.1 85);
  --line: oklch(88% 0.02 120);
  --line-strong: oklch(78% 0.03 115);
  --error: oklch(55% 0.16 25);
  --font-display: 'Newsreader', ui-serif, serif;
  --font-body: 'Work Sans', ui-sans-serif, sans-serif;
  --section-pad: 20px;
}

@media (min-width: 900px) {
  :root {
    --section-pad: 40px;
  }
}

body.catalog {
  margin: 0;
  background: var(--paper);
  font-family: var(--font-body);
  color: var(--ink);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.catalog-main {
  flex: 1;
}

/* ---- NAV ---- */
.catalog-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.catalog-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--section-pad);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .catalog-nav-inner {
    height: 84px;
  }
}

.catalog-logo {
  height: 30px;
  width: auto;
  cursor: pointer;
}

@media (min-width: 900px) {
  .catalog-logo {
    height: 42px;
  }
}

.nav-burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  padding: 6px 20px 16px;
  box-shadow: 0 16px 24px rgba(15, 25, 15, .1);
  z-index: 25;
  box-sizing: border-box;
}

.nav-links.is-open {
  display: flex;
}

.nav-link {
  color: var(--ink-70);
  text-decoration: none;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  display: block;
}

.nav-link.is-active:not(.nav-link-contacto) {
  color: var(--ink);
  font-weight: 600;
}

.nav-link-contacto {
  background: var(--primary);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  padding: 14px;
  text-align: center;
  margin-top: 10px;
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 34px;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-link {
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
  }

  .nav-link.is-active {
    border-bottom-color: var(--primary);
  }

  .nav-link-contacto {
    padding: 10px 22px;
    display: inline-block;
    margin-top: 0;
  }
}

/* ---- HERO ---- */
.hero {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
  }
}

.hero-text {
  width: 100%;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .hero-text {
    width: 38%;
    padding: 0 52px;
    align-items: flex-start;
    text-align: left;
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 22px;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 54px;
  }
}

.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  opacity: .88;
  margin: 0 0 30px;
  max-width: 320px;
}

.hero-cta {
  padding: 14px 28px;
  background: var(--primary);
  color: var(--paper);
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.hero-image-wrap {
  width: 100%;
  position: relative;
  height: 260px;
}

@media (min-width: 900px) {
  .hero-image-wrap {
    width: 62%;
    height: 540px;
  }
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- LOADER ---- */
.catalog-loader {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.catalog-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}

/* ---- HOME: CATEGORIES ---- */
.section-categories {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad);
  box-sizing: border-box;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* debajo de 600px (celular angosto) apiladas en columna; de ahí para arriba
   (tablet incluida) las 3 van en fila */
@media (min-width: 600px) {
  .categories-grid {
    flex-direction: row;
  }
}

.category-tile {
  flex: 1;
  cursor: pointer;
  box-sizing: border-box;
}

.category-tile-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
}

.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 12, .78), rgba(12, 18, 12, 0) 60%);
}

.category-tile-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--paper);
}

.category-tile-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
}

.category-tile-cta {
  margin-top: 8px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.category-tile-caption {
  display: none;
}

/* ---- HOME: QUOTE / VALUES / CTA ---- */
.quote-section {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 16px var(--section-pad) 64px;
  box-sizing: border-box;
}

.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.3;
}

@media (min-width: 900px) {
  .quote-text {
    font-size: 38px;
  }
}

.quote-attribution {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 16px;
}

.quote-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-70);
  margin-top: 26px;
}

.values-section {
  background: var(--paper-dim);
  padding: 52px var(--section-pad);
  box-sizing: border-box;
}

.values-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .values-grid {
    flex-direction: row;
  }
}

.value-item {
  flex: 1;
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}

@media (min-width: 900px) {
  .value-item {
    text-align: center;
    padding: 0 24px;
    border-bottom: none;
    border-left: 1px solid var(--line-strong);
  }
}

.value-item:first-child {
  border-left: none;
}

.value-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.value-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.cta-section {
  background: var(--primary);
  padding: 60px var(--section-pad);
  text-align: center;
  box-sizing: border-box;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 14px;
}

@media (min-width: 900px) {
  .cta-title {
    font-size: 34px;
  }
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
  opacity: .85;
  margin: 0 0 26px;
}

.cta-button {
  padding: 15px 32px;
  background: var(--paper);
  color: var(--primary-deep);
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ---- BREADCRUMB / HEADING ---- */
.breadcrumb-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad) var(--section-pad) 8px;
  box-sizing: border-box;
}

.breadcrumb {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.page-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .page-heading {
    font-size: 38px;
  }
}

/* ---- LINEAS LISTING ---- */
.section-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px var(--section-pad) 72px;
  box-sizing: border-box;
}

.lineas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .lineas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.linea-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.linea-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
}

.linea-card-body {
  padding: 20px;
}

.linea-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--ink);
}

.linea-card-meta {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--muted);
  margin: 6px 0 12px;
}

.linea-card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-70);
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: 40px;
}

/* mobile: fila compacta (foto chica + nombre/meta), sin descripción; desktop sin cambios */
@media (max-width: 899px) {
  .lineas-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .linea-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
  }

  .linea-card-photo {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
  }

  .linea-card-body {
    padding: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
  }

  .linea-card-name {
    grid-column: 1;
    grid-row: 1;
  }

  .linea-card-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .linea-card-btn {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .linea-card-desc {
    display: none;
  }
}

.linea-card-btn {
  padding: 9px 18px;
  border: 1px solid var(--primary);
  background: none;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
}

/* ---- MODELO GRID (colegial + línea detail) — unified tile+modal at every breakpoint ---- */
.modelos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .modelos-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .modelos-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.modelo-tile {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.modelo-tile-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
}

.modelo-tile-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.modelo-tile-art {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modelo-tile-btn {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  border: 1px solid var(--primary);
  background: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

/* "Art. " / " más" solo entran en tablet/desktop — en mobile el tile queda
   muy angosto (grilla de 2 columnas) y ese texto de más no entra en una línea */
.only-tablet-desktop {
  display: none;
}

@media (min-width: 900px) {
  .only-tablet-desktop {
    display: inline;
  }
}

/* corte mobile-only real (celular angosto, <600px) — a diferencia de
   .only-tablet-desktop (recién a los 900px) esto ya se ve en tablet */
.only-tablet-plus {
  display: none;
}

@media (min-width: 600px) {
  .only-tablet-plus {
    display: inline;
  }
}

/* ---- LINEA DETAIL ---- */
.linea-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .linea-detail {
    flex-direction: row;
  }
}

.linea-sidebar {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .linea-sidebar {
    width: 300px;
  }
}

.linea-back-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
}

.linea-sidebar-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
  box-sizing: border-box;
}

.linea-sidebar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 20px;
}

.linea-sidebar-meta {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-70);
  margin-top: 6px;
}

.linea-sidebar-specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.linea-sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
}

.linea-sidebar-spec-row span:first-child {
  color: var(--muted);
}

.linea-sidebar-spec-row span:last-child {
  color: var(--ink);
  font-weight: 600;
}

.linea-sidebar-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-70);
  margin-top: 14px;
}

/* mobile: la foto ocupaba el ancho completo (3:4) y quedaba enorme —
   la partimos 50/50 con título+meta al lado; desktop sin cambios */
@media (max-width: 899px) {
  .linea-sidebar-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .linea-sidebar-photo {
    width: 50%;
    flex-shrink: 0;
  }

  .linea-sidebar-info {
    width: 50%;
  }

  .linea-sidebar-title {
    margin-top: 0;
  }
}

.linea-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ---- CONTACTO ---- */
.contacto-section {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--section-pad) var(--section-pad) 96px;
  box-sizing: border-box;
}

.contacto-heading {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  margin: 16px 0 40px;
}

@media (min-width: 900px) {
  .contacto-heading {
    font-size: 38px;
  }
}

.contacto-form {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .contacto-form {
    padding: 36px 40px;
  }
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--paper);
}

.form-control.has-error {
  border-color: var(--error);
}

textarea.form-control {
  resize: vertical;
}

.form-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 5px;
}

.form-submit {
  margin-top: 6px;
  padding: 14px;
  background: var(--primary);
  color: var(--paper);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

/* ---- FOOTER ---- */
.catalog-footer {
  background: var(--ink);
  padding: 56px var(--section-pad) 32px;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: invert(1);
  display: block;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-top: 14px;
}

.footer-contact {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--paper);
  opacity: .8;
  line-height: 2;
}

.footer-photo {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- GALLERY MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 12, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  box-sizing: border-box;
}

.modal-box {
  width: min(440px, 100%);
  max-height: 88vh;
  background: var(--paper-raised);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(8, 12, 8, .4);
}

@media (min-width: 900px) {
  .modal-box {
    width: min(84vw, 1080px);
  }
}

.modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.modal-close {
  border: none;
  background: none;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

/* scrollable middle: foto + miniaturas. header/footer quedan siempre visibles
   (flex-shrink:0) — si el modal se agrandó (ver ancho 84vw en desktop) y el
   contenido no entra en max-height, esto scrollea en vez de recortarse */
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* mobile: mismo comportamiento de antes (aspect-ratio + cover, sin franjas
   vacías). Desktop: alto fijo en vh + contain, porque el modal ahora es mucho
   más ancho (84vw) y aspect-ratio ahí infla la altura hasta recortar footer/miniaturas */
.modal-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--paper-dim);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .modal-photo-wrap {
    aspect-ratio: unset;
    height: min(66vh, 600px);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

/* tablet: entre el recorte chico de celular y el "contain" grande de desktop —
   el modal crece y la foto pasa a contain para que no quede recortada/chica */
@media (min-width: 600px) and (max-width: 899px) {
  .modal-box {
    width: min(80vw, 640px);
  }

  .modal-photo-wrap {
    aspect-ratio: unset;
    height: min(62vh, 520px);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .75);
  font-size: 18px;
  cursor: pointer;
}

.modal-nav-prev {
  left: 12px;
}

.modal-nav-next {
  right: 12px;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.modal-thumb {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.modal-thumb.is-active {
  border-color: var(--gold);
}

.modal-footer {
  flex-shrink: 0;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-footer-colores {
  font-size: 12px;
  color: var(--muted);
  text-transform: capitalize;
}

.modal-footer-btn {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--ink-70);
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
}

/* ---- TOAST ---- */
.catalog-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(15, 25, 15, .25);
  z-index: 200;
  animation: fadeSlide .25s ease;
}