/**
 * PRATEEK JEWELLERS — HAUTE JOAILLERIE CATALOGUE SHOWCASE STYLES
 * Ultra-Luxury Silver & Dark Gray Aesthetic
 * Interactive Layout Toggle: List View, 2 Column View, 4 Column View
 * Pure Silver & Dark Matte Charcoal Palette Only (Zero Gold/Yellow)
 */

/* ── Dedicated Fullscreen Collections Overlay View ── */
.atelier-catalogue-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200000 !important;
  background-color: #07090d;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(203, 213, 225, 0.06), transparent 70%),
    radial-gradient(circle at 10% 40%, rgba(148, 163, 184, 0.03), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(203, 213, 225, 0.04), transparent 50%);
  padding: 0 0 100px;
  color: #f1f5f9;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.atelier-catalogue-section.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Sticky Luxury Top Navigation Bar ── */
.catalogue-sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(7, 9, 13, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.16);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

.catalogue-back-to-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #0f131a;
  color: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.3);
  border-radius: 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.catalogue-back-to-site-btn:hover {
  background: #1e2432;
  border-color: rgba(226, 232, 240, 0.7);
  transform: translateX(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(226, 232, 240, 0.1);
}

.catalogue-back-to-site-btn svg {
  transition: transform 0.25s ease;
}

.catalogue-back-to-site-btn:hover svg {
  transform: translateX(-3px);
}

.catalogue-brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalogue-brand-crest {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.catalogue-brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.catalogue-brand-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #94a3b8;
  padding: 3px 8px;
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.catalogue-close-cross-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #0f131a;
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 50%;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalogue-close-cross-btn:hover {
  background: #1e2432;
  color: #ffffff;
  border-color: rgba(226, 232, 240, 0.6);
  transform: scale(1.08);
}

/* Bottom return bar */
.catalogue-bottom-return-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(203, 213, 225, 0.12);
}

.catalogue-back-to-site-btn--bottom {
  padding: 12px 28px;
  font-size: 0.9rem;
}

.catalogue-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Section Header ── */
.catalogue-header {
  display: none !important;
  text-align: center;
  margin-bottom: 0;
}

.catalogue-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(226, 232, 240, 0.05);
  border: 1px solid rgba(203, 213, 225, 0.2);
  color: #cbd5e1;
  font-family: 'Cinzel', serif, system-ui;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.catalogue-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: 0 0 8px rgba(203, 213, 225, 0.8);
  animation: silverCataloguePulse 2s infinite ease-in-out;
}

@keyframes silverCataloguePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.catalogue-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.catalogue-title em {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.catalogue-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

/* ── Category Filter Pills Bar (Silver & Dark Gray Only) ── */
.catalogue-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.catalogue-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 40px;
  font-family: 'Cinzel', serif, system-ui;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #94a3b8;
  background: #0f131a;
  border: 1px solid rgba(203, 213, 225, 0.16);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  user-select: none;
}

.catalogue-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(226, 232, 240, 0.38);
  background: #19202b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.catalogue-filter-btn.is-active {
  color: #ffffff;
  background: #222a38;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.catalogue-filter-btn.is-active .filter-count-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.filter-count-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

/* ── Layout View Toggle (From User Source: list view, 2 column view, 4 column view) ── */
.layout-toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.layout-toggle-group {
  display: inline-flex;
  align-items: center;
  background: #0d1017;
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.layout-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.layout-toggle-btn.is-middle {
  border-left: 1px solid rgba(203, 213, 225, 0.16);
  border-right: 1px solid rgba(203, 213, 225, 0.16);
}

.layout-toggle-btn:hover {
  color: #ffffff;
  background: rgba(226, 232, 240, 0.06);
}

.layout-toggle-btn.is-active {
  color: #ffffff;
  background: #1e2432;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.layout-toggle-btn svg {
  color: #717d91;
  transition: color 0.2s ease;
}

.layout-toggle-btn.is-active svg {
  color: #ffffff;
}

@media (max-width: 640px) {
  .layout-toggle-btn span {
    display: none;
  }
  .layout-toggle-btn {
    padding: 8px 12px;
  }
}

/* ── Controls Row (Status count + Search + Sort) ── */
.catalogue-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding: 16px 22px;
  background: #0d1017;
  border: 1px solid rgba(203, 213, 225, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.catalogue-status-text {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalogue-status-text strong {
  color: #ffffff;
  font-weight: 600;
}

.catalogue-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.catalogue-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.catalogue-search-wrap svg {
  position: absolute;
  left: 14px;
  width: 15px;
  height: 15px;
  color: #64748b;
  pointer-events: none;
}

.catalogue-search-input {
  background: #080a0f;
  border: 1px solid rgba(203, 213, 225, 0.16);
  border-radius: 24px;
  padding: 8px 16px 8px 38px;
  color: #ffffff;
  font-size: 0.84rem;
  width: 230px;
  transition: all 0.25s ease;
}

.catalogue-search-input:focus {
  outline: none;
  border-color: rgba(226, 232, 240, 0.5);
  box-shadow: 0 0 14px rgba(226, 232, 240, 0.12);
  width: 270px;
}

.catalogue-search-input::placeholder {
  color: #64748b;
}

.catalogue-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalogue-sort-label {
  font-size: 0.8rem;
  color: #8b92a2;
}

.catalogue-sort-select {
  background: #080a0f;
  border: 1px solid rgba(203, 213, 225, 0.16);
  border-radius: 24px;
  color: #e2e8f0;
  padding: 8px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.catalogue-sort-select:hover,
.catalogue-sort-select:focus {
  border-color: rgba(226, 232, 240, 0.45);
}

/* ═════════════════════════════════════════════════════
   LAYOUT MODES (4col, 2col, list)
   ═════════════════════════════════════════════════════ */

/* Default Compact Luxury Grid */
.catalogue-grid,
.catalogue-grid.layout-4col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  transition: opacity 0.3s ease;
}

@media (max-width: 1400px) {
  .catalogue-grid,
  .catalogue-grid.layout-4col {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .catalogue-grid,
  .catalogue-grid.layout-4col {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .catalogue-grid,
  .catalogue-grid.layout-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 440px) {
  .catalogue-grid,
  .catalogue-grid.layout-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* 2 Column View */
.catalogue-grid.layout-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 640px) {
  .catalogue-grid.layout-2col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.catalogue-grid.layout-2col .jewellery-card-title {
  font-size: 1.25rem;
}

.catalogue-grid.layout-2col .jewellery-price-current {
  font-size: 1.45rem;
}

/* List View (Horizontal Card Banner) */
.catalogue-grid.layout-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalogue-grid.layout-list .masonry-card-wrapper {
  width: 100%;
}

.catalogue-grid.layout-list .jewellery-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 190px;
  padding: 12px;
  gap: 20px;
}

.catalogue-grid.layout-list .jewellery-card-media {
  width: 200px;
  min-width: 200px;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 8px;
}

.catalogue-grid.layout-list .jewellery-card-body {
  flex: 1;
  padding: 6px 12px 6px 0;
}

.catalogue-grid.layout-list .jewellery-card-title {
  font-size: 1.25rem;
  height: auto;
  -webkit-line-clamp: 1;
}

.catalogue-grid.layout-list .jewellery-card-pricing {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .catalogue-grid.layout-list .jewellery-card {
    flex-direction: column;
    min-height: auto;
    padding: 12px;
    gap: 10px;
  }
  .catalogue-grid.layout-list .jewellery-card-media {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .catalogue-grid.layout-list .jewellery-card-body {
    padding: 2px;
  }
}

/* ═════════════════════════════════════════════════════
   MINIMAL ROCK-SOLID CARD SYSTEM (ZERO WOBBLY SCROLL)
   ═════════════════════════════════════════════════════ */
.masonry-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  contain: layout paint;
  transform: none !important;
  animation: none !important;
}

/* ═════════════════════════════════════════════════════
   PRODUCT CARD (COMPACT ULTRA-LUXURY ATELIER AESTHETIC)
   Sleek Framed Layout, Reduced Size, Silky Micro-Interactions
   ═════════════════════════════════════════════════════ */
.jewellery-card {
  position: relative;
  background: linear-gradient(180deg, #131722 0%, #0c0f16 100%);
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: 12px;
  padding: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.28s ease,
              background 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backface-visibility: hidden;
}

.jewellery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 232, 240, 0.38);
  background: linear-gradient(180deg, #181e2c 0%, #0e121b 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(226, 232, 240, 0.08);
}

/* Framed Media Box */
.jewellery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, #1a2230 0%, #0a0d13 85%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.jewellery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.jewellery-card:hover .jewellery-card-img {
  transform: scale(1.05);
}

/* Floating Badges */
.jewellery-card-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  max-width: calc(100% - 46px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2.5px 7px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(10, 14, 20, 0.88);
  color: #f1f5f9;
  border: 1px solid rgba(226, 232, 240, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.jewellery-card-badge--vault {
  background: rgba(22, 28, 40, 0.94);
  color: #ffffff;
  border-color: rgba(226, 232, 240, 0.45);
}

.jewellery-hallmark-tag {
  position: absolute;
  bottom: 7px;
  left: 7px;
  z-index: 3;
  font-size: 0.58rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(10, 14, 20, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(203, 213, 225, 0.18);
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
}

.jewellery-hallmark-tag svg {
  color: #e2e8f0;
  width: 10px;
  height: 10px;
}

/* Quick Actions Overlay (Wishlist, Quickview) */
.jewellery-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 1; /* Always visible like Tanishq / user reference screenshot */
  transform: none;
  pointer-events: auto;
}

.jewellery-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(12, 16, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jewellery-action-btn svg {
  width: 14px;
  height: 14px;
}

.jewellery-action-btn[data-action="wishlist"] {
  color: #cbd5e1;
}

.jewellery-action-btn[data-action="wishlist"]:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border-color: #f43f5e;
  transform: scale(1.12);
}

.jewellery-action-btn[data-action="wishlist"].is-wishlisted {
  background: rgba(225, 29, 72, 0.25);
  color: #f43f5e;
  border-color: #f43f5e;
}

.jewellery-action-btn[data-action="quickview"] {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s ease;
}

.jewellery-card:hover .jewellery-action-btn[data-action="quickview"] {
  opacity: 1;
  transform: scale(1);
}

/* Card Body Info */
.jewellery-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.jewellery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jewellery-card-sku {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: #717d91;
  font-weight: 600;
  text-transform: uppercase;
}

.jewellery-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(226, 232, 240, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.14);
  padding: 1.5px 6px;
  border-radius: 3px;
}

.jewellery-card-rating svg {
  width: 9px;
  height: 9px;
  fill: #cbd5e1;
}

.jewellery-card-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.56em;
  transition: color 0.2s ease;
  cursor: pointer;
}

.jewellery-card:hover .jewellery-card-title {
  color: #cbd5e1;
}

.jewellery-card-specs {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #8b96a8;
  margin-bottom: 0;
}

.jewellery-card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jewellery-spec-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
}

/* Pricing & CTA Block */
.jewellery-card-pricing {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(203, 213, 225, 0.1);
}

.jewellery-price-box {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.jewellery-price-current {
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.jewellery-price-original {
  font-size: 0.72rem;
  color: #64748b;
  text-decoration: line-through;
}

.jewellery-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(226, 232, 240, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.22);
  color: #e2e8f0;
  padding: 4.5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.jewellery-inquiry-btn:hover {
  background: #ffffff;
  color: #07090e;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* WhatsApp Booking Button ("Book This Item") */
.jewellery-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16) 0%, rgba(18, 140, 126, 0.26) 100%);
  border: 1px solid rgba(37, 211, 102, 0.42);
  color: #4ade80;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.jewellery-book-btn:hover {
  background: #25d366;
  color: #041a0f;
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transform: translateY(-1.5px);
}

.jewellery-book-btn:active {
  transform: scale(0.97);
}

.jewellery-book-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.jewellery-book-btn:hover svg {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .jewellery-card-pricing {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .jewellery-price-box {
    justify-content: space-between;
  }
  .jewellery-book-btn {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}

.jewellery-minimal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2b961;
  letter-spacing: 0.02em;
}

.jewellery-inquiry-btn--gold {
  background: rgba(226, 185, 97, 0.12);
  border: 1px solid rgba(226, 185, 97, 0.35);
  color: #f6d892;
  font-weight: 600;
}

.jewellery-inquiry-btn--gold:hover {
  background: #e2b961;
  color: #080a0f;
  border-color: #e2b961;
  box-shadow: 0 0 12px rgba(226, 185, 97, 0.35);
}

.jewellery-inquiry-btn svg {
  width: 11px;
  height: 11px;
}

/* ── Pagination Area ── */
.catalogue-pagination-wrap {
  text-align: center;
  margin-top: 48px;
}

.catalogue-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  border-radius: 40px;
  font-family: 'Cinzel', serif, system-ui;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #141924;
  border: 1px solid rgba(203, 213, 225, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.catalogue-load-more-btn:hover {
  background: #242c3d;
  color: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 16px rgba(203, 213, 225, 0.12);
}

/* ── Quick View Modal (Silver & Dark Gray Only) ── */
.catalogue-modal {
  position: fixed;
  inset: 0;
  z-index: 250000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.catalogue-modal:not(.is-active),
.catalogue-modal:not(.is-active) * {
  visibility: hidden !important;
  pointer-events: none !important;
}

.catalogue-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalogue-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.9);
  backdrop-filter: blur(16px);
}

.catalogue-modal-dialog {
  position: relative;
  z-index: 2;
  background: #0f131a;
  border: 1px solid rgba(203, 213, 225, 0.25);
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(203, 213, 225, 0.1);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  animation: silverModalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes silverModalScale {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .catalogue-modal-dialog {
    grid-template-columns: 1fr;
  }
}

.catalogue-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #181d28;
  border: 1px solid rgba(203, 213, 225, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalogue-modal-close:hover {
  background: #2b3345;
  border-color: #cbd5e1;
  transform: rotate(90deg);
}

.modal-media-pane {
  background: radial-gradient(circle at 50% 50%, #171d28 0%, #0c0f16 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border-right: 1px solid rgba(203, 213, 225, 0.1);
}

.modal-product-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.modal-info-pane {
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
}

.modal-product-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: #19202c;
  border: 1px solid rgba(203, 213, 225, 0.25);
  color: #e2e8f0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
}

.modal-product-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.modal-product-sku {
  font-size: 0.8rem;
  color: #717d91;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.modal-product-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(203, 213, 225, 0.1);
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
  margin-bottom: 20px;
}

.modal-current-price {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-original-price {
  font-size: 1.05rem;
  color: #64748b;
  text-decoration: line-through;
}

.modal-tax-tag {
  font-size: 0.75rem;
  color: #94a3b8;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(203, 213, 225, 0.1);
}

.modal-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-spec-label {
  font-size: 0.72rem;
  color: #717d91;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-spec-val {
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 600;
}

.modal-product-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 26px;
}

.modal-actions-box {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

.modal-whatsapp-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #1e2533;
  border: 1px solid rgba(203, 213, 225, 0.35);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-whatsapp-btn:hover {
  background: #2a3447;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.modal-concierge-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #141924;
  border: 1px solid rgba(203, 213, 225, 0.2);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-concierge-btn:hover {
  background: #1e2533;
  color: #ffffff;
  border-color: #cbd5e1;
}

/* Empty State */
.catalogue-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.catalogue-empty-state svg {
  width: 44px;
  height: 44px;
  color: #64748b;
  margin-bottom: 16px;
}

.catalogue-empty-state h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 8px;
}

.catalogue-empty-state p {
  color: #717d91;
  font-size: 0.9rem;
  margin: 0 0 20px;
}

/* ═════════════════════════════════════════════════════
   MOBILE & MULTI-DEVICE RESPONSIVE OPTIMIZATIONS
   Pixel-perfect tuning for Mobile (360px-480px),
   Tablet (768px-1024px), and Laptop (1366px+)
   ═════════════════════════════════════════════════════ */

/* ── Tablet & Small Screens (<= 1024px) ── */
@media (max-width: 1024px) {
  .catalogue-container {
    padding: 0 14px;
  }

  /* Single horizontal swipe row for category pills */
  .catalogue-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 4px 6px 14px;
    margin-bottom: 20px;
    gap: 8px;
    scroll-snap-type: x mandatory;
  }

  .catalogue-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .catalogue-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 8px 16px;
    font-size: 0.76rem;
    gap: 7px;
  }

  /* Compact controls bar */
  .catalogue-controls-row {
    padding: 14px 16px;
    margin-bottom: 20px;
  }
}

/* ── Mobile Phones (<= 640px) ── */
@media (max-width: 640px) {
  /* Sticky Header: Clean, balanced, never clips */
  .catalogue-sticky-header {
    padding: 10px 12px;
    gap: 8px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #07090D !important;
  }

  .catalogue-back-to-site-btn {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .catalogue-back-to-site-btn span {
    display: none;
  }

  .catalogue-back-to-site-btn::after {
    content: "Back";
    font-size: 0.76rem;
    font-weight: 600;
  }

  .catalogue-brand-mark {
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    justify-content: center;
    flex: 1;
  }

  .catalogue-brand-crest {
    font-size: 0.82rem;
  }

  .catalogue-brand-title {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .catalogue-brand-subtitle {
    display: none; /* Hide 'COLLECTIONS' badge on narrow phones to prevent clipping */
  }

  .catalogue-close-cross-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex-shrink: 0;
  }

  .catalogue-close-cross-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Filter buttons on phone */
  .catalogue-filter-btn {
    padding: 6px 13px;
    font-size: 0.72rem;
    gap: 5px;
  }

  .filter-count-badge {
    padding: 1.5px 5px;
    font-size: 0.62rem;
  }

  /* Controls row on phone */
  .catalogue-controls-row {
    padding: 12px 12px;
    margin-bottom: 16px;
    border-radius: 10px;
    gap: 10px;
  }

  .catalogue-status-text {
    font-size: 0.76rem;
    width: 100%;
    justify-content: space-between;
  }

  .catalogue-actions-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .layout-toggle-group {
    align-self: flex-start;
  }

  .catalogue-search-wrap {
    width: 100%;
  }

  .catalogue-search-input {
    width: 100% !important;
    font-size: 0.78rem;
    padding: 7px 14px 7px 34px;
    height: 36px;
  }

  .catalogue-search-input:focus {
    width: 100% !important;
  }

  .catalogue-sort-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .catalogue-sort-label {
    font-size: 0.74rem;
  }

  .catalogue-sort-select {
    flex: 1;
    max-width: 72%;
    padding: 6px 10px;
    font-size: 0.75rem;
    height: 34px;
  }
}

/* ── Compact Phone Screens (<= 440px / 360px Android) ── */
@media (max-width: 440px) {
  .catalogue-container {
    padding: 0 6px;
  }

  /* 2-column compact cards */
  .catalogue-grid,
  .catalogue-grid.layout-4col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
  }

  .jewellery-card {
    padding: 6px;
    border-radius: 9px;
    gap: 5px;
  }

  .jewellery-card-badge {
    top: 5px;
    left: 5px;
    font-size: 0.5rem;
    padding: 2px 5px;
  }

  .jewellery-hallmark-tag {
    bottom: 5px;
    left: 5px;
    font-size: 0.5rem;
    padding: 1.5px 5px;
  }

  .jewellery-hallmark-tag svg {
    width: 8px;
    height: 8px;
  }

  .jewellery-card-title {
    font-size: 0.72rem;
    line-height: 1.25;
    height: 2.5em;
  }

  .jewellery-card-specs {
    font-size: 0.58rem;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Clean stacked price layout to guarantee zero clipping on 360px */
  .jewellery-card-pricing {
    align-items: center;
    gap: 4px;
    padding-top: 5px;
  }

  .jewellery-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.1;
  }

  .jewellery-price-current {
    font-size: 0.84rem;
  }

  .jewellery-price-original {
    font-size: 0.6rem;
  }

  .jewellery-inquiry-btn {
    padding: 4px 8px;
    font-size: 0.64rem;
    gap: 3px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .jewellery-inquiry-btn svg {
    width: 9px;
    height: 9px;
  }

  /* Quick View Modal on Mobile */
  .catalogue-modal {
    padding: 10px;
  }

  .catalogue-modal-dialog {
    border-radius: 12px;
    max-height: 94vh;
  }

  .modal-media-pane {
    padding: 20px 14px;
  }

  .modal-product-img {
    max-height: 280px;
  }

  .modal-info-pane {
    padding: 16px 14px 20px;
  }

  .modal-product-title {
    font-size: 1.25rem;
  }

  .modal-current-price {
    font-size: 1.45rem;
  }

  .modal-actions-box {
    flex-direction: column;
    gap: 8px;
  }

  .modal-whatsapp-btn,
  .modal-concierge-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}


/* ═════════════════════════════════════════════════════
   DUAL PHOTO VIEW: BOX & SAREE HAND SHOT SYSTEM
   ═════════════════════════════════════════════════════ */
.jewellery-card-media.has-dual-view {
  cursor: pointer;
}

.jewellery-card-img--primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.jewellery-card-img--worn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

/* Hover reveal on desktop */
@media (hover: hover) {
  .jewellery-card:hover .jewellery-card-media.has-dual-view .jewellery-card-img--worn {
    opacity: 1;
    transform: scale(1.05);
  }
  .jewellery-card:hover .jewellery-card-media.has-dual-view .jewellery-card-img--primary {
    opacity: 0;
  }
}

/* Active worn toggle state (for touch devices or manual click) */
.jewellery-card-media.is-worn-active .jewellery-card-img--worn {
  opacity: 1 !important;
}
.jewellery-card-media.is-worn-active .jewellery-card-img--primary {
  opacity: 0 !important;
}

/* Dual View Floating Indicator Pill */
.jewellery-dual-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 185, 97, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.jewellery-dual-pill:hover {
  background: rgba(226, 185, 97, 0.25);
  border-color: rgba(226, 185, 97, 0.8);
  transform: scale(1.04);
}

.jewellery-dual-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E2B961;
  box-shadow: 0 0 8px #E2B961;
  animation: pulse-gold-dot 2s infinite ease-in-out;
}

@keyframes pulse-gold-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.jewellery-dual-pill .pill-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: #F8E7BE;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

/* QUICK VIEW MODAL DUAL THUMBNAILS */
.modal-media-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-view-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.modal-thumb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-thumb-btn img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-thumb-btn:hover {
  background: rgba(226, 185, 97, 0.12);
  border-color: rgba(226, 185, 97, 0.5);
  color: #FFF;
}

.modal-thumb-btn.is-active {
  background: rgba(226, 185, 97, 0.2);
  border-color: #E2B961;
  color: #E2B961;
  box-shadow: 0 0 14px rgba(226, 185, 97, 0.25);
}

/* ── Mobile Scrolling Performance (Zero-Blur GPU Optimization) ── */
@media (max-width: 768px) {
  .catalogue-filter-btn,
  .layout-toggle-btn,
  .jewellery-card-tag,
  .jewellery-card-badge,
  .jewellery-hallmark-tag,
  .jewellery-action-btn,
  .jewellery-purity-pill,
  .jewellery-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

