/* =========================================================
   TIENDITA FISHING — main.css
   Tokens de marca + base. Variante clara con .theme-light
   Paleta del logo: azul marino profundo + azul brillante + blanco
   ========================================================= */

:root {
  /* Marca */
  --am-blue: #1e86eb;
  --am-blue-600: #146bc7;
  --am-blue-glow: rgba(30, 134, 235, 0.35);

  /* Tema OSCURO (por defecto) — azul marino del logo */
  --am-bg: #060d1e;
  --am-bg-2: #0a1428;
  --am-surface: #0e1b36;
  --am-surface-2: #142344;
  --am-border: #22345e;
  --am-text: #e9f0fb;
  --am-muted: #92a3c7;
  --am-white: #ffffff;

  /* UI */
  --am-radius: 14px;
  --am-radius-sm: 10px;
  --am-shadow: 0 10px 30px rgba(2, 8, 22, 0.55);
  --am-shadow-blue: 0 8px 24px var(--am-blue-glow);
  --am-maxw: 1240px;
  --am-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --am-head: "Montserrat", "Inter", system-ui, sans-serif;
}

/* === VARIANTE CLARA: agregar clase .theme-light al <body> === */
body.theme-light {
  --am-bg: #f2f6fc;
  --am-bg-2: #ffffff;
  --am-surface: #ffffff;
  --am-surface-2: #eaf1fa;
  --am-border: #d9e4f2;
  --am-text: #0e1b36;
  --am-muted: #58698c;
  --am-white: #0e1b36;
  --am-shadow: 0 10px 30px rgba(14, 27, 54, 0.10);
}

/* === Reset suave === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--am-bg);
  color: var(--am-text);
  font-family: var(--am-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--am-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }

.am-container { max-width: var(--am-maxw); margin: 0 auto; padding: 0 20px; }

/* === Botones === */
.am-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--am-blue);
  color: #fff; font-weight: 700;
  padding: .8rem 1.4rem; border: 0; border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--am-shadow-blue);
}
.am-btn:hover { background: var(--am-blue-600); transform: translateY(-2px); }
.am-btn--ghost {
  background: transparent; color: var(--am-text);
  border: 1.5px solid var(--am-border); box-shadow: none;
}
.am-btn--ghost:hover { border-color: var(--am-blue); color: var(--am-blue); transform: translateY(-2px); }

/* === Topbar === */
.am-topbar { background: #060607; border-bottom: 1px solid var(--am-border); font-size: 12.5px; color: var(--am-muted); }
.am-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
body.theme-light .am-topbar { background: #11131a; color: #d4d7de; }

/* === Header === */
.am-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--am-bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--am-border);
  transition: box-shadow .25s ease, background .25s ease;
}
.am-header.is-scrolled { background: var(--am-bg); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.am-header__inner { display: flex; align-items: center; gap: 22px; height: 84px; }
.am-logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.am-logo__img { height: 56px !important; width: auto; max-width: 220px; display: block; flex: 0 0 auto; }
.am-logo__img--light { display: none; }
body.theme-light .am-logo__img--dark { display: none; }
body.theme-light .am-logo__img--light { display: block; }

/* Buscador */
.am-search { flex: 1 1 auto; max-width: 560px; display: flex; align-items: center; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 999px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.am-search:focus-within { border-color: var(--am-blue); box-shadow: 0 0 0 3px var(--am-blue-glow); }
.am-search__input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--am-text); padding: 12px 18px; font-size: 14px; }
.am-search__input::placeholder { color: var(--am-muted); }
.am-search__btn { background: var(--am-blue); color: #fff; border: 0; padding: 0 18px; align-self: stretch; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.am-search__btn:hover { background: var(--am-blue-600); }

/* Buscador predictivo (dropdown) */
.am-suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 90;
  background: var(--am-surface); border: 1px solid var(--am-border);
  border-radius: 16px; box-shadow: var(--am-shadow); overflow: hidden;
  max-height: 70vh; overflow-y: auto;
}
.am-suggest__loading, .am-suggest__empty { padding: 18px; color: var(--am-muted); font-size: 14px; text-align: center; }
.am-suggest__cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--am-border); }
.am-suggest__cat { font-size: 12.5px; font-weight: 700; color: var(--am-text); background: var(--am-bg-2); border: 1px solid var(--am-border); border-radius: 999px; padding: 6px 12px; }
.am-suggest__cat:hover { border-color: var(--am-blue); color: var(--am-blue); }
.am-suggest__cat b { color: var(--am-muted); font-weight: 700; }
.am-suggest__list { list-style: none; margin: 0; padding: 6px; }
.am-suggest__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; transition: background .15s; }
.am-suggest__item:hover { background: var(--am-surface-2); }
.am-suggest__item img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 9px; border: 1px solid var(--am-border); flex: 0 0 auto; }
.am-suggest__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.am-suggest__t { color: var(--am-text); font-weight: 600; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-suggest__c { color: var(--am-orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.am-suggest__p { color: var(--am-white); font-weight: 800; font-size: 14px; white-space: nowrap; }
.am-suggest__all { display: block; text-align: center; padding: 13px; font-weight: 700; font-size: 13.5px; color: var(--am-blue); border-top: 1px solid var(--am-border); background: var(--am-bg-2); }
.am-suggest__all:hover { background: var(--am-surface-2); }

/* Nav */
.am-nav { display: flex; gap: 4px; align-items: center; flex: 0 0 auto; }
.am-nav a { padding: .5rem .9rem; border-radius: 999px; color: var(--am-muted); font-weight: 600; white-space: nowrap; transition: color .2s, background .2s; }
.am-nav a:hover { color: var(--am-text); background: var(--am-surface); }

/* Carrito */
.am-header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.am-cart { display: flex; align-items: center; gap: 10px; color: var(--am-text); }
.am-cart:hover { color: var(--am-blue); }
.am-cart__ico { position: relative; display: inline-flex; color: var(--am-text); }
.am-cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--am-blue); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
}
.am-cart__label { display: flex; flex-direction: column; line-height: 1.15; }
.am-cart__label small { color: var(--am-muted); font-size: 11px; }
.am-cart__label strong { font-size: 14px; color: var(--am-text); }

/* === Mini-carrito flotante (hover) === */
.am-cart-wrap { position: relative; }
.am-minicart {
  position: absolute; top: calc(100% + 12px); right: -6px; width: 350px; z-index: 80;
  background: var(--am-surface); border: 1px solid var(--am-border);
  border-radius: 16px; padding: 16px; box-shadow: var(--am-shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.am-minicart::before { /* puente invisible para que el mouse no "caiga" al viajar */
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.am-minicart::after { /* flechita */
  content: ""; position: absolute; top: -6px; right: 26px; width: 12px; height: 12px;
  background: var(--am-surface); border-left: 1px solid var(--am-border); border-top: 1px solid var(--am-border);
  transform: rotate(45deg);
}
.am-cart-wrap:hover .am-minicart,
.am-cart-wrap:focus-within .am-minicart {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}

/* Contenido del mini-carrito (markup nativo de WooCommerce) */
.am-minicart ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.am-minicart li.woocommerce-mini-cart-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 4px 12px; align-items: center;
  padding: 11px 26px 11px 0; border-bottom: 1px solid var(--am-border); position: relative;
}
.am-minicart li.woocommerce-mini-cart-item a { color: var(--am-text); font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.am-minicart li.woocommerce-mini-cart-item a:hover { color: var(--am-blue); }
.am-minicart li.woocommerce-mini-cart-item img {
  width: 54px !important; height: 54px !important; object-fit: contain;
  background: #fff; border-radius: 10px; border: 1px solid var(--am-border);
  grid-row: 1 / 3; margin: 0 !important; float: none !important;
}
.am-minicart li.woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--am-muted); font-size: 13px; }
.am-minicart li.woocommerce-mini-cart-item .quantity .woocommerce-Price-amount { color: var(--am-blue); font-weight: 700; }
.am-minicart a.remove {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; line-height: 20px; text-align: center;
  border-radius: 999px; color: var(--am-muted) !important; font-size: 16px; font-weight: 700;
  border: 1px solid var(--am-border); transition: all .15s;
}
.am-minicart a.remove:hover { background: #e5484d; border-color: #e5484d; color: #fff !important; }

.am-minicart .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0; padding: 14px 2px 12px; color: var(--am-muted); font-size: 14px;
}
.am-minicart .woocommerce-mini-cart__total .woocommerce-Price-amount { color: var(--am-white); font-weight: 800; font-size: 18px; }

.am-minicart .woocommerce-mini-cart__buttons { display: flex; gap: 10px; margin: 0; }
.am-minicart .woocommerce-mini-cart__buttons a.button {
  flex: 1; text-align: center; border-radius: 999px; padding: 11px 10px;
  font-weight: 700; font-size: 13.5px; border: 1.5px solid var(--am-border);
  background: transparent; color: var(--am-text); transition: all .2s;
}
.am-minicart .woocommerce-mini-cart__buttons a.button:hover { border-color: var(--am-blue); color: var(--am-blue); }
.am-minicart .woocommerce-mini-cart__buttons a.button.checkout {
  background: var(--am-blue); border-color: var(--am-blue); color: #fff;
}
.am-minicart .woocommerce-mini-cart__buttons a.button.checkout:hover { background: var(--am-blue-600); color: #fff; }

.am-minicart .woocommerce-mini-cart__empty-message {
  text-align: center; color: var(--am-muted); margin: 6px 0; padding: 18px 8px; font-size: 14px;
}
.am-minicart .woocommerce-mini-cart__empty-message::before {
  content: "🛒"; display: block; font-size: 30px; margin-bottom: 8px;
}

/* === Hero === */
.am-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(30,134,235,.18), transparent 60%),
    linear-gradient(180deg, var(--am-bg-2), var(--am-bg));
  border-bottom: 1px solid var(--am-border);
}
.am-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 20px; }
.am-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--am-blue); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px;
}
.am-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.am-hero h1 em { color: var(--am-blue); font-style: normal; }
.am-hero p { color: var(--am-muted); font-size: 1.15rem; max-width: 46ch; margin: 18px 0 28px; }
.am-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.am-hero__art {
  background: var(--am-surface); border: 1px solid var(--am-border);
  border-radius: 24px; box-shadow: var(--am-shadow);
  display: grid; place-items: center; min-height: 320px;
}
.am-hero__art--img { padding: 0; overflow: hidden; border-color: var(--am-border); background: transparent; min-height: 0; }
.am-hero__art--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.am-hero__stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 30px 0 0; }
.am-hero__stats li { display: flex; flex-direction: column; line-height: 1.25; }
.am-hero__stats strong { font-size: 1.35rem; color: var(--am-blue); font-weight: 800; }
.am-hero__stats span { color: var(--am-muted); font-size: .85rem; }

/* === Placeholders para fotos (las hace el diseñador y se reemplazan) === */
.am-ph {
  display: grid; place-items: center; align-content: center; gap: 6px;
  color: var(--am-muted); text-align: center;
  border: 1.5px dashed var(--am-border); border-radius: 24px;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(30,134,235,.045) 14px 28px),
    var(--am-surface);
}
.am-ph__cam { color: var(--am-blue); opacity: .8; }
.am-ph span { font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.am-ph small { font-size: 11.5px; opacity: .75; }

/* === Barra de confianza === */
.am-trustbar { border-bottom: 1px solid var(--am-border); background: var(--am-bg-2); }
.am-trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 20px; }
.am-trust { display: flex; align-items: center; gap: 13px; }
.am-trust svg { color: var(--am-blue); flex: 0 0 auto; }
.am-trust strong { display: block; font-size: 14px; color: var(--am-text); line-height: 1.25; }
.am-trust span { color: var(--am-muted); font-size: 12.5px; }

/* === Secciones alternadas === */
.am-section--alt { background: var(--am-bg-2); border-top: 1px solid var(--am-border); border-bottom: 1px solid var(--am-border); }

/* === Banners dobles === */
.am-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.am-banner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: center;
  background: linear-gradient(135deg, var(--am-surface), #14161c 70%);
  border: 1px solid var(--am-border); border-radius: 22px; padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.am-banner:hover { transform: translateY(-4px); border-color: var(--am-blue); box-shadow: var(--am-shadow); }
.am-banner--oil { background: linear-gradient(135deg, var(--am-surface), #1d140c 75%); }
.am-banner__tag { color: var(--am-blue); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.am-banner__txt h3 { font-size: 1.45rem; margin: 8px 0; color: var(--am-text); }
.am-banner__txt p { color: var(--am-muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; }
.am-banner__cta { color: var(--am-blue); font-weight: 800; font-size: 14px; }
.am-ph--banner { min-height: 210px; border-radius: 16px; }
/* Hero y banners como imagen (cuando hay foto cargada/incrustada) */
.am-hero--banner { padding: 0; }
.am-hero__banner { display: block; }
.am-hero__banner img { display: block; width: 100%; height: auto; }
.am-banner--img { display: block; padding: 0; overflow: hidden; }
.am-banner--img img { display: block; width: 100%; height: auto; }

/* === Banda mayorista === */
.am-wholesale {
  background:
    radial-gradient(700px 200px at 15% 120%, rgba(30,134,235,.22), transparent 60%),
    linear-gradient(120deg, #17181d, #0d0e11);
  border-top: 1px solid var(--am-border); border-bottom: 1px solid var(--am-border);
}
body.theme-light .am-wholesale { background: linear-gradient(120deg, #1b1d24, #2a2d36); }
.am-wholesale__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 44px 20px; flex-wrap: wrap; }
.am-wholesale h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.am-wholesale p { color: #b9bcc5; margin: 0; max-width: 56ch; }
.am-btn--big { padding: 1rem 1.9rem; font-size: 16px; }

/* === Bloque SEO === */
.am-seo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.am-seo h2 { font-size: 1.25rem; }
.am-seo p { color: var(--am-muted); font-size: 14.5px; line-height: 1.75; }
.am-seo a { color: var(--am-blue); font-weight: 600; }
.am-seo a:hover { text-decoration: underline; }

/* === Secciones / categorías === */
.am-section { padding: 64px 0; }
.am-section__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.am-section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.am-section__head p { color: var(--am-muted); margin: 6px 0 0; }
.am-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.am-cat-card {
  background: var(--am-surface); border: 1px solid var(--am-border);
  border-radius: var(--am-radius); padding: 0; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.am-cat-card:hover { transform: translateY(-4px); border-color: var(--am-blue); box-shadow: var(--am-shadow); }
/* Foto real del producto arriba (panel claro para fotos sobre blanco/transparente). */
.am-cat-card__media {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(160deg, #ffffff, #eef3fa);
}
.am-cat-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 12px; transition: transform .25s ease;
}
.am-cat-card:hover .am-cat-card__media img { transform: scale(1.05); }
/* Sin foto → caemos al icono SVG centrado sobre el surface del tema. */
.am-cat-card__media.is-empty {
  aspect-ratio: auto; padding: 24px 0; background: transparent; display: grid; place-items: center;
}
.am-cat-card__ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30,134,235,.16), rgba(30,134,235,.05));
  border: 1px solid rgba(30,134,235,.25); color: var(--am-blue);
  transition: background .2s, transform .2s;
}
.am-cat-card:hover .am-cat-card__ico { transform: scale(1.08); background: var(--am-blue); color: #fff; border-color: var(--am-blue); }
.am-cat-card__ico .am-ico { width: 26px; height: 26px; }
.am-cat-card__body { display: block; padding: 14px 18px 18px; }
.am-cat-card__body h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--am-text); }
.am-cat-card__count { color: var(--am-muted); font-size: .9rem; }
.am-catnav__ico .am-ico { display: block; width: 19px; height: 19px; }

/* === Footer PRO === */
.am-footer { background: var(--am-bg-2); border-top: 1px solid var(--am-border); margin-top: 64px; }

/* CTA de ayuda */
.am-footer__cta { border-bottom: 1px solid var(--am-border); background: radial-gradient(640px 160px at 12% 130%, rgba(30,134,235,.14), transparent 60%); }
.am-footer__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 20px; flex-wrap: wrap; }
.am-footer__cta strong { display: block; color: var(--am-text); font-size: 1.05rem; }
.am-footer__cta span { color: var(--am-muted); font-size: 14px; }

/* Columnas */
.am-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding: 50px 20px 38px; }
.am-footer h4 { color: var(--am-white); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.am-footer a, .am-footer p { color: var(--am-muted); display: block; padding: 5px 0; font-size: 14px; margin: 0; }
.am-footer a:hover { color: var(--am-blue); }
.am-footer a strong { color: var(--am-blue); }
.am-footer__brand p { margin-top: 14px; line-height: 1.65; }
.am-footer__logo { height: 84px; width: auto; }
.am-footer__logo--light { display: none; }
body.theme-light .am-footer__logo--dark { display: none; }
body.theme-light .am-footer__logo--light { display: block; }
.am-footer__cico { vertical-align: -2px; margin-right: 7px; color: var(--am-blue); }

/* Redes */
.am-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.am-footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--am-border); border-radius: 999px; color: var(--am-muted);
  transition: all .2s;
}
.am-footer__social a:hover { border-color: var(--am-blue); color: var(--am-blue); transform: translateY(-2px); }

/* Métodos de pago */
.am-footer__pay { border-top: 1px solid var(--am-border); }
.am-footer__pay-inner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.am-footer__pay-label, .am-footer__pay-note { color: var(--am-muted); font-size: 13px; }
.am-footer__pay-note { margin-left: auto; }
.am-footer__pay-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.am-paychip {
  border: 1px solid var(--am-border); border-radius: 8px; padding: 5px 12px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--am-text);
  background: var(--am-surface);
}

/* Legales */
.am-footer__legal { border-top: 1px solid var(--am-border); }
.am-footer__legal .am-container { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 20px; justify-content: center; }
.am-footer__legal a { color: var(--am-muted); font-size: 13px; }
.am-footer__legal a:hover { color: var(--am-blue); }

/* Barra final */
.am-footer__bottom { border-top: 1px solid var(--am-border); }
.am-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; color: var(--am-muted); font-size: .85rem; flex-wrap: wrap; }

/* === Responsive === */
/* === Barra de anuncio === */
.am-announce { background: var(--am-blue); color: #fff; font-size: 13px; font-weight: 700; }
.am-announce .am-container { padding: 8px 20px; text-align: center; }

/* === WhatsApp flotante === */
.am-wa { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; align-items: center; background: #25D366; color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 10px 28px rgba(37,211,102,.45); }
.am-wa svg { flex: 0 0 auto; }
.am-wa__txt { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-weight: 700; transition: max-width .3s ease, opacity .25s ease, margin .3s ease; }
.am-wa:hover { color: #fff; }
.am-wa:hover .am-wa__txt { max-width: 170px; opacity: 1; margin: 0 6px 0 10px; }
.am-wa::after { content: ""; position: absolute; inset: 0; border-radius: 999px; animation: am-wa-pulse 2.2s infinite; }
@keyframes am-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* === Hamburguesa === */
.am-burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.am-burger span { width: 24px; height: 2px; background: var(--am-text); border-radius: 2px; }

/* === Drawer móvil === */
.am-drawer { position: fixed; inset: 0; z-index: 130; }
.am-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.am-drawer.is-open .am-drawer__overlay { opacity: 1; }
.am-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: 300px; max-width: 84vw; background: var(--am-bg-2); border-left: 1px solid var(--am-border); transform: translateX(100%); transition: transform .25s ease; padding: 18px; overflow-y: auto; }
.am-drawer.is-open .am-drawer__panel { transform: translateX(0); }
.am-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.am-drawer__close { background: transparent; border: 0; color: var(--am-text); font-size: 22px; cursor: pointer; line-height: 1; }
.am-drawer__nav { display: flex; flex-direction: column; }
.am-drawer__nav a { padding: 12px 8px; color: var(--am-text); font-weight: 600; border-radius: 10px; display: flex; align-items: center; gap: 11px; }
.am-drawer__nav a:hover { background: var(--am-surface); color: var(--am-blue); }
.am-drawer__nav a .am-ico { width: 20px; height: 20px; color: var(--am-blue); }
.am-drawer__label { color: var(--am-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin: 14px 8px 4px; }

/* === Barra pegajosa de producto (móvil) === */
.am-stickybar { display: none; }

/* === Barra de envío gratis (carrito) === */
.am-freeship { background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.am-freeship--won { border-color: #2faa54; color: #39c46a; text-align: center; }
.am-freeship__txt { font-size: 14px; color: var(--am-text); margin-bottom: 8px; }
.am-freeship__bar { height: 8px; background: var(--am-bg-2); border-radius: 999px; overflow: hidden; }
.am-freeship__bar span { display: block; height: 100%; background: var(--am-orange); border-radius: 999px; transition: width .4s ease; }

@media (max-width: 880px) {
  .am-hero__inner { grid-template-columns: 1fr; }
  .am-hero__art { order: -1; }
  .am-footer__inner { grid-template-columns: 1fr 1fr; }
  .am-footer__brand { grid-column: 1 / -1; }
  .am-topbar__right { display: none; }
  .am-header__inner { flex-wrap: wrap; height: auto; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .am-search { order: 3; flex-basis: 100%; max-width: none; }
  .am-nav { display: none; }
  .am-burger { display: flex; order: 2; }
  .am-header__actions { margin-left: auto; } /* empuja carrito + menú a la derecha en móvil */
  .am-cart__label { display: none; }
  .am-minicart { display: none; } /* en móvil, tap = ir al carrito */
  .am-trustbar__inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .am-banners { grid-template-columns: 1fr; }
  .am-banner { grid-template-columns: 1fr; }
  .am-ph--banner { min-height: 160px; }
  .am-seo__cols { grid-template-columns: 1fr; gap: 10px; }
  .am-hero__stats { gap: 22px; flex-wrap: wrap; }

  /* WhatsApp más arriba para no chocar con la barra pegajosa */
  .am-wa { right: 16px; bottom: 84px; }
  .am-wa:hover .am-wa__txt { max-width: 0; opacity: 0; margin: 0; } /* en móvil solo el ícono */

  /* Barra pegajosa de producto visible solo en móvil */
  .am-stickybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 115; align-items: center; gap: 12px; background: var(--am-surface); border-top: 1px solid var(--am-border); padding: 10px 14px; box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
  .am-stickybar__info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .am-stickybar__name { font-size: 12px; color: var(--am-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .am-stickybar__price { font-weight: 800; color: var(--am-blue); }
  .am-stickybar__price del { color: var(--am-muted); font-weight: 400; font-size: .85em; }
  .am-stickybar__btn { background: var(--am-blue); color: #fff; border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 800; font-size: 15px; white-space: nowrap; cursor: pointer; }
  .single-product { padding-bottom: 72px; } /* espacio para la barra pegajosa */
}

/* ===== Barra inferior tipo app (solo móvil) ===== */
.am-bottombar { display: none; }
.am-bottombar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px 9px; color: var(--am-muted); font-size: 11px; font-weight: 600; position: relative; text-align: center; }
.am-bottombar__item.is-active { color: var(--am-blue); }
.am-bottombar__item svg { width: 23px; height: 23px; }
.am-bottombar__badge { position: absolute; top: 3px; left: 50%; margin-left: 5px; background: var(--am-blue); color: #fff; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }

@media (max-width: 880px) {
  /* Barra inferior */
  .am-bottombar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 121; background: var(--am-surface); border-top: 1px solid var(--am-border); box-shadow: 0 -6px 20px rgba(0,0,0,.28); padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: 62px; }
  .single-product .am-bottombar { display: none; } /* en la ficha manda "Agregar al carrito" */
  .am-wa { display: none; }            /* WhatsApp ahora vive en la barra inferior */
  .amchat { bottom: 74px !important; } /* sube la burbuja del chat sobre la barra */

  /* Home más compacto: productos más arriba */
  .am-hero__inner { padding: 26px 16px; gap: 18px; }
  .am-hero p { font-size: 1rem; margin: 12px 0 18px; }
  .am-hero__art--img img { height: auto; max-height: 220px; }
  .am-hero__stats { margin-top: 16px; }
  .am-section { padding: 34px 0; }
  .am-cat-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .am-cat-card { flex: 0 0 150px; scroll-snap-align: start; }
}

/* =========================================================
   TIENDITA FISHING — Hero marino animado + extras
   ========================================================= */
.am-hero--sea { position: relative; overflow: hidden; }
.am-hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; pointer-events: none; }

.am-hero__art--sea {
  position: relative;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
}
.am-sea__rings {
  position: absolute; width: 115%; max-width: 460px;
  animation: am-sea-spin 26s linear infinite;
  opacity: .9;
}
@keyframes am-sea-spin { to { transform: rotate(360deg); } }

.am-sea__fish {
  position: relative; width: 62%; max-width: 300px;
  filter: drop-shadow(0 14px 30px rgba(30, 134, 235, .35));
  animation: am-sea-swim 5.5s ease-in-out infinite;
}
@keyframes am-sea-swim {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}

.am-sea__hook {
  position: absolute; top: -6%; right: 6%; width: 56px;
  transform-origin: top center;
  animation: am-sea-hook 4.5s ease-in-out infinite;
  opacity: .95;
}
@keyframes am-sea-hook {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(7deg); }
}

.am-sea__bubble {
  position: absolute; bottom: 8%;
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(77, 163, 255, .65);
  animation: am-sea-bubble 6s ease-in infinite;
}
.am-sea__bubble--1 { left: 16%; animation-delay: 0s; }
.am-sea__bubble--2 { left: 30%; width: 6px; height: 6px; animation-delay: 1.6s; }
.am-sea__bubble--3 { right: 26%; width: 14px; height: 14px; animation-delay: 3s; }
.am-sea__bubble--4 { right: 12%; width: 7px; height: 7px; animation-delay: 4.4s; }
@keyframes am-sea-bubble {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateY(-260px) translateX(12px); opacity: 0; }
}

/* Arte de los banners sin foto (icono gigante flotante) */
.am-banner__art {
  display: flex; align-items: center; justify-content: center;
  color: var(--am-blue);
  min-width: 130px;
  animation: am-sea-swim 6s ease-in-out infinite;
}

/* Estado vacío de la grilla de categorías */
.am-cat-grid__empty {
  grid-column: 1 / -1;
  color: var(--am-muted);
  background: var(--am-surface);
  border: 1px dashed var(--am-border);
  border-radius: var(--am-radius);
  padding: 26px; text-align: center;
}

/* Títulos con Montserrat + tracking de marca */
h1, h2, h3, .am-btn, .am-logo { font-family: var(--am-head); }
.am-hero h1 { letter-spacing: .01em; }

@media (max-width: 900px) {
  .am-hero__art--sea { min-height: 240px; }
  .am-sea__fish { max-width: 210px; }
  .am-hero__waves { height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .am-sea__rings, .am-sea__fish, .am-sea__hook, .am-sea__bubble, .am-banner__art { animation: none; }
}

/* =========================================================
   TIENDITA FISHING — Identidad propia (diferenciación)
   Acento aqua "océano" + botones degradado + siluetas propias.
   Este bloque va al final: sus reglas ganan por orden de cascada.
   ========================================================= */
:root {
  --am-orange: #ff5800;
  --am-orange-600: #db4b00;
  --am-radius: 18px;      /* más redondeado que Accesorios (14px) */
  --am-radius-sm: 12px;
}

/* Botón primario: degradado azul→aqua (Accesorios es naranja plano) */
.am-btn:not(.am-btn--ghost) {
  background: var(--am-orange);
  box-shadow: 0 10px 26px rgba(255,88,0,.32);
}
.am-btn:not(.am-btn--ghost):hover {
  background: var(--am-orange-600);
}

/* Eyebrow del hero como chip con borde aqua */
.am-hero__eyebrow {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,88,0,.10);
  border: 1px solid rgba(255,88,0,.35);
  color: var(--am-orange); margin-bottom: 20px;
}

/* Encabezado de sección: barra-acento vertical + subtítulo aqua */
.am-section__head h2 { position: relative; padding-left: 16px; }
.am-section__head h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em;
  width: 5px; border-radius: 999px;
  background: var(--am-orange);
}

/* Tarjetas de categoría: icono CIRCULAR + barra superior que aparece al hover */
.am-cat-card { position: relative; overflow: hidden; }
.am-cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: var(--am-orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.am-cat-card:hover::before { transform: scaleX(1); }
.am-cat-card:hover { border-color: var(--am-orange); }
.am-cat-card__ico { border-radius: 50%; }   /* círculo en vez de squircle */
.am-cat-card:hover .am-cat-card__ico {
  background: var(--am-orange);
  border-color: var(--am-orange);
}

/* Barra de confianza: items en tarjetas (Accesorios los tiene sueltos) */
.am-trustbar { background: var(--am-bg); }
.am-trust {
  background: var(--am-surface); border: 1px solid var(--am-border);
  border-radius: var(--am-radius-sm); padding: 14px 16px;
}
.am-trust:nth-child(even) svg { color: var(--am-orange); }  /* duotono */

/* Hero: burbuja aqua + halo aqua detrás del pez */
.am-sea__bubble--2, .am-sea__bubble--4 { border-color: rgba(255,88,0,.7); }
.am-sea__fish { filter: drop-shadow(0 14px 30px rgba(255,88,0,.28)); }

/* Chips de stats del hero con separador aqua */
.am-hero__stats li:not(:last-child) { padding-right: 34px; border-right: 1px solid var(--am-border); }
.am-hero__stats strong { color: var(--am-orange); }

/* =========================================================
   TIENDITA FISHING — Header PRO 2 pisos + mega-menú + secciones nuevas
   ========================================================= */
.tf-bar { background: color-mix(in srgb, var(--am-bg) 90%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--am-border); }
.tf-bar__row { display: flex; align-items: center; gap: 20px; height: 74px; }
.tf-logo .am-logo__img { height: 46px !important; }
.tf-search { flex: 1 1 auto; max-width: 640px; }
.tf-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tf-iconbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; color: var(--am-muted); font-size: 11px; font-weight: 600; transition: color .15s, background .15s; }
.tf-iconbtn:hover { color: var(--am-orange); background: var(--am-surface); }
.tf-cart-wrap { position: relative; }
.tf-cart { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 14px; margin-left: 6px; background: var(--am-orange); color: #fff; }
.tf-cart:hover { color: #fff; filter: brightness(1.06); }
.tf-cart .am-cart__ico { color: #fff; }
.tf-cart .am-cart__label small { color: rgba(255,255,255,.82); }
.tf-cart .am-cart__label strong { color: #fff; }
.tf-cart .am-cart-count { background: #fff; color: var(--am-blue); }
.tf-header .am-burger { display: none; }
.tf-catbar { background: var(--am-bg-2); border-bottom: 1px solid var(--am-border); }
.tf-catbar__row { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; }
.tf-mega-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 800; font-size: 14px; color: #fff; background: var(--am-orange); flex: 0 0 auto; }
.tf-mega-btn__chev { transition: transform .2s; }
.tf-mega-btn.is-open .tf-mega-btn__chev { transform: rotate(180deg); }
.tf-catbar__nav { display: flex; gap: 2px; margin-left: 6px; overflow-x: auto; scrollbar-width: none; }
.tf-catbar__nav::-webkit-scrollbar { display: none; }
.tf-catbar__nav a { padding: 8px 12px; border-radius: 999px; color: var(--am-muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s, background .15s; }
.tf-catbar__nav a:hover { color: var(--am-text); background: var(--am-surface); }
.tf-catbar__promo { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--am-orange); font-weight: 700; font-size: 13px; white-space: nowrap; padding-left: 12px; }
.tf-mega { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 18px; box-shadow: var(--am-shadow); padding: 18px; }
.tf-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tf-mega__item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.tf-mega__item:hover { background: var(--am-bg-2); border-color: var(--am-orange); }
.tf-mega__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, rgba(30,134,235,.16), rgba(255,88,0,.08)); color: var(--am-blue); flex: 0 0 auto; }
.tf-mega__txt { display: flex; flex-direction: column; line-height: 1.2; }
.tf-mega__txt small { color: var(--am-muted); font-size: 12px; }
.tf-mega__empty { color: var(--am-muted); padding: 22px; text-align: center; margin: 0; }
.tf-mega__all { display: inline-block; margin-top: 12px; color: var(--am-orange); font-weight: 700; }
.tf-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tf-type { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 18px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tf-type:hover { transform: translateY(-4px); border-color: var(--am-orange); box-shadow: 0 16px 40px rgba(255,88,0,.14); }
.tf-type__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, rgba(30,134,235,.16), rgba(255,88,0,.08)); color: var(--am-blue); }
.tf-type strong { font-size: 1.05rem; }
.tf-type > span { color: var(--am-muted); font-size: .9rem; flex: 1; }
.tf-type em { color: var(--am-orange); font-style: normal; font-weight: 700; font-size: .85rem; }
.tf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tf-step { padding: 24px 20px; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 18px; }
.tf-step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--am-orange); color: #fff; font-weight: 800; margin-bottom: 12px; }
.tf-step strong { display: block; margin-bottom: 4px; }
.tf-step span { color: var(--am-muted); font-size: .9rem; }
.tf-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tf-review { margin: 0; padding: 24px; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: 18px; }
.tf-review__stars { color: #ffb020; letter-spacing: 2px; margin-bottom: 10px; }
.tf-review blockquote { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.5; }
.tf-review figcaption strong { display: block; }
.tf-review figcaption span { color: var(--am-muted); font-size: .85rem; }
.tf-news { background: var(--am-orange); }
.tf-news__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 20px; flex-wrap: wrap; }
.tf-news__txt h2 { color: #fff; margin: 0 0 4px; }
.tf-news__txt p { color: rgba(255,255,255,.9); margin: 0; }
.tf-news__form { display: flex; gap: 10px; flex: 1 1 340px; max-width: 460px; }
.tf-news__form input { flex: 1; border: 0; border-radius: 999px; padding: 14px 18px; font-size: 15px; color: #0e1b36; }
.tf-news__form .am-btn { background: #0e1b36 !important; box-shadow: none; }
@media (max-width: 900px) {
  .tf-bar__row { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .tf-search { order: 3; flex: 1 1 100%; max-width: none; }
  .tf-iconbtn span { display: none; }
  .tf-cart .am-cart__label { display: none; }
  .tf-catbar { display: none; }
  .tf-logo .am-logo__img { height: 40px !important; }
  .tf-header .am-burger { display: inline-flex; }
  .tf-types, .tf-steps { grid-template-columns: 1fr 1fr; }
  .tf-reviews { grid-template-columns: 1fr; }
}

/* --- Placeholders de banner ("aquí va tu banner", el dueño los sube luego) --- */
.tf-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: var(--am-muted); background: var(--am-surface); border: 2px dashed var(--am-border); border-radius: 18px; padding: 28px; }
.tf-ph svg { opacity: .65; margin-bottom: 4px; }
.tf-ph strong { color: var(--am-text); font-size: 1.15rem; font-family: var(--am-head); }
.tf-ph span { color: var(--am-orange); font-weight: 700; font-size: .92rem; }
.tf-ph small { font-size: .8rem; }
.tf-ph--hero { min-height: 320px; }
.tf-ph--banner { min-height: 240px; }

/* --- Hero con video de YouTube (fondo cubierto + texto encima) --- */
.am-hero--video { position: relative; }
.tf-herovid { position: relative; min-height: 480px; overflow: hidden; }
.tf-herovid__frame { position: absolute; inset: 0; pointer-events: none; }
.tf-herovid__frame iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; }
.tf-herovid__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,13,30,.9) 0%, rgba(6,13,30,.6) 45%, rgba(6,13,30,.35) 100%); }
.tf-herovid__content { position: relative; z-index: 2; padding: 84px 20px; max-width: var(--am-maxw); }
.tf-herovid__content h1 { font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; max-width: 18ch; }
.tf-herovid__content p { color: #d7e2f5; font-size: 1.15rem; max-width: 46ch; margin: 18px 0 28px; }
.tf-herovid__content .am-hero__eyebrow { color: var(--am-orange); }
@media (max-width: 900px) { .tf-herovid { min-height: 360px; } .tf-herovid__content { padding: 56px 20px; } }

/* --- Mega-menú por columnas (padre + subcategorías) --- */
.tf-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 22px; }
.tf-mega__col { min-width: 0; }
.tf-mega__head { display: flex; align-items: center; gap: 8px; font-family: var(--am-head); font-weight: 800; font-size: 14px; color: var(--am-text); padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--am-border); }
.tf-mega__head:hover { color: var(--am-orange); }
.tf-mega__head .tf-mega__ico { width: 34px; height: 34px; }
.tf-mega__head b { color: var(--am-muted); font-weight: 700; font-size: 12px; margin-left: auto; }
.tf-mega__sub { list-style: none; margin: 0; padding: 0; }
.tf-mega__sub li { margin: 0; }
.tf-mega__sub a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 6px; border-radius: 8px; color: var(--am-muted); font-size: 13px; transition: color .12s, background .12s; }
.tf-mega__sub a:hover { color: var(--am-text); background: var(--am-bg-2); }
.tf-mega__sub a span { color: var(--am-border); font-size: 11px; }
.tf-mega__more { color: var(--am-orange) !important; font-weight: 700; }
.tf-mega { max-height: 74vh; overflow-y: auto; }

/* --- Hero de video A PANTALLA COMPLETA + reproductor que cubre --- */
.am-hero--video .tf-herovid { min-height: 92vh; display: flex; align-items: center; }
.tf-herovid__frame { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tf-herovid__frame #tf-yt,
.tf-herovid__frame iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0; pointer-events: none;
}
.am-hero--video .tf-herovid__content { width: 100%; }
@media (max-width: 900px) { .am-hero--video .tf-herovid { min-height: 68vh; } }

/* Video del hero: escala un poco para recortar la barra/título de YouTube */
.tf-herovid__frame #tf-yt,
.tf-herovid__frame iframe { transform: translate(-50%, -50%) scale(1.25); }

/* Logo oficial (PNG cuadrado con emblema + wordmark) */
.tf-logo .am-logo__img { height: 58px !important; width: auto !important; max-width: none !important; object-fit: contain; }
@media (max-width: 900px) { .tf-logo .am-logo__img { height: 46px !important; } }
.am-footer__logo { height: 96px !important; width: auto; margin-bottom: 8px; }

/* Logo del header a 100px (header más alto para que quepa) */
.tf-bar__row { height: auto; min-height: 118px; }
.tf-logo .am-logo__img { height: 100px !important; }
@media (max-width: 900px) { .tf-bar__row { min-height: 0; } .tf-logo .am-logo__img { height: 54px !important; } }

/* Fix mini-carrito: el 1er piso (con el carrito) debe quedar por ENCIMA del 2do piso */
.tf-bar { position: relative; z-index: 3; }
.tf-catbar { position: relative; z-index: 2; }
.am-minicart { z-index: 200; }
/* En móvil el carrito lleva a la página del carrito; no mostramos el desplegable */
@media (max-width: 900px) { .am-minicart { display: none !important; } }
