/* ==========================================================================
   Vidhya Decors - Premium UI Design System
   ========================================================================== */

:root {
  --primary-dark: #1a1a1a;
  --primary-light: #fcfbfa;
  /* Simple, sober, elegant off-white */
  --accent-gold: #c9a84c;
  /* Refined Gold */
  --accent-gold-light: #f5eedf;
  --text-dark: #2a2a2a;
  --text-light: #6c757d;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s ease;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Base Typogrpahy */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--primary-light);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.display-font {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar-custom {
  background-color: rgba(252, 251, 250, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all var(--transition-fast);
}

.navbar-custom.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.brand-icon {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-right: 8px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  margin: 0 1rem;
  position: relative;
  padding: 0.5rem 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-subtle {
  font-size: 0.85rem !important;
  /* approx 14px */
  color: var(--text-light) !important;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 0.5rem 0.8rem !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.nav-link-subtle:hover {
  color: var(--accent-gold) !important;
}

.nav-link-subtle::after {
  display: none !important;
  /* Remove the underline animation for subtle link */
}

.dropdown-admin {
  background-color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: var(--shadow) !important;
  border-radius: var(--radius) !important;
  padding: 0.5rem !important;
  margin-top: 10px !important;
}

.dropdown-admin .dropdown-item {
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.dropdown-admin .dropdown-item:hover {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
}

.dropdown-admin .dropdown-item.text-danger:hover {
  background-color: rgba(217, 83, 79, 0.1);
  color: #d9534f !important;
}

.dropdown-toggle-subtle::after {
  font-size: 0.7rem;
  vertical-align: middle;
  margin-left: 0.4rem;
  opacity: 0.6;
}

/* Buttons */
.btn-custom {
  background: var(--accent-gold);
  color: #fff;
  border: 1px solid var(--accent-gold);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.btn-custom:hover {
  background: transparent;
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.btn-outline-custom:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(252, 251, 250, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.heritage-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.heritage-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background-color: var(--accent-gold);
}

.display-3 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-wrapper:hover .hero-main-img {
  transform: scale(1.05);
}

.floating-badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: white;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-icon-check {
  width: 50px;
  height: 50px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
}

.text-start .section-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 1.5rem auto 3rem;
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.service-card {
  background: #fff;
  padding: 2.5rem;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gold);
  transition: height var(--transition-slow);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.15);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Materials Grid
   ========================================================================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.material-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.material-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.material-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

/* ==========================================================================
   Process Module
   ========================================================================== */
.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.process-step:hover {
  border-left-color: var(--accent-gold);
  box-shadow: var(--shadow);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
}

/* ==========================================================================
   Masonry Gallery
   ========================================================================== */
.feature-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 60px);
  gap: 1.5rem;
  margin: 3rem 0;
}

.collage-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collage-item:hover img {
  transform: scale(1.08);
}

.collage-item.large {
  grid-column: span 7;
  grid-row: span 6;
}

.collage-item:nth-child(2) {
  grid-column: span 5;
  grid-row: span 3;
}

.collage-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 3;
}

.collage-item:nth-child(4) {
  grid-column: span 4;
  grid-row: span 4;
}

.collage-item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 4;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: white;
  padding: 2.5rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-fast);
}

.collage-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.92)), url('https://images.unsplash.com/photo-1616486029423-aaa4789e8c9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 8rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 3.5rem;
  color: #fff;
}

/* ==========================================================================
   Utilities & Common Items
   ========================================================================== */
.stats-item {
  text-align: center;
  padding: 1.5rem;
}

.stats-num {
  font-size: 3rem;
  color: var(--accent-gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}

.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.1) rotate(-10deg);
  color: white;
}

/* Base Inputs Focus override for clean theme */
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2) !important;
  border-color: var(--accent-gold) !important;
}

/* ==========================================================================
   Admin & Interior Pages Overrides
   ========================================================================== */
.lead-page {
  background: var(--primary-light);
  color: var(--text-dark);
  min-height: 100vh;
  padding-top: 100px;
}

.lead-form-wrapper {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg);
}

.auth-input {
  background: var(--primary-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.auth-input:focus {
  background: #fff;
  border-color: var(--accent-gold);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .display-3 {
    font-size: 3rem;
  }

  .feature-collage {
    display: block;
  }

  .collage-item {
    height: 350px;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   Admin Panel — Mobile First Overhaul
   ========================================================================== */

/* ---- Admin wrapper ---- */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 76px;
}

/* ---- Desktop Sidebar ---- */
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 100;
}

.admin-sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--accent-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 0 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 0.5rem;
}

.admin-sidebar-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: var(--text-light);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  padding: 0 1rem;
  opacity: 0.6;
}

.admin-more-drawer-title {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 0.5rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.admin-nav-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(201, 168, 76, 0.1);
  color: var(--primary-dark);
}

.admin-nav-link:hover i,
.admin-nav-link.active i {
  color: var(--accent-gold);
}

.admin-nav-link.active {
  font-weight: 600;
  border-left: 3px solid var(--accent-gold);
  padding-left: calc(1rem - 3px);
}

.admin-nav-logout {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---- Admin Main Content ---- */
.admin-main {
  flex: 1;
  padding: 2rem;
  min-width: 0;
  background: var(--primary-light);
}

/* ---- Admin Page Header ---- */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

/* ---- KPI Cards ---- */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.admin-kpi-card .kpi-icon {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.admin-kpi-card .kpi-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.admin-kpi-card .kpi-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 0.4rem;
}

/* ---- Data Card ---- */
.admin-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

/* ---- Responsive Table → Cards on mobile ---- */
@media (max-width: 768px) {
  .admin-main {
    padding: 1rem 0.85rem;
    padding-bottom: 90px;
    /* space for bottom nav */
  }

  .admin-page-title {
    font-size: 1.5rem;
  }

  /* Hide standard table on mobile, show stacked cards */
  .admin-table-desktop {
    display: none !important;
  }

  .admin-table-mobile {
    display: block !important;
  }

  .admin-kpi-card .kpi-value {
    font-size: 1.8rem;
  }
}

@media (min-width: 769px) {
  .admin-table-mobile {
    display: none !important;
  }
}

/* ---- Lead/Data card for mobile list ---- */
.mobile-data-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mobile-data-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mobile-data-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.mobile-data-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.2rem;
}

.mobile-data-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* ---- Mobile Bottom Nav Bar ---- */
.admin-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1050;
  padding: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
}

@media (max-width: 991px) {
  .admin-bottom-nav {
    display: block;
  }
}

.admin-bottom-nav-inner {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.admin-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.admin-bottom-nav-item i {
  font-size: 1.4rem;
  line-height: 1;
}

.admin-bottom-nav-item.active,
.admin-bottom-nav-item:hover {
  color: var(--accent-gold);
}

.admin-bottom-nav-item.active i {
  transform: translateY(-2px);
}

/* "More" sheet trigger */
.admin-bottom-nav-item.more-trigger {
  cursor: pointer;
}

@media (max-width: 991px) {
  .admin-sidebar {
    display: none;
  }

  .admin-layout {
    flex-direction: column;
  }
}

/* ---- More Drawer (offcanvas-style) ---- */
.admin-more-drawer {
  display: none;
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  z-index: 1040;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (max-width: 991px) {
  .admin-more-drawer {
    display: block;
  }
}

.admin-more-drawer.open {
  transform: translateY(0);
}

.admin-more-drawer-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-more-drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.admin-more-drawer-link:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--primary-dark);
}

.admin-more-drawer-link i {
  font-size: 1.2rem;
  color: var(--accent-gold);
  width: 22px;
  text-align: center;
}

.admin-more-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1035;
  backdrop-filter: blur(2px);
}

.admin-more-overlay.open {
  display: block;
}

/* ---- Utility overrides for admin forms ---- */
@media (max-width: 576px) {

  .btn-custom,
  .btn-outline-custom {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .lead-form-wrapper {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .admin-card-header {
    padding: 0.9rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Advanced 3D Preview Controls
   ========================================================================== */

.material-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  display: inline-block;
  margin-right: 8px;
}

.material-swatch:hover,
.material-swatch.active {
  border-color: var(--accent-gold);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.model-toggle {
  display: flex !important;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 1.5rem;
}

.model-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.model-toggle button.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.config-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
}

#canvas-container canvas {
  cursor: grab;
}

#canvas-container canvas:active {
  cursor: grabbing;
}