/* =====================================================
   TODO LIMPIO — SHARED STYLES v3 (optimizado)
   ===================================================== */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Nunito', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; color: #222222; background: #fff; line-height: 1.6; overflow-x: hidden; max-width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ─── CSS VARIABLES ─── */
:root {
  --c1: #2B6CB0; --c2: #215387; --c3: #222222; --c4: #3B3B3B; --c5: #515151;
  --c6: #626262; --c7: #E1E1E1; --c8: #F7F7F7; --c9: #ffffff;
  --clight: #EBF3FB; --clighter: #F4F8FD;
  --content-w: 1290px; --w: 1290px;
  --header-h: 80px; --topbar-h: 38px; --subbar-h: 52px;
  --radius: 6px;
  --shadow-sm: 0 1px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
}

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

/* ─── TOP BAR ─── */
#top-bar { background: var(--c2); color: var(--c9); font-size: 13px; }
#top-bar .inner {
  max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--topbar-h); gap: 16px;
}
.topbar-left { font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; }
.topbar-left svg { flex-shrink: 0; }
#top-bar nav ul { display: flex; }
#top-bar nav ul li a {
  display: flex; align-items: center; gap: 5px; padding: 0.5em 0.9em;
  color: rgba(255,255,255,0.82); font-family: 'Montserrat', sans-serif;
  font-weight: 500; font-size: 12.5px; transition: color var(--transition);
}
#top-bar nav ul li a:hover { color: #fff; }

/* ─── HEADER ─── */
#masthead { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-row-1 {
  max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.site-logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: var(--c1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.logo-wordmark .name { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; color: var(--c1); letter-spacing: -0.5px; }
.logo-wordmark .sub { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 10px; color: var(--c5); letter-spacing: 1.5px; text-transform: uppercase; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; }
.primary-nav > ul { display: flex; align-items: center; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px; padding: 0 0.9em;
  height: var(--header-h); font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 14px; color: var(--c4); transition: color var(--transition); white-space: nowrap;
}
.primary-nav > ul > li > a:hover { color: var(--c1); }
.primary-nav > ul > li.is-active > a { color: var(--c1); }
.primary-nav > ul > li.is-active > a::after {
  content: ''; position: absolute; bottom: 0; left: 0.9em; right: 0.9em; height: 2px; background: var(--c1);
}
.arrow-down { width: 10px; height: 10px; fill: currentColor; transition: transform var(--transition); }
.primary-nav > ul > li:hover .arrow-down { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--c3); box-shadow: 0 4px 16px rgba(0,0,0,0.12); display: none; z-index: 500;
}
.primary-nav > ul > li:hover .sub-menu { display: block; }
.sub-menu li a {
  display: flex; align-items: center; padding: 0.75em 1.2em; font-size: 12.5px;
  color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), color var(--transition); min-height: 44px;
}
.sub-menu li a:hover { background: var(--c4); color: #fff; }

/* Burger */
.burger-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); transition: background var(--transition); -webkit-tap-highlight-color: transparent; }
.burger-btn span { width: 24px; height: 2px; background: var(--c3); border-radius: 2px; display: block; transition: background var(--transition); }
.burger-btn:hover { background: var(--c8); }
.burger-btn:hover span { background: var(--c1); }

/* Row 2 */
.header-row-2 { border-top: 1px solid var(--c7); background: #fff; }
.header-row-2 .inner {
  max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; min-height: var(--subbar-h);
}
.catalog-toggle {
  display: flex; align-items: center; gap: 8px; padding: 0 1.2em; height: var(--subbar-h);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--c4); background: none; border: none; border-right: 1px solid var(--c7);
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}
.catalog-toggle:hover { color: var(--c1); background: var(--clighter); }
.catalog-toggle.open { color: var(--c1); background: var(--clighter); }
.catalog-arrow { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--transition); }
.catalog-toggle.open .catalog-arrow { transform: rotate(180deg); }
.search-wrap {
  flex: 1; display: flex; align-items: center; padding: 0 1rem; border-right: 1px solid var(--c7);
  position: relative; transition: background var(--transition);
}
.search-wrap:focus-within {
  background: var(--clighter);
}
.search-wrap form {
  width: 100%; display: flex; align-items: center; gap: 0;
  background: transparent; border-radius: var(--radius); overflow: hidden;
}
.search-wrap input {
  flex: 1; border: none; outline: none; font-size: 14px; color: var(--c4);
  background: transparent; font-family: 'Nunito', sans-serif; min-height: 44px;
  padding: 0 8px 0 4px; transition: color var(--transition);
}
.search-wrap input::placeholder { color: var(--c6); transition: color var(--transition); }
.search-wrap:focus-within input::placeholder { color: var(--c1); opacity: 0.5; }
.search-wrap button {
  background: none; border: none; cursor: pointer; color: var(--c5);
  display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  transition: color var(--transition), transform var(--transition);
  border-radius: var(--radius);
}
.search-wrap button:hover, .search-wrap:focus-within button { color: var(--c1); }
.search-wrap button:hover svg { transform: scale(1.15); }
.search-wrap button svg { transition: transform var(--transition); }
.header-actions { display: flex; align-items: center; }
.header-actions a {
  display: flex; align-items: center; gap: 6px; padding: 0 1.2em; height: var(--subbar-h);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--c5); border-left: 1px solid var(--c7); transition: color var(--transition); min-height: 44px;
}
.header-actions a:hover { color: var(--c1); }
.cart-count {
  background: var(--c1); color: #fff; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ─── MEGA MENU ─── */
.mega-menu {
  position: fixed; top: calc(var(--topbar-h) + var(--header-h) + var(--subbar-h));
  left: 0; right: 0; background: #fff; border-top: 2px solid var(--c1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13); z-index: 900; display: none;
}
.mega-menu.open { display: block; }
.mega-menu .inner {
  max-width: var(--content-w); margin: 0 auto; padding: 2rem 1.5rem;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
}
.mega-col h4 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12.5px;
  color: var(--c3); text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--c7);
}
.mega-col ul li a { display: flex; align-items: center; font-size: 13px; color: var(--c5); padding: 5px 0; transition: color var(--transition); min-height: 36px; }
.mega-col ul li a:hover { color: var(--c1); }

/* ─── PAGE HEADER ─── */
.page-header { background: linear-gradient(135deg, var(--c2) 0%, var(--c1) 100%); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; z-index: 0; }
.page-header .inner { max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.page-header h1 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(24px,4vw,42px); margin-bottom: 8px; }
.page-header p { font-size: 16px; opacity: 0.85; max-width: 600px; font-family: 'Nunito', sans-serif; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: 0.75; margin-bottom: 12px; font-family: 'Nunito', sans-serif; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

/* ─── COMMON SECTIONS ─── */
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(20px,3vw,32px); color: var(--c3); text-align: center; margin-bottom: 8px; }
.section-divider { width: 48px; height: 3px; background: var(--c1); margin: 0 auto 36px; }
.section-sub { text-align: center; font-size: 15px; color: var(--c6); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; font-family: 'Nunito', sans-serif; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px; padding: 13px 28px; background: var(--c1); color: #fff;
  border: 2px solid var(--c1); border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; min-height: 44px; box-shadow: 0 2px 8px rgba(43,108,176,0.25); letter-spacing: 0.2px;
}
.btn-primary:hover { background: var(--c2); border-color: var(--c2); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43,108,176,0.35); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(43,108,176,0.2); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px; padding: 12px 28px; border: 2px solid var(--c1); color: var(--c1);
  border-radius: var(--radius); background: transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 44px; letter-spacing: 0.2px;
}
.btn-outline:hover { background: var(--c1); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43,108,176,0.25); }
.btn-outline:active { transform: translateY(0); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px; padding: 13px 28px; background: #fff; color: var(--c1);
  border: 2px solid #fff; border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap; flex-shrink: 0; min-height: 44px; letter-spacing: 0.2px;
  box-shadow: 0 2px 10px rgba(255,255,255,0.25);
}
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.15); }
.btn-white:active { transform: translateY(0); }
.btn-wsp {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px; padding: 13px 28px; background: #25D366; color: #fff;
  border-radius: var(--radius); border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; min-height: 44px; box-shadow: 0 2px 10px rgba(37,211,102,0.3); letter-spacing: 0.2px;
}
.btn-wsp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.btn-wsp:active { transform: translateY(0); }

/* ─── CONTACT BANNER ─── */
.contact-banner { background: var(--c1); padding: 52px 0; color: #fff; }
.contact-banner .inner {
  max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.contact-banner-text h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(18px,3vw,28px); margin-bottom: 6px; }
.contact-banner-text p { font-size: 15px; opacity: 0.88; font-family: 'Nunito', sans-serif; }

/* ─── FOOTER ─── */
#colophon { background: var(--c3); color: rgba(255,255,255,0.65); }
.footer-main {
  max-width: var(--content-w); margin: 0 auto; padding: 52px 1.5rem 44px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p { font-size: 13px; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,0.58); font-family: 'Nunito', sans-serif; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 19px; color: #fff; display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 34px; height: 34px; background: var(--c1); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.58); transition: color var(--transition); font-family: 'Nunito', sans-serif; }
.footer-col ul li a:hover { color: #fff; }
.footer-col .info-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.58); margin-bottom: 10px; font-family: 'Nunito', sans-serif; }
.footer-col .info-line svg { flex-shrink: 0; margin-top: 2px; color: var(--c1); }
.footer-col .info-line a { color: rgba(255,255,255,0.58); }
.footer-col .info-line a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.social-btn { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background var(--transition), color var(--transition), transform var(--transition); }
.social-btn:hover { background: var(--c1); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); background: rgba(0,0,0,0.2); }
.footer-bottom .inner {
  max-width: var(--content-w); margin: 0 auto; padding: 16px 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.4); font-family: 'Nunito', sans-serif;
}

/* ─── FLOATING WSP ─── */
.wsp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); z-index: 9999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wsppulse 2.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.wsp-float svg { display: block; flex-shrink: 0; }
.wsp-float:hover { transform: scale(1.08); animation: none; box-shadow: 0 6px 28px rgba(37,211,102,0.7); }
@keyframes wsppulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.8), 0 0 0 9px rgba(37,211,102,0.14); }
}

/* ─── FLOATING CART ─── */
.cart-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #2B6CB0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(43,108,176,0.5); z-index: 9999;
  border: none; cursor: pointer;
  transition: transform var(--transition), opacity 0.2s, visibility 0.2s, box-shadow var(--transition);
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
}
.cart-float svg { display: block; flex-shrink: 0; }
.cart-float:hover { transform: scale(1.08) translateZ(0); box-shadow: 0 6px 28px rgba(43,108,176,0.7); }
.cart-float-badge {
  position: absolute; top: -4px; right: -4px;
  background: #e53e3e; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px;
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; line-height: 1;
  transition: transform 0.2s;
}
.cart-float-badge.hidden { display: none; }
/* Hide cart float when cart drawer is open */
body.cart-open .cart-float { opacity: 0; visibility: hidden; pointer-events: none; }

/* ─── MOBILE NAV ─── */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.52); z-index: 2000; }
.mobile-overlay.open { display: flex; }
.mobile-panel { background: #fff; width: min(300px,85vw); height: 100%; overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mobile-panel-head { background: var(--c2); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.mobile-panel-head span { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: 0.5px; }
.mobile-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 22px; cursor: pointer; line-height: 1; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links { flex: 1; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 14px; color: var(--c3); border-bottom: 1px solid var(--c7);
  transition: background var(--transition), color var(--transition); min-height: 52px;
  letter-spacing: 0.2px; -webkit-tap-highlight-color: transparent;
}
.mobile-nav-links a:hover, .mobile-nav-links a.is-active { background: var(--c8); color: var(--c1); }
.mobile-nav-links a.wsp-mob { background: #25D366; color: #fff; margin: 16px; border-radius: 6px; border: none; justify-content: center; font-weight: 700; }
.mobile-nav-links a.wsp-mob:hover { background: #1da851; }

/* Mobile cart icon in header-row-1 */
.mobile-cart-btn {
  display: none; position: relative; background: none; border: none; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  color: var(--c3); -webkit-tap-highlight-color: transparent;
}
.mobile-cart-btn .cart-count {
  position: absolute; top: 4px; right: 4px;
  background: #e53e3e; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 9px;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid #fff;
  transition: transform 0.2s ease;
}
.mobile-cart-btn .cart-count.bump { transform: scale(1.4); }
.mobile-filter-toggle {
  display: none; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius);
  background: var(--c1); color: #fff; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
  margin-bottom: 16px; min-height: 44px;
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1500; }
.sidebar-overlay.open { display: block; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1200px) {
  .mega-menu .inner { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mega-menu .inner { grid-template-columns: repeat(2,1fr); }
  :root { --header-h: 70px; }
}
@media (max-width: 900px) {
  .sidebar {
    position: fixed; top: 0; left: -100%; width: min(300px,85vw);
    height: 100vh; overflow-y: auto; z-index: 1600;
    transition: left 0.3s ease; border-radius: 0;
  }
  .sidebar.mobile-open { left: 0; }
  .mobile-filter-toggle { display: flex; }
  .empresa-inner { grid-template-columns: 1fr !important; }
  .empresa-img { display: none; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .burger-btn { display: flex; }
  .mobile-cart-btn { display: flex; }
  .header-row-2 .catalog-toggle { display: none; }
  .header-row-2 .header-actions { display: none; }
  .header-row-2 .search-wrap { border-right: none; flex: 1; }
  .header-row-2 .inner { padding: 0; max-width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .page-header { padding: 36px 0; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .contact-banner .inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  #top-bar { display: none; }
  :root { --topbar-h: 0px; }
  .cart-float { width: 52px; height: 52px; bottom: 20px; right: 16px; }
  .wsp-float  { width: 52px; height: 52px; bottom: 20px; right: 16px; }
}

@media print {
  #top-bar, #masthead, .cart-float, .wsp-float, .mobile-overlay, .mega-menu, .contact-banner { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ─── ACCESSIBILITY: focus-visible ring ─── */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 2px;
}


/* ── Mobile nav: prevent body scroll when open ── */
body.nav-open { overflow: hidden; }

/* ── Sub-menu: improve keyboard/touch accessibility ── */
.primary-nav > ul > li:focus-within .sub-menu { display: block; }

/* ── Cat filter bar: scroll indicator fade ── */
.cat-filter-bar-wrap {
  position: relative;
}
.cat-filter-bar-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 32px;
  background: linear-gradient(to right, transparent, var(--c8));
  pointer-events: none;
  border-radius: 0 20px 20px 0;
}

/* ── Skip to main content (accessibility) ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--c1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Print: show URLs on links ── */
@media print {
  a[href]::after { content: ' (' attr(href) ')'; font-size: 10pt; color: #555; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ''; }
}

/* ── Scrollbar styling (webkit) ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(43,108,176,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(43,108,176,0.5); }

/* ── Selection color ── */
::selection { background: rgba(43,108,176,0.18); color: var(--c1); }

/* ── Lazy image loading fade-in ── */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded { opacity: 1; }


/* ════ Mobile polish (added by optimizer) ════ */

/* Prevent iOS auto-zoom on input focus (font-size < 16px triggers it) */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
  .search-wrap input { font-size: 15px; } /* overridden below for this one */
}

/* iOS safe-area (notch / home bar) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-panel   { padding-bottom: env(safe-area-inset-bottom); }
  .cart-drawer    { padding-bottom: env(safe-area-inset-bottom); }
  .cart-float     { bottom: max(20px, env(safe-area-inset-bottom)); }
  .wsp-float      { bottom: max(20px, env(safe-area-inset-bottom)); }
}

/* Touch scrolling on mobile panels */
.mobile-panel, .cart-drawer, .sidebar {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ── focus-visible on sub-menu (keyboard nav) ── */
.primary-nav > ul > li:focus-within .sub-menu { display: block; }

/* ── Cat-filter-bar: smooth horizontal scroll ── */
.cat-filter-bar { -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.cat-filter-btn { scroll-snap-align: start; }
