/* Funko Imports — clone (100% Funko) · overrides & extras */

/* ---- Brand logo (comic pop-art PNG) ---- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 80px;
}
.header-content > .wrapper > .brand-logo { margin: -9px 25px -9px 0; }
.header-content > .wrapper > .brand-logo .brand-logo-img { height: 80px; width: auto; }
.mheader-actions > .brand-logo .brand-logo-img { height: 60px; width: auto; }
.mobile-header > .brand-logo .brand-logo-img { height: 56px; width: auto; }
@media (max-width: 480px) {
  .header-content > .wrapper > .brand-logo .brand-logo-img { height: 64px; width: auto; }
}

/* ---- Mega menu open state (JS sets exact height for animation) ---- */
.header-submenu.is-open { height: auto; }
.header-submenu.is-open .header-submenu-category.is-active { opacity: 1; pointer-events: auto; }

/* ---- Focus visibility (accessibility) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #682bb8;
  outline-offset: 2px;
}

/* ---- Favorited heart ---- */
.circle.is-faved { background: #ff0f5b; }
.circle.is-faved > .sprite { filter: brightness(0%) invert(1); }
.circle.is-faved:hover { background: #d60d4f; }

/* ---- Product card WhatsApp button ---- */
.button.is-whatsapp {
  color: #fff;
  font-weight: 700;
  border: 1px solid #25d366;
  background: #25d366;
}
.button.is-whatsapp:hover,
.button.is-whatsapp:active {
  color: #fff;
  border-color: #1ebe5b;
  background-color: #1ebe5b;
}
.button.is-whatsapp .sprite { filter: brightness(0%) invert(1); }
.card-whatsapp {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 21px;
  background: #25d366;
  box-shadow: 0 6px 14px -6px rgba(37, 211, 102, .6);
  transition: background-color .2s ease, transform .2s ease;
}
.card-whatsapp:hover { background: #1ebe5b; transform: scale(1.06); }
.card-whatsapp:active { background: #17a54e; }

/* ---- Listing cards: standardized grid + equal sizing ---- */
#listing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0;
  justify-content: center;
}
@media (min-width: 600px) {
  #listing-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  #listing-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (min-width: 1400px) {
  #listing-cards { grid-template-columns: repeat(5, 1fr); }
}
#listing-cards > .list-item {
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0;
  display: block;
}
#listing-cards > .list-item > .card {
  position: relative;
  height: 100%;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 20px;
  margin: 0;
}
#listing-cards > .list-item > .card > .img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin: 0 0 14px;
  flex-shrink: 0;
}
#listing-cards > .list-item > .card > .title.no-3 {
  flex-grow: 1;
  margin-bottom: 8px;
}
#listing-cards > .list-item > .card > .title.no-3 > .link {
  max-width: none;
}
#listing-cards > .list-item > .card > .title.no-4 {
  margin-bottom: 2px;
  padding-right: 44px;
}

/* ---- Hero showcase (Funko banners) ---- */
.showcase { margin-top: 35px; }
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  padding: 40px 48px;
  text-decoration: none;
}
.hero-slide.is-purple { background: linear-gradient(120deg, #682bb8 0%, #8a4bd8 55%, #5a23a0 100%); }
.hero-slide.is-pink   { background: linear-gradient(120deg, #ff0f5b 0%, #ff4d84 55%, #d60d4f 100%); }
.hero-slide.is-gold   { background: linear-gradient(120deg, #ffc631 0%, #ffd65c 60%, #f5b80a 100%); color: #454545; }
.hero-slide.is-dark   { background: linear-gradient(120deg, #2b2b2b 0%, #454545 60%, #1d1d1d 100%); }
.hero-slide-text { position: relative; z-index: 2; max-width: 55%; }
.hero-slide-kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.hero-slide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -.5px;
}
.hero-slide-sub {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 22px;
  opacity: .92;
  max-width: 460px;
}
.hero-slide-cta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  color: #682bb8;
  border-radius: 25px;
  padding: 13px 26px;
  transition: transform .2s ease, background-color .2s ease;
}
.hero-slide.is-gold .hero-slide-cta { background: #454545; color: #fff; }
.hero-slide-cta:hover { transform: translateY(-2px); }
.hero-slide-img {
  position: absolute;
  right: 4%;
  bottom: -12%;
  width: 40%;
  max-width: 420px;
  z-index: 1;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.35));
}
@media (max-width: 768px) {
  .hero-slide { height: 230px; padding: 26px 22px; }
  .hero-slide-title { font-size: 30px; }
  .hero-slide-sub { font-size: 14px; }
  .hero-slide-img { width: 44%; right: 0; bottom: -8%; }
  .hero-slide-text { max-width: 70%; }
}

/* ---- Funko categories showcase (home) ---- */
.funko-cats { padding: 20px 0 40px; }
.funko-cats .title { text-align: center; }
.funko-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.funko-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: #454545;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.funko-cat:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -18px rgba(104,43,184,.35); border-color: #c7b3e8; }
.funko-cat-img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: contain;
  background: #f7f7f7;
  padding: 10px;
}
.funko-cat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 1000px) {
  .funko-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .funko-cats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Brand strip chips ---- */
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 24px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #454545;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.brand-chip:hover { border-color: #ff0f5b; color: #ff0f5b; }

/* ---- Product detail (clone) helpers ---- */
.product-gallery img { width: 100%; border-radius: 16px; }
.product-info .title.is-large { font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.product-prices { display: flex; gap: 18px; align-items: baseline; margin: 14px 0 18px; }
.product-prices .title.no-1 { font-size: 24px; font-weight: 700; }
.product-prices .title.no-2 { font-size: 18px; }
.is-muted { color: #7f7f7f; }

/* ---- Listing filter bar + sort dropdown (Ordenar por) ---- */
.listing-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
  padding-bottom: 15px;
  padding-right: 170px;
  margin-bottom: 15px;
  border-bottom: 1px solid #c7c7c7;
}
.filterbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.listing-results {
  color: #7f7f7f;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.filterbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 16px;
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  color: #454545;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.filter-chip-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #dcdcdc;
  color: #454545;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.filter-chip-remove:hover { background: #ff0f5b; color: #fff; }
#dropdown-right {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 40px;
  margin-left: 0;
  background: #fff;
  border: 1px solid #c7c7c7 !important;
  border-radius: 15px;
}
#dropdown-right > .link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #454545 !important;
  font-weight: 700;
  font-size: 14px;
}
#dropdown-right > .link > .sprite { transform: none !important; filter: none !important; }
#dropdown-right.is-open { background: #f4f4f4; }
#dropdown-right > .wrapper { padding: 0 10px 12px; }
#dropdown-right > .wrapper > .link {
  display: block;
  text-align: center;
  color: #454545 !important;
  background: transparent !important;
  font-weight: 400;
  font-size: 14px;
  padding: 8px 0;
  margin: 0;
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
#dropdown-right > .wrapper > .link:hover {
  color: #ff0f5b !important;
  background: #fff !important;
}
@media (max-width: 600px) {
  #dropdown-right { min-width: 130px !important; max-width: 130px !important; height: 36px; }
  .listing-filters { padding-right: 140px; }
  .listing-results { font-size: 12px; }
}

/* ---- Toast ---- */
.alert { display: none; }

/* ---- Footer contacts (WhatsApp / Instagram / E-mail) ---- */
.footer-contacts {
  text-align: center;
  padding: 8px 0 6px;
}
.footer-contacts-label {
  margin: 0 0 24px;
  color: #454545;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-contacts-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 150px;
  padding: 9px 22px 9px 9px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: #454545;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.footer-contact:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.28); }
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-contact.is-whatsapp .footer-contact-icon { background: #25d366; }
.footer-contact.is-whatsapp:hover { border-color: #25d366; }
.footer-contact.is-instagram .footer-contact-icon { background: #ff0f5b; }
.footer-contact.is-instagram .footer-contact-icon .sprite { filter: brightness(0) invert(1); }
.footer-contact.is-instagram:hover { border-color: #ff0f5b; }
.footer-contact.is-email .footer-contact-icon { background: #fff; border: 1px solid #e0e0e0; }
.footer-contact.is-email:hover { border-color: #ffc631; }
.footer-contact-text { white-space: nowrap; }
.footer-contacts-email {
  margin: 20px 0 0;
  color: #7f7f7f;
  font-size: 13px;
  letter-spacing: .3px;
}
@media (max-width: 600px) {
  .footer-contacts-list { gap: 10px; }
  .footer-contact { min-width: 0; padding: 7px 16px 7px 7px; font-size: 13px; }
  .footer-contact-icon { width: 32px; height: 32px; }
}

/* ---- Filter drawer (side panel) ---- */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.filter-overlay.is-open { opacity: 1; pointer-events: auto; }

.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 92vw;
  background: #fff;
  z-index: 41;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 34px rgba(0, 0, 0, .18);
}
.filter-drawer.is-open { transform: translateX(0); }

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 3px solid #ff0f5b;
}
.filter-drawer-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #454545;
}
.filter-drawer-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f4f4f4;
  color: #454545;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.filter-drawer-close:hover { background: #e8e8e8; }

.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 20px;
}

.filter-section { border-bottom: 1px solid #eee; }
.filter-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #454545;
  text-align: left;
}
.filter-section-icon {
  font-size: 20px;
  font-weight: 700;
  color: #682bb8;
  line-height: 1;
}
.filter-section-options {
  display: none;
  padding: 0 0 14px;
}
.filter-section.is-open .filter-section-options { display: block; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 14px;
  color: #454545;
}
.filter-option:hover { color: #ff0f5b; }
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ff0f5b;
  flex-shrink: 0;
}

.filter-drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-drawer-apply {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 24px;
  background: #682bb8;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.filter-drawer-apply:hover { background: #5a23a0; }
.filter-drawer-clear {
  width: 100%;
  padding: 9px;
  border: 1px solid #c7c7c7;
  border-radius: 20px;
  background: #fff;
  color: #7f7f7f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.filter-drawer-clear:hover { border-color: #ff0f5b; color: #ff0f5b; }

/* ---- Filter drawer v2 (layout aprimorado) ---- */
.filter-drawer { width: 380px; }
.filter-drawer-header {
  padding: 20px 22px 14px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #682bb8, #ff0f5b) 1;
}
.filter-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-drawer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 12px;
  background: linear-gradient(120deg, #682bb8, #ff0f5b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.filter-drawer-count.is-zero { background: #e8e8e8; color: #7f7f7f; }
.filter-drawer-body { padding: 10px 22px 16px; }
.filter-drawer-search { position: relative; margin: 6px 0 10px; }
.filter-drawer-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8f7bb5;
  font-size: 13px;
  pointer-events: none;
}
.filter-drawer-search input {
  width: 100%;
  height: 42px;
  border-radius: 21px;
  border: 1px solid #e6e6e6;
  background: #f4f4f4;
  padding: 0 38px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color .2s ease, background-color .2s ease;
}
.filter-drawer-search input:focus { border-color: #8a4bd8; background: #fff; outline: none; }
.filter-drawer-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #dcdcdc;
  color: #454545;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.filter-drawer-search-clear:hover { background: #ff0f5b; color: #fff; }
.filter-drawer-empty { padding: 10px 2px; color: #7f7f7f; font-size: 13px; }
.filter-section-header { padding: 16px 0; }
.filter-section-title { font-size: 15px; font-weight: 700; color: #454545; }
.filter-section-count {
  font-size: 11px;
  font-weight: 700;
  color: #7f7f7f;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 2px 8px;
}
.filter-section-icon { transition: color .2s ease; }
.filter-section.is-open .filter-section-icon { color: #ff0f5b; }
.filter-section-options { padding: 0 0 14px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  margin: 1px 0;
  transition: background-color .15s ease, color .15s ease;
}
.filter-option:hover { background: #faf7ff; }
.filter-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c7c7c7;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.filter-option input[type="radio"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform .15s ease;
}
.filter-option input[type="radio"]:checked { border-color: #682bb8; background: #682bb8; }
.filter-option input[type="radio"]:checked::after { transform: scale(1); }
.filter-option:has(input:checked) { background: #f6f0ff; color: #682bb8; font-weight: 700; }
.filter-option-label { flex: 1; }
.filter-option-count {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  background: #f4f4f4;
  color: #7f7f7f;
  border-radius: 10px;
  padding: 2px 8px;
}
.filter-option-count.is-zero { background: transparent; color: #c7c7c7; }
.filter-option:has(input:checked) .filter-option-count { background: #682bb8; color: #fff; }
.filter-drawer-footer { padding: 14px 22px 18px; border-top: 1px solid #e8e8e8; gap: 10px; }
.filter-chip.is-cat {
  background: linear-gradient(120deg, #682bb8, #8a4bd8);
  color: #fff;
  border: none;
  font-weight: 700;
}
.filter-chip.is-cat .filter-chip-remove { background: rgba(255, 255, 255, .25); color: #fff; }
.filter-chip.is-cat .filter-chip-remove:hover { background: #ff0f5b; }
.filter-drawer-body::-webkit-scrollbar { width: 6px; }
.filter-drawer-body::-webkit-scrollbar-thumb { background: #d9d0ec; border-radius: 3px; }
.filter-cat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(120deg, #682bb8, #8a4bd8);
  color: #fff;
  font-size: 13px;
}
.filter-cat-banner-label b { font-weight: 700; }
.filter-cat-banner-remove {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background-color .2s ease;
}
.filter-cat-banner-remove:hover { background: #ff0f5b; }
.filter-option-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #682bb8;
  background: #f0e7fb;
  border-radius: 8px;
  padding: 2px 7px;
}
.filter-option.is-current { background: #faf7ff; }
.filter-option.is-current .filter-option-label { color: #682bb8; font-weight: 700; }
