
/* =========================================
   SHOPLINE BEACON - ORIGINAL FOOTER STYLES
   ========================================= */

.footer__menu {
  position: relative;
}

.footer__menu-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer__menu-title .icon__arrow,
.footer__menu-title .icon__minus {
  display: none;
}

@media (max-width: 959px) {
  .footer__menu-title {
    padding-block-start: 15px;
  }

  .footer__menu-title .icon__arrow {
    display: inline;
  }

  .footer__menu-title .icon__minus {
    display: none;
  }

  .footer__menu[open] .footer__menu-title .icon__arrow {
    display: none;
  }

  .footer__menu[open] .footer__menu-title .icon__minus {
    display: inline;
  }

  .footer__menu-content {
    height: 0;
    padding-block-end: 15px;
    overflow: hidden;
    opacity: 0;
  }

  .footer__menu::after {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background-color: rgba(var(--color-text), 0.1);
  }
}

.footer__menu[open] .footer__menu-content {
  height: auto;
  opacity: 1;
}

.footer__menu-item {
  padding-block-start: 15px;
}

.footer__menu-item a {
  display: block;
}

.footer__menu-item--active a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer__menu-item--active a:hover {
  text-decoration: underline;
}

.footer__custom-text-title {
  padding-block-end: 15px;
}

@media (max-width: 959px) {
  .footer__custom-text-title {
    padding-block-start: 15px;
  }
}

.footer__email-subscribe-title {
  margin-block-end: 15px;
  font-weight: bold;
}

@media (min-width: 960px) {
  .footer__email-subscribe--small .field__input {
    padding-block-start: 16px;
  }

  .footer__email-subscribe--middle .field__input {
    padding-block: 20px 2px;
  }

  .footer__email-subscribe--large .field__input {
    padding-block: 30px 19px;
  }

  .footer__email-subscribe--large .field__input:focus ~ .field__label,
  .footer__email-subscribe--large .field__input:not(:placeholder-shown) ~ .field__label,
  .footer__email-subscribe--large .field__input:-webkit-autofill ~ .field__label {
    transform: scale(0.7) translate(0, -150%);
  }
}

.footer__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

.footer__localization-form .localization__selector:nth-last-of-type(2) {
  margin-block-end: 10px;
  margin-inline-end: 15px;
}

.footer__localization-form form {
  display: contents;
}

@media (max-width: 959px) {
  .footer__localization-form .localization__selector {
    width: 100%;
  }

  .footer__localization-form .localization__selector:nth-last-of-type(2) {
    margin-block-end: 6px;
    margin-inline-end: 0;
  }
}

.footer__payment-icons > svg {
  width: auto;
  height: 22px;
}

.footer__social-media-title {
  padding-block-end: 20px;
  font-weight: bold;
}

.footer__social-media-content {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__social-media-content svg,
.footer__social-media-content img,
.footer__social-media-content .social-media-icon {
  width: 24px;
  height: 24px;
}

.footer__social-media-content img {
  border-radius: 100%;
}

@media (min-width: 960px) {
  .footer__social-media--small .footer__social-media-content {
    gap: 8px;
  }

  .footer__social-media--small .footer__social-media-content svg,
  .footer__social-media--small .footer__social-media-content img,
  .footer__social-media--small .footer__social-media-content .social-media-icon {
    width: 28px;
    height: 28px;
  }

  .footer__social-media--middle .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--middle .footer__social-media-content svg,
  .footer__social-media--middle .footer__social-media-content img,
  .footer__social-media--middle .footer__social-media-content .social-media-icon {
    width: 32px;
    height: 32px;
  }

  .footer__social-media--large .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--large .footer__social-media-content svg,
  .footer__social-media--large .footer__social-media-content img,
  .footer__social-media--large .footer__social-media-content .social-media-icon {
    width: 64px;
    height: 64px;
  }
}

.footer__copyright-menu a {
  word-break: break-all;
}

.footer__copyright-menu span {
  padding: 0 10px;
}

.footer__copyright-menu span:last-child {
  display: none;
}

.footer {
  background-color: rgb(var(--color-background));
}


/* =========================================
   SPOTLANTERN - PREMIUM FOOTER
   ========================================= */

/* 1. Background */

.footer {
  background-color: #F5F2E9 !important;
  color: #292723;
  border-top: 1px solid #E8E2D7;
}

/* 2. Main container */

.footer .page-width {
  max-width: 1280px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 36px;
  padding-right: 36px;
  box-sizing: border-box;
}

/* 3. Footer inner */

.footer .footer__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  gap: 0 !important;
}

/* 4. Three-column information area
   Only the first information group uses this layout.
*/

.footer .footer__inner > .footer__group:first-child {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.2fr !important;
  grid-auto-flow: row;
  align-items: start !important;
  justify-content: stretch !important;
  column-gap: 64px !important;
  row-gap: 30px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 42px !important;
  padding-bottom: 38px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* 5. Keep three content blocks in their own columns */

.footer .footer__inner > .footer__group:first-child > * {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* About text */

.footer .footer__custom-text-content {
  color: #666158;
  font-size: 13px;
  line-height: 1.8;
  max-width: 100%;
}

/* 6. Headings */

.footer .footer__custom-text-title,
.footer .footer__menu-title {
  color: #25231F;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 7. Menu links */

.footer .footer__menu-item {
  padding-top: 9px;
}

.footer .footer__menu-item a {
  color: #625E55;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .footer__menu-item a:hover {
  color: #A87532;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 8. Additional groups remain below */

.footer .footer__inner > .footer__group:not(:first-child) {
  width: 100%;
  box-sizing: border-box;
}

/* 9. Localization */

.footer .footer__localization-form {
  margin-top: 12px;
}

/* 10. Payment icons */

.footer .footer__payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer .footer__payment-icons > svg {
  height: 22px;
  width: auto;
}

/* 11. Copyright */

.footer .footer__copyright-menu {
  color: #777168;
  font-size: 12px;
}


/* =========================================
   MOBILE FOOTER
   ========================================= */

@media (max-width: 959px) {

  .footer .page-width {
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer .footer__inner > .footer__group:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 26px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .footer .footer__inner > .footer__group:first-child > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer .footer__custom-text-content {
    max-width: 100%;
  }

  .footer .footer__payment-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer .footer__localization-form {
    margin-top: 0;
  }
}

/* =========================================
   SPOTLANTERN - FINAL FOOTER LAYOUT FIX
   ========================================= */

/* Use one shared three-column layout */
.footer .footer__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.2fr !important;
  column-gap: 56px !important;
  row-gap: 0 !important;
  align-items: start !important;
  width: 100% !important;
}

/* Merge the first two group wrappers
   so all three content blocks share one grid */
.footer .footer__inner > .footer__group:nth-child(1),
.footer .footer__inner > .footer__group:nth-child(2) {
  display: contents !important;
}

/* Third group: payment and localization */
.footer .footer__inner > .footer__group:nth-child(3) {
  grid-column: 1 / -1 !important;
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-top: 24px !important;
}

/* Three content blocks */
.footer .footer__inner > .footer__group:nth-child(1) > *,
.footer .footer__inner > .footer__group:nth-child(2) > * {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* About description */
.footer .footer__custom-text-content {
  max-width: 100%;
  line-height: 1.8;
}

/* Desktop spacing */
@media (min-width: 960px) {
  .footer .footer__inner {
    padding-top: 38px !important;
    padding-bottom: 30px !important;
  }
}

/* Mobile */
@media (max-width: 959px) {
  .footer .footer__inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
  }

  .footer .footer__inner > .footer__group:nth-child(3) {
    margin-top: 0 !important;
  }
}

/* =========================================
   SPOTLANTERN - PAYMENT AREA ALIGNMENT
   ========================================= */

/* Full-width payment and localization row */
.footer .footer__inner > .footer__group:nth-child(3) {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  column-gap: 30px !important;
  row-gap: 16px !important;
  width: 100% !important;
  margin-top: 20px !important;
}

/* Language and currency on the left */
.footer .footer__inner > .footer__group:nth-child(3) > :first-child {
  justify-self: start !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Payment icons on the right */
.footer .footer__inner > .footer__group:nth-child(3) > :last-child {
  justify-self: end !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.footer .footer__payment-icons {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

.footer .footer__payment-icons > svg {
  height: 20px !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Mobile payment layout */
@media (max-width: 959px) {
  .footer .footer__inner > .footer__group:nth-child(3) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .footer .footer__inner > .footer__group:nth-child(3) > * {
    width: 100% !important;
  }

  .footer .footer__payment-icons {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* =========================================
   SPOTLANTERN - PAYMENT ICONS SEPARATE ROW
   ========================================= */

@media (min-width: 960px) {

  /* Payment icons occupy an independent full-width row */
  .footer .footer__group:has(.footer__payment-icons) 
  .footer__payment-icons {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;

    margin-top: 24px !important;
    padding-top: 24px !important;
    border-top: 1px solid #E2DCCF;
  }

  /* Keep payment icons consistent */
  .footer .footer__payment-icons > svg {
    height: 22px !important;
    width: auto !important;
    flex-shrink: 0;
  }
}

/* Mobile payment layout */
@media (max-width: 959px) {
  .footer .footer__payment-icons {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #E2DCCF;
  }
}


/* SpotLantern - Refined Payment Icons */
.footer__payment-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.footer__payment-icons svg,
.footer__payment-icons img {
  width: auto !important;
  height: 24px !important;
  max-width: 58px !important;
  transform: none !important;
  flex-shrink: 0 !important;
}



