/* ============================================
   PRODUCT SINGLE PAGE - IMAGE GALLERY FIX
   ============================================ */

/* Remove sticky behavior causing stretch */
.lg\:sticky {
  position: relative !important;
  top: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Image gallery container */
.product-images-gallery {
  position: relative;
  width: 100%;
}

/* Each image box */
.product-images-gallery .image-box {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background-color: var(--off-white);
  overflow: hidden;
  margin-bottom: 12px;
}

/* Each image */
.product-images-gallery .image-box img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 12px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
  display: block;
}

.product-images-gallery .image-box img:hover {
  transform: scale(1.02);
}

/* ══════════════════════════════════════════
   SIDEBAR STICKY FIX
   Prevents position jump when category changes
══════════════════════════════════════════ */

/* Desktop sidebar — locked in place, never moves */
aside.hidden.lg\:block {
  position: sticky;
  top: 80px; /* navbar height + small gap */
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  align-self: flex-start;
  /* Prevent any reflow jump */
  will-change: transform;
  transform: translateZ(0);
}

/* Sidebar inner — fixed height scroll */
.sidebar {
  position: relative;
  overflow: hidden;
  /* Fixed width prevents layout shift */
  width: 100%;
  min-width: 0;
}

.sidebar-body {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6ebfb transparent;
}

.sidebar-body::-webkit-scrollbar {
  width: 4px;
}
.sidebar-body::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-body::-webkit-scrollbar-thumb {
  background: #d6ebfb;
  border-radius: 4px;
}

/* Product area — prevent width shift when grid re-renders */
.flex-1.min-w-0 {
  min-width: 0;
  overflow: hidden;
  /* Anchor the right column so left sidebar never moves */
  align-self: flex-start;
}

/* Product grid — fixed column layout, no reflow */
#productGrid {
  /* Lock grid so adding/removing cards
     does not cause layout reflow */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  width: 100%;
  /* Prevent content shift */
  contain: layout style;
}

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

@media (min-width: 1280px) {
  #productGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* The outer flex container —
   prevent sidebar from moving when right side changes */
.flex.gap-8 {
  align-items: flex-start; /* KEY: not stretch */
  /* Prevent entire row from shifting */
  contain: layout;
}

/* ══════════════════════════════════════════
   ACTIVE BUTTON — no size change on click
   Prevents layout shift from bold text
   making buttons wider/taller
══════════════════════════════════════════ */

/* All sidebar buttons — fixed height, no reflow */
.all-btn,
.cat-all-btn,
.sub-btn {
  /* Pre-reserve space for bold text
     so switching active state never
     changes button height or width */
  min-height: 40px;
  /* Invisible bold text trick —
     bold text is wider, so reserve that space */
  display: flex;
  align-items: center;
  /* Prevent text from reflowing layout */
  contain: layout style;
}

/* Active state — only color changes, NO size change */
.all-btn.active,
.cat-all-btn.active,
.sub-btn.active {
  /* Only visual changes — no padding/margin/size change */
  background: var(--pale, #d6ebfb);
  color: var(--blue, #2e86de);
  border-color: var(--blue, #2e86de);
  /* Explicitly prevent any layout change */
  padding: inherit;
  margin: inherit;
}

/* Bold text inside buttons —
   use font-weight transition to avoid reflow */
.all-btn span,
.cat-all-btn span,
.sub-btn span {
  /* Reserve space for bold weight upfront */
  font-weight: 600;
  /* This tricks browser into reserving bold width */
  background: linear-gradient(to bottom, transparent 0%, transparent 100%);
}

/* When active, only color shifts — no reflow */
.all-btn.active > span:first-of-type,
.cat-all-btn.active > span:first-of-type,
.sub-btn.active > span:first-of-type {
  color: var(--blue, #2e86de);
}

/* ══════════════════════════════════════════
   PREVENT PAGE SCROLL JUMP ON CATEGORY CLICK
══════════════════════════════════════════ */

/* Product area wrapper — fixed min-height
   so when products load the page height
   doesn't collapse then expand */
#productGrid {
  min-height: 400px;
}

/* Empty state — same min-height so page
   doesn't jump when no products found */
.empty-state {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Skeleton cards — same height as real cards
   prevents jump from skeleton → real content */
.skeleton-card {
  min-height: 340px;
}

/* ══════════════════════════════════════════
   SCROLL POSITION FIX
   When category changes, page should NOT
   scroll to top — keep current scroll pos
══════════════════════════════════════════ */

/* Smooth scroll only for anchor links,
   not programmatic scroll changes */
html {
  scroll-behavior: auto; /* override scroll-smooth for JS changes */
}

/* Re-enable smooth scroll only for
   user-initiated hash navigation */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}
/* ══════════════════════════════════════════
   CONTACT PAGE FIXES
   Add to your style.css or inside <style> tag
══════════════════════════════════════════ */

/* ── 1. HERO — Make it compact ── */
.hero-section {
  padding: 44px 0 40px; /* reduced from 52px/48px */
}
@media (min-width: 768px) {
  .hero-section {
    padding: 52px 0 44px;
  }
}

/* Quick contact chips — smaller text so email fits */
.hero-section .rounded-2xl {
  padding: 12px 14px; /* tighter padding */
}
.hero-section .rounded-2xl .text-xs {
  font-size: 0.68rem; /* slightly smaller */
  word-break: break-all; /* prevents email overflow */
  overflow-wrap: break-word;
}

/* ── 2. EMAIL OVERFLOW FIX ── */
/* Prevent long email from breaking out of card */
.hero-section [class*="rounded-2xl"] div {
  min-width: 0; /* allows flex child to shrink */
  overflow: hidden;
}
.hero-section [class*="rounded-2xl"] .text-xs:last-child {
  font-size: 0.65rem;
  word-break: break-all;
  overflow-wrap: break-word;
  line-height: 1.4;
}

/* ── 3. CONSISTENT FONT SIZES ACROSS ALL PAGES ── */
/* These ensure every page uses the same text sizes */

/* Body text */
body {
  font-family: "Inter", sans-serif;
  font-size: 1rem; /* 16px base */
  line-height: 1.6;
  color: #1e293b;
}

/* All headings use Plus Jakarta Sans */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Heading sizes — same on every page */
h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  line-height: 1.2;
}
h3 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.3;
}

/* Paragraph text */
p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6c7a89;
}

/* Small/description text */
.text-sm {
  font-size: 0.875rem !important;
}
.text-xs {
  font-size: 0.78rem !important;
}

/* Section label pills — same everywhere */
.pill-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Section subtitle text — same everywhere */
.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: #6c7a89;
}

/* Card titles — same everywhere */
.info-card h3,
.feature-card h3,
.testimonial-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

/* Card body text — same everywhere */
.info-card p,
.feature-card p,
.testimonial-card p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: #6c7a89;
}

/* Nav links — same everywhere */
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* CTA button — same everywhere */
.nav-cta {
  font-size: 0.875rem;
  font-weight: 700;
}

/* Form labels — same everywhere */
.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Form inputs — same everywhere */
.form-input {
  font-size: 0.875rem;
  font-family: "Inter", sans-serif;
}

/* Footer text — same everywhere */
.footer-link {
  font-size: 0.875rem;
}

/* Footer headings — same everywhere */
footer h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── 4. HERO QUICK-CARDS RESPONSIVE FIX ── */
@media (max-width: 380px) {
  /* On very small screens, stack chips vertically */
  .hero-section .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 381px) and (max-width: 640px) {
  /* Reduce chip padding on small phones */
  .hero-section .rounded-2xl {
    padding: 10px 12px;
    gap: 8px;
  }
  .hero-section .rounded-2xl .text-xl {
    font-size: 1rem;
  }
}

/* ── 5. CONTACT INFO CARDS — consistent sizing ── */
.info-card {
  padding: 24px;
}
.info-icon {
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

/* ── 6. FAQ TEXT — consistent ── */
.faq-question {
  font-size: 0.9rem;
  font-weight: 700;
}
.faq-answer-inner {
  font-size: 0.84rem;
  line-height: 1.75;
}
/* ══════════════════════════════════════════════
   ARROWS — MAXIMUM LEFT & RIGHT POSITIONING
   ══════════════════════════════════════════════ */

/* Parent must allow overflow */
section.hero-texture {
  overflow: visible !important;
}

/* The relative container for arrows */
section.hero-texture .hero-wrap .max-w-7xl {
  position: relative !important;
}

.hero-arrow.heroPrev,
.hero-arrow.heroNext {
  position: absolute !important;
  top: 42% !important;
  transform: translateY(-50%) !important;
  z-index: 1000 !important;

  /* ── Bigger size ── */
  width: 60px !important; /* ← was 52px */
  height: 60px !important; /* ← was 52px */
  border-radius: 999px !important;

  background: #fff !important;
  border: 1px solid rgba(233, 236, 239, 0.95) !important;
  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  user-select: none !important;
  pointer-events: auto !important;

  /* ── Bigger arrow character ── */
  font-size: 1.8rem !important; /* ← was 1.5rem */
  font-weight: 300 !important;
  color: #0f172a !important;
  line-height: 1 !important;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
}

.hero-arrow.heroPrev:hover,
.hero-arrow.heroNext:hover {
  transform: translateY(-50%) scale(1.1) !important;
  border-color: rgba(60, 62, 130, 0.35) !important;
  background: #fafbff !important;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(60, 62, 130, 0.1) !important;
}

/* ── Default (small screens 768-1023) ── */
.hero-arrow.heroPrev {
  left: -16px !important;
}
.hero-arrow.heroNext {
  right: -16px !important;
}

/* ── 1024px+ : push outside content ── */
@media (min-width: 1024px) {
  .hero-arrow.heroPrev {
    left: -80px !important;
  }
  .hero-arrow.heroNext {
    right: -80px !important;
  }
}

/* ── 1280px+ : push further ── */
@media (min-width: 1280px) {
  .hero-arrow.heroPrev {
    left: -110px !important;
  }
  .hero-arrow.heroNext {
    right: -110px !important;
  }
}

/* ── 1536px+ : extreme edges ── */
@media (min-width: 1536px) {
  .hero-arrow.heroPrev {
    left: -140px !important;
  }
  .hero-arrow.heroNext {
    right: -140px !important;
  }
}

/* ── 1800px+ : ultra wide monitors ── */
@media (min-width: 1800px) {
  .hero-arrow.heroPrev {
    left: -170px !important;
  }
  .hero-arrow.heroNext {
    right: -170px !important;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-arrow.heroPrev,
  .hero-arrow.heroNext {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
  }

  .hero-arrow.heroPrev {
    left: 4px !important;
  }
  .hero-arrow.heroNext {
    right: 4px !important;
  }
}
/* ════════════════════════════════════════
   GLOBAL NAVBAR CSS
   Works for ALL pages
   Paste in style.css
   ════════════════════════════════════════ */

/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* Navbar base */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Nav links */
.nav-link {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
  color: #334155 !important;
  padding: 8px 4px !important;
  position: relative !important;
  text-decoration: none !important;
}

/* Underline effect */
.nav-link::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: #2563eb !important;
  border-radius: 2px !important;
  transition: width 0.3s ease !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100% !important;
}

/* Hover + Active color */
.nav-link:hover,
.nav-link.active {
  color: #2563eb !important;
}

/* CTA Button */
.nav-cta {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  padding: 11px 22px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #2e86de, #1f3a5f) !important;
  color: white !important;
  text-decoration: none !important;
}

/* Desktop nav push right */
@media (min-width: 768px) {
  #navbar .max-w-7xl > div {
    justify-content: flex-start !important;
    min-height: 74px !important;
  }

  #navbar nav {
    margin-left: auto !important;
    margin-right: 20px !important;
    gap: 30px !important;
    transform: translateX(14px) !important;
  }

  #navbar .nav-cta {
    margin-left: 30px !important;
  }
}

/* Mobile menu */
#mobileMenu a {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
}

/* ✅ LOCK NAVBAR HEIGHT — prevents jump */
header#navbar {
  height: 74px !important;
}

header#navbar > div {
  height: 100% !important;
}

@media (max-width: 767px) {
  header#navbar {
    height: 68px !important;
  }
}
/* CORRECT version in style.css */
@media (min-width: 768px) {
  header#navbar {
    height: 74px;
  }
  header#navbar nav {
    margin-left: auto;
    margin-right: 24px;
    gap: 30px;
    transform: none; /* no transform — use margin only */
  }
}
/* ══════════════════════════════════════════════════
   FORCED NAVBAR TEXT MAGNIFIER (Apply to All Pages)
   ══════════════════════════════════════════════════ */

/* 1. Force the container height first so it can fit larger text */
header#navbar,
.navbar {
  height: 80px !important; /* Increased from 74px to handle larger text */
}

/* 2. FORCED Nav Link Size (Home, Products, etc.) */
header#navbar nav a.nav-link,
header#navbar nav a,
.nav-link {
  font-size: 1.05rem !important; /* Makes text visibly larger */
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 10px 5px !important;
  display: inline-block !important;
}

/* 3. FORCED CTA Button Size (Get in Touch) */
header#navbar a.nav-cta,
.nav-cta {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  padding: 13px 26px !important; /* Larger padding for a bigger button */
  border-radius: 14px !important;
  line-height: 1 !important;
}

/* 4. FORCED Logo size increase to match */
header#navbar img {
  height: 42px !important;
  width: auto !important;
}

/* 5. Desktop Positioning (Ensure right alignment remains) */
@media (min-width: 768px) {
  header#navbar .max-w-7xl > div {
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
  }
  header#navbar nav {
    margin-left: auto !important;
    margin-right: 30px !important;
    gap: 35px !important; /* More space between larger links */
  }
}

/* 6. FORCED Mobile Menu Text size */
#mobileMenu a,
.mobile-nav-link {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  padding: 16px !important;
}

/* =============================================
   LOGO STYLING - FIXED VERSION
   ============================================= */

/* ── NAVBAR LOGO ── */
.navbar-logo-link {
  display: inline-block !important;
  flex-shrink: 0 !important;
  height: 50px !important;
  width: auto !important;
  max-width: 200px !important;
  overflow: hidden !important;
}

.navbar-logo-img {
  height: 50px !important;
  width: auto !important;
  max-width: 200px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.navbar-logo-link:hover .navbar-logo-img {
  transform: scale(1.05);
}

/* When navbar is scrolled */
.navbar.scrolled .navbar-logo-link,
.navbar.scrolled .navbar-logo-img {
  height: 42px !important;
  max-height: 42px !important;
}

/* ── FOOTER LOGO ── */
.footer-logo-img {
  height: 55px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 55px !important;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 20px !important;
  opacity: 0.95;
}

.footer-logo-img:hover {
  opacity: 1;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .navbar-logo-link,
  .navbar-logo-img {
    height: 45px !important;
    max-height: 45px !important;
    max-width: 180px !important;
  }

  .footer-logo-img {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 200px !important;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .navbar-logo-link,
  .navbar-logo-img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 150px !important;
  }

  .navbar.scrolled .navbar-logo-link,
  .navbar.scrolled .navbar-logo-img {
    height: 36px !important;
    max-height: 36px !important;
  }

  .footer-logo-img {
    height: 45px !important;
    max-height: 45px !important;
    max-width: 170px !important;
  }
}

/* ── SMALL MOBILE ── */
@media (max-width: 480px) {
  .navbar-logo-link,
  .navbar-logo-img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 130px !important;
  }
}

/* ════════════════════════════════════════
   NAVBAR + LOGO - PROPER ALIGNMENT FIX
═══════════════════════════════════════════ */

/* Reset */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Navbar - white background, fixed top */
header.navbar,
header#navbar {
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  position: fixed !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Inner row - flex layout */
header#navbar .max-w-7xl > div:first-child,
header#navbar .max-w-7xl > div.flex.items-center.justify-between {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 110px !important;
  min-height: 110px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  gap: 16px !important;
}

/* Body padding for fixed navbar */
body {
  padding-top: 110px !important;
  margin: 0 !important;
}

/* ════════════════════════════════════════
   LOGO LINK (Container)
═══════════════════════════════════════════ */

header a.navbar-logo-link,
header a[aria-label*="Kakamari"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-shrink: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
}

/* ════════════════════════════════════════
   LOGO IMAGE - PROPER SIZE
═══════════════════════════════════════════ */

header img[src*="kakamari"] {
  height: 90px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 90px !important;
  min-height: 90px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
}

/* ════════════════════════════════════════
   FOOTER LOGO
═══════════════════════════════════════════ */

footer img[src*="kakamari"] {
  height: 100px !important;
  width: auto !important;
  max-width: 240px !important;
  min-height: 100px !important;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 20px !important;
}

/* ════════════════════════════════════════
   MOBILE
═══════════════════════════════════════════ */

@media (max-width: 768px) {
  header#navbar .max-w-7xl > div:first-child,
  header#navbar .max-w-7xl > div.flex.items-center.justify-between {
    height: 80px !important;
    min-height: 80px !important;
  }

  body {
    padding-top: 80px !important;
  }

  header img[src*="kakamari"] {
    height: 65px !important;
    min-height: 65px !important;
    max-width: 170px !important;
  }

  footer img[src*="kakamari"] {
    height: 75px !important;
    min-height: 75px !important;
    max-width: 200px !important;
  }
}

/* ════════════════════════════════════════
   REMOVE ANY ODD BACKGROUND ON LOGO
═══════════════════════════════════════════ */

header .navbar-logo-link,
header .navbar-logo-link *,
header a[aria-label*="Kakamari"],
header a[aria-label*="Kakamari"] * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* ══════════════════════════════════════════════════
     DESKTOP NAVBAR - LOGO FIX WHILE SCROLLING
     Ensures logo doesn't get cut on desktop
     ══════════════════════════════════════════════════ */

/* DESKTOP (769px and above) - Reset logo size */
@media only screen and (min-width: 769px) {
  /* Normal navbar height on desktop */
  html body header.navbar,
  html body header#navbar {
    background: #ffffff !important;
    transition: all 0.3s ease !important;
  }

  html body header#navbar .h-16,
  html body header.navbar .h-16,
  html body header#navbar .h-20,
  html body header.navbar .h-20,
  html body header#navbar > div > div.flex {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    overflow: visible !important;
    align-items: center !important;
  }

  /* Desktop logo - smaller, proportional */
  html body header img.navbar-logo-img,
  html body .navbar-logo-img,
  html body a.navbar-logo-link img {
    width: auto !important;
    max-width: 140px !important;
    min-width: 0 !important;
    height: 60px !important;
    max-height: 60px !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* SCROLLED NAVBAR - keep logo visible (slightly smaller) */
  html body header.navbar.scrolled,
  html body header#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }

  html body header.navbar.scrolled .h-16,
  html body header.navbar.scrolled .h-20,
  html body header#navbar.scrolled .h-16,
  html body header#navbar.scrolled .h-20,
  html body header#navbar.scrolled > div > div.flex {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Scrolled logo - slightly smaller but visible */
  html body header.navbar.scrolled img.navbar-logo-img,
  html body header#navbar.scrolled img.navbar-logo-img,
  html body header.navbar.scrolled .navbar-logo-img,
  html body header#navbar.scrolled .navbar-logo-img {
    height: 55px !important;
    max-height: 55px !important;
    min-height: 0 !important;
    max-width: 130px !important;
  }
}

/* ══════════════════════════════════════════════════
     MOBILE (768px and below) - Big logo as before
     ══════════════════════════════════════════════════ */
@media only screen and (max-width: 768px) {
  html body header.navbar,
  html body header#navbar {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body header.navbar > div,
  html body header#navbar > div {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  html body header#navbar .h-16,
  html body header.navbar .h-16,
  html body header#navbar .h-20,
  html body header.navbar .h-20,
  html body header#navbar > div > div.flex {
    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;
    padding: 0 !important;
    align-items: center !important;
    overflow: visible !important;
  }

  html body header img.navbar-logo-img,
  html body .navbar-logo-img,
  html body a.navbar-logo-link img {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    height: 95px !important;
    max-height: 95px !important;
    min-height: 95px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Mobile scrolled - keep same */
  html body header.navbar.scrolled .h-16,
  html body header.navbar.scrolled .h-20,
  html body header#navbar.scrolled > div > div.flex {
    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;
  }

  html body header.navbar.scrolled img.navbar-logo-img,
  html body header#navbar.scrolled img.navbar-logo-img {
    height: 95px !important;
    max-height: 95px !important;
    min-height: 95px !important;
  }
}

@media only screen and (max-width: 480px) {
  html body header#navbar .h-16,
  html body header.navbar .h-16,
  html body header#navbar > div > div.flex {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
  }

  html body header img.navbar-logo-img,
  html body .navbar-logo-img {
    width: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
    height: 80px !important;
    max-height: 80px !important;
    min-height: 80px !important;
  }
}

/* ══════════════════════════════════════════════════
   🌐 UNIVERSAL NAVBAR LOGO - SAME SIZE ON ALL PAGES
   Place in shared style.css - works on every page
   ══════════════════════════════════════════════════ */

/* ═══ DESKTOP (≥769px) - SAME for ALL pages ═══ */
@media only screen and (min-width: 769px) {
  /* Navbar container - matches ALL HTML structures */
  html body header#navbar .h-16,
  html body header#navbar .h-20,
  html body header#navbar .navbar-inner,
  html body header.navbar .h-16,
  html body header.navbar .h-20,
  html body header.navbar .navbar-inner,
  html body header#navbar > div > div.flex {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    padding: 10px 0 !important;
    align-items: center !important;
    overflow: visible !important;
  }

  /* LOGO - SAME size on all pages (60×140) */
  html body header#navbar img,
  html body header#navbar img.navbar-logo-img,
  html body header.navbar img,
  html body header.navbar img.navbar-logo-img,
  html body header img.navbar-logo-img,
  html body .navbar-logo-img,
  html body a.navbar-logo-link img {
    width: auto !important;
    height: 60px !important;
    max-height: 60px !important;
    min-height: 60px !important;
    max-width: 140px !important;
    min-width: 0 !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  /* Logo link container */
  html body header a.navbar-logo-link,
  html body a.navbar-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  /* SCROLLED state - same size on all pages (55×130) */
  html body header.navbar.scrolled .h-16,
  html body header.navbar.scrolled .h-20,
  html body header.navbar.scrolled .navbar-inner,
  html body header#navbar.scrolled .h-16,
  html body header#navbar.scrolled .h-20,
  html body header#navbar.scrolled .navbar-inner,
  html body header#navbar.scrolled > div > div.flex {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }

  html body header.navbar.scrolled img,
  html body header.navbar.scrolled img.navbar-logo-img,
  html body header#navbar.scrolled img,
  html body header#navbar.scrolled img.navbar-logo-img,
  html body header.navbar.scrolled .navbar-logo-img {
    height: 55px !important;
    max-height: 55px !important;
    min-height: 55px !important;
    max-width: 130px !important;
  }
}
