/*
 * Shaher Store Charcoal & Export - Master Light Theme
 * Premium Quality Styling (Light Theme Default)
 * Color Palette: Luxury Light Canvas (#f8f9fa, #ffffff), Gold Accent (#c59b27), Flame Red (#d9381e), Charcoal Gray (#1c1e21)
 */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg-dark: #f8f9fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f3f5;
  --border-color: rgba(197, 155, 39, 0.35);
  --color-gold: #c59b27;
  --color-gold-bright: #e5b732;
  --color-ember: #d9381e;
  --color-text-main: #1c1e21;
  --color-text-muted: #555555;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --box-shadow-luxury: 0 10px 25px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
  --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-arabic);
}

body {
  background-color: var(--bg-dark);
  color: var(--color-text-main);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f3f5;
}
::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 5px;
  border: 2px solid #f1f3f5;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography & General Classes */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 800;
  line-height: 1.3;
}

.gold-text {
  color: var(--color-gold);
  font-weight: 800;
}

.ember-badge {
  background: linear-gradient(135deg, var(--color-ember) 0%, #b71c1c 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}

.gold-badge {
  background: linear-gradient(135deg, var(--color-gold) 0%, #997a15 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
}

.btn-luxury {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-gold) 0%, #997a15 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.5);
  color: #ffffff;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(197, 155, 39, 0.3);
}

/* Header & Navigation Styling */
.top-bar {
  background: #0f172a;
  color: #f1f5f9;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-link {
  color: #f1f5f9;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-bar-link:hover {
  color: var(--color-gold) !important;
}

.top-bar-wa {
  color: #25D366;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-bar-wa:hover {
  color: #4ade80 !important;
}

.sgs-badge-top {
  background: rgba(197, 155, 39, 0.2);
  color: var(--color-gold);
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 20px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-main);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.logo-brand:hover {
  transform: translateY(-1px);
}

.logo-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-fire-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(197, 155, 39, 0.5));
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0f172a;
  line-height: 1.15;
}

.logo-tagline {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-gold);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header-quote-btn {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Visibility Helpers */
@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .mobile-only {
    display: none !important;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section with Video Background */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(18, 24, 38, 0.5) 0%, rgba(10, 15, 25, 0.82) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: #ffffff;
  z-index: 2;
}

.hero-content h1 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
  color: #ffffff;
}

.hero-content p {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Section Container */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto;
}

/* Luxury Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color);
  box-shadow: var(--box-shadow-luxury);
  background: var(--bg-card);
}

.product-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #f1f3f5;
}

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

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

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

.product-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-text-main);
}

.product-body p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-specs-list {
  list-style: none;
  font-size: 13px;
  color: #444;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-specs-list li {
  background: #f1f3f5;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Floating Contact Buttons Stack (WhatsApp + Call) */
.floating-contact-stack {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.floating-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn.floating-whatsapp {
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.floating-btn.floating-call {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
}

.floating-btn.floating-whatsapp:hover {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.floating-btn.floating-call:hover {
  background: var(--color-gold);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.6);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .floating-contact-stack {
    bottom: 20px;
    left: 15px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .floating-tooltip {
    display: none;
  }
}

/* Footer Styling */
.main-footer {
  background: #1c1e21;
  color: #e0e0e0;
  border-top: 1px solid var(--glass-border);
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
  color: #ffffff;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--color-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b0b0;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-right: 5px;
}

.copyright-bar {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
  font-size: 14px;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-box {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid rgba(0,0,0,0.12);
  width: 90%;
  max-width: 580px;
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

.modal-close:hover {
  color: #000;
}

/* Form Control Styling */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #1c1e21;
  font-size: 15px;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 38px; }
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; font-size: 26px; color: var(--color-text-main); cursor: pointer; }
}

/* Dynamic Database Hero Slider */
.db-hero-slider {
  position: relative;
  height: 85vh;
  min-height: 580px;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.82) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 820px;
}

.slide-content h1 {
  font-size: 46px;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 900;
}

.slide-content p {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 32px;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
}

.prev-arrow { right: 25px; }
.next-arrow { left: 25px; }

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--color-gold);
  width: 35px;
  border-radius: 10px;
}

/* Photo Gallery Grid & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  background: #0f172a;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 28px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.gallery-overlay h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 4px;
}

.gallery-cat {
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 700;
}

.gallery-filter-btn {
  padding: 8px 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--color-gold);
}

.lightbox-caption {
  margin-top: 15px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  left: 35px;
  color: #ffffff;
  font-size: 38px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: var(--color-gold);
}

/* Specification Tab Buttons */
.spec-tab-btn {
  padding: 10px 22px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: all 0.3s ease;
}

.spec-tab-btn.active, .spec-tab-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

/* --- Responsive Mobile Side Navigation Drawer & Overlay --- */
.mobile-nav-toggle {
  display: none;
  background: var(--color-gold);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav-toggle:hover {
  transform: scale(1.05);
  background: var(--color-ember);
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
}

.side-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.side-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(330px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #0b1120;
  color: #f8fafc;
  z-index: 10001;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-left: 1px solid rgba(197, 155, 39, 0.3);
}

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

.side-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 10;
}

.side-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.side-drawer-close:hover {
  background: var(--color-ember);
  border-color: var(--color-ember);
  color: #ffffff;
  transform: rotate(90deg);
}

.side-drawer-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-gold);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(197, 155, 39, 0.3);
  margin-bottom: 4px;
}

.side-drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-drawer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-drawer-menu a .nav-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-drawer-menu a i.nav-arrow {
  font-size: 12px;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.side-drawer-menu a .nav-item-content i {
  color: var(--color-gold);
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.side-drawer-menu a:hover,
.side-drawer-menu a.active {
  background: rgba(197, 155, 39, 0.15);
  color: #ffffff;
  border-color: var(--color-gold);
  padding-right: 18px;
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.15);
}

.side-drawer-menu a:hover i.nav-arrow,
.side-drawer-menu a.active i.nav-arrow {
  opacity: 1;
  color: var(--color-gold);
  transform: translateX(-4px);
}

.side-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.drawer-wa-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.drawer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.drawer-call-btn {
  width: 100%;
  padding: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.drawer-call-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold);
}

.side-drawer-footer {
  padding: 16px 20px;
  background: #070b14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 12px;
}

/* Dynamic Distributed Widget Sliders & Section Promos */
.widget-slider-section {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.25);
  background: #0f172a;
}

.widget-slider-wrapper {
  position: relative;
  min-height: 440px;
  width: 100%;
}

.widget-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}

.widget-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.widget-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.widget-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}

.widget-slide-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding: 45px 35px;
  max-width: 850px;
}

.widget-slide-content h3 {
  font-size: clamp(22px, 3vw, 34px);
  color: #ffffff;
  margin-bottom: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.widget-slide-content p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.6;
}

.widget-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.widget-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.widget-arrow.prev { right: 20px; }
.widget-arrow.next { left: 20px; }

.widget-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.widget-dots .wdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.widget-dots .wdot.active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 8px;
}

/* --- Floating Welcome Audio Pill Widget (Hidden per User Request) --- */
.welcome-audio-bar {
  display: none !important;
}

/* Comprehensive Responsive Display Optimizations (All Screen Sizes & Resolutions) */
@media (min-width: 1600px) {
  .container {
    max-width: 1420px;
  }
  .db-hero-slider {
    height: 75vh;
    max-height: 750px;
  }
  .slide-bg-media, .widget-bg-media {
    image-rendering: -webkit-optimize-contrast;
  }
  .slide-content h1 {
    font-size: 52px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .nav-menu {
    gap: 12px;
  }
  .nav-menu a {
    font-size: 13px;
  }
  .db-hero-slider {
    height: 70vh;
    min-height: 520px;
  }
  .slide-content h1 {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  .section-padding {
    padding: 55px 0;
  }
  .db-hero-slider {
    height: auto;
    min-height: 480px;
    padding: 60px 0;
  }
  .slide-content h1 {
    font-size: 32px;
  }
  .slide-content p {
    font-size: 16px;
  }
  .products-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .widget-slider-wrapper {
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  .top-bar-container {
    justify-content: center;
    gap: 8px;
  }
  .top-bar-contact {
    justify-content: center;
    gap: 12px;
    font-size: 12px;
  }
  .top-bar-meta {
    display: none;
  }
  .section-padding {
    padding: 40px 0;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .db-hero-slider {
    min-height: 420px;
    padding: 35px 0;
  }
  .slide-content {
    padding: 0 10px;
    text-align: center;
  }
  .slide-content h1 {
    font-size: 24px;
    line-height: 1.35;
  }
  .slide-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .slide-actions {
    flex-direction: column;
    width: 100%;
  }
  .slide-actions .btn-luxury,
  .slide-actions .btn-outline-gold {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .prev-arrow { right: 8px; width: 38px; height: 38px; }
  .next-arrow { left: 8px; width: 38px; height: 38px; }
  
  .products-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .widget-slide-content {
    padding: 28px 18px;
    text-align: center;
  }
  .widget-arrow.prev { right: 8px; width: 36px; height: 36px; }
  .widget-arrow.next { left: 8px; width: 36px; height: 36px; }
  
  #specContent {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .spec-tab-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  .logo-title {
    font-size: 17px;
  }
  .logo-tagline {
    font-size: 9px;
  }
  .logo-fire-icon {
    font-size: 26px;
  }
  .header-quote-btn {
    padding: 7px 12px;
    font-size: 11px;
  }
  .header-btn-text {
    display: inline-block;
  }
  .section-title h2 {
    font-size: 20px;
  }
  .counter-num {
    font-size: 24px;
  }
  .slide-content h1 {
    font-size: 21px;
  }
  .widget-slide-content h3 {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .header-btn-text {
    display: none;
  }
  .header-quote-btn {
    padding: 8px 10px;
    border-radius: 50%;
  }
  .logo-title {
    font-size: 15px;
  }
  .logo-tagline {
    display: none;
  }
}

/* Universal Viewport & Screen Framing Safeguards (Prevent Horizontal Overflow across all devices) */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

.row, .container, .container-fluid, header, main, footer, section {
  max-width: 100%;
  box-sizing: border-box;
}

/* Modal and Popup Mobile Responsive Safeguards */
.quote-modal-content, .modal-content {
  max-width: min(550px, 92vw) !important;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   BLOG & ARTICLE DISPLAY STYLES (HTML rendering, Tags, Keywords & Layouts)
   ========================================================================== */
.article-detail-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.article-hero-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 45px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 15px;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta-item i {
  color: var(--color-gold);
}

/* Article HTML Content Styling */
.article-html-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-text-main);
  word-wrap: break-word;
}

.article-html-content .lead-text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-gold-dark, #b4851e);
  background: rgba(197, 155, 39, 0.08);
  padding: 18px 22px;
  border-right: 4px solid var(--color-gold);
  border-radius: 8px;
  margin-bottom: 25px;
}

.article-html-content h2,
.article-html-content h3,
.article-html-content h4 {
  color: var(--color-text-main);
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.article-html-content h2 {
  font-size: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

.article-html-content h3 {
  font-size: 20px;
}

.article-html-content p {
  margin-bottom: 20px;
}

.article-html-content ul,
.article-html-content ol {
  margin-bottom: 25px;
  padding-right: 25px;
}

.article-html-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-html-content blockquote,
.article-quote {
  background: var(--bg-main);
  border-right: 4px solid var(--color-gold);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 8px;
  font-style: italic;
  font-size: 18px;
  color: var(--color-text-main);
}

.article-callout {
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-right: 5px solid var(--color-gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-callout h4 {
  margin-top: 0 !important;
  color: var(--color-gold-dark, #b4851e);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  background: var(--bg-main);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.article-table th {
  background: #0f172a;
  color: #f8fafc;
  padding: 12px 16px;
  text-align: right;
  font-weight: 700;
}

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-table tr:hover {
  background: rgba(197, 155, 39, 0.05);
}

.article-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.article-features-grid .feature-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

/* Tags & Keywords Section under Article */
.article-tags-wrapper {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 2px dashed var(--border-color);
}

.article-tags-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

.article-tags-header i {
  color: var(--color-gold);
  font-size: 18px;
}

.article-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  color: var(--color-text-main);
  border: 1px solid var(--border-color);
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.article-tag-badge i {
  color: var(--color-gold);
  font-size: 12px;
}

.article-tag-badge:hover {
  background: var(--color-gold);
  color: #0f172a;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.article-tag-badge:hover i {
  color: #0f172a;
}

/* Social Share Bar */
.article-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 16px 22px;
  border-radius: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.article-share-title {
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.li { background: #0A66C2; }
.share-btn.copy { background: #64748b; }

/* Responsive Adjustments for Article Detail */
@media (max-width: 768px) {
  .article-detail-wrapper {
    padding: 20px;
    border-radius: 12px;
  }
  .article-html-content {
    font-size: 15px;
    line-height: 1.75;
  }
  .article-html-content h2 {
    font-size: 20px;
  }
  .article-html-content h3 {
    font-size: 18px;
  }
  .article-table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

