/* Original Titanium navigation and WhatsApp only.
   The expanded site's visual system remains in styles.css and experience.css. */
:root { --header-height: 84px; }
/* The original white navigation, with the expanded catalog kept intact. */
.site-header { background: #fff; color: #121611; border-bottom: 1px solid #e2e9e0; backdrop-filter: none; box-shadow: 0 2px 12px rgb(6 45 35 / .025); }
.site-header .header-inner { height: var(--header-height); gap: 20px; }
.site-header .brand img { width: 132px; height: auto; filter: brightness(0); }
.site-header .brand { transition: opacity 180ms ease; }
.site-header .brand:hover { opacity: .72; }
.site-header .main-nav { color: #121611; gap: 15px; }
.site-header .nav-links { gap: 11px; }
.site-header .nav-link { min-height: 42px; gap: 6px; padding: 10px 6px; border-radius: 9px; color: #3e5041; font-size: 12px; font-weight: 550; line-height: 1.5; letter-spacing: -.005em; }
.site-header .nav-link > .icon { width: 15px; height: 15px; flex-shrink: 0; color: #688166; }
.site-header .products-menu > summary { justify-content: flex-start; }
.site-header .products-menu > summary > .icon:last-child { margin-left: auto; }
.site-header .nav-link:hover { background: #f0f5ec; color: #075330; }
.site-header .nav-link:hover > .icon { color: #096b34; }
.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"],
.site-header .products-menu[open] > summary { background: #eaf3e3; color: #174d2c; text-decoration: none; }
.site-header .mega-menu { background: #fff; color: #121611; border-color: #e1e9dc; box-shadow: 0 24px 60px rgb(4 30 24 / .16), 0 2px 8px rgb(4 30 24 / .03); }
.site-header .mega-heading h2 { color: #121611; }
.site-header .mega-items a:hover { background: #f0f5ec; }
.site-header .mega-items .icon-box { border: 1px solid #dce7d6; border-radius: 12px; background: #fff; color: #096b34; }
.site-header .mega-items strong { color: #121611; }
.site-header .mega-items small { color: #4E554F; }
.site-header .mega-all { color: #096b34; }
.site-header .menu-toggle { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; padding: 0; justify-content: center; gap: 0; border: 1px solid #dbe5d7; border-radius: 50%; background: #fff; color: #121611; }
.site-header .menu-toggle > span { display: none; }
.site-header .menu-toggle > .icon { width: 20px; height: 20px; }
.site-header .menu-toggle:hover { background: #eef5e9; border-color: #adc7a0; }
.site-header .menu-toggle[aria-expanded="true"] { background: #062d23; border-color: #062d23; color: #fff; }
.site-header .mobile-contact { display: none; }

.site-header .nav-actions { gap: 9px; }
.site-header .nav-actions .btn { min-height: 46px; padding: 8px 9px 8px 14px; gap: 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.site-header .nav-actions .btn-primary,
.site-header [data-catalog-link] { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #0a7540, #064f2e); border-color: #086236; color: #fff; box-shadow: 0 4px 14px rgb(6 79 46 / .2), inset 0 1px 0 rgb(255 255 255 / .12); }
.site-header .nav-actions .btn-primary:hover,
.site-header [data-catalog-link]:hover { background: linear-gradient(120deg, #0b6b3a, #043d25); border-color: #07532d; color: #fff; box-shadow: 0 7px 18px rgb(6 79 46 / .26), inset 0 1px 0 rgb(255 255 255 / .12); }
.site-header .nav-actions .btn-primary::after { background: linear-gradient(105deg, transparent, rgb(255 255 255 / .08), transparent); }
.site-header [data-catalog-link] { padding: 8px 12px; gap: 7px; font-weight: 650; }
.site-header .nav-actions .btn-outline { background: #fff; color: #096b34; border-color: #096b34; }
.site-header .nav-actions .btn-outline:hover { background: #eef4eb; color: #062d23; border-color: #062d23; }
/* Original WhatsApp treatment: green, white symbol, a restrained surrounding ring. */
.whatsapp-float { z-index: 25; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: 60px; height: 60px; min-width: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0; border: 1px solid rgb(230 255 223 / .2); border-radius: 999px; background: #0f6f47; color: #fff; box-shadow: 0 7px 24px rgb(3 35 24 / .2), 0 2px 5px rgb(3 35 24 / .12); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.whatsapp-float > .icon { width: 32px; height: 32px; flex: 0 0 32px; }
.whatsapp-float::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgb(113 190 128 / .62); border-radius: inherit; opacity: 0; pointer-events: none; animation: titanium-brand-whatsapp-ring 1.7s ease-out 1.2s 3; }
.whatsapp-float > span { display: none; position: static; padding: 0; background: transparent; border-radius: 0; opacity: 1; transform: none; transition: none; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.whatsapp-float:hover { background: #095b39; transform: translateY(-3px); box-shadow: 0 10px 28px rgb(3 35 24 / .24); }
.whatsapp-float:focus-visible { outline: 3px solid #bde7aa; outline-offset: 4px; }
body.menu-open .whatsapp-float,
body.dialog-open .whatsapp-float,
body.modal-open .whatsapp-float,
body.is-editing .whatsapp-float { visibility: hidden; }
@keyframes titanium-brand-whatsapp-ring { 0% { opacity: .6; transform: scale(.98); } 100% { opacity: 0; transform: scale(1.23); } }

@media (min-width: 1024px) {
  .whatsapp-float { width: auto; min-width: 226px; padding: 0 22px 0 17px; right: 28px; bottom: max(28px, env(safe-area-inset-bottom)); }
  .whatsapp-float > span { display: block; }
}
@media (min-width: 1100px) and (max-width: 1250px) {
  .site-header .header-inner { gap: 14px; }
  .site-header .main-nav { gap: 10px; }
  .site-header .nav-links { gap: 4px; }
  .site-header .nav-link { padding-inline: 5px; gap: 5px; font-size: 12px; }
  .site-header .nav-actions .btn { padding-inline: 10px; }
}
@media (max-width: 1099px) {
  :root { --header-height: 76px; }
  .site-header .header-inner { gap: 12px; }
  .site-header .brand { margin-right: auto; }
  .site-header .mobile-contact { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; min-height: 42px; border: 1px solid #dbe5d7; border-radius: 50%; background: #eef5e9; color: #096b34; }
  .site-header .mobile-contact .icon { width: 21px; height: 21px; }
  .site-header .main-nav { background: #fff; color: #121611; border: 1px solid #dfe8d9; border-radius: 18px; box-shadow: 0 24px 60px rgb(4 30 24 / .2); }
  .site-header .nav-link { font-size: 14px; min-height: 50px; padding: 14px 12px; gap: 12px; }
  .site-header .nav-link > .icon { width: 20px; height: 20px; }
  .site-header .mega-menu { background: #f5f8f2; box-shadow: none; border: 0; border-radius: 14px; }
  .site-header .nav-actions { gap: 12px; }
  .site-header .nav-actions .btn { min-height: 52px; padding: 10px 14px; border-radius: 999px; font-size: 13px; }
}

/* Match the original navigation actions without changing site-wide buttons. */
.site-header .nav-actions .btn { border-radius: 999px; flex-shrink: 0; }
.site-header .nav-actions .btn > .icon { width: 17px; height: 17px; }
.site-header .nav-action-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; margin-left: 3px; border-radius: 50%; color: #062d23; background: #bde7aa; transition: transform .22s ease, background .22s ease; }
.site-header [data-catalog-link] .nav-action-arrow { flex-basis: 26px; width: 26px; height: 26px; margin-left: 0; background: rgb(255 255 255 / .16); color: #fff; }
.site-header .nav-action-arrow > .icon { width: 16px; height: 16px; stroke-width: 1.7; }
.site-header .nav-actions .btn:hover .nav-action-arrow { transform: translate(2px,-2px); }
.site-header [data-catalog-link]:hover .nav-action-arrow { background: rgb(255 255 255 / .23); }
.site-header .nav-actions .btn-outline { background: #062d23; border-color: #062d23; color: #fff; }
.site-header .nav-actions .btn-outline:hover { background: #0b5138; border-color: #0b5138; color: #fff; }
.btn[href^="https://wa.me/"] { background: #0f6f47; border-color: #0f6f47; color: #fff; }
.btn[href^="https://wa.me/"]:hover { background: #095b39; border-color: #095b39; color: #fff; }
.site-header .btn[href^="https://wa.me/"] { background: #062d23; border-color: #062d23; }
.site-header .btn[href^="https://wa.me/"]:hover { background: #0b5138; border-color: #0b5138; }
.page-hero .eyebrow > .icon { margin-right: 9px; vertical-align: -5px; }
.catalog-sidebar .filter.active:hover { background: var(--forest); color: white; }
@media (max-width: 767px) {
  .site-header .brand img { width: 132px; }
  .whatsapp-float { right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: 60px; height: 60px; }
  body:has(input:focus, select:focus, textarea:focus) .whatsapp-float { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .whatsapp-float, .whatsapp-float::before { animation: none !important; transition: none !important; }
  .whatsapp-float:hover, .site-header .nav-actions .btn:hover .nav-action-arrow { transform: none; }
}
.site-header .mega-sell-link { display:flex; align-items:center; gap:10px; padding:15px 18px; margin-top:12px; border:1px solid #d8e5d2; border-radius:10px; background:#eef5e9; color:#165d38; font-size:13px; font-weight:550; line-height:1.5; }
.site-header .mega-sell-link > .icon { flex-shrink:0; width:18px; height:18px; }
.site-header .mega-sell-link > .icon:last-child { margin-left:auto; }
.site-header .mega-sell-link:hover { background:#e1eed9; border-color:#a8c399; }
.site-header .mega-sell-link:focus-visible { outline:3px solid #639c50; outline-offset:3px; }
@media print { .site-header, .whatsapp-float { display: none; } }

/* Desktop header alignment: one centered link group, fixed actions at the right. */
@media (min-width: 1100px) {
  .site-header .header-inner { width: min(1200px, calc(100% - 48px)); gap: 24px; flex-wrap: nowrap; }
  .site-header .brand { flex: 0 0 132px; margin: 0; }
  .site-header .main-nav { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; justify-content: normal; column-gap: 24px; min-width: 0; flex: 1 1 0; }
  .site-header .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; min-width: 0; }
  .site-header .nav-links > * { flex: 0 0 auto; }
  .site-header .nav-link { padding-inline: 6px; gap: 6px; font-size: 12px; }
  .site-header .nav-actions { display: flex; align-items: center; justify-content: flex-end; justify-self: end; flex-wrap: nowrap; gap: 9px; margin: 0; }
  .site-header .nav-actions .btn { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .site-header .header-inner { gap: 16px; }
  .site-header .main-nav { column-gap: 16px; }
  .site-header .nav-links { gap: 2px; }
  .site-header .nav-link { padding-inline: 3px; gap: 5px; font-size: 12px; }
  .site-header .nav-link > .icon { width: 15px; height: 15px; }
  .site-header .nav-actions .btn { padding-inline: 10px; }
}
