/* ==========================================================================
   Vero Animal Health — hoja de estilos principal
   Réplica estática de veroanimalhealth.ca (tema Themify Ultra).
   Valores tomados del sitio original: colores, tipografía, medidas.
   ========================================================================== */

:root {
  --accent: #194fa2;        /* azul principal (textos, links, títulos) */
  --navy: #003a70;          /* azul oscuro (cajas de contenido) */
  --grey-text: #545454;     /* texto de bienvenida (home) */
  --footer-bg: #f2f2f2;
  --newsletter-bg: rgba(0, 58, 112, .13);
  --form-btn: #066aab;
  --required: #d63637;
  --container: 1160px;
  --gutter: 3.2%;
  --header-h: 108px;
  --font: "Open Sans", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--accent);
  font: 400 16px/1.65 var(--font);
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; transition: color .3s ease-in-out; cursor: pointer; }
p { margin: 0 0 1.3em; padding: 0; }
strong, b { font-weight: 700; }
ol, ul { margin: 0 0 1.4em 1.6em; padding: 0; }
li { margin: 0 0 1em; }
iframe { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  color: var(--accent);
  font-weight: 600;
  line-height: 1.3em;
  margin: 0 0 .5em;
  overflow-wrap: normal;
}
h1 { font-size: 2.5em; font-weight: 700; letter-spacing: -.03em; line-height: 1.2em; }
h2 { font-size: 2em; letter-spacing: -.02em; }
h3 { font-size: 1.35em; letter-spacing: -.02em; }
h4 { font-size: 1.1em; letter-spacing: .05em; line-height: 1.6em; text-transform: uppercase; }
h5, h6 { line-height: 1.7em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Iconos SVG inline (mismos trazos que el tema original) */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
  overflow: visible;
}

/* --------------------------------------------------------------------------
   Layout: filas y columnas (equivalente a module_row / row_inner)
   -------------------------------------------------------------------------- */
.row { position: relative; display: flex; flex-wrap: wrap; }
.row-inner {
  position: relative;
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  gap: 0 var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(1%, 1fr));
  align-items: stretch;
}
.row.fullwidth > .row-inner { width: 100%; max-width: 100%; }
.row-inner.no-gap { gap: 0; }
.row-inner.align-center { align-content: center; align-items: center; }
.col { position: relative; min-width: 0; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2-1 { grid-template-columns: 2fr 1fr; }
.cols-1-2 { grid-template-columns: 1fr 2fr; }

@media (max-width: 1260px) {
  h1 { font-size: 2.4em; }
  .row:not(.fullwidth) > .row-inner { max-width: 94%; }
}
@media (max-width: 760px) {
  .row:not(.fullwidth) > .row-inner { max-width: 90%; }
  #header { margin: 0 5%; }
}
@media (max-width: 680px) {
  h1 { font-size: 1.9em; }
  h2 { font-size: 1.6em; }
  h3 { font-size: 1.35em; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
#headerwrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  transition: background-color .3s, box-shadow .3s;
}
/* Home: header transparente sobre el slider, se vuelve blanco al hacer scroll */
.transparent-header #headerwrap {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 0;
}
.transparent-header #headerwrap.fixed-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

#header {
  position: relative;
  padding: 5px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: var(--header-h);
}
#site-logo { margin: 5px 10px 5px 0; line-height: 0; }
#site-logo img { width: 300px; height: auto; }

/* Iconos para móvil (hamburguesa + carrito) */
.header-icons { display: none; align-items: center; flex-direction: row-reverse; }
#menu-icon {
  display: inline-block;
  padding: 10px 9px 11px;
  margin-left: 10px;
  line-height: 16px;
  color: inherit;
}
.menu-icon-inner {
  display: inline-block;
  width: 24px; height: 2px;
  background: currentColor;
  position: relative;
  vertical-align: middle;
}
.menu-icon-inner::before, .menu-icon-inner::after {
  content: "";
  position: absolute; left: 0;
  width: 24px; height: 2px;
  background: currentColor;
}
.menu-icon-inner::before { top: -7px; }
.menu-icon-inner::after { top: 7px; }

.cart-icon-link { display: inline-block; font-size: 22px; line-height: 1; color: inherit; padding: 6px; }
.cart-icon-link .icon { width: 1.123em; }

/* Navegación de escritorio */
.navbar-wrapper { display: flex; align-items: center; }
#main-nav-wrap { display: block; }
#main-nav, #main-nav ul { list-style: none; margin: 0; padding: 0; }
#main-nav { display: flex; align-items: center; }
#main-nav li { margin: 0; position: relative; }
#main-nav a {
  display: block;
  padding: .6em;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.65;
  white-space: nowrap;
}
#main-nav > li > a:hover, #main-nav > li.current-menu-item > a { color: var(--accent); }
#main-nav .child-arrow { display: none; }

/* Submenús desplegables */
#main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 210px;
  padding: .6em 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 3px 12px 0 rgba(0, 0, 0, .12);
  display: none;
  animation: submenu-in .2s ease-out;
}
@keyframes submenu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#main-nav .sub-menu .sub-menu { top: -.6em; left: 100%; }
#main-nav .sub-menu .sub-menu.flip { left: auto; right: 100%; }
#main-nav .sub-menu a { padding: .4em 1.4em; white-space: normal; line-height: 1.65; }
#main-nav .sub-menu a:hover { background: #f2f2f2; }
#main-nav li:hover > .sub-menu,
#main-nav li:focus-within > .sub-menu { display: block; }

/* Botón de búsqueda del header */
.search-button {
  display: inline-block;
  padding: 10px;
  margin-left: 3px;
  font-size: 19px;
  line-height: 19px;
  color: inherit;
}
.navbar-wrapper .cart-icon { margin-left: 8px; }
.navbar-wrapper .cart-icon-link { font-size: 22px; padding: 6px; }

#menu-icon-close { display: none; }
.sidemenu-search { display: none; }

/* Formulario de búsqueda (overlay) */
#searchform-wrap {
  position: fixed; inset: 0; z-index: 12000;
  background: rgba(255, 255, 255, .96);
  display: none;
  align-items: center; justify-content: center;
}
#searchform-wrap.open { display: flex; }
#searchform { width: min(700px, 90%); position: relative; }
#searchform input[type="search"] {
  width: 100%;
  font: 300 32px/1.3 var(--font);
  color: var(--accent);
  background: none;
  border: 0; border-bottom: 2px solid var(--accent);
  padding: 12px 50px 12px 0;
  outline: 0;
  -webkit-appearance: none;
}
#searchform button {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--accent); font-size: 26px; cursor: pointer; padding: 8px;
}
#searchform-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: 0; font-size: 22px; color: var(--accent); cursor: pointer; padding: 10px;
}

/* --------------------------------------------------------------------------
   Menú móvil (sidemenu, ≤ 1100px como en el original)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  #header { padding: 10px 0 5px; display: block; }
  #site-logo { margin: 5px 10px 5px 0; }
  .header-icons {
    display: flex;
    position: absolute;
    right: 4%;
    top: 27px;
    transform: translateY(-50%);
    z-index: 1999;
  }
  .header-icons a { font-size: 1em; }

  .sidemenu {
    position: fixed;
    top: 0; right: -300px;
    width: 300px; height: 100%;
    padding: 60px 25px 25px;
    background: #fff;
    color: #000;
    overflow-y: auto;
    z-index: 11111;
    transition: right .2s ease-in-out, box-shadow .2s ease-in-out;
    display: block;
  }
  .sidemenu.sidemenu-on { right: 0; box-shadow: -6px 0 20px 5px rgba(0, 0, 0, .1); }
  .navbar-wrapper { display: flex; flex-direction: column; align-items: stretch; }
  .navbar-wrapper .cart-icon { display: none; }
  .navbar-wrapper .search-button { order: -1; align-self: flex-start; margin: 0; padding: 10px 0; font-size: 19px; }
  .mobile-menu-visible #headerwrap { left: -300px; right: 300px; }
  #menu-icon-close {
    display: block;
    position: absolute; top: 10px; right: 10px;
    width: 38px; height: 38px;
    border-radius: 100%;
    color: inherit;
    font-size: 20px;
    padding: 9px;
    line-height: 0;
    background: none; border: 0; cursor: pointer;
  }
  #menu-icon-close::before, #menu-icon-close::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 2px; height: 56%; background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  #menu-icon-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
  #menu-icon-close:hover { background: rgba(200, 200, 200, .25); }
  .sidemenu .search-button { margin: 0; padding: 10px 0; display: inline-block; }

  #main-nav-wrap { margin: 1em 0 1.5em; }
  #main-nav { display: block; }
  #main-nav li { display: block; width: 100%; clear: both; }
  #main-nav a {
    display: block;
    padding: .6em 0;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--accent);
    white-space: normal;
  }
  #main-nav .has-sub-menu > a { padding-right: 40px; }
  #main-nav a:hover, #main-nav .current-menu-item > a { color: var(--accent); }
  #main-nav .sub-menu, #main-nav .sub-menu .sub-menu {
    position: static;
    display: none;
    width: auto;
    margin: 0 0 0 1em;
    padding: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }
  #main-nav li:hover > .sub-menu, #main-nav li:focus-within > .sub-menu { display: none; }
  #main-nav li.toggle-on > .sub-menu, #main-nav li.toggle-on:hover > .sub-menu { display: block; }
  #main-nav .sub-menu a { padding: .6em 0; }
  #main-nav .sub-menu a:hover { background: none; }
  #main-nav .child-arrow {
    display: block;
    position: absolute;
    right: 0; top: 0;
    width: 40px; height: 44px;
    cursor: pointer;
    border-radius: 100%;
  }
  #main-nav .child-arrow::before {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 8px; height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .2s;
  }
  #main-nav li.toggle-on > a > .child-arrow::before { transform: translate(-50%, -50%) rotate(-135deg); }
  #main-nav .child-arrow:hover { background: rgba(200, 200, 200, .25); }

  #header { margin: 0 3%; }
  .transparent-header #headerwrap { position: fixed; }
  .header-icons a { font-size: 22px; padding: 9px; }
  #menu-icon { padding: 10px 9px 11px; }
}

/* Overlay que oscurece el fondo cuando el menú está abierto */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.mobile-menu-visible .mobile-menu-overlay { opacity: 1; visibility: visible; }
.mobile-menu-visible { overflow: hidden; }

/* --------------------------------------------------------------------------
   Contenido
   -------------------------------------------------------------------------- */
#content { position: relative; }

/* Bloque de texto (module-text) */
.text-block h2 { font-size: 2em; }

/* Botones (module-buttons) */
.btn-row { display: flex; flex-wrap: wrap; gap: .6em; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 10px 20px;
  line-height: 1.35;
  border: 1px solid rgba(0, 0, 0, .05);
  color: #eee;
  background: #000;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.btn .icon { width: 1em; height: 1em; }
.btn.black { background: #000; color: #eee; }
.btn.black:hover { background: #333; color: #fff; }
.btn.transparent { background: none; border: 0; padding: 0; color: inherit; }
.btn.transparent:hover { opacity: .8; }
.btn.uppercase { text-transform: uppercase; }

/* Encabezado "fancy" (Manufacturer Partners) */
.fancy-heading {
  text-align: center;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.3em;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  padding-bottom: 45px;
}

/* Divisor */
.divider { border-style: solid; border-bottom: 0 !important; border-left: 0 !important; border-right: 0 !important; }

/* Ícono + texto (Call Us / Email Us / Shop Location) */
.icon-item { display: inline-flex; align-items: center; margin-bottom: 7px; }
.icon-item em {
  display: inline-flex; align-self: baseline;
  font-size: 20px; line-height: 0; padding: .5em;
  color: var(--accent);
}
.icon-item span { margin: 0 .6em; color: #000; font-size: 20px; }

/* --------------------------------------------------------------------------
   HOME
   -------------------------------------------------------------------------- */
.transparent-header #body { padding-top: 0; }

/* Slider */
.hero-slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; height: 100%;
  display: flex; align-items: center;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease-in-out, visibility .7s;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide-inner { width: 100%; padding: 0 7% 10px; }
.hero-slide-text { width: 60%; max-width: 100%; }
.hero-slide h1, .hero-slide h3 {
  font-size: 40px; font-weight: 300; line-height: 1.3em;
  color: var(--accent);
  margin: 0 0 .3em; letter-spacing: -.02em;
}
.hero-slide p { font-size: 1.15em; font-weight: 500; line-height: 1.6em; color: var(--accent); margin: 0 0 .8em; }
/* Animación de entrada del texto (como Slider Pro) */
.hero-slide h1, .hero-slide h3, .hero-slide p { opacity: 0; transform: translate3d(0, -50px, 0); transition: opacity 1s .3s, transform 1s .3s; }
.hero-slide p { transition-delay: .5s; }
.hero-slide.active h1, .hero-slide.active h3, .hero-slide.active p { opacity: 1; transform: none; }

.hero-dots {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; align-items: center; padding-top: 10px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 5px solid #fff; background: transparent;
  cursor: pointer; padding: 0;
  box-sizing: border-box;
}
.hero-dot.active { width: 13px; height: 13px; border-width: 2px; }

@media (max-width: 1100px) {
  .hero-slide-inner { padding: 0 5% 10px; }
  .hero-slide p { font-size: clamp(10px, 1.28vw, 18.4px); }
}

/* Welcome */
.home-welcome { padding-top: 5%; margin-top: 27px; }
.home-welcome > .row-inner { grid-template-columns: 1fr 1fr; align-items: center; }
.home-welcome .welcome-img { text-align: right; }
.home-welcome .welcome-img a { position: relative; display: block; }
.home-welcome .welcome-img img { width: 100%; height: auto; display: block; }
.home-welcome .zoom {
  position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 100%;
  background: rgba(0, 0, 0, .6);
  color: rgba(255, 255, 255, .6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.home-welcome .welcome-text, .home-welcome .welcome-text p { color: var(--grey-text); }
.home-welcome .welcome-text h2 { font-size: 32px; font-weight: 300; color: var(--grey-text); margin-bottom: .5em; }
.home-welcome .welcome-text h2 strong { font-weight: 300; }

/* Product categories */
.home-categories-title { padding: 3% 0 0; text-align: center; }
.home-categories-title .col { margin-bottom: 0; }
.home-categories-title h2 { margin-bottom: 0; }
.home-categories { margin-top: 0; padding-top: 20px; }
.home-categories .cards { margin-top: 20px; gap: 0 20px; }
.home-categories .card { background: var(--navy); color: #fff; margin-bottom: 20px; }
.home-categories .card img { width: 100%; height: auto; display: block; margin-bottom: 8%; }
.home-categories .card h2 { font-size: 32px; font-weight: 300; color: #fff; }
.home-categories .card p { font-weight: 300; color: #fff; }
.home-categories .card-text { padding: 0 10%; }
.home-categories .card-btn { padding: 0 10%; margin-bottom: 6%; }
.home-categories .card-btn .btn { font-weight: 300; color: #fff; }

@media (max-width: 768px) {
  .home-welcome .row-inner { grid-template-columns: 1fr; }
  .home-welcome .welcome-img { margin-bottom: 30px; }
}
@media (max-width: 900px) {
  .home-categories .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-welcome .welcome-text h2 { font-size: 30px; }
  .home-categories-title { padding-top: 7%; padding-bottom: 15%; }
  .home-categories .cards { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Secciones "imagen + caja azul superpuesta" (Company History, Our Values,
   Why Choose Us)
   -------------------------------------------------------------------------- */
.overlap { padding: 3% 0; }
.overlap > .row-inner { gap: 0; grid-template-columns: 2fr 1fr; align-items: center; align-content: center; }
.overlap.reverse > .row-inner { grid-template-columns: 1fr 2fr; }
.overlap .overlap-img img { width: 100%; height: auto; display: block; margin: 0; }
.overlap.reverse .overlap-img img { margin: 30px 0; }
.overlap .overlap-box {
  position: relative; z-index: 1;
  background: var(--navy);
  color: #fff;
  padding: 40% 20%;
  margin-left: -250px;
}
.overlap.reverse .overlap-box { margin-left: 0; margin-right: -250px; }
.overlap .overlap-box h2 { font-size: 40px; font-weight: 300; color: #fff; }
.overlap .overlap-box p { color: #fff; }
.overlap .overlap-box h2 strong { font-weight: 300; }
.overlap .overlap-box.h2-default h2 { font-size: 2em; font-weight: 600; }

@media (max-width: 768px) {
  .overlap .overlap-box { margin-left: 0; padding-right: 58%; margin-right: 0; }
  .overlap.reverse .overlap-box { padding-right: 0; padding-left: 58%; margin-right: 0; margin-left: 0; }
}
@media (max-width: 600px) {
  .overlap > .row-inner, .overlap.reverse > .row-inner { grid-template-columns: 1fr; }
  .overlap.reverse > .row-inner .overlap-img { order: -1; }
  .overlap .overlap-box, .overlap.reverse .overlap-box { padding: 5%; margin: 0; }
}

/* Logos de partners */
.partners { padding: 80px 0; }
.partners .logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); }
.partners .logo-box {
  border: 1px solid #e3e3e3;
  box-shadow: 0 0 10px 10px rgba(0, 0, 0, .03);
  margin-bottom: 20px;
  text-align: center;
  line-height: 0;
}
.partners .logo-box img { max-width: 100%; height: auto; }
/* Un solo logo: mismo ancho que una celda de la grilla, centrado */
.partners .logos-center { grid-template-columns: minmax(0, calc((100% - 3 * var(--gutter)) / 4)); justify-content: center; }
@media (max-width: 768px) { .partners .logos { grid-template-columns: repeat(2, 1fr); } .partners .logos-center { grid-template-columns: minmax(0, 50%); } }
@media (max-width: 600px) { .partners .logos { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Newsletter "Stay up to Date"
   -------------------------------------------------------------------------- */
.newsletter { background: var(--newsletter-bg); }
.newsletter.with-top-pad { padding-top: 3%; }
.newsletter > .row-inner { grid-template-columns: 1fr 1fr; }
.newsletter .nl-text { padding: 20% 0; color: #000; }
.newsletter .nl-form { padding: 24px 0; }
.newsletter .nl-text h2 { font-size: 40px; font-weight: 300; color: #000; margin-bottom: .5em; text-align: left; }
.newsletter .nl-text p { color: #000; text-align: left; }
@media (max-width: 600px) {
  .newsletter > .row-inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Formularios (estilo WPForms "modern")
   -------------------------------------------------------------------------- */
.form { --field-h: 43px; }
.form { margin: 24px 0; }
.form .field { padding: 15px 0; margin: 0; clear: both; }
.form .field-label {
  display: block;
  font-size: 16px; font-weight: 700; line-height: 19px;
  color: rgba(0, 0, 0, .85);
  margin: 0 0 10px;
}
.form .required { color: var(--required); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  display: block;
  width: 100%;
  height: var(--field-h);
  padding: 0 14px;
  font: 16px/19px var(--font);
  color: rgba(0, 0, 0, .85);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 3px;
  outline: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--form-btn); box-shadow: 0 0 0 1px var(--form-btn); }
.form select {
  padding-right: 24px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='none' stroke='rgba(40,40,40,.5)' stroke-linecap='round' stroke-width='12'%3E%3Cpath d='m2.7 2.3 46.4 54.9L95.5 2.3'/%3E%3C/svg%3E");
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  background-size: 10px;
}
.form select.modern { color: rgba(0, 0, 0, .5); }
.form textarea { height: 120px; padding: 10px 14px; resize: vertical; }
.form .field-row { display: flex; gap: 20px; }
.form .field-row > div { flex: 1; }
.form .sublabel { display: block; font-size: 14px; line-height: 17px; color: rgba(0, 0, 0, .55); margin-top: 5px; }
.form .field.medium { max-width: 60%; }
.form .field.large { max-width: 100%; }
.form .submit-wrap { margin-top: 10px; padding-top: 15px; }
.form button[type="submit"], .form .submit {
  display: inline-block;
  height: 41px;
  padding: 0 15px;
  font: 500 17px/41px var(--font);
  color: #fff;
  background: var(--form-btn);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  transition: background .3s;
}
.form button[type="submit"]:hover { background: #0559a0; }
.form .form-msg { margin-top: 12px; font-size: 14px; color: #000; display: none; }
.form .form-msg.ok { display: block; }
.form .honeypot { position: absolute; left: -9999px; }
@media (max-width: 600px) {
  .form .field.medium { max-width: 100%; }
  .form .field-row { flex-direction: column; gap: 15px; }
}

/* --------------------------------------------------------------------------
   Páginas de categoría (Medical Supplies, Wound Closure, …)
   -------------------------------------------------------------------------- */
.cat-hero { position: relative; width: 100%; text-align: left; line-height: 0; }
.cat-hero img { width: 100%; height: auto; display: block; }
.cat-hero .cat-hero-overlay {
  position: absolute; inset: 0; z-index: 11;
}
.cat-hero .cat-hero-inner {
  position: absolute; top: 50%; left: 7%; right: 5%;
  transform: translateY(-50%);
  text-align: left;
}
.cat-hero h4 {
  font-size: 35px; font-weight: 300; color: #000;
  letter-spacing: .05em; line-height: 1.6em; text-transform: uppercase;
  margin: 0 0 1em;
}
.cat-tiles { padding: 3% 0; }
.cat-tiles > .row-inner { grid-template-columns: repeat(4, 1fr); }
.cat-tiles > .row-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative;
  padding: 48.08% 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.tile-label {
  position: relative;
  margin-right: 20%;
  padding: 20px 0 15px 5%;
  background: rgba(255, 255, 255, .45);
}
.tile-label h3 { font-size: 20px; font-weight: 500; color: #000; margin: 0 0 10px; }
@media (max-width: 600px) {
  .cat-tiles > .row-inner { grid-template-columns: 1fr; }
  .tile { padding: 15% 0; margin-bottom: 25px; }
  .tile.empty { display: none; }
}
@media (max-width: 680px) { .cat-hero h4 { font-size: 24px; } }

/* IV Therapy (página con fondo y placeholders) */
.iv-hero {
  background: url(../img/IV-Therapy-1.jpg) 50% 100% / cover no-repeat;
  padding: 220px 0 395px;
  color: #fff;
}
.iv-hero h1 { color: #fff; font-weight: 300; font-size: 2.5em; letter-spacing: -.03em; }
.iv-items { padding-top: 3%; }
.iv-items > .row-inner { grid-template-columns: repeat(3, 1fr); }
.iv-item { border: 1px solid #e3e3e3; padding: 12px; }
.iv-item img { width: 100%; height: auto; display: block; }
.iv-item .iv-title {
  position: relative; z-index: 1;
  margin: -35px 0 30px; padding: 5px 24px 10px 0;
  background: #fff;
}
.iv-item h2 { font-size: 1.5em; font-weight: 300; letter-spacing: -.01em; margin: 0; }
@media (max-width: 600px) { .iv-items > .row-inner { grid-template-columns: 1fr; } .iv-hero { padding: 120px 0 200px; } }

/* --------------------------------------------------------------------------
   Brands
   -------------------------------------------------------------------------- */
.brands-hero {
  background: url(../img/Brands.jpg) 0% 50% / cover no-repeat;
  padding: 317px 0;
}
.brands-hero > .row-inner { grid-template-columns: 1.188fr 1.915fr; }
.brands-hero .brands-text, .brands-hero .brands-text p { color: #fff; }
.brands-hero h2 { font-size: 40px; font-weight: 300; color: #fff; }
@media (max-width: 1024px) { .brands-hero { padding: 190px 0; } }
@media (max-width: 768px) { .brands-hero { padding: 150px 0; } }
@media (max-width: 600px) { .brands-hero { padding: 117px 0; } .brands-hero > .row-inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-top { padding-top: 0; }
.contact-top h2 { font-size: 40px; font-weight: 300; margin-bottom: 20px; }
.contact-top .contact-photo img { width: 100%; height: auto; display: block; }
.contact-hours-row { display: grid; grid-template-columns: 1fr .925fr 1.075fr; gap: 0; margin-top: -80px; }
.contact-hours-row > .col:last-child { padding-right: 35px; }
.contact-hours {
  position: relative; z-index: 1;
  background: var(--accent);
  color: #fff;
  padding: 20px 25px;
  font-size: .9em;
}
.contact-hours h4 { color: #fff; font-size: 1.1em; }
.contact-hours p { color: #fff; margin: 0 0 1.3em; }
.contact-info { padding-top: 6%; }
.contact-info .info-map { padding-bottom: 6%; }
.contact-info .info-map > .row-inner { grid-template-columns: 1fr 1fr; }
.contact-info .divider.accent { border-width: 2px; border-color: var(--accent); margin-bottom: 30px; width: 60px; }
.contact-info .divider.light { border-width: 1px; border-color: #ddd; margin: 12px 0; }
.contact-info .intro { margin-bottom: 30px; }
.contact-info .info-text { margin-left: 40px; }
.contact-info .info-text.tight { margin-left: 35px; }
.contact-info .info-text p { margin-bottom: 1.3em; }
.contact-info .info-text:last-child p:last-child { margin-bottom: 0; }
.contact-info .map iframe { width: 100%; height: 600px; border: 0; display: block; }
.contact-form-title {
  border-top: 1px solid #ddd;
  padding: 0 10%;
}
.contact-form-title h2 { font-size: 40px; font-weight: 300; text-align: center; margin: 0 0 30px; }
.contact-form { padding-bottom: 3%; }
@media (max-width: 1024px) { .contact-hours-row { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 768px) { .contact-hours-row { grid-template-columns: 1fr; } .contact-hours-row > .col:last-child { padding-right: 0; } .contact-hours-row > .col:not(:last-child) { display: none; } }
@media (max-width: 600px) { .contact-hours-row { margin-top: 0; } .contact-info .info-map > .row-inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Páginas de texto (Privacy, Shipping, Terms)
   -------------------------------------------------------------------------- */
.policy-hero img { width: 100%; height: auto; display: block; }
.policy-text { padding-top: 3%; padding-bottom: 1em; }
.policy-text h2 { font-weight: 300; font-size: 2em; }
.policy-text.medium, .policy-text.medium p, .policy-text.medium li { font-weight: 500; }
.policy-text.medium h2 strong { font-weight: 500; }
.policy-text p { margin-bottom: 1.3em; }

/* --------------------------------------------------------------------------
   Páginas vacías (existen en el sitio original sin contenido)
   -------------------------------------------------------------------------- */
.empty-page { min-height: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footerwrap {
  clear: both;
  background: var(--footer-bg);
  color: var(--accent);
  padding: 54px 0 32px;
}
#footer {
  width: min(var(--container), 100%);
  margin: 0 auto;
  font-size: .9em;
  line-height: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--gutter);
}
#footer a { color: var(--accent); }
#footer .main-col { width: 22.6%; }
#footer .section-col { flex: 1; }
#footer-logo { margin: 0 0 1.2em; line-height: 0; }
#footer-logo img { width: 200px; height: auto; }
.social-widget { display: flex; align-items: center; flex-wrap: wrap; margin: 1.5em 0 2em; }
.social-widget .widgettitle { font-weight: 700; margin-right: .5em; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.social-links li { margin: 0; }
.social-links a { display: inline-flex; padding: 0 10px; font-size: 20px; line-height: 20px; color: var(--accent); }
.social-links .icon { width: 1em; height: 1em; }
.footer-text { font-size: .85em; line-height: 14px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--gutter); }
.footer-widgets .widget { margin: 0 0 2em; }
.footer-widgets .widgettitle {
  font-size: 1em; font-weight: 700; line-height: 1.3em;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent);
  margin: 0 0 1em;
}
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets li { margin: 0; padding: .4em 0; line-height: 1em; }
.footer-widgets li a { line-height: 1.4em; }
@media (max-width: 1260px) { #footer { max-width: 94%; } }
@media (max-width: 760px) {
  #footer { max-width: 90%; display: block; }
  #footer .main-col { width: 100%; margin-bottom: 2em; }
}
@media (max-width: 680px) {
  #footerwrap { padding-top: 35px; }
  .footer-widgets { grid-template-columns: 1fr; }
}

/* Botón "Back to top" */
.back-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 100%;
  background: var(--accent);
  color: #fff;
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top::before {
  content: "";
  width: 10px; height: 10px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translateY(2px) rotate(45deg);
}
.back-top a { position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   Popup "Become a Vero Animal Health Dealer" (OptinMonster en el original)
   -------------------------------------------------------------------------- */
.om-overlay {
  position: fixed; inset: 0; z-index: 20000;
  background: rgba(0, 0, 0, .3);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.om-overlay.open { display: flex; }
.om-popup {
  position: relative;
  width: 100%; max-width: 580px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  padding: 40px 40px 34px;
  text-align: center;
  color: #000;
  font-family: var(--font);
}
.om-popup img { width: 190px; height: auto; margin: 0 auto 12px; display: block; }
.om-popup h2 { font-size: 26px; font-weight: 700; color: #000; margin: 0 0 4px; letter-spacing: 0; }
.om-popup h3 { font-size: 18px; font-weight: 700; color: #000; margin: 0 0 14px; letter-spacing: 0; }
.om-popup p { font-size: 13px; line-height: 1.5; color: #000; margin: 0 auto 18px; max-width: 420px; }
.om-popup .om-btn {
  display: block;
  width: 100%; max-width: 300px;
  margin: 0 auto 14px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: 3px;
}
.om-popup .om-btn:hover { background: #143f82; }
.om-popup .om-note { font-size: 11px; color: #333; margin: 0; }
.om-close {
  position: absolute; top: -18px; right: -18px;
  width: 36px; height: 36px;
  border-radius: 100%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  cursor: pointer;
  color: #333;
  font-size: 0;
}
.om-close::before, .om-close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 2px; height: 16px; background: #333;
  transform: translate(-50%, -50%) rotate(45deg);
}
.om-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Lightbox para el video de bienvenida */
.lightbox {
  position: fixed; inset: 0; z-index: 20000;
  background: rgba(0, 0, 0, .85);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox .lightbox-inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px;
}

/* --------------------------------------------------------------------------
   Tienda: WooCommerce en modo "coming soon" (shop, cart, checkout, producto)
   -------------------------------------------------------------------------- */
.coming-soon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 5%;
  text-align: center;
}
.coming-soon h1 {
  font-family: Cardo, Georgia, serif;
  font-size: 40px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 10px;
}
.coming-soon p { font-family: Inter, var(--font); font-size: 16px; margin: 0; }

/* My account (login de WooCommerce) */
.account { padding: 3% 0 5.75%; }
.account h2 { font-size: 2em; font-weight: 600; margin-bottom: .8em; }
.woocommerce-form-login {
  border: 1px solid #d3ced2;
  border-radius: 5px;
  padding: 20px;
  margin: 2em 0;
}
.woocommerce-form-login .form-row { margin: 0 0 1em; }
.woocommerce-form-login label { display: block; margin-bottom: .3em; }
.woocommerce-form-login .required { color: #d63637; }
.woocommerce-form-login input[type="text"], .woocommerce-form-login input[type="password"] {
  width: 100%; display: block;
  padding: .7em .8em;
  font: inherit; color: inherit;
  border: 1px solid #d3ced2; border-radius: 3px;
  background: #fff;
  outline: 0;
}
.woocommerce-form-login .pw-wrap { position: relative; display: block; }
.woocommerce-form-login .show-pw {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border: 0; background: none; cursor: pointer; color: #666;
}
.woocommerce-form-login .show-pw::before {
  content: ""; position: absolute; inset: 4px 1px;
  border: 2px solid currentColor; border-radius: 100% / 60%;
}
.woocommerce-form-login .show-pw::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  transform: translate(-50%, -50%); border-radius: 100%; background: currentColor;
}
.woocommerce-form-login .button {
  background: var(--accent); color: #fff;
  border: 0; border-radius: 30px;
  font-weight: 600; letter-spacing: .065em; text-transform: uppercase;
  padding: .65em 1.4em; cursor: pointer; font-size: .9em;
  transition: background .3s;
}
.woocommerce-form-login .button:hover { background: #143f82; }
.woocommerce-form-login .rememberme { display: inline-flex; align-items: center; gap: .4em; margin-left: 1em; }
.woocommerce-form-login .rememberme input { margin: 0; }
.lost-password { margin: 0; }

/* ==========================================================================
   MÓDULOS PRO (agregados sobre la réplica)
   ========================================================================== */

/* Accesibilidad: salto al contenido */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 30000;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; line-height: 1.4; padding: 14px 0 0; }
.breadcrumbs .row-inner { display: block; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { margin: 0; color: #6b7280; }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: #9ca3af; }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { text-decoration: underline; }
@media (max-width: 1260px) { .breadcrumbs .row-inner { max-width: 94%; } }
@media (max-width: 760px) { .breadcrumbs .row-inner { max-width: 90%; } }

/* --- Página de producto / categoría desarrollada -------------------------- */
.product-hero { padding: 24px 0 0; }
.product-hero > .row-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 0 5%; }
.product-hero .hero-media { border-radius: 4px; overflow: hidden; line-height: 0; }
.product-hero .hero-media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.product-hero .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: rgba(0, 58, 112, .08); padding: 5px 10px; border-radius: 3px; margin-bottom: 14px;
}
.product-hero h1 { font-size: 40px; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .4em; }
.product-hero .lead { font-size: 18px; line-height: 1.6; color: #374151; margin-bottom: 1.4em; }
.product-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 12px 22px; border-radius: 3px; font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-primary .icon, .btn-outline .icon { width: .9em; height: .9em; }

.product-body { padding: 56px 0 24px; }
.product-body > .row-inner { grid-template-columns: 1.6fr 1fr; gap: 0 6%; align-items: start; }
.product-body h2 { font-size: 28px; font-weight: 300; margin-bottom: .6em; }
.product-body h3 { font-size: 18px; font-weight: 600; margin: 1.6em 0 .5em; }
.product-body p, .product-body li { color: #374151; }
.features { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.features li { position: relative; padding-left: 30px; margin: 0; line-height: 1.5; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 100%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='black' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm-1.6 14.4L4.3 10.3l1.4-1.4 2.7 2.7 5.9-5.9 1.4 1.4-7.3 7.3z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='black' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm-1.6 14.4L4.3 10.3l1.4-1.4 2.7 2.7 5.9-5.9 1.4 1.4-7.3 7.3z'/></svg>") center / contain no-repeat;
}
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; vertical-align: top; color: #374151; }
.spec-table th { width: 38%; font-weight: 600; color: var(--navy); background: #f8fafc; }

.side-card {
  background: #f5f8fc; border: 1px solid #e3eaf3; border-radius: 4px; padding: 26px 26px 22px; margin-bottom: 22px;
}
.side-card h3 { margin: 0 0 .6em; font-size: 17px; font-weight: 600; }
.side-card p { font-size: 15px; margin-bottom: 1em; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { margin: 0 0 .55em; font-size: 15px; }
.side-card li a { display: inline-flex; align-items: center; gap: .4em; }
.side-card li a::before { content: "›"; color: var(--navy); }
.side-card .btn-primary { width: 100%; justify-content: center; }
.side-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-card.dark h3, .side-card.dark p, .side-card.dark a { color: #fff; }
.side-card.dark .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.side-card.dark .btn-primary:hover { background: #e8eef7; }

/* Franja de llamada a la acción */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; margin-top: 40px; }
.cta-band > .row-inner { grid-template-columns: 1.5fr 1fr; align-items: center; }
.cta-band h2 { color: #fff; font-size: 30px; font-weight: 300; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band .cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-primary:hover { background: #e8eef7; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }

/* Grilla de tarjetas (Information, About) */
.cards-grid { padding: 40px 0 20px; }
.cards-grid > .row-inner { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 4px; padding: 26px; transition: box-shadow .25s, transform .25s;
}
.info-card:hover { box-shadow: 0 10px 30px rgba(0, 58, 112, .10); transform: translateY(-2px); }
.info-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 100%; background: rgba(25, 79, 162, .1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.info-card h3 { font-size: 18px; font-weight: 600; margin-bottom: .4em; }
.info-card p { font-size: 15px; color: #4b5563; margin-bottom: .8em; }
.info-card a.more { font-weight: 600; }
.info-card a.more::after { content: " →"; }

/* Página tipo "landing" interna con título */
.page-title { padding: 40px 0 8px; }
.page-title h1 { font-size: 40px; font-weight: 300; letter-spacing: -.02em; margin-bottom: .3em; }
.page-title .lead { font-size: 18px; color: #374151; max-width: 760px; }
.page-title.center { text-align: center; }
.page-title.center .lead { margin: 0 auto; }

/* Texto legal (Terms, Privacy, Security) */
.legal { padding: 24px 0 40px; }
.legal > .row-inner { grid-template-columns: 1fr 280px; gap: 0 6%; align-items: start; }
.legal .legal-body h2 { font-size: 24px; font-weight: 600; margin: 1.8em 0 .5em; scroll-margin-top: 130px; }
.legal .legal-body h2:first-child { margin-top: 0; }
.legal .legal-body h3 { font-size: 17px; font-weight: 600; margin: 1.4em 0 .4em; }
.legal .legal-body p, .legal .legal-body li { color: #374151; }
.legal .legal-body ul, .legal .legal-body ol { margin-left: 1.4em; }
.legal .legal-body li { margin-bottom: .5em; }
.legal .meta { font-size: 14px; color: #6b7280; margin-bottom: 2em; }
.legal .toc { position: sticky; top: 130px; background: #f5f8fc; border: 1px solid #e3eaf3; border-radius: 4px; padding: 20px 22px; }
.legal .toc h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8em; }
.legal .toc ol { list-style: none; margin: 0; padding: 0; }
.legal .toc li { margin: 0 0 .5em; font-size: 14px; line-height: 1.4; }
.legal .toc a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid #e5e7eb; vertical-align: top; color: #374151; }
.legal th { background: #f8fafc; color: var(--navy); }
.notice-box { background: #fff8e6; border-left: 4px solid #f0b429; padding: 14px 18px; margin: 0 0 1.5em; font-size: 15px; color: #5b4a12; }

/* FAQ (details/summary) */
.faq-list { margin: 0 0 2em; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 0 20px; color: #374151; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Formulario de dealer / contacto extendido */
.form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form .field.full { grid-column: 1 / -1; }
.form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #374151; line-height: 1.5; }
.form .checkbox input { margin: 4px 0 0; width: 16px; height: 16px; flex: none; }
.form .form-note { font-size: 13px; color: #6b7280; margin: 12px 0 0; }
.form-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 4px; padding: 32px; }
@media (max-width: 600px) { .form .field-grid { grid-template-columns: 1fr; } }

/* Contacto: datos rápidos */
.contact-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 10px; }
.contact-quick .q { background: #f5f8fc; border: 1px solid #e3eaf3; border-radius: 4px; padding: 20px; font-size: 15px; }
.contact-quick .q strong { display: block; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }

/* Banner de cookies */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 15000;
  max-width: 720px; margin: 0 auto;
  background: #fff; color: #374151;
  border: 1px solid #e5e7eb; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 14px; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 9px 16px; border-radius: 3px; font: 600 14px var(--font); cursor: pointer;
}
.cookie-btn.secondary { background: transparent; color: var(--accent); }
.cookie-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 404 */
.error-page { padding: 80px 0 100px; text-align: center; }
.error-page .code { font-size: 96px; font-weight: 300; line-height: 1; color: var(--navy); letter-spacing: -.04em; margin-bottom: 10px; }
.error-page h1 { font-size: 32px; font-weight: 300; }
.error-page p { max-width: 560px; margin: 0 auto 1.6em; color: #374151; }
.error-page .hero-cta { justify-content: center; }

/* Responsive de los módulos nuevos */
@media (max-width: 900px) {
  .product-hero > .row-inner, .product-body > .row-inner, .legal > .row-inner, .cta-band > .row-inner { grid-template-columns: 1fr; }
  .product-hero .hero-media { margin-bottom: 26px; }
  .cta-band .cta-actions { justify-content: flex-start; margin-top: 20px; }
  .legal .toc { position: static; margin-top: 30px; }
  .cards-grid > .row-inner { grid-template-columns: 1fr 1fr; }
  .contact-quick { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .cards-grid > .row-inner { grid-template-columns: 1fr; }
  .product-hero h1, .page-title h1 { font-size: 30px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
}

/* Tiles de categoría enlazados + listado de productos */
.tile-link { position: absolute; inset: 0; z-index: 2; }
.tile:hover .tile-label { background: rgba(255, 255, 255, .75); }
.tile .tile-label { transition: background .25s; }
.cat-products { padding: 10px 0 40px; }
.cat-products h2 { font-size: 32px; font-weight: 300; margin-bottom: .3em; }
.cat-products .lead { color: #374151; max-width: 820px; margin-bottom: 1.6em; }
.cat-products .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-products .info-card ul { list-style: none; margin: 0; padding: 0; }
.cat-products .info-card li { margin: 0 0 .5em; font-size: 15px; }
.cat-products .info-card li a::before { content: "› "; color: var(--navy); }
.footer-contact { font-size: .95em; line-height: 1.6; margin: 0 0 1.2em; }

/* h1 en páginas de la réplica: mismo aspecto que el h2/h4 original */
.overlap .overlap-box h1 { font-size: 40px; font-weight: 300; color: #fff; letter-spacing: -.02em; line-height: 1.3em; margin: 0 0 .5em; }
.overlap .overlap-box.h2-default h1 { font-size: 2em; font-weight: 600; }
.cat-hero h1 { font-size: 44px; font-weight: 300; color: var(--accent); letter-spacing: -.02em; line-height: 1.3em; text-transform: none; margin: 0 0 .3em; }
.cat-hero .cat-hero-subtitle { font-size: 22px; font-weight: 500; color: var(--accent); letter-spacing: normal; text-transform: none; margin: 0; }
.brands-hero h1 { font-size: 40px; font-weight: 300; color: #fff; letter-spacing: -.02em; line-height: 1.3em; margin: 0 0 .5em; }
.contact-top h1 { font-size: 40px; font-weight: 300; letter-spacing: -.02em; line-height: 1.3em; margin: 0 0 20px; }
.policy-text h1 { font-weight: 300; font-size: 2em; letter-spacing: -.02em; line-height: 1.3em; margin: 0 0 .5em; }
.policy-text.medium h1 { font-weight: 500; }
.account h1 { font-size: 2em; font-weight: 600; letter-spacing: -.02em; line-height: 1.3em; margin-bottom: .8em; }
@media (max-width: 680px) { .cat-hero h1 { font-size: 28px; } .cat-hero .cat-hero-subtitle { font-size: 16px; } .overlap .overlap-box h1, .brands-hero h1, .contact-top h1 { font-size: 30px; } }

/* Navegación del header en negro (pedido del cliente); azul al pasar el mouse */
#main-nav a, #main-nav .sub-menu a,
#headerwrap .search-button, #headerwrap .cart-icon-link,
#headerwrap #menu-icon, #headerwrap #menu-icon-close { color: #000; }
#main-nav a:hover, #main-nav > li.current-menu-item > a,
#headerwrap .search-button:hover, #headerwrap .cart-icon-link:hover { color: var(--accent); }
@media screen and (max-width: 1100px) {
  #headerwrap #main-nav a:hover, #main-nav .current-menu-item > a { color: var(--accent); }
}

.cat-products .info-card { scroll-margin-top: 130px; }
