/* Página y lookbook de catálogo */
.page-catalog { background: #fff; }

.page-catalog .header__nav a[href="catalogo.html"],
.page-collab .header__nav a[href="colaboraciones.html"],
.page-blog .header__nav a[href="blog.html"] {
  color: #fff;
}

.ama-cat-intro {
  padding: calc(var(--ama-header-h) + 2.6rem) 0 1.6rem;
  background: #fff;
  text-align: center;
}

.ama-cat-intro .ama-eyebrow {
  color: #888;
  -webkit-text-fill-color: #888;
}

.ama-cat-intro h1 {
  font-family: var(--ama-serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 5.2vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #111;
  -webkit-text-fill-color: #111;
  max-width: 16ch;
  margin: 0.35rem auto 0.75rem;
}

.ama-cat-intro p {
  max-width: 34rem;
  margin-inline: auto;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #555;
  -webkit-text-fill-color: #555;
}

.ama-page-body {
  padding: 0.5rem 0 5.5rem;
  background: #fff;
}

.ama-page-empty {
  max-width: 28rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.ama-shop {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4.5rem, 10vw, 7rem);
  background: #fff;
}

.ama-shop--page {
  padding: 1.75rem 0 5.5rem;
  background: #fff;
}

.ama-shop > .ama-wrap {
  position: relative;
  width: min(1440px, 94vw);
}

.ama-shop .ama-section-head {
  margin-bottom: 2.75rem;
}

.ama-shop .ama-section-head__title {
  color: var(--ama-ink-dark);
  -webkit-text-fill-color: var(--ama-ink-dark);
}

.ama-shop--teaser .ama-section-head__title {
  font-size: clamp(1.9rem, 4.5vw, 3.35rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-inline: auto;
  text-wrap: balance;
}

.ama-shop .ama-section-head__title .ama-silver-text {
  background: linear-gradient(135deg, #2c2c2c 0%, #6f6f6f 48%, #3f3f3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ama-shop .ama-section-head__sub {
  color: var(--ama-muted-dark);
  max-width: 36rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.ama-shop .ama-eyebrow { color: #888; }
.ama-shop .ama-section-head { margin-bottom: 0; }

.ama-shop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.75rem;
  padding: 1rem 0 1.1rem;
  background: #fff;
}

.ama-shop__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.ama-shop__chip {
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color 0.3s var(--ama-ease), box-shadow 0.3s var(--ama-ease);
}

.ama-shop__chip:hover {
  color: var(--ama-ink-dark);
}

.ama-shop__chip.is-on {
  background: transparent;
  color: #111;
  box-shadow: inset 0 -1px 0 #111;
}

.ama-shop__count {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8a;
  font-weight: 600;
}

.ama-shop__featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

.ama-shop__featured:empty { display: none; }

.ama-shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.6rem 0.75rem;
}

.ama-shop--teaser {
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.ama-shop--teaser > .ama-wrap {
  width: min(1560px, 96vw);
}

/* Banner de 3 joyas destacadas + acceso al catálogo */
.ama-feature {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ama-feature__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  width: min(var(--ama-container), 92vw);
  margin-inline: auto;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.ama-feature__item {
  display: flex;
  flex-direction: column;
}

.ama-feature__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}

.ama-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transform: scale(1.02);
  transition: transform 1.2s var(--ama-ease);
}

.ama-feature__item:hover img {
  transform: scale(1.1);
}

.ama-feature__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.35rem 1rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.25rem, 2.6vw, 2.5rem) clamp(1.3rem, 2.4vw, 1.9rem);
}

.ama-feature__type {
  grid-column: 1 / -1;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.ama-feature__name {
  font-family: var(--ama-serif);
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 0.95;
  color: var(--ama-ink-dark);
}

.ama-feature__price {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  padding-bottom: 0.2rem;
}

.ama-feature__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--ama-container), 92vw);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.ama-feature__heading {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ama-feature__kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.ama-feature__title {
  font-family: var(--ama-serif);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 0.9;
  color: var(--ama-ink-dark);
}

.ama-feature__cta {
  flex-shrink: 0;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  letter-spacing: 0.14em;
}

.ama-feature__cta svg {
  transition: transform 0.4s var(--ama-ease);
}

.ama-feature__bar:hover .ama-feature__cta svg {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .ama-feature__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ama-feature__grid::-webkit-scrollbar { display: none; }

  .ama-feature__item {
    scroll-snap-align: start;
  }

  .ama-feature__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ama-shop--teaser .ama-shop__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.15rem;
}

.ama-shop--teaser .ama-shop-card__media img {
  padding: 7%;
}

.ama-frames {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.ama-frame {
  margin: 0;
  overflow: hidden;
}

.ama-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: 85vh;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
}

.ama-shop-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  color: inherit;
  padding: 0;
}

.ama-shop-card__media {
  position: relative;
  aspect-ratio: 1;
  background: #ffffff;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.ama-shop-card--hero .ama-shop-card__media {
  aspect-ratio: 1 / 1.08;
}

.ama-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14%;
  transition: transform 0.9s var(--ama-ease), filter 0.6s ease;
}

.ama-shop-card:hover .ama-shop-card__media img,
.ama-shop-card:focus-visible .ama-shop-card__media img {
  transform: scale(1.045);
}

.ama-shop-card.is-sold .ama-shop-card__media img {
  filter: grayscale(0.28) brightness(1.04);
}

.ama-shop-card__veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.35rem;
  background: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ama-ease);
}

.ama-shop-card:hover .ama-shop-card__veil,
.ama-shop-card:focus-visible .ama-shop-card__veil {
  opacity: 1;
}

.ama-shop-card__cta {
  color: #111;
  background: var(--ama-silver-grad);
  border: 1px solid #a0a0a0;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.ama-shop-card__ribbon {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  background: #111;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ama-shop-card__sold {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ama-shop-card__meta { padding: 0.85rem 0.15rem 0; }

.ama-shop-card__type {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #8a8a8a;
}

.ama-shop-card__name {
  font-family: var(--ama-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  line-height: 1.45;
  color: #161616;
}

.ama-shop-card--hero .ama-shop-card__name {
  font-size: 0.78rem;
}

.ama-shop-card__price {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #6d6d6d;
}

.ama-shop__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ama-muted-dark);
}

.ama-shop__more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.ama-edit,
.ama-chapter {
  grid-column: 1 / -1;
}

.ama-edit {
  position: relative;
  margin: 0.4rem 0 0.15rem;
  min-height: clamp(240px, 36vw, 480px);
  overflow: hidden;
  background: #111;
}

.ama-edit img {
  width: 100%;
  height: clamp(240px, 36vw, 480px);
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ama-edit__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.55) 100%);
}

.ama-edit__copy {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 8vw, 6rem);
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  max-width: 34rem;
  color: #f7f6f3;
}

.ama-edit__kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
}

.ama-edit__title,
.ama-chapter__title {
  font-family: var(--ama-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.ama-edit__copy p {
  margin-top: 0.7rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(247, 246, 243, 0.86);
}

.ama-chapter {
  padding: clamp(3.2rem, 8vw, 6rem) clamp(1rem, 10vw, 8rem);
  text-align: center;
}

.ama-chapter .ama-edit__kicker {
  color: #8a8a8a;
  opacity: 1;
}

.ama-chapter__title {
  color: #111;
}

.ama-chapter p {
  max-width: 38rem;
  margin: 1rem auto 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #555;
}

/* Lightbox */
.ama-look {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ama-look[hidden] { display: none; }

.ama-look__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(1180px, 96vw);
  align-items: start;
}

.ama-look__figure {
  background: #ffffff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.ama-look__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
}

.ama-look__info {
  min-width: 0;
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
}

.ama-look__type {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 0.65rem;
}

.ama-look__title {
  font-family: var(--ama-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #111;
  margin-bottom: 0.85rem;
}

.ama-look__price {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.ama-look__sold {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1.25rem;
}

.ama-look__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
  margin: 0 0 1.25rem;
  max-height: 38vh;
  overflow: auto;
}

.ama-look__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}

.ama-look__thumb {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
}

.ama-look__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ama-look__thumb.is-on {
  border-color: #111;
}

.ama-look__wa { align-self: flex-start; }

.ama-look__close,
.ama-look__nav {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ama-look__close:hover,
.ama-look__nav:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.ama-look__close { top: 1.1rem; right: 1.1rem; }
.ama-look__nav--prev { left: 0.85rem; top: 50%; transform: translateY(-50%); }
.ama-look__nav--next { right: 0.85rem; top: 50%; transform: translateY(-50%); }
.ama-look__nav--prev:hover,
.ama-look__nav--next:hover { transform: translateY(-50%) scale(1.04); }

body.is-look-open { overflow: hidden; }

@media (max-width: 1100px) {
  .ama-shop__grid { grid-template-columns: repeat(3, 1fr); }
  .ama-shop__featured { grid-template-columns: 1.2fr 1fr; }
  .ama-shop__featured .ama-shop-card:last-child { display: none; }
}

@media (max-width: 760px) {
  .ama-cat-banner { height: clamp(180px, 52vw, 280px); }
  .ama-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.75rem; }
  .ama-shop--teaser .ama-shop__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .ama-frames { grid-template-columns: 1fr; }
  .ama-shop__featured {
    grid-template-columns: 1fr;
    margin-bottom: 1.75rem;
  }
  .ama-shop__featured .ama-shop-card:not(:first-child) { display: none; }
  .ama-shop-card__name { font-size: 0.64rem; letter-spacing: 0.08em; }
  .ama-edit__copy { right: 1.1rem; }
  .ama-shop__toolbar {
    position: static;
    background: none;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    margin: 0 0 1.4rem;
  }
  .ama-look {
    padding: 4.2rem 0.85rem 1.25rem;
    align-items: flex-start;
    overflow: auto;
  }
  .ama-look__stage {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ama-look__nav { display: none; }
}

@media (max-width: 420px) {
  .ama-shop__grid { grid-template-columns: 1fr; }
}
