@charset "UTF-8";
/*---------------------------------- Font --------------------------------------*/
@font-face {
    font-family: 'Paperlogy-3Light';
    src: url('../font/Paperlogy-3Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy-4Regular';
    src: url('../font/Paperlogy-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy-5Medium';
    src: url('../font/Paperlogy-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
/*---------------------------------- reset --------------------------------------*/
* {margin: 0;padding: 0;}
ul {list-style: none;}
a:any-link {text-decoration: none;}
address {font-style: normal;}
small {font-size: 100%;}
img {vertical-align: top;}

.hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    font-size: 0;
    line-height: 0;
}

/*---------------------------------- 하단 배너 --------------------------------------*/

.underbanner {
    margin: 0px auto 0;
    width: 1224px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    /* li 사이 간격 */
    padding: 100px 0 0;
    border-top: 1px solid #ddd;
}

.underbanner > li {
    width: 392px;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    overflow: hidden;
    border-radius: 0 0 0px 0px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.underbanner li:hover {
    border: 2px solid #000;
}
.underbanner li a:hover {
    color: #000;
    text-shadow: 0px 0px 1px #333;
}

.underbanner li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.underbanner li a h4 {
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    background-color: #fff;
    font-family: 'Paperlogy-3Light';
}

.underbanner li a img {
    display: block;
    width: 100%;
    height: 250px;
    /* 원하는 높이 */
    object-fit: cover;
    /* 이미지 비율 유지 + 자르기 */
    overflow: hidden;
}
/*---------------------------------- Header --------------------------------------*/

header {
    background-color: #fcf9ee;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}
.header_wrap {
    width: 100%;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.nav {
    width: 1224px;
    height: 60px;
    position: relative;
    margin: auto;
}
.main_logo {
    display: block;
    width: 134px;
    height: 28px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.main_logo > img{
    width: 100%;
    height: 100%;
}
.lnb {
    width: 1224px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
}
.g_lnb {
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.g_lnb > li {
    float: left;
    margin-left: 36px;
}
.g_lnb > li > a {
    display: block;
    font-size: 15px;
    line-height: 60px;
    color: #000;
    font-family: 'Paperlogy-5Medium';
    position: relative;
    overflow: hidden;
}
.g_lnb > li:first-child {margin-left: 0;}
/*--------------------------- event ---------------------------*/

.moveline::after {
    height: 1px;
    width: 0%;
    background-color: #000;
    position: absolute;
    left: 0%;
    top: 100%;
}
.g_lnb > li > a > .moveline {
    height: 1px;
    width: 0%;
    background-color: #000;
    position: absolute;
    left: 0%;
    top: 70%;
}

.g_lnb > li > a.out::after {
  transform: scaleX(0);
  transform-origin: right;
}

.header_background {
    background-color: #0006;
    width: 100%;
    height: calc(100vh - 60px);
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: -1;
}
.header_box {
    background-color: #fcf9ee;
    width: 100%;
    height: 0px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
.m_lnb {
    width: 1224px;
    height: 288px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}
.m_lnb.h_choosed {
    opacity: 1;
}
.m_lnb::after {
    content: "";
    height: 288px;
    width: 100%;
    background-color: #fcf9ee;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/*------------------------------------------------------------*/
.m_lnb > li {
    float: left;
    width: 184px;
    height: 288px;
    margin-left: 24px;
}
.m_lnb > li:first-child {margin-left: 0;}
.m_lnb > li > a {
    line-height: 1.5;
    position: absolute;
    top: 48px;
    color: #000;
    font-family: 'Paperlogy-5Medium';
    font-size: 15px;
}
.m_lnb > li > p {
    line-height: 1.5;
    position: absolute;
    top: 48px;
    color: #000;
    font-family: 'Paperlogy-5Medium';
    font-size: 15px;
}
.m_lnb > li > a > img {
    width: 144px;
    height: 144px;
    position: absolute;
    top: 48px;
    /* 이미지 비율 유지 + 자르기 */
}
.s_lnb {
    width: 184px;
    position: absolute;
    top: 96px;
}
.s_lnb > li {}
.s_lnb > li > a {
    line-height: 1.5;
    color: #000;
    font-family: 'Paperlogy-3Light';
    font-size: 15px;
}

.m_lnb > li.black_ribon {
    height: 288px;
    position: absolute;
    right: 30px;
}
.m_lnb > li.black_ribon > img {
    height: 288px;
    position: absolute;
    top: 0;
    left: 0;
}

/*---------------------------------- gnb --------------------------------------*/
.gnb {
    width: 120px;
    height: 60px;
    position: absolute;
    top: 0;
    right: 0;
}
.gnb ul {
    width: 120px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.gnb ul li {
    width: 15px;
    height: 15px;
    float: left;
    margin-left: 20px;
}
.gnb ul li:first-child {margin-left: 0;}
.gnb ul li a {
    display: block;
    position: relative;
}
.gnb ul li a img {
    width: 100%;
    height: 100%;
}

/*---------------------------------- jangbaguni --------------------------------------*/

#cart-popup {
  position: fixed;
  top: 0;
  right: -312px;
  width: 312px;
  height: 100%;
  background-color: #fcf9ee;
  color: #000;
  font-size: 14px;
  z-index: 11;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

#cart-popup.open {
  right: 0;
}

#cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 10;
}

#cart-overlay.active {
  display: block;
}

.cart-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#close-cart {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
}

#clear-cart {
  background: none;
  border: none;
  color: #000;
  margin: 12px 0;
  cursor: pointer;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
}

.product-info {
  flex: 1;
}

.product-info p {
  margin: 2px 0;
  font-size: 14px;
}

.remove-item {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 12px;
}

.cart-footer {
  padding: 16px;
}

#checkout {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

#purchase-message {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fcf9ee;
  color: #000;
  font-size: 15pt;
    font-family: 'Paperlogy-4Regular';
  padding: 20px 30px;
  border: 1px solid #ccc;
  z-index: 20;
  display: none;
  border-radius: 4px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#purchase-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 19;
}



/*---------------------------------- Footer --------------------------------------*/
footer {
    width: 100%;
    height: 600px;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    margin-top: 150px;
}
#footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #ddd;
}
.footer_wrap {
    width: 1224px;
    height: 500px;
    margin: 50px auto;
}
.f_logo {
    float: left;
    width: 288px;
    height: 500px;
    background-color: #fcf9ee;
}
.f_logo p {
    margin: auto;
}
.f_logo p:nth-child(1) {
    width: 188px;
    height: 300px;
}
.f_logo p:nth-child(2) {
    width: 188px;
    height: 200px;
}
.f_logo p:nth-child(1) a {
    display: block;
    width: 188px;
    position: relative;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.f_logo img {
    width: 188px;
}
.fnb_wrap {
    float: left;
    width: 808px;
    height: 500px;
    margin-left: 128px;
}
.fnb {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.fnb > ul {
    margin-top: 24px;
}
.fnb > ul > li {
    float: left;
    width: 184px;
    margin-right: 24px;
}
.fnb > ul > li:last-child {
    margin-right: 0;
}
.fnb > ul > li > a, .fnb > ul > li > p {
    color: #000;
    font-size: 15px;
    font-family: 'Paperlogy-5Medium';
    line-height: 1.5;
}
.s_fnb {
    margin-top: 24px;
}
.s_fnb li {}
.s_fnb li a {
    color: #000;
    font-size: 15px;
    font-family: 'Paperlogy-4Regular';
    line-height: 1.5;
}
.address_wrap {
    width: 100%;
    height: 200px;
}
.fnb2 {
    width: 100%;
    height: 14px;
    margin-bottom: 24px;
}
.fnb2 ul {}
.fnb2 ul li {
    float: left;
    margin-right: 24px;
}
.fnb2 ul li a {
    display: block;
    text-decoration: underline;
    color: #000;
    font-family: 'Paperlogy-3Light';
    font-size: 12px;
    line-height: 1;
}
.address {width: 808px;height: 161px;}
.address address {
    color: #000;
    font-family: 'Paperlogy-3Light';
    font-size: 12px;
    line-height: 1.5;
}
.address address a {
    text-decoration: underline;
    color: #000;
}
.address small {
    display: block;
    margin-top: 24px;
    color: #000;
    font-family: 'Paperlogy-3Light';
    font-size: 12px;
    line-height: 1.5;}