@charset "euc-kr";


/* ¸ÞÀÎ ÄÁÅ×ÀÌ³Ê */
.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
}

#currentKindName {
    display: none;
}

/* ÆäÀÌÁö Çì´õ ¹× À§Ä¡ Á¤º¸ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 30px;
/*    border-bottom: 1px solid #ddd;*/
/*    margin-bottom: 30px;*/
}

.page-header-title {
    display: flex;
    align-items: flex-end;
}

.page-header-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.page-header-title .sub-text {
    font-size: 13px;
    color: #7A8289;
    font-weight: 400;
    margin-left: 10px;
    line-height: 1.2;
}

.location-info {
    font-size: 14px;
    color: #999;
}

.location-info .arr {
    color: #ccc;
}

.location-info .current {
    font-weight: bold;
    color: #000;
}

/* 2Â÷ ¸Þ´º (ÅÇ) */
.sub-menu {
    max-width: 1200px;
/*    margin: 0 auto 30px;*/
    overflow: hidden;
}

.sub-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.sub-menu li {
    text-align: center;
}

.sub-menu li a {
    display: block;
    width: 110px;
    padding: 5px 0px;
    border-radius: 10px;
    color: #969696;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-menu li.active a,
.sub-menu li a:hover {
    color: #fff;
}

/* ÄÜÅÙÃ÷ ¼½¼Ç */
.content-section {
    margin-top: 20px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

/*»ó´Ü¼­ºê¸Þ´º*/

#product-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
}

#product-menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

#product-menu li:hover {
    transform: translateY(-5px);
}

#product-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.menu-icon {
    width: 110px; /* ¿øÀÇ Å©±â Á¶Á¤ */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
}

.menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#product-menu li.active a {
    color: #00C6AC; /* È°¼ºÈ­µÈ ¸Þ´º ÅØ½ºÆ® »ö»ó */
    font-weight: 700;
}


/* Á¦Ç° Ä«µå ±×¸®µå */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    gap: 40px 25px;
    margin-bottom: 50px;
}

/* °³º° Á¦Ç° Ä«µå ÄÁÅ×ÀÌ³Ê */
.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 370px;
    height: 380px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}


/* È£¹ö È¿°ú */
.product-card:hover {
    transform: translateY(-5px); /* YÃàÀ¸·Î 5px À§·Î ÀÌµ¿ */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* ±×¸²ÀÚ È¿°ú¸¦ ´õ °­ÇÏ°Ô */
}

/* Ä«µå ³»ºÎ ±¸¼º ¿ä¼Ò */
.card-front {
    display: flex;
    flex-direction: column;
}

.card-front .image-wrap {
    height: 260px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-front .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.card-info-main {
    padding: 20px;
    min-height: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Á¦¸ñ°ú ¹öÆ°À» ´ã´Â ÄÁÅ×ÀÌ³Ê */
.card-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.product-name {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    margin: 0;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 5px;
}

/* 'ÀÚ¼¼È÷ º¸±â' ¹öÆ° ½ºÅ¸ÀÏ */
.card-actions {
    padding: 0;
    text-align: right;
    flex-shrink: 0;
}

.detail-button {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: #00C6AC;
    cursor: pointer;
    text-decoration: none;
    transition: text-decoration 0.2s;
    display: inline-block;
}

.detail-button:hover {
    text-decoration: underline;
    background-color: transparent;
}


/* ¸ð´Þ ½ºÅ¸ÀÏ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* ÀÌ¹ÌÁö¿¡ ¸Â°Ô Åõ¸íµµ Á¶Á¤ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    border-radius: 20px; /* ÀÌ¹ÌÁö¿¡ ¸Â°Ô ´õ µÕ±Û°Ô */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px; /* ³»ºÎ ¿©¹é Á¶Á¤ */
}

/* ¸ð´Þ Çì´õ */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* ´Ý±â ¹öÆ° (X ¾ÆÀÌÄÜ) */
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    opacity: 0.6; /* ÀÌ¹ÌÁö¿Í À¯»çÇÏ°Ô ºÒÅõ¸íµµ Á¶Á¤ */
    padding: 0;
}

.modal-close:hover {
    opacity: 1;
}


/* ¸ð´Þ º»¹® */
.modal-body {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.modal-body dl {
    margin-bottom: 20px;
    padding: 0;
}

.modal-body dt {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-bottom: 5px;
}

.modal-body dd {
    margin-left: 0;
    line-height: 1.5;
    white-space: pre-line; /* \n(ÁÙ ¹Ù²Þ)À» ÀÎ½ÄÇÏµµ·Ï ¼³Á¤ */
    word-break: break-word; /* ±ä ÅØ½ºÆ® ÁÙ ¹Ù²Þ */
}

.modal-body .product-section-title {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.modal-body .product-attention {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* 'ÁÖ¹®ÇÏ±â' ¹öÆ° */
.modal-body .order-button {
    display: block;
    width: 80px;
    padding: 10px 15px;
    background-color: #00C6AC;
    color: #fff;
    font-size: 13px;
    font-weight: 400; /* ÆùÆ® ±½±â 400À¸·Î º¯°æ */
    text-align: center; /* ÅØ½ºÆ® Áß¾Ó Á¤·Ä */
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.2s;
    margin-top: 20px; /* À§ÂÊ ¸¶Áø 20px·Î º¯°æ */
}

.modal-body .order-button:hover {
    background-color: #00A38E;
}


/* ¸ð¹ÙÀÏ ¹ÝÀÀÇü */
@media (max-width: 1199px) {
    .container{
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .product-card {
        width: 100%;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-header .location-info {
        margin-top: 10px;
    }
    .sub-menu ul {
        gap: 5px;
    }
    .sub-menu li {
        flex-grow: 0;
        flex-basis: auto;
    }
    .sub-menu li a {
        padding: 8px 12px;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}