/* ============================================================
   overhaul.css — Bleach Resistant Design System
   Complete rebuild April 2026
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --br-primary: #C7065C;
  --br-primary-dark: #9a0447;
  --br-primary-light: #e8337d;
  --br-primary-glow: rgba(199, 6, 92, 0.25);
  --br-dark: #1a1a2e;
  --br-darker: #0f0f1a;
  --br-text: #2c2c2c;
  --br-text-light: #6c757d;
  --br-text-muted: #9ca3af;
  --br-bg: #ffffff;
  --br-bg-alt: #f8f9fa;
  --br-bg-dark: #111827;
  --br-border: #e5e7eb;
  --br-border-light: #f3f4f6;
  --br-success: #10b981;
  --br-warning: #f59e0b;
  --br-danger: #ef4444;
  --br-info: #3b82f6;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --nav-height: 80px;
  --container-max: 1200px;
  --section-pad: 100px 0;
  --section-pad-sm: 60px 0;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.2);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition: 0.3s var(--ease);
  --transition-slow: 0.6s var(--ease);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--br-text);
  background: var(--br-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--br-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.br-text-primary { color: var(--br-primary); }
.br-text-light { color: var(--br-text-light); }
.br-text-white { color: #fff; }
.br-text-center { text-align: center; }
.br-section-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--br-primary);
  margin-bottom: 12px;
  display: block;
}
.br-section-title { margin-bottom: 16px; }
.br-section-subtitle {
  font-size: 1.05rem;
  color: var(--br-text-light);
  max-width: 600px;
  margin-bottom: 48px;
}
.br-section-subtitle.centered { margin-left: auto; margin-right: auto; }

/* ── 4. LAYOUT ─────────────────────────────────────────────── */
.br-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.br-section { padding: var(--section-pad); }
.br-section-alt { padding: var(--section-pad); background: var(--br-bg-alt); }
.br-section-dark { padding: var(--section-pad); background: var(--br-bg-dark); color: #fff; }
.br-section-dark h2,
.br-section-dark h3,
.br-section-dark h4 { color: #fff; }
.br-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
.br-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.br-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── 5. NAVBAR ─────────────────────────────────────────────── */
.br-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.br-nav.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: var(--br-border);
  box-shadow: var(--shadow-sm);
}
.br-nav > .br-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 40px;
}
.br-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--br-dark);
  text-decoration: none;
  flex-shrink: 0;
}
.br-logo-icon { width: 38px; height: 38px; }
.br-logo span { letter-spacing: -0.5px; }
.br-logo strong { color: var(--br-primary); }
.br-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.br-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.br-nav-links > li > a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--br-text);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
  white-space: nowrap;
}
.br-nav-links > li > a:hover,
.br-nav-links > li > a.active {
  color: var(--br-primary);
  background: rgba(199, 6, 92, 0.06);
}
.br-nav-links > li > a svg { transition: transform var(--transition); }
.br-nav-links > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.br-dropdown { position: relative; }
.br-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--br-bg);
  border: 1px solid var(--br-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  padding: 8px;
  z-index: 100;
}
.br-dropdown:hover .br-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.br-dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--br-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.br-dropdown-menu li a:hover {
  background: rgba(199, 6, 92, 0.06);
  color: var(--br-primary);
  padding-left: 20px;
}

/* Nav Actions */
.br-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  flex-shrink: 0;
}

/* Mobile Toggle */
.br-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  z-index: 1001;
}
.br-nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--br-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.br-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.br-nav-toggle.active span:nth-child(2) { opacity: 0; }
.br-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.br-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.br-btn-primary {
  background: var(--br-primary);
  color: #fff;
  border-color: var(--br-primary);
}
.br-btn-primary:hover {
  background: var(--br-primary-dark);
  border-color: var(--br-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--br-primary-glow);
}
.br-btn-outline {
  background: transparent;
  color: var(--br-primary);
  border-color: var(--br-primary);
}
.br-btn-outline:hover {
  background: var(--br-primary);
  color: #fff;
  transform: translateY(-2px);
}
.br-btn-white {
  background: #fff;
  color: var(--br-dark);
  border-color: #fff;
}
.br-btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.br-btn-dark {
  background: var(--br-dark);
  color: #fff;
  border-color: var(--br-dark);
}
.br-btn-dark:hover {
  background: var(--br-darker);
  transform: translateY(-2px);
}
.br-btn-sm { font-size: 0.82rem; padding: 10px 24px; }
.br-btn-lg { font-size: 0.95rem; padding: 18px 40px; }
.br-btn-block { width: 100%; }
.br-btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── 7. HERO & SLIDER ─────────────────────────────────────── */
.br-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.br-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  z-index: 0;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}
.br-hero-slide.active { opacity: 1; z-index: 1; }
.br-hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.br-hero-slide.active .br-hero-slide-bg { transform: scale(1); }
.br-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.5) 100%);
  z-index: 1;
}
.br-hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  padding: 60px 0;
}
/* Hero split layout — text left, image right */
.br-hero-split {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
  width: 100%;
}
.br-hero-split .br-hero-content {
  flex: 1;
  padding: 0;
}
.br-hero-image {
  flex: 0 0 42%;
  max-width: 480px;
  position: relative;
}
.br-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  object-fit: cover;
  animation: heroImageFloat 6s ease-in-out infinite;
}
@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 768px) {
  .br-hero-split { flex-direction: column; gap: 24px; }
  .br-hero-image { flex: none; max-width: 320px; width: 80%; order: -1; }
  .br-hero-image img { border-radius: 12px; }
}
.br-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.08;
}
.br-hero h1 span { color: var(--br-primary-light); }
.br-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
}
.br-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.br-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Slider Controls */
.br-hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.br-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.br-hero-dot.active {
  background: var(--br-primary);
  border-color: var(--br-primary);
  transform: scale(1.2);
}
.br-hero-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 20;
  pointer-events: none;
}
.br-hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition);
}
.br-hero-arrow:hover {
  background: var(--br-primary);
  border-color: var(--br-primary);
}
.br-hero-arrow svg { width: 20px; height: 20px; }

/* ── 8. PAGE HEADER ────────────────────────────────────────── */
.br-page-header {
  padding: 160px 0 80px;
  background: var(--br-bg-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.br-page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--br-primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.br-page-header h1 { color: #fff; margin-bottom: 16px; }
.br-page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}
.br-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}
.br-breadcrumb a { color: rgba(255,255,255,0.7); }
.br-breadcrumb a:hover { color: var(--br-primary-light); }

/* ── 9. PRODUCT CARDS ──────────────────────────────────────── */
.br-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.br-product-card {
  background: var(--br-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--br-border-light);
  transition: all var(--transition);
}
.br-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.br-product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--br-bg-alt);
}
.br-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.br-product-card:hover .br-product-image img { transform: scale(1.08); }
.br-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.br-product-card:hover .br-product-overlay { opacity: 1; }
.br-product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--br-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.br-product-info { padding: 24px; }
.br-product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--br-primary);
  margin-bottom: 8px;
  display: block;
}
.br-product-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.br-product-desc {
  font-size: 0.88rem;
  color: var(--br-text-light);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.br-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--br-border-light);
}
.br-product-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--br-dark);
}
.br-product-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--br-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.br-product-link:hover { gap: 8px; }
.br-product-card-link { color: inherit; text-decoration: none; display: block; }

/* ── 9b. PRODUCT DETAIL PAGE ──────────────────────────────── */
.br-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.br-detail-gallery { position: sticky; top: calc(var(--nav-height) + 24px); }
.br-detail-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--br-bg-alt);
  margin-bottom: 16px;
}
.br-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.br-detail-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.br-detail-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--br-border);
  cursor: pointer;
  transition: border-color var(--transition);
  padding: 0;
  background: none;
}
.br-detail-thumb:hover,
.br-detail-thumb.active {
  border-color: var(--br-primary);
}
.br-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.br-detail-info { padding-top: 8px; }
.br-detail-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.br-detail-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--br-primary);
  margin-bottom: 24px;
}
.br-detail-desc {
  font-size: 0.95rem;
  color: var(--br-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}
.br-detail-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  margin-top: 24px;
  color: var(--br-dark);
}
.br-detail-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.br-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--br-text);
}
.br-detail-features li svg { flex-shrink: 0; }
.br-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.br-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--br-bg-alt);
  border: 1px solid var(--br-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--br-dark);
  transition: all var(--transition);
}
.br-pill:hover {
  border-color: var(--br-primary);
  color: var(--br-primary);
}
.br-detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.br-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--br-border);
  border-top-color: var(--br-primary);
  border-radius: 50%;
  animation: br-spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes br-spin { to { transform: rotate(360deg); } }

/* ── 10. SERVICE CARDS ─────────────────────────────────────── */
.br-service-card {
  background: var(--br-bg);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--br-border-light);
  transition: all var(--transition);
}
.br-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--br-primary);
}
.br-service-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  background: rgba(199, 6, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--br-primary);
  transition: all var(--transition);
}
.br-service-card:hover .br-service-icon {
  background: var(--br-primary);
  color: #fff;
  transform: scale(1.1);
}
.br-service-icon svg { width: 30px; height: 30px; }
.br-service-card h3 { margin-bottom: 12px; }
.br-service-card p { color: var(--br-text-light); font-size: 0.92rem; margin-bottom: 20px; }

/* ── 11. FEATURE LIST ──────────────────────────────────────── */
.br-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.br-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.br-feature:hover { background: var(--br-bg-alt); }
.br-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  background: rgba(199, 6, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--br-primary);
}
.br-feature-icon svg { width: 22px; height: 22px; }
.br-feature h4 { margin-bottom: 4px; font-size: 1rem; }
.br-feature p { font-size: 0.88rem; color: var(--br-text-light); margin: 0; }

/* ── 12. GALLERY & LIGHTBOX ────────────────────────────────── */
.br-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.br-gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--br-bg-alt);
}
.br-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.br-gallery-item:hover img { transform: scale(1.08); }
.br-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.br-gallery-item:hover::after { opacity: 1; }
.br-gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition);
}
.br-gallery-item:hover .br-gallery-caption { transform: translateY(0); opacity: 1; }
.br-gallery-caption h4 { font-size: 0.95rem; margin-bottom: 2px; color: #fff; }
.br-gallery-caption p { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin: 0; }

/* Lightbox */
.br-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.br-lightbox.active { display: flex; }
.br-lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
  z-index: 2;
}
.br-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.br-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.br-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 20px;
}
.br-lightbox-nav:hover { background: var(--br-primary); }
.br-lightbox-prev { left: 20px; }
.br-lightbox-next { right: 20px; }

/* ── 13. CHECKLIST ─────────────────────────────────────────── */
.br-checklist { list-style: none; padding: 0; }
.br-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
}
.br-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(199, 6, 92, 0.1);
  color: var(--br-primary);
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ── 14. FAQ ACCORDION ─────────────────────────────────────── */
.br-faq-list { max-width: 800px; margin: 0 auto; }
.br-faq-item { border-bottom: 1px solid var(--br-border); overflow: hidden; }
.br-faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--br-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.br-faq-question:hover { color: var(--br-primary); }
.br-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--br-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.br-faq-item.active .br-faq-question::after { content: '−'; }
.br-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.br-faq-item.active .br-faq-answer { max-height: 500px; }
.br-faq-answer-inner { padding-bottom: 24px; }
.br-faq-answer p { color: var(--br-text-light); line-height: 1.8; }

/* ── 15. FORMS ─────────────────────────────────────────────── */
.br-form { max-width: 600px; }
.br-form-row { margin-bottom: 20px; }
.br-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.br-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--br-dark);
}
.br-form input,
.br-form textarea,
.br-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--br-border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--br-text);
  background: var(--br-bg);
  transition: all var(--transition);
  outline: none;
}
.br-form input:focus,
.br-form textarea:focus,
.br-form select:focus {
  border-color: var(--br-primary);
  box-shadow: 0 0 0 4px var(--br-primary-glow);
}
.br-form textarea { resize: vertical; min-height: 120px; }

/* ── 16. TABLES ────────────────────────────────────────────── */
.br-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--br-border);
}
.br-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.br-table th {
  background: var(--br-bg-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 16px;
  text-align: left;
}
.br-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--br-border-light);
}
.br-table tr:last-child td { border-bottom: none; }
.br-table tr:hover td { background: var(--br-bg-alt); }

/* ── 17. CTA BANNER ────────────────────────────────────────── */
.br-cta-banner {
  background: linear-gradient(135deg, var(--br-dark) 0%, var(--br-darker) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.br-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--br-primary-glow) 0%, transparent 70%);
  border-radius: 50%;
}
.br-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(199, 6, 92, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.br-cta-banner .br-container { position: relative; z-index: 1; }
.br-cta-banner h2 { color: #fff; margin-bottom: 16px; }
.br-cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 550px; margin-left: auto; margin-right: auto; }
.br-cta-banner .br-btn-group { justify-content: center; }

/* ── 18. FOOTER ────────────────────────────────────────────── */
.br-footer {
  background: var(--br-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.br-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.br-footer-brand .br-logo { margin-bottom: 16px; }
.br-footer-brand .br-logo span { color: #fff; }
.br-footer-brand > p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.br-footer-social { display: flex; gap: 10px; }
.br-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.br-footer-social a:hover {
  background: var(--br-primary);
  color: #fff;
  transform: translateY(-2px);
}
.br-footer-links h4 { color: #fff; font-size: 0.92rem; margin-bottom: 20px; }
.br-footer-links ul li { margin-bottom: 10px; }
.br-footer-links ul li a { font-size: 0.88rem; transition: all var(--transition); }
.br-footer-links ul li a:hover { color: var(--br-primary); padding-left: 4px; }
.br-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
}
.br-footer-bottom-links { display: flex; gap: 24px; }
.br-footer-bottom-links a:hover { color: var(--br-primary); }

/* ── 19. SCROLL ANIMATIONS ─────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].animated { opacity: 1; transform: translateY(0); }
[data-animate="fade-in"] { transform: none; }
[data-animate="fade-in"].animated { opacity: 1; }
[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-left"].animated { opacity: 1; transform: translateX(0); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="fade-right"].animated { opacity: 1; transform: translateX(0); }
[data-animate="scale-up"] { transform: scale(0.92); }
[data-animate="scale-up"].animated { opacity: 1; transform: scale(1); }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 100ms); }

/* ── 20. MISC COMPONENTS ───────────────────────────────────── */
/* Stats */
.br-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.br-stat h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--br-primary); margin-bottom: 4px; }
.br-stat p { font-size: 0.92rem; color: var(--br-text-light); margin: 0; }

/* Steps */
.br-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: step; }
.br-step { text-align: center; counter-increment: step; padding: 32px 20px; }
.br-step::before {
  content: counter(step);
  display: flex;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.br-step h4 { margin-bottom: 8px; }
.br-step p { font-size: 0.88rem; color: var(--br-text-light); margin: 0; }

/* Tabs / Filters */
.br-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; justify-content: center; }
.br-tab {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--br-border);
  color: var(--br-text-light);
  background: var(--br-bg);
  cursor: pointer;
  transition: all var(--transition);
}
.br-tab:hover { border-color: var(--br-primary); color: var(--br-primary); }
.br-tab.active { background: var(--br-primary); border-color: var(--br-primary); color: #fff; }

/* Category Hero */
.br-category-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; }
.br-category-image { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: var(--br-bg-alt); }
.br-category-image img { width: 100%; height: 100%; object-fit: cover; }

/* Content block */
.br-content { max-width: 800px; margin: 0 auto; }
.br-content h2 { margin-bottom: 16px; }
.br-content h3 { margin-top: 32px; margin-bottom: 12px; }
.br-content p { color: var(--br-text-light); line-height: 1.8; }
.br-content ul { padding-left: 0; margin-bottom: 20px; }
.br-content ul li { padding: 6px 0; padding-left: 24px; position: relative; color: var(--br-text-light); }
.br-content ul li::before { content: '•'; color: var(--br-primary); position: absolute; left: 8px; font-weight: 700; }

/* Loading / Empty */
.br-loading { text-align: center; padding: 80px 20px; color: var(--br-text-muted); }
.br-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--br-border);
  border-top-color: var(--br-primary);
  border-radius: 50%;
  animation: brSpin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes brSpin { to { transform: rotate(360deg); } }
.br-empty { text-align: center; padding: 60px 20px; color: var(--br-text-muted); }

/* ── 21. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .br-nav-links > li > a { padding: 8px 8px; font-size: 0.78rem; }
  .br-nav-actions .br-btn { font-size: 0.75rem; padding: 8px 14px; }
  .br-nav-actions { gap: 6px; margin-left: 8px; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 80px 0; }
  .br-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .br-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .br-stats { grid-template-columns: repeat(2, 1fr); }
  .br-category-hero { gap: 40px; }
}

@media (max-width: 1100px) {
  :root { --nav-height: 68px; }

  /* Switch to hamburger nav at 1100px for many-item nav */
  .br-nav-toggle { display: flex; }
  .br-nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 88vw);
    height: 100vh;
    background: var(--br-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 28px 40px;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }
  .br-nav-menu.open { right: 0; }
  .br-nav-links { flex-direction: column; gap: 0; }
  .br-nav-links > li > a {
    padding: 16px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--br-border-light);
  }
  .br-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .br-dropdown.open .br-dropdown-menu { max-height: 400px; }
  .br-dropdown-menu li a { padding: 10px 0; border-bottom: 1px solid var(--br-border-light); }
  .br-nav-actions { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--br-border); }
  .br-nav-actions .br-btn { width: 100%; }
  .br-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .br-nav-overlay.active { display: block; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }

  /* Layout */
  .br-grid-2, .br-grid-3 { grid-template-columns: 1fr; }
  .br-grid-4 { grid-template-columns: 1fr; }
  .br-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .br-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .br-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .br-category-hero { grid-template-columns: 1fr; }
  .br-form-grid { grid-template-columns: 1fr; }
  .br-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .br-page-header { padding: 130px 0 60px; }
  .br-hero-arrows { display: none; }
  .br-lightbox { padding: 16px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 44px 0; }
  .br-container { padding: 0 16px; }
  .br-products-grid { grid-template-columns: 1fr; }
  .br-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .br-detail-gallery { position: static; }
  .br-gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .br-hero-badges { flex-direction: column; align-items: flex-start; }
  .br-btn-group { flex-direction: column; }
  .br-btn-group .br-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .br-hero-slide-bg { transition: none; }
}

/* ── 22. PRINT ─────────────────────────────────────────────── */
@media print {
  .br-nav, .br-footer, .br-hero-arrows, .br-hero-dots,
  .br-lightbox, .br-nav-toggle, .br-cta-banner,
  #br-chat-widget { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .br-page-header { background: #eee; color: #000; padding: 40px 0; }
  .br-page-header h1 { color: #000; }
  .br-section-dark { background: #eee; color: #000; }
}

/* ── 24. CLIENT ACCOUNT PAGE ────────────────────────────────── */
.br-account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.br-account-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--br-border);
  position: sticky;
  top: 100px;
}
.br-account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.br-account-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.br-account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  text-align: left;
}
.br-account-tab {
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  color: var(--br-text);
}
.br-account-tab:hover { background: var(--br-bg-alt); }
.br-account-tab.active {
  background: var(--br-primary);
  color: #fff;
}
.br-account-main {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--br-border);
  min-height: 400px;
}
.br-account-panel { display: none; }
.br-account-panel.active { display: block; }
.br-form-group {
  margin-bottom: 16px;
}
.br-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--br-text-muted);
  margin-bottom: 6px;
}
.br-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--br-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--br-bg);
}
.br-input:focus {
  border-color: var(--br-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(199,6,92,0.08);
}

/* Order Cards */
.br-order-card {
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}
.br-order-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.br-order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.br-order-id {
  font-family: 'Montserrat', monospace;
  font-weight: 700;
  font-size: 0.95rem;
}
.br-order-date {
  font-size: 0.8rem;
  color: var(--br-text-muted);
  margin-top: 2px;
}
.br-order-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.br-order-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.br-order-detail {
  font-size: 0.85rem;
  color: var(--br-text-muted);
}
.br-order-detail strong {
  color: var(--br-text);
}

@media (max-width: 768px) {
  .br-account-grid {
    grid-template-columns: 1fr;
  }
  .br-account-sidebar {
    position: static;
  }
  .br-account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .br-order-card-body {
    grid-template-columns: 1fr;
  }
}

/* ── 23. CHAT WIDGET ───────────────────────────────────────── */
#br-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Chat Bubble Button */
.br-chat-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(199, 6, 92, 0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
}
.br-chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(199, 6, 92, 0.5);
}
.br-chat-bubble.open {
  background: var(--br-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.br-chat-bubble svg { width: 26px; height: 26px; }

/* Chat Panel */
.br-chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 500px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.3s var(--ease);
}
.br-chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.br-chat-header {
  background: var(--br-dark);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.br-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.br-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--br-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.br-chat-header-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}
.br-chat-status {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.br-chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.br-chat-close:hover { color: #fff; }

/* Chat Body */
.br-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 260px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Chat Messages */
.br-chat-message p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 90%;
}
.br-chat-msg-them p {
  background: var(--br-bg-alt);
  color: var(--br-text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.br-chat-msg-you p {
  background: var(--br-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}
.br-chat-msg-you {
  display: flex;
  justify-content: flex-end;
}
.br-chat-msg-error p {
  background: #fef2f2;
  color: var(--br-danger);
  border: 1px solid #fecaca;
}

/* Chat Form */
.br-chat-form {
  padding: 12px 16px;
  border-top: 1px solid var(--br-border);
  background: #fff;
}
.br-chat-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.br-chat-fields input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--br-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}
.br-chat-fields input:focus {
  outline: none;
  border-color: var(--br-primary);
  box-shadow: 0 0 0 3px var(--br-primary-glow);
}
.br-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.br-chat-input-row textarea {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--br-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  resize: none;
  min-height: 38px;
  max-height: 100px;
  transition: border-color var(--transition);
}
.br-chat-input-row textarea:focus {
  outline: none;
  border-color: var(--br-primary);
  box-shadow: 0 0 0 3px var(--br-primary-glow);
}
.br-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.br-chat-send:hover {
  background: var(--br-primary-dark);
  transform: scale(1.05);
}
.br-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.br-chat-send svg { width: 18px; height: 18px; }

/* Chat Responsive */
@media (max-width: 480px) {
  #br-chat-widget { bottom: 16px; right: 16px; }
  .br-chat-bubble { width: 52px; height: 52px; }
  .br-chat-bubble svg { width: 22px; height: 22px; }
  .br-chat-panel {
    width: calc(100vw - 32px);
    right: -8px;
    bottom: 64px;
    max-height: 420px;
  }
  .br-chat-fields { grid-template-columns: 1fr; }
}


/* ============================================================
   25. SUBLIMATION SERVICE PAGES
   ============================================================ */

/* Nested dropdown (submenu) */
.br-dropdown-nested { position: relative; }
.br-dropdown-nested > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.br-dropdown-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 240px;
  background: var(--br-bg);
  border: 1px solid var(--br-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all var(--transition);
  padding: 8px;
  z-index: 110;
  list-style: none;
}
.br-dropdown-nested:hover > .br-dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.br-dropdown-submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--br-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.br-dropdown-submenu li a:hover {
  background: rgba(199, 6, 92, 0.06);
  color: var(--br-primary);
  padding-left: 20px;
}

/* Service page hero grid */
.br-service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.br-service-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--br-bg-alt);
  box-shadow: var(--shadow-md);
}
.br-service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.br-service-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
}
.br-service-placeholder-sm {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  font-weight: 800;
}
.br-service-hero-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0;
}
.br-service-main-heading { margin-bottom: 0; }
.br-text-accent {
  display: block;
  color: #00d4ff;
  font-style: italic;
}
.br-service-divider {
  width: 48px;
  height: 4px;
  background: #00d4ff;
  border-radius: 2px;
  margin: 20px 0 24px;
}
.br-service-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--br-text-light);
  margin-bottom: 16px;
}
.br-service-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.br-service-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--br-text);
}
.br-check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: #00d4ff;
}
.br-service-cta { margin-top: 28px; }

/* Accent button (cyan) */
.br-btn-accent {
  background: #00d4ff;
  color: #fff;
  border-color: #00d4ff;
}
.br-btn-accent:hover {
  background: #00b8d9;
  border-color: #00b8d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}

/* Why features grid */
.br-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.br-why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.br-why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.br-why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.br-why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}
.br-why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* Service gallery */
.br-service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.br-service-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--br-bg-alt);
}
.br-service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.br-service-gallery-item:hover img {
  transform: scale(1.05);
}

/* Related services cards */
.br-related-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.br-related-card {
  display: flex;
  background: var(--br-bg);
  border: 1px solid var(--br-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.br-related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--br-primary);
}
.br-related-image {
  width: 140px;
  min-width: 140px;
  background: var(--br-bg-alt);
  overflow: hidden;
}
.br-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.br-related-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.br-related-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.br-related-info p {
  font-size: 0.82rem;
  color: var(--br-text-light);
  margin-bottom: 8px;
  line-height: 1.5;
}
.br-related-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--br-primary);
}

/* Responsive - service pages */
@media (max-width: 768px) {
  .br-service-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .br-service-hero-image { max-height: 350px; }
  .br-related-services { grid-template-columns: 1fr; }
  .br-related-card { flex-direction: column; }
  .br-related-image { width: 100%; min-width: auto; height: 180px; }
}

/* Mobile nested dropdown */
@media (max-width: 1100px) {
  .br-dropdown-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .br-dropdown-nested.open > .br-dropdown-submenu {
    max-height: 600px;
  }
  .br-dropdown-submenu li a {
    padding: 10px 0;
    border-bottom: 1px solid var(--br-border-light);
  }
}


/* ============================================================
   26. BLOG SYSTEM
   ============================================================ */

/* Blog toolbar */
.br-blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.br-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.br-blog-search-input {
  padding: 10px 16px;
  border: 1.5px solid var(--br-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  width: 260px;
  transition: all var(--transition);
  outline: none;
  font-family: var(--font-body);
}
.br-blog-search-input:focus {
  border-color: var(--br-primary);
  box-shadow: 0 0 0 4px var(--br-primary-glow);
}

/* Blog featured post */
.br-blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--br-bg);
  border: 1px solid var(--br-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.br-blog-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.br-blog-featured-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--br-bg-alt);
}
.br-blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.br-blog-featured:hover .br-blog-featured-image img {
  transform: scale(1.04);
}
.br-blog-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.br-blog-featured-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
  line-height: 1.3;
}
.br-blog-featured-content > p {
  color: var(--br-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Blog meta */
.br-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.br-blog-category-badge {
  background: rgba(199, 6, 92, 0.1);
  color: var(--br-primary);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.br-blog-date {
  color: var(--br-text-muted);
  font-size: 0.82rem;
}
.br-blog-read-time {
  color: var(--br-text-muted);
  font-size: 0.82rem;
}
.br-blog-read-more {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--br-primary);
  font-size: 0.88rem;
}

/* Blog grid */
.br-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Blog card */
.br-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--br-bg);
  border: 1px solid var(--br-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.br-blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--br-primary);
}
.br-blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--br-bg-alt);
}
.br-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.br-blog-card:hover .br-blog-card-image img {
  transform: scale(1.06);
}
.br-blog-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--br-bg-alt);
  color: var(--br-border);
}
.br-blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.br-blog-card-body h3 {
  font-size: 1.05rem;
  margin: 8px 0;
  line-height: 1.3;
}
.br-blog-card-body > p {
  font-size: 0.88rem;
  color: var(--br-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}
.br-blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--br-border-light);
  font-size: 0.78rem;
  color: var(--br-text-muted);
}
.br-blog-author { font-weight: 600; }

/* Blog load more */
.br-blog-load-more {
  text-align: center;
  margin-top: 40px;
}

/* Blog post (article detail) */
.br-post-header {
  padding-top: var(--nav-height);
  background: var(--br-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.br-post-hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}
.br-post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}
.br-post-header-content {
  padding: 40px 0 60px;
  max-width: 800px;
}
.br-post-header .br-breadcrumb a { color: rgba(255,255,255,0.6); }
.br-post-header .br-breadcrumb span { color: rgba(255,255,255,0.4); }
.br-post-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.br-post-excerpt {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}
.br-post-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.br-post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--br-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}
.br-post-author-bar div strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.br-post-author-bar div span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* Post body */
.br-post-body {
  padding: 60px 0;
}
.br-post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--br-text);
}
.br-post-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--br-dark);
}
.br-post-content h3 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--br-dark);
}
.br-post-content p {
  margin-bottom: 20px;
  color: var(--br-text-light);
}
.br-post-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.br-post-content blockquote {
  border-left: 4px solid var(--br-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(199, 6, 92, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--br-text-light);
}
.br-post-content ul, .br-post-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
.br-post-content li {
  margin-bottom: 8px;
  color: var(--br-text-light);
}
.br-post-content a {
  color: var(--br-primary);
  text-decoration: underline;
}
.br-post-content a:hover {
  color: var(--br-primary-dark);
}

/* Tags */
.br-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px auto 0;
  max-width: 760px;
  padding-top: 24px;
  border-top: 1px solid var(--br-border);
}
.br-post-tags-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--br-text-muted);
}
.br-post-tag {
  padding: 4px 14px;
  background: var(--br-bg-alt);
  border: 1px solid var(--br-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--br-text-light);
  transition: all var(--transition);
  text-decoration: none;
}
.br-post-tag:hover {
  background: var(--br-primary);
  color: #fff;
  border-color: var(--br-primary);
}

/* Share buttons */
.br-post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px auto 0;
  max-width: 760px;
}
.br-post-share > span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--br-text-muted);
}
.br-post-share-btns {
  display: flex;
  gap: 8px;
}
.br-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--br-border);
  background: var(--br-bg);
  color: var(--br-text-light);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.br-share-btn:hover {
  background: var(--br-primary);
  color: #fff;
  border-color: var(--br-primary);
  transform: translateY(-2px);
}

/* Blog responsive */
@media (max-width: 768px) {
  .br-blog-toolbar { flex-direction: column; align-items: stretch; }
  .br-blog-search-input { width: 100%; }
  .br-blog-featured { grid-template-columns: 1fr; }
  .br-blog-featured-content { padding: 24px; }
  .br-blog-grid { grid-template-columns: 1fr; }
  .br-post-header-content { padding: 24px 0 40px; }
  .br-post-body { padding: 40px 0; }
  .br-post-share { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .br-blog-categories { gap: 6px; }
  .br-blog-categories .br-tab { font-size: 0.75rem; padding: 8px 14px; }
}
