/* ================================================
   style.css - Taqwa Furniture Store
   Warm White + Amber Gold + Warm Brown palette
   RTL Arabic | Mobile-first
   ================================================ */

/* ================================================
   1. DESIGN TOKENS
   ================================================ */
:root {
  /* Colors */
  --clr-bg:       #FAFAF7;
  --clr-surface:  #F5EFE0;
  --clr-primary:  #7A5228;
  --clr-accent:   #8B6234;
  --clr-text:     #3B2F20;
  --clr-muted:    #8A7060;
  --clr-white:    #FFFFFF;
  --clr-border:   #E8DBC8;
  --clr-overlay:  rgba(40, 22, 8, 0.65);
  --clr-success:  #2E7D32;
  --clr-error:    #C62828;

  /* Spacing (4px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Typography - fluid scaling */
  --font:   'Cairo', sans-serif;
  --fz-xs:  clamp(11px, 1.2vw, 13px);
  --fz-sm:  clamp(13px, 1.5vw, 15px);
  --fz-md:  clamp(15px, 1.8vw, 17px);
  --fz-lg:  clamp(17px, 2.2vw, 21px);
  --fz-xl:  clamp(20px, 2.8vw, 26px);
  --fz-2xl: clamp(24px, 3.5vw, 36px);
  --fz-3xl: clamp(30px, 5.5vw, 54px);

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(122, 82, 40, 0.08);
  --sh-md: 0 4px 16px rgba(122, 82, 40, 0.12);
  --sh-lg: 0 12px 32px rgba(122, 82, 40, 0.15);

  /* Transitions */
  --tr:      0.24s ease;
  --tr-slow: 0.4s ease;

  /* Nav height */
  --nav-h: 68px;
}

/* ================================================
   2. RESET & BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fz-md);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.75;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: var(--font);
  direction: rtl;
}

/* ================================================
   3. LAYOUT
   ================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

@media (min-width: 640px)  { .container { padding-inline: var(--sp-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-8); } }

.section {
  padding-block: var(--sp-16);
}

.section--surface {
  background-color: var(--clr-surface);
}

/* Section header (title + line + subtitle) */
.section-header {
  margin-bottom: var(--sp-10);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-title::after {
  margin-inline: auto;
}

.section-title {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--clr-accent);
  border-radius: var(--r-full);
  margin-top: var(--sp-3);
}

.section-subtitle {
  font-size: var(--fz-md);
  color: var(--clr-muted);
  margin-top: var(--sp-3);
  max-width: 600px;
  line-height: 1.8;
}

/* ================================================
   4. BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-size: var(--fz-sm);
  font-weight: 700;
  transition: all var(--tr);
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.3;
}

.btn:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}

.btn-primary:hover {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--clr-white);
  color: var(--clr-white);
}

.btn-outline:hover {
  background-color: var(--clr-white);
  color: var(--clr-primary);
}

.btn-ghost {
  background-color: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.btn-ghost:hover {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--clr-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-10);
  font-size: var(--fz-md);
  min-height: 56px;
}

.btn-full { width: 100%; }

.btn svg { flex-shrink: 0; }

/* ================================================
   5. NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--tr), box-shadow var(--tr);
}
.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* When not on hero page (inner pages have --nav-solid class) */
.nav--solid {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  display: none; /* show when logo.png is added */
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 900;
  color: var(--clr-primary);
  transition: color var(--tr);
}

.nav__logo-sub {
  font-size: clamp(9px, 1vw, 11px);
  color: var(--clr-muted);
  font-weight: 500;
  transition: color var(--tr);
}

/* On transparent nav, show white text */
.nav:not(.scrolled):not(.nav--solid) .nav__logo-name { color: var(--clr-white); }
.nav:not(.scrolled):not(.nav--solid) .nav__logo-sub  { color: rgba(255,255,255,0.7); }

/* Desktop links */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-text);
  padding-block: var(--sp-2);
  position: relative;
  transition: color var(--tr);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  border-radius: var(--r-full);
  transition: width var(--tr);
}

.nav__link:hover,
.nav__link.active { color: var(--clr-accent); }

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav:not(.scrolled):not(.nav--solid) .nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.nav:not(.scrolled):not(.nav--solid) .nav__link:hover { color: var(--clr-white); }

/* Desktop CTA */
.nav__cta { display: none; }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background var(--tr);
}

.nav__toggle:hover { background: rgba(122, 82, 40, 0.08); }

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background-color: var(--clr-primary);
  border-radius: var(--r-full);
  transition: all var(--tr);
}

.nav:not(.scrolled):not(.nav--solid) .nav__toggle-bar { background-color: var(--clr-white); }

.nav__toggle.open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open .nav__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 5, 0.55);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-slow);
}

.nav__overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer - slides from right (start in RTL) */
.nav__drawer {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: min(300px, 82vw);
  height: 100dvh;
  background-color: var(--clr-white);
  box-shadow: var(--sh-lg);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--tr-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* For RTL, "start" = right side of screen */
[dir="rtl"] .nav__drawer {
  transform: translateX(100%);
}

.nav__drawer.open {
  transform: translateX(0);
}

.nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
}

.nav__drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-muted);
  font-size: 20px;
  transition: all var(--tr);
  line-height: 1;
}

.nav__drawer-close:hover {
  background: var(--clr-surface);
  color: var(--clr-primary);
}

.nav__drawer-body {
  flex: 1;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fz-lg);
  font-weight: 600;
  color: var(--clr-text);
  border-radius: var(--r-md);
  transition: all var(--tr);
}

.nav__drawer-link:hover,
.nav__drawer-link.active {
  background-color: var(--clr-surface);
  color: var(--clr-accent);
}

.nav__drawer-footer {
  padding: var(--sp-5);
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nav__drawer-phone-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  text-decoration: none;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: color var(--tr);
}

.nav__drawer-phone-item:hover { color: var(--clr-accent); }

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__drawer { display: none !important; }
  .nav__overlay { display: none !important; }
}

/* ================================================
   6. HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(38, 20, 6, 0.74) 0%,
    rgba(95, 55, 15, 0.52) 55%,
    rgba(38, 20, 6, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--clr-white);
  padding-inline: var(--sp-4);
  max-width: 820px;
  padding-block: var(--sp-20);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--sp-1) var(--sp-5);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.03em;
}

.hero__actions .btn-outline {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.hero__actions .btn-outline:hover {
  background-color: var(--clr-surface);
  border-color: var(--clr-surface);
}

.hero__title {
  font-size: var(--fz-3xl);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.hero__subtitle {
  display: inline-block;
  font-size: var(--fz-lg);
  font-weight: 500;
  line-height: 1.7;
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: var(--sp-2) var(--sp-6);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-8);
}
.hero__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fz-xs);
  animation: scrollBounce 2.2s infinite;
  cursor: default;
}

/* ================================================
   7. ABOUT SECTION
   ================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

.about__image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--sh-lg);
  position: relative;
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.about__image-wrap:hover img { transform: scale(1.05); }

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-accent);
  border: 1px solid var(--clr-accent);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--fz-xs);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.about__title {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
  line-height: 1.3;
}

.about__text {
  font-size: var(--fz-md);
  color: var(--clr-text);
  line-height: 1.85;
  margin-bottom: var(--sp-6);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.about__stat {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  background: var(--clr-primary);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-primary);
}

.about__stat-num {
  display: block;
  font-size: var(--fz-2xl);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
}

.about__stat-label {
  font-size: var(--fz-xs);
  color: rgba(255,255,255,0.85);
  margin-top: var(--sp-1);
  display: block;
}

/* ================================================
   8. PRODUCT CARDS & GRID
   ================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--clr-border);
  transition: all var(--tr);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--clr-accent);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--clr-surface);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.product-card:hover .product-card__img { transform: scale(1.07); }

/* Placeholder bg when no image */
.product-card__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 48px;
}

.product-card__badge {
  position: absolute;
  top: var(--sp-3);
  inset-inline-start: var(--sp-3);
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: var(--fz-xs);
  font-weight: 700;
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
}

.product-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-size: var(--fz-md);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.product-card__desc {
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--clr-border);
  gap: var(--sp-2);
}

.product-card__price {
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--clr-accent);
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  background: var(--clr-accent);
  color: var(--clr-white);
  border-radius: var(--r-full);
  font-size: var(--fz-xs);
  font-weight: 700;
  transition: all var(--tr);
  min-height: 38px;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card__btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Section "see all" link */
.section-see-all {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-accent);
  font-weight: 700;
  font-size: var(--fz-sm);
  transition: gap var(--tr);
  margin-top: var(--sp-10);
  text-decoration: none;
}

.section-see-all:hover { gap: var(--sp-4); }

/* ================================================
   9. FILTER BAR
   ================================================ */
.filter-bar {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-8);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  font-size: var(--fz-sm);
  font-weight: 600;
  background: var(--clr-white);
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--tr);
  min-height: 44px;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.filter-btn.active {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: var(--sp-10);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--sp-20) var(--sp-4);
  color: var(--clr-muted);
  grid-column: 1 / -1;
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  opacity: 0.35;
  color: var(--clr-primary);
}

.empty-state__text { font-size: var(--fz-lg); font-weight: 600; }

/* ================================================
   10. PRODUCT MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 14, 4, 0.78);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--clr-white);
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--sh-lg);
  transform: translateY(30px);
  transition: transform var(--tr-slow);
  position: relative;
}

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

/* Drag handle on mobile */
.modal__handle {
  width: 40px;
  height: 4px;
  background: var(--clr-border);
  border-radius: var(--r-full);
  margin-inline: auto;
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.modal__close-btn {
  position: absolute;
  top: var(--sp-3);
  inset-inline-start: var(--sp-3);
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  font-size: 20px;
  color: var(--clr-muted);
  background: var(--clr-white);
  z-index: 1;
}

.modal__close-btn:hover {
  background: var(--clr-surface);
  color: var(--clr-primary);
}

.modal__gallery {
  background: var(--clr-surface);
}

.modal__main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.modal__thumbnails {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
  overflow-x: auto;
  scrollbar-width: none;
}

.modal__thumbnails::-webkit-scrollbar { display: none; }

.modal__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color var(--tr), opacity var(--tr);
  opacity: 0.65;
}

.modal__thumb.active {
  border-color: var(--clr-accent);
  opacity: 1;
}

.modal__info { padding: var(--sp-5) var(--sp-5) var(--sp-8); }

.modal__cat {
  font-size: var(--fz-xs);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-3);
  display: block;
}

.modal__title {
  font-size: var(--fz-xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.modal__price {
  font-size: var(--fz-lg);
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
  display: block;
}

.modal__desc {
  font-size: var(--fz-md);
  color: var(--clr-text);
  line-height: 1.85;
  margin-bottom: var(--sp-6);
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Tablet+ modal: side-by-side layout */
@media (min-width: 680px) {
  .modal-overlay {
    align-items: center;
    padding: var(--sp-4);
  }

  .modal {
    max-width: 840px;
    border-radius: var(--r-lg);
    transform: scale(0.96) translateY(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .modal-overlay.open .modal { transform: scale(1) translateY(0); }

  .modal__handle { display: none; }
  .modal__gallery { border-radius: var(--r-lg) 0 0 var(--r-lg); }

  [dir="rtl"] .modal__gallery {
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
  }

  .modal__main-image { aspect-ratio: 1; height: 100%; }
  .modal__actions { flex-direction: row; }
}

/* ================================================
   11. SERVICES
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 580px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--tr);
}

.service-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  background: var(--clr-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--clr-white);
  flex-shrink: 0;
}

.service-card__title {
  font-size: var(--fz-lg);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--sp-2);
}

.service-card__desc {
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  line-height: 1.75;
}

/* Before/After section */
.ba-section-title {
  font-size: var(--fz-xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-6);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }

.ba-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--sh-sm);
}

.ba-card__label {
  background: var(--clr-accent);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.ba-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-white);
  flex-shrink: 0;
}

.ba-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Services page header image */
.services-hero-image {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-12);
  aspect-ratio: 21 / 7;
}

.services-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   12. WHY US
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: all var(--tr);
}

.feature-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.feature-card__icon {
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
  display: flex;
  justify-content: center;
}

.feature-card__title {
  font-size: var(--fz-md);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--sp-2);
}

.feature-card__text {
  font-size: var(--fz-xs);
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ================================================
   13. CTA STRIP
   ================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #a06c30 100%);
  color: var(--clr-white);
  padding-block: var(--sp-12);
  text-align: center;
}

.cta-strip__title {
  font-size: var(--fz-2xl);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}

.cta-strip__text {
  font-size: var(--fz-md);
  opacity: 0.85;
  margin-bottom: var(--sp-8);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.75;
}

.cta-strip__buttons {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   14. CONTACT PAGE
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (min-width: 900px) { .contact-layout { max-width: 600px; margin-inline: auto; } }

.contact-info__title {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-6);
}

.contact-item {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  align-items: flex-start;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--clr-surface);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
}

.contact-item__label {
  font-size: var(--fz-xs);
  color: var(--clr-muted);
  margin-bottom: var(--sp-1);
  display: block;
}

.contact-item__value {
  font-size: var(--fz-md);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.55;
}

.contact-item__value a {
  color: var(--clr-accent);
  transition: color var(--tr);
  display: block;
}

.contact-item__value a:hover { color: var(--clr-primary); }

/* Contact form */
.contact-form {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--sh-sm);
}

.form-group { margin-bottom: var(--sp-5); }

.form-label {
  display: block;
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  font-size: var(--fz-md);
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--tr), box-shadow var(--tr);
  direction: rtl;
  min-height: 50px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.15);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

/* Map */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  height: 300px;
  margin-top: var(--sp-8);
  box-shadow: var(--sh-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ================================================
   15. PAGE HEADER (inner pages)
   ================================================ */
.page-header {
  background: linear-gradient(150deg, var(--clr-primary) 0%, #56361a 100%);
  color: var(--clr-white);
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-12);
  text-align: center;
}

.page-header__title {
  font-size: var(--fz-2xl);
  font-weight: 900;
}

.page-header__crumb {
  font-size: var(--fz-sm);
  opacity: 0.65;
  margin-top: var(--sp-2);
}

.page-header__crumb a {
  color: rgba(255,255,255,0.9);
  transition: opacity var(--tr);
}

.page-header__crumb a:hover { opacity: 0.85; }

/* ================================================
   16. FOOTER
   ================================================ */
footer {
  background-color: #2e1e0f;
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--sp-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-3);
}

.footer__brand-text { display: none; }

.footer__brand-name { font-size: var(--fz-sm); margin-bottom: 0; }
.footer__brand-sub { font-size: 10px; margin-bottom: 0; }
.footer__heading { font-size: 11px; font-weight: 700; margin-bottom: var(--sp-2); }

.footer__links { gap: 1px; }

.footer__link { font-size: 11px; line-height: 1.8; }

.footer__contact-row { font-size: 11px; gap: var(--sp-1); margin-bottom: 1px; }
.footer__contact-row svg { width: 12px; height: 12px; }

footer { padding: var(--sp-4) 0; }

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
  .footer__brand-text { display: block; }
  .footer__brand-name { font-size: var(--fz-lg); }
  .footer__brand-sub { font-size: var(--fz-sm); margin-bottom: var(--sp-4); }
  .footer__heading { font-size: var(--fz-md); margin-bottom: var(--sp-4); }
  .footer__links { gap: var(--sp-2); }
  .footer__link { font-size: var(--fz-sm); line-height: inherit; }
  .footer__contact-row { font-size: var(--fz-sm); gap: var(--sp-3); margin-bottom: var(--sp-3); }
  .footer__contact-row svg { width: 16px; height: 16px; }
  footer { padding-block: var(--sp-12); }
}

@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer__brand-name {
  font-size: var(--fz-lg);
  font-weight: 900;
  color: var(--clr-white);
  margin-bottom: var(--sp-1);
}

.footer__brand-sub {
  font-size: var(--fz-sm);
  color: var(--clr-surface);
  margin-bottom: var(--sp-4);
}

.footer__brand-text {
  font-size: var(--fz-sm);
  line-height: 1.8;
  opacity: 0.7;
}

.footer__heading {
  font-size: var(--fz-md);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__link {
  font-size: var(--fz-sm);
  opacity: 0.7;
  transition: opacity var(--tr), color var(--tr);
  color: inherit;
}

.footer__link:hover { opacity: 1; color: var(--clr-accent); }

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--fz-sm);
  opacity: 0.75;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--tr);
}

.footer__contact-row:hover { opacity: 1; }

.footer__bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--fz-xs);
  opacity: 0.4;
}

/* ================================================
   17. FLOATING ACTION BUTTONS
   ================================================ */
.fabs {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-full);
  box-shadow: var(--sh-lg);
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--clr-white);
  text-decoration: none;
  transition: transform var(--tr), box-shadow var(--tr), opacity 0.5s ease;
  min-height: 52px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-60px);
}

.fab.fab--visible {
  opacity: 1;
  transform: translateX(0);
}

.fab:hover {
  transform: translateX(0) translateY(-2px) scale(1.04) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.fab--whatsapp { background: #25D366; transition-delay: 0.15s; }
.fab--call     { background: var(--clr-accent); transition-delay: 0.05s; }

.fab__label {
  display: none;
}

@media (min-width: 400px) { .fab__label { display: inline; } }

/* ================================================
   18. ANIMATIONS
   ================================================ */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ================================================
   19. TOAST
   ================================================ */
.toast-container {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: min(360px, 92vw);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  pointer-events: none;
}

.toast {
  background: var(--clr-white);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--sh-lg);
  border-inline-start: 4px solid var(--clr-accent);
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-text);
  animation: fadeUp 0.3s ease both;
  pointer-events: all;
}

.toast--success { border-inline-start-color: var(--clr-success); }
.toast--error   { border-inline-start-color: var(--clr-error); }

/* ================================================
   20. PAGE HEADER (inner pages)
   ================================================ */
.page-header {
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-10);
  background: linear-gradient(135deg, var(--clr-primary) 0%, #a06c30 100%);
  border-bottom: none;
}

.page-header__title {
  font-size: var(--fz-3xl);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}

.page-header__crumb {
  font-size: var(--fz-sm);
  color: rgba(255,255,255,0.7);
}

.page-header__crumb a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.page-header__crumb a:hover { color: var(--clr-white); }

/* ================================================
   21. ABOUT SECTION
   ================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.about__image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
}

.about__image-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid var(--clr-accent);
  border-radius: calc(var(--r-lg) + 6px);
  opacity: 0.35;
  pointer-events: none;
}

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

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  color: var(--clr-white);
  font-size: var(--fz-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.about__title {
  font-size: var(--fz-2xl);
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1.3;
  margin-bottom: var(--sp-5);
}

.about__text {
  color: var(--clr-muted);
  line-height: 1.85;
  margin-bottom: var(--sp-4);
  font-size: var(--fz-md);
}

.about__stats {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--clr-primary);
  border: 1px solid var(--clr-primary);
}

.about__stat-num {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
}

.about__stat-label {
  font-size: var(--fz-xs);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-top: 4px;
}

/* ================================================
   22. BEFORE / AFTER GRID (services page)
   ================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}

.ba-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}

.ba-card__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  position: absolute;
  top: var(--sp-3);
  inset-inline-start: var(--sp-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fz-xs);
  font-weight: 700;
  color: var(--clr-text);
  z-index: 2;
  box-shadow: var(--sh-sm);
}

.ba-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C62828;
  flex-shrink: 0;
}

.ba-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .ba-card__image { height: 360px; }
}

/* ================================================
   23. CONTACT PAGE
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
}

.contact-info__title {
  font-size: var(--fz-2xl);
  font-weight: 900;
  color: var(--clr-primary);
  margin-bottom: var(--sp-8);
  line-height: 1.3;
}

.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-bottom: var(--sp-6);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.contact-item__label {
  display: block;
  font-size: var(--fz-xs);
  color: var(--clr-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: var(--fz-md);
  font-weight: 600;
  color: var(--clr-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.6;
}

.contact-item__value a {
  color: var(--clr-primary);
  transition: color var(--tr);
  font-weight: 700;
}

.contact-item__value a:hover { color: var(--clr-accent); }

/* Contact form */
.contact-form {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--sh-md);
}

.form-group { margin-bottom: var(--sp-5); }

.form-label {
  display: block;
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  font-size: var(--fz-md);
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--tr), box-shadow var(--tr);
  direction: rtl;
  min-height: 52px;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--clr-muted);
  opacity: 0.7;
}

/* Map */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--clr-border);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

@media (min-width: 768px) {
  .map-wrap iframe { height: 480px; }
}

/* ================================================
   24. FOOTER CONTACT ROWS
   ================================================ */
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fz-sm);
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--sp-3);
  transition: color var(--tr);
  line-height: 1.5;
}

.footer__contact-row:hover { color: var(--clr-accent); }

/* ================================================
   25. LOAD MORE WRAP
   ================================================ */
.load-more-wrap {
  text-align: center;
  margin-top: var(--sp-10);
}

/* ================================================
   26. FILTER BAR SCROLL (gallery)
   ================================================ */
.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  scrollbar-width: none;
  margin-bottom: var(--sp-8);
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar { display: none; }

/* ================================================
   27. PAGE TRANSITIONS (Feature 5)
   ================================================ */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: pageFadeIn 0.35s ease both;
}

/* Fade out on navigation */
body.page-exit {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
