:root {
  --color-primary: #077c6f;
  --color-kakao-text: #442f01;
  --color-naver: #00c13a;
}

/* 공통 */
.si_inner {
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1420px) {
  .si_inner {
    padding: 0 20px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 512px) {
  body {
    font-size: 12px;
  }
}

/* 헤더 */
#si_header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  transition: all 0.3s;
}

#si_header.active {
  background: #fff;
}

#si_header .si_inner {
  display: flex;
  align-items: center;
  height: 130px;
  gap: 90px;
  transition: all 0.3s;
}

#si_header.active .si_inner {
  height: 90px;
}

#si_header .si_inner nav {
  flex: 1;
}

#si_header .si_inner nav ul {
  display: flex;
  align-items: center;
  gap: 70px;
}

#si_header .si_inner nav ul a {
  font-size: 1.25rem;
  font-weight: 500;
  transition: all 0.3s;
}

#si_header .si_inner nav ul a:hover {
  color: var(--color-primary);
}

#si_header .user_utils ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

#si_header .user_utils .cart_link {
  position: relative;
}

#si_header .user_utils .cart_link .cart_count {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.all_menu > a {
  width: 26px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 9999;
  transition: 0.3s all;
}

.all_menu > a span {
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s;
}

.all_menu.active > a span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.all_menu.active > a  span:nth-child(2) {
  opacity: 0;
}

.all_menu.active > a  span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.all_menu {
  display: none;
}

.all_menu .side_bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  height: 100%;
  background-color: #fff;
  color: #121212;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 30px;
  transform: translateX(-100%);
  transition: 0.3s all;
}

.all_menu.active .side_bar {
  transform: translateX(0);
}

.all_menu .side_bar img {
  text-align: center;
  margin: 0 auto;
}

@media screen and (max-width: 900px) {
  #si_header .si_inner {
    height: 90px;
  }

  #si_header .hd_logo img {
    width: 80%;
  }

  #si_header .si_inner .s_gnb {
    display: none;
  }

  #si_header .si_inner {
    gap: 30px;
  }

  .all_menu {
    display: block;
  }

  #si_header .si_inner .side_bar nav {
    flex: auto;
    width: 100%;
    text-align: center;
  }

  #si_header .si_inner .side_bar .s_gnb {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    border-top: 1px solid #ccc;
    margin-top: 30px;
  }

  #si_header .si_inner .side_bar .s_gnb li {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
  }

  #si_header .si_inner .side_bar .user_utils {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  #si_header .si_inner .side_bar .user_utils a {
    font-size: 1rem;
  }

  #si_header .si_inner .side_bar .user_utils .cart_link {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  #si_header .si_inner .side_bar .user_utils .cart_link .cart_count {
    position: relative;
    top: unset;
    right: unset;
  }

  #si_header .si_inner .side_bar nav ul a {
    font-size: 1rem;
  }
}

@media screen and (max-width: 512px) {
  #si_header .si_inner {
    gap: 20px;
  }

  #si_header .user_utils ul {
    gap: 6px;
  }

  #si_header .user_utils .logout,
  #si_header .user_utils .wish,
  #si_header .user_utils .login {
    display: none;
  }

  #si_header .all_menu .user_utils .logout,
  #si_header .all_menu .user_utils .wish,
  #si_header .all_menu .user_utils .login {
    display: auto;
  }

  #si_header .si_inner,
  #si_header.active .si_inner{
    height: 70px;
  }
}

/* 푸터 */

/*footer*/
.s_footer {
  background: #000;
  box-sizing: border-box;
}
.ft_top {
  background: #212121;
  width: 100%;
  padding: 24.5px 0;
}
.ft_top_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info_list {
  display: flex;
}
.info_list li {
  position: relative;
}
.info_list li:after {
  content: "";
  width: 1px;
  height: 12px;
  background: #999;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}
.info_list li:first-child:after {
  display: none;
}
.info_list li + li {
  margin-left: 96px;
}

.ft_tp_rt {
  display: flex;
  align-items: center;
}

.social_list {
  display: flex;
  align-items: center;
}
.social_list li + li {
  margin-left: 25px;
}
.family_box {
  margin-left: 34px;
  position: relative;
}
.family_box > a {
  display: block;
  width: 160px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 17px;
  border: 1px solid #666;
}
.family_box > a > i {
  margin-left: 12px;
}
.family_list {
  display: none;
  position: absolute;
  top: 120%;
  text-align: center;
  width: 100%;
  background: #fff;
  border-radius: 12px;
}
.family_list > li > a {
  display: block;
  padding: 10px 0;
}

.ft_bt {
  padding: 40px 0;
}
.ft_bottom_box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
}

.ft_bt_lt {
  width: 80%;
  line-height: 1.6em;
}

.ft_bt_lt p i.after_n:after {
  display: none;
}
.ft_bt_rt h3 {
  text-align: right;
}
.ft_bt_rt p {
  text-align: right;
  line-height: 1.5em;
}

.ft_bt_lt p{
 display: flex;
 flex-wrap: wrap;
 gap: 10px 20px;
}

@media screen and (max-width: 1024px) {
    .ft_bt_rt{
   width: 100%;
  }
}


@media screen and (max-width: 960px) {
  .ft_tp_lt {
    width: 100%;
  }

  .info_list li + li {
    margin-left: 25px;
  }
  .info_list li:after {
    display: none;
  }

  .ft_top_box a, .ft_top_box a b{
    font-size: 0.875rem;
  }

  .family_box{
   margin-left: 25px;
  }



}
@media screen and (max-width: 767px) {
  .ft_bt_lt p i:after {
    display: none;
  }

  .ft_bt_lt p i + i{
   margin-right: 15px;
  }


  .family_box > a{
   width: 120px;
  }
}

/* 공통 줄바꿈 */
@media screen and (min-width: 760px) {
  br.br_t {
    display: none;
  }
}

@media screen and (min-width: 512px) {
  br.br_m {
    display: none;
  }