/* =====================================
   SELINA FOOTER – LAYOUT
   Scope: #selina-footer-wrp
===================================== */

#selina-footer-wrp #sf-html-main {
  color: #d1d1d1;
  font-family: Manrope, system-ui, sans-serif;
}

/* INNER */
#selina-footer-wrp .sf-footer-inner {
  display: flex;
  gap: 80px;
  padding: 70px 6vw 40px;
}

/* LOGO */
#selina-footer-wrp .sf-footer-logo {
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

/* NAV */
#selina-footer-wrp .sf-footer-nav {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

/* COLUMN TITLE (DESKTOP BASIS) */
#selina-footer-wrp .sf-footer-col-title {
  display: block;
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 14px;
  text-transform: uppercase;
  opacity: .85;
}

/* LISTS */
#selina-footer-wrp .sf-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#selina-footer-wrp .sf-footer-col li {
  margin-bottom: 10px;
}

#selina-footer-wrp .sf-footer-col a {
  font-size: 14px;
  color: #cfcfcf;
  text-decoration: none;
}

#selina-footer-wrp .sf-footer-col a:hover {
  opacity: .7;
}

/* DIVIDER */
#selina-footer-wrp .sf-footer-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 0 6vw;
}

/* COPYRIGHT */
#selina-footer-wrp .sf-footer-bottom {
  padding: 18px 6vw 30px;
  font-size: 13px;
  opacity: .65;
}

/* =====================================
   MOBILE – ACCORDION (DETAILS / SUMMARY)
===================================== */

@media (max-width: 900px) {

  #selina-footer-wrp .sf-footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  #selina-footer-wrp .sf-footer-nav {
    flex-direction: column;
    gap: 0;
  }

  #selina-footer-wrp .sf-footer-col {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 14px 0;
  }

  /* DETAILS RESET */
  #selina-footer-wrp .sf-foot-acc {
    margin: 0;
    padding: 0;
  }

  #selina-footer-wrp .sf-foot-acc > summary {
    list-style: none;
  }

  #selina-footer-wrp .sf-foot-acc > summary::-webkit-details-marker {
    display: none;
  }

  /* TITLE ROW */
  #selina-footer-wrp .sf-footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;

    padding: 8px 0;
    margin-bottom: 0;
  }

  /* REAL CHEVRON ELEMENT */
  #selina-footer-wrp .sf-foot-chev {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-left: 12px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfcfcf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    opacity: .95;
    transition: transform .25s ease;
    transform: rotate(0deg);
  }

  /* ROTATE WHEN OPEN */
  #selina-footer-wrp .sf-foot-acc[open] .sf-foot-chev {
    transform: rotate(180deg);
  }

  /* LIST SPACING MOBILE */
  #selina-footer-wrp .sf-foot-acc ul {
    padding-top: 10px;
  }
}

/* =====================================
   DESKTOP – LAYOUT FEINSCHLIFF
===================================== */

@media (min-width: 901px) {

  #selina-footer-wrp #sf-html-main {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;

    /* optische Verschiebung nach rechts */
    transform: translateX(20vw);
  }

  #selina-footer-wrp .sf-footer-inner {
    padding-left: 0;
    padding-right: 0;
  }

  #selina-footer-wrp .sf-footer-divider {
    margin-left: 0;
    margin-right: 0;
  }

  #selina-footer-wrp .sf-footer-bottom {
    padding-left: 0;
    padding-right: 0;
  }

}

@media (max-width: 900px) {
  #selina-footer-wrp .sf-footer-divider {
    display: none;
  }
}

/* =====================================
   FOOTER LOGO – LUXURY SCALE FIX (FINAL)
===================================== */

.sf-footer-brand{
  display: flex;
  align-items: center;
  max-width: 160px;       /* 👈 begrenzt die Fläche */
}

/* Logo selbst */
.sf-footer-logo-img{
  display: block;
  width: 100%;            /* folgt Container */
  max-width: 140px;       /* echte Obergrenze */
  height: auto;
  opacity: 0.95;          /* leicht edler */
}

/* Mobile */
@media (max-width: 900px){
  .sf-footer-brand{
    max-width: 130px;
  }

  .sf-footer-logo-img{
    max-width: 120px;
  }
}

/* Sehr kleine Displays */
@media (max-width: 480px){
  .sf-footer-brand{
    max-width: 110px;
  }
}

/* iOS Safari HARD FIX */
@supports (-webkit-touch-callout: none) {

  .sf-footer-logo-img{
    width: 120px !important;
    max-width: 120px !important;
  }

}

/* =====================================
   FOOTER BACKGROUND – FIXED COLOR
===================================== */

#selina-footer-wrp{
  background-color: #1b1b1b;
}


