/* =========================================================
   RAGHUNANDAN JEWELLERS — MODERN SANS-SERIF MINIMALIST DESIGN
   Theme: Minimal Black, White & Slate Gray (Pure Sans-Serif)
   No emojis, no AI glow, crisp luxury architecture
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Minimal Monochrome Palette */
  --bg-page: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-card: #ffffff;
  --bg-dark: #0f1012;

  --color-black: #0f1012;
  --color-charcoal: #212529;
  --color-gray-dark: #495057;
  --color-gray: #6c757d;
  --color-gray-medium: #adb5bd;
  --color-gray-light: #e2e8f0;
  --color-white: #ffffff;

  --border-light: #e5e7eb;
  --border-medium: #cbd5e1;
  --border-dark: #0f1012;

  /* 100% SANS-SERIF TYPOGRAPHY */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);

  --transition: all 0.22s ease;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbars globally across all browsers */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ================= Header (Luxury Showroom Black Navbar) ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  padding: 12px 36px;
  transition: all 0.25s ease;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-main);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subline {
  font-family: var(--font-main);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #d4af37;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-portal:hover {
  background: var(--color-black);
  color: #ffffff;
}

/* ================= Hero Section (Flagship Showroom Visual Showcase) ================= */
.hero-section {
  position: relative;
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.hero-showroom-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 1600px) {
  .hero-showroom-img {
    max-height: 840px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .hero-showroom-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

/* ================= Category Section ================= */
.section {
  padding: 65px 24px;
  max-width: 1380px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-family: var(--font-main);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gray);
  margin-bottom: 6px;
  display: block;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--color-black);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 0.92rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ================= Department Showcase Sections & Category Cards ================= */
.department-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.dept-showcase-section {
  position: relative;
  scroll-margin-top: 100px;
}

.dept-header-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: none;
  box-shadow: none;
  padding: 18px 20px 24px;
  margin-bottom: 24px;
}

.dept-main-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.2;
  text-align: center;
}

.dept-description-text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}

.dept-browse-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 20px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.dept-browse-all-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.dept-arrow {
  transition: transform 0.25s ease;
}

.dept-browse-all-btn:hover .dept-arrow {
  transform: translateX(4px);
}

/* Department Filter Controls when single department is active */
.dept-filter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
  border: 1px dashed var(--border-light);
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 24px;
}

.btn-all-depts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-all-depts:hover {
  background: #334155;
  transform: translateX(-2px);
}

.dept-filter-notice {
  font-size: 0.88rem;
  color: #475569;
}

.dept-filter-notice strong {
  color: #000000;
}

/* Category Cards Grid & Styling (Dedicated 1:1 Image Frame) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #0f1012;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.category-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfbfc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-image {
  transform: scale(1.06);
}

.category-info {
  padding: 16px 18px 18px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.category-name {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-black);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.category-card:hover .category-name {
  color: #000000;
}

@media (max-width: 768px) {
  .dept-header-card {
    text-align: center;
    align-items: center;
    padding: 14px 16px 20px;
    gap: 8px;
  }
}

/* ================= Multi-Level Main Category Switcher (Diamond, Gold, Bridal) ================= */
.main-category-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 16px;
}

.sticky-dept-nav {
  position: sticky;
  top: 70px;
  z-index: 85;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.category-main-tabs-row {
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 24px 6px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-category-tabs {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
  border: 1px solid var(--border-light);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-category-tabs::-webkit-scrollbar {
  display: none;
}

.main-tab-btn {
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 7px 18px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-charcoal);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.main-tab-btn:hover {
  color: var(--color-black);
}

.main-tab-btn.active {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.category-main-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #d4af37;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  width: fit-content;
}

/* ================= Stylish Luxury Category Hero ================= */
.category-hero {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 65%, #f4f6f8 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 24px 34px;
  position: relative;
  text-align: center;
}

.category-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--color-gray);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.breadcrumb-item {
  color: var(--color-gray);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-item:hover {
  color: var(--color-black);
}

.breadcrumb-sep {
  color: #adb5bd;
  font-size: 0.85rem;
  font-weight: 400;
  user-select: none;
}

.category-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gray-dark);
  margin-bottom: 8px;
}

.sparkle-icon {
  font-size: 0.65rem;
  color: var(--color-charcoal);
}

.category-page-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 0 0 16px;
}

.category-gold-divider {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #212529, transparent);
  margin: 0 auto;
}

/* ================= Accessible Utilities ================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= Category Navigation Switcher Pills ================= */
.category-nav-pills-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 61px;
  z-index: 95;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(15, 16, 18, 0.03);
}

.category-nav-pills-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.category-nav-pills {
  width: 100%;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* FIX: Always flex-start, so left side NEVER cuts off! */
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.category-nav-pills::after {
  content: '';
  display: block;
  min-width: 20px;
  height: 1px;
  flex-shrink: 0;
}

.category-nav-pills::-webkit-scrollbar {
  display: none;
}

/* Scroll buttons on overflow */
.pills-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pills-scroll-btn:hover {
  background: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
  transform: translateY(-50%) scale(1.08);
}

.pills-scroll-left {
  left: 6px;
}

.pills-scroll-right {
  right: 6px;
}

.pill-btn {
  font-family: var(--font-main);
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  color: var(--color-charcoal);
  padding: 4px 15px 4px 4px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Category Circle Image Container */
.pill-thumb {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1.5px solid #212529;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-thumb-all {
  background: #f1f5f9;
  color: var(--color-charcoal);
}

.pill-name {
  display: inline-block;
  line-height: 1;
  transition: color 0.2s ease;
}

.pill-btn:hover {
  border-color: var(--color-black);
  color: var(--color-black);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 16, 18, 0.08);
}

.pill-btn:hover .pill-thumb {
  border-color: #0f1012;
  box-shadow: 0 0 0 2px rgba(15, 16, 18, 0.25);
}

.pill-btn:hover .pill-thumb img {
  transform: scale(1.12);
}

.pill-btn.active {
  background: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
  box-shadow: 0 6px 18px rgba(15, 16, 18, 0.22);
}

.pill-btn.active .pill-name {
  color: #ffffff;
}

.pill-btn.active .pill-thumb {
  border-color: #212529;
  box-shadow: 0 0 0 2px #6c757d, 0 2px 8px rgba(0, 0, 0, 0.45);
}

.pill-btn.active .pill-thumb-all {
  background: #23252a;
  color: #ffffff;
}

@media (max-width: 640px) {
  .category-nav-pills {
    padding: 8px 16px;
    gap: 8px;
  }

  .pill-btn {
    padding: 3px 12px 3px 3px;
    font-size: 0.72rem;
    gap: 7px;
  }

  .pill-thumb {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }
}

/* ================= Catalog Section & Controls ================= */
.catalog-section {
  background: var(--bg-subtle);
  padding: 36px 32px 70px;
  min-height: 60vh;
}

.catalog-controls {
  max-width: 1380px;
  margin: 0 auto 30px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--color-gray);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: #f8f9fa;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 11px 16px 11px 40px;
  color: var(--color-black);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--color-black);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 16, 18, 0.08);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sort-select {
  font-family: var(--font-main);
  background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  color: var(--color-black);
  padding: 10px 38px 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition);
}

.sort-select:focus {
  border-color: var(--color-black);
  background-color: #ffffff;
}

.results-count {
  font-size: 0.82rem;
  color: var(--color-gray);
  white-space: nowrap;
  background: #f8f9fa;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

.results-count strong {
  color: var(--color-black);
  font-weight: 800;
}

/* ================= Products Grid Architecture ================= */
.products-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Luxury Product Card */
.product-card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  /* border-color removed */
  box-shadow: 0 16px 36px rgba(15, 16, 18, 0.1);
  transform: translateY(-4px);
}

/* Product Card Image Wrapper - Pure 1:1 Aspect Ratio */
.card-image-wrap,
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfbfc;
  overflow: hidden;
  cursor: pointer;
  border-bottom: none;
}

/* Card View Overlay on Hover */
.card-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 18, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 3;
}

.product-card:hover .card-view-overlay {
  opacity: 1;
}

.btn-card-view {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(6px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .btn-card-view {
  transform: translateY(0);
}

.view-arrow {
  transition: transform 0.2s ease;
}

.product-card:hover .view-arrow {
  transform: translateX(3px);
}

.img-frame {
  position: relative;
}

.img-frame .img-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, #f3f4f6 20%, #eceff3 42%, #f3f4f6 64%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.img-frame img {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.img-frame.is-loaded .img-loader {
  opacity: 0;
}

.img-frame.is-loaded img {
  opacity: 1;
}

.pill-thumb.img-frame .img-loader,
.gallery-thumb.img-frame .img-loader {
  border-radius: inherit;
}

@keyframes img-spin {
  to { transform: rotate(360deg); }
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.skeleton-shimmer,
.category-card.skeleton-card,
.skeleton-line {
  background: linear-gradient(100deg, #f3f4f6 20%, #eceff3 42%, #f3f4f6 64%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.category-card.skeleton-card {
  min-height: 280px;
  pointer-events: none;
}

.skeleton-card {
  pointer-events: none;
  box-shadow: none;
}

.skeleton-card:hover {
  transform: none;
  box-shadow: none;
}

.skeleton-line {
  display: block;
  height: 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.skeleton-line-short { width: 38%; height: 10px; }
.skeleton-line-mid { width: 62%; }
.skeleton-line-title { width: 86%; height: 18px; margin: 14px 0; }

.products-grid.is-ready {
  animation: content-in 0.4s ease;
}

.modal-grid.is-ready {
  animation: content-in 0.35s ease;
}

.modal-skeleton-photo {
  width: min(100%, 420px);
  height: min(68vh, 560px);
  border-radius: 16px;
  justify-self: center;
}

.modal-skeleton-copy {
  padding: 12px 8px;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer,
  .category-card.skeleton-card,
  .skeleton-line,
  .img-frame .img-loader,
  .products-grid.is-ready,
  .modal-grid.is-ready {
    animation: none;
  }

  .img-frame img,
  .img-frame .img-loader {
    transition: none;
  }
}

.card-img,
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Badges Overlay */
.card-badges-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 2;
  gap: 8px;
}

.card-sku-badge,
.product-badge-sku {
  background: rgba(15, 16, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-hallmark-badge,
.product-hallmark-tag {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--color-black);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Card Body Content */
.card-content,
.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-sku-code {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.card-weight-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  margin-top: auto;
  padding-top: 6px;
}

.card-weight-dot {
  color: #cbd5e1;
}

.card-weight-label {
  color: var(--color-gray);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card-weight-value {
  color: var(--color-black);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.card-category-label,
.product-category-tag {
  font-family: var(--font-main);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  font-weight: 700;
}

.card-metal-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-charcoal);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.card-title,
.product-title {
  font-family: var(--font-main);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--color-black);
  margin-bottom: 6px;
  min-height: 2.76em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.15s ease;
}

.card-title:hover,
.product-title:hover {
  color: #2563eb;
}

.card-metal-purity,
.product-purity-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-gray-dark);
  font-weight: 600;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.purity-sep {
  color: var(--color-gray-medium);
}

.purity-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-black);
  background: #f8f9fa;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.stone-badge {
  font-size: 0.72rem;
  color: var(--color-gray-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

/* Structured Dimension & Weight Specs Box */
.card-specs-box,
.product-dimensions-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
}

.spec-highlight {
  padding-bottom: 7px;
  margin-bottom: 3px;
  border-bottom: 1px dashed #cbd5e1;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
}

.spec-value {
  font-size: 0.78rem;
  color: var(--color-black);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.weight-bold {
  font-weight: 800;
  color: var(--color-black);
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-medium);
}

/* Card Price & Action Buttons Footer */
.card-footer,
.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-price-group,
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--color-gray);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.card-price,
.product-price {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

.card-actions-btn-group,
.product-action-btns {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.btn-card-specs,
.btn-specs {
  font-family: var(--font-main);
  background: #ffffff;
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
  padding: 9px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-card-specs:hover,
.btn-specs:hover {
  background: var(--color-black);
  color: #ffffff;
}

.btn-card-whatsapp,
.btn-wa-card {
  font-family: var(--font-main);
  background: var(--color-black);
  border: 1.5px solid var(--color-black);
  color: #ffffff;
  padding: 9px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-card-whatsapp:hover,
.btn-wa-card:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Empty Catalog State */
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #ffffff;
  border: 1px dashed var(--border-medium);
  border-radius: 12px;
}

.catalog-empty h3 {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 8px;
}

/* ================= Features / Trust Section ================= */
.features-section {
  padding: 65px 24px;
  max-width: 1380px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 26px 20px;
  text-align: left;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--color-black);
  box-shadow: var(--shadow-sm);
}

.feature-number {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-gray-medium);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.feature-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-black);
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--color-gray);
  line-height: 1.5;
}

/* ================= Modal Overlay & Luxury Container ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 1180px;
  width: 96vw;
  max-height: 92vh;
  overflow: hidden; /* Fits screen cleanly without scrollbar */
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.96) translateY(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 16, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close-btn:hover {
  background: var(--color-black);
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.45fr) minmax(280px, 1fr);
  padding: 20px 28px;
  gap: 32px;
  align-items: center;
  width: 100%;
}

@media (max-width: 960px) and (min-width: 769px) {
  .modal-grid {
    grid-template-columns: minmax(300px, 1.2fr) minmax(240px, 1fr);
    gap: 20px;
    padding: 18px 22px;
  }
}

@media (max-width: 768px) {
  .modal-container {
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 14px;
    display: block;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 18px;
  }

  .modal-image-wrap,
  .modal-image-col,
  .modal-image-frame,
  .modal-gallery .modal-image-col {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 68vh !important;
  }

  .modal-image,
  .modal-image-frame img {
    max-height: 68vh;
  }

  .modal-info,
  .modal-content-col {
    padding-top: 4px !important;
    padding-right: 0 !important;
  }
}

/* Lightbox Big Product Image View */
.modal-lightbox-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfbfc;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.modal-lightbox-footer {
  padding: 16px 22px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.modal-lightbox-title {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  letter-spacing: -0.01em;
}

.modal-lightbox-sku {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gray-dark);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.modal-image-wrap,
.modal-image-col,
.modal-image-frame {
  width: auto;
  max-width: min(72vh, 640px);
  height: min(78vh, 720px);
  max-height: min(78vh, 720px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: #fbfbfc;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image,
.modal-image-frame img,
.modal-lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.modal-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 16, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.modal-image-col:hover .modal-zoom-hint {
  opacity: 0;
  transform: translateY(4px);
}

.modal-gallery {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.modal-gallery .modal-image-col {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: min(72vh, 640px);
  height: min(78vh, 720px);
  margin: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f1012;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-count,
.card-image-count {
  position: absolute;
  z-index: 5;
  background: rgba(15, 16, 18, 0.78);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
}

.gallery-count {
  top: 10px;
  left: 10px;
}

.card-image-count {
  left: 10px;
  bottom: 10px;
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 76px;
  flex: 0 0 76px;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: #0f1012;
  box-shadow: 0 0 0 2px #0f1012;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

@media (max-width: 768px) {
  .product-page {
    margin: 8px auto 32px;
    padding: 0 0 8px;
  }

  .product-back {
    margin-left: 14px;
  }

  .product-page .modal-grid,
  .product-page .product-detail {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 16px;
  }

  .product-page .modal-info {
    position: static;
    width: 100%;
    padding: 8px 10px 28px;
  }

  .product-page .modal-gallery .modal-image-col {
    min-height: 0;
    height: auto !important;
    max-height: none !important;
  }

  .modal-gallery {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-gallery .modal-image-col {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    cursor: zoom-in;
  }

  .modal-image,
  .modal-image-frame img {
    width: 100%;
    max-height: 86vh;
  }

  .product-page .modal-image-col::after {
    content: 'Tap for full screen';
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: rgba(15, 16, 18, 0.78);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 4;
  }

  .product-gallery-thumbs {
    order: 2;
    flex-direction: row;
    width: 100%;
    flex: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 12px 4px;
  }

  .gallery-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }
}

.product-page {
  max-width: 1440px;
  margin: 8px auto 32px;
  padding: 0 0 8px;
}

.product-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #0f1012;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.product-back:hover {
  text-decoration: underline;
}

.product-page .modal-grid,
.product-detail {
  width: 100%;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
}

.product-page .modal-gallery .modal-image-col {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  min-height: 0;
  cursor: zoom-in;
}

.product-page .modal-image {
  width: 100%;
  max-height: 86vh;
  cursor: zoom-in;
}

.product-page .product-gallery-thumbs {
  max-height: calc(100vh - 132px);
}

.product-page .modal-image-col::after {
  content: 'Click for full screen';
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(15, 16, 18, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 4;
}

.product-page .modal-info {
  width: 100%;
  padding: 8px 10px 28px;
}

.product-page .modal-title {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  margin-bottom: 16px;
}

.product-page .product-description {
  margin: 0 0 16px;
}

.product-page .product-description-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.product-page .modal-desc {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.product-page .modal-specs-section {
  padding: 14px 16px 8px;
}

.product-page .modal-spec-row {
  align-items: flex-start;
  gap: 12px;
}

.product-page .modal-spec-k {
  flex: 1 1 46%;
  min-width: 0;
}

.product-page .modal-spec-v {
  flex: 1 1 46%;
  min-width: 0;
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (min-width: 961px) {
  .product-page {
    margin: 16px auto 48px;
    padding: 0 20px 8px;
  }

  .product-page .modal-grid,
  .product-page .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    gap: 28px;
  }

  .product-page .modal-gallery .modal-image-col {
    height: calc(100vh - 132px);
    max-height: calc(100vh - 132px);
    min-height: 520px;
  }

  .product-page .modal-image {
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .product-page .modal-info {
    position: sticky;
    top: 88px;
    padding: 4px 0 0;
  }
}

@media (max-width: 768px) {
  .product-page .modal-image-col::after {
    content: 'Tap for full screen';
  }
}

@media (max-width: 960px) and (min-width: 769px) {
  .product-page .modal-grid,
  .product-page .product-detail {
    grid-template-columns: 1fr;
  }

  .product-page .modal-gallery {
    flex-direction: column;
  }

  .product-page .product-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    flex: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .product-page .modal-gallery .modal-image-col {
    width: 100%;
    max-width: none;
    height: min(82vh, 860px);
    max-height: min(82vh, 860px);
  }

  .product-page .modal-info {
    position: static;
  }
}

.phone-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #0b0b0c;
  display: none;
  align-items: center;
  justify-content: center;
}

.phone-lightbox.is-open {
  display: flex;
}

.phone-lightbox img {
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
}

.phone-lightbox-close,
.phone-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f1012;
  cursor: pointer;
}

.phone-lightbox-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  font-weight: 700;
}

.phone-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
}

.phone-lightbox-prev { left: 10px; }
.phone-lightbox-next { right: 10px; }

.phone-lightbox-count {
  position: absolute;
  top: 18px;
  left: 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-missing {
  padding: 48px 12px;
  color: #334155;
  font-size: 1rem;
}

.modal-info,
.modal-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px 12px 6px;
  gap: 0;
}

.modal-header-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-sku-badge,
.card-sku {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--color-black);
  padding: 4px 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
}

.modal-cat-tag {
  font-family: var(--font-main);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
}

.modal-title {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.32;
  color: var(--color-black);
  letter-spacing: -0.015em;
}

.modal-price-wrap,
.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.modal-price {
  font-family: var(--font-main);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-black);
}

.modal-tax-note {
  font-size: 0.74rem;
  color: var(--color-gray);
  font-weight: 600;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
  margin-bottom: 22px;
}

.modal-specs-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.modal-specs-heading {
  font-family: var(--font-main);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
  color: #64748b;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-specs-table,
.modal-spec-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
}

.modal-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.88rem;
}

.modal-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-spec-row.highlight-spec {
  background: transparent;
}

.modal-spec-k {
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-spec-k::before {
  content: "✦";
  color: #c59b27;
  font-size: 0.72rem;
}

.modal-spec-v {
  color: var(--color-black);
  font-weight: 800;
  text-align: right;
}

.weight-badge {
  background: #0f1012;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.modal-cta-row,
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.btn-modal-whatsapp,
.btn-whatsapp-inquire {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-black);
  color: #ffffff;
  font-weight: 800;
  padding: 14px 22px;
  border: 1.5px solid var(--color-black);
  border-radius: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
}

.btn-modal-whatsapp:hover,
.btn-whatsapp-inquire:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ================= Showroom Digital Catalog Footer (Black Luxury) ================= */
.site-footer {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 36px;
  position: relative;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
}

.showroom-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.showroom-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.showroom-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showroom-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.4));
}

.showroom-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.showroom-brand-name {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
}

.showroom-assurance {
  font-family: var(--font-main);
  font-size: 0.74rem;
  color: #cbd5e1;
  letter-spacing: 0.04em;
}

.showroom-footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.showroom-copyright {
  font-family: var(--font-main);
  font-size: 0.76rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* ================= Comprehensive Responsive System ================= */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 14px 28px;
  }

  .category-hero {
    padding: 34px 20px 26px;
  }

  .category-nav-pills {
    padding: 10px 20px;
  }

  .catalog-section {
    padding: 28px 20px 60px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }

  .nav-container {
    gap: 14px;
  }

  .brand-name {
    font-size: clamp(0.96rem, 3.8vw, 1.18rem);
    letter-spacing: 0.08em;
  }

  .nav-links {
    display: flex;
    gap: 4px;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  /* Sticky Pills Bar matches compact Navbar */
  .category-nav-pills-bar {
    top: 52px;
  }

  .category-nav-pills {
    padding: 9px 14px;
    gap: 8px;
  }

  .pills-scroll-btn {
    display: none !important;
  }

  .pill-btn {
    padding: 4px 12px 4px 4px;
    font-size: 0.74rem;
    gap: 6px;
  }

  .pill-thumb {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  /* Catalog Section */
  .catalog-section {
    padding: 18px 14px 50px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Product Card Touch Feedback & Compact Mobile Specs */
  .product-card {
    border-radius: 10px;
  }

  .product-card:active {
    transform: scale(0.98);
  }

  .card-badges-overlay {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .card-sku-badge {
    font-size: 0.62rem;
    padding: 3px 6px;
    letter-spacing: 0.05em;
  }

  .card-content {
    padding: 12px 12px 14px;
  }

  .card-sku-code {
    font-size: 0.64rem;
    margin-bottom: 3px;
  }

  .card-title {
    font-size: 0.86rem;
    line-height: 1.35;
    min-height: 2.7em;
    margin-bottom: 4px;
  }

  .card-weight-row {
    font-size: 0.76rem;
    gap: 4px;
  }

  /* Hero Section on Tablet/Mobile */
  .hero-section {
    width: 100%;
    padding: 0;
    min-height: auto;
  }

  .hero-showroom-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* Home Categories Grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .category-card {
    border-radius: 10px;
  }

  .category-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .category-info {
    padding: 12px 10px 14px;
  }

  .category-name {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  /* Modal Lightbox Responsive */
  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    width: 95vw;
    max-width: 540px;
    max-height: 92vh;
    border-radius: 14px;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .modal-lightbox-footer {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .modal-lightbox-title {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .modal-lightbox-sku {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  /* Showroom Footer Responsive */
  .site-footer {
    padding: 20px 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 14px;
  }

  .brand-logo {
    gap: 10px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .brand-name {
    font-size: clamp(0.88rem, 3.8vw, 1.02rem);
    letter-spacing: 0.1em;
  }

  .brand-subline {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-link {
    font-size: 0.68rem;
    padding: 5px 10px;
  }


  .showroom-footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .showroom-brand-name {
    font-size: 0.95rem;
  }

  .showroom-assurance {
    font-size: 0.68rem;
  }

  .showroom-footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .category-nav-pills-bar {
    top: 47px;
  }

  .category-nav-pills {
    padding: 8px 10px;
    gap: 6px;
  }

  .pill-btn {
    padding: 3px 10px 3px 3px;
    font-size: 0.7rem;
    gap: 5px;
  }

  .pill-thumb {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
  }

  /* Catalog Grid on Small Mobile: Tight luxury 2-column ecommerce layout */
  .catalog-section {
    padding: 12px 8px 36px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-card {
    border-radius: 8px;
  }

  .card-badges-overlay {
    top: 5px;
    left: 5px;
    right: 5px;
  }

  .card-sku-badge {
    font-size: 0.56rem;
    padding: 2px 5px;
  }

  .card-content {
    padding: 8px 8px 10px;
  }

  .card-sku-code {
    font-size: 0.58rem;
    margin-bottom: 2px;
  }

  .card-title {
    font-size: 0.78rem;
    line-height: 1.3;
    min-height: 2.6em;
    margin-bottom: 2px;
  }

  .card-weight-row {
    font-size: 0.7rem;
    gap: 3px;
    padding-top: 2px;
  }

  /* Home Categories Grid */
  .categories-grid {
    gap: 8px;
  }

  .category-card {
    height: 180px;
    border-radius: 8px;
  }

  .category-info {
    padding: 10px;
  }

  .category-name {
    font-size: 0.92rem;
  }

  .category-cta {
    font-size: 0.6rem;
    padding: 3px 6px;
  }
}

@media (max-width: 330px) {

  /* Extreme narrow screen fallback (e.g. Galaxy Fold folded screen ~280px) */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-card {
    height: 200px;
  }
}