/* ==========================================================================
   AQWAKE APPAREL — Components & Interactive Styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Announcement Bar
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: #6D4132;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(166, 158, 135, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 101;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-item i {
  color: var(--color-tan-light);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .announcement-desktop-only {
    display: none !important;
  }
  .announcement-bar {
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    text-align: center;
  }
  .announcement-content {
    justify-content: center;
    gap: 0;
  }
}

/* --------------------------------------------------------------------------
   2. Main Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 0.2rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  width: 100%;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  transition: height var(--transition-normal);
}

.site-header.scrolled .header-container {
  height: 78px;
}

.header-left-cluster {
  display: contents;
}

.mobile-search-btn {
  display: none;
}

/* Brand Logo - Box Design with LEATHER COLLECTION */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: clamp(0.75rem, 1.5vw, 1.5rem);
}

.brand-logo-img {
  height: clamp(62px, 5.8vw, 76px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), opacity var(--transition-fast), height var(--transition-normal);
}

.site-header.scrolled .brand-logo-img {
  height: 56px;
}

.brand-logo:hover .brand-logo-img {
  opacity: 0.85;
  transform: scale(1.02);
}

.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.brand-logo-svg {
  width: clamp(165px, 13vw, 195px);
  height: auto;
  display: block;
  overflow: visible;
  color: var(--color-charcoal);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-svg {
  color: var(--color-slate);
}

/* Nav Links - Strictly single-line, flexible center */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.3vw, 1.5rem);
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

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

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

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

.nav-link .nav-tag {
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--color-terracotta);
  color: #fff;
  padding: 0.12rem 0.38rem;
  border-radius: var(--radius-sm);
  margin-left: 0.35rem;
  line-height: 1.2;
  display: inline-block;
}

/* Header Actions - CAN NEVER BE PUSHED OUT OF VIEW */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-left: auto;
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
  position: relative;
  flex-shrink: 0;
}

.action-btn:hover {
  background-color: var(--color-sand-light);
  color: var(--color-slate);
}

.action-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Currency Select */
.currency-select-wrap {
  position: relative;
  margin-right: 0.25rem;
  flex-shrink: 0;
}

.currency-select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 0.38rem 1.3rem 0.38rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
}

.currency-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  pointer-events: none;
  color: var(--color-muted);
}

/* Palette Mood Switcher Button in Header - ALWAYS IN VIEW */
.palette-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-sand-light);
  border: 1px solid rgba(166, 158, 135, 0.4);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
}

.palette-switcher-btn:hover {
  background: var(--color-sand);
  color: var(--color-charcoal);
}

.palette-dots {
  display: flex;
  gap: 3px;
}

.palette-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mobile-toggle {
  display: none;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Hero Section (Flex Column, Zero Overlay Risk)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-slate-deep);
  color: #FFFFFF;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.68) contrast(1.06);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.05);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 29, 26, 0.88) 0%,
    rgba(31, 29, 26, 0.50) 50%,
    rgba(31, 29, 26, 0.25) 100%
  );
}

/* Main Hero Body Container */
.hero-body-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tan-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--color-tan-light);
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.hero-buttons .btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  gap: 0.32rem !important;
}

.hero-buttons .btn i {
  margin-right: 0 !important;
  font-size: 0.74rem;
}

/* Floating Hero Star Rating Badge (Bottom Right of Hero Image) */
.hero-rating-badge {
  position: absolute;
  bottom: 2.25rem;
  right: clamp(6.5rem, 8vw, 8rem);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(31, 29, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 204, 194, 0.28);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.hero-rating-badge:hover {
  background: rgba(31, 29, 26, 0.95);
  border-color: var(--color-tan);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #E29E3C;
  font-size: 0.85rem;
}

.hero-rating-score {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.hero-rating-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Floating Hero Lifestyle Proof Badge (Bottom Left of Hero Image) */
.hero-lifestyle-badge {
  position: absolute;
  bottom: 2.25rem;
  left: clamp(2rem, 6vw, 6.5rem);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(31, 29, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 204, 194, 0.28);
  padding: 0.42rem 1rem 0.42rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
  cursor: default;
}

.hero-lifestyle-badge:hover {
  background: rgba(31, 29, 26, 0.95);
  border-color: var(--color-tan);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-lifestyle-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3A2E26;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.hero-avatar-img:first-child {
  margin-left: 0;
}

.hero-lifestyle-badge:hover .hero-avatar-img {
  transform: scale(1.08);
}

.hero-lifestyle-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-lifestyle-top {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
}

.hero-lifestyle-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Value Proposition Features Bar (Normal Flow - NEVER overlaps buttons!) */
.hero-features-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
  background: rgba(31, 29, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(216, 204, 194, 0.16);
  padding: 1.35rem 0;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tan);
  font-size: 1rem;
}

.hero-feature-text h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.hero-feature-text p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   4. Signature Collections Carousel (Volcano Vapes Inspired)
   -------------------------------------------------------------------------- */
.collections-carousel-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.carousel-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.carousel-header-left {
  max-width: 680px;
}

.carousel-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(109, 65, 50, 0.12);
  border: 1px solid rgba(109, 65, 50, 0.30);
  color: var(--color-terracotta-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.carousel-eyebrow-pill i {
  color: var(--color-terracotta);
}

/* 3D Collections Stage with Flanking Arrows (360 Cylindrical Ring Orbit) */
.collections-3d-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 32%;
  overflow: visible;
  user-select: none;
  touch-action: pan-y;
}

.stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-nav-arrow.arrow-left {
  left: 4px;
}

.stage-nav-arrow.arrow-right {
  right: 4px;
}

@media (min-width: 1280px) {
  .stage-nav-arrow.arrow-left {
    left: -20px;
  }
  .stage-nav-arrow.arrow-right {
    right: -20px;
  }
}

.stage-nav-arrow:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 28px rgba(109, 65, 50, 0.35);
}

.stage-nav-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* 3D Stage Ring Track */
.collections-3d-ring {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  user-select: none;
}

.collections-3d-ring .collection-carousel-card {
  position: absolute;
  width: clamp(220px, 18vw, 250px);
  height: 355px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 34px rgba(31, 29, 26, 0.10);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.collections-3d-ring .collection-carousel-card:hover {
  border-color: var(--color-terracotta);
}

.collections-3d-ring .collection-carousel-card.card-active {
  border: 2.5px solid var(--color-terracotta);
  box-shadow: 0 25px 60px rgba(31, 29, 26, 0.22), 0 0 0 1.5px rgba(109, 65, 50, 0.4);
}

.collection-card-media {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background-color: var(--color-sand-light);
}

.collection-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-carousel-card:hover .collection-card-img {
  transform: scale(1.08);
}

.collection-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}

.collection-badges-row {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.collection-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(35, 33, 31, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collection-pill-badge.badge-featured {
  background: linear-gradient(90deg, #6D4132, #A69E87);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(109, 65, 50, 0.35);
}

.collection-pill-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.collection-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.collection-card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.35rem;
  display: block;
}

.collection-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.collection-carousel-card:hover .collection-card-title {
  color: var(--color-slate);
}

.collection-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.collection-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-slate-deep);
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.collection-carousel-card:hover .collection-card-cta {
  color: var(--color-terracotta);
  padding-left: 0.25rem;
}

.collection-card-cta i {
  transition: transform var(--transition-fast);
}

.collection-carousel-card:hover .collection-card-cta i {
  transform: translateX(4px);
}


/* Indicators */
.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-indicator-dot {
  height: 8px;
  width: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border-dark);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-indicator-dot.active {
  width: 32px;
  background: var(--color-terracotta);
  box-shadow: 0 2px 6px rgba(109, 65, 50, 0.4);
}

/* --------------------------------------------------------------------------
   5. Product Showcase & Filters
   -------------------------------------------------------------------------- */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-warm);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--color-slate);
  color: var(--color-slate);
}

.filter-pill.active {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  box-shadow: 0 4px 12px rgba(109, 65, 50, 0.25);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-select {
  padding: 0.6rem 1.8rem 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-charcoal);
  cursor: pointer;
}

.items-counter {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Catalog View Toggles (Carousel vs Grid) */
.catalog-view-toggles {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  gap: 2px;
}

.catalog-view-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.catalog-view-btn:hover {
  color: var(--color-charcoal);
}

.catalog-view-btn.active {
  background: var(--color-charcoal);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(31, 29, 26, 0.25);
}

/* ==========================================================================
/* ==========================================================================
   BEST SELLERS 3D CAROUSEL (Front-Focused Hero Stage)
   ========================================================================== */

.bestsellers-3d-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  overflow: visible;
  user-select: none;
  touch-action: pan-y;
}

/* Flanking Stage Nav Arrows */
.bestsellers-3d-stage-wrap .stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-left {
  left: 4px;
}

.bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-right {
  right: 4px;
}

@media (min-width: 1280px) {
  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-left {
    left: -16px;
  }
  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-right {
    right: -16px;
  }
}

.bestsellers-3d-stage-wrap .stage-nav-arrow:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 26px rgba(109, 65, 50, 0.35);
}

.bestsellers-3d-stage-wrap .stage-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* 3D Ring Stage */
.bestsellers-3d-ring {
  position: relative;
  width: 100%;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  user-select: none;
}

/* Product Card in 3D Stage — Sleeker & Smaller */
.bestsellers-3d-ring .product-card {
  position: absolute;
  width: clamp(225px, 17.5vw, 252px);
  height: 410px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  will-change: transform, opacity;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.bestsellers-3d-ring .product-card .card-media-wrap {
  height: 195px;
  aspect-ratio: unset;
  position: relative;
  background-color: var(--color-mist-ice);
  overflow: hidden;
}

.bestsellers-3d-ring .product-card .card-body {
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #FFFFFF;
}

.bestsellers-3d-ring .product-card .card-title {
  font-size: 0.88rem;
  line-height: 1.3;
  height: 2.3rem;
  margin-bottom: 0.35rem;
}

.bestsellers-3d-ring .product-card .card-category {
  font-size: 0.66rem;
  margin-bottom: 0.25rem;
}

.bestsellers-3d-ring .product-card .card-rating {
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.bestsellers-3d-ring .product-card .card-swatches {
  margin-bottom: 0.55rem;
  min-height: 14px;
  gap: 5px;
}

.bestsellers-3d-ring .product-card .swatch-dot {
  width: 13px;
  height: 13px;
}

.bestsellers-3d-ring .product-card .card-price-row {
  padding-top: 0.55rem;
}

.bestsellers-3d-ring .product-card .card-price {
  font-size: 0.98rem;
}

.bestsellers-3d-ring .product-card .card-quick-actions {
  bottom: 8px;
  left: 8px;
  right: 8px;
  gap: 0.35rem;
}

.bestsellers-3d-ring .product-card .card-quick-view-btn {
  padding: 0.5rem 0.4rem;
  font-size: 0.7rem;
}

.bestsellers-3d-ring .product-card .card-quick-add-btn {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.bestsellers-3d-ring .product-card .wishlist-btn {
  width: 32px;
  height: 32px;
  top: 8px;
  right: 8px;
  font-size: 0.8rem;
}

.bestsellers-3d-ring .product-card:hover {
  border-color: var(--color-terracotta);
}

/* Center Highlight Card — Front & Prominent */
.bestsellers-3d-ring .product-card.card-center {
  border: 2px solid var(--color-terracotta);
  box-shadow: 0 20px 48px rgba(31, 29, 26, 0.18), 0 0 0 1px rgba(109, 65, 50, 0.35);
}

/* Product Card */
.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 65, 50, 0.25);
}

.card-media-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--color-mist-ice);
  overflow: hidden;
}

.card-img-primary,
.card-img-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.6s var(--ease-spring);
}

.card-img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .card-img-secondary {
  opacity: 1;
  transform: scale(1.04);
}

/* When hovering over swatches or if swatches are being interacted with, keep the primary image crystal clear */
.product-card:has(.card-swatches:hover) .card-img-secondary {
  opacity: 0 !important;
}

.product-card:hover .card-img-primary {
  transform: scale(1.04);
}

/* Badges on Card */
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.wishlist-btn:hover,
.wishlist-btn.active {
  background: #FFFFFF;
  color: #C50000;
  transform: scale(1.1);
}

/* Quick Action Overlay */
.card-quick-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.card-quick-view-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-slate-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.card-quick-view-btn:hover {
  background: var(--color-slate);
  color: #FFFFFF;
}

.card-quick-add-btn {
  width: 38px;
  height: 38px;
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.card-quick-add-btn:hover {
  background: var(--color-terracotta-dark);
  transform: scale(1.05);
}

/* Card Content */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.card-rating .stars {
  color: var(--color-terracotta);
}

.card-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.85rem;
  min-height: 16px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.swatch-dot:hover,
.swatch-dot.active {
  transform: scale(1.3);
  border-color: var(--color-slate);
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--color-slate);
}

.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-warm);
}

.card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-deep);
}

.card-compare-price {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
}

.card-view-details-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-slate);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
}

.card-view-details-btn:hover {
  background: rgba(184, 91, 53, 0.08);
  border-color: rgba(184, 91, 53, 0.25);
  color: var(--color-terracotta);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   5B. Authentic Field Lifestyle Lookbook ("In The Wild — Bushveld to Boulevards")
   -------------------------------------------------------------------------- */
.lifestyle-lookbook-section {
  background: linear-gradient(180deg, #FAF8F5 0%, #F5EFE8 100%);
  position: relative;
  border-top: 1px solid rgba(132, 84, 43, 0.12);
  border-bottom: 1px solid rgba(132, 84, 43, 0.12);
}

.lifestyle-header-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.lifestyle-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lifestyle-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 29, 26, 0.08), 0 2px 8px rgba(31, 29, 26, 0.04);
  background: #1F1D1A;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  border: 1px solid rgba(223, 206, 184, 0.25);
}

.lifestyle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(31, 29, 26, 0.2), 0 6px 18px rgba(132, 84, 43, 0.22);
  border-color: rgba(197, 168, 128, 0.6);
}

.lifestyle-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #2A2521;
}

.lifestyle-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-card:hover .lifestyle-card-img {
  transform: scale(1.06);
}

.lifestyle-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.15) 0%,
    rgba(20, 18, 16, 0) 35%,
    rgba(20, 18, 16, 0.62) 68%,
    rgba(20, 18, 16, 0.96) 100%
  );
  z-index: 2;
  transition: opacity 0.3s ease;
}

.lifestyle-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(31, 29, 26, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 206, 184, 0.35);
  color: #DFCEB8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.lifestyle-card:hover .lifestyle-tag-pill {
  background: rgba(132, 84, 43, 0.92);
  border-color: #DFCEB8;
  color: #FFFFFF;
}

.lifestyle-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-card-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #DFCEB8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.95;
}

.lifestyle-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lifestyle-card-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin: 0.25rem 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lifestyle-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #C5A880;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  transition: gap 0.25s ease, color 0.25s ease;
}

.lifestyle-card:hover .lifestyle-card-action {
  color: #FFFFFF;
  gap: 0.75rem;
}

.lifestyle-card-action i {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.lifestyle-card:hover .lifestyle-card-action i {
  transform: translateX(3px);
}

@media (max-width: 1080px) {
  .lifestyle-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .lifestyle-editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lifestyle-card-media {
    aspect-ratio: 4 / 4.8;
  }
  .lifestyle-card-title {
    font-size: 1.15rem;
  }
}

/* --------------------------------------------------------------------------
   6. Interactive "Shop The Look" / Lookbook
   -------------------------------------------------------------------------- */
.lookbook-section {
  position: relative;
  background-color: var(--color-slate-deep);
  color: #FFFFFF;
  overflow: hidden;
}

.lookbook-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.lookbook-scene {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
}

.lookbook-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hotspot Pins */
.hotspot-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-terracotta);
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.hotspot-pin::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(109, 65, 50, 0.4);
  animation: pulsePin 2s infinite;
  z-index: -1;
}

@keyframes pulsePin {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-pin:hover,
.hotspot-pin.active {
  transform: scale(1.2);
  background: var(--color-slate);
}

/* Hotspot Popover Card */
.hotspot-popover {
  position: absolute;
  background: #FFFFFF;
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  width: 240px;
  z-index: 20;
  display: none;
  border: 1px solid var(--color-border);
  animation: fadeIn 0.3s ease;
}

.hotspot-popover.active {
  display: block;
}

.popover-prod-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.popover-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.popover-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate);
  margin-bottom: 0.65rem;
}

.lookbook-info {
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   7. Craftsmanship & Heritage Pillars
   -------------------------------------------------------------------------- */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.craft-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border-warm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.craft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-slate-light);
}

.craft-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-mist-light);
  color: var(--color-slate);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.craft-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-charcoal);
}

.craft-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Reviews Carousel
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  margin-top: 3rem;
}

.review-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border-warm);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--color-terracotta);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-charcoal);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--color-border-warm);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-charcoal);
}

.author-loc {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  color: #2E7D32;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. VIP Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-banner {
  background: linear-gradient(135deg, #1F1D1A 0%, #30211B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(166, 158, 135, 0.25);
}

.newsletter-pattern {
  position: absolute;
  right: -5%;
  bottom: -20%;
  opacity: 0.06;
  font-size: 22rem;
  pointer-events: none;
  font-family: var(--font-brand);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0.65rem;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-tan-light);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   10. Slide-out Cart Drawer
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  z-index: 10050;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: var(--color-linen);
}

/* Free Shipping & Wholesale MOQ Meter */
.shipping-meter-wrap {
  background: var(--color-mist-light);
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.shipping-meter-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-slate-deep);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meter-track {
  height: 6px;
  background: rgba(166, 158, 135, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-tan) 0%, var(--color-terracotta) 100%);
  border-radius: var(--radius-full);
  width: 100%;
  transition: width 0.5s var(--ease-spring);
}

.cart-moq-banner {
  margin-top: 0.55rem;
  padding: 0.42rem 0.65rem;
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: #4A3228;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
}

.cart-moq-banner i {
  color: #6D4132;
  flex-shrink: 0;
}

/* Drawer Items List */
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cart-empty-state {
  margin: auto;
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--color-muted);
}

.cart-empty-icon {
  font-size: 2.8rem;
  color: var(--color-sand);
  margin-bottom: 0.85rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--color-border-warm);
}

.cart-item-img {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-linen);
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-slate-deep);
  font-size: 0.95rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-linen);
  font-size: 0.8rem;
  color: var(--color-charcoal);
}

.qty-input {
  width: 32px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
}

.cart-item-remove {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-left: 0.5rem;
  cursor: pointer;
}

.cart-item-remove:hover {
  color: #C50000;
}

/* Drawer Footer */
.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-ivory);
  position: relative;
  z-index: 5;
}

/* Front-Facing Inline Cart Alert (Never behind checkout box) */
.cart-drawer-inline-alert {
  background: #FFF4F2;
  border: 1.5px solid #D9534F;
  border-left: 4px solid #C0392B;
  color: #781E19;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  box-shadow: 0 6px 18px rgba(192, 57, 43, 0.14);
}

.cart-alert-icon {
  color: #C0392B;
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.cart-alert-content {
  flex: 1;
  min-width: 0;
}

.cart-alert-title {
  font-weight: 700;
  font-size: 0.84rem;
  color: #96221B;
  margin-bottom: 2px;
}

.cart-alert-subtitle {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #5E1B17;
}

.cart-alert-close {
  color: #96221B;
  opacity: 0.7;
  font-size: 0.85rem;
  padding: 2px 4px;
  cursor: pointer;
}

.cart-alert-close:hover {
  opacity: 1;
}

@keyframes cartAlertShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.cart-alert-shake {
  animation: cartAlertShake 0.38s ease;
}

.drawer-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.drawer-tax-note {
  font-size: 0.74rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.checkout-btn {
  width: 100%;
  padding: 0.92rem 1rem;
  justify-content: center;
}

.get-quote-btn {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.82rem 1rem;
  justify-content: center;
  border: 1.5px solid #6D4132;
  color: #6D4132;
  background: #FFFFFF;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.get-quote-btn:hover {
  background: #6D4132;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   11. Quick View Modal Dialog
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 22, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000005;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Ensure Quick View modal is strictly on top of all other backdrops */
#quickViewContainer {
  position: relative;
  z-index: 2000050 !important;
}

#quickViewModal,
.modal-backdrop#quickViewModal {
  z-index: 2000050 !important;
}

#quickViewModal .quickview-dialog {
  z-index: 2000051 !important;
}

.quickview-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-spring);
}

.modal-backdrop.active .quickview-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--color-charcoal);
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

.modal-gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-linen);
  margin-bottom: 1rem;
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.modal-thumb.active {
  border-color: var(--color-slate);
}

/* Modal details */
.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-badge {
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.modal-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-deep);
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-options-block {
  margin-bottom: 1.25rem;
}

.option-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.sizes-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-pill {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-pill:hover,
.size-pill.active {
  border-color: var(--color-slate);
  background: var(--color-slate);
  color: #FFFFFF;
}

.qv-color-pill {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: #FFFFFF;
  color: var(--color-charcoal);
  border: 1px solid rgba(166, 158, 135, 0.35);
}

.qv-color-pill:hover {
  border-color: var(--color-terracotta);
  background: rgba(184, 91, 53, 0.05);
  color: var(--color-charcoal);
}

.qv-color-pill.active {
  border-color: var(--color-terracotta) !important;
  background: rgba(184, 91, 53, 0.12) !important;
  color: var(--color-terracotta) !important;
  box-shadow: 0 0 0 1px var(--color-terracotta);
}

/* Stock tag */
.stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #2E7D32;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.stock-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
}

/* --------------------------------------------------------------------------
   12. Instant Search Modal
   -------------------------------------------------------------------------- */
.search-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--color-slate);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.search-input-wrap i {
  font-size: 1.4rem;
  color: var(--color-slate);
}

.search-main-input {
  flex: 1;
  border: none;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-charcoal);
  outline: none;
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--color-linen);
}

.search-result-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   12b. Curated Collection Catalog Modal
   -------------------------------------------------------------------------- */
.collection-modal-dialog {
  background: #FFFFFF;
  border-radius: 20px;
  width: 95%;
  max-width: 1240px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border);
  position: relative;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border-warm);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--bg-secondary);
  gap: 1rem;
}

.collection-modal-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-top: 0.25rem;
  margin-bottom: 0.2rem;
}

.collection-modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.collection-modal-body {
  padding: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.collection-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .collection-modal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .collection-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .collection-modal-header {
    padding: 1.25rem;
  }
  .collection-modal-body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .collection-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #6D4132;
  color: #FFFFFF;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 4px solid var(--color-tan);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.80);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-sand);
  transform: translateX(4px);
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--color-tan);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all var(--transition-fast);
}

.pay-badge:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pay-badge i {
  font-size: 0.95rem;
}

/* --- Footer Bottom Centered Meta & Systect Neon LED --- */
.footer-bottom-centered-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  width: 100%;
}

.footer-copyright-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.footer-policy-line {
  margin-top: 0.15rem;
}

.footer-policy-centered-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.footer-policy-centered-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}
.footer-policy-centered-link i {
  font-size: 0.9rem;
  color: var(--color-primary-gold, #C8A962);
}

.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}
.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.25);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 61, 230, 0.75),
       0 0 12px rgba(255, 61, 230, 0.35);
  }
  40% {
    color: #44ff26;
    border-color: rgba(68, 255, 38, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(68, 255, 38, 0.75),
       0 0 12px rgba(68, 255, 38, 0.35);
  }
  60% {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 215, 0, 0.75),
       0 0 12px rgba(255, 215, 0, 0.35);
  }
  80% {
    color: #5c6eff;
    border-color: rgba(92, 110, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(92, 110, 255, 0.75),
       0 0 12px rgba(92, 110, 255, 0.35);
  }
}

/* --------------------------------------------------------------------------
   14. Mobile Navigation Drawer & Backdrop
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 33, 31, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 290;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--bg-primary);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: #FFFFFF;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  background: var(--color-sand-light);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
}

.mobile-nav-links {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--color-sand-light);
  color: var(--color-slate);
  padding-left: 1.25rem;
}

.mobile-nav-link i {
  font-size: 0.85rem;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--bg-secondary);
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints (Guaranteed Zero Overflow)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .header-container {
    gap: 0.75rem;
  }
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.75rem;
  }
  .brand-logo-img {
    height: 56px;
  }
}

/* Collapse desktop nav cleanly at 1140px so Palette & actions NEVER get clipped */
@media (max-width: 1140px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .header-container {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .brand-logo {
    margin-right: 0.5rem;
  }
  .brand-logo-img {
    height: 52px;
  }
  .currency-select-wrap {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  /* Site Header Mobile Zero-Reflow & Smooth Scroll */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(250, 248, 245, 0.98) !important;
    transition: none !important;
  }
  .header-container {
    height: 70px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    gap: 0.35rem !important;
    transition: none !important;
  }
  .site-header.scrolled {
    padding: 0 !important;
    box-shadow: 0 2px 10px rgba(31, 29, 26, 0.08) !important;
  }
  .site-header .header-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 68px !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .site-header.scrolled .header-container {
    height: 64px !important;
  }
  /* Left Cluster on Mobile: Hamburger Menu + Search Button */
  .header-left-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    z-index: 10 !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    color: var(--color-charcoal) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  .mobile-search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
    color: var(--color-terracotta) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: background var(--transition-fast) !important;
  }
  .mobile-search-btn:active {
    background: rgba(109, 65, 50, 0.08) !important;
  }

  /* Centered Brand Logo - Increased in size on mobile */
  .brand-logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .brand-logo-img,
  .site-header.scrolled .brand-logo-img {
    height: 52px !important;
    max-width: 175px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: none !important;
  }

  /* Right Cluster on Mobile: Profile + Cart Bag */
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
    position: relative !important;
  }
  #accountTrigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }
  .open-cart-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* Hide Desktop-only / relocated items on Mobile */
  #searchTrigger.header-desktop-search,
  .currency-select-wrap,
  #headerWishlistBtn,
  .header-wishlist-btn,
  #adminDashboardTrigger {
    display: none !important;
  }
  .action-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }
  .action-badge {
    top: 0 !important;
    right: 0 !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 0.58rem !important;
  }
  
  /* Palette Mood Button on Mobile - Clear, Polished & Prominent */
  .palette-switcher-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem !important;
    padding: 0.25rem 0.5rem !important;
    background: #FFFFFF;
    border: 1.5px solid var(--color-terracotta);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(31, 29, 26, 0.12);
    font-size: 0.68rem !important;
    font-weight: 700;
    color: var(--color-charcoal);
    flex-shrink: 0 !important;
  }
  .palette-switcher-btn span {
    display: inline-block !important; /* Always show text on mobile */
    font-size: 0.68rem !important;
    letter-spacing: 0.02em;
  }
  .palette-dots {
    display: flex;
    gap: 2px !important;
  }
  .palette-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  /* Mobile Hero Layout: Badge at Top, Centered Heading, Buttons Bottom-Left, Star Rating Bottom-Right */
  .hero-section {
    position: relative !important;
    min-height: 540px !important;
  }
  .hero-body-wrapper {
    position: static !important;
    padding-top: 4.8rem !important;
    padding-bottom: 7.5rem !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
  }
  .hero-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-badge {
    position: absolute !important;
    top: 1.15rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 0 !important;
    font-size: 0.62rem !important;
    padding: 0.26rem 0.65rem !important;
    letter-spacing: 0.06em !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background: rgba(31, 29, 26, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  .hero-badge i {
    font-size: 0.62rem !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 0 !important;
  }
  .hero-buttons {
    position: absolute !important;
    bottom: 1.25rem !important;
    left: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.38rem !important;
    width: auto !important;
    max-width: calc(100% - 150px) !important;
    z-index: 10 !important;
    margin: 0 !important;
  }
  .hero-buttons .btn {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.42rem 0.85rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.03em !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    gap: 0.28rem !important;
  }
  .hero-buttons .btn i {
    font-size: 0.62rem !important;
    margin-right: 0 !important;
  }
  .hero-rating-badge {
    position: absolute !important;
    bottom: 1rem !important;
    right: 0.85rem !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.35rem 0.6rem !important;
    gap: 0.3rem !important;
    border-radius: var(--radius-full) !important;
    background: rgba(31, 29, 26, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(216, 204, 194, 0.28) !important;
  }
  .hero-rating-stars {
    font-size: 0.65rem !important;
    gap: 2px !important;
    color: #E29E3C !important;
  }
  .hero-rating-score {
    font-size: 0.78rem !important;
    color: #FFFFFF !important;
    font-weight: 700;
  }
  .hero-rating-label {
    display: none !important;
  }
  .hero-lifestyle-badge {
    position: absolute !important;
    bottom: 1rem !important;
    left: 0.85rem !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.3rem 0.65rem 0.3rem 0.4rem !important;
    gap: 0.45rem !important;
    border-radius: var(--radius-full) !important;
    background: rgba(31, 29, 26, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(216, 204, 194, 0.28) !important;
  }
  .hero-lifestyle-avatars .hero-avatar-img {
    width: 22px !important;
    height: 22px !important;
    margin-left: -6px !important;
  }
  .hero-lifestyle-avatars .hero-avatar-img:first-child {
    margin-left: 0 !important;
  }
  .hero-lifestyle-top {
    font-size: 0.66rem !important;
  }
  .hero-lifestyle-sub {
    font-size: 0.54rem !important;
  }
  @media (max-width: 480px) {
    .hero-lifestyle-badge {
      display: none !important;
    }
  }

  /* On Mobile/Tablet: Hide flanking arrows so people use their fingers instead */
  .stage-nav-arrow,
  .product-stage-arrow {
    display: none !important;
  }

  /* Unrestricted 120fps Vertical Page Scroll Touch Action */
  .collections-3d-stage-wrap,
  .collections-3d-ring,
  .collections-3d-ring .collection-carousel-card,
  .collections-3d-ring .collection-card-media,
  .collections-3d-ring .collection-card-content,
  .bestsellers-3d-stage-wrap,
  .bestsellers-3d-ring,
  .bestsellers-3d-ring .product-card,
  .bestsellers-3d-ring .card-media-wrap,
  .bestsellers-3d-ring .card-body {
    touch-action: pan-y !important;
  }

  /* CSS Containment to Isolate Carousel Layout & Paint from Page Reflows */
  .collections-3d-stage-wrap,
  .bestsellers-3d-stage-wrap {
    contain: layout paint;
  }
  .collections-3d-ring .collection-carousel-card,
  .bestsellers-3d-ring .product-card {
    contain: content;
  }

  /* Kill GPU bottlenecks inside carousel cards on mobile */
  .collections-3d-ring .collection-pill-badge,
  .collections-3d-ring .collection-pill-count,
  .bestsellers-3d-ring .wishlist-btn,
  .bestsellers-3d-ring .card-quick-view-btn,
  .hero-features-bar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .collections-3d-ring .collection-pill-badge {
    background: rgba(35, 33, 31, 0.9) !important;
  }
  .collections-3d-ring .collection-pill-count {
    background: rgba(0, 0, 0, 0.8) !important;
  }
  .bestsellers-3d-ring .wishlist-btn {
    background: #FFFFFF !important;
  }
  .bestsellers-3d-ring .card-quick-view-btn {
    background: #FFFFFF !important;
  }
  .hero-features-bar {
    background: rgba(31, 29, 26, 0.96) !important;
  }
  .bestsellers-3d-ring .card-img-secondary {
    display: none !important; /* Save 50% image texture memory on touchscreens */
  }

  /* 3D Collections Stage on Mobile — Scaled to Reveal True Circular Ring */
  .collections-3d-stage-wrap {
    min-height: 385px;
    perspective: 850px;
    perspective-origin: 50% 18%; /* High vantage camera angle so circular ring orbit is obvious */
  }
  .collections-3d-ring {
    height: 360px;
  }
  .collections-3d-ring .collection-carousel-card {
    width: clamp(165px, 46vw, 195px);
    height: 275px;
    border-radius: 18px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    will-change: auto !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    box-shadow: 0 4px 14px rgba(31, 29, 26, 0.10) !important;
  }
  .collections-3d-ring .collection-carousel-card.card-active {
    box-shadow: 0 6px 18px rgba(109, 65, 50, 0.25) !important;
  }
  .collections-3d-ring .collection-carousel-card .collection-card-media {
    height: 135px;
  }
  .collections-3d-ring .collection-card-content {
    padding: 0.75rem 0.85rem;
  }
  .collections-3d-ring .collection-card-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }
  .collections-3d-ring .collection-card-eyebrow {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  .collections-3d-ring .collection-card-cta {
    font-size: 0.74rem;
    padding-top: 0.5rem;
  }
  .collections-3d-ring .collection-pill-badge,
  .collections-3d-ring .collection-pill-count {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
  }
  .collections-3d-ring .collection-badges-row {
    top: 6px;
    left: 6px;
    right: 6px;
  }

  /* --------------------------------------------------------------------------
     Mobile: Hide Star Ratings on Product Cards (Maximizes space for product photos)
     Star ratings remain visible inside Quick View ("view details") and on Desktop
     -------------------------------------------------------------------------- */
  .product-card .card-rating,
  .bestsellers-3d-ring .product-card .card-rating {
    display: none !important;
  }

  /* Explicitly ensure Quick View modal always displays star ratings on mobile */
  #quickViewModal .card-rating,
  #quickViewContainer .card-rating,
  .quickview-dialog .card-rating,
  .modal-details .card-rating {
    display: flex !important;
  }

  /* Product Card media styling on mobile */
  .product-card .card-media-wrap {
    background: #FAF8F5;
  }
  .product-card .card-img-primary {
    object-fit: contain !important;
    padding: 8px 10px !important;
  }

  /* Best Sellers 3D Stage on Mobile — Roomy & Proportional with Full Picture Visibility */
  .bestsellers-3d-stage-wrap {
    min-height: 410px;
  }
  .bestsellers-3d-ring {
    height: 385px;
  }
  .bestsellers-3d-ring .product-card {
    width: clamp(165px, 46vw, 195px);
    height: 355px;
    border-radius: 16px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    will-change: auto !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  }
  .bestsellers-3d-ring .product-card.card-center {
    box-shadow: 0 6px 18px rgba(109, 65, 50, 0.25) !important;
  }
  .bestsellers-3d-ring .product-card .card-media-wrap {
    height: 195px;
    background: #FAF8F5;
  }
  .bestsellers-3d-ring .product-card .card-img-primary {
    object-fit: contain !important;
    padding: 8px 10px !important;
  }
  .bestsellers-3d-ring .product-card .card-badges {
    top: 6px !important;
    left: 6px !important;
    gap: 3px !important;
    max-width: 95px;
  }
  .bestsellers-3d-ring .product-card .badge {
    font-size: 0.52rem !important;
    padding: 0.16rem 0.36rem !important;
    border-radius: 4px !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bestsellers-3d-ring .product-card .wishlist-btn {
    top: 6px !important;
    right: 6px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
  }
  .bestsellers-3d-ring .product-card .card-body {
    padding: 0.65rem 0.75rem;
  }
  .bestsellers-3d-ring .product-card .card-title {
    font-size: 0.8rem;
    height: 2.1rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
  }
  .bestsellers-3d-ring .product-card .card-category {
    font-size: 0.6rem;
    margin-bottom: 0.15rem;
  }
  .bestsellers-3d-ring .product-card .card-price {
    font-size: 0.88rem;
  }
  .bestsellers-3d-ring .product-card .card-price-row {
    padding-top: 0.35rem;
  }
  .bestsellers-3d-ring .product-card .card-swatches {
    margin-bottom: 0.35rem;
    min-height: 13px;
    gap: 4px;
  }
  .bestsellers-3d-ring .product-card .swatch-dot {
    width: 11px;
    height: 11px;
  }
  .bestsellers-3d-ring .product-card .card-quick-actions {
    bottom: 6px;
    left: 6px;
    right: 6px;
  }
  .bestsellers-3d-ring .product-card .card-quick-view-btn {
    padding: 0.4rem 0.3rem;
    font-size: 0.66rem;
  }

  .craft-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .lookbook-container {
    grid-template-columns: 1fr;
  }
  .lookbook-info {
    padding-right: 0;
  }
  .hotspot-popover {
    max-width: min(240px, 80vw);
  }
  .quickview-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
  }
  .newsletter-form .btn {
    width: 100%;
  }
  /* Mobile-Only Clean Centered Luxury Footer */
  .site-footer {
    padding-top: 3.5rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
    text-align: center !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-logo-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }
  .footer-logo-img {
    margin: 0 auto !important;
    height: 72px !important;
    max-width: 260px !important;
    width: auto !important;
  }
  .footer-col p {
    text-align: center !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.65 !important;
    font-size: 0.88rem !important;
  }
  .footer-socials {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.85rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.25rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .footer-col h4 {
    text-align: center !important;
    margin-bottom: 1.15rem !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.04em !important;
  }
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }
  .footer-link {
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
  }
  .footer-link:hover {
    transform: none !important;
    color: var(--color-sand) !important;
  }
  .footer-col .btn {
    margin: 0 auto !important;
  }

  /* Payment Logos on Mobile — Crisp Authentic White Trust Badges */
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.25rem !important;
    align-items: center !important;
    padding-top: 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .footer-bottom > div:first-child {
    text-align: center !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
  }
  .payment-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .pay-badge {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    height: 28px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
  .pay-badge-visa {
    color: #1A1F71 !important;
  }
  .pay-badge-visa i {
    font-size: 1.15rem;
    color: #1A1F71;
  }
  .pay-badge-mc {
    color: #1A1A1A !important;
  }
  .pay-badge-mc i {
    font-size: 1.15rem;
    color: #EB001B;
  }
  .pay-badge-apple {
    color: #000000 !important;
  }
  .pay-badge-apple i {
    font-size: 1.15rem;
    color: #000000;
  }
  .pay-badge-debit {
    color: #0F52BA !important;
  }
  .pay-badge-debit i {
    font-size: 0.95rem;
    color: #0F52BA;
  }
  .pay-badge-gpay {
    color: #3C4043 !important;
  }
  .pay-badge-gpay i {
    font-size: 1.3rem;
    color: #4285F4;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .header-container {
    height: 68px !important;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    gap: 0.35rem !important;
  }
  .brand-logo-img,
  .site-header.scrolled .brand-logo-img {
    height: 50px !important;
    max-width: 170px !important;
  }
  .footer-logo-img {
    margin: 0 auto !important;
    height: 66px !important;
    max-width: 240px !important;
    width: auto !important;
  }
  .action-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.88rem !important;
  }
  .mobile-toggle {
    width: 34px !important;
    height: 34px !important;
  }
  .header-actions {
    gap: 2px !important;
  }
  .palette-switcher-btn {
    padding: 0.22rem 0.42rem !important;
    gap: 0.2rem !important;
    font-size: 0.64rem !important;
  }
  .palette-switcher-btn span {
    font-size: 0.64rem !important;
  }
  .palette-dot {
    width: 5.5px !important;
    height: 5.5px !important;
  }
  .hero-section {
    min-height: 500px !important;
  }
  .hero-body-wrapper {
    position: static !important;
    padding-top: 4.25rem !important;
    padding-bottom: 7.25rem !important;
    min-height: 480px !important;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 0 !important;
  }
  .hero-badge {
    top: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.58rem !important;
    padding: 0.22rem 0.54rem !important;
    white-space: nowrap !important;
  }
  .hero-buttons {
    bottom: 1rem !important;
    left: 0.85rem !important;
    gap: 0.32rem !important;
    max-width: calc(100% - 130px) !important;
    width: auto !important;
  }
  .hero-buttons .btn {
    width: auto !important;
    padding: 0.38rem 0.72rem !important;
    font-size: 0.64rem !important;
    gap: 0.25rem !important;
  }
  .hero-buttons .btn i {
    margin-right: 0 !important;
  }
  .hero-rating-badge {
    bottom: 1rem !important;
    right: 0.85rem !important;
    padding: 0.32rem 0.55rem !important;
    gap: 0.28rem !important;
  }
  .hero-rating-stars {
    font-size: 0.62rem !important;
  }
  .hero-rating-score {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
  }
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .hero-features-bar {
    padding: 1rem 0;
  }
  
  /* Refined Collections ring on smaller phones — a tiny bit bigger with crystal clear ring orbit */
  .collections-3d-stage-wrap {
    min-height: 365px;
    perspective: 800px;
    perspective-origin: 50% 16%;
  }
  .collections-3d-ring {
    height: 340px;
  }
  .collections-3d-ring .collection-carousel-card {
    width: clamp(155px, 45vw, 185px);
    height: 265px;
  }
  .collections-3d-ring .collection-carousel-card .collection-card-media {
    height: 128px;
  }

  /* Refined Best Sellers on smaller phones — Roomy & Clear Photos */
  .bestsellers-3d-stage-wrap {
    min-height: 400px;
  }
  .bestsellers-3d-ring {
    height: 375px;
  }
  .bestsellers-3d-ring .product-card {
    width: clamp(155px, 46vw, 190px);
    height: 345px;
  }
  .bestsellers-3d-ring .product-card .card-media-wrap {
    height: 185px;
    background: #FAF8F5;
  }
  .bestsellers-3d-ring .product-card .card-img-primary {
    object-fit: contain !important;
    padding: 6px 8px !important;
  }

  .modal-backdrop {
    padding: 0.75rem;
  }
  .quickview-grid {
    padding: 1.25rem 0.85rem;
    gap: 1.25rem;
  }
  .search-dialog {
    padding: 1.25rem 1rem;
  }
  .drawer-header,
  .shipping-meter-wrap,
  .drawer-items,
  .drawer-footer {
    padding: 1rem;
  }
  .cart-item-img {
    width: 68px;
    height: 68px;
  }
  .collection-modal-header {
    padding: 1rem;
  }
  .collection-modal-body {
    padding: 1rem;
  }
  .catalog-view-toggles {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   14. Account & Profile Modal
   -------------------------------------------------------------------------- */
.account-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--color-border);
  animation: fadeIn 0.35s var(--ease-spring);
}

.account-modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.account-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(109, 65, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-terracotta);
  font-size: 1.35rem;
}

.account-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
}

.account-modal-subtitle {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.account-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  gap: 1.5rem;
  justify-content: center;
}

.account-tab-btn {
  padding: 0.55rem 0.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
}

.account-tab-btn.active {
  color: var(--color-terracotta);
  border-color: var(--color-terracotta);
}

.account-form-group {
  margin-bottom: 1.15rem;
}

.account-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}

.account-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  background: var(--color-ivory);
  transition: all var(--transition-fast);
}

.account-input:focus {
  outline: none;
  border-color: var(--color-terracotta);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(109, 65, 50, 0.12);
}

.account-input.error,
.account-input.error:focus {
  border-color: #D32F2F !important;
  background: #FFF9F9 !important;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2) !important;
}

.account-input-error {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: #D32F2F;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.45rem;
  padding: 0.5rem 0.75rem;
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.12);
  transition: all var(--transition-fast);
}

.account-input-error.shake {
  animation: shakeError 0.35s ease-in-out;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* Google Auth Integration */
.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid #DADCE0;
  border-radius: var(--radius-sm);
  color: #3C4043;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  margin-bottom: 0.85rem;
}

.btn-google-auth:hover {
  background: #F8F9FA;
  border-color: #C6C9CE;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.18);
}

.btn-google-auth:active {
  background: #F1F3F4;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.85rem 0 1.15rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.auth-divider::before {
  margin-right: 0.75rem;
}

.auth-divider::after {
  margin-left: 0.75rem;
}

.account-quick-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
}

.account-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.account-quick-link:hover {
  color: var(--color-terracotta);
}

/* Ultra-compact phone safeguard (< 350px width) */
@media (max-width: 350px) {
  .palette-switcher-btn span {
    display: none !important;
  }
  .brand-logo-img,
  .site-header.scrolled .brand-logo-img {
    height: 32px !important;
    max-width: 105px !important;
  }
}

/* ==========================================================================
   EXECUTIVE ADMIN DASHBOARD & ROLE-BASED TRIGGER
   ========================================================================== */
.admin-dashboard-trigger {
  position: relative;
  color: var(--color-terracotta) !important;
  border: 1px solid rgba(109, 65, 50, 0.28) !important;
  background: rgba(109, 65, 50, 0.06) !important;
  transition: all var(--transition-fast) !important;
}

.admin-dashboard-trigger:hover {
  background: var(--color-terracotta) !important;
  color: #FFFFFF !important;
  border-color: var(--color-terracotta) !important;
  transform: translateY(-1px);
}

.admin-pulse-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2ECC71;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 6px rgba(46, 204, 113, 0.7);
  animation: adminPulse 2s infinite ease-in-out;
}

@keyframes adminPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   16. Full-Page Executive Enterprise Operations & Analytics Application
   PROFESSIONAL ENTERPRISE ERP SYSTEM (SAP/NETSUITE/LINEAR SPECIFICATION)
   -------------------------------------------------------------------------- */

/* Lock root document scrolling when enterprise ERP is active */
html.admin-mode-active,
body.admin-mode-active {
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
}

.admin-fullscreen-app.erp-system-root {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background-color: #141210;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #E5E7EB;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Enterprise Scrollbar */
.erp-scroll-body::-webkit-scrollbar,
.erp-sidebar-nav::-webkit-scrollbar,
.erp-table-responsive-wrap::-webkit-scrollbar,
.erp-session-list::-webkit-scrollbar,
.erp-chat-stream::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.erp-scroll-body::-webkit-scrollbar-track,
.erp-sidebar-nav::-webkit-scrollbar-track,
.erp-table-responsive-wrap::-webkit-scrollbar-track,
.erp-session-list::-webkit-scrollbar-track,
.erp-chat-stream::-webkit-scrollbar-track {
  background: #141210;
}

.erp-scroll-body::-webkit-scrollbar-thumb,
.erp-sidebar-nav::-webkit-scrollbar-thumb,
.erp-table-responsive-wrap::-webkit-scrollbar-thumb,
.erp-session-list::-webkit-scrollbar-thumb,
.erp-chat-stream::-webkit-scrollbar-thumb {
  background: #272420;
  border-radius: 4px;
}

.erp-scroll-body::-webkit-scrollbar-thumb:hover,
.erp-sidebar-nav::-webkit-scrollbar-thumb:hover,
.erp-table-responsive-wrap::-webkit-scrollbar-thumb:hover,
.erp-session-list::-webkit-scrollbar-thumb:hover,
.erp-chat-stream::-webkit-scrollbar-thumb:hover {
  background: #3A3631;
}

/* --------------------------------------------------------------------------
   ERP Application Shell (Sidebar + Workspace)
   -------------------------------------------------------------------------- */
.erp-shell {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   1. Left Enterprise Module Sidebar
   -------------------------------------------------------------------------- */
.erp-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #191715;
  border-right: 1px solid rgba(166, 158, 135, 0.16);
  display: flex;
  flex-direction: column;
  z-index: 120;
  user-select: none;
}

.erp-sidebar-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(166, 158, 135, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1F1D1A;
}

.erp-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.erp-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6D4132, #A69E87);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(109, 65, 50, 0.4);
}

.erp-brand-meta {
  display: flex;
  flex-direction: column;
}

.erp-brand-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FAF8F5;
}

.erp-brand-status {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #A69E87;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.erp-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.erp-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.erp-nav-section-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #79746A;
  text-transform: uppercase;
  padding: 0.8rem 0.75rem 0.35rem 0.75rem;
}

.erp-nav-back-store {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.65rem 0.85rem !important;
  margin-bottom: 0.35rem !important;
  border-radius: 12px !important;
  background: rgba(166, 158, 135, 0.12) !important;
  border: 1px solid rgba(166, 158, 135, 0.28) !important;
  color: #FAF8F5 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
  text-align: left !important;
}

.erp-nav-back-store:hover {
  background: rgba(166, 158, 135, 0.25) !important;
  border-color: #A69E87 !important;
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  color: #FFFFFF !important;
}

.erp-nav-back-store i {
  color: #A69E87 !important;
  font-size: 0.95rem !important;
  transition: transform 0.2s ease !important;
}

.erp-nav-back-store:hover i {
  transform: translateX(-3px);
  color: #FAF8F5 !important;
}

.erp-store-chip {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(166, 158, 135, 0.22);
  color: #D8CCC2;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(166, 158, 135, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.erp-topbar-back-store-btn {
  background: rgba(166, 158, 135, 0.12) !important;
  border: 1px solid rgba(166, 158, 135, 0.32) !important;
  color: #FAF8F5 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.erp-topbar-back-store-btn:hover {
  background: rgba(166, 158, 135, 0.25) !important;
  border-color: #A69E87 !important;
  color: #FFFFFF !important;
  transform: translateX(-2px);
}

.erp-topbar-back-store-btn i {
  color: #A69E87 !important;
  transition: transform 0.2s ease;
}

.erp-topbar-back-store-btn:hover i {
  transform: translateX(-2px);
  color: #FAF8F5 !important;
}

.erp-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.58rem 0.85rem;
  border-radius: 12px;
  color: #BDB7AB;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  width: 100%;
  text-align: left;
}

.erp-nav-item i {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  color: #79746A;
  transition: color 0.18s ease;
}

.erp-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FAF8F5;
}

.erp-nav-item:hover i {
  color: #D8CCC2;
}

.erp-nav-item.active {
  background: rgba(166, 158, 135, 0.16);
  color: #FAF8F5;
  font-weight: 700;
  border-color: rgba(166, 158, 135, 0.35);
  box-shadow: 0 0 16px rgba(166, 158, 135, 0.15);
}

.erp-nav-item.active i {
  color: #A69E87;
}

.erp-nav-counter {
  margin-left: auto;
  font-size: 0.66rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255, 255, 255, 0.06);
  color: #BDB7AB;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.erp-nav-counter.live {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

.erp-nav-item.active .erp-nav-counter {
  background: rgba(166, 158, 135, 0.25);
  color: #FAF8F5;
  border-color: rgba(166, 158, 135, 0.45);
}

.erp-sidebar-footer {
  padding: 0.9rem 1.15rem;
  border-top: 1px solid rgba(166, 158, 135, 0.16);
  background: #1F1D1A;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.66rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #79746A;
}

.erp-telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.erp-status-badge-live {
  color: #34D399;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Main ERP Workspace Area (Ruark Luxury Safari Theme)
   -------------------------------------------------------------------------- */
.erp-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #141210;
  background-image: radial-gradient(circle at 85% 0%, rgba(109, 65, 50, 0.14), transparent 60%), radial-gradient(circle at 20% 30%, rgba(166, 158, 135, 0.08), transparent 50%);
}

/* Top Enterprise Command Bar */
.erp-topbar {
  height: 58px;
  background: #191715;
  border-bottom: 1px solid rgba(166, 158, 135, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1.25rem;
  flex-shrink: 0;
  z-index: 100;
}

.erp-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.erp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.erp-breadcrumb-tenant {
  font-weight: 800;
  color: #A69E87;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.erp-breadcrumb-sep {
  color: #79746A;
}

.erp-breadcrumb-module {
  font-weight: 700;
  color: #FAF8F5;
}

.erp-search-container {
  flex: 1;
  max-width: 440px;
  position: relative;
  display: flex;
  align-items: center;
}

.erp-search-container i {
  position: absolute;
  left: 0.9rem;
  font-size: 0.8rem;
  color: #A69E87;
  pointer-events: none;
}

.erp-search-input {
  width: 100%;
  background: #1F1D1A;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 9999px;
  padding: 0.44rem 0.85rem 0.44rem 2.3rem;
  font-size: 0.76rem;
  color: #FAF8F5;
  outline: none;
  font-family: inherit;
  transition: all 0.18s ease;
}

.erp-search-input:focus {
  border-color: #A69E87;
  box-shadow: 0 0 0 2px rgba(166, 158, 135, 0.25);
  background: #272420;
}

.erp-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.erp-period-wrap select,
.erp-select-sm {
  background: #1F1D1A;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 9999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.73rem;
  color: #E5E7EB;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.erp-period-wrap select:focus,
.erp-select-sm:focus {
  border-color: #A69E87;
  box-shadow: 0 0 0 2px rgba(166, 158, 135, 0.25);
}

.erp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.erp-action-btn.primary {
  background: #A69E87;
  color: #141210;
  border: none;
  box-shadow: 0 4px 14px rgba(166, 158, 135, 0.3);
}

.erp-action-btn.primary:hover {
  background: #D2CBBF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(166, 158, 135, 0.4);
}

.erp-action-btn.secondary {
  background: #272420;
  color: #FAF8F5;
  border: 1px solid rgba(166, 158, 135, 0.22);
}

.erp-action-btn.secondary:hover {
  background: #322E29;
  border-color: rgba(166, 158, 135, 0.4);
  color: #FFFFFF;
}

.erp-btn-action {
  background: #A69E87 !important;
  color: #141210 !important;
  border: none !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 0.42rem 0.95rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(166, 158, 135, 0.3) !important;
  transition: all 0.18s ease !important;
}

.erp-btn-action:hover {
  background: #D2CBBF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(166, 158, 135, 0.4) !important;
}

.erp-btn-outline {
  background: #272420 !important;
  color: #FAF8F5 !important;
  border: 1px solid rgba(166, 158, 135, 0.22) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.erp-btn-outline:hover {
  background: #322E29 !important;
  border-color: rgba(166, 158, 135, 0.4) !important;
  color: #FFFFFF !important;
}

.erp-operator-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #272420;
  border: 1px solid rgba(166, 158, 135, 0.2);
  border-radius: 9999px;
  padding: 0.32rem 0.85rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.erp-operator-card:hover {
  border-color: rgba(166, 158, 135, 0.45);
  background: #322E29;
}

.erp-operator-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.erp-operator-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #FAF8F5;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-operator-badge {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(166, 158, 135, 0.2);
  color: #D8CCC2;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.erp-icon-action {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: #272420;
  border: 1px solid rgba(166, 158, 135, 0.18);
  color: #BDB7AB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.84rem;
  transition: all 0.15s ease;
}

.erp-icon-action:hover {
  background: #322E29;
  border-color: rgba(166, 158, 135, 0.4);
  color: #FFFFFF;
}

.erp-power-trigger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

/* --------------------------------------------------------------------------
   3. Main ERP Scrollable Body & Modern Stakent Glassmorphic Cards
   -------------------------------------------------------------------------- */
.erp-scroll-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem 1.75rem 3.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ERP KPI Metrics Grid */
.erp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.erp-kpi-tile {
  background: #1C1A17;
  border: 1px solid rgba(166, 158, 135, 0.15);
  border-radius: 18px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.erp-kpi-tile:hover {
  border-color: rgba(166, 158, 135, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.erp-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.erp-kpi-code {
  font-size: 0.65rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: #A69E87;
  display: flex;
  align-items: center;
}

.erp-kpi-trend {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.erp-kpi-trend.positive {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.erp-kpi-trend.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.erp-kpi-trend.accent {
  background: rgba(166, 158, 135, 0.15);
  color: #D8CCC2;
  border: 1px solid rgba(166, 158, 135, 0.3);
}

.erp-kpi-header-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.erp-kpi-metric-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.02em;
  margin: 0.15rem 0;
}

.erp-kpi-metric-val.sales {
  color: #FAF8F5;
}

.erp-kpi-metric-val.expenses {
  color: #F87171;
}

.erp-kpi-metric-val.profit {
  color: #34D399;
}

.erp-kpi-metric-val.region {
  font-size: 1.15rem;
  color: #FBBF24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sparklines & Mini Wave Charts */
.erp-sparkline-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.4rem 0 0.2rem 0;
  height: 38px;
  position: relative;
}

.erp-sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.erp-sparkline-badge {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.62rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(166, 158, 135, 0.18);
  color: #D8CCC2;
  border: 1px solid rgba(166, 158, 135, 0.3);
}

.erp-sparkline-badge.warning {
  background: rgba(248, 113, 113, 0.15);
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.erp-sparkline-badge.profit {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

.erp-kpi-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #9CA3AF;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.45rem;
  margin-top: 0.3rem;
}

/* Ruark Featured Portfolio Card */
.erp-hero-feature-card {
  background: linear-gradient(145deg, #1F1D1A 0%, #2D211A 50%, #4A2B20 100%) !important;
  border: 1px solid rgba(166, 158, 135, 0.35) !important;
  box-shadow: 0 8px 32px rgba(109, 65, 50, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.erp-hero-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.erp-hero-brand-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #FAF8F5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.erp-hero-pill-tag {
  font-size: 0.62rem;
  font-weight: 800;
  background: #A69E87;
  color: #141210;
  padding: 0.14rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.erp-hero-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0.2rem 0 0.3rem 0;
  line-height: 1.25;
}

.erp-hero-card-desc {
  font-size: 0.72rem;
  color: #D1D5DB;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.erp-hero-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.erp-btn-hero-primary {
  background: #A69E87 !important;
  color: #141210 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.46rem 0.85rem !important;
  font-size: 0.74rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}

.erp-btn-hero-primary:hover {
  background: #D2CBBF !important;
  transform: translateY(-1px);
}

.erp-btn-hero-glass {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(166, 158, 135, 0.25) !important;
  border-radius: 9999px !important;
  padding: 0.42rem 0.85rem !important;
  font-size: 0.72rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.15s ease;
}

.erp-btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(166, 158, 135, 0.45) !important;
}

/* Panes Container */
.erp-panes-container {
  display: flex;
  flex-direction: column;
}

.admin-pane {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-pane.active {
  display: flex;
}

/* Two Column Grid for Overview */
.erp-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ERP Panels & Cards (Ruark Luxury Safari Aesthetic) */
.erp-panel {
  background: #1C1A17;
  border: 1px solid rgba(166, 158, 135, 0.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.erp-panel-header {
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid rgba(166, 158, 135, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #221F1B;
}

.erp-panel-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.03em;
}

.erp-badge-code {
  font-size: 0.64rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  background: #272420;
  color: #D8CCC2;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(166, 158, 135, 0.25);
}

.erp-badge-code.positive {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.35);
}

.erp-panel-statusbar {
  padding: 0.65rem 1.35rem;
  border-top: 1px solid rgba(166, 158, 135, 0.14);
  background: #191715;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #9CA3AF;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.erp-status-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Toolbars */
.erp-toolbar {
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid rgba(166, 158, 135, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #221F1B;
}

.erp-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.erp-toolbar-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.03em;
}

.erp-counter-chip {
  font-size: 0.66rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  background: rgba(166, 158, 135, 0.15);
  color: #D8CCC2;
  padding: 0.16rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(166, 158, 135, 0.28);
}

.erp-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.erp-filter-input {
  background: #191715;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 9999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.74rem;
  color: #F9FAFB;
  outline: none;
  font-family: inherit;
  width: 200px;
}

.erp-filter-input:focus {
  border-color: #A69E87;
  box-shadow: 0 0 0 2px rgba(166, 158, 135, 0.25);
}

/* Tables (Dense Enterprise Grids in Ruark Safari Khaki & Charcoal) */
.erp-table-dense-wrap,
.erp-table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
}

.erp-dense-table,
.erp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
}

.erp-dense-table th,
.erp-data-table th {
  background: #191715;
  color: #A69E87;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid rgba(166, 158, 135, 0.16);
  white-space: nowrap;
}

.erp-dense-table td,
.erp-data-table td {
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid rgba(166, 158, 135, 0.08);
  color: #E5E7EB;
  vertical-align: middle;
}

.erp-dense-table tbody tr:hover,
.erp-data-table tbody tr:hover {
  background: rgba(166, 158, 135, 0.06);
}

.erp-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  padding: 0.16rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.status-badge.in-stock,
.status-badge.delivered,
.status-badge.paid {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.low-stock,
.status-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.in-transit {
  background: rgba(166, 158, 135, 0.15);
  color: #D8CCC2;
  border: 1px solid rgba(166, 158, 135, 0.3);
}

.status-badge.preparing {
  background: rgba(109, 65, 50, 0.2);
  color: #D8CCC2;
  border: 1px solid rgba(109, 65, 50, 0.35);
}

/* Additional Enterprise Table Badges & Action Buttons */
.erp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.erp-status-chip.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.erp-status-chip.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.erp-status-chip.info {
  background: rgba(166, 158, 135, 0.15);
  color: #D8CCC2;
  border: 1px solid rgba(166, 158, 135, 0.3);
}

.erp-status-chip.heritage {
  background: rgba(109, 65, 50, 0.2);
  color: #D8CCC2;
  border: 1px solid rgba(109, 65, 50, 0.35);
}

.erp-status-chip.gold {
  background: rgba(234, 179, 8, 0.15);
  color: #FACC15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.erp-status-chip.neutral {
  background: rgba(255, 255, 255, 0.07);
  color: #9CA3AF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.erp-category-badge {
  font-size: 0.66rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  padding: 0.16rem 0.55rem;
  border-radius: 9999px;
  background: #272420;
  color: #D8CCC2;
  border: 1px solid rgba(166, 158, 135, 0.25);
  text-transform: uppercase;
}

.erp-btn-table-action {
  background: #272420;
  color: #FAF8F5;
  border: 1px solid rgba(166, 158, 135, 0.2);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.erp-btn-table-action:hover {
  background: #322E29;
  border-color: rgba(166, 158, 135, 0.45);
  color: #FFFFFF;
}

.erp-btn-table-action.danger:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
}

.product-row-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-thumb-sm {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(166, 158, 135, 0.18);
  background: #1F1D1A;
}

.product-title-bold {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 0.8rem;
  line-height: 1.25;
}

/* Mobile Cards in ERP */
.erp-system-root .admin-mobile-card {
  background: #1C1A17;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.erp-system-root .admin-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.erp-system-root .admin-card-subtitle {
  font-size: 0.7rem;
  color: #BDB7AB;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.erp-hub-mobile-card,
.erp-pl-mobile-card {
  background: #1C1A17;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* 1-Row Rapid Transaction Bar for Expenses & Shipping */
.erp-entry-bar {
  padding: 1rem 1.35rem;
  background: #221F1B;
  border: 1px solid rgba(166, 158, 135, 0.25);
  border-radius: 18px;
}

.erp-entry-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #A69E87;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.04em;
}

.erp-entry-form {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.erp-entry-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.erp-entry-col label,
.erp-form-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: #A69E87;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.erp-entry-col.desc {
  flex: 2;
  min-width: 220px;
}

.erp-entry-col.cat {
  flex: 1.5;
  min-width: 180px;
}

.erp-entry-col.vendor {
  flex: 1.5;
  min-width: 160px;
}

.erp-entry-col.amount {
  flex: 1;
  min-width: 110px;
}

.erp-input-sm {
  background: #191715;
  border: 1px solid rgba(166, 158, 135, 0.18);
  border-radius: 9999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.75rem;
  color: #F9FAFB;
  outline: none;
  font-family: inherit;
  transition: all 0.15s ease;
}

.erp-input-sm:focus {
  border-color: #A69E87;
  box-shadow: 0 0 0 2px rgba(166, 158, 135, 0.25);
}

/* WhatsApp Split Console */
.whatsapp-kpis {
  margin-bottom: 0;
}

.erp-config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
  padding: 1.15rem;
}

.erp-config-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.erp-split-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
}

.erp-session-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 440px;
  overflow-y: auto;
  padding: 0.85rem;
}

.erp-chat-stream {
  height: 380px;
  overflow-y: auto;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #191715;
}

.erp-reply-bar {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  background: #221F1B;
  border-top: 1px solid rgba(166, 158, 135, 0.15);
}

.erp-reply-bar .erp-input-sm {
  flex: 1;
}

/* Mobile App Header (Clean 3-element layout: [Back Arrow] [AQWAKE ERP (Centered)] [Menu Icon]) */
.erp-mobile-header {
  display: none;
  height: 56px;
  background: #16100C;
  border-bottom: 1px solid #281B13;
  padding: 0 0.85rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  z-index: 100;
}

.erp-mobile-btn-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2A1C14;
  border: 1px solid rgba(201, 151, 93, 0.3);
  color: #C9975D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.erp-mobile-btn-back:hover,
.erp-mobile-btn-back:active {
  background: #382418;
  color: #FAF7F2;
  border-color: #C9975D;
  transform: scale(1.04);
}

.erp-mobile-brand-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2A1C14;
  border: 1px solid rgba(201, 151, 93, 0.35);
  border-radius: 9999px;
  padding: 0.32rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: 0.04em;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.erp-mobile-brand-pill .erp-pulse-dot {
  background: #C9975D;
}

.erp-mobile-btn-menu {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2A1C14;
  border: 1px solid rgba(201, 151, 93, 0.3);
  color: #C9975D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.erp-mobile-btn-menu:hover,
.erp-mobile-btn-menu:active {
  background: #382418;
  color: #FAF7F2;
  border-color: #C9975D;
  transform: scale(1.04);
}

/* Mobile Executive Dropdown Menu Sheet */
.erp-mobile-menu-dropdown {
  position: fixed;
  top: 60px;
  right: 12px;
  width: min(300px, calc(100vw - 24px));
  background: #1A120D;
  border: 1px solid rgba(201, 151, 93, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.erp-mobile-menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.erp-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: #130D0A;
  border-bottom: 1px solid #281B13;
}

.erp-mobile-menu-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.erp-mobile-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FAF7F2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.erp-mobile-user-role {
  font-size: 0.68rem;
  color: #C9975D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.erp-mobile-menu-close {
  background: none;
  border: none;
  color: #A89685;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
}

.erp-mobile-menu-close:hover {
  color: #FAF7F2;
}

.erp-mobile-menu-items {
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.erp-mobile-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #C3B8AC;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.erp-mobile-menu-item i {
  font-size: 0.95rem;
  color: #C9975D;
  width: 18px;
  text-align: center;
}

.erp-mobile-menu-item:hover,
.erp-mobile-menu-item:active {
  background: #2A1C14;
  color: #FAF7F2;
}

.erp-mobile-menu-item-danger {
  color: #EF4444;
  border-top: 1px solid #281B13;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

.erp-mobile-menu-item-danger i {
  color: #EF4444 !important;
}

.erp-mobile-menu-item-danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
}
  background: rgba(226, 74, 74, 0.12);
  color: #FF6B6B;
}

.erp-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 490;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.erp-mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}


.erp-mobile-bottom-dock {
  display: none;
}

.admin-mobile-cards-wrap {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem;
}

@media (max-width: 640px) {
  .erp-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints for Enterprise ERP
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .erp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .erp-grid-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .erp-sidebar {
    display: none !important;
  }
  .erp-topbar {
    display: none !important;
  }
  .erp-mobile-header {
    display: flex !important;
  }
  .erp-mobile-bottom-dock {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: rgba(22, 16, 12, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid #281B13 !important;
    z-index: 1000;
    justify-content: space-around !important;
    align-items: center;
    padding: 0.2rem 2px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .erp-mobile-bottom-dock::-webkit-scrollbar {
    display: none !important;
  }
  .erp-mobile-dock-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 14.28% !important;
    width: 14.28% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #A89685 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-height: 50px !important;
    padding: 0.25rem 1px !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }
  .erp-mobile-dock-btn i {
    font-size: 0.92rem !important;
    line-height: 1 !important;
    color: #8C7A6B !important;
    transition: color 0.18s ease !important;
  }
  .erp-mobile-dock-btn span {
    font-size: 0.54rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
    line-height: 1.1 !important;
  }
  .erp-mobile-dock-btn.active {
    background: #2A1C14 !important;
    border-color: rgba(201, 151, 93, 0.4) !important;
    color: #FAF7F2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  }
  .erp-mobile-dock-btn.active i {
    color: #C9975D !important;
  }

  .erp-scroll-body {
    padding: 0.75rem 0.75rem 74px 0.75rem !important;
    gap: 1rem !important;
  }

  /* De-nest mobile panels: remove double-bordered enclosing frames */
  .erp-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  /* Sleek Standalone Toolbar Control Card */
  .erp-toolbar {
    background: #1C1A17 !important;
    border: 1px solid rgba(166, 158, 135, 0.18) !important;
    border-radius: 14px !important;
    padding: 0.85rem 0.95rem !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  }
  .erp-toolbar-left {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  .erp-toolbar-title {
    font-size: 0.80rem !important;
    font-weight: 800 !important;
    color: #FAF8F5 !important;
    letter-spacing: 0.02em !important;
  }
  .erp-toolbar-right {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .erp-filter-input {
    width: 100% !important;
    min-width: 100% !important;
    flex: 1 1 100% !important;
    height: 38px !important;
    background: #141210 !important;
    border: 1px solid rgba(166, 158, 135, 0.22) !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.85rem !important;
    font-size: 0.75rem !important;
    color: #FAF8F5 !important;
    box-sizing: border-box !important;
  }
  .erp-toolbar-right .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 0.5rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  /* Standalone Section Panel Header */
  .erp-panel-header {
    background: #1C1A17 !important;
    border: 1px solid rgba(166, 158, 135, 0.18) !important;
    border-radius: 14px !important;
    padding: 0.85rem 0.95rem !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  }
  .erp-panel-title {
    font-size: 0.80rem !important;
    font-weight: 800 !important;
    color: #FAF8F5 !important;
    line-height: 1.35 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
  }
  .erp-panel-header > div:last-child {
    display: flex !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .erp-panel-header > div:last-child .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 0.45rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .erp-panel-statusbar {
    display: none !important;
  }

  /* Integrated Form Panels (Yoco & WhatsApp settings) */
  #pane-yoco .erp-panel,
  #pane-whatsapp .erp-panel {
    background: #1C1A17 !important;
    border: 1px solid rgba(166, 158, 135, 0.18) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28) !important;
    margin-bottom: 1rem !important;
  }
  #pane-yoco .erp-panel-header,
  #pane-whatsapp .erp-panel-header {
    border-bottom: 1px solid rgba(166, 158, 135, 0.15) !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
  }

  .admin-desktop-table-wrap {
    display: none !important;
  }
  .admin-mobile-cards-wrap {
    display: flex !important;
    padding: 0 !important;
    gap: 0.75rem !important;
  }
  .erp-split-grid {
    grid-template-columns: 1fr;
  }
  .erp-config-grid {
    grid-template-columns: 1fr;
  }
  .yoco-kpis {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   23. Customer Portal & Dashboard Action Modals
   -------------------------------------------------------------------------- */
.customer-portal-card {
  background: #FAF8F5;
  border: 1px solid rgba(166, 158, 135, 0.25);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  margin-bottom: 0.85rem;
  transition: all var(--transition-fast);
}

.customer-portal-card:hover {
  border-color: rgba(109, 65, 50, 0.35);
}

.customer-order-item {
  background: #FFFFFF;
  border: 1px solid rgba(166, 158, 135, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--transition-fast);
}

.customer-order-item:hover {
  border-color: #6D4132;
}

.customer-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-order-ref {
  font-family: monospace;
  font-weight: 700;
  color: #6D4132;
  font-size: 0.82rem;
}

.customer-order-details {
  font-size: 0.75rem;
  color: var(--color-charcoal);
  line-height: 1.35;
}

.customer-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(166, 158, 135, 0.15);
  padding-top: 0.4rem;
  font-size: 0.72rem;
}

.customer-waybill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #E8F8F0;
  color: #27AE60;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

.admin-table-action-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-table-action-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   21. STOREFRONT WHATSAPP CHATBOT WIDGET
   ========================================================================== */
.whatsapp-widget-wrap {
  position: fixed;
  bottom: 20px;
  right: 12px;
  z-index: 9999;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Floating WhatsApp Button */
.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.95rem;
  cursor: pointer;
  position: relative;
  align-self: flex-end;
  margin-left: auto;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-trigger-btn:active {
  transform: scale(0.96);
}

/* Notification Ping Badge */
.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #E53E3E;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Teaser Prompt Bubble */
.whatsapp-teaser-bubble {
  background: #FFFFFF;
  color: #1F1D1A;
  padding: 0.65rem 0.95rem;
  border-radius: 12px 12px 2px 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.6rem;
  max-width: 240px;
  font-size: 0.8rem;
  line-height: 1.4;
  position: relative;
  align-self: flex-end;
  margin-left: auto;
  animation: fadeInSlideUp 0.35s ease-out;
  border: 1px solid rgba(166, 158, 135, 0.2);
}

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

/* WhatsApp Dialog Container */
.whatsapp-chat-dialog {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 12px;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 520px;
  max-height: calc(100vh - 110px);
  background: #EFEAE2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  flex-direction: column;
  animation: popUpDialog 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.whatsapp-chat-dialog.active {
  display: flex;
}

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

/* WhatsApp Dialog Header */
.whatsapp-dialog-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.whatsapp-header-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #128C7E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: relative;
  flex-shrink: 0;
}

.whatsapp-avatar .online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  border: 2px solid #075E54;
}

.whatsapp-header-text h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.whatsapp-header-text span {
  font-size: 0.72rem;
  opacity: 0.85;
}

.whatsapp-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.2rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.whatsapp-close-btn:hover {
  opacity: 1;
}

/* WhatsApp Messages Stream */
.whatsapp-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #EFEAE2;
}

/* Chat Bubbles */
.whatsapp-bubble {
  max-width: 82%;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.42;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  word-wrap: break-word;
}

.whatsapp-bubble.msg-incoming {
  align-self: flex-start;
  background: #FFFFFF;
  color: #1F1D1A;
  border-radius: 0 10px 10px 10px;
}

.whatsapp-bubble.msg-outgoing {
  align-self: flex-end;
  background: #D9FDD3;
  color: #1F1D1A;
  border-radius: 10px 0 10px 10px;
}

.msg-sender-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6D4132;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  margin-top: 0.25rem;
  font-size: 0.66rem;
  color: #667781;
}

.msg-check {
  color: #53BDEB;
  font-size: 0.72rem;
}

/* Typing Indicator Dots */
.typing-bubble {
  padding: 0.65rem 1rem !important;
  width: 58px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #8696A0;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Quick Action Chips */
.whatsapp-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.whatsapp-quick-action {
  background: #FFFFFF;
  color: #075E54;
  border: 1px solid #128C7E;
  border-radius: 16px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.whatsapp-quick-action:hover {
  background: #128C7E;
  color: #FFFFFF;
}

/* WhatsApp Input Bar */
.whatsapp-chat-footer {
  background: #F0F2F5;
  padding: 0.55rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.whatsapp-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  padding: 0.48rem 0.95rem;
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
}

.whatsapp-input:focus {
  border-color: #128C7E;
}

.whatsapp-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #075E54;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.whatsapp-send-btn:hover {
  background: #128C7E;
}

.whatsapp-direct-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.whatsapp-direct-btn:hover {
  background: #20BA5A;
}

/* ==========================================================================
   22. DASHBOARD WHATSAPP MANAGEMENT PANEL
   ========================================================================== */
.whatsapp-admin-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.whatsapp-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 480px;
  overflow-y: auto;
}

.whatsapp-inbox-item {
  background: rgba(26, 24, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.whatsapp-inbox-item:hover,
.whatsapp-inbox-item.active {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.09);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.15);
  transform: translateY(-1px);
}

.whatsapp-inbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.whatsapp-inbox-name {
  font-weight: 700;
  font-size: 0.84rem;
  color: #FAF8F5;
}

.whatsapp-inbox-time {
  font-size: 0.7rem;
  color: #8C827A;
}

.whatsapp-inbox-preview {
  font-size: 0.74rem;
  color: #A69E87;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-inspector-card {
  background: rgba(24, 22, 19, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 480px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.whatsapp-inspector-header {
  padding: 0.85rem 1.25rem;
  background: rgba(18, 17, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-inspector-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  background: rgba(12, 11, 9, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.whatsapp-admin-reply-box {
  padding: 0.75rem 1.25rem;
  background: rgba(18, 17, 15, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  gap: 0.5rem;
}

.whatsapp-admin-reply-box input {
  background: rgba(14, 13, 11, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FAF8F5 !important;
}

.whatsapp-admin-reply-box input:focus {
  border-color: #25D366 !important;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.25) !important;
}

@media (max-width: 860px) {
  .whatsapp-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile-Only WhatsApp Button refinement: Smaller (44px) and positioned just below star ratings */
@media (max-width: 768px) {
  .whatsapp-widget-wrap {
    bottom: 0.85rem !important;
    right: 0.85rem !important;
  }
  .whatsapp-trigger-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.35rem !important;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4) !important;
  }
  .whatsapp-badge {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.55rem !important;
    top: -3px !important;
    right: -3px !important;
    border-width: 1.5px !important;
  }
  .whatsapp-teaser-bubble {
    display: none !important;
  }
  .whatsapp-chat-dialog {
    bottom: 64px !important;
    right: 0.85rem !important;
    width: calc(100vw - 1.7rem) !important;
    max-width: 380px !important;
    height: min(480px, calc(100vh - 85px)) !important;
  }
}

/* ==========================================================================
   23. WHATSAPP NON-BLOCKING CHECKOUT & TEASER BUBBLE PREVENTION
   ========================================================================== */
/* Hide teaser text bubble so it never blocks page text or checkout view */
.whatsapp-teaser-bubble,
#whatsappTeaserBubble {
  display: none !important;
}

/* Automatically hide WhatsApp widget whenever Cart Drawer or Checkout/Quote Modal is open */
body.cart-drawer-open .whatsapp-widget-wrap,
.cart-drawer.active ~ .whatsapp-widget-wrap,
.drawer-backdrop.active ~ .whatsapp-widget-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}

/* ==========================================================================
   24. CORPORATE EVENTS & EXECUTIVE GIFTING SECTION (DESKTOP & MOBILE)
   ========================================================================== */
.corporate-events-section .corporate-events-scene {
  aspect-ratio: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: transparent !important;
}

.corporate-showcase-collage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corporate-main-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(216, 204, 194, 0.22);
  height: 100%;
  min-height: 480px;
  background: #1A1816;
}

.corporate-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.corporate-main-visual:hover .corporate-hero-img {
  transform: scale(1.03);
}

.corporate-scene-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(26, 24, 22, 0.88);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  border: 1px solid rgba(212, 163, 115, 0.45);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.corporate-scene-badge i {
  color: var(--color-tan-light);
}

.corporate-moq-pill {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #6D4132;
  color: #FFFFFF;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Feature Points with Dedicated Luxury Icons */
.corporate-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.corporate-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 204, 194, 0.14);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.corporate-feature-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 163, 115, 0.4);
  transform: translateX(4px);
}

.corporate-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.28) 0%, rgba(109, 65, 50, 0.42) 100%);
  border: 1.5px solid rgba(212, 163, 115, 0.45);
  color: var(--color-tan-light, #E6C280);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.corporate-feature-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.corporate-feature-text strong {
  color: #FFFFFF;
}

.corporate-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.corporate-sub-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 204, 194, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.corporate-sub-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--color-tan-light);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.corporate-sub-card img {
  width: 100%;
  height: 115px !important;
  object-fit: cover;
  display: block;
}

.corporate-sub-meta {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corporate-sub-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-tan-light);
  font-weight: 700;
}

.corporate-sub-meta strong {
  font-size: 0.8rem;
  color: #FFFFFF;
  font-weight: 600;
}

.corporate-sub-meta span:last-child {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .corporate-events-container {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .corporate-events-info {
    padding-right: 0 !important;
  }
}

@media (max-width: 640px) {
  .corporate-sub-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .corporate-sub-card {
    flex-direction: row;
    align-items: center;
  }
  .corporate-sub-card img {
    width: 88px !important;
    height: 82px !important;
    flex-shrink: 0;
  }
  .corporate-scene-badge {
    font-size: 0.64rem;
    padding: 0.35rem 0.7rem;
    top: 0.65rem;
    left: 0.65rem;
  }
  .corporate-moq-pill {
    font-size: 0.66rem;
    padding: 0.32rem 0.65rem;
    bottom: 0.65rem;
    right: 0.65rem;
  }
  .corporate-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   25. DASHBOARD PRODUCT PICTURES & COLORS EDITOR (DESKTOP & MOBILE)
   ========================================================================== */
.prod-edit-section-box {
  background: #FAF8F5;
  border: 1px solid rgba(166, 158, 135, 0.32);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prod-edit-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.prod-edit-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.prod-edit-count-pill {
  background: rgba(109, 65, 50, 0.12);
  color: #6D4132;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.prod-delete-all-btn {
  color: #C0392B !important;
  border-color: rgba(192, 57, 43, 0.4) !important;
  background: #FFF5F5 !important;
  font-size: 0.73rem !important;
  padding: 0.38rem 0.7rem !important;
  font-weight: 700 !important;
}

.prod-delete-all-btn:hover:not(:disabled) {
  background: #C0392B !important;
  color: #FFFFFF !important;
}

.prod-edit-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  max-height: 250px;
  overflow-y: auto;
  padding: 0.2rem 0.1rem;
}

.prod-edit-empty-images {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border: 1.5px dashed rgba(109, 65, 50, 0.4);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.prod-edit-empty-images:hover {
  border-color: #6D4132;
  background: #FDFBFA;
}

.prod-edit-empty-images i {
  font-size: 1.65rem;
  color: #6D4132;
}

.prod-edit-empty-images strong {
  font-size: 0.82rem;
  color: var(--color-charcoal);
}

.prod-edit-empty-images span {
  font-size: 0.72rem;
  color: var(--color-muted);
}

.prod-edit-img-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(166, 158, 135, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.prod-edit-img-card.is-primary {
  border-color: #6D4132;
  box-shadow: 0 3px 10px rgba(109, 65, 50, 0.16);
}

.prod-edit-img-thumb-wrap {
  position: relative;
  width: 100%;
  height: 88px;
  background: #F4F1EA;
}

.prod-edit-img-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-edit-img-index-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(26, 24, 22, 0.82);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.prod-edit-img-card.is-primary .prod-edit-img-index-badge {
  background: #6D4132;
}

.prod-edit-img-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.92);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.prod-edit-img-remove-btn:hover {
  background: #A93226;
  transform: scale(1.08);
}

.prod-edit-img-card-footer {
  padding: 0.3rem 0.4rem;
  text-align: center;
  background: #FFFFFF;
  border-top: 1px solid rgba(166, 158, 135, 0.2);
}

.prod-edit-primary-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: #2E7D32;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.prod-edit-make-primary-btn {
  background: none;
  border: none;
  font-size: 0.66rem;
  font-weight: 600;
  color: #6D4132;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.prod-edit-upload-controls {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.prod-upload-computer-btn {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  gap: 0.5rem;
}

.prod-edit-url-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.prod-edit-colors-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 210px;
  overflow-y: auto;
}

.prod-edit-color-row {
  display: grid;
  grid-template-columns: 38px 1.2fr 1fr 34px;
  gap: 0.45rem;
  align-items: center;
  background: #FFFFFF;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(166, 158, 135, 0.28);
  border-radius: var(--radius-sm);
}

.prod-edit-color-picker {
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 1px solid rgba(166, 158, 135, 0.5);
  border-radius: 6px;
  background: #FFFFFF;
  cursor: pointer;
}

.prod-edit-color-name,
.prod-edit-color-img-select {
  font-size: 0.78rem !important;
  padding: 0.42rem 0.6rem !important;
  margin: 0 !important;
}

.prod-edit-color-delete-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  background: #FFF5F5;
  color: #C0392B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
}

.prod-edit-color-delete-btn:hover {
  background: #C0392B;
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .prod-edit-two-col {
    grid-template-columns: 1fr !important;
  }
  .prod-edit-color-row {
    grid-template-columns: 36px 1fr 32px;
  }
  .prod-edit-color-img-select {
    grid-column: 1 / -1;
  }
  .prod-edit-url-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   WHOLESALE PRICE + STRIKETHROUGH RETAIL PRICE & CUSTOMER SAVINGS BADGES
   ========================================================================== */
.card-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.card-price-main-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.card-compare-price {
  font-size: 0.84rem;
  color: #8C846D;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #C0392B;
  margin-left: 0.25rem;
  font-weight: 500;
}

.card-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1B5E20;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.28);
  padding: 0.14rem 0.48rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.qv-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1B5E20;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.3);
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Dashboard Product Edit Modal Live Wholesale vs Retail Preview */
.prod-edit-savings-preview {
  background: #FAF8F5;
  border: 1px solid rgba(109, 65, 50, 0.24);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
}

.prod-edit-savings-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.prod-edit-savings-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.prod-edit-savings-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate);
}

.prod-edit-savings-prices {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.prod-edit-preview-wholesale {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-charcoal);
}

.prod-edit-preview-wholesale small {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6D4132;
  text-transform: uppercase;
  margin-left: 2px;
}

.prod-edit-preview-retail {
  font-size: 0.9rem;
  font-weight: 600;
  color: #8C846D;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #C0392B;
}

.prod-edit-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1B5E20;
  background: rgba(46, 125, 50, 0.14);
  border: 1px solid rgba(46, 125, 50, 0.32);
  padding: 0.3rem 0.68rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   BRANDONKLAWER@GMAIL.COM SECTION EDIT BUTTONS & MODAL STYLES
   ========================================================================== */
.brandon-edit-section-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6D4132 0%, #4A2B20 100%);
  color: #FFFFFF;
  border: 1px solid rgba(216, 204, 194, 0.45);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 29, 26, 0.24);
  transition: all var(--transition-fast);
}

.brandon-edit-section-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #824E3C 0%, #5C3628 100%);
  box-shadow: 0 10px 24px rgba(31, 29, 26, 0.32);
}

.brandon-inline-edit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.brandon-inline-edit-pill:hover {
  background: #6D4132;
  border-color: #D8CCC2;
}

.brandon-inline-edit-pill.light-mode {
  background: rgba(109, 65, 50, 0.12);
  color: #6D4132;
  border-color: rgba(109, 65, 50, 0.35);
}

.brandon-inline-edit-pill.light-mode:hover {
  background: #6D4132;
  color: #FFFFFF;
}

.sec-edit-img-box {
  background: #FFFFFF;
  border: 1px solid rgba(166, 158, 135, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sec-edit-img-preview {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-linen);
}

.craft-card-custom-img-wrap {
  margin-bottom: 1.15rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 165px;
  border: 1px solid rgba(166, 158, 135, 0.25);
  background: var(--color-linen);
}

.craft-card-custom-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.45s ease;
  display: block;
}

.craft-card:hover .craft-card-custom-img {
  transform: scale(1.05);
}

/* ==========================================================================
   VISIT OUR KIOSK SHOP — CENTURION LIFESTYLE CENTRE SECTION
   ========================================================================== */
.kiosk-shop-section {
  background: linear-gradient(180deg, #FAF8F5 0%, #F2ECE4 100%);
  border-top: 1px solid rgba(166, 158, 135, 0.22);
  border-bottom: 1px solid rgba(166, 158, 135, 0.22);
}

.kiosk-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.kiosk-showcase-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.kiosk-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.kiosk-main-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1F1D1A;
  box-shadow: 0 18px 42px rgba(31, 29, 26, 0.16);
  border: 1px solid rgba(109, 65, 50, 0.2);
}

.kiosk-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform 0.5s ease;
}

.kiosk-main-photo-wrap:hover .kiosk-main-photo {
  transform: scale(1.02);
}

.kiosk-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(31, 29, 26, 0.86);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(216, 204, 194, 0.25);
}

.kiosk-photo-badge i {
  color: var(--color-tan-light);
}

.kiosk-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.kiosk-thumb-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #1F1D1A;
  aspect-ratio: 16 / 10;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.kiosk-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.kiosk-thumb-card:hover img,
.kiosk-thumb-card.active img {
  opacity: 1;
  transform: scale(1.04);
}

.kiosk-thumb-card.active {
  border-color: var(--color-terracotta);
  box-shadow: 0 6px 18px rgba(109, 65, 50, 0.28);
}

.kiosk-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(20, 18, 16, 0.9) 0%, rgba(20, 18, 16, 0) 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.8rem 0.45rem 0.35rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.kiosk-details-col {
  display: flex;
}

.kiosk-info-card {
  background: #FFFFFF;
  border: 1px solid rgba(166, 158, 135, 0.32);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(31, 29, 26, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.kiosk-mall-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  background: rgba(109, 65, 50, 0.1);
  color: #6D4132;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.kiosk-mall-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: var(--color-charcoal);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.kiosk-mall-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.kiosk-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.kiosk-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #FAF8F5;
  border: 1px solid rgba(166, 158, 135, 0.25);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

.kiosk-clickable-location:hover {
  border-color: #6D4132;
  background: #F4EFE8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 65, 50, 0.12);
}

.kiosk-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #6D4132;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.kiosk-info-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--color-charcoal);
  margin-bottom: 0.15rem;
}

.kiosk-info-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.kiosk-ext-icon {
  margin-left: auto;
  color: #6D4132;
  font-size: 0.85rem;
  align-self: center;
  flex-shrink: 0;
}

.kiosk-maps-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.kiosk-maps-btn {
  flex: 1.4;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.5rem;
  text-align: center;
}

.kiosk-directions-btn {
  flex: 1;
  justify-content: center;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.45rem;
  text-align: center;
}

.kiosk-maps-mobile-text {
  display: none;
}
.kiosk-maps-desktop-text {
  display: inline;
}

@media (max-width: 960px) {
  .kiosk-showcase-layout {
    grid-template-columns: 1fr;
  }
  .corporate-main-visual {
    height: auto !important;
    min-height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 768px) {
  /* Kiosk Photo Labels */
  .kiosk-photo-badge,
  .kiosk-thumb-label {
    display: none !important;
  }

  /* Kiosk Mobile Only: Single Open Maps Button & Enhanced Icons */
  .kiosk-directions-btn {
    display: none !important;
  }
  .kiosk-maps-desktop-text {
    display: none !important;
  }
  .kiosk-maps-mobile-text {
    display: inline !important;
  }
  .kiosk-maps-btn {
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: center !important;
    padding: 0.82rem 1.15rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }
  .kiosk-info-card {
    padding: 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }
  .kiosk-mall-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.45rem !important;
  }
  .kiosk-mall-desc {
    font-size: 0.84rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }
  .kiosk-info-list {
    gap: 0.65rem !important;
    margin-bottom: 1.15rem !important;
  }
  .kiosk-info-item {
    padding: 0.65rem 0.8rem !important;
    gap: 0.75rem !important;
    border-radius: var(--radius-sm) !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(109, 65, 50, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }
  .kiosk-info-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
    background: linear-gradient(135deg, #8A5240 0%, #6D4132 100%) !important;
    box-shadow: 0 2px 6px rgba(109, 65, 50, 0.25) !important;
  }
  .kiosk-info-item strong {
    font-size: 0.78rem !important;
  }
  .kiosk-info-item span {
    font-size: 0.74rem !important;
  }

  /* Artisan Promise Section (Mobile Only): Smaller Titles & Compact Cards */
  #craftSection .craft-grid {
    gap: 0.95rem !important;
    margin-top: 1.75rem !important;
  }
  #craftSection .craft-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }
  #craftSection .craft-icon-wrap {
    width: 46px !important;
    height: 46px !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.65rem !important;
  }
  #craftSection .craft-title {
    font-size: 1.05rem !important; /* Smaller titles on mobile for Full-Grain Bovine Hides, Solid Brass & YKK Hardware, Lifetime Stitching Warranty */
    margin-bottom: 0.35rem !important;
    line-height: 1.3 !important;
  }
  #craftSection .craft-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  /* Reviews Section (Mobile Only): Smaller, Sleek & Compact Cards */
  .reviews-grid {
    gap: 0.85rem !important;
    margin-top: 1.5rem !important;
  }
  .review-card {
    padding: 1.1rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }
  .review-stars {
    font-size: 0.88rem !important;
    margin-bottom: 0.45rem !important;
    letter-spacing: 2px !important;
  }
  .review-text {
    font-size: 0.85rem !important;
    line-height: 1.48 !important;
    margin-bottom: 0.85rem !important;
  }
  .review-author {
    gap: 0.65rem !important;
  }
  .review-author > div:first-child {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.76rem !important;
  }
  .author-name {
    font-size: 0.82rem !important;
  }
  .author-loc {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }
  .verified-badge {
    font-size: 0.68rem !important;
  }
}

@media (max-width: 600px) {
  .corporate-feature-item {
    padding: 0.65rem 0.8rem;
    gap: 0.75rem;
  }
  .corporate-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .corporate-feature-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .kiosk-info-card {
    padding: 1.15rem;
  }
  .kiosk-maps-cta-box {
    flex-direction: column;
  }
  .kiosk-maps-btn {
    width: 100%;
  }
}


/* ==========================================================================
   NEW: Cart Drawer — Branding Box, Summary Card, Actions Grid
   ========================================================================== */

.cart-branding-box {
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.2);
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
}

.cart-branding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.cart-branding-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6D4132;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.cart-branding-title i {
  font-size: 0.72rem;
}

.cart-branding-select {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  padding: 0.35rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-charcoal, #2C2C2C);
  background: #FFFFFF;
  border: 1px solid rgba(109, 65, 50, 0.3);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: border-color 0.2s ease;
  appearance: auto;
}

.cart-branding-select:focus {
  outline: none;
  border-color: #6D4132;
  box-shadow: 0 0 0 2px rgba(109, 65, 50, 0.15);
}

.cart-branding-textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.76rem;
  font-family: inherit;
  color: var(--color-charcoal, #2C2C2C);
  background: #FFFFFF;
  border: 1px solid rgba(109, 65, 50, 0.2);
  border-radius: var(--radius-sm, 6px);
  resize: vertical;
  min-height: 42px;
  line-height: 1.45;
  transition: border-color 0.2s ease;
}

.cart-branding-textarea:focus {
  outline: none;
  border-color: #6D4132;
  box-shadow: 0 0 0 2px rgba(109, 65, 50, 0.12);
}

.cart-branding-textarea::placeholder {
  color: var(--color-muted, #999);
  font-size: 0.72rem;
}

/* Cart Item Branding Row */
.cart-item-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
}

.cart-item-branding-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.25rem;
  flex-wrap: wrap;
}

.cart-item-branding-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6D4132;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.cart-item-branding-label i {
  font-size: 0.6rem;
}

.cart-item-branding-select {
  padding: 0.22rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-charcoal, #2C2C2C);
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.25);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: border-color 0.2s ease;
  appearance: auto;
  max-width: 170px;
}

.cart-item-branding-select:focus {
  outline: none;
  border-color: #6D4132;
}

.cart-item-branding-note {
  font-size: 0.68rem;
  color: #6D4132;
  font-style: italic;
  margin-top: 0.15rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-item-branding-note i {
  font-size: 0.6rem;
  opacity: 0.7;
}

/* Drawer Summary Card */
.drawer-summary-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border, rgba(166, 158, 135, 0.25));
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
}

.drawer-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--color-muted, #999);
  margin-top: 0.35rem;
  gap: 0.5rem;
}

.drawer-meta-row span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

/* Drawer Actions Grid */
.drawer-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}


/* ==========================================================================
   NEW: Checkout / Quote — Tidy Dialog
   ========================================================================== */

.checkout-tidy-dialog {
  max-width: 620px !important;
  width: 95% !important;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0 !important;
  border-radius: var(--radius-lg, 12px) !important;
}

.checkout-tidy-dialog > .modal-close-btn {
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.checkout-tidy-header {
  padding: 1.5rem 1.65rem 1rem;
  border-bottom: 1px solid var(--color-border, rgba(166, 158, 135, 0.25));
  background: linear-gradient(135deg, #FAF5F0 0%, #F8F3ED 100%);
}

.checkout-tidy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6D4132;
  margin-bottom: 0.3rem;
}

.checkout-tidy-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.35rem;
  color: var(--color-charcoal, #2C2C2C);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

/* MOQ Pill Banners */
.checkout-moq-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.76rem;
  line-height: 1.4;
}

.checkout-moq-pill i {
  flex-shrink: 0;
  font-size: 0.85rem;
}

.checkout-moq-pill.warning {
  background: #FFF8F2;
  border: 1px solid rgba(196, 108, 47, 0.35);
  color: #7A3A10;
}

.checkout-moq-pill.warning i {
  color: #C46C2F;
}

.checkout-moq-pill.success {
  background: #F0FAF2;
  border: 1px solid rgba(46, 125, 50, 0.3);
  color: #1B5E20;
}

.checkout-moq-pill.success i {
  color: #2E7D32;
}

.checkout-moq-pill.info {
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.25);
  color: #4A3228;
}

.checkout-moq-pill.info i {
  color: #6D4132;
}

/* Order / Quote Summary Box */
.checkout-summary-box {
  margin: 1rem 1.65rem 0;
  border: 1px solid var(--color-border, rgba(166, 158, 135, 0.25));
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background: #FFFFFF;
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: var(--color-linen, #F8F3ED);
  border-bottom: 1px solid var(--color-border, rgba(166, 158, 135, 0.25));
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-charcoal, #2C2C2C);
}

.checkout-summary-list {
  padding: 0.5rem 0.95rem;
  max-height: 170px;
  overflow-y: auto;
}

.checkout-summary-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(166, 158, 135, 0.12);
  gap: 0.75rem;
}

.checkout-summary-item-row:last-child {
  border-bottom: none;
}

.checkout-summary-item-left {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.checkout-summary-qty {
  font-weight: 700;
  font-size: 0.82rem;
  color: #6D4132;
  white-space: nowrap;
  min-width: 28px;
}

.checkout-summary-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-charcoal, #2C2C2C);
  line-height: 1.35;
}

.checkout-summary-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-slate-deep, #3A3A3A);
  white-space: nowrap;
}

.checkout-summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  border-top: 2px solid var(--color-border, rgba(166, 158, 135, 0.25));
  background: var(--color-linen, #F8F3ED);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal, #2C2C2C);
}

.checkout-summary-total-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #6D4132;
  font-family: var(--font-heading, 'Playfair Display', serif);
}

/* Item Branding Tag in Summary */
.checkout-item-branding-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.22);
  border-radius: var(--radius-full, 20px);
  font-size: 0.64rem;
  font-weight: 600;
  color: #6D4132;
  margin-top: 0.2rem;
}

.checkout-item-branding-tag i {
  font-size: 0.58rem;
}

/* Checkout Form */
.checkout-tidy-form {
  padding: 0 1.65rem;
}

/* Branding Card inside modal */
.checkout-branding-card {
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.18);
  border-radius: var(--radius-md, 8px);
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}

.checkout-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-charcoal, #2C2C2C);
  margin-bottom: 0.65rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkout-section-sub {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--color-muted, #999);
  text-transform: none;
  letter-spacing: 0;
}

/* Branding Style Chip Pills */
.checkout-branding-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.checkout-branding-chip {
  padding: 0.38rem 0.72rem;
  border: 1.5px solid rgba(109, 65, 50, 0.25);
  border-radius: var(--radius-full, 20px);
  background: #FFFFFF;
  color: var(--color-charcoal, #2C2C2C);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.checkout-branding-chip:hover {
  border-color: #6D4132;
  background: #FFF8F4;
  color: #6D4132;
}

.checkout-branding-chip.active {
  background: #6D4132;
  border-color: #6D4132;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(109, 65, 50, 0.2);
}

/* Checkout Form Fields */
.checkout-field-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-charcoal, #2C2C2C);
  margin-bottom: 0.3rem;
  display: block;
}

.checkout-tidy-textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--color-charcoal, #2C2C2C);
  background: #FFFFFF;
  border: 1px solid rgba(109, 65, 50, 0.2);
  border-radius: var(--radius-sm, 6px);
  resize: vertical;
  min-height: 44px;
  line-height: 1.45;
  transition: border-color 0.2s ease;
}

.checkout-tidy-textarea:focus {
  outline: none;
  border-color: #6D4132;
  box-shadow: 0 0 0 2px rgba(109, 65, 50, 0.12);
}

.checkout-tidy-textarea::placeholder {
  color: var(--color-muted, #999);
  font-size: 0.73rem;
}

.checkout-tidy-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--color-charcoal, #2C2C2C);
  background: #FFFFFF;
  border: 1px solid rgba(166, 158, 135, 0.35);
  border-radius: var(--radius-sm, 6px);
  transition: border-color 0.2s ease;
}

.checkout-tidy-input:focus {
  outline: none;
  border-color: #6D4132;
  box-shadow: 0 0 0 2px rgba(109, 65, 50, 0.12);
}

.checkout-tidy-input::placeholder {
  color: var(--color-muted, #999);
  font-size: 0.76rem;
}

.checkout-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

/* Contact Card inside modal */
.checkout-contact-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border, rgba(166, 158, 135, 0.25));
  border-radius: var(--radius-md, 8px);
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}

/* Checkout Modal Actions */
.checkout-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.checkout-submit-main-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.checkout-switch-quote-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid rgba(109, 65, 50, 0.3);
  color: #6D4132;
  background: transparent;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-switch-quote-btn:hover {
  background: #6D4132;
  color: #FFFFFF;
  border-color: #6D4132;
}

/* SSL Footnote */
.checkout-ssl-footnote {
  text-align: center;
  font-size: 0.68rem;
  color: var(--color-muted, #999);
  padding: 0.85rem 1.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.checkout-ssl-footnote i {
  color: #27AE60;
  font-size: 0.72rem;
}


/* ==========================================================================
   NEW: QuickView — Branding Style Pill Block & Note Input
   ========================================================================== */

.qv-branding-block {
  border-top: 1px solid rgba(166, 158, 135, 0.2);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.qv-branding-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.qv-branding-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1.5px solid rgba(109, 65, 50, 0.22);
  border-radius: var(--radius-full, 20px);
  background: #FFFFFF;
  color: var(--color-charcoal, #2C2C2C);
  cursor: pointer;
  transition: all 0.2s ease;
}

.qv-branding-pill:hover {
  border-color: #6D4132;
  background: #FFF8F4;
  color: #6D4132;
}

.qv-branding-pill.active {
  background: #6D4132;
  border-color: #6D4132;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(109, 65, 50, 0.2);
}

.qv-branding-pill i {
  font-size: 0.68rem;
}

.qv-branding-note-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--color-charcoal, #2C2C2C);
  background: #FAF5F0;
  border: 1px solid rgba(109, 65, 50, 0.2);
  border-radius: var(--radius-sm, 6px);
  transition: border-color 0.2s ease;
}

.qv-branding-note-input:focus {
  outline: none;
  border-color: #6D4132;
  box-shadow: 0 0 0 2px rgba(109, 65, 50, 0.12);
  background: #FFFFFF;
}

.qv-branding-note-input::placeholder {
  color: var(--color-muted, #999);
  font-size: 0.72rem;
}


/* ==========================================================================
   Responsive: Checkout / Cart Branding adjustments
   ========================================================================== */

@media (max-width: 600px) {
  .checkout-tidy-dialog {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 0 !important;
    max-height: 96vh;
  }

  .checkout-tidy-header {
    padding: 1.15rem 1.15rem 0.8rem;
  }

  .checkout-tidy-title {
    font-size: 1.15rem;
  }

  .checkout-summary-box {
    margin: 0.75rem 1.15rem 0;
  }

  .checkout-tidy-form {
    padding: 0 1.15rem;
  }

  .checkout-grid-2col {
    grid-template-columns: 1fr;
  }

  .checkout-branding-chips {
    gap: 0.3rem;
  }

  .checkout-branding-chip {
    font-size: 0.67rem;
    padding: 0.32rem 0.55rem;
  }

  .checkout-ssl-footnote {
    padding: 0.75rem 1.15rem 1rem;
  }

  .cart-branding-header {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-branding-select {
    max-width: 100%;
  }

  .qv-branding-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }

  .qv-branding-note-input {
    font-size: 0.74rem;
  }

  #sectionEditorModal .prod-edit-two-col {
    grid-template-columns: 1fr !important;
  }
}

#toastNotification {
  z-index: 2000000 !important;
}

/* ==========================================================================
   LUXURY LEATHER CRAFT DASHBOARD AESTHETIC (Matches Reference Visual)
   ========================================================================== */

/* Workspace background & typography - Dark Espresso Leather Theme */
#adminDashboardApp,
#adminDashboardApp .erp-shell,
#adminDashboardApp .erp-workspace,
#adminDashboardApp .erp-scroll-body {
  background: #150F0B !important; /* Deep dark espresso leather canvas */
  color: #FAF7F2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#adminDashboardApp .erp-workspace {
  background: #150F0B !important;
  background-image: none !important;
}

#adminDashboardApp .erp-scroll-body {
  padding: 1.75rem 2.25rem 3.5rem 2.25rem;
}

/* 1. LUXURY CRAFT SIDEBAR (Reference Image Exact Match) */
.luxury-craft-sidebar {
  width: 250px !important;
  background: #16100C !important; /* Rich espresso leather dark brown */
  border-right: 1px solid #281B13 !important;
  color: #C3B8AC;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  z-index: 120;
}

.luxury-sidebar-header {
  padding: 1.5rem 1.35rem 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.luxury-dash-brand {
  display: flex;
  flex-direction: column;
}

.luxury-dash-logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.luxury-dash-trademark {
  font-size: 0.68rem;
  vertical-align: super;
  margin-left: 2px;
  color: #C9975D;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

.luxury-dash-sub {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #C9975D;
  text-transform: uppercase;
  margin-top: 3px;
}

.luxury-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.luxury-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #A89685 !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
  width: 100%;
}

.luxury-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 0.92rem;
  color: #8C7A6B;
  transition: color 0.16s ease;
}

.luxury-nav-item:hover {
  background: rgba(201, 151, 93, 0.08);
  color: #FAF7F2 !important;
}

.luxury-nav-item:hover i {
  color: #C9975D !important;
}

/* Active tab pill: warm dark cognac with subtle gold border */
.luxury-nav-item.active {
  background: #2A1C14 !important;
  border: 1px solid rgba(201, 151, 93, 0.35) !important;
  color: #FAF7F2 !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.luxury-nav-item.active i {
  color: #C9975D !important;
}

.luxury-nav-title {
  flex: 1;
}

.luxury-nav-store {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  color: #C9975D !important;
}

.luxury-nav-store i {
  color: #C9975D !important;
}

/* Sidebar Promo Card: Aqwake Journal (Reference Visual Match) */
.luxury-sidebar-promo-card {
  margin: 0.75rem 0.85rem;
  padding: 0.75rem 0.85rem;
  background: #1F1611;
  border: 1px solid #34241B;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.luxury-sidebar-promo-card:hover {
  background: #261C16;
  border-color: #4A3426;
}

.luxury-promo-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #140E0A;
}

.luxury-promo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luxury-promo-content {
  flex: 1;
  min-width: 0;
}

.luxury-promo-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FAF7F2;
  line-height: 1.25;
}

.luxury-promo-desc {
  font-size: 0.65rem;
  color: #A89685;
  line-height: 1.25;
  margin-top: 2px;
}

.luxury-promo-link {
  font-size: 0.66rem;
  font-weight: 600;
  color: #C9975D;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.luxury-sidebar-footer {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #130D0A;
  gap: 10px;
}

.luxury-operator-avatar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2A1C14;
  border: 1px solid #3E2B20;
  color: #C9975D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.luxury-operator-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.luxury-operator-email {
  font-size: 0.76rem;
  color: #FAF7F2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-operator-role {
  font-size: 0.64rem;
  color: #8C7A6B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.luxury-operator-logout {
  background: transparent;
  border: none;
  color: #8C7A6B;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.16s ease;
}

.luxury-operator-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

/* 2. LUXURY DASHBOARD GREETING HEADER & ACTIONS */
.luxury-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.luxury-greeting-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.luxury-greeting-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.luxury-wave {
  display: inline-block;
  font-size: 1.45rem;
}

.luxury-greeting-sub {
  font-size: 0.86rem;
  color: #A89685;
  margin: 0;
}

.luxury-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.luxury-date-picker-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1F1611;
  border: 1px solid #34241B;
  border-radius: 20px;
  padding: 0.45rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.luxury-date-picker-card i.fa-calendar {
  color: #C9975D;
  font-size: 0.82rem;
}

.luxury-period-select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FAF7F2;
  cursor: pointer;
  padding: 0 4px;
  font-family: inherit;
  appearance: none;
}

.luxury-date-arrow {
  font-size: 0.65rem;
  color: #C9975D;
  pointer-events: none;
}

.luxury-bell-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1F1611;
  border: 1px solid #34241B;
  color: #A89685;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.18s ease;
}

.luxury-bell-btn:hover {
  border-color: #C9975D;
  color: #FAF7F2;
}

.luxury-bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
}

/* 3. LUXURY 4 KPI METRIC CARDS (Deep Dark Espresso Cards) */
.luxury-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.luxury-kpi-card {
  background: #1F1611;
  border: 1px solid #34241B;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.luxury-kpi-card:hover {
  transform: translateY(-2px);
  border-color: #4A3426;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.luxury-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.luxury-kpi-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #A89685;
}

.luxury-kpi-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #2A1C14;
  border: 1px solid #3E2B20;
  color: #C9975D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.luxury-kpi-metric {
  font-size: 1.65rem;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.luxury-kpi-trend {
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.luxury-kpi-trend.positive {
  color: #34D399;
}

.luxury-kpi-trend.negative {
  color: #EF4444;
}

.luxury-kpi-trend.neutral {
  color: #7D6F63;
  font-weight: 500;
}

/* 4. LUXURY MIDDLE GRID (Sales Overview + Top Products) */
.luxury-middle-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.luxury-card {
  background: #1F1611;
  border: 1px solid #34241B;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.luxury-card:hover {
  border-color: #4A3426;
}

.luxury-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.luxury-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FAF7F2;
  margin: 0;
}

.luxury-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C9975D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s ease;
}

.luxury-card-link:hover {
  color: #E6B87D;
}

.luxury-chart-period {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.luxury-select-clean {
  border: 1px solid #34241B;
  background: #18110D;
  border-radius: 6px;
  padding: 0.35rem 1.65rem 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: #FAF7F2;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  outline: none;
}

.luxury-chart-period i {
  position: absolute;
  right: 8px;
  font-size: 0.65rem;
  color: #C9975D;
  pointer-events: none;
}

.luxury-svg-chart-container {
  width: 100%;
  height: 225px;
  display: flex;
  flex-direction: column;
}

.luxury-area-svg {
  width: 100%;
  height: 195px;
  overflow: visible;
}

.luxury-axis-text {
  font-size: 10px;
  fill: #7D6F63;
  font-family: inherit;
}

.luxury-xaxis-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px 0 50px;
  font-size: 0.72rem;
  color: #7D6F63;
}

/* Zero States for Charts, Top Products, and Orders */
.luxury-chart-zero-state {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  width: 88%;
}

.luxury-chart-zero-state i {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  opacity: 0.4;
  color: #C9975D;
}

.luxury-chart-zero-state div {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FAF7F2;
}

.luxury-chart-zero-state span {
  font-size: 0.72rem;
  color: #7D6F63;
  margin-top: 3px;
  line-height: 1.35;
}

.luxury-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.25rem 1rem;
}

.luxury-empty-state i {
  font-size: 1.8rem;
  margin-bottom: 0.65rem;
  opacity: 0.45;
  color: #C9975D;
}

.luxury-empty-state div {
  font-size: 0.86rem;
  font-weight: 600;
  color: #FAF7F2;
}

.luxury-empty-state span {
  font-size: 0.72rem;
  color: #7D6F63;
  margin-top: 4px;
  max-width: 290px;
  line-height: 1.35;
}

.luxury-order-empty-row td {
  padding: 0 !important;
  border-bottom: none !important;
}

/* Top Products List */
.luxury-top-products-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.luxury-prod-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.luxury-prod-row:last-child {
  border-bottom: none;
}

.luxury-prod-thumb-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #140E0A;
  border: 1px solid #34241B;
  flex-shrink: 0;
}

.luxury-prod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luxury-prod-info {
  flex: 1;
  min-width: 0;
}

.luxury-prod-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FAF7F2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-prod-sub {
  font-size: 0.7rem;
  color: #A89685;
  margin-top: 2px;
}

.luxury-prod-price {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FAF7F2;
}

/* 5. LUXURY BOTTOM GRID (Order Status, Revenue Breakdown, Recent Orders) */
.luxury-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Donut Cards */
.luxury-donut-body {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  padding-top: 0.4rem;
}

.luxury-donut-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  flex-shrink: 0;
}

.luxury-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.luxury-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.luxury-donut-center-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAF7F2;
}

.luxury-donut-center-label {
  font-size: 0.65rem;
  color: #A89685;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.luxury-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.luxury-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #A89685;
}

.luxury-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.luxury-legend-label {
  flex: 1;
}

.luxury-legend-pct {
  font-weight: 700;
  color: #FAF7F2;
}

/* Recent Orders Table */
.luxury-orders-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.luxury-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.luxury-orders-table th {
  font-size: 0.7rem;
  font-weight: 600;
  color: #7D6F63;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 6px 8px 10px 8px;
  border-bottom: 1px solid #34241B;
  background: transparent;
}

.luxury-orders-table td {
  padding: 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.luxury-order-row:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.luxury-order-row:last-child td {
  border-bottom: none;
}

.luxury-order-primary {
  font-size: 0.8rem;
  font-weight: 600;
  color: #FAF7F2;
  display: flex;
  align-items: center;
}

.luxury-order-sub {
  font-size: 0.68rem;
  color: #7D6F63;
  margin-top: 2px;
  padding-left: 18px;
}

.luxury-order-cust {
  font-size: 0.8rem;
  color: #FAF7F2;
  font-weight: 500;
}

.luxury-status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
}

.luxury-status-pill.status-completed {
  background: rgba(16, 185, 129, 0.14);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.luxury-status-pill.status-processing {
  background: rgba(245, 158, 11, 0.14);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.luxury-status-pill.status-shipped {
  background: rgba(96, 165, 250, 0.14);
  color: #93C5FD;
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.luxury-order-amt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FAF7F2;
}

/* Collapsible Logistics & P&L Statement */
.luxury-collapsible-wrap {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.luxury-details-toggle {
  background: #1F1611;
  border: 1px solid #34241B;
  border-radius: 10px;
  overflow: hidden;
  padding: 0.35rem 0.5rem;
}

.luxury-details-summary {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #FAF7F2;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.16s ease;
}

.luxury-details-summary:hover {
  background: #261C16;
}

.luxury-details-summary::-webkit-details-marker {
  display: none;
}

.summary-arrow {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  color: #C9975D;
}

.luxury-details-toggle[open] .summary-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   DARK ESPRESSO LEATHER THEME FOR ALL ERP PANELS, TABLES & CONTROLS
   ========================================================================== */
#adminDashboardApp .erp-topbar {
  background: #16100C;
  border-bottom: 1px solid #281B13;
}

#adminDashboardApp .erp-breadcrumb-tenant {
  color: #C9975D;
}

#adminDashboardApp .erp-breadcrumb-module {
  color: #FAF7F2;
  font-weight: 700;
}

#adminDashboardApp .erp-search-container {
  background: #120C09;
  border: 1px solid #2E1F16;
}

#adminDashboardApp .erp-search-container input {
  background: transparent;
  border: none;
  color: #FAF7F2;
}

#adminDashboardApp .erp-search-container input::placeholder {
  color: #7D6F63;
}

#adminDashboardApp .erp-search-container i {
  color: #C9975D;
}

#adminDashboardApp .erp-operator-card {
  background: #1F1611;
  border-color: #34241B;
}

#adminDashboardApp .erp-operator-name {
  color: #FAF7F2;
}

#adminDashboardApp .erp-operator-badge {
  background: #2A1C14;
  color: #C9975D;
}

#adminDashboardApp .erp-icon-action {
  background: #1F1611;
  border-color: #34241B;
  color: #A89685;
}

#adminDashboardApp .erp-action-btn.secondary {
  background: #1F1611;
  color: #FAF7F2;
  border-color: #34241B;
}

#adminDashboardApp .erp-action-btn.secondary:hover {
  background: #261C16;
  border-color: #4A3426;
}

#adminDashboardApp .erp-action-btn.primary {
  background: #84542B;
  color: #FFFFFF;
  border-color: #A47242;
}

#adminDashboardApp .erp-action-btn.primary:hover {
  background: #9E6738;
}

#adminDashboardApp .erp-panel {
  background: #1F1611;
  border: 1px solid #34241B;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

#adminDashboardApp .erp-panel-header,
#adminDashboardApp .erp-toolbar {
  background: #19110D;
  border-bottom: 1px solid #2E1F16;
}

#adminDashboardApp .erp-panel-title,
#adminDashboardApp .erp-toolbar-title {
  color: #FAF7F2;
}

#adminDashboardApp .erp-panel-statusbar {
  background: #19110D;
  border-top: 1px solid #2E1F16;
  color: #A89685;
}

#adminDashboardApp .erp-dense-table th,
#adminDashboardApp .erp-data-table th {
  background: #18110D;
  color: #7D6F63;
  border-bottom: 1px solid #2E1F16;
}

#adminDashboardApp .erp-dense-table td,
#adminDashboardApp .erp-data-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #FAF7F2;
}

#adminDashboardApp .erp-dense-table tr:hover td,
#adminDashboardApp .erp-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

#adminDashboardApp .erp-filter-input {
  background: #140E0A;
  border: 1px solid #34241B;
  color: #FAF7F2;
}

#adminDashboardApp .erp-filter-input::placeholder {
  color: #7D6F63;
}

#adminDashboardApp .erp-kpi-tile {
  background: #1F1611;
  border: 1px solid #34241B;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

#adminDashboardApp .erp-kpi-header-label {
  color: #A89685;
}

#adminDashboardApp .erp-kpi-metric-val {
  color: #FAF7F2;
}

#adminDashboardApp .erp-form-label {
  color: #A89685;
}

#adminDashboardApp .erp-input-sm,
#adminDashboardApp .erp-select-sm {
  background: #140E0A;
  border: 1px solid #34241B;
  color: #FAF7F2;
}

#adminDashboardApp .erp-input-sm:focus,
#adminDashboardApp .erp-select-sm:focus {
  border-color: #C9975D;
  box-shadow: 0 0 0 2px rgba(201, 151, 93, 0.2);
}

#adminDashboardApp .account-dialog {
  background: #1F1611 !important;
  border: 1px solid #3E2B20 !important;
  color: #FAF7F2 !important;
}

#adminDashboardApp .admin-mobile-card {
  background: #1F1611;
  border: 1px solid #34241B;
}

#adminDashboardApp .admin-mobile-card-title {
  color: #FAF7F2;
}

#adminDashboardApp .admin-mobile-card-subtitle {
  color: #A89685;
}

#adminDashboardApp .admin-mobile-card-metric {
  color: #FAF7F2;
}

#adminDashboardApp .erp-badge-code {
  background: #2A1C14;
  color: #C9975D;
  border: 1px solid rgba(201, 151, 93, 0.25);
}

#adminDashboardApp .erp-counter-chip {
  background: #2A1C14;
  color: #C9975D;
  border: 1px solid rgba(201, 151, 93, 0.25);
}

#adminDashboardApp .erp-btn-outline {
  background: #1F1611;
  border: 1px solid #34241B;
  color: #FAF7F2;
}

#adminDashboardApp .erp-btn-outline:hover {
  background: #261C16;
  border-color: #4A3426;
  color: #FAF7F2;
}

#adminDashboardApp .erp-btn-action {
  background: #84542B;
  border: 1px solid #A47242;
  color: #FFFFFF;
}

#adminDashboardApp .erp-btn-action:hover {
  background: #9E6738;
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 1024px) {
  .luxury-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .luxury-middle-grid {
    grid-template-columns: 1fr;
  }

  .luxury-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #adminDashboardApp .erp-scroll-body {
    padding: 1.15rem 0.85rem 76px 0.85rem !important;
  }

  .luxury-kpi-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .luxury-greeting-title {
    font-size: 1.35rem;
  }

  .luxury-donut-body {
    flex-direction: column;
    gap: 1.5rem;
  }

  .luxury-donut-legend {
    width: 100%;
  }
}



