/* Hummingbird PZ — footer + newsletter (réplica www.pz.cl) v2 */

#footer.footer {
  background: #fff;
  color: #232323;
  margin-top: 0;
  padding: 0;
  border-top: 1px solid #e8e8e8;
}

#footer .footer__before,
#footer .footer__main {
  display: none;
}

.pz-footer {
  background: #fff;
  color: #232323;
  padding: 2.5rem 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.pz-footer__row {
  align-items: flex-start;
  row-gap: 1.5rem;
}

.pz-footer__block {
  margin-bottom: 0.5rem;
}

.footer-container .container{
  max-width: var(--gino-footer-max, 1447px) !important;
}

.pz-footer__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  cursor: default;
  line-height: 1.3;
}

.pz-footer__title--static {
  cursor: default;
}

.pz-footer__title--center {
  justify-content: center;
  text-align: center;
}

.pz-footer__chevron {
  display: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #232323;
  border-bottom: 2px solid #232323;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.pz-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pz-footer__list li {
  margin: 0 0 0.55rem;
}

.pz-footer__list a {
  color: #434343;
  text-decoration: none;
  font-weight: 400;
}

.pz-footer__list a:hover,
.pz-footer__list a:focus {
  color: #111;
  text-decoration: underline;
}

.pz-footer__payments {
  color: #232323;
}

.pz-footer__payments-brands {
  margin: 0 0 0.75rem;
}

.pz-footer__payments-brands img {
  display: block;
  max-width: 100%;
  width: min(290px, 100%);
  height: auto;
}

.pz-footer__payments-label {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.pz-footer__payments-seal {
  margin: 0;
}

.pz-footer__payments-seal img {
  display: block;
  width: 81px;
  height: auto;
}

.pz-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pz-footer__social li {
  margin: 0;
}

.pz-footer__social a {
  display: inline-flex;
  line-height: 0;
}

.pz-footer__social img {
  display: block;
  width: 20px;
  height: 20px;
}

.pz-footer__content--center .pz-footer__social {
  justify-content: center;
}

.pz-footer__copyright-row {
  margin-top: 2.5rem;
  text-align: center;
}

.pz-footer__copyright {
  display: block;
  color: #6c757d;
  font-size: 0.8rem;
  text-align: center;
}

.pz-footer__copyright .text-uppercase {
  letter-spacing: 0.04em;
}

/* â€”â€” Mobile accordion â€”â€” */
@media (max-width: 767.98px) {
  .pz-footer {
    padding: 1.25rem 0 1rem;
  }

  .pz-footer__col--links .pz-footer__title {
    cursor: pointer;
    padding: 0.65rem 0;
    margin: 0;
    border-bottom: 1px solid #ececec;
  }

  .pz-footer__col--links .pz-footer__chevron {
    display: inline-block;
  }

  .pz-footer__col--links .pz-footer__title[aria-expanded="true"] .pz-footer__chevron {
    transform: rotate(-135deg);
  }

  .pz-footer__col--links .pz-footer__content {
    display: none;
    padding: 0.75rem 0 0.35rem;
  }

  .pz-footer__col--links .pz-footer__content.is-open {
    display: block;
  }

  .pz-footer__col--payments {
    margin-top: 0.5rem;
  }

  .pz-footer__col--social-mobile {
    margin-top: 0.75rem;
  }

  .pz-footer__title--static {
    margin-bottom: 0.75rem;
  }

  .pz-footer__copyright-row {
    margin-top: 1.75rem;
    text-align: center;
  }

  .pz-footer__copyright {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .pz-footer__content {
    display: block !important;
  }

  .pz-footer__chevron {
    display: none !important;
  }
}

/* ==========================================================================
   Newsletter (desktop + mobile) — réplica www.pz.cl
   ========================================================================== */
.pz-newsletter {
  width: 100%;
  background: #757575;
  color: #fff;
  padding: 2.75rem 1rem 2.5rem;
  text-align: center;
  margin: 0;
  border: 0;
}

.pz-newsletter__inner {
  max-width: 720px;
  margin: 0 auto;
}

.pz-newsletter__title {
  margin: 0 0 1.35rem;
  padding: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.pz-newsletter__form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.pz-newsletter__row {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.pz-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.pz-newsletter__input::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.pz-newsletter__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 1px;
}

.pz-newsletter__btn {
  flex: 0 0 auto;
  height: 44px;
  margin: 0;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0;
  background: #2f2f2f;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

.pz-newsletter__btn:hover:not(:disabled),
.pz-newsletter__btn:focus:not(:disabled) {
  background: #1f1f1f;
  color: #fff;
}

.pz-newsletter__btn:disabled,
.pz-newsletter__btn[aria-disabled='true'] {
  background: #5a5a5a;
  color: rgba(255, 255, 255, 0.55);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Desktop: Suscribirse / Mobile: OK */
.pz-newsletter__btn--desk {
  display: none;
}

.pz-newsletter__btn--mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0 1rem;
}

.pz-newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
  padding: 0;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.35;
  cursor: pointer;
  font-weight: 400;
}

.pz-newsletter__check {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0.1rem 0 0;
  accent-color: #2f2f2f;
  cursor: pointer;
}

.pz-newsletter__lead {
  margin: 1.5rem 0 0;
  padding: 0;
  color: #fff;
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.pz-newsletter__alert {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  text-align: center;
}

.pz-newsletter__alert--error {
  background: rgba(120, 0, 0, 0.35);
}

.pz-newsletter__alert--ok {
  background: rgba(0, 90, 40, 0.35);
}

/* Ocultar checkbox/label duplicados del módulo GDPR si aparecen */
.pz-newsletter .psgdpr_consent_message,
.pz-newsletter .custom-checkbox {
  display: none !important;
}

.pz-newsletter .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .pz-newsletter {
    padding: 3.25rem 1.5rem 3rem;
  }

  .pz-newsletter__btn--desk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
  }

  .pz-newsletter__btn--mob {
    display: none;
  }

  .pz-newsletter__consent {
    font-size: 0.78rem;
  }

  .pz-newsletter__input {
    height: 46px;
    font-size: 1rem;
  }

  .pz-newsletter__btn {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .pz-newsletter {
    padding: 2.1rem 0.85rem 2rem;
  }

  .pz-newsletter__title {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
  }

  .pz-newsletter__lead {
    font-size: 0.82rem;
    margin-top: 1.25rem;
  }

  .pz-newsletter__consent {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Back to top — Material Icons + desktop/mobile
   ========================================================================== */
#back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #000;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  outline: none;
  z-index: 120;
  transition: all 0.2s cubic-bezier(0.7, 0, 0.3, 1);
  -webkit-appearance: none;
  appearance: none;
}

#back-to-top:hover,
#back-to-top:focus {
  background: #333;
  color: #fff;
}

#back-to-top.-back-to-top-visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top .material-icons,
#back-to-top .np-back-to-top__icon {
  color: #fff !important;
  fill: currentColor;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 768px) {
  #back-to-top {
    bottom: 12px;
  }
}

/* Cupón: no depender de body#cart (CCC / theme.css azul BS) */
.cart-voucher .accordion-button,
.cart-voucher .accordion-button:not(.collapsed),
.cart-voucher .np-cart-voucher-title {
  color: #111 !important;
  background-color: transparent !important;
}

.cart-voucher .btn-primary,
.cart-voucher .np-cart-voucher-apply,
.cart-voucher button[type="submit"] {
  background: #111 !important;
  background-color: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

