/* ═══════════════════════════════════════════════════════════════════════════════
   AhvazShad — Premium RTL Design System
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Font Face ───────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ───────────────────────────────────────────────────────────────── */
:root {
  --navy:        #1A2A3A;
  --navy-light:  #223344;
  --navy-dark:   #111e2a;
  --orange:      #E85D2C;
  --orange-dark: #c94a20;
  --orange-glow: rgba(232, 93, 44, 0.35);
  --gold:        #F4B41A;
  --gold-dark:   #d49a10;
  --white:       #FFFFFF;
  --cream:       #F8F5F0;
  --cream-dark:  #f0ebe3;
  --text:        #1A2A3A;
  --text-muted:  #5a6a7a;
  --text-light:  #8a9aaa;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;

  --shadow-sm:   0 1px 4px rgba(26,42,58,0.06);
  --shadow:      0 4px 20px rgba(26,42,58,0.09);
  --shadow-md:   0 8px 32px rgba(26,42,58,0.13);
  --shadow-lg:   0 16px 48px rgba(26,42,58,0.18);
  --shadow-xl:   0 24px 64px rgba(26,42,58,0.22);
  --shadow-orange: 0 6px 20px rgba(232,93,44,0.38);
  --shadow-gold:   0 4px 16px rgba(244,180,26,0.35);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 94px;
  --container: 1280px;
  --section-py: 88px;
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* ── Container ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Sections ────────────────────────────────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy);  color: var(--white); }
.section--white { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,93,44,0.10);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.section-navy .section-tag {
  background: rgba(244,180,26,0.15);
  color: var(--gold);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section--navy .section-title { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
}
.section--navy .section-desc { color: rgba(255,255,255,0.7); }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,93,44,0.48);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--ghost:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }
.btn--lg { padding: 15px 36px; font-size: 1rem; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}
.badge--gold    { background: var(--gold);   color: var(--navy); }
.badge--orange  { background: var(--orange); color: var(--white); }
.badge--navy    { background: var(--navy);   color: var(--white); }
.badge--cream   { background: var(--cream);  color: var(--text); }
.badge--green   { background: #d1fae5;       color: #065f46; }
.badge--outline { background: transparent; border: 1.5px solid var(--border-dark); color: var(--text-muted); }

/* ── Stars ───────────────────────────────────────────────────────────────────── */
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { fill: var(--gold); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; inset-inline: 0; border-radius: 0; /* ivos-qa32b: header edge-to-edge, only inner content padded */
  height: var(--header-h);
  background: var(--navy);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo__icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff7a45 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(232,93,44,0.4);
  flex-shrink: 0;
}
.header-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header-logo__fa  { font-size: 1rem; font-weight: 900; color: var(--white); }
.header-logo__lat { font-size: 0.65rem; font-weight: 500; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; inset-inline: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.header-icon-btn:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.cart-badge {
  position: absolute;
  top: -4px; left: -4px;
  min-width: 18px; height: 18px;
  background: var(--orange);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}
.header-cta {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}
.header-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
}
.header-phone:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: white;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100dvh;
  background: var(--navy);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.mobile-overlay.open { opacity: 1; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-close:hover { background: rgba(255,255,255,0.2); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.mobile-nav-link.active {
  background: var(--orange);
  color: var(--white);
}
.mobile-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-block: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: min(90vh, 700px);
  min-height: 500px;
  display: flex;
  align-items: center;
  margin-top: calc(var(--header-h) + 12px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  transform-origin: center;
  animation: heroScale 12s ease-in-out infinite alternate;
}
@keyframes heroScale {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(26,42,58,0.72) 0%,
    rgba(26,42,58,0.45) 50%,
    rgba(26,42,58,0.20) 100%
  );
}
.hero__overlay-bottom {
  position: absolute;
  bottom: 0; inset-inline: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(26,42,58,0.6) 0%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232,93,44,0.25);
  border: 1px solid rgba(232,93,44,0.5);
  color: #ffa07a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--white);
  box-shadow: 0 -4px 0 0 var(--orange), var(--shadow-md);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%; bottom: 25%;
  inset-inline-end: 0;
  width: 1px;
  background: var(--border);
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,93,44,0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 12px;
}
.stat-number {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  direction: ltr;
  unicode-bidi: bidi-override;
}
.stat-number .stat-suffix {
  font-size: 0.8em;
  color: var(--orange);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOUR CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tour-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.tour-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tour-card:hover .tour-card__img { transform: scale(1.06); }

.tour-card__ribbon {
  position: absolute;
  top: 16px;
  inset-inline-end: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px 4px 16px;
  border-radius: 4px 0 0 4px;
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 4px;
}
.tour-card__ribbon::before {
  content: '';
  position: absolute;
  bottom: -6px; inset-inline-end: 0;
  border-width: 6px 8px 0 0;
  border-style: solid;
  border-color: var(--gold-dark) transparent transparent transparent;
}
.tour-card__cat {
  position: absolute;
  top: 16px;
  inset-inline-start: 12px;
}
.tour-card__nights {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: rgba(26,42,58,0.8);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}
.tour-card__body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-card__title {
  font-size: 0.975rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.tour-card__meta {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tour-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tour-card__pricing {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tour-card__price-wrap {}
.tour-card__orig {
  font-size: 0.72rem;
  color: var(--text-light);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}
.tour-card__price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
}
.tour-card__price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LAST MINUTE SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.lm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lm-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.lm-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(232,93,44,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(232,93,44,0.3);
}
.lm-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.lm-card__img { width: 100%; height: 100%; object-fit: cover; }
.lm-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,42,58,0.75) 0%, transparent 60%);
}
.lm-card__timer {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-orange);
  animation: timerPulse 1.5s ease-in-out infinite;
}
@keyframes timerPulse {
  0%, 100% { box-shadow: var(--shadow-orange); }
  50%       { box-shadow: 0 0 18px rgba(232,93,44,0.7), var(--shadow-orange); }
}
.lm-card__discount {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.lm-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lm-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.lm-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lm-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.lm-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lm-card__price { font-size: 1.05rem; font-weight: 900; color: var(--gold); }
.lm-countdown {
  display: flex;
  gap: 6px;
  align-items: center;
  direction: ltr;
}
.lm-countdown__seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 36px;
}
.lm-countdown__num {
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.lm-countdown__lbl {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}
.lm-countdown__sep { color: var(--orange); font-weight: 900; margin-top: -8px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   VILLA CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.villa-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.villa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.villa-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.villa-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.villa-card:hover .villa-card__img { transform: scale(1.07); }
.villa-card__location {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: rgba(26,42,58,0.8);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}
.villa-card__body { padding: 20px; }
.villa-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.villa-card__features {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.villa-card__feat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.villa-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.villa-card__price-wrap {}
.villa-card__per { font-size: 0.7rem; color: var(--text-muted); }
.villa-card__price { font-size: 1.05rem; font-weight: 900; color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════════════════════
   GALLERY MOSAIC
   ═══════════════════════════════════════════════════════════════════════════════ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.gm-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gm-item:hover .gm-overlay { opacity: 1; }
.gm-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; } /* QA#33 stretch to fill 2x2, align with small items */
.gm-item:nth-child(2) { aspect-ratio: 16/10; }
.gm-item:nth-child(3) { aspect-ratio: 16/10; }
.gm-item:nth-child(4) { aspect-ratio: 16/10; }
.gm-item:nth-child(5) { aspect-ratio: 16/10; }
.gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gm-item:hover img { transform: scale(1.06); }
.gm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,42,58,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
}
.gm-overlay-inner {
  text-align: center;
  padding: 16px;
}
.gm-overlay-inner p {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════════ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  inset-inline-end: 24px;
  font-size: 4rem;
  color: var(--orange);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.testi-stars { margin-bottom: 12px; }
.testi-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testi-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES / WHY US
   ═══════════════════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(232,93,44,0.25);
}
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(232,93,44,0.12), rgba(244,180,26,0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 16px;
  color: var(--orange);
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--orange); color: white; }
.feature-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════════
   TRUST BADGES
   ═══════════════════════════════════════════════════════════════════════════════ */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 40px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.trust-badge:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.trust-badge__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.trust-badge__icon--enamad { background: #1b7240; color: white; }
.trust-badge__icon--saman  { background: #1a4f8a; color: white; }
.trust-badge__text { }
.trust-badge__title { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.trust-badge__sub   { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.trust-divider      { width: 1px; height: 48px; background: var(--border); }

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
  padding-bottom: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-col {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-logo__icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--orange), #ff7a45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.footer-logo__fa  { font-size: 1.1rem; font-weight: 900; color: var(--white); }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 28px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-link:hover { color: var(--white); padding-inline-start: 4px; }
.footer-link::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; color: var(--orange); }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--white); }
.footer-phone-ltr { direction: ltr; unicode-bidi: isolate; }

.footer-bottom {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-ivp {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-header {
  background: var(--navy);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(232,93,44,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.page-header__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header__breadcrumb a:hover { color: white; }
.page-header__breadcrumb span { color: var(--gold); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  direction: rtl;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,44,0.15);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 110px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════════════════
   MISC UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.fw-black    { font-weight: 900; }
.fw-bold     { font-weight: 700; }
.gap-4       { gap: 4px; }
.mt-auto     { margin-top: auto; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

/* Notification banner */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.flash--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.flash--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash--info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* Stub / coming-soon */
.stub-wrap {
  text-align: center;
  padding-block: 80px;
}
.stub-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(232,93,44,0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 20px;
}
.stub-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.stub-desc  { font-size: 0.9rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tours-grid    { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .header-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .lm-grid     { grid-template-columns: 1fr; }
  .villas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr); /* QA#33 tablet: uniform 2-col, no left gap */
  }
  .gm-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16/10; }
  .testimonials-track { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-py: 48px; --header-h: 64px; }
  .container { padding-inline: 16px; }
  .hero { height: min(85vh, 580px); }
  .hero__title  { font-size: 1.5rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 10px 20px; font-size: 0.875rem; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .stat-item   { padding: 24px 14px; }
  .tours-grid  { grid-template-columns: 1fr; }
  .lm-grid     { grid-template-columns: 1fr; }
  .villas-grid { grid-template-columns: 1fr; }
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  .gm-item:nth-child(1) { grid-column: 1 / 3; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card { padding: 20px 14px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-row { gap: 16px; }
  .section-header { margin-bottom: 36px; }
}

/* ── Two-col responsive grids used in page content ───────────────────────────── */
@media (max-width: 768px) {
  /* About strip, tour-detail, villa-detail, contact, account */
  .detail-grid,
  .about-grid,
  .contact-grid,
  .account-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-grid .sticky-col { position: static !important; }
}

/* ── 390px safety ─────────────────────────────────────────────────────────────── */
@media (max-width: 390px) {
  body { min-width: 320px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--lg { padding: 12px 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .tour-card__pricing { flex-direction: column; align-items: flex-start; gap: 10px; }
  .header-cta span { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FILTER TABS (shop / tours page)
   ═══════════════════════════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-dark);
  background: var(--white);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,93,44,0.05);
}
.filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255,255,255,0.25);
  color: inherit;
}
.filter-tab:not(.active) .filter-count {
  background: rgba(26,42,58,0.08);
  color: var(--text-muted);
}
.tour-card[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PHOTO GALLERY (detail pages)
   ═══════════════════════════════════════════════════════════════════════════════ */
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 12px;
  position: relative;
  background: var(--cream-dark);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.gallery-thumb:hover { border-color: var(--orange); }
.gallery-thumb.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(232,93,44,0.3); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════════════════
   QUANTITY / NIGHTS CONTROL
   ═══════════════════════════════════════════════════════════════════════════════ */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border: none;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--orange); color: white; }
.qty-input {
  width: 56px;
  height: 40px;
  border: none;
  border-inline: 1.5px solid var(--border-dark);
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: white;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; border-color: var(--orange); }

/* ─── Order list in account page ─────────────────────────────────────────────── */
.order-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.order-row:last-child { border-bottom: none; }
.order-num { font-weight: 800; color: var(--navy); min-width: 60px; }
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.order-status--pending   { background: #fef3c7; color: #92400e; }
.order-status--paid      { background: #d1fae5; color: #065f46; }
.order-status--cancelled { background: #fee2e2; color: #991b1b; }

@media (max-width: 640px) {
  .gallery-strip { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .filter-tabs   { gap: 6px; }
  .filter-tab    { padding: 7px 14px; font-size: 0.8rem; }
}

/* QA#37 mobile grid overflow — grid items must be able to shrink below content min-width, cap stat number */
@media (max-width:640px){
  .stats-grid > *, .features-grid > *, .stat-item, .feature-card{ min-width:0 !important; overflow-wrap:anywhere; }
  .stat-number{ font-size:1.35rem !important; }
  .stat-item{ padding:20px 10px !important; }
}

/* QA#37b viewport constrain */
@media (max-width:640px){
  html, body{ max-width:100%; overflow-x:hidden; }
  .stats-bar{ overflow:hidden; }
  .stats-grid, .features-grid{ grid-template-columns:1fr 1fr !important; box-sizing:border-box; max-width:100%; }
  .stats-grid > *, .features-grid > *{ min-width:0 !important; box-sizing:border-box; }
}

/* header padding fit — header-inner has no container padding → logo was flush/cut at the viewport edge */
.header-inner{ padding-inline:16px; padding-block:14px; box-sizing:border-box; }
@media (max-width:640px){ .header-inner{ padding-inline:14px; gap:10px; } .header-logo{ min-width:0; } .header-logo__text{ min-width:0; } .header-actions{ min-width:0; } }

/* header cta icon-only fit — CTA text was still showing at 390 → header overflowed; force icon-only on mobile */
@media (max-width:640px){ .header-cta span{ display:none !important; } .header-cta{ padding:9px !important; gap:0 !important; } }

/* QA#37c equal box heights + aligned rows on mobile — grid-auto-rows:1fr equalizes both rows, drop stray divider */
@media (max-width:640px){
  .stats-grid, .features-grid{ grid-auto-rows:1fr; }
  .stats-grid > *, .features-grid > *{ height:100%; box-sizing:border-box; }
  .stat-item::after{ display:none; }
}

/* ivos-qa33b: premium gallery — featured 65% / small 35%, 24px gap, 16px radius, subtle shadow + hover */
@media (min-width:1025px){ .gallery-mosaic{ grid-template-columns:1fr 1fr 1.35fr 1.35fr; gap:12px; } }
.gm-item{ border-radius:16px; box-shadow:0 8px 24px rgba(0,0,0,.08); transition:transform .3s ease, box-shadow .3s ease; }
.gm-item:hover{ transform:scale(1.02) translateY(-4px); box-shadow:0 14px 32px rgba(0,0,0,.13); }

/* ivos-qa80: cart stacks on mobile so the checkout summary/button shows */
@media(max-width:768px){ .cart-layout{ grid-template-columns:1fr !important; } }

/* ivos-qa79: footer links 2-col on mobile to cut height */
@media(max-width:768px){ .footer-links{ display:grid !important; grid-template-columns:1fr 1fr; gap:8px 18px; } }

/* ivos-qa32c: header inner vertically centered (drop asymmetric padding-block) */
.site-header .header-inner{ padding-block:0 !important; align-items:center !important; }

/* ivos-qa32d: TRUE vertical center — .header-inner height:100% resolved against .container (auto height) => ignored, content stuck to top. Make .site-header itself flex-center the container. */
.site-header{ display:flex; align-items:center; }
.site-header > .container{ width:100%; }
.site-header .header-inner{ height:auto !important; }
