/* ==========================================================================
   MAGUDAM · BRAND / PRODUCT-DETAILS TEMPLATE  (sri-alagiri.html)
   Loads AFTER style.css – re-uses its tokens, buttons, header, footer, CTA.
   Requires : Bootstrap 5.3 · Bootstrap Icons · AOS · Swiper 11

   TABLE OF CONTENTS
   B1. Page banner + breadcrumb
   B2. About extras (figure reset, feature list)
   B3. Category cards (Our Collection)
   B4. Collection head + slider controls (arrows top-right)
   B5. Slider + artwork card
   B6. Featured works strip
   B7. Why choose
   B8. Gallery pop-up
   B9. Responsive
   ========================================================================== */

/* B1. PAGE BANNER --------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + 3.5rem + 42px) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--charcoal-dk);
  color: rgba(255, 255, 255, 0.78);
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.12);
  animation: kenburns 18s ease-out forwards;
}
.page-banner::before {
  /* charcoal wash so the headline always reads */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(34, 24, 17, 0.94) 0%,
    rgba(58, 40, 25, 0.72) 55%,
    rgba(34, 24, 17, 0.45) 100%
  );
}
.page-banner__ring {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(227, 195, 154, 0.25);
  animation: float 10s ease-in-out infinite;
}
.page-banner__ring--1 {
  width: 460px;
  height: 460px;
  right: -120px;
  top: -140px;
}
.page-banner__ring--2 {
  width: 280px;
  height: 280px;
  right: 12%;
  bottom: -150px;
  animation-direction: reverse;
}

.crumbs {
  margin-bottom: 1.6rem;
}
.breadcrumb {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  --bs-breadcrumb-divider: "›";
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb-item a:hover {
  color: var(--gold-light);
}
.breadcrumb-item.active {
  color: var(--gold-light);
}
.breadcrumb-item a i {
  margin-right: 0.25rem;
}

.page-banner__title {
  color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  margin: 0.9rem 0 1rem;
}
.page-banner__title em {
  color: var(--gold-light);
}
.page-banner__text {
  max-width: 560px;
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}
.page-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.page-banner__chips a {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease),
    border-color 0.3s ease;
}
.page-banner__chips a:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--charcoal-dk);
  transform: translateY(-3px);
}

/* banner entrance (starts once the preloader is gone) */
.page-banner .crumbs,
.page-banner__eyebrow,
.page-banner__title,
.page-banner__text,
.page-banner__chips {
  opacity: 0;
  transform: translateY(24px);
}
body.is-loaded .page-banner .crumbs {
  animation: rise 0.8s 0.05s var(--ease) forwards;
}
body.is-loaded .page-banner__eyebrow {
  animation: rise 0.8s 0.15s var(--ease) forwards;
}
body.is-loaded .page-banner__title {
  animation: rise 0.9s 0.25s var(--ease) forwards;
}
body.is-loaded .page-banner__text {
  animation: rise 0.9s 0.4s var(--ease) forwards;
}
body.is-loaded .page-banner__chips {
  animation: rise 0.9s 0.55s var(--ease) forwards;
}

/* B2. ABOUT EXTRAS -------------------------------------------------------- */
.brand-about figure {
  margin: 0;
}
.brand-about .about-visual__main {
  overflow: hidden;
}
.feature-list {
  margin: 1.8rem 0 2.2rem;
  display: grid;
  gap: 1.1rem;
}
.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.3s ease;
}
.feature-list li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(168, 113, 63, 0.35);
}
.feature-list__icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-bronze);
  box-shadow: 0 8px 18px rgba(168, 113, 63, 0.3);
}
.feature-list h3 {
  font-size: 1.02rem;
  margin: 0 0 0.15rem;
}
.feature-list p {
  margin: 0;
  font-size: 0.92rem;
}

/* B3. CATEGORY CARDS ------------------------------------------------------ */
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5.2;
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s var(--ease);
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
}
.cat-card:hover {
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cat-card__img,
.cat-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cat-card__img img {
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}
.cat-card:hover .cat-card__img img {
  transform: scale(1.12);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(34, 24, 17, 0.05) 25%,
    rgba(34, 24, 17, 0.9) 100%
  );
  transition: background 0.5s ease;
}
.cat-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(138, 90, 48, 0.25) 0%,
    rgba(34, 24, 17, 0.94) 100%
  );
}
.cat-card__num {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 1.3rem;
  font: italic 600 1.7rem/1 var(--font-serif);
  color: var(--gold-light);
}
.cat-card__icon {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.15rem;
  transition: transform 0.6s var(--ease), background 0.3s ease;
}
.cat-card:hover .cat-card__icon {
  transform: rotate(360deg) scale(1.08);
  background: var(--bronze);
}
.cat-card__body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateY(2.2rem);
  transition: transform 0.55s var(--ease);
}
.cat-card__body strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cat-card__body small {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.cat-card__go {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  opacity: 0;
  transition: opacity 0.4s ease 0.05s;
}
.cat-card:hover .cat-card__body,
.cat-card:focus-visible .cat-card__body {
  transform: none;
}
.cat-card:hover .cat-card__go,
.cat-card:focus-visible .cat-card__go {
  opacity: 1;
}
.cat-card__go i {
  transition: transform 0.3s var(--ease);
}
.cat-card:hover .cat-card__go i {
  transform: translateX(5px);
}

/* B4. COLLECTION HEAD + SLIDER CONTROLS ----------------------------------- */
.collection {
  overflow: hidden;
}
.collection__lead {
  max-width: 560px;
  margin: 0.9rem 0 0;
}
.collection .section-head--split {
  align-items: flex-end;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.slider-nav__count {
  margin-right: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.slider-nav__count b {
  font-size: 1.4rem;
  color: var(--ink);
}
.slider-nav__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  border: 1.5px solid rgba(168, 113, 63, 0.45);
  background: transparent;
  color: var(--bronze-dk);
  font-size: 1.15rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s var(--ease),
    box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.slider-nav__btn:hover {
  background: var(--grad-bronze);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(168, 113, 63, 0.35);
}
.slider-nav__btn:active {
  transform: scale(0.94);
}
.slider-nav__btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.slider-nav__btn:focus-visible {
  outline: 3px solid rgba(168, 113, 63, 0.4);
  outline-offset: 3px;
}
.collection__foot {
  margin-top: 2.6rem;
  text-align: center;
}

/* B5. SLIDER + ARTWORK CARD ----------------------------------------------- */
.mg-slider {
  position: relative;
}
.mg-slider .swiper {
  overflow: visible;
  padding: 0.6rem 0 1.4rem;
}
.mg-slider .swiper-slide {
  height: auto;
}

/* before Swiper boots (or if the CDN is blocked) it still works as a swipeable strip */
.mg-slider:not(.is-ready) .swiper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mg-slider:not(.is-ready) .swiper::-webkit-scrollbar {
  display: none;
}
.mg-slider:not(.is-ready) .swiper-wrapper {
  gap: 1.4rem;
}
.mg-slider:not(.is-ready) .swiper-slide {
  flex: 0 0 min(78%, 300px);
  scroll-snap-align: start;
}

/* clip the overflowing slides at the container edge → clean full-bleed feel on desktop only */
@media (min-width: 992px) {
  .mg-slider .swiper {
    overflow: hidden;
    margin: -0.6rem -0.6rem 0;
    padding: 1rem 0.6rem 1.6rem;
  }
}

.mg-slider__progress {
  position: relative;
  height: 3px;
  margin-top: 0.4rem;
  border-radius: 3px;
  background: rgba(58, 50, 45, 0.12);
  overflow: hidden;
}
.mg-slider__progress i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--grad-bronze);
  border-radius: 3px;
  transition: width 0.9s var(--ease);
}

.art-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}
.art-card:hover,
.art-card:focus-visible {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(58, 40, 25, 0.2);
  border-color: rgba(168, 113, 63, 0.4);
  outline: none;
}
.art-card:focus-visible {
  outline: 3px solid rgba(168, 113, 63, 0.45);
  outline-offset: 3px;
}

.art-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: var(--cream-300);
}
.art-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease), filter 0.6s ease;
}
.art-card:hover .art-card__media img {
  transform: scale(1.12) rotate(0.6deg);
}
.art-card__media::after {
  /* bronze veil + light sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(138, 90, 48, 0) 40%,
    rgba(34, 24, 17, 0.72) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
.art-card:hover .art-card__media::after {
  opacity: 1;
}
.art-card__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: skewX(-18deg);
}
.art-card:hover .art-card__media::before {
  left: 130%;
  transition: left 0.9s ease;
}

.art-card__tag {
  position: absolute;
  z-index: 3;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}
.art-card__zoom {
  position: absolute;
  z-index: 3;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--grad-bronze);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  transform: scale(0.4) translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.35s ease;
}
.art-card:hover .art-card__zoom,
.art-card:focus-visible .art-card__zoom {
  transform: none;
  opacity: 1;
}

.art-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.art-card__body h3 {
  font-size: 1.12rem;
  margin: 0;
  transition: color 0.3s ease;
}
.art-card:hover .art-card__body h3 {
  color: var(--bronze-dk);
}
.art-card__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-card__more {
  margin-top: auto;
  padding-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bronze);
}
.art-card__more i {
  transition: transform 0.35s var(--ease);
}
.art-card:hover .art-card__more i {
  transform: translateX(6px);
}
.art-card::after {
  /* bronze underline grows on hover */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--grad-bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.art-card:hover::after {
  transform: scaleX(1);
}

/* B6. FEATURED WORKS ------------------------------------------------------ */
.feat {
  background: var(--cream-100);
}
.feat__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
}
.feat__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream-300);
}
.feat__item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 3;
}
.feat__item:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}
.feat__item:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}
.feat__item:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}
.feat__item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}
.feat__item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 1;
}
.feat__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feat__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(34, 24, 17, 0.85));
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
.feat__item:hover img,
.feat__item:focus-visible img {
  transform: scale(1.1);
}
.feat__item:hover::after,
.feat__item:focus-visible::after {
  opacity: 1;
}
.feat__item:focus-visible {
  outline: 3px solid rgba(168, 113, 63, 0.5);
  outline-offset: 3px;
}
.feat__item figcaption {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}
.feat__item figcaption span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.feat__item figcaption b {
  font-size: 1.05rem;
}
.feat__item:hover figcaption {
  transform: none;
}

/* B7. WHY CHOOSE ---------------------------------------------------------- */
.why-card {
  height: 100%;
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), background 0.4s ease,
    border-color 0.4s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 152, 95, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(227, 195, 154, 0.5);
}
.why-card:hover::before {
  opacity: 1;
}
.why-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #fff;
  background: var(--grad-bronze);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s var(--ease);
}
.why-card:hover .why-card__icon {
  transform: rotate(-8deg) scale(1.08);
}
.why-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* B8. GALLERY POP-UP ------------------------------------------------------ */
.viewer {
  position: relative;
  background: var(--charcoal-dk);
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
}
.viewer__close {
  position: absolute;
  z-index: 20;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  opacity: 1;
  backdrop-filter: blur(6px);
}
.viewer__close:hover {
  background-color: var(--bronze);
}
.viewer__stage {
  position: relative;
  background: #1a1411;
}
.viewer__main {
  height: min(56vh, 520px);
}
.viewer__main .swiper-slide {
  display: grid;
  place-items: center;
  padding: 1rem 3.6rem;
}
.viewer__main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.viewer__nav {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bronze-dk);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease);
}
.viewer__nav:hover {
  background: var(--bronze);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.viewer__nav--prev {
  left: 1rem;
}
.viewer__nav--next {
  right: 1rem;
}

.viewer__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.6rem 0.9rem;
}
.viewer__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.viewer__info h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0.15rem 0 0.25rem;
}
.viewer__info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 640px;
}
.viewer__side {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}
.viewer__count {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.viewer__count b {
  color: #fff;
  font-size: 1.2rem;
}

.viewer__thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 1.6rem 1.3rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bronze) transparent;
}
.viewer__thumbs button {
  flex: 0 0 74px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease,
    transform 0.35s var(--ease);
}
.viewer__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer__thumbs button:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}
.viewer__thumbs button.is-active {
  opacity: 1;
  border-color: var(--gold);
}

/* B9. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .page-banner {
    padding-top: calc(var(--header-h) + 2.5rem);
  }
  .collection .section-head--split {
    align-items: flex-end;
  }
  .feat__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
  }
  .feat__item:nth-child(n) {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 767.98px) {
  .page-banner__ring {
    display: none;
  }
  .slider-nav__count {
    display: none;
  }
  .slider-nav__btn {
    width: 46px;
    height: 46px;
  }
  .collection .section-head--split {
    gap: 1.1rem;
  }
  .cat-card {
    aspect-ratio: 4 / 4.4;
  }
  .cat-card__body {
    transform: none;
  }
  .cat-card__go {
    opacity: 1;
  }
  .feat__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 0.7rem;
  }
  .feat__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 2;
  }
  .feat__item figcaption {
    transform: none;
    left: 0.8rem;
    bottom: 0.7rem;
  }
  .feat__item figcaption b {
    font-size: 0.92rem;
  }
  /* gallery becomes a near-full-screen sheet */
  .viewer__main {
    height: 56vh;
  }
  .viewer__main .swiper-slide {
    padding: 0.6rem;
  }
  .viewer__nav {
    width: 42px;
    height: 42px;
  }
  .viewer__nav--prev {
    left: 0.5rem;
  }
  .viewer__nav--next {
    right: 0.5rem;
  }
  .viewer__info {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem 1.1rem 0.6rem;
  }
  .viewer__side {
    justify-content: space-between;
  }
  .viewer__thumbs {
    padding: 0.3rem 1.1rem 1rem;
  }
  .viewer__thumbs button {
    flex-basis: 60px;
    height: 60px;
  }
}
@media (hover: none) {
  .art-card__zoom {
    opacity: 1;
    transform: none;
  }
  .art-card:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-banner__bg img {
    animation: none;
    transform: none;
  }
  .page-banner .crumbs,
  .page-banner__eyebrow,
  .page-banner__title,
  .page-banner__text,
  .page-banner__chips {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .art-card,
  .art-card__media img,
  .cat-card__img img,
  .feat__item img {
    transition: none;
  }
}
