/* BASIC css start */
/* 하단 */
#footer {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #232323;
    padding-top: 40px;
    padding-bottom: 48px;
    margin-top: 80px;
}

#footer * {
    color: #fff;
}

#wrap.small-screen #footer .footerTop {
    max-width: 1240px;
}

#footer .footerTop {
    margin: 0 auto;
    position: relative;
    max-width: 1760px;
    padding: 0 16px;
    *zoom: 1
}

#footer .footerTop:after {
    display: block;
    clear: both;
    content: ''
}

#footer .footerTop .infoBx {}

#footer .footerTop .infoBx h3 {
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

#footer .footerTop .infoBx .tx {
    color: #999999;
    line-height: 22px;
}

#footer .footerTop .linkInfo {
    display: flex;
}

#footer .footerTop .linkInfo li {
    margin-top: 16px;
}

#footer .footerTop .linkInfo li {
    float: left;
    padding-bottom: 13px;
    color: inherit;
}

#footer .footerTop .linkInfo li a {
    font-weight: 400;
    color: #999999;
    font-size: 13px;
}

#footer .footerTop .linkInfo li a:after {
    font-size: 9px;
    content: "|";
    margin: 4px 10px;
    /* vertical-align:top;*/
}

#footer .footerTop .linkInfo li:nth-last-child(1) a:after {
    display: none
}

#footer .footerTop .csInfo {
    float: right;
    text-align: right;
}

#footer .footerTop .csInfo .tel {
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: #999;
}

#footer .footerTop .csInfo .tx {
    line-height: 20px
}

#footer .footerTop .csInfo .tx em {
    color: #999;
}

#footer .footerTop .csInfo .tx em:nth-last-child(1) {
    display: none
}

#footer .footerTop .shopInfo {
    float: left
}

#footer .footerTop .shopInfo .tx span {
    font-weight: 400;
    padding-right: 25px;
    color: #999999;
    font-size: 13px
}

#footer .footerTop .shopInfo .tx a {
    color: unset;
    text-decoration: underline;
    vertical-align: text-top;
}

#footer .footerTop .shopInfo .tx a.btn_email {
    color: #5d5d5d
}

#footer .footerTop .shopInfo .copy {
    padding-top: 5px;
    color: #a5a5a5
}

#footer .footerBottom {
    margin: 0 auto;
    position: relative;
    width: 1100px
}

#footer .footerTop .sns {
    margin-top: 40px;
}

#footer .footerTop .sns ul {
    display: flex;
    justify-content: flex-end;
}

#footer .footerTop .sns ul li {
    margin-left: 16px
}

.sc_script {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 100;
}

.sc_script a {
    display: block;
    margin: -14px 0;
}

@media (max-width:1024px) {

    /* 하단 */
    #footer {
        position: relative;
        width: 100%;
        background: #232323;
        padding-top: 32px;
        padding-bottom: 60px;
        text-align: center;
    }

    #footer * {
        color: #fff;
    }

    #wrap.small-screen #footer .footerTop {
        position: relative;
        width: 100%;
    }

    #footer .footerTop {
        margin: 0 auto;
        position: relative;
        width: 100%;
        *zoom: 1
    }

    #footer .footerTop:after {
        display: block;
        clear: both;
        content: ''
    }

    #footer .footerTop .infoBx {}

    #footer .footerTop .infoBx h3 {
        padding-bottom: 6px;
        font-size: 15px;
        font-weight: 600;
    }

    #footer .footerTop .infoBx h3.arr {
        padding-bottom: 0
    }

    #footer .footerTop .infoBx h3.arr::after {
        content: "";
        background: url(//skin.makeshop.co.kr/skin/fortnight/mo/arr_white.png) no-repeat right center;
        transition: transform 0.3s;
        font-size: inherit;
        width: 14px;
        height: 8px;
        display: inline-block;
        margin-left: 8px;
    }

    #footer .footerTop .infoBx h3.arr.active::after {
        transform: rotate(180deg);
    }



    #footer .footerTop .infoBx .arrBox {
        display: none
    }

    #footer .footerTop .infoBx .tx {
        padding-top: 6px;
        color: #999999;
        line-height: 22px;
    }

    #footer .footerTop .linkInfo {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    #footer .footerTop .linkInfo li {
        float: left;
        padding-bottom: 24px;
        margin-top: 0;
        color: inherit;
    }

    #footer .footerTop .linkInfo li a {
        font-weight: 400;
        color: #999999;
        font-size: 13px;
    }

    #footer .footerTop .linkInfo li a:after {
        font-size: 9px;
        content: "|";
        margin: 0px 12px;
        vertical-align: top;
    }

    #footer .footerTop .linkInfo li:nth-last-child(1) a:after {
        display: none
    }

    #footer .footerTop .csInfo {
        float: none;
        text-align: center;
    }

    #footer .footerTop .csInfo .tel {
        font-size: 13px;
        font-weight: 400;
        line-height: 22px;
        color: #999;
    }

    #footer .footerTop .csInfo .tx {
        line-height: 100%;
        padding-bottom: 24px;
        font-size: 13px;
    }

    #footer .footerTop .csInfo .tx em {
        color: #999;
    }

    #footer .footerTop .csInfo .tx em:nth-last-child(1) {
        display: none
    }

    #footer .footerTop .shopInfo {
        padding-bottom: 24px;
        float: none;
        text-align: center;
    }


    #footer .footerTop .shopInfo .tx span {
        font-weight: 400;
        color: #999999;
        font-size: 13px
    }

    #footer .footerTop .shopInfo .tx a {
        color: unset;
        text-decoration: underline;
        vertical-align: text-top;
    }

    #footer .footerTop .shopInfo .tx a.btn_email {
        color: #5d5d5d
    }

    #footer .footerTop .copy {
        color: #999999;
        font-size: 13px;
        font-weight: 400;
    }

    #footer .footerBottom {
        margin: 0 auto;
        position: relative;
        width: 100%
    }

    #footer .footerTop .sns {
        margin-top: 0;
    }

    #footer .footerTop .sns ul {
        margin-bottom: 24px;
        display: flex;
        justify-content: center;
    }

    #footer .footerTop .sns ul li {
        margin: 0 8px
    }

    .sc_script {
        position: fixed;
        bottom: 24px;
        right: 16px;
        z-index: 100;
    }

    .sc_script a {
        display: block;
        margin: -8px 0;
    }
}


/* ══════════════════════════════════════════════════════════════
   ══════════════════════════════════════════════════════════════

   theBetterBean — NEW FOOTER STYLES
   디자인 토큰 기반 BEM 푸터 — 레거시 코드 아래에 추가

   ══════════════════════════════════════════════════════════════
   ══════════════════════════════════════════════════════════════ */

/* ── Footer CTA Band ── */
.footer__cta {
  background-color: var(--color-accent);
  padding: var(--space-3xl) 0;
}

.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.footer__cta-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-xs);
}

.footer__cta-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.footer__cta-form {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.footer__cta-input {
  width: 280px;
  padding: var(--space-sm) var(--space-lg);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  outline: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.footer__cta-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer__cta-input:focus {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.footer__cta-btn {
  padding: var(--space-sm) var(--space-xl);
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-primary);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer__cta-btn:hover {
  background-color: #1a1514;
  transform: translateY(-1px);
}

/* ── Footer Main ── */
.footer__main {
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

/* ── Footer Brand Column ── */
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-lg);
}

.footer__logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-inverse);
  letter-spacing: var(--tracking-wide);
}

.footer__logo-sub {
  font-size: var(--text-xs);
  color: rgba(253, 251, 247, 0.5);
  letter-spacing: var(--tracking-wider);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: rgba(253, 251, 247, 0.6);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(253, 251, 247, 0.2);
  color: rgba(253, 251, 247, 0.6);
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
  background-color: rgba(200, 101, 42, 0.2);
}

/* ── Footer Columns ── */
.footer__heading {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.4);
  margin-bottom: var(--space-xl);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list a {
  font-size: var(--text-sm);
  color: rgba(253, 251, 247, 0.7);
  transition: color var(--transition-fast);
  display: inline-block;
  padding: var(--space-xs) 0;
}

.footer__list a:hover {
  color: var(--color-text-inverse);
}

/* ── Footer Bottom ── */
.footer__bottom {
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  padding: var(--space-xl) 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.footer__info p {
  font-size: var(--text-xs);
  color: rgba(253, 251, 247, 0.35);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xs);
}

.footer__info .footer__cs-info {
  font-size: var(--text-xs);
  color: rgba(253, 251, 247, 0.45);
}

.footer__biz-check {
  text-decoration: underline;
  color: rgba(253, 251, 247, 0.5);
  transition: color var(--transition-fast);
}

.footer__biz-check:hover {
  color: rgba(253, 251, 247, 0.8);
}

.footer__escrow {
  flex-shrink: 0;
}

.footer__escrow img {
  height: 28px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer__escrow img:hover {
  opacity: 0.8;
}

.footer__copyright p {
  font-size: var(--text-xs);
  color: rgba(253, 251, 247, 0.35);
  margin-bottom: 0;
  white-space: nowrap;
}

/* ── Scroll to Top (redesigned) ── */
.sc_script {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: var(--z-dropdown);
}

.sc_script .sc_top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-card);
  box-shadow: var(--shadow-md);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.sc_script .sc_top:hover {
  color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .footer__cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__cta-form {
    width: 100%;
    max-width: 400px;
    flex-shrink: 1;
  }

  .footer__cta-input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    grid-column: span 2;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer__copyright p {
    white-space: normal;
  }
}

/* ── Responsive: Small Mobile ── */
@media (max-width: 480px) {
  .footer__cta-form {
    flex-direction: column;
  }

  .footer__cta-input {
    width: 100%;
  }
}
/* BASIC css end */

