/* ==========================================================================
   Speaking Loom — LUXURY ARTISANAL DESIGN SYSTEM & STYLESHEET
   Handcrafted Indian Textiles (Khadi, Linen, Mulberry Silk, Tussar)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* --- Authentic Color Palette from Reference Design Mockup --- */
  --bg-parchment: #FAF6EE;
  --bg-parchment-warm: #F4EFE2;
  --bg-parchment-light: #FDFBF7;
  --bg-card: #FFFFFF;
  
  --bg-indigo-banner: #163042;
  --bg-indigo-dark: #0E202D;
  --bg-forest-footer: #1E3523;
  --bg-ochre-banner: #E5A93C;
  --bg-ochre-gold: #C7882C;
  --bg-ochre-hover: #AF721E;
  
  --color-ink: #1D2327;
  --color-ink-muted: #56514A;
  --color-ink-light: #827C74;
  --color-text-white: #FAF7EE;
  
  --accent-ochre: #C7882C;
  --accent-ochre-gold: #D89B37;
  --accent-terracotta: #B84336;
  --accent-crimson: #A6382E;
  --accent-forest: #254331;
  --accent-indigo: #163042;
  --accent-yellow: #F2D542;

  /* Space Badge Colors (Exact from Mockup) */
  --badge-table: #2D5438;
  --badge-bed: #1A405D;
  --badge-living: #D4952A;
  --badge-occasions: #A6382E;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', 'DM Sans', -apple-system, sans-serif;

  /* Shadows & Radius */
  --shadow-subtle: 0 4px 16px rgba(29, 35, 39, 0.04);
  --shadow-card: 0 8px 24px rgba(29, 35, 39, 0.08);
  --shadow-hover: 0 16px 36px rgba(29, 35, 39, 0.14);
  --shadow-banner: 0 10px 30px rgba(0, 0, 0, 0.25);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-pill: 9999px;
  
  --trans-fast: 0.2s ease;
  --trans-smooth: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-parchment);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  /* Tactile Parchment Paper & Khadi Slub Texture Background */
  background-image: 
    radial-gradient(rgba(199, 136, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 35, 39, 0.015) 1px, transparent 1px),
    linear-gradient(0deg, rgba(29, 35, 39, 0.015) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all var(--trans-smooth);
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
  position: relative;
}

.section-padding {
  padding: 80px 0;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: -0.015em;
}

/* ==========================================================================
   BUTTONS & COMMON UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  transition: all var(--trans-smooth);
  cursor: pointer;
}

.btn-ochre {
  background-color: var(--accent-ochre);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(199, 136, 44, 0.35);
}

.btn-ochre:hover {
  background-color: var(--bg-ochre-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(199, 136, 44, 0.45);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-ink);
  border: 1px solid rgba(29, 35, 39, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-dark:hover {
  background: #FFFFFF;
  border-color: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--bg-indigo-banner);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--bg-indigo-banner);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(22, 48, 66, 0.3);
}

.btn-navy:hover {
  background-color: var(--bg-indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 48, 66, 0.4);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (MATCHING MOCKUP)
   ========================================================================== */
.site-header {
  height: 82px;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--trans-smooth);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(250, 246, 238, 0.98);
  box-shadow: 0 4px 20px rgba(29, 35, 39, 0.06);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Header Corner Botanical Vine Ornament (Positioned gracefully on the top-right corner, away from the logo) */
.header-corner-vine {
  position: absolute;
  top: 0;
  right: -10px;
  left: auto;
  width: 65px;
  height: 65px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
  transform: scaleX(-1);
}

/* Brand Lockup: Hindi 'Aa' Emblem + Speaking Loom + Handcrafted with Care */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
  text-decoration: none;
}

.brand-logo-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.brand-logo-icon {
  display: block;
  width: 1in;
  height: 1in;
  flex: 0 0 1in;
  object-fit: contain;
}

.brand-lockup:hover .brand-logo-emblem {
  transform: scale(1.05) rotate(1deg);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-ink);
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-title-weaves {
  color: var(--accent-ochre);
  font-weight: 600;
}

.brand-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10.5px;
  color: var(--accent-ochre);
  letter-spacing: 0.03em;
}

/* Centered Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-ochre);
  transition: width var(--trans-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-ochre);
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.search-icon-btn {
  color: var(--color-ink);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
}

.search-icon-btn:hover {
  color: var(--accent-ochre);
  transform: scale(1.1);
}

.enquire-header-btn {
  background-color: var(--accent-ochre);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(199, 136, 44, 0.3);
}

.enquire-header-btn:hover {
  background-color: var(--bg-ochre-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(199, 136, 44, 0.4);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.mobile-toggle-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 48, 66, 0.65);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-smooth);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--bg-parchment);
  z-index: 999;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-banner);
  transform: translateX(100%);
  transition: transform var(--trans-smooth);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(199, 136, 44, 0.2);
}

.drawer-close {
  font-size: 28px;
  color: var(--color-ink);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-nav-item {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-ink);
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  color: var(--accent-ochre);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-socials {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-ink-muted);
}

/* ==========================================================================
   HERO SECTION (FAITHFUL TO REFERENCE MOCKUP)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-parchment);
  overflow: hidden;
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
}

/* Top Left Flowing Indian Botanical Vine Ornament (Atmospheric background accent) */
.hero-botanical-corner {
  position: absolute;
  top: 50px;
  left: -20px;
  width: 100px;
  height: 240px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  min-height: 640px;
}

.hero-content-col {
  padding: 70px 5% 70px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  margin-bottom: 22px;
}

.title-indian-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-ochre);
  font-weight: 400;
}

.hero-lead-text {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--color-ink-muted);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Right: Sunlit Table Runner Showcase with Deckle Edge */
.hero-visual-col {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.hero-photo-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-table-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Torn Deckle Handmade Paper Edge Overlay (Vertical Merger) */
.hero-deckle-mask {
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 85px;
  height: 100%;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(6px 0 16px rgba(29, 35, 39, 0.18));
}

.hero-deckle-mask svg {
  width: 100%;
  height: 100%;
}

/* Bottom Full-Width Horizontal Paper Tear (Merger with Collection Section) */
.hero-bottom-tear {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 44px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(29, 35, 39, 0.12));
}

.hero-bottom-tear svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mobile-tear {
  display: none;
}

/* Right Geometric Sawtooth Block Print Border with Gold Tassel */
.hero-sawtooth-border {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sawtooth-svg-strip {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   SECTION: OUR COLLECTION (5 CARDS GRID IN 1 ROW)
   ========================================================================== */
.collection-section {
  background-color: var(--bg-parchment);
  position: relative;
  overflow: hidden;
  padding: 85px 0 90px;
}

/* Floating Corner Botanical Motifs */
.collection-motif-left {
  position: absolute;
  top: 40px;
  left: -20px;
  width: 140px;
  height: 220px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.collection-motif-right {
  position: absolute;
  top: 50px;
  right: -20px;
  width: 140px;
  height: 220px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
  transform: scaleX(-1);
}

.collection-motif-left svg,
.collection-motif-right svg {
  width: 100%;
  height: 100%;
}

.collection-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 2;
}

/* Decorative Header Stamp Badge */
.collection-badge-motif {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.collection-badge-motif .motif-line {
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--accent-ochre);
  opacity: 0.7;
}

.collection-badge-motif .motif-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-ochre);
  text-transform: uppercase;
}

.collection-title-wrap h2 {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.collection-title-wrap p {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-ink-muted);
  max-width: 640px;
}

.view-all-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--accent-ochre);
  border-color: var(--accent-ochre);
}

/* 4 Collection Cards Grid */
.collection-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-cat-card {
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}

.product-img-box {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #EAE3D5;
  border-radius: var(--radius-xs);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  position: relative;
}

.product-img-box img {
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-img-box .product-img-primary,
.product-img-box .product-img-hover {
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.35s ease;
}

.product-img-box .product-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-img-box:hover .product-img-primary,
.product-img-box:active .product-img-primary {
  opacity: 0;
}

.product-img-box:hover .product-img-hover,
.product-img-box:active .product-img-hover {
  opacity: 1;
}

.product-cat-card:hover .product-img-box img {
  transform: none;
}

.product-cat-details {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.product-cat-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.product-cat-desc {
  font-size: 11.5px;
  color: var(--color-ink-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-cat-action {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

.product-cat-action:hover {
  color: var(--accent-ochre);
  border-color: var(--accent-ochre);
}

/* ==========================================================================
   SECTION: FROM FIBRE TO FORM (PRUSSIAN INDIGO BANNER)
   ========================================================================== */
.textiles-banner-section {
  background-color: var(--bg-indigo-banner);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
  background-size: 20px 20px, 100% 100%;
}

/* Side Botanical Line-art SVGs */
.textiles-side-decor-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 90px;
  height: 340px;
  pointer-events: none;
  opacity: 0.85;
}

.textiles-side-decor-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 80px;
  height: 340px;
  pointer-events: none;
  opacity: 0.85;
}

.textiles-flex-container {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 45px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.textiles-info-col h2 {
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.textiles-info-col p {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.5;
  color: #D3E0EA;
  margin-bottom: 26px;
  max-width: 320px;
}

/* 4 Material Swatches Grid */
.swatches-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.swatch-item-card {
  background: #FFFFFF;
  color: var(--color-ink);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: all var(--trans-smooth);
}

.swatch-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.swatch-thumb-frame {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #EAE3D5;
}

.swatch-thumb-frame img {
  transition: transform 0.5s ease;
}

.swatch-item-card:hover .swatch-thumb-frame img {
  transform: scale(1.1);
}

.swatch-caption-block {
  padding: 14px 14px 16px;
  background: #FFFFFF;
}

.swatch-mat-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.swatch-mat-desc {
  font-size: 11px;
  line-height: 1.35;
  color: #665F55;
}

/* ==========================================================================
   SECTION: MADE BY HAND. MEANT TO LIVE WITH. (ARTISAN CRAFT)
   ========================================================================== */
.craft-story-section {
  background-color: var(--bg-parchment);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
}

.craft-story-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 540px;
}

.craft-embroidery-side {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.craft-embroidery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-details-side {
  padding: 85px 8% 85px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-color: var(--bg-parchment);
}

/* Yellow Painterly Brushstrokes */
.brushstroke-top-right {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 140px;
  height: 24px;
  background: var(--bg-ochre-banner);
  border-radius: 4px;
  opacity: 0.85;
  clip-path: polygon(0% 20%, 95% 0%, 100% 80%, 5% 100%);
}

.brushstroke-bottom-right {
  position: absolute;
  bottom: 45px;
  right: 70px;
  width: 180px;
  height: 28px;
  background: var(--bg-ochre-banner);
  border-radius: 4px;
  opacity: 0.85;
  clip-path: polygon(5% 0%, 100% 25%, 95% 100%, 0% 80%);
}

.craft-text-wrapper {
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.craft-headline {
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.08;
  color: var(--color-ink);
  margin-bottom: 20px;
}

.craft-paragraph {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--color-ink-muted);
  margin-bottom: 28px;
}

.meet-craft-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meet-craft-link:hover {
  color: var(--accent-ochre);
  border-color: var(--accent-ochre);
}

/* Terracotta Mughal Floral Stamp */
.craft-mughal-stamp {
  position: absolute;
  right: 60px;
  bottom: 90px;
  width: 60px;
  height: 100px;
  pointer-events: none;
  opacity: 0.9;
}

/* Right Side Vertical Green Leaf Trim */
.craft-vertical-trim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: repeating-linear-gradient(
    180deg,
    var(--accent-forest) 0px,
    var(--accent-forest) 12px,
    transparent 12px,
    transparent 24px
  );
  opacity: 0.7;
}

/* ==========================================================================
   SECTION: CURATED FOR YOUR HOME (SPACES WITH GRAPH GRID)
   ========================================================================== */
.spaces-section {
  background-color: #FAF7F2;
  position: relative;
  /* Authentic Woven Millimetre Graph Grid Pattern from Mockup */
  background-image: 
    linear-gradient(rgba(29, 35, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 35, 39, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
  padding: 85px 0 90px;
}

.spaces-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2.75rem;
}

.spaces-title-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.spaces-heading {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
  color: var(--color-ink);
}

.spaces-divider-emblem {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-ochre);
}

.spaces-divider-emblem .star { font-size: 1.4rem; }
.spaces-divider-emblem .diamond { font-size: 0.8rem; }
.spaces-divider-emblem .line {
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--accent-ochre);
}

.spaces-subtitle {
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--color-ink-muted);
  max-width: 380px;
}

/* 4 Space Cards Grid with Color Badges */
.spaces-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.space-card-item {
  background: #FFFFFF;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}

.space-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.space-card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #EAE3D5;
}

.space-card-img-wrap img {
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.space-card-item:hover .space-card-img-wrap img {
  transform: scale(1.08);
}

/* Space Badge Footers */
.space-badge-strip {
  padding: 12px 14px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.badge-table { background-color: var(--badge-table); }
.badge-bed { background-color: var(--badge-bed); }
.badge-living { background-color: var(--badge-living); }
.badge-occasions { background-color: var(--badge-occasions); }

/* ==========================================================================
   SECTION: FIND SOMETHING FOR YOUR SPACE (SAFFRON CTA BANNER)
   ========================================================================== */
.saffron-cta-section {
  background-color: var(--bg-ochre-banner);
  position: relative;
  overflow: hidden;
  padding: 65px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Left & Right Ornate Botanical Branches */
.saffron-decor-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 160px;
  height: 130px;
  pointer-events: none;
  opacity: 0.95;
}

.saffron-decor-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 160px;
  height: 130px;
  pointer-events: none;
  opacity: 0.95;
}

.saffron-cta-container {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.saffron-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.saffron-action-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.saffron-lead-text {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--color-ink);
  max-width: 320px;
}

.enquire-navy-btn {
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background-color: var(--bg-indigo-banner);
  color: #FFFFFF;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(22, 48, 66, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.enquire-navy-btn:hover {
  background-color: var(--bg-indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 48, 66, 0.5);
}

/* ==========================================================================
   FOOTER (DEEP FOREST GREEN WITH TEXTILE JAAL & BOTANICAL MOTIFS)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-forest-footer);
  color: #FFFFFF;
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 155, 55, 0.25);
  background-image: 
    radial-gradient(rgba(216, 155, 55, 0.08) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.015) 75%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.015) 75%);
  background-size: 24px 24px, 32px 32px, 32px 32px;
}

/* Textile Jaal Weave Background Watermark Overlay */
.footer-textile-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* Left Botanical Floral Vine on Green Footer */
.footer-botanical-left {
  position: absolute;
  bottom: 0;
  left: -30px;
  width: 130px;
  height: 110px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.footer-botanical-left svg {
  width: 100%;
  height: 100%;
}

/* Right Botanical Floral Branch on Green Footer */
.footer-botanical-right {
  position: absolute;
  bottom: 0;
  right: 60px;
  width: 170px;
  height: 135px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.footer-botanical-right svg {
  width: 100%;
  height: 100%;
}

.footer-inner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.footer-brand-side {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

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

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  line-height: 1.15;
  text-transform: uppercase;
}

.footer-brand-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10.5px;
  color: var(--accent-yellow);
  letter-spacing: 0.03em;
}

.footer-vertical-line {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.25);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.footer-social-link:hover {
  color: var(--accent-yellow);
  transform: translateY(-2px);
}

.footer-quote-side {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: #FAF7EE;
}

/* Large Terracotta Mughal Mandala Flower Motif in Bottom Right Corner */
.footer-mandala-flower {
  position: absolute;
  bottom: -22px;
  right: -12px;
  width: 120px;
  height: 120px;
  opacity: 0.95;
  pointer-events: none;
  z-index: 3;
}

.footer-mandala-flower svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   SUBPAGE SPECIFIC STYLES (COLLECTION, TEXTILES, STORY, CRAFT, SPACES, CONTACT)
   ========================================================================== */
.page-hero {
  background-color: var(--bg-parchment-warm);
  padding: 60px 0 50px;
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-ink-light);
  margin-bottom: 14px;
}

.breadcrumbs a:hover {
  color: var(--accent-ochre);
}

.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-ochre);
  margin-bottom: 8px;
}

.collection-eyebrow {
  font-size: 14px;
}

.page-hero-title {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-ink-muted);
  max-width: 640px;
}

.collection-page-hero-sub {
  max-width: none;
}

.spaces-page-intro {
  max-width: none;
  text-align: justify;
}

/* Filter Bar for Collection Page */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(199, 136, 44, 0.15);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid rgba(29, 35, 39, 0.15);
  color: var(--color-ink);
  transition: all var(--trans-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--accent-ochre);
  color: #FFFFFF;
  border-color: var(--accent-ochre);
}

/* Full Catalog Grid */
.full-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--color-ink);
}

.catalog-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

.catalog-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.catalog-item-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

.catalog-item-img img {
  transition: transform 0.6s ease;
}

.catalog-item-card[data-image-fit="contain"] .catalog-item-img img {
  object-fit: contain;
  object-position: center;
}

.catalog-item-card[data-id="beige-cotton-table-mat-napkin-set"] .catalog-item-img > img:not(.catalog-item-hover-image) {
  object-fit: fill;
}

.catalog-item-card[data-id="red-cotton-table-mat-napkin-set"] .catalog-item-img > img:not(.catalog-item-hover-image) {
  object-fit: fill;
}

.catalog-item-card[data-category="bed"] .catalog-item-img {
  background-color: #fff;
}

.catalog-item-card[data-category="bed"] .catalog-item-img img {
  object-fit: contain;
  object-position: center;
}

.catalog-item-card[data-id="surya-sheer-curtains"] .catalog-item-img {
  background-color: #fff;
}

.catalog-item-card[data-id="surya-sheer-curtains"] .catalog-item-img img {
  filter: brightness(1.06) saturate(1.15);
}

.catalog-item-img .catalog-item-hover-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #fff;
  transform: translateX(100%);
  transition: transform 0.45s ease;
}

.catalog-item-card.has-hover-images:hover .catalog-item-img > img:not(.catalog-item-hover-image),
.catalog-item-card.has-hover-images:active .catalog-item-img > img:not(.catalog-item-hover-image) {
  opacity: 0;
}

.catalog-item-card:hover .catalog-item-img .catalog-item-hover-image[data-hover-index],
.catalog-item-card:active .catalog-item-img .catalog-item-hover-image[data-hover-index] {
  transition-delay: calc(var(--hover-index) * 1s);
}

.catalog-item-card:hover .catalog-item-img .catalog-item-hover-image,
.catalog-item-card:active .catalog-item-img .catalog-item-hover-image {
  transform: translateX(0) scale(1.08);
}

.catalog-item-card:hover .catalog-item-img img {
  transform: scale(1.08);
}

.catalog-item-card[data-image-fit="contain"]:hover .catalog-item-img img,
.catalog-item-card[data-image-fit="contain"]:active .catalog-item-img img {
  transform: none;
}

.catalog-item-card[data-image-fit="contain"]:hover .catalog-item-img .catalog-item-hover-image,
.catalog-item-card[data-image-fit="contain"]:active .catalog-item-img .catalog-item-hover-image {
  transform: translateX(0);
}

.catalog-item-card[data-category="bed"]:hover .catalog-item-img img,
.catalog-item-card[data-category="bed"]:active .catalog-item-img img {
  transform: none;
}

.catalog-item-card[data-category="bed"]:hover .catalog-item-img .catalog-item-hover-image,
.catalog-item-card[data-category="bed"]:active .catalog-item-img .catalog-item-hover-image {
  transform: translateX(0);
}

.catalog-item-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ochre);
}

.catalog-item-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-item-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.catalog-item-craft {
  font-size: 12px;
  color: var(--accent-ochre);
  font-weight: 600;
  margin-bottom: 8px;
}

.catalog-item-desc {
  font-size: 13px;
  color: var(--color-ink-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
}

.catalog-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 35, 39, 0.08);
}

.catalog-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.whatsapp-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-icon-link:hover {
  color: #fff;
  background: #1da851;
  transform: translateY(-1px);
}

.whatsapp-icon-link svg {
  width: 22px;
  height: 22px;
}

.product-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-modal-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.amazon-available-link {
  display: inline-flex;
  flex: 0 1 auto;
  overflow: hidden;
  border-radius: 9px;
}

.amazon-available-badge {
  display: block;
  width: 82.5px;
  height: 40px;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   MODALS & OVERLAYS (ENQUIRY, SWATCH INSPECTOR, SEARCH)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 32, 45, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-smooth);
}

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

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-banner);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96);
  transition: transform var(--trans-smooth);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-sm { width: 100%; max-width: 480px; }
.modal-md { width: 100%; max-width: 680px; }
.modal-lg { width: 100%; max-width: 880px; }

.product-detail-body {
  padding: 36px;
  min-width: 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  min-width: 0;
}

.product-detail-layout > *,
.product-detail-info {
  min-width: 0;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ochre);
}

.product-detail-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.product-detail-description {
  margin: 6px 0 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.product-detail-description-justified {
  text-align: justify;
  text-justify: inter-word;
}

.product-detail-specs {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12.5px;
}

.product-detail-specs td {
  padding: 6px 0;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.product-detail-specs td:first-child {
  width: 42%;
  padding-right: 10px;
  font-weight: 600;
}

.product-detail-specs td:last-child {
  color: #555;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 24px;
  color: var(--color-ink-light);
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: var(--color-ink);
}

/* Enquiry Modal Grid */
.enquiry-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.enquiry-modal-info {
  background: var(--bg-indigo-banner);
  color: #FFFFFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.enquiry-modal-info h3 {
  font-size: 28px;
  color: #FFFFFF;
  margin: 8px 0 14px;
}

.enquiry-modal-info p {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #D3E0EA;
  margin-bottom: 20px;
}

.enquiry-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  color: #E2ECF3;
}

.enquiry-modal-form-wrap {
  padding: 40px;
  background: #FFFFFF;
}

.enquiry-modal-form-wrap h4 {
  font-size: 20px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(29, 35, 39, 0.2);
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-ink);
  background: #FAF7F2;
  transition: border-color var(--trans-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-ochre);
  background: #FFFFFF;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-full {
  width: 100%;
}

/* Search Modal */
.search-wrap {
  padding: 30px;
}

.search-wrap h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.search-wrap input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(29, 35, 39, 0.2);
  border-radius: var(--radius-xs);
  font-size: 14px;
  margin-bottom: 16px;
}

.search-results-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-xs);
  transition: background var(--trans-fast);
}

.search-res-item:hover {
  background: var(--bg-parchment);
}

.search-res-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

/* Toast Notifications */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-msg {
  background: var(--bg-indigo-banner);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  box-shadow: var(--shadow-banner);
  pointer-events: auto;
  border-left: 4px solid var(--accent-ochre);
  animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 50% 50%;
  }

  .collection-grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }

  .textiles-flex-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .swatches-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-story-grid {
    grid-template-columns: 1fr;
  }

  .craft-embroidery-side {
    min-height: 380px;
  }

  .spaces-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .saffron-cta-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .saffron-action-col {
    flex-direction: column;
    align-items: flex-start;
  }

  .full-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  /* Prevent decorative motifs from overlapping hero section & text content on tablet/mobile */
  .header-corner-vine,
  .hero-botanical-corner,
  .hero-sawtooth-border,
  .collection-motif-left,
  .collection-motif-right,
  .textiles-side-decor-left,
  .textiles-side-decor-right,
  .saffron-decor-left,
  .saffron-decor-right,
  .craft-mughal-stamp,
  .brushstroke-top-right,
  .brushstroke-bottom-right,
  .craft-vertical-trim {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  .search-icon-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .enquire-header-btn {
    min-height: 40px;
    padding: 9px 18px;
  }

  /* Compact Hero Photography Height */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-col {
    height: 250px;
    min-height: 220px;
    max-height: 270px;
    order: -1;
  }

  .hero-deckle-mask {
    display: none;
  }

  .hero-mobile-tear {
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 6;
    pointer-events: none;
    filter: drop-shadow(0 -3px 8px rgba(29, 35, 39, 0.16));
  }

  .hero-mobile-tear svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .hero-content-col {
    padding: 34px 6% 40px;
  }

  /* Horizontal Swipe Reel for Our Collection (drastically shortens page height) */
  .collection-grid-4col {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 16px 18px !important;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .collection-grid-4col::-webkit-scrollbar {
    display: none;
  }

  .product-cat-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    scroll-snap-align: start;
    background: #FFFFFF;
    padding: 10px;
    border-radius: var(--radius-xs);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  }

  .product-cat-card .product-img-box {
    aspect-ratio: 1 / 1;
    height: 175px;
  }

  .product-cat-details {
    padding-top: 10px;
  }

  .product-cat-title {
    font-size: 1.15rem;
  }

  .product-cat-desc {
    font-size: 11px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Horizontal Swipe Reel for Material Swatches */
  .swatches-4col-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 16px 18px !important;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .swatches-4col-grid::-webkit-scrollbar {
    display: none;
  }

  .swatch-item-card {
    flex: 0 0 180px !important;
    width: 180px !important;
    scroll-snap-align: start;
  }

  .swatch-thumb-frame {
    aspect-ratio: 1 / 1;
    height: 140px;
  }

  /* Horizontal Swipe Reel for Curated Spaces Lookbook */
  .spaces-grid-4col {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 16px 18px !important;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .spaces-grid-4col::-webkit-scrollbar {
    display: none;
  }

  .space-card-item {
    flex: 0 0 240px !important;
    width: 240px !important;
    scroll-snap-align: start;
  }

  .space-card-img-wrap {
    aspect-ratio: 16 / 11;
    height: 150px;
  }

  /* Craft Story Photo in Index */
  .craft-story-grid {
    grid-template-columns: 1fr;
  }

  .craft-embroidery-side {
    height: 200px;
    min-height: 190px;
    max-height: 220px;
  }

  .craft-details-side {
    padding: 34px 6% 38px;
  }

  /* 2-Column Compact Catalog Grid on Mobile (cuts catalog length by 50%) */
  .full-catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .catalog-item-card {
    display: flex;
    flex-direction: column;
  }

  .catalog-item-img {
    aspect-ratio: 1 / 1;
    height: 145px;
  }

  .catalog-item-body {
    padding: 10px 8px 12px;
  }

  .catalog-item-title {
    font-size: 13.5px;
    line-height: 1.2;
    margin-bottom: 3px;
  }

  .catalog-item-craft {
    font-size: 9.5px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-item-desc {
    display: none; /* Hide long paragraph on compact 2-column mobile cards */
  }

  .catalog-item-footer {
    flex-direction: row;
    align-items: center;
    margin-top: auto;
    padding-top: 6px;
  }

  .catalog-item-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .catalog-item-footer .btn {
    text-align: center;
    padding: 5px 6px !important;
    font-size: 10px !important;
  }

  /* Detail Pages Media Heights */
  .textile-detail-row .textile-img-frame,
  .space-lookbook-row .space-visual-frame,
  .story-hero-img {
    aspect-ratio: 3 / 2 !important;
    max-height: 200px !important;
    height: auto !important;
  }

  .craft-step-card .craft-step-thumb {
    aspect-ratio: 16 / 9 !important;
    max-height: 150px !important;
    height: auto !important;
  }

  .catalog-filter-bar {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .footer-inner-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-brand-side,
  .footer-quote-side {
    flex-direction: column;
    gap: 14px;
  }

  .footer-vertical-line {
    display: none;
  }

  .footer-botanical-right {
    opacity: 0.4;
    right: 10px;
  }

  .enquiry-modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    max-height: 88vh;
    overflow-y: auto;
  }
}

@media (max-width: 580px) {
  .site-header {
    padding: 12px 0;
  }

  .brand-title {
    font-size: 13.5px;
  }

  .hero-main-title {
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.05;
  }

  .hero-lead-text {
    font-size: 15.5px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .collection-motif-left,
  .collection-motif-right {
    display: none;
  }

  .collection-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
  }

  .section-padding {
    padding: 50px 0 !important;
  }

  .collection-section,
  .textiles-banner-section,
  .spaces-section,
  .craft-story-section {
    padding: 50px 0 !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
  }

  .modal-box {
    width: 95%;
    padding: 24px 18px;
  }

  .footer-botanical-right {
    display: none;
  }

  .footer-botanical-left {
    opacity: 0.35;
    width: 110px;
  }

  .footer-quote-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 680px) {
  #productDetailModal.modal-overlay {
    padding: 12px;
  }

  #productDetailModal .modal-box {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    overflow-x: hidden;
  }

  .product-detail-body {
    padding: 48px 18px 22px;
  }

  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .product-modal-image-frame {
    aspect-ratio: 16 / 10 !important;
    max-height: 230px;
  }

  .product-detail-title {
    font-size: clamp(23px, 6vw, 28px);
  }

  .product-detail-specs {
    font-size: 13px;
  }
}
