/* ==========================================================================
   NASSIB GROUP — MAIN STYLESHEET
   Vanilla CSS with CSS Custom Properties (Dark / Light System)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION 1 — CSS CUSTOM PROPERTIES (THEME VARIABLES)
   -------------------------------------------------------------------------- */
:root[data-theme="dark"] {
  --bg-main:      #0A0A0A;
  --bg-card:      #151515;
  --bg-secondary: #121212;
  --bg-input:     #1A1A1A;
  --bg-header:    rgba(10,10,10,0.90);
  --bg-footer:    #050505;
  --text-main:    #FFFFFF;
  --text-sub:     #D8D8D8;
  --text-muted:   #888888;
  --border:       rgba(255,255,255,0.12);
  --border-hover: rgba(255,255,255,0.35);
  --btn-primary-bg:      #FFFFFF;
  --btn-primary-text:    #0A0A0A;
  --btn-secondary-text:  #FFFFFF;
  --btn-secondary-border:rgba(255,255,255,0.30);
  --shadow:       rgba(0,0,0,0.8);
  --logo-filter:  none;
  --hero-gradient-from: #0A0A0A;
}

:root[data-theme="light"] {
  --bg-main:      #F6F6F3;
  --bg-card:      #FFFFFF;
  --bg-secondary: #EBEBE6;
  --bg-input:     #EFEFEA;
  --bg-header:    rgba(246,246,243,0.94);
  --bg-footer:    #E2E2DC;
  --text-main:    #0D0D0D;
  --text-sub:     #2D2D2D;
  --text-muted:   #666666;
  --border:       rgba(0,0,0,0.14);
  --border-hover: rgba(0,0,0,0.45);
  --btn-primary-bg:      #0D0D0D;
  --btn-primary-text:    #FFFFFF;
  --btn-secondary-text:  #0D0D0D;
  --btn-secondary-border:rgba(0,0,0,0.35);
  --shadow:       rgba(0,0,0,0.08);
  --logo-filter:  invert(1) contrast(1.5);
  --hero-gradient-from: #F6F6F3;
}

/* --------------------------------------------------------------------------
   SECTION 2 — BASE RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   SECTION 3 — UTILITY CLASSES
   -------------------------------------------------------------------------- */
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-mono  { font-family: 'Courier New', Courier, monospace; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, opacity 0.2s;
}
.btn-secondary:hover { border-color: var(--border-hover); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--border-hover); }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 640px)  { .container { padding: 0 48px; } }
@media (min-width: 1280px) { .container { padding: 0 40px; } }

/* Sections */
.section { padding: 80px 24px; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .section { padding: 128px 48px; } }

/* Grids */
.grid-1 { display: grid; gap: 32px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 32px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* Tabs */
.tabs-bar {
  display: flex; gap: 12px; margin-bottom: 40px; border-bottom: 1px solid var(--border);
  padding-bottom: 16px; flex-wrap: wrap;
}
.tab-btn {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 16px; border: 1px solid transparent;
  transition: all 0.2s;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active {
  color: var(--text-main); border-color: var(--border-hover); background: var(--bg-card);
}

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.form-control {
  background: var(--bg-input); border: 1px solid var(--border); padding: 14px 16px;
  color: var(--text-main); font-family: inherit; font-size: 13px; outline: none; transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--border-hover); }

/* --------------------------------------------------------------------------
   SECTION 4 — HEADER
   -------------------------------------------------------------------------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s;
}

.top-bar {
  display: none;
  font-size: 11px;
  padding: 6px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-footer);
  color: var(--text-muted);
}
@media (min-width: 768px) { .top-bar { display: block; } }
.top-bar .inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.theme-toggle-btn {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text-sub);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.theme-toggle-btn:hover { color: var(--text-main); }

.main-nav {
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  transition: all 0.3s;
}
.main-nav.scrolled {
  padding: 12px 24px;
  box-shadow: 0 10px 30px var(--shadow);
}
.main-nav .inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.nav-logo img {
  height: 40px; width: auto; object-fit: contain;
  filter: var(--logo-filter);
  transition: transform 0.3s;
  cursor: pointer;
}
.nav-logo img:hover { transform: scale(1.05); }

.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; align-items: center; }
}

.nav-links a, .nav-links button {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sub);
  padding: 4px 4px;
  transition: color 0.2s;
  background: none; border: none; cursor: pointer;
  white-space: nowrap;
}
@media (min-width: 1280px) {
  .nav-links { gap: 16px; }
  .nav-links a, .nav-links button { font-size: 11.5px; letter-spacing: 0.14em; }
}
.nav-links a:hover, .nav-links button:hover { color: var(--text-main); }
.nav-links a.active, .nav-links button.active {
  color: var(--text-main);
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 2px;
}

/* Dropdown mega menu */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 20px 60px var(--shadow);
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu { display: grid; }
.dropdown-menu .col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dropdown-menu ul { list-style: none; }
.dropdown-menu li { margin-bottom: 8px; }
.dropdown-menu a {
  font-size: 12px; color: var(--text-sub);
  transition: color 0.2s;
}
.dropdown-menu a:hover { color: var(--text-main); text-decoration: underline; }

/* Nav action icons */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-icon-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-sub); padding: 6px;
  transition: color 0.2s;
}
.nav-icon-btn:hover { color: var(--text-main); }
.nav-icon-btn svg { width: 20px; height: 20px; display: block; }

.cart-badge {
  position: relative; display: inline-block;
}
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 10px; font-weight: 700; font-family: monospace;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-cta {
  display: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 20px; border: none; cursor: pointer;
  transition: opacity 0.2s;
}
@media (min-width: 1280px) { .nav-cta { display: inline-block; } }
.nav-cta:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-main); transition: all 0.3s;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* --------------------------------------------------------------------------
   SECTION 5 — MOBILE MENU DRAWER
   -------------------------------------------------------------------------- */
#mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-main);
  padding: 80px 24px 40px;
  overflow-y: auto;
  flex-direction: column;
}
#mobile-menu.open { display: flex; }
#mobile-menu .close-btn {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer;
  color: var(--text-main); font-size: 24px;
}
#mobile-menu nav a {
  display: block; padding: 14px 0;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
#mobile-menu nav a:hover { opacity: 0.7; }

/* --------------------------------------------------------------------------
   SECTION 6 — LOADING SCREEN
   -------------------------------------------------------------------------- */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #0A0A0A;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.7s;
}
#loading-screen.fade-out { opacity: 0; pointer-events: none; }
#loading-screen.hidden { display: none; }
#loading-screen img { width: 160px; height: auto; }
.loading-bar {
  width: 192px; height: 2px;
  background: #292929; border-radius: 9999px;
  overflow: hidden; margin: 24px 0 16px;
}
.loading-bar-fill {
  height: 100%; background: white;
  animation: lineGrow 1.4s ease forwards;
}
.loading-tagline {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: #777;
}

/* --------------------------------------------------------------------------
   SECTION 7 — HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 540px; max-height: 820px;
  background: #0A0A0A;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.7);
  z-index: 0;
}
.hero-overlay-tb {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--hero-gradient-from) 0%, transparent 60%);
}
.hero-overlay-lr {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(10,10,10,0.85) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 96px 24px 48px;
}
@media (min-width: 640px) { .hero-content { padding: 96px 48px 64px; } }
.hero-content .inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: white;
  letter-spacing: -0.01em;
  margin: 16px 0;
}
.hero p {
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(216,216,216,0.9);
  font-weight: 300;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-controls {
  position: absolute; bottom: 32px; right: 24px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
@media (min-width: 640px) { .hero-controls { right: 48px; } }
.hero-controls button {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.8); font-size: 11px;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.hero-controls button:hover { color: white; }
.hero-controls .divider { color: rgba(255,255,255,0.3); }

.scroll-indicator {
  display: none;
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 2; flex-direction: column; align-items: center; opacity: 0.7;
  font-size: 9px; letter-spacing: 0.3em; color: white;
  text-transform: uppercase; font-family: monospace;
}
@media (min-width: 768px) { .scroll-indicator { display: flex; } }
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px; height: 24px;
  background: rgba(255,255,255,0.5);
  margin-top: 8px;
  animation: pulse 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   SECTION 8 — FOOTER
   -------------------------------------------------------------------------- */
#site-footer {
  background: var(--bg-footer);
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding: 96px 24px 48px;
  transition: background-color 0.3s;
}
@media (min-width: 640px) { #site-footer { padding: 96px 48px 48px; } }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2,1fr); }
}
.footer-mid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 1fr;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .footer-mid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-mid h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px; color: var(--text-main);
}
.footer-mid ul { list-style: none; }
.footer-mid li { margin-bottom: 10px; }
.footer-mid a, .footer-mid button {
  font-size: 12px; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.footer-mid a:hover, .footer-mid button:hover { color: var(--text-main); }
.footer-bottom {
  padding-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 11px; font-family: monospace; opacity: 0.7;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
}

.footer-form { display: flex; }
.footer-form input {
  flex: 1; background: var(--bg-input);
  border: 1px solid var(--border);
  border-right: none;
  padding: 12px 16px; font-size: 12px;
  color: var(--text-main); font-family: monospace;
  outline: none; transition: border-color 0.2s;
}
.footer-form input:focus { border-color: var(--border-hover); }
.footer-form input::placeholder { color: var(--text-muted); }
.footer-form button {
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  border: none; padding: 12px 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: opacity 0.2s;
  white-space: nowrap;
}
.footer-form button:hover { opacity: 0.85; }

/* --------------------------------------------------------------------------
   SECTION 9 — CART DRAWER
   -------------------------------------------------------------------------- */
#cart-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: none;
}
#cart-overlay.open { display: block; }
#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-main);
}
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-item {
  display: flex; gap: 16px; padding: 16px;
  background: var(--bg-main); border: 1px solid var(--border);
  margin-bottom: 16px;
}
.cart-item img {
  width: 64px; height: 64px; object-fit: cover;
  background: rgba(255,255,255,0.05); flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title {
  font-size: 12px; font-weight: 700; color: var(--text-main);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-meta { font-size: 10px; color: var(--text-muted); font-family: monospace; margin-top: 2px; }
.cart-item-custom { font-size: 10px; color: #10b981; font-family: monospace; }
.cart-item-price { font-size: 12px; font-weight: 700; color: var(--text-main); margin-top: 4px; }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  margin-top: 10px; width: fit-content;
}
.qty-control button {
  padding: 4px 8px; color: var(--text-main);
  font-size: 14px; transition: background 0.2s;
}
.qty-control button:hover { background: var(--bg-secondary); }
.qty-display { padding: 4px 12px; font-size: 12px; font-family: monospace; color: var(--text-main); }
.cart-footer {
  padding: 24px; border-top: 1px solid var(--border);
  background: var(--bg-main);
}
.cart-promo { display: flex; gap: 8px; margin-bottom: 12px; }
.cart-promo input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 12px; font-size: 11px; color: var(--text-main);
  font-family: monospace; text-transform: uppercase; outline: none;
}
.cart-promo input::placeholder { color: var(--text-muted); }
.cart-promo button {
  padding: 8px 16px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-main);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.2s;
}
.cart-promo button:hover { background: var(--bg-secondary); }
.cart-totals { margin-bottom: 16px; }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-sub);
  padding: 4px 0;
}
.cart-total-row .label { color: var(--text-muted); }
.cart-grand-total {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 700; color: var(--text-main);
  padding-top: 10px; margin-top: 8px;
  border-top: 1px solid var(--border);
}
.cart-checkout-btn {
  width: 100%; padding: 16px;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: none; cursor: pointer; transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-checkout-btn:hover { opacity: 0.85; }

/* --------------------------------------------------------------------------
   SECTION 10 — SEARCH MODAL
   -------------------------------------------------------------------------- */
#search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: none; align-items: flex-start;
  justify-content: center; padding-top: 120px;
}
#search-overlay.open { display: flex; }
.search-box {
  width: 100%; max-width: 600px; margin: 0 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px var(--shadow);
}
.search-input-row {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
}
.search-input-row input {
  flex: 1; background: none; border: none; outline: none;
  padding: 20px 24px; font-size: 16px; color: var(--text-main);
}
.search-input-row input::placeholder { color: var(--text-muted); }
.search-results { max-height: 400px; overflow-y: auto; }
.search-result-item {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.2s;
}
.search-result-item:hover { background: var(--bg-secondary); }
.search-result-item .result-title { font-size: 13px; font-weight: 600; color: var(--text-main); }
.search-result-item .result-cat { font-size: 11px; color: var(--text-muted); font-family: monospace; margin-top: 2px; }

/* --------------------------------------------------------------------------
   SECTION 11 — BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  border: 1px solid var(--border);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0; pointer-events: none;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   SECTION 12 — PROPERTY CARDS, TRAVEL CARDS, PRODUCT CARDS
   -------------------------------------------------------------------------- */
.property-card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.3s; display: flex; flex-direction: column;
}
.property-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.card-image {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.4s ease;
}
.property-card:hover .card-image img { transform: scale(1.04); }
.card-badge {
  position: absolute; top: 16px;
  font-size: 10px; font-family: monospace;
  font-weight: 700; padding: 4px 12px;
  text-transform: uppercase;
}
.badge-left { left: 16px; background: rgba(0,0,0,0.8); color: white; }
.badge-right { right: 16px; background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; color: var(--text-main);
  margin-bottom: 12px;
}
.card-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; font-family: monospace;
  color: var(--text-muted); padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.card-meta .price { color: var(--text-main); font-weight: 700; }
.card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.card-footer {
  margin-top: auto;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-main);
  display: flex; align-items: center; justify-content: space-between;
}

/* --------------------------------------------------------------------------
   SECTION 13 — ORDER TRACKING TIMELINE
   -------------------------------------------------------------------------- */
.tracking-timeline { list-style: none; position: relative; padding-left: 32px; margin-top: 24px; }
.tracking-timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -28px; top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-main);
}
.timeline-item.completed .timeline-dot {
  background: var(--text-main); border-color: var(--text-main);
}
.timeline-item.active .timeline-dot {
  background: #10b981; border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.3);
}
.timeline-title { font-size: 13px; font-weight: 700; color: var(--text-main); }
.timeline-date  { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.timeline-loc   { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   SECTION 14 — PAGE HERO BANNER
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 80px 24px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-main);
  margin-top: 60px;
}
@media (min-width: 640px) { .page-hero { padding: 100px 48px 80px; } }
.page-hero .label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 56px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--text-main); line-height: 1.1;
}
.page-hero p {
  font-size: 14px; color: var(--text-sub);
  max-width: 600px; margin-top: 16px; font-weight: 300; line-height: 1.7;
}

/* --------------------------------------------------------------------------
   HOMEPAGE DYNAMIC COMPONENTS
   -------------------------------------------------------------------------- */
.service-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px; border-bottom: 1px solid var(--border); cursor: pointer;
  transition: background 0.2s, padding-left 0.2s;
}
.service-row:hover { background: var(--bg-card); padding-left: 32px; }
.service-row .srv-num { font-family: monospace; font-size: 12px; color: var(--text-muted); }
.service-row h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--text-main); }
.service-row p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.service-row .srv-arrow { font-size: 18px; color: var(--text-muted); transition: transform 0.2s; }
.service-row:hover .srv-arrow { transform: translateX(6px); color: var(--text-main); }

/* Accordion */
.faq-item { border: 1px solid var(--border); background: var(--bg-card); margin-bottom: 16px; }
.faq-question {
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 700; cursor: pointer; color: var(--text-main);
}
.faq-answer { padding: 0 24px 20px; font-size: 13px; color: var(--text-sub); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { font-weight: 700; text-transform: uppercase; color: var(--text-muted); font-size: 10px; letter-spacing: 0.1em; }
.demo-banner {
  background: #f59e0b; color: #000; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 20px;
  text-align: center; margin-bottom: 24px;
}
