/*================================================================================
  ACRESEUM v2  SKY-SKEUOMORPHIC & POLISHED GLASS DESIGN SYSTEM
  Complete ground-up rewrite. Zero legacy code inherited.
================================================================================*/

/* ========== GLOBAL LIGHT THEME (Default: Homepage & Acrylic Collections) ========== */
:root {
  /* Base Canvas */
  --bg-0: linear-gradient(165deg, #edf3f8 0%, #f0f5fa 30%, #fbfdfa 70%, #f7f9fc 100%);
  --bg-solid: #edf3f8;

  /* Apple Alabaster Glass Tint */
  --bg-glass: rgba(255, 255, 255, 0.42);
  --bg-glass-strong: rgba(255, 255, 255, 0.64);
  --bg-glass-max: rgba(255, 255, 255, 0.86);

  /* Foreground / Typography */
  --fg-0: #121723;
  --fg-1: #2d3548;
  --fg-2: #5a6377;
  --fg-3: #8b93a5;

  /* Accent  Electronic Crystal Sky Blue */
  --accent: #007aff;
  --accent-deep: #005dd4;
  --accent-soft: rgba(0, 122, 255, 0.12);
  --accent-glow: rgba(0, 122, 255, 0.28);

  /* Borders  Apple Specular Micro-Edge */
  --border-glass: rgba(255, 255, 255, 0.65);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-accent: rgba(0, 122, 255, 0.20);

  /* Shadows  Apple Layered Material Depth */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.035);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.045);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.08);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 8px 32px rgba(0, 0, 0, 0.04);

  /* Radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Blur  Apple Occultation & Frosting */
  --blur-glass: 30px;
  --blur-heavy: 44px;

  /* Typography */
  --font-display: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Logo */
  --logo-drop: drop-shadow(0 10px 28px rgba(0, 122, 255, 0.18)) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.5));

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --dur-normal: 0.45s;
  --dur-slow: 0.7s;

  /* Navbar */
  --nav-h: 105px;

  /* Neon-specific (dormant in light mode) */
  --neon-text-glow: none;
  --neon-border-glow: none;
}

/* ========== GLOBAL DARK THEME (Auto-triggered: Neon Collections) ========== */
[data-theme="dark"] {
  --bg-solid: #050507;
  --bg-glass: rgba(28, 28, 36, 0.55);
  --bg-glass-strong: rgba(34, 34, 44, 0.72);
  --bg-glass-max: rgba(38, 38, 50, 0.90);

  --fg-0: #eaeaef;
  --fg-1: #c0c0cc;
  --fg-2: #7e7e8e;
  --fg-3: #4e4e5a;

  --accent: #ff4da6;
  --accent-deep: #e04090;
  --accent-soft: rgba(255, 77, 166, 0.12);
  --accent-glow: rgba(255, 77, 166, 0.25);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-accent: rgba(255, 77, 166, 0.25);

  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 52px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.7);
  --shadow-inset: inset 0 1px 2px rgba(255, 255, 255, 0.04);
  --shadow-glass: inset 0 1px 2px rgba(255, 255, 255, 0.04), 0 16px 40px rgba(0, 0, 0, 0.35);

  --logo-drop: drop-shadow(0 10px 28px rgba(255, 77, 166, 0.18)) drop-shadow(0 2px 6px rgba(255, 255, 255, 0.08));

  --neon-text-glow: 0 0 8px rgba(255, 77, 166, 0.6), 0 0 22px rgba(255, 77, 166, 0.22);
  --neon-border-glow: none;
}

/* ========== NEON BLINK & FLICKER ANIMATIONS ========== */
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 7px rgba(255,77,166,0.65), 0 0 18px rgba(255,77,166,0.3), 0 0 36px rgba(255,77,166,0.12);
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: 0 0 4px rgba(255,77,166,0.35), 0 0 10px rgba(255,77,166,0.15);
    opacity: 0.85;
  }
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: 0 0 6px rgba(255,77,166,0.55), 0 0 16px rgba(255,77,166,0.24), 0 0 32px rgba(255,77,166,0.08);
  }
  50% {
    text-shadow: 0 0 14px rgba(255,77,166,0.85), 0 0 28px rgba(255,77,166,0.40), 0 0 52px rgba(255,77,166,0.18);
  }
}

@keyframes neonBorderPulse {
  0%, 100% { border-color: rgba(255,77,166,0.25); box-shadow: 0 0 8px rgba(255,77,166,0.12); }
  50% { border-color: rgba(255,77,166,0.55); box-shadow: 0 0 18px rgba(255,77,166,0.28); }
}

@keyframes neonGlowBreathe {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,77,166,0.5)) drop-shadow(0 0 14px rgba(255,77,166,0.2)); }
  50% { filter: drop-shadow(0 0 14px rgba(255,77,166,0.8)) drop-shadow(0 0 28px rgba(255,77,166,0.35)); }
}

/* ========== NEON PAGE EFFECTS (dark theme only) ========== */
[data-theme="dark"] .section-header h1,
[data-theme="dark"] .section-header h2 {
  animation: neonFlicker 4.5s ease-in-out infinite;
}

[data-theme="dark"] .pillar-content h3 {
  animation: neonPulse 3s ease-in-out infinite;
}

[data-theme="dark"] .subcat-card {
  animation: neonBorderPulse 3.5s ease-in-out infinite;
}

[data-theme="dark"] .nav-logo {
  animation: logoFloat3D 7s ease-in-out infinite, neonGlowBreathe 3s ease-in-out infinite;
}

[data-theme="dark"] .nav-cta {
  animation: neonPulse 2.5s ease-in-out infinite;
}

[data-theme="dark"] .option-chip.selected {
  animation: neonPulse 2s ease-in-out infinite;
}

/* Neon tube text effect on product names in dark mode */
[data-theme="dark"] .product-card h4 {
  text-shadow: 0 0 4px rgba(255,77,166,0.35);
}

[data-theme="dark"] .glass-btn.accent {
  animation: neonPulse 2.8s ease-in-out infinite;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: var(--font-body);
  background: var(--bg-solid);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(180, 210, 240, 0.14) 0%, transparent 62%),
                    radial-gradient(ellipse at 85% 100%, rgba(200, 200, 220, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--fg-0);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--dur-slow) var(--ease-out-expo), color var(--dur-slow) var(--ease-out-expo);
  line-height: 1.6;
}
[data-theme="dark"] body {
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 166, 0.05) 0%, transparent 62%),
                    radial-gradient(ellipse at 85% 100%, rgba(80, 40, 100, 0.07) 0%, transparent 50%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== 3D FLOATING LOGO NAVBAR (105px) ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  min-height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* macOS menu bar  vibrancy with saturation */
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background var(--dur-slow), border-color var(--dur-slow);
}
.nav-logo {
  height: 78px;
  width: auto;
  filter: var(--logo-drop);
  animation: logoFloat3D 7s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  transition: filter var(--dur-normal);
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-0);
  margin-left: 8px;
  transition: color var(--dur-normal);
  white-space: nowrap;
}
[data-theme="dark"] .nav-brand-name {
  color: var(--fg-0);
  text-shadow: 0 0 6px rgba(255,77,166,0.25);
}
@media (max-width: 768px) {
  .nav-brand-name { font-size: 1.2rem; margin-left: 4px; }
}
@keyframes logoFloat3D {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-1deg); }
  20% { transform: translateY(-7px) rotateX(3.5deg) rotateY(1.5deg); }
  40% { transform: translateY(-2px) rotateX(1deg) rotateY(3deg); }
  60% { transform: translateY(-11px) rotateX(4.5deg) rotateY(-2.5deg); }
  80% { transform: translateY(-4px) rotateX(2.5deg) rotateY(1deg); }
}

/* Nav Links */
.nav-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-xs);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-1);
  transition: all 0.28s var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--fg-0); background: var(--bg-glass); }
.nav-link.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  box-shadow: var(--shadow-inset);
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 30px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

/* Theme Toggle */
/* Theme toggle  permanently hidden. Theme is automatic via URL detection only. */
.theme-toggle { display: none !important; }

/* Mobile Nav */
.nav-mobile-btn { display: none; font-size: 1.5rem; background: none; border: none; color: var(--fg-0); cursor: pointer; }
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 1001;
  background: var(--bg-glass-max);
  backdrop-filter: blur(var(--blur-heavy)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(210%);
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  font-size: 1.15rem; padding: 14px 28px;
  background: transparent; border: none;
  color: var(--fg-0); font-weight: 500; text-decoration: none;
}
.mobile-nav-close { position: absolute; top: 20px; right: 20px; font-size: 1.8rem; cursor: pointer; background: none; border: none; color: var(--fg-0); }

/* ========== APPLE MATERIAL CARDS (.glass-card) ========== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-glass);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 12px 36px rgba(0, 0, 0, 0.07);
}
[data-theme="dark"] .glass-card:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 12px 36px rgba(0, 0, 0, 0.48);
}

.glass-card-strong {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-glass), var(--shadow-sm);
}

/* ========== APPLE TACTILE BUTTONS (.glass-btn) ========== */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  color: var(--fg-0);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-inset), var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}
.glass-btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.55), 0 6px 20px rgba(0,0,0,0.06);
}
.glass-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 2px 8px rgba(0,0,0,0.03);
}

/* Accent variant */
.glass-btn.accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 4px 14px var(--accent-glow);
}
.glass-btn.accent:hover {
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.25), 0 8px 22px var(--accent-glow);
}

/* ========== APPLE TACTILE INPUT FIELDS ========== */
.glass-input, .contact-form input, .contact-form textarea, select.glass-input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg-0);
  outline: none;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
}
.glass-input:focus, .contact-form input:focus, .contact-form textarea:focus, select.glass-input:focus {
  border-color: #007aff;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; padding: 60px 40px 20px; }
.section-header h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; letter-spacing: -0.01em; }
.section-header p { color: var(--fg-2); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 80px 40px 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -30%;
  width: 160%; height: 160%;
  background: radial-gradient(ellipse at center, rgba(180, 215, 245, 0.16), transparent 68%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  margin-bottom: 22px;
  position: relative;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
  line-height: 1.15;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ========== CATEGORY PILLARS ========== */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; padding: 40px; max-width: 1240px; margin: 0 auto; }
.pillar {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  min-height: 400px;
  display: flex; align-items: flex-end;
  padding: 40px;
  transition: all 0.5s var(--ease-spring);
  text-decoration: none;
  color: #fff;
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.04) 55%);
  z-index: 1;
  transition: opacity 0.5s;
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.pillar:hover::before { opacity: 0.85; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out-expo); }
.pillar:hover img { transform: scale(1.07); }
.pillar-content { position: relative; z-index: 2; }
.pillar-content h3 { font-family: var(--font-heading); font-size: 1.9rem; margin-bottom: 10px; font-weight: 600; }
.pillar-content p { font-size: 0.95rem; opacity: 0.92; line-height: 1.5; }

/* ========== PRODUCT GRID ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 30px 40px; max-width: 1300px; margin: 0 auto; }
.product-card {
  cursor: pointer; padding: 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.product-card .thumb {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-glass); border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; transition: all 0.4s var(--ease-out-expo);
}
.product-card:hover .thumb { transform: scale(1.03); box-shadow: var(--shadow-md); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h4 { font-size: 0.92rem; font-weight: 600; color: var(--fg-0); line-height: 1.3; }
.product-card .price { font-size: 0.9rem; color: var(--accent-deep); font-weight: 700; }
.product-card .mrp { font-size: 0.78rem; color: var(--fg-3); text-decoration: line-through; margin-left: 6px; }

/* ========== SUB-CATEGORY CARDS ========== */
.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; padding: 20px 0; }
.subcat-card {
  padding: 30px 24px; text-align: center; cursor: pointer; border-radius: var(--r-md);
  background: var(--bg-glass); border: 1px solid var(--border-glass);
  transition: all 0.35s var(--ease-spring); font-weight: 600;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-glass);
}
.subcat-card:hover { background: var(--bg-glass-strong); transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.subcat-icon { font-size: 2.6rem; margin-bottom: 12px; }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 18px 40px; display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--fg-3); flex-wrap: wrap; max-width: 1300px; margin: 0 auto; }
.breadcrumb a { color: var(--fg-2); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.35; }

/* ========== PRODUCT DETAIL ========== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 40px; max-width: 1300px; margin: 0 auto; }
.config-canvas {
  background: var(--bg-glass); border-radius: var(--r-xl);
  border: 1px solid var(--border-glass); box-shadow: var(--shadow-glass);
  padding: 28px; min-height: 520px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.canvas-frame {
  width: 280px; height: 360px;
  border: 3px solid var(--border-glass);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-glass);
  background: var(--bg-solid);
  position: relative; overflow: hidden;
  transition: box-shadow 0.45s var(--ease-out-expo), border-radius 0.45s var(--ease-out-expo), width 0.45s var(--ease-out-expo), height 0.45s var(--ease-out-expo);
}
.canvas-frame[data-thickness="3mm"] { box-shadow: 0 8px 22px rgba(0,0,0,0.06), inset 0 2px 6px rgba(255,255,255,0.7); }
.canvas-frame[data-thickness="5mm"] { box-shadow: 0 14px 36px rgba(0,0,0,0.10), inset 0 2px 6px rgba(255,255,255,0.72); }
.canvas-frame[data-thickness="8mm"] { box-shadow: 0 22px 50px rgba(0,0,0,0.15), inset 0 3px 8px rgba(255,255,255,0.78); }
.canvas-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ========== CANVAS SHAPE SILHOUETTES ========== */
/* Circle */
.canvas-frame.shape-circle { width: 300px; height: 300px; border-radius: 50%; }
/* Rounded Rectangle */
.canvas-frame.shape-rounded { border-radius: 22%; }
/* Extra Smooth Rounded */
.canvas-frame.shape-smooth { border-radius: 28%; }
/* Square */
.canvas-frame.shape-square { width: 300px; height: 300px; border-radius: 3%; }
/* Square-Round hybrid */
.canvas-frame.shape-square-round { width: 300px; height: 300px; border-radius: 24%; }
/* Landscape (wider) */
.canvas-frame.shape-landscape { width: 360px; height: 260px; border-radius: 3%; }
/* Landscape Rounded */
.canvas-frame.shape-landscape-rounded { width: 360px; height: 260px; border-radius: 18%; }
/* Landscape Smooth */
.canvas-frame.shape-landscape-smooth { width: 360px; height: 260px; border-radius: 26%; }
/* Egg Portrait */
.canvas-frame.shape-egg-portrait { width: 260px; height: 340px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
/* Egg Landscape */
.canvas-frame.shape-egg-landscape { width: 340px; height: 250px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
/* Bean Portrait */
.canvas-frame.shape-bean-portrait { width: 270px; height: 350px; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; }
/* Bean Landscape */
.canvas-frame.shape-bean-landscape { width: 350px; height: 250px; border-radius: 48% 52% 55% 45% / 42% 55% 45% 58%; }
/* Balloon */
.canvas-frame.shape-balloon { width: 275px; height: 345px; border-radius: 52% 48% 44% 56% / 58% 54% 46% 42%; }
/* Portrait (default  slightly taller rectangle) */
.canvas-frame.shape-portrait { width: 280px; height: 360px; border-radius: 2%; }
/* Collage / multi-photo  slightly softer rectangle */
.canvas-frame.shape-collage { width: 300px; height: 360px; border-radius: 3%; }

/* Icon watermark on canvas placeholder */
.canvas-shape-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
}
.canvas-frame.has-image .canvas-shape-icon,
.canvas-frame.has-text .canvas-shape-icon { opacity: 0.05; }

/* Canvas text rendering for name plates, monograms, neon */
.canvas-text-render {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px; pointer-events: none;
  transition: all 0.3s;
  line-height: 1.2;
}
.canvas-frame[data-thickness="8mm"] .canvas-text-render {
  text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
[data-theme="dark"] .canvas-text-render {
  text-shadow: 0 0 10px currentColor, 0 0 24px currentColor;
}
.canvas-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--fg-3); gap: 10px; font-size: 0.9rem; position: relative; z-index: 1; }

/* Text input for name plates / monograms / neon */
.text-customizer { width: 100%; max-width: 380px; margin-top: 18px; }
.text-customizer input[type=text] {
  width: 100%; padding: 14px 18px; border-radius: var(--r-sm);
  border: 1px solid var(--border-glass); background: var(--bg-glass);
  font-family: var(--font-body); font-size: 1.1rem; color: var(--fg-0);
  outline: none; transition: all 0.25s cubic-bezier(0.25,1,0.5,1);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  text-align: center; letter-spacing: 0.02em;
}
.text-customizer input[type=text]:focus {
  border-color: #007aff; box-shadow: 0 0 0 4px rgba(0,122,255,0.15);
}
.text-customizer .hint { font-size: 0.78rem; color: var(--fg-3); text-align: center; margin-top: 8px; }

/* Font selector chips */
.font-selector { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; justify-content: center; }
.font-chip {
  padding: 8px 16px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--border-glass); background: var(--bg-glass);
  font-size: 0.9rem; transition: all 0.25s; color: var(--fg-1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
}
.font-chip:hover { border-color: var(--accent); }
.font-chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px var(--accent-glow); }
.font-chip[data-font="serif"] { font-family: 'Playfair Display', Georgia, serif; }
.font-chip[data-font="sans"] { font-family: 'Inter', 'Helvetica Neue', sans-serif; }
.font-chip[data-font="script"] { font-family: 'Brush Script MT', 'Dancing Script', cursive; font-size: 1.1rem; }
.font-chip[data-font="modern"] { font-family: 'Montserrat', 'Futura', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.font-chip[data-font="classic"] { font-family: 'Cormorant Garamond', 'Times New Roman', serif; }

/* Neon color selector */
.color-selector { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; justify-content: center; }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 3px solid transparent; transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: #fff; box-shadow: 0 0 0 4px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.2); }
.color-swatch[data-color="pink"] { background: #ff4da6; }
.color-swatch[data-color="blue"] { background: #0099ff; }
.color-swatch[data-color="green"] { background: #39ff14; }
.color-swatch[data-color="white"] { background: #fffbe6; }
.color-swatch[data-color="red"] { background: #ff3131; }
.color-swatch[data-color="purple"] { background: #bf40ff; }
.color-swatch[data-color="gold"] { background: linear-gradient(135deg, #ffd700, #ffaa00); }

/* Material finish selector */
.material-selector { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.material-chip {
  padding: 10px 18px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--border-glass); background: var(--bg-glass);
  font-size: 0.85rem; font-weight: 500; transition: all 0.25s;
  color: var(--fg-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.material-chip:hover { border-color: var(--accent); }
.material-chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px var(--accent-glow); }

.image-upload-area {
  margin-top: 18px; width: 100%; max-width: 380px;
  border: 2px dashed var(--border-glass); border-radius: var(--r-md);
  padding: 22px; text-align: center; cursor: pointer; transition: all 0.3s;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(210%);
}
.image-upload-area:hover { border-color: var(--accent); background: rgba(255,255,255,0.62); }
.image-upload-area input { display: none; }
.upload-icon { font-size: 2.2rem; margin-bottom: 8px; color: var(--fg-2); }

/* ========== ADJUSTMENT TOOLS ========== */
.adjust-tools { margin-top: 20px; width: 100%; max-width: 380px; }
.tool-group { margin-bottom: 16px; }
.tool-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; color: var(--fg-1); }
.tool-group input[type=range] { width: 100%; accent-color: var(--accent); height: 6px; }
.dpad { display: grid; grid-template-columns: 56px 56px 56px; grid-template-rows: 38px 38px 38px; gap: 5px; justify-content: center; }
.dpad button {
  border: 1px solid var(--border-glass); border-radius: var(--r-xs);
  background: var(--bg-glass-strong); cursor: pointer; font-size: 1.1rem;
  transition: all 0.2s; color: var(--fg-0);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}
.dpad button:hover { background: var(--bg-glass-max); box-shadow: var(--shadow-inset); }
.dpad .dpad-up { grid-column: 2; grid-row: 1; }
.dpad .dpad-left { grid-column: 1; grid-row: 2; }
.dpad .dpad-center { grid-column: 2; grid-row: 2; font-size: 0.65rem; cursor: default; }
.dpad .dpad-right { grid-column: 3; grid-row: 2; }
.dpad .dpad-down { grid-column: 2; grid-row: 3; }

/* ========== SIZE & THICKNESS CHIPS ========== */
.option-matrix { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.option-chip {
  padding: 10px 18px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--border-glass); background: var(--bg-glass);
  font-size: 0.85rem; font-weight: 500; transition: all 0.25s var(--ease-out-expo);
  color: var(--fg-1); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.option-chip:hover { border-color: var(--accent); color: var(--fg-0); }
.option-chip.selected {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.thickness-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--fg-3); margin-top: 8px; }
.thickness-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-glass); overflow: hidden; border: 1px solid var(--border-glass); }
.thickness-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.4s var(--ease-out-expo); }

/* ========== PURCHASE PANEL ========== */
.purchase-panel { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.purchase-panel h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 4px; }
.pricing { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pricing .current-price { font-size: 2.1rem; font-weight: 700; color: var(--accent-deep); }
.pricing .original-price { font-size: 1.1rem; color: var(--fg-3); text-decoration: line-through; }
.pricing .discount-badge { font-size: 0.85rem; color: #22c55e; font-weight: 600; }

/* WhatsApp CTA */
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; border-radius: var(--r-md);
  background: #25D366; color: #fff; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; margin-top: 20px; transition: all 0.3s var(--ease-spring);
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.32);
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.42); }

/* AR Button */
.ar-btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  width: 100%; padding: 15px; margin-top: 14px;
  border-radius: var(--r-md); cursor: pointer;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border: none; font-weight: 600; font-size: 0.96rem;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 6px 22px rgba(102, 126, 234, 0.32);
}
.ar-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.42); }

/* AR Overlay */
.ar-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
}
.ar-overlay.open { display: flex; }
.ar-overlay video { max-width: 90vw; max-height: 70vh; border-radius: var(--r-lg); border: 2px solid rgba(255,255,255,0.15); }
.ar-room-bg { max-width: 90vw; max-height: 70vh; border-radius: var(--r-lg); position: relative; }
.ar-preview-overlay {
  position: absolute; width: 130px; height: 170px;
  border: 3px solid rgba(255,255,255,0.75); border-radius: 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.55); overflow: hidden;
  top: 28%; left: 38%;
}
.ar-preview-overlay img { width: 100%; height: 100%; object-fit: cover; }
.ar-close { position: absolute; top: 24px; right: 24px; z-index: 10; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ========== GALLERY ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding: 30px 40px; max-width: 1300px; margin: 0 auto; }
.gallery-item {
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; transition: all 0.4s var(--ease-spring);
  display: block; text-decoration: none;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-xl); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ========== LIGHTBOX ========== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.94); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-lg); box-shadow: 0 24px 80px rgba(0,0,0,0.55); }
.lightbox-close { position: absolute; top: 24px; right: 24px; font-size: 2.2rem; color: #fff; background: none; border: none; cursor: pointer; z-index: 1; }

/* ========== FEATURES GRID ========== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; padding: 0 40px 60px; max-width: 1240px; margin: 0 auto; }

/* ========== SEO CONTENT ========== */
.seo-content { padding: 40px; max-width: 920px; margin: 0 auto; }
.seo-content h2 { font-family: var(--font-heading); font-size: 1.55rem; margin: 28px 0 12px; }
.seo-content h3 { font-size: 1.18rem; margin: 20px 0 10px; color: var(--fg-0); }
.seo-content p { color: var(--fg-2); line-height: 1.75; margin-bottom: 12px; font-size: 0.94rem; }
.seo-content ul { margin: 10px 0 18px 22px; color: var(--fg-2); }
.seo-content li { margin-bottom: 7px; font-size: 0.94rem; line-height: 1.5; }

/* ========== FOOTER ========== */
.footer {
  padding: 60px 40px 32px;
  background: var(--bg-glass-strong);
  border-top: 1px solid var(--border-glass);
  backdrop-filter: blur(var(--blur-heavy)) saturate(210%);
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(210%);
  margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1240px; margin: 0 auto; }
.footer-col h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--fg-2); font-size: 0.88rem; margin-bottom: 9px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--border-subtle); color: var(--fg-3); font-size: 0.82rem; }

/* ========== UTILITY ========== */
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.page-section { padding: 40px; }
.text-center { text-align: center; }
.fade-in { animation: fadeSlideIn 0.5s var(--ease-out-expo); }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; margin-bottom: 16px; }
.back-link:hover { color: var(--accent); }

/* ========== TRUST STRIP ========== */
.trust-strip { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 40px; max-width: 1240px; margin: 0 auto; }
.trust-badge { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--fg-2); font-weight: 500; }
.trust-badge .badge-icon { font-size: 1.8rem; }

/* ========== 3D FLOATING CAROUSEL (Homepage) ========== */
.hero-carousel-3d {
  position: relative;
  max-width: 1100px;
  margin: 30px auto 10px;
  padding: 0 20px;
  perspective: 1200px;
}
.carousel-3d-track {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.05);
  animation: carouselFloat3D 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: box-shadow 0.5s;
}
@keyframes carouselFloat3D {
  0%, 100% { transform: translateY(0) rotateX(1deg) rotateY(-0.5deg); }
  25% { transform: translateY(-6px) rotateX(2deg) rotateY(0.5deg); }
  50% { transform: translateY(-2px) rotateX(1deg) rotateY(1deg); }
  75% { transform: translateY(-8px) rotateX(3deg) rotateY(-1deg); }
}
.carousel-3d-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease-out-expo);
}
.carousel-3d-slide.active { opacity: 1; }
.carousel-3d-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 10px var(--accent-glow); }
[data-theme="dark"] .carousel-dot { background: rgba(255,255,255,0.25); }

/* Deprecated old carousel  keep for backward compat */
.hero-banner-carousel { display: none; }

/* ========== CATEGORY TABS (acrylic-wall-photos) ========== */
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 20px 40px; max-width: 1240px; margin: 0 auto; }
.category-tab {
  padding: 10px 20px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--border-glass); background: var(--bg-glass);
  font-size: 0.85rem; font-weight: 500; transition: all 0.25s var(--ease-out-expo);
  color: var(--fg-1); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); font-family: var(--font-body);
}
.category-tab:hover, .category-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 16px var(--accent-glow); }

/* ========== STUDIO STEPS ========== */
.how-it-works { max-width: 920px; margin: 0 auto; padding: 0 40px 60px; }
.step-row { display: flex; gap: 20px; margin-bottom: 26px; align-items: flex-start; }
.step-num {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.step-content h4 { margin-bottom: 4px; font-size: 1.05rem; }
.step-content p { color: var(--fg-2); font-size: 0.92rem; line-height: 1.55; }

/* ========== COMPREHENSIVE MOBILE RESPONSIVE ========== */

/* Tablet: stack product detail, adjust grids */
@media (max-width: 960px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .contact-layout, .studio-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Phone / Small Tablet */
@media (max-width: 768px) {
  /* ---- Navbar ---- */
  .navbar { padding: 0 16px; height: 72px; min-height: 72px; }
  .nav-logo { height: 48px; }
  .nav-brand-name { font-size: 1.15rem; margin-left: 4px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; align-items: center; justify-content: center; font-size: 1.5rem; width: 44px; height: 44px; }

  /* ---- Mobile Nav Overlay ---- */
  .mobile-nav-overlay.open { display: flex; padding: 40px 24px; }
  .mobile-nav-overlay a { font-size: 1.1rem; padding: 16px 24px; width: 100%; text-align: center; border-radius: var(--r-sm); }
  .mobile-nav-overlay a:active { background: var(--bg-glass); }
  .mobile-nav-close { top: 16px; right: 16px; font-size: 1.6rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

  /* ---- Hero ---- */
  .hero { padding: 40px 20px 50px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.2; }
  .hero p { font-size: 0.92rem; }
  .hero-cta-group { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta-group .glass-btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ---- 3D Carousel ---- */
  .hero-carousel-3d { padding: 0 8px; margin: 12px auto 0; }
  .carousel-3d-track { aspect-ratio: 16/9; border-radius: var(--r-lg); }

  /* ---- Section Headers ---- */
  .section-header { padding: 36px 18px 14px; }
  .section-header h1 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }

  /* ---- Pillars ---- */
  .pillars { padding: 16px; gap: 16px; grid-template-columns: 1fr; }
  .pillar { min-height: 260px; padding: 28px; border-radius: var(--r-lg); }
  .pillar-content h3 { font-size: 1.4rem; }

  /* ---- Product Grid ---- */
  .product-grid { padding: 12px 12px 24px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { padding: 12px; border-radius: var(--r-md); }
  .product-card .thumb { border-radius: var(--r-sm); font-size: 2.2rem; }
  .product-card h4 { font-size: 0.8rem; }
  .product-card .price { font-size: 0.78rem; }
  .product-card .mrp { font-size: 0.7rem; }

  /* ---- Product Detail ---- */
  .product-detail { padding: 12px; gap: 16px; }
  .config-canvas { padding: 16px; min-height: auto; border-radius: var(--r-lg); }
  .canvas-frame { width: 220px; height: 280px; border-width: 2px; }
  .canvas-frame.shape-circle, .canvas-frame.shape-square, .canvas-frame.shape-square-round { width: 240px; height: 240px; }
  .canvas-frame.shape-landscape, .canvas-frame.shape-landscape-rounded, .canvas-frame.shape-landscape-smooth { width: 280px; height: 200px; }
  .canvas-frame.shape-egg-portrait, .canvas-frame.shape-bean-portrait, .canvas-frame.shape-balloon { width: 210px; height: 270px; }
  .canvas-frame.shape-egg-landscape, .canvas-frame.shape-bean-landscape { width: 270px; height: 200px; }
  .canvas-frame.shape-collage { width: 240px; height: 280px; }
  .canvas-shape-icon { font-size: 4.5rem; }
  .image-upload-area { padding: 16px; max-width: 100%; }
  .text-customizer { max-width: 100%; }
  .text-customizer input[type=text] { font-size: 1rem; padding: 12px 14px; }
  .purchase-panel { padding: 16px; }
  .pricing .current-price { font-size: 1.6rem; }
  .pricing .original-price { font-size: 0.95rem; }
  .option-matrix { gap: 6px; }
  .option-chip { padding: 8px 14px; font-size: 0.78rem; }
  .font-selector { gap: 6px; }
  .font-chip { padding: 7px 12px; font-size: 0.8rem; }
  .color-selector { gap: 8px; }
  .color-swatch { width: 32px; height: 32px; }

  /* ---- Subcategory Grid ---- */
  .subcat-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px 0; }
  .subcat-card { padding: 22px 18px; border-radius: var(--r-md); }

  /* ---- Category Tabs ---- */
  .category-tabs { gap: 6px; padding: 12px 12px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .category-tab { padding: 8px 14px; font-size: 0.76rem; white-space: nowrap; flex-shrink: 0; }

  /* ---- Gallery ---- */
  .gallery-grid, .gallery-grid-expanded { padding: 12px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item { border-radius: var(--r-md); }
  .gallery-card .gallery-label { font-size: 0.75rem; padding: 10px; }

  /* ---- Lightbox ---- */
  .lightbox img { max-width: 96vw; max-height: 80vh; border-radius: var(--r-md); }
  .lightbox-close { top: 12px; right: 12px; font-size: 1.6rem; }

  /* ---- Contact ---- */
  .contact-layout { padding: 12px 16px 40px; gap: 20px; }
  .contact-info-card { padding: 20px; }
  .contact-form-card { padding: 22px; }
  .contact-form-card input, .contact-form-card textarea, .contact-form-card select { padding: 12px 14px; font-size: 0.9rem; }

  /* ---- Studio ---- */
  .studio-layout { padding: 12px 16px 40px; gap: 16px; }
  .studio-card { padding: 22px 18px; }
  .how-it-works { padding: 0 16px 40px; }
  .step-row { gap: 14px; margin-bottom: 20px; }
  .step-num { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }

  /* ---- Footer: compact 2-col, reduced spacing ---- */
  .footer { padding: 24px 14px 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
  .footer-col h4 { font-size: 0.85rem; margin-bottom: 5px; }
  .footer-col a, .footer-col p { font-size: 0.74rem; margin-bottom: 4px; line-height: 1.4; }
  .footer-bottom { padding-top: 14px; margin-top: 14px; font-size: 0.7rem; }

  /* ---- Breadcrumb ---- */
  .breadcrumb { padding: 10px 14px; font-size: 0.78rem; flex-wrap: wrap; }

  /* ---- Trust Strip: compact 2-col grid ---- */
  .trust-strip { gap: 10px; padding: 14px 14px; display: grid; grid-template-columns: repeat(2, 1fr); }
  .trust-badge { font-size: 0.78rem; gap: 6px; }
  .trust-badge .badge-icon { font-size: 1.3rem; }

  /* ---- Features: compact 2-col ---- */
  .features-grid { padding: 0 14px 28px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features-grid .glass-card { padding: 14px 10px; }
  .features-grid .glass-card h4 { font-size: 0.82rem; }
  .features-grid .glass-card p { font-size: 0.74rem; }

  /* ---- SEO Content ---- */
  .seo-content { padding: 16px; }
  .seo-content h2 { font-size: 1.25rem; }
  .seo-content p, .seo-content li { font-size: 0.88rem; }

  /* ---- Buttons ---- */
  .glass-btn { padding: 12px 22px; font-size: 0.88rem; }
  .whatsapp-btn { padding: 14px; font-size: 1rem; }
  .ar-btn { padding: 13px; font-size: 0.9rem; }

  /* ---- AR Overlay ---- */
  .ar-overlay { padding: 20px; gap: 12px; }
  .ar-overlay video { max-width: 96vw; max-height: 55vh; }
  .ar-room-bg { max-width: 96vw; max-height: 55vh; }
  .ar-preview-overlay { width: 100px; height: 135px; top: 25%; left: 32%; }
  #arProductOverlay { width: 38% !important; }

  /* ---- D-Pad ---- */
  .dpad { grid-template-columns: 44px 44px 44px; grid-template-rows: 32px 32px 32px; gap: 4px; }
  .dpad button { font-size: 1rem; }

  /* ---- Canvas Text Render ---- */
  .canvas-text-render { padding: 12px; }
  .canvas-placeholder { font-size: 0.8rem; gap: 6px; }
}

/* Small Phones */
@media (max-width: 480px) {
  /* ---- Product Grid: tighter 2-col ---- */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px 8px 20px; }
  .product-card { padding: 10px; gap: 6px; }
  .product-card .thumb { font-size: 1.8rem; }
  .product-card h4 { font-size: 0.74rem; }
  .product-card .price { font-size: 0.72rem; }

  /* ---- Hero ---- */
  .hero { padding: 32px 14px 40px; }
  .hero h1 { font-size: 1.45rem; }
  .carousel-3d-track { aspect-ratio: 4/3; border-radius: var(--r-md); }

  /* ---- Canvas Frame: even smaller ---- */
  .canvas-frame { width: 180px; height: 235px; }
  .canvas-frame.shape-circle, .canvas-frame.shape-square, .canvas-frame.shape-square-round { width: 200px; height: 200px; }
  .canvas-frame.shape-landscape, .canvas-frame.shape-landscape-rounded, .canvas-frame.shape-landscape-smooth { width: 235px; height: 170px; }
  .canvas-frame.shape-egg-portrait, .canvas-frame.shape-bean-portrait, .canvas-frame.shape-balloon { width: 175px; height: 225px; }
  .canvas-frame.shape-egg-landscape, .canvas-frame.shape-bean-landscape { width: 230px; height: 165px; }
  .canvas-frame.shape-collage { width: 200px; height: 240px; }

  /* ---- Gallery: still 2-col ---- */
  .gallery-grid, .gallery-grid-expanded { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* ---- Subcategory ---- */
  .subcat-grid { grid-template-columns: 1fr; }

  /* ---- Tabs ---- */
  .category-tabs { gap: 4px; padding: 10px 8px; }
  .category-tab { padding: 7px 12px; font-size: 0.72rem; }

  /* ---- Section ---- */
  .section-header h1 { font-size: 1.35rem; }
  .section-header h2 { font-size: 1.2rem; }

  /* ---- Footer: still 2-col, even tighter ---- */
  .footer { padding: 20px 10px 12px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  .footer-col h4 { font-size: 0.8rem; }
  .footer-col a, .footer-col p { font-size: 0.7rem; }
  .footer-bottom { padding-top: 12px; margin-top: 12px; font-size: 0.68rem; }

  /* ---- Features: 2-col tight ---- */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .features-grid .glass-card { padding: 12px 8px; }
  .features-grid .glass-card h4 { font-size: 0.78rem; }
  .features-grid .glass-card p { font-size: 0.7rem; }

  /* ---- Trust Strip: 2-col tight ---- */
  .trust-strip { gap: 8px; padding: 10px 10px; }
  .trust-badge { font-size: 0.74rem; }

  /* ---- Buttons full-width ---- */
  .glass-btn { width: 100%; justify-content: center; }

  /* ---- Font selector ---- */
  .font-selector { gap: 4px; }
  .font-chip { padding: 6px 10px; font-size: 0.74rem; }
  .font-chip[data-font="script"] { font-size: 0.95rem; }
}
