/* ==========================================================================
   SALON RIVOX - PAGE LAYOUT & WIREFRAME SLOTS
   ========================================================================== */

/* Page Hero Section */
.page-hero {
  padding-top: 50px;
  padding-bottom: 50px;
  background: radial-gradient(circle at 50% 10%, rgba(197, 160, 89, 0.08) 0%, rgba(10, 10, 10, 1) 75%);
  border-bottom: 1px solid var(--gray-border);
  text-align: center;
  position: relative;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 14px;
}

.breadcrumb-nav a {
  color: var(--gold-primary);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--white-pure);
}

.breadcrumb-separator {
  color: var(--gold-border);
  font-size: 0.65rem;
}

/* ==========================================================================
   HOME PAGE: LUXURY HERO BANNER
   ========================================================================== */
.hero-luxury-banner {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 80px;
  background: #0A0A0A;
  border-bottom: 1px solid var(--gray-border);
  overflow: hidden;
}

.hero-luxury-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white-pure);
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--white-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Quick Appointment Booking Strip */
.hero-booking-bar {
  background: var(--bg-glass);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.1);
  text-align: left;
}

.booking-bar-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 16px;
}

.booking-bar-field:last-of-type {
  border-right: none;
}

.booking-field-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-field-select {
  background: transparent;
  color: var(--white-pure);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

.booking-field-select option {
  background: #121212;
  color: var(--white-pure);
}

@media (max-width: 900px) {
  .hero-booking-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .booking-bar-field {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    padding-right: 0;
  }
}

/* ==========================================================================
   WHY CHOOSE US: LUXURY FEATURES
   ========================================================================== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: var(--gold-gradient);
  transition: height var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.12);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.45rem;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  background: var(--gold-primary);
  color: #0A0A0A;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.65;
}

/* ==========================================================================
   FEATURED SERVICES: LUXURY SERVICE CARDS
   ========================================================================== */
.service-luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-luxury-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(197, 160, 89, 0.15);
}

.service-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

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

.service-luxury-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-price-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid var(--gold-border-bright);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: var(--gray-light);
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.86rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   MEET OUR BARBERS: ARTISAN ROSTER
   ========================================================================== */
.barber-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-align: center;
}

.barber-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
}

.barber-photo-container {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.barber-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.barber-card:hover .barber-photo-container img {
  transform: scale(1.05);
}

.barber-exp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.barber-card-info {
  padding: 24px;
}

.barber-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white-pure);
  margin-bottom: 4px;
}

.barber-role {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.barber-specialties {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.specialty-tag {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--gray-light);
}

/* ==========================================================================
   LOYALTY REWARDS SECTION
   ========================================================================== */
.loyalty-showcase-box {
  background: linear-gradient(135deg, #151515 0%, #0E0E0E 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 160, 89, 0.12);
}

.loyalty-showcase-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.loyalty-card-visual {
  background: linear-gradient(135deg, #1C1C1C 0%, #090909 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 160, 89, 0.25);
  position: relative;
  aspect-ratio: 1.58 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.loyalty-card-chip {
  width: 46px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #F3DE9A 0%, #C5A059 100%);
  border: 1px solid #FFF;
}

.loyalty-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.loyalty-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.loyalty-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white-soft);
}

.loyalty-perk-item i {
  color: var(--gold-primary);
}

@media (max-width: 960px) {
  .loyalty-showcase-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* ==========================================================================
   CUSTOMER REVIEWS: LUXURY TESTIMONIALS
   ========================================================================== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.1);
}

.review-stars {
  color: var(--gold-primary);
  font-size: 0.88rem;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white-pure);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  object-fit: cover;
}

.review-author-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white-pure);
}

.review-author-meta {
  font-size: 0.74rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-author-meta i {
  color: var(--gold-primary);
}

/* ==========================================================================
   BRANCH LOCATIONS: LOUNGE PREVIEWS
   ========================================================================== */
.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.branch-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
}

.branch-image-box {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.branch-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.branch-card:hover .branch-image-box img {
  transform: scale(1.06);
}

.branch-status-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.branch-content {
  padding: 24px;
}

.branch-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white-pure);
  margin-bottom: 8px;
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--gray-light);
  margin-bottom: 10px;
}

.branch-info-item i {
  color: var(--gold-primary);
  margin-top: 3px;
  font-size: 0.85rem;
}

.branch-amenities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.amenity-pill {
  font-size: 0.72rem;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.18);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--gold-light);
}

/* ==========================================================================
   Architecture Layout Framework
   ========================================================================== */
.arch-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.arch-slot-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  transition: all var(--transition-smooth);
}

.arch-slot-card:hover {
  border-color: var(--gold-border);
}

.arch-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-slot-number {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.wireframe-grid {
  display: grid;
  gap: 24px;
}

.wireframe-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition-fast);
}

.wireframe-box:hover {
  border-color: var(--gold-primary);
}

.wireframe-title {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-pure);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wireframe-title i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.wireframe-desc {
  font-size: 0.84rem;
  color: var(--gray-light);
  line-height: 1.5;
}

/* Authentication Page Specific Layout */
.auth-container {
  max-width: 520px;
  margin: 0 auto;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 30px;
}

.auth-tab-btn {
  padding: 16px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--gold-primary);
  font-weight: 700;
}

.auth-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
}

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

.form-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.form-input {
  background: #0D0D0D;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white-pure);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.2);
}

/* Customer Dashboard Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.dashboard-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.dashboard-user-card {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.user-avatar {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: var(--gold-primary);
  font-size: 1.6rem;
}

.dashboard-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--white-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dashboard-menu-item i {
  color: var(--gold-primary);
  width: 18px;
  text-align: center;
}

.dashboard-menu-item:hover,
.dashboard-menu-item.active {
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-light);
  border-left: 3px solid var(--gold-primary);
}

.dashboard-content-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ABOUT PAGE: LUXURY STYLES
   ========================================================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-story-image-wrap {
  position: relative;
}

.about-story-image-main {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 160, 89, 0.12);
}

.about-story-badge-floating {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #0E0E0E;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.25);
  max-width: 260px;
}

.about-story-badge-year {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.about-story-badge-text {
  font-size: 0.76rem;
  font-family: var(--font-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-pure);
  line-height: 1.35;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vision-mission-card {
  background: linear-gradient(135deg, #161616 0%, #0E0E0E 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.vision-mission-card:hover {
  border-color: var(--gold-border-bright);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 160, 89, 0.15);
}

.vision-mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.vision-mission-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.value-box {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: all var(--transition-smooth);
  position: relative;
}

.value-box:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 20px rgba(197, 160, 89, 0.12);
}

.value-box-number {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.8;
  margin-bottom: 12px;
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.heritage-card {
  background: #111111;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.heritage-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.7), 0 0 20px rgba(197, 160, 89, 0.15);
}

.heritage-card-img {
  height: 180px;
  overflow: hidden;
}

.heritage-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.heritage-card-body {
  padding: 22px;
}

@media (max-width: 1024px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .about-story-image-main { height: 380px; }
  .about-story-badge-floating { right: 12px; bottom: 12px; }
  .heritage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .vision-mission-grid { grid-template-columns: 1fr; }
  .heritage-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   SERVICES PAGE: FILTER TABS & MODALS
   ========================================================================== */
.services-filter-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.service-filter-btn {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-border);
  background: #111111;
  color: var(--white-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-filter-btn:hover {
  border-color: var(--gold-border-bright);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.service-filter-btn.active {
  background: var(--gold-gradient);
  color: #0A0A0A;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
}

.admin-service-bar {
  background: rgba(197, 160, 89, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modal Overlay & Card */
.luxury-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.luxury-modal-card {
  background: #111111;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 160, 89, 0.2);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid var(--gray-border);
  color: var(--white-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}


/* ==========================================================================
   APPOINTMENT & 6-STEP BOOKING WIZARD STYLES
   ========================================================================== */
.booking-wizard-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.booking-steps-timeline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
  position: relative;
  overflow-x: auto;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  cursor: pointer;
  white-space: nowrap;
}

.step-pill-number {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.step-pill.active {
  color: var(--gold-light);
  font-weight: 700;
}

.step-pill.active .step-pill-number {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.step-pill.completed {
  color: var(--white-pure);
}

.step-pill.completed .step-pill-number {
  background: #1C1C1C;
  color: var(--gold-primary);
  border-color: var(--gold-border);
}

/* Branch Cards */
.booking-branch-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.booking-branch-card:hover,
.booking-branch-card.selected {
  border-color: var(--gold-primary);
  background: #181818;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(197, 160, 89, 0.2);
}

.booking-branch-card.selected::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--gold-primary);
  font-size: 1rem;
}

/* Service Item Selection */
.booking-service-item {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.booking-service-item:hover,
.booking-service-item.selected {
  border-color: var(--gold-primary);
  background: #191919;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.15);
}

.booking-service-item.selected .service-item-checkbox,
.booking-service-item.selected .service-item-radio {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #121212;
}

.service-item-checkbox,
.service-item-radio {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: transparent;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.booking-service-item.selected .service-item-checkbox {
  color: #121212;
}

.summary-selected-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 6px;
  font-size: 0.82rem;
  transition: background 0.2s;
}

.summary-selected-item:hover {
  background: rgba(197, 160, 89, 0.08);
}

.summary-selected-item .remove-svc-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0 4px;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.summary-selected-item .remove-svc-btn:hover {
  color: #ff6b6b;
}

/* Barber Cards */
.booking-barber-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.booking-barber-card:hover,
.booking-barber-card.selected {
  border-color: var(--gold-primary);
  background: #181818;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.18);
}

.booking-barber-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-border);
  object-fit: cover;
  margin: 0 auto 12px;
}

.booking-barber-card.selected .booking-barber-thumb {
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.4);
}

/* Date Cards Carousel */
.dates-carousel-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.booking-date-card {
  min-width: 82px;
  padding: 16px 10px;
  background: #121212;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-date-card:hover,
.booking-date-card.selected {
  border-color: var(--gold-primary);
  background: #1D1D1D;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.2);
}

.booking-date-card.selected .date-number {
  color: var(--gold-light);
}

.date-day {
  font-size: 0.72rem;
  font-family: var(--font-accent);
  color: var(--gray-light);
  text-transform: uppercase;
}

.date-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-pure);
}

.date-month {
  font-size: 0.7rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
}

/* Time Slots Grid with Real-Time Availability & Anti-Double-Booking */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.time-slot-btn {
  background: #141414;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
  color: var(--white-pure);
  font-weight: 600;
}

.time-slot-btn:hover:not(.disabled) {
  border-color: var(--gold-border-bright);
  background: #1D1D1D;
  color: var(--gold-light);
}

.time-slot-btn.selected {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.4);
}

.time-slot-btn.disabled {
  background: #0A0A0A;
  border-color: #1F1F1F;
  color: #4A4A4A;
  cursor: not-allowed;
  opacity: 0.45;
}

.slot-status {
  font-size: 0.65rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.time-slot-btn.disabled .slot-status {
  color: #7A2E2E;
}

.time-slot-btn:not(.disabled):not(.selected) .slot-status {
  color: var(--gold-primary);
}

.time-slot-btn.selected .slot-status {
  color: #1A1A1A;
}

/* Summary Sidebar */
.booking-summary-sidebar {
  background: #121212;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
}

.summary-label {
  color: var(--gray-light);
}

.summary-value {
  color: var(--white-pure);
  font-weight: 600;
  text-align: right;
  max-width: 180px;
}

/* Final Receipt Card */
.receipt-card {
  background: #141414;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 160, 89, 0.2);
}

.receipt-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  margin-bottom: 24px;
}

.receipt-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.notification-dispatch-box {
  background: rgba(197, 160, 89, 0.06);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.dispatch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.receipt-actions {
  display: flex;
  gap: 14px;
}

@media (max-width: 900px) {
  .booking-wizard-layout { grid-template-columns: 1fr; }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
  .receipt-card { padding: 24px; }
  .receipt-actions { flex-direction: column; }
}


/* ==========================================================================
   APOTHECARY SHOP & E-COMMERCE STYLES
   ========================================================================== */
.shop-toolbar-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-search-bar {
  position: relative;
  width: 100%;
}

.shop-search-bar input {
  width: 100%;
  background: #0D0D0D;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 46px;
  color: var(--white-pure);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.shop-search-bar input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.2);
}

.shop-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1rem;
}

.shop-category-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.shop-category-btn {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-border);
  background: #111;
  color: var(--white-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.shop-category-btn:hover {
  border-color: var(--gold-border-bright);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.shop-category-btn.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

/* Product Cards */
.product-luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-luxury-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
}

.product-card-img-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

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

.product-luxury-card:hover .product-card-img-wrap img {
  transform: scale(1.08);
}

.product-price-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid var(--gold-border-bright);
  color: var(--gold-light);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.product-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid var(--gray-border);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: #111;
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: scale(1.1);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white-pure);
  margin-bottom: 4px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-title:hover {
  color: var(--gold-primary);
}

.product-desc {
  font-size: 0.84rem;
  color: var(--gray-light);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cart Slide-Out Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0E0E0E;
  border-left: 1px solid var(--gold-border);
  z-index: 251;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

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

/* Close button for cart drawer and mobile drawer */
.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.drawer-close-btn:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold-border);
  color: var(--gold-primary);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 20px;
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-row {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
}

.cart-item-title {
  font-size: 0.9rem;
  color: var(--white-pure);
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A0A0A;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 6px;
}

.cart-qty-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 4px;
}

.cart-item-remove {
  color: var(--gray-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition-fast);
}

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

.cart-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
  margin-top: auto;
}

.cart-count-badge, .wishlist-count-badge {
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}


/* ==========================================================================
   GROOMING JOURNAL & BLOG STYLES
   ========================================================================== */
.blog-luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.blog-luxury-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
}

.blog-card-img-wrap {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

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

.blog-luxury-card:hover .blog-card-img-wrap img {
  transform: scale(1.08);
}

.blog-reading-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white-pure);
  line-height: 1.4;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.blog-card-title:hover {
  color: var(--gold-primary);
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-author-thumb {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--gold-primary);
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-category-btn {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-border);
  background: #111;
  color: var(--white-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blog-category-btn:hover {
  border-color: var(--gold-border-bright);
  color: var(--gold-light);
}

.blog-category-btn.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}


/* ==========================================================================
   ADMIN PANEL STYLES & DATA TABLES
   ========================================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.admin-sidebar {
  background: #111111;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-light);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-nav-item:hover {
  color: var(--gold-light);
  background: #181818;
  border-color: rgba(197, 160, 89, 0.2);
}

.admin-nav-item.active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
}

.admin-data-table-wrap {
  background: #111111;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.admin-data-table th {
  background: #161616;
  color: var(--gold-primary);
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gold-border);
}

.admin-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--white-muted);
  vertical-align: middle;
}

.admin-data-table tr:hover td {
  background: #161616;
}

@media (max-width: 992px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}

/* ==========================================================================
   LUXURY FLOATING ACTION BUTTONS (BOOK NOW & WHATSAPP)
   ========================================================================== */
.ceylon-floating-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 14px;
  z-index: 9999;
  pointer-events: auto;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-icon-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.floating-btn:hover .floating-icon-inner {
  transform: rotate(8deg) scale(1.1);
}

/* Book Now Button */
.floating-btn-book {
  background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.floating-btn-book .floating-icon-inner {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #0A0A0A;
}

.floating-btn-book:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 160, 89, 0.45);
}

/* WhatsApp Concierge Button */
.floating-btn-whatsapp {
  background: linear-gradient(135deg, #0A1C12 0%, #050E09 100%);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

.floating-btn-whatsapp .floating-icon-inner {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
}

.floating-btn-whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 211, 102, 0.4);
}

/* Back to Top Button */
.floating-btn-top {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.floating-btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn-top:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
  border-color: var(--gold-light);
}

/* Pulsing rings */
.floating-pulse-ring {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: pulseAura 2.4s infinite;
}

.gold-ring {
  border: 2px solid rgba(197, 160, 89, 0.6);
}

.wa-ring {
  border: 2px solid rgba(37, 211, 102, 0.6);
}

@keyframes pulseAura {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
}


/* ==========================================================================
   LUXURY SCROLL ANIMATIONS - SALON RIVOX
   ========================================================================== */

/* ── Gold Progress Bar ─────────────────────────────────────────── */
.luxury-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #C5A059, #E8D08D, #D4AF37, #FFFFFF, #C5A059);
  background-size: 200% 100%;
  z-index: 10000;
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.9);
  transition: width 0.06s ease-out;
  animation: progressShimmer 2.5s linear infinite;
}

@keyframes progressShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Base Reveal States (hidden before intersection) ────────────── */
[data-reveal],
[data-reveal="fade-up"],
[data-reveal="fade-down"],
[data-reveal="fade-left"],
[data-reveal="fade-right"],
[data-reveal="zoom-in"],
[data-reveal="zoom-out"],
[data-reveal="flip-x"],
[data-reveal="flip-y"],
[data-reveal="gold-line"],
[data-reveal="blur-in"] {
  opacity: 0;
  will-change: opacity, transform;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.9s;
}

/* ── Direction Variants (pre-reveal state) ──────────────────────── */
[data-reveal="fade-up"]    { transform: translateY(48px); }
[data-reveal="fade-down"]  { transform: translateY(-36px); }
[data-reveal="fade-left"]  { transform: translateX(-52px); }
[data-reveal="fade-right"] { transform: translateX(52px); }
[data-reveal="zoom-in"]    { transform: scale(0.88); }
[data-reveal="zoom-out"]   { transform: scale(1.1); }
[data-reveal="flip-x"]     { transform: perspective(800px) rotateX(22deg); }
[data-reveal="flip-y"]     { transform: perspective(800px) rotateY(22deg); }
[data-reveal="blur-in"]    { transform: translateY(24px); filter: blur(12px); }
[data-reveal="gold-line"]  { transform: scaleX(0); transform-origin: left center; opacity: 1; }

/* ── Revealed State (all variants) ─────────────────────────────── */
[data-reveal].revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ── Stagger Delays for child elements ─────────────────────────── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].staggered > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0.05s; }
[data-stagger].staggered > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.13s; }
[data-stagger].staggered > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.21s; }
[data-stagger].staggered > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.29s; }
[data-stagger].staggered > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.37s; }
[data-stagger].staggered > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.45s; }
[data-stagger].staggered > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.53s; }
[data-stagger].staggered > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.61s; }

/* ── Explicit delay helpers ─────────────────────────────────────── */
[data-delay="100"] { transition-delay: 0.10s !important; }
[data-delay="200"] { transition-delay: 0.20s !important; }
[data-delay="300"] { transition-delay: 0.30s !important; }
[data-delay="400"] { transition-delay: 0.40s !important; }
[data-delay="500"] { transition-delay: 0.50s !important; }
[data-delay="600"] { transition-delay: 0.60s !important; }
[data-delay="700"] { transition-delay: 0.70s !important; }
[data-delay="800"] { transition-delay: 0.80s !important; }

/* ── Animated Gold Divider / Horizontal Line Draw ──────────────── */
.gold-draw-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
}
.gold-draw-line.revealed {
  transform: scaleX(1);
}

/* ── Number Counter Pulse ───────────────────────────────────────── */
.stat-counter-number {
  display: inline-block;
  transition: transform 0.3s ease;
}
.stat-counter-number.counting {
  animation: counterPop 0.25s ease-out;
}
@keyframes counterPop {
  0%   { transform: scale(1.15); color: var(--gold-light); }
  100% { transform: scale(1); }
}

/* ── Gold Text Shimmer on Reveal ────────────────────────────────── */
.gold-shimmer-text {
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 40%, #FFF8E1 60%, var(--gold-primary) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3.5s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ── Parallax Image Wrapper ─────────────────────────────────────── */
.parallax-wrapper {
  overflow: hidden;
  border-radius: inherit;
}
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
  transform-origin: center center;
}

/* ── Hero Entrance Animations ───────────────────────────────────── */
.hero-entrance-badge {
  animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}
.hero-entrance-headline {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.45s;
}
.hero-entrance-subheadline {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.65s;
}
.hero-entrance-ctas {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.85s;
}
.hero-entrance-scroll {
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 1.1s;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section Eyebrow Animate-in Line ────────────────────────────── */
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  vertical-align: middle;
  margin-right: 0;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), margin-right 0.4s ease;
}
.eyebrow.revealed::before {
  width: 28px;
  margin-right: 10px;
}

/* ── Card Hover Lift ────────────────────────────────────────────── */
.feature-card,
.service-luxury-card,
.barber-roster-card,
.shop-product-card,
.blog-card,
.review-luxury-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.feature-card:hover,
.service-luxury-card:hover,
.barber-roster-card:hover,
.shop-product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 22px rgba(197, 160, 89, 0.14);
  border-color: var(--gold-border-bright);
}

/* ── Ambient Glow Cursor Aura ───────────────────────────────────── */
.luxury-ambient-glow {
  position: fixed;
  top: -220px;
  left: -220px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

/* ── Smooth Section Separator (gold sparks between sections) ─────── */
.section-gold-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(197,160,89,0.08) 20%, rgba(197,160,89,0.45) 50%, rgba(197,160,89,0.08) 80%, transparent 100%);
  margin: 0;
  position: relative;
}
.section-gold-separator::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
}

/* ── Responsive: Disable heavy effects on mobile ─────────────────── */
@media (max-width: 600px) {
  .ceylon-floating-container { bottom: 20px; right: 16px; gap: 10px; }
  .floating-label { display: none; }
  .floating-btn { padding: 0; width: 48px; height: 48px; justify-content: center; }
  .floating-icon-inner { width: 48px; height: 48px; }
  .floating-pulse-ring { left: 24px; width: 48px; height: 48px; }
  [data-reveal] { transition-duration: 0.6s; }
  .luxury-ambient-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-entrance-badge, .hero-entrance-headline, .hero-entrance-subheadline, .hero-entrance-ctas, .hero-entrance-scroll { animation: none !important; opacity: 1 !important; transform: none !important; }
  .gold-shimmer-text { animation: none; -webkit-text-fill-color: var(--gold-primary); }
}

/* ==========================================================================
   LOYALTY POINTS SYSTEM POPUP MODAL & TOAST
   ========================================================================== */
.loyalty-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.loyalty-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: #111111;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(197, 160, 89, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 36px;
}

.loyalty-modal-overlay.active .loyalty-modal-card {
  transform: scale(1) translateY(0);
}

.loyalty-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gray-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.loyalty-modal-close:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
  transform: rotate(90deg);
}

.loyalty-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.loyalty-modal-title {
  font-family: var(--font-accent);
  font-size: 1.65rem;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  margin: 4px 0 8px;
}

.loyalty-modal-subtitle {
  font-size: 0.86rem;
  color: var(--white-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* 3 Step Formula Grid */
.loyalty-formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.loyalty-formula-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  transition: all var(--transition-fast);
}

.loyalty-formula-card.featured {
  background: rgba(197, 160, 89, 0.07);
  border-color: var(--gold-border-bright);
}

.formula-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-primary);
  color: #0A0A0A;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.formula-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.05rem;
}

.formula-title {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.formula-desc {
  font-size: 0.74rem;
  color: var(--gray-light);
  line-height: 1.4;
  margin: 0;
}

/* Dynamic User Status Card / Simulator */
.loyalty-status-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.status-points-val {
  font-size: 1.7rem;
  font-family: var(--font-accent);
  color: var(--gold-primary);
  font-weight: 700;
  line-height: 1;
}

.loyalty-sim-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #222222;
  outline: none;
  -webkit-appearance: none;
  margin: 10px 0;
}

.loyalty-sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.8);
}

/* Tier List */
.loyalty-tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-item {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.78rem;
}

.tier-item.highlight {
  background: rgba(197, 160, 89, 0.08);
  border-color: var(--gold-border);
}

.tier-badge {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gold-tier { color: #E0C068; }
.sovereign-tier { color: #5dade2; }
.imperial-tier { color: var(--gold-light); }

.tier-points {
  color: var(--gray-light);
  font-size: 0.74rem;
}

.tier-perk {
  color: var(--white-muted);
}

.loyalty-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Floating Bottom Toast */
.ceylon-loyalty-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #141414;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  max-width: 360px;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ceylon-loyalty-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.toast-body {
  cursor: pointer;
  flex: 1;
}

.toast-title {
  display: block;
  font-size: 0.84rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.toast-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--white-muted);
  line-height: 1.3;
}

.toast-close {
  background: none;
  border: none;
  color: var(--gray-light);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
}
.toast-close:hover { color: #FFF; }

@media (max-width: 640px) {
  .loyalty-formula-grid { grid-template-columns: 1fr; }
  .tier-item { grid-template-columns: 1fr; gap: 4px; }
  .loyalty-modal-footer { flex-direction: column; }
  .ceylon-loyalty-toast { left: 16px; right: 16px; bottom: 85px; max-width: none; }
}

/* ==========================================================================
   SEO MANAGER — SERP PREVIEW, PAGE TABS, CHAR COUNTER
   ========================================================================== */

.seo-serp-preview-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.serp-site-name {
  font-size: 0.78rem;
  color: #1A7F3C;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-family: Arial, sans-serif;
}

.serp-title {
  font-size: 1.1rem;
  color: #1A0DAB;
  font-family: Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.serp-title:hover {
  text-decoration: underline;
}

.serp-description {
  font-size: 0.82rem;
  color: #4D5156;
  font-family: Arial, sans-serif;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seo-char-counter {
  font-size: 0.74rem;
  color: var(--gray-light);
  text-align: right;
  margin-top: 4px;
  font-family: var(--font-accent);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.seo-char-counter.warning { color: #E8A317; }
.seo-char-counter.over { color: #E84040; }

.seo-page-tab {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  color: var(--gray-light);
  padding: 8px 16px;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.seo-page-tab:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.seo-page-tab.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #000;
  font-weight: 700;
}

/* ==========================================================================
   MEDIA VAULT — UPLOAD DROPZONE, GALLERY GRID, MEDIA CARDS
   ========================================================================== */

.media-upload-dropzone {
  border: 2px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 24px;
  background: rgba(197, 160, 89, 0.04);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.media-upload-dropzone:hover,
.media-upload-dropzone.dragover {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.media-card {
  background: #1A1A1A;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.media-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.2);
  transform: translateY(-2px);
}

.media-card-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #111;
}

.media-card-info {
  padding: 10px 12px;
}

.media-card-name {
  font-size: 0.75rem;
  color: var(--white-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.media-card-meta {
  font-size: 0.68rem;
  color: var(--gray-light);
  font-family: var(--font-accent);
  letter-spacing: 0.06em;
}

.media-card-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.media-card:hover .media-card-actions { opacity: 1; }

.media-card-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.media-card-btn.copy { background: rgba(0,0,0,0.8); color: var(--gold-primary); }
.media-card-btn.delete { background: rgba(180,30,30,0.85); color: #fff; }
.media-card-btn:hover { transform: scale(1.1); }

/* Upload field with media picker button */
.media-upload-field {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.media-upload-field .form-input { flex: 1; }

.media-field-preview {
  margin-top: 10px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: none;
  border: 1px solid var(--gold-border);
}

.media-field-preview.has-image { display: block; }

.media-field-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   MEDIA PICKER MODAL
   ========================================================================== */

.media-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.media-picker-dialog {
  background: #161616;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 160, 89, 0.1);
}

.media-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gold-border);
  background: rgba(197, 160, 89, 0.06);
}

.media-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 300px;
  max-height: 420px;
}

.picker-media-item {
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  background: #1A1A1A;
}

.picker-media-item:hover {
  border-color: var(--gold-border);
}

.picker-media-item.selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.3);
}

.picker-media-item.selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: var(--gold-primary);
  color: #000;
  border-radius: 50%;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picker-media-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.picker-media-name {
  font-size: 0.7rem;
  color: var(--gray-light);
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .media-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .media-picker-grid { grid-template-columns: repeat(2, 1fr); }
  .media-picker-dialog { max-width: 100%; margin: 0 8px; }
  .media-upload-field { flex-direction: column; }
  .seo-serp-preview-card { max-width: 100%; }
}

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

/* ==========================================================================
   LOYALTY POPUP & CART BACKDROP STYLES (REACT COMPATIBILITY)
   ========================================================================== */
.loyalty-popup-backdrop,
.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  animation: fadeIn 0.25s ease-out;
}

.loyalty-popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 580px;
  background: var(--bg-card, #121212);
  border: 1px solid var(--gold-border, rgba(197, 160, 89, 0.3));
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 160, 89, 0.15);
  z-index: 10001;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.loyalty-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gray-light, #999);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.loyalty-popup-close:hover {
  color: #FFF;
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


