/* =========================================================
   Aromatic Footer — footer.jinja / footer-store-section.jinja
   Specs from Aromatic Standalone footer
   ========================================================= */

.aro-footer {
  --aro-navy: #1a428a;
  background: var(--aro-navy);
  color: #c9d4e6;
  padding: 46px 40px 30px;
  overflow: hidden;
  width: 100%;
}

.aro-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.aro-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  align-items: start;
}

.aro-footer__brand-inner {
  max-width: 340px;
}

.aro-footer__logo {
  display: inline-block;
  margin: 0 0 14px;
  line-height: 0;
}

.aro-footer__logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.aro-footer__logo-text {
  font-family: var(--aro-font);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.aro-footer__about {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
  font-weight: 400;
}

.aro-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-start;
}

.aro-footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.aro-footer__social-btn:hover,
.aro-footer__social-btn:focus-visible {
  color: var(--aro-navy);
  background: #fff;
  border-color: #fff;
  outline: none;
}

.aro-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  text-align: start;
}

.aro-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.aro-footer__col-links a {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: start;
  padding: 0;
  direction: ltr;
  text-decoration: none;
  transition: color 0.18s ease;
}

.aro-footer__col-links a:hover,
.aro-footer__col-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

.aro-footer__muted {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.aro-footer__underline {
  text-decoration: underline !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.aro-footer__underline:hover,
.aro-footer__underline:focus-visible {
  color: #ffffff !important;
}

.aro-footer__subscribe {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px;
  margin: 0 0 22px;
  width: 100%;
  max-width: 100%;
}

.aro-footer__subscribe-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  padding: 9px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  text-align: start;
}

.aro-footer__subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.aro-footer__subscribe-btn {
  flex: none;
  background: #fff;
  color: var(--aro-navy);
  border: none;
  border-radius: 100px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.aro-footer__subscribe-btn:hover,
.aro-footer__subscribe-btn:focus-visible {
  background: #e8edf5;
  color: var(--aro-navy);
  outline: none;
}

.aro-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-start;
}

.aro-footer__app {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d7dee8;
  color: #2b2f36;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.aro-footer__app:hover,
.aro-footer__app:focus-visible {
  border-color: var(--aro-navy);
  outline: none;
}

.aro-footer__app img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.aro-footer__app span {
  font-size: 11.5px;
  line-height: 1.3;
  color: #2b2f36;
}

.aro-footer__app-eyebrow {
  display: block;
  opacity: 0.6;
  font-size: 9.5px;
}

/* Bottom */
.aro-footer__bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.aro-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.aro-footer__badge img {
  height: 32px;
  width: auto;
  display: block;
}

.aro-footer__copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.aro-footer__copy-text {
  color: rgba(255, 255, 255, 0.6);
}

.aro-footer__copy a,
.aro-footer__copy p,
.aro-footer__powered,
.aro-footer__powered a,
.aro-footer__powered p {
  color: rgba(255, 255, 255, 0.55) !important;
}

.aro-footer__powered img {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.aro-footer__copy a {
  color: inherit;
}

.aro-footer__pay {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.aro-footer__pay-chip {
  background: #fff;
  border-radius: 5px;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  box-sizing: border-box;
}

.aro-footer__pay-chip img {
  height: 12px;
  width: auto;
  display: block;
}

/* Floating WhatsApp — RTL right, LTR left (opposite of back-to-top) */
.aro-wa {
  --aro-wa-green: #25d366;
  position: fixed;
  bottom: 22px;
  right: 18px;
  left: auto;
  z-index: 245;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--aro-wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html[dir="ltr"] .aro-wa,
body.ltr .aro-wa {
  right: auto;
  left: 18px;
}

.aro-wa__icon {
  position: relative;
  z-index: 1;
  display: flex;
  line-height: 0;
  animation: aro-wa-bob 2.4s ease-in-out infinite;
}

.aro-wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--aro-wa-green);
  animation: aro-wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.aro-wa:hover,
.aro-wa:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  outline: none;
  color: #fff;
}

.aro-wa:hover .aro-wa__icon,
.aro-wa:focus-visible .aro-wa__icon {
  animation: none;
}

@keyframes aro-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes aro-wa-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 760px) {
  .aro-wa {
    bottom: 20px;
    width: 52px;
    height: 52px;
  }

  html[dir="rtl"] .aro-wa,
  body:not(.ltr) .aro-wa {
    right: 14px;
  }

  html[dir="ltr"] .aro-wa,
  body.ltr .aro-wa {
    left: 14px;
  }

  /* Lift above sticky ATC on product pages */
  body:has(.aro-pdp__sticky.is-visible) .aro-wa {
    bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aro-wa__icon,
  .aro-wa__pulse {
    animation: none;
  }
}

/* Scroll to top */
.aro-footer__top {
  position: fixed;
  bottom: 18px;
  left: 14px;
  z-index: 240;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e3e0d8;
  box-shadow: 0 4px 14px rgba(20, 30, 50, 0.16);
  color: var(--aro-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.aro-footer__top:hover,
.aro-footer__top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 30, 50, 0.18);
  outline: none;
}

html[dir="ltr"] .aro-footer__top,
body.ltr .aro-footer__top {
  left: auto;
  right: 14px;
}

/* Kill legacy Soft Theme footer chrome when Aromatic footer is present */
.footer .aro-footer .footer-store-section,
.footer .aro-footer .footer-companies,
.footer .aro-footer .footer-copyrights-vat-certificate {
  display: contents;
}

/* ---------- Mobile ≤760 ---------- */
@media (max-width: 760px) {
  .aro-footer {
    padding: 40px 20px 24px;
  }

  .aro-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .aro-footer__brand,
  .aro-footer__contact,
  .aro-footer__newsletter {
    grid-column: 1 / -1;
  }

  .aro-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .aro-footer__brand-inner {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .aro-footer__logo {
    margin: 0 auto 14px;
  }

  .aro-footer__logo img {
    margin: 0 auto;
  }

  .aro-footer__social {
    justify-content: center;
  }

  .aro-footer__col {
    text-align: center;
  }

  .aro-footer__col-title {
    text-align: center;
  }

  .aro-footer__col-links {
    align-items: center;
  }

  .aro-footer__col-links a {
    text-align: center;
  }

  .aro-footer__subscribe {
    width: 320px;
    max-width: 100%;
    margin: 0 auto 22px;
  }

  .aro-footer__apps {
    justify-content: center;
  }

  .aro-footer__bottom {
    margin-top: 6px;
    padding-top: 12px;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .aro-footer__pay {
    order: 1;
  }

  .aro-footer__badges {
    order: 2;
  }

  .aro-footer__copy {
    order: 3;
  }

  .aro-footer__top {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aro-footer__top,
  .aro-footer__social-btn,
  .aro-footer__subscribe-btn {
    transition: none;
  }

  .aro-footer__top:hover {
    transform: none;
  }
}
