/* =========================================
   TALA & LAMIA — Modern RTL Stylesheet
   ========================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --gold:        #C9A96E;
  --gold-light:  #E4C992;
  --gold-dark:   #A07844;
  --rose:        #D4956A;
  --cream:       #FBF7F2;
  --cream-dark:  #F0E6D8;
  --dark:        #1A1410;
  --dark-2:      #2C2218;
  --gray:        #6B6560;
  --gray-light:  #B5B0AC;
  --white:       #FFFFFF;
  --green:       #25D366;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:   'Noto Kufi Arabic', 'Segoe UI', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- SECTION ---- */
.section { padding: 90px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.5);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201,169,110,0.5);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.75);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.logo-t { color: var(--gold); }
.logo-l { color: var(--white); }
.preloader-text {
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: preload 1.8s ease-in-out forwards;
}
@keyframes preload { from { width: 0 } to { width: 100% } }

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left a {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.top-bar-left a:hover { color: var(--gold-light); }
.top-bar-left i { color: var(--gold); }
.top-bar-marquee {
  flex: 1;
  overflow: hidden;
  text-align: center;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}
.marquee-track span { color: var(--gold-light); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.top-bar-social { display: flex; gap: 14px; }
.top-bar-social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.top-bar-social a:hover { color: var(--gold-light); }

/* =========================================
   HEADER
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-symbol {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.logo-sub { font-size: 0.7rem; color: var(--gold); letter-spacing: 2px; font-weight: 500; }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--dark);
  background: var(--cream);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Header CTA */
.header-cta { font-size: 0.88rem; padding: 11px 22px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 850;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay.active { display: block; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { position: relative; height: 100vh; min-height: 620px; max-height: 900px; overflow: hidden; }
.hero-slider { height: 100%; }
.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,20,16,0.75) 0%, rgba(26,20,16,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 80px;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.5);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18em;
}
.hero-title > span,
.hero-title em {
  font-style: normal;
  display: block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Swiper Overrides */
.hero-pagination { bottom: 30px !important; }
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5) !important;
  width: 8px !important;
  height: 8px !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold-light) !important;
  width: 28px !important;
  border-radius: 4px !important;
}
.hero-next, .hero-prev {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: var(--white) !important;
  transition: var(--transition) !important;
}
.hero-next:hover, .hero-prev:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}
.hero-next::after, .hero-prev::after { display: none !important; }
.hero-next i, .hero-prev i { font-size: 1rem; }

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite;
}
@keyframes scroll-wheel { 0%,100% { transform: translateY(0); opacity:1 } 80% { transform: translateY(12px); opacity:0 } }
@keyframes bounce { 0%,100% { transform: translateX(50%) translateY(0) } 50% { transform: translateX(50%) translateY(-8px) } }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  text-align: right;
}
.stat-item:last-child { border-left: none; }
.stat-item > i {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus { font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.stat-item p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* =========================================
   CATEGORIES
   ========================================= */
.categories { background: var(--cream); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.category-card.large { grid-column: span 2; grid-row: span 2; }
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}
.category-card.large { height: auto; min-height: 580px; }
.cat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--gold-dark); /* fallback when image fails */
  transition: transform 0.6s ease;
}
/* Per-category color fallbacks */
.category-card:nth-child(1) .cat-img { background-color: #5C3D2E; }  /* makeup: warm brown */
.category-card:nth-child(2) .cat-img { background-color: #3D5A4A; }  /* skincare: deep green */
.category-card:nth-child(3) .cat-img { background-color: #4A3A2A; }  /* accessories: dark gold */
.category-card:nth-child(4) .cat-img { background-color: #3D2E4A; }  /* fashion: deep purple */
.category-card:nth-child(5) .cat-img { background-color: #2A3A4A; }
.category-card:hover .cat-img { transform: scale(1.07); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.85) 0%, rgba(26,20,16,0.1) 60%);
  transition: var(--transition);
}
.category-card:hover .cat-overlay { background: linear-gradient(to top, rgba(26,20,16,0.9) 0%, rgba(26,20,16,0.2) 60%); }
.cat-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 28px;
  color: var(--white);
  transform: translateY(8px);
  transition: var(--transition);
}
.category-card:hover .cat-content { transform: translateY(0); }
.cat-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.category-card.large .cat-icon { width: 60px; height: 60px; font-size: 1.6rem; }
.cat-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cat-content h3[lang="en"] {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
}
.category-card.large .cat-content h3 { font-size: 1.8rem; }
.cat-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
}
.category-card:hover .cat-btn { opacity: 1; transform: translateY(0); }

/* =========================================
   OFFER BANNER
   ========================================= */
.offer-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.offer-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.offer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,20,16,0.88), rgba(160,120,68,0.6));
}
.offer-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto;
}
.offer-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.offer-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.offer-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* =========================================
   PRODUCTS
   ========================================= */
.products { background: var(--white); }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  background: var(--cream);
  transition: var(--transition);
  border: 1px solid transparent;
}
.filter-btn:hover { color: var(--dark); background: var(--cream-dark); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--cream-dark);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card.hidden { display: none; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream-dark); /* shows when image is loading/failing */
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.badge-new {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-hot {
  background: var(--rose);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.action-btn:hover { background: var(--gold); color: var(--white); }
.action-btn .fa-brands.fa-whatsapp { color: var(--green); }
.action-btn:hover .fa-brands.fa-whatsapp { color: var(--white); }
.action-btn .fa-solid.fa-heart { color: #E74C3C; }

.product-info { padding: 16px 18px 20px; }
.product-cat {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--gold);
}
.product-stars span { color: var(--gray-light); margin-right: 4px; font-size: 0.75rem; }
.product-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.product-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.products-cta { text-align: center; }

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute;
  top: 30px;
  left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-float i { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.about-badge-float span { font-size: 0.8rem; font-weight: 700; line-height: 1.4; }

.about-content .section-title { text-align: right; }
.about-content .section-tag { display: block; text-align: right; margin-bottom: 10px; }
.about-text { margin-bottom: 28px; }
.about-text p { color: var(--gray); margin-bottom: 14px; }
.about-text strong { color: var(--dark); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.about-feature p { font-size: 0.8rem; color: var(--gray); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--white); }
.testimonials-slider { overflow: visible; }
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; display: flex; gap: 4px; }
.testimonial-text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold-light);
  position: absolute;
  top: -20px;
  right: 0;
  line-height: 1;
  opacity: 0.4;
  font-family: serif;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author h5 { font-size: 0.95rem; font-weight: 700; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-light); }
.testimonials-pagination { margin-top: 30px !important; position: relative !important; bottom: auto !important; }
.testimonials-pagination .swiper-pagination-bullet-active { background: var(--gold) !important; }

/* =========================================
   GALLERY
   ========================================= */
.gallery { background: var(--cream); }
.instagram-handle { color: var(--gold-dark); font-weight: 600; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateX(-4px); }
.contact-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--gray); margin-bottom: 2px; }
.contact-card a, .contact-card p {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 500;
}
.contact-card a:hover { color: var(--gold-dark); }

.contact-social { margin-top: 8px; }
.contact-social h4 { font-size: 0.88rem; font-weight: 700; color: var(--gray); margin-bottom: 14px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { transform: translateY(-4px) scale(1.1); }
.social-link.facebook { background: #1877F2; }
.social-link.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); }
.social-link.whatsapp { background: #25D366; }

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--cream-dark);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--dark);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-top: 8px;
}
.form-note a { color: var(--gold-dark); font-weight: 600; }

.form-success {
  text-align: center;
  padding: 60px 20px;
  color: var(--dark);
}
.form-success i { font-size: 3rem; color: #27AE60; margin-bottom: 16px; display: block; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--gray); }

/* =========================================
   FOOTER
   ========================================= */
/* footer itself must have the dark bg so footer-bottom inherits it */
.footer { background: var(--dark); }
.footer-top {
  background: var(--dark);
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}
/* Prevent footer logo overflow — critical fix */
.footer-brand .footer-logo {
  display: block;
  max-width: 200px;
}
.footer-brand .footer-logo img {
  height: 60px !important;
  width: auto !important;
  max-width: 200px !important;
  max-height: 60px !important;
  object-fit: contain !important;
}
.footer-logo { opacity: 1; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '←';
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(4px);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  background: #0D0A07; /* slightly darker than var(--dark) = clear separation */
  border-top: 1px solid rgba(201,169,110,0.12); /* subtle gold line */
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-inner a {
  color: var(--gold-light);
  transition: color 0.2s;
}
.footer-bottom-inner a:hover { color: var(--white); }
.footer-bottom-inner .fa-heart { color: var(--rose); }

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 800;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: var(--transition);
}
.float-tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--dark);
  border-left: none;
}
.whatsapp-float:hover .float-tooltip { opacity: 1; transform: translateX(0); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 800;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); transform: translateY(-4px); }

/* =========================================
   NAV DRAWER ELEMENTS
   ========================================= */
.nav-close {
  display: none; /* shown only on mobile */
  position: absolute;
  top: 16px;
  left: 16px;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition);
  z-index: 10;
}
.nav-close:hover { background: var(--cream-dark); color: var(--dark); }
.nav-close i { font-size: 1rem; }

.nav-wa-cta {
  display: none; /* shown only on mobile */
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--cream-dark);
  margin-top: auto;
}
.nav-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
}
.nav-wa-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.nav-wa-btn i { font-size: 1.3rem; }
.nav-wa-cta p {
  font-size: 0.72rem;
  color: var(--gray-light);
  text-align: center;
}

/* =========================================
   LOGO IMAGE — hard constraints with !important
   to survive server caching & specificity issues
   ========================================= */
.logo-img {
  height: 52px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block;
  flex-shrink: 0;
}
/* Footer logo: white version on dark bg */
.footer-logo { overflow: hidden; display: block; }
.logo-img-footer {
  height: 58px !important;
  max-height: 58px !important;
  max-width: 200px !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.88 !important;
}

/* =========================================
   PRELOADER LOGO IMAGE
   ========================================= */
.preloader-logo-img {
  height: 90px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
  animation: pulse-logo 1.2s ease-in-out infinite alternate;
}
@keyframes pulse-logo {
  from { opacity: 0.7; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1);    }
}
.preloader-logo { margin-bottom: 16px; }

/* =========================================
   HEADER MOBILE WA BUTTON
   ========================================= */
.header-wa-mob {
  display: none;
  width: 40px;
  height: 40px;
  background: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.header-wa-mob:hover { transform: scale(1.1); }

/* =========================================
   MOBILE STICKY BOTTOM ACTION BAR
   ========================================= */
.mob-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 960;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mob-bar.hidden { transform: translateY(100%); }

.mob-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  padding: 8px 6px;
  border-radius: 12px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.mob-bar-btn i { font-size: 1.35rem; line-height: 1; }
.mob-bar-btn span { font-size: 0.65rem; font-weight: 600; line-height: 1; }

.mob-bar-call { color: var(--gold-dark); }
.mob-bar-call i { color: var(--gold); }
.mob-bar-call:hover { background: var(--cream); }

.mob-bar-whatsapp {
  flex: 2.2;
  flex-direction: row;
  gap: 9px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.mob-bar-whatsapp i { font-size: 1.5rem; }
.mob-bar-whatsapp span { font-size: 0.9rem; font-weight: 700; }
.mob-bar-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

.mob-bar-insta { color: #C13584; }
.mob-bar-insta i {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
}
.mob-bar-insta:hover { background: var(--cream); }

/* =========================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .header-cta { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card.large { grid-column: span 2; min-height: 360px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================
   RESPONSIVE — MOBILE (≤ 768px)
   ========================================= */
@media (max-width: 768px) {

  /* ---- Global ---- */
  .section { padding: 56px 0; }
  body { padding-bottom: 80px; }

  /* ---- Top Bar ---- */
  .top-bar { padding: 7px 0; }
  .top-bar-left { display: none; }
  .top-bar-marquee { display: none; }
  .top-bar-social { margin: 0 auto; gap: 18px; }
  .top-bar-social a { font-size: 1rem; }

  /* ---- Header ---- */
  .header-inner {
    height: 64px;
    gap: 0;
    position: relative;
    justify-content: space-between;
    padding: 0 4px;
  }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  /* Logo: perfectly centered in header — clipped hard */
  .header .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-height: 58px;
    height: 58px;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    pointer-events: auto;
    z-index: 2;
  }
  .logo-img {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
  }
  /* Footer logo on mobile: slightly smaller */
  .logo-img-footer {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 160px !important;
  }
  .footer-logo {
    position: static !important;
    transform: none !important;
    height: auto !important;
  }

  /* ---- Mobile Nav Drawer ---- */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100dvh;
    background: var(--white);
    z-index: 910;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
  }
  .nav.open { right: 0; }
  .nav-close { display: flex; }
  .nav-wa-cta { display: flex; }

  /* Nav header inside drawer */
  .nav::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 20px 20px;
  }
  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 15px 18px;
    width: 100%;
    border-radius: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .nav-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .nav-link:hover::before,
  .nav-link.active::before { opacity: 1; }
  .nav-link.active { background: var(--cream); color: var(--dark); }
  .nav-link.active::after { display: none; }
  .nav-link:hover { background: var(--cream); }

  /* Nav WA button at bottom of drawer */
  .nav-list::after {
    content: '';
    display: block;
    margin-top: 20px;
  }

  /* ---- Hero ---- */
  .hero { height: 100svh; min-height: 580px; max-height: 860px; }

  /* Bottom-anchor: content sticks to bottom above the sticky bar */
  .hero-slide { align-items: flex-end; }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(10,6,3,0.97) 0%,
      rgba(10,6,3,0.78) 28%,
      rgba(10,6,3,0.35) 52%,
      rgba(10,6,3,0.08) 78%,
      transparent       100%
    ) !important;
  }
  .hero-content {
    /* bottom padding = sticky bar height (76px) + breathing room (20px) */
    padding: 0 22px 96px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 7px 16px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.16;
    margin-bottom: 12px;
    text-align: center;
    align-items: center;
    gap: 0.2em;
  }
  .hero-title em {
    margin-top: 0;
    padding-bottom: 0.08em;
  }
  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: center;
    color: rgba(255,255,255,0.84);
    max-width: 320px;
  }
  /* On mobile: ONE primary button only — reduce decision fatigue */
  .hero-btns {
    width: 100%;
    max-width: 310px;
    justify-content: center;
  }
  .hero-btns .btn-outline-white { display: none; }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
  }
  .hero-next, .hero-prev { display: none !important; }
  .scroll-down { display: none; }

  /* ---- Stats Bar ---- */
  .stats-bar { padding: 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 18px 10px;
    gap: 10px;
    justify-content: center;
    text-align: center;
    flex-direction: row; /* icon + text side by side for compact look */
    align-items: center;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(3) { border-left: 1px solid rgba(255,255,255,0.07); }
  .stat-item > i { font-size: 1.4rem; flex-shrink: 0; }
  .stat-number { font-size: 1.5rem; }
  .stat-plus { font-size: 1.1rem; }
  .stat-item > div { text-align: right; }
  .stat-item p { font-size: 0.72rem; margin-top: 2px; }

  /* ---- Categories ---- */
  .categories { padding-top: 56px; }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .category-card.large {
    grid-column: span 2;
    min-height: unset;
    height: 240px;
  }
  .category-card { height: 190px; border-radius: 16px; }
  .cat-content { padding: 16px; }
  .cat-icon { width: 36px; height: 36px; font-size: 0.95rem; border-radius: 10px; margin-bottom: 8px; }
  .cat-content h3 { font-size: 0.98rem; margin-bottom: 4px; }
  .category-card.large .cat-content h3 { font-size: 1.2rem; }
  .cat-content p { display: none; }
  .cat-btn { opacity: 1; transform: none; font-size: 0.78rem; }

  /* ---- Offer Banner ---- */
  .offer-banner { padding: 60px 0; }
  .offer-banner-bg { background-attachment: scroll; }
  .offer-content h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .offer-content p { font-size: 0.88rem; margin-bottom: 24px; }

  /* ---- Products ---- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Keep every filter visible; hidden horizontal tabs are easy to miss on touch. */
  .filter-tabs {
    gap: 8px !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    justify-content: center !important;
    padding: 0 8px 8px;
  }
  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 15px;
    font-size: 0.82rem;
  }
  .product-info { padding: 12px 13px 15px; }
  .product-name { font-size: 0.85rem; line-height: 1.35; }
  .product-stars { font-size: 0.72rem; margin-bottom: 10px; }
  .product-order-btn { font-size: 0.78rem; padding: 9px 10px; border-radius: 8px; gap: 6px; }
  .product-actions { display: none !important; } /* hover not usable on touch */
  .products-cta { margin-top: 8px; }

  /* ---- About ---- */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-images {
    max-width: 100%;
    padding-bottom: 50px; /* space for floating image */
  }
  .about-img-main { aspect-ratio: 4/3; border-radius: 20px; }
  .about-img-float {
    width: 100px;
    height: 100px;
    left: 10px;
    bottom: 0; /* sits at bottom of padded area, no overflow */
    border-radius: 12px;
  }
  .about-badge-float { display: none; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-feature { padding: 12px 14px; }
  .about-feature h4 { font-size: 0.85rem; }
  .about-feature p { font-size: 0.75rem; }
  .about-content .section-title { font-size: 1.7rem; }

  /* ---- Testimonials ---- */
  .testimonial-card { padding: 24px 20px; }
  .testimonial-text { font-size: 0.88rem; line-height: 1.7; }

  /* ---- Gallery ---- */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .gallery-item { border-radius: 10px; }

  /* ---- Contact ---- */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  /* Contact info: 2-col grid of compact cards */
  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .contact-social { grid-column: span 2; }
  .contact-card { padding: 14px 16px; }
  .contact-card h4 { font-size: 0.8rem; }
  .contact-card a, .contact-card p { font-size: 0.85rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap {
    padding: 22px 16px 30px; /* extra bottom so last btn clears mob-bar */
    border-radius: 18px;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 14px;
    font-size: 1rem !important; /* prevents iOS auto-zoom */
    -webkit-text-size-adjust: 100%;
  }
  /* Submit button extra margin above mob-bar */
  .btn-full { margin-bottom: 6px; }

  /* ---- Footer ---- */
  .footer-top { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) { display: none; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-bottom {
    padding-bottom: calc(16px + 80px); /* 80px = mob-bar height so text isn't hidden */
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  /* ---- Floating Buttons ---- */
  .whatsapp-float { display: none !important; } /* replaced by mob-bar */
  .back-to-top {
    bottom: 100px;
    right: auto;
    left: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* ---- Section Header ---- */
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 0.9rem; }

  /* ---- Show mob-bar ---- */
  .mob-bar { display: flex; }
  body.nav-open .mob-bar { transform: translateY(110%); pointer-events: none; }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ========================================= */
@media (max-width: 480px) {
  .section { padding: 44px 0; }

  /* Hero */
  .hero-title { font-size: 1.8rem; line-height: 1.42; }
  .hero-desc { font-size: 0.82rem; max-width: 280px; }
  .hero-content { padding-bottom: 90px; }

  /* Stats: keep 2x2, just smaller */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 14px 8px; gap: 8px; }
  .stat-item > i { font-size: 1.2rem; }
  .stat-number { font-size: 1.3rem; }
  .stat-plus { font-size: 1rem; }
  .stat-item p { font-size: 0.68rem; }

  /* Categories: 2-col with adjusted heights */
  .categories-grid { gap: 8px; }
  .category-card { height: 155px; }
  .category-card.large { height: 200px; }
  .cat-content { padding: 12px; }
  .cat-content h3 { font-size: 0.9rem; }
  .cat-icon { width: 32px; height: 32px; font-size: 0.85rem; }

  /* Products: 2-col always */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-name { font-size: 0.8rem; }
  .product-stars { font-size: 0.68rem; }
  .product-order-btn { font-size: 0.72rem; padding: 8px 6px; }
  .product-info { padding: 10px 10px 12px; }

  /* About features: single column on very small screens */
  .about-features { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }

  /* Contact: cards single column */
  .contact-info { grid-template-columns: 1fr; }
  .contact-social { grid-column: 1; }

  /* Section titles */
  .section-title { font-size: 1.55rem; }
  .section-header { margin-bottom: 28px; }
}

/* =========================================
   2026 UX REFINEMENT
   Stable first paint, clearer hierarchy and accessible interactions
   ========================================= */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-slider,
.testimonials-slider { direction: ltr; }
.hero-slide,
.testimonial-card { direction: rtl; }

.hero-content {
  width: min(100%, 1240px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 52px;
}

.hero-title,
.hero-desc,
.hero-btns { max-width: 650px; }

.hero-overlay {
  background: linear-gradient(90deg, rgba(26,20,16,.14) 0%, rgba(26,20,16,.42) 48%, rgba(26,20,16,.88) 100%);
}

.product-card,
.category-card,
.contact-form-wrap,
.testimonial-card { box-shadow: 0 12px 36px rgba(47,32,24,.07); }

.product-card { border: 1px solid rgba(201,169,110,.18); }
.section-desc { max-width: 620px; margin-inline: auto; }

.filter-btn { min-height: 44px; }
.product-order-btn,
.cat-btn,
.btn { min-height: 46px; }

@media (max-width: 768px) {
  .hero { height: calc(100svh - 65px); min-height: 620px; }
  .hero-content { margin: 0; padding-inline: 22px; }
  .hero-title, .hero-desc, .hero-btns { max-width: 100%; }
  .hero-overlay {
    background: linear-gradient(to top, rgba(10,6,3,.97) 0%, rgba(10,6,3,.76) 31%, rgba(10,6,3,.2) 70%, transparent 100%);
  }
  .top-bar { display: none; }
  .header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
