/* ═══════════════════════════════════════════════
   Curated Cornerr — Design System CSS
   Theme: Quiet Luxury · Tactile Elegance
   ═══════════════════════════════════════════════ */

/* --- Google Fonts loaded in HTML --- */

:root {
  /* Colors — Aurelian Texture palette */
  --surface: #fcf9f5;
  --surface-dim: #dcdad6;
  --surface-container-low: #f6f3ef;
  --surface-container: #f0ede9;
  --surface-container-high: #eae8e4;
  --surface-container-highest: #e5e2de;
  --on-surface: #1c1c1a;
  --on-surface-variant: #444748;
  --primary: #1A1A1A;
  --on-primary: #ffffff;
  --secondary: #C5A059;
  --secondary-dark: #775a19;
  --on-secondary: #ffffff;
  --outline: #747878;
  --outline-variant: #c4c7c7;

  /* Typography */
  --font-display: 'Bodoni Moda', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --unit: 8px;
  --gutter: 32px;
  --margin-mobile: 20px;
  --margin-desktop: 64px;
  --section-gap: 100px;
  --container-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Typography ─── */
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-md {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.3;
}

.headline-sm {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.4;
}

.body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.body-md {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.label-caps {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── Layout ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--margin-desktop); }
}

.section-gap {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

@media (max-width: 767px) {
  :root { --section-gap: 60px; }
}

/* ─── Header / Nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant);
  transition: transform 0.3s ease;
}

.site-header.hidden-header {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
  height: 72px;
}

@media (min-width: 768px) {
  .header-inner { padding: 0 var(--margin-desktop); }
}

.header-nav {
  display: none;
  gap: 32px;
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  transition: color 0.3s ease;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--on-surface);
  border-bottom-color: var(--on-surface);
}

.header-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .header-brand {
    position: static;
    transform: none;
  }
}

.header-brand img {
  height: 40px;
  width: auto;
}

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

.header-actions button {
  padding: 8px;
  color: var(--on-surface);
  transition: color 0.3s ease;
}

.header-actions button:hover { color: var(--secondary); }

.mobile-menu-btn {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 99;
  padding: 40px var(--margin-mobile);
}

.mobile-menu.open { display: flex; flex-direction: column; gap: 24px; }

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface);
  padding: 12px 0;
  border-bottom: 1px solid var(--outline-variant);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.25);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--margin-mobile);
  color: var(--on-primary);
}

.hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-content p {
  max-width: 560px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.1);
  opacity: 0.95;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-gold {
  display: inline-block;
  background: var(--secondary);
  color: var(--on-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--secondary-dark);
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--primary);
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--secondary);
  margin: 0 auto 20px;
}

.section-header p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--on-surface-variant);
}

/* ─── Product Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Product Card ─── */
.product-card {
  cursor: pointer;
}

.product-card .card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-container-high);
  margin-bottom: 20px;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.product-card .card-info {
  text-align: center;
}

.product-card .card-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
}

.product-card .card-info .card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 8px;
}

.product-card .card-info .card-price {
  font-size: 14px;
  color: var(--secondary-dark);
  font-weight: 500;
}

.product-card .card-info .card-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .card-info .card-cta {
  opacity: 1;
}

/* ─── Feature / Craft Section ─── */
.craft-section {
  background: var(--surface-container-low);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .craft-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.craft-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.craft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  box-shadow: 0 20px 40px rgba(26, 26, 26, 0.04);
}

.craft-image:hover img {
  transform: scale(1.03);
}

.craft-text h2 {
  margin-bottom: 28px;
  color: var(--primary);
}

.craft-text p {
  color: var(--on-surface-variant);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ─── Enquiry Form ─── */
.enquiry-section {
  background: var(--surface-container-low);
}

.enquiry-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--outline-variant);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--on-surface);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.5;
}

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

/* Phone input with prefix */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-container-low);
  transition: border-color 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: var(--primary);
}

.phone-prefix {
  padding: 12px 14px;
  color: var(--on-surface-variant);
  font-size: 15px;
  font-weight: 500;
  background: var(--surface-container-high);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}

.phone-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--on-surface);
  outline: none;
}

.phone-input-wrap input::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.5;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.show { display: block; }

.form-success h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.form-success p {
  color: var(--on-surface-variant);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--surface-container-low);
  border-top: 1px solid rgba(196, 199, 199, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-gap) var(--margin-mobile) 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    padding: var(--section-gap) var(--margin-desktop) 40px;
  }
}

.footer-brand p {
  color: var(--on-surface-variant);
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--on-surface-variant);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--margin-mobile);
  border-top: 1px solid var(--outline-variant);
  text-align: center;
  font-size: 13px;
  color: var(--on-surface-variant);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-bottom { padding: 24px var(--margin-desktop); text-align: left; }
}

/* ─── Product Detail Page ─── */
.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0;
}

@media (min-width: 1024px) {
  .product-hero {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    padding: 0;
  }
}

.product-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-container-low);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-out;
}

.product-gallery:hover img {
  transform: scale(1.02);
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-details h1 {
  margin-bottom: 8px;
  color: var(--primary);
}

.product-details .product-subtitle {
  color: var(--on-surface-variant);
  margin-bottom: 28px;
  font-size: 18px;
}

.product-details .product-desc {
  color: var(--on-surface-variant);
  margin-bottom: 32px;
  line-height: 1.7;
}

.spec-table {
  width: 100%;
  margin-bottom: 36px;
}

.spec-table .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-container-highest);
  font-size: 15px;
}

.spec-table .spec-row span:first-child {
  color: var(--on-surface-variant);
}

.spec-table .spec-row span:last-child {
  color: var(--primary);
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-actions .btn-primary,
.product-actions .btn-outline {
  width: 100%;
  text-align: center;
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  padding: 20px 0;
}

.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 8px; color: var(--outline); }

/* ─── Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.text-secondary { color: var(--secondary); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ═══════════════════════════════════════════════
   Room Visualiser
   ═══════════════════════════════════════════════ */

.visualiser-section {
  min-height: calc(100vh - 72px);
}

.visualiser-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
}

@media (min-width: 1024px) {
  .visualiser-layout {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ─── Left: Room Preview ─── */
.visualiser-preview {
  position: relative;
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 24px;
}

@media (min-width: 1024px) {
  .visualiser-preview {
    min-height: auto;
    padding: 48px;
  }
}

.preview-container {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.preview-room {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-container-high);
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.12);
}

.preview-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.wallpaper-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.wallpaper-overlay.active {
  opacity: 0.85;
}

.preview-label {
  position: absolute;
  bottom: -36px;
  left: 0;
  color: var(--on-surface-variant);
  opacity: 0.6;
}

/* ─── Right: Controls ─── */
.visualiser-controls {
  display: flex;
  align-items: center;
  padding: 32px 24px;
  background: var(--surface);
}

@media (min-width: 1024px) {
  .visualiser-controls {
    padding: 48px 48px 48px 40px;
  }
}

.controls-inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .controls-inner {
    margin: 0;
  }
}

/* ─── Room Style Selector ─── */
.room-selector {
  margin-bottom: 36px;
}

.room-selector > label {
  display: block;
  margin-bottom: 14px;
  color: var(--on-surface-variant);
}

.room-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--outline-variant);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: all 0.25s ease;
  cursor: pointer;
}

.room-option .material-symbols-outlined {
  font-size: 18px;
}

.room-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.room-option.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

/* ─── Wallpaper Catalogue ─── */
.wallpaper-catalogue {
  margin-bottom: 36px;
}

.wallpaper-catalogue > label {
  display: block;
  margin-bottom: 14px;
  color: var(--on-surface-variant);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.catalogue-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  background: var(--surface-container-high);
}

.catalogue-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

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

.catalogue-item.active {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary);
}

.catalogue-item .item-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 8px 6px;
  background: linear-gradient(transparent, rgba(26,26,26,0.7));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

/* ─── Upload Button (Phase 2 placeholder) ─── */
.btn-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: 1.5px dashed var(--outline-variant);
  background: transparent;
  color: var(--on-surface-variant);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-bottom: 12px;
  position: relative;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-upload .material-symbols-outlined {
  font-size: 20px;
}

.coming-soon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-left: auto;
}

.visualiser-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ═════════════════════════════════════════════════════════
   DYNAMIC PRODUCTS
   ═════════════════════════════════════════════════════════ */

.price-current {
  font-weight: 600;
  color: var(--on-surface);
  margin-right: 8px;
}

.price-mrp {
  text-decoration: line-through;
  color: var(--outline);
  font-size: 0.85em;
  margin-right: 8px;
}

.card-discount,
.discount-badge {
  background: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  display: inline-block;
}

.discount-badge {
  margin-left: 8px;
}

.card-mrp {
  text-decoration: line-through;
  color: var(--outline);
  font-size: 0.85em;
  margin-right: 0.3em;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.product-detail-hero {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.product-detail-collection {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.product-detail-name {
  font-size: 2rem;
  margin: 0 0 12px 0;
}

.product-detail-tagline {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  margin-bottom: 20px;
  font-style: italic;
}

.product-detail-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-detail-unit {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--outline);
}

.product-mrp {
  text-decoration: line-through;
  color: var(--outline);
  font-size: 0.9em;
  font-weight: 400;
}

.product-detail-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-surface);
  margin-bottom: 28px;
}

.product-detail-specs,
.product-detail-features,
.product-detail-rooms {
  margin-bottom: 24px;
}

.product-detail-specs h3,
.product-detail-features h3,
.product-detail-rooms h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 12px;
}

.product-detail-specs dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  font-size: 0.95rem;
}

.product-detail-specs dt {
  color: var(--outline);
  font-weight: 500;
}

.product-detail-specs dd {
  margin: 0;
  color: var(--on-surface);
}

.product-detail-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-detail-features li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--on-surface);
}

.product-detail-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--surface-variant);
  color: var(--on-surface-variant);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* ═════════════════════════════════════════════════════════
   GALLERY + LIGHTBOX + ZOOM
   ═════════════════════════════════════════════════════════ */

.gallery-hero {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-variant);
  position: relative;
  cursor: zoom-in;
}

.gallery-hero img,
.gallery-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-out;
  display: block;
}

.gallery-hero img.zoomable:hover {
  transform: scale(1.8);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--surface-variant);
  transition: border-color 0.2s, transform 0.2s;
  padding: 0;
  position: relative;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 20px;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.lightbox-content {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-media {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-zoom-wrap {
  width: 85vw;
  height: 85vh;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.lightbox-zoom-wrap .lb-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.12s ease-out;
}

.lightbox-zoom-wrap:hover .lb-zoom-img {
  transform: scale(2.5);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 10;
}

@media (max-width: 768px) {
  .gallery-hero { aspect-ratio: 1; }
  .gallery-thumb { width: 56px; height: 56px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 24px; }
}
