/* BASIC css start */
/* ±âº» ÆùÆ® ¼³Á¤ */
body {
    font-family: "Pretendard Variable", Pretendard, sans-serif;
}

/* °Ë»ö¹Ù ¹× »óÇ° °³¼ö ½ºÅ¸ÀÏ */
#contentWrapper .search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px; /* ¹è³Ê¿ÍÀÇ °£°Ý Á¶Á¤ */
    margin-bottom: 30px; /* Ä«Å×°í¸® ¹öÆ°°úÀÇ °£°Ý Á¶Á¤ */
}

#contentWrapper .product-count {
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

#contentWrapper .search-bar {
    display: flex;
    position: relative;
    width: calc(25% - 10px); /* °Ë»ö ¹Ù ³Êºñ Á¶Á¤ */
}

#contentWrapper .search-bar input {
    width: calc(100% - 40px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#contentWrapper .search-bar button {
    width: 40px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

#contentWrapper .search-bar button img {
    width: 20px; /* °Ë»ö ¾ÆÀÌÄÜ Å©±â Á¶Á¤ */
    height: auto;
    vertical-align: middle;
}

#contentWrapper .banner-space {
    position: sticky;
    top: 0;
    z-index: 10;
}

#contentWrapper .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4°³¾¿ Áø¿­ */
    position: sticky;
    top: 50px; /* ¹è³Ê ³ôÀÌ¸¸Å­ ¿©¹é Ãß°¡ */
    background-color: white;
    z-index: 10;
    padding: 10px 0;
}

#contentWrapper .category-grid button {
    flex: 1;
    min-width: auto;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    cursor: pointer;
    border-radius: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transition: font-weight 0.3s; /* ÆùÆ® ¹«°Ô ÀüÈ¯ È¿°ú */
}

#contentWrapper .category-grid button.active {
    background-color: #007bff;
    color: white;
    font-weight: 700; /* ÆùÆ® ¹«°Ô º¯°æ */
}

#contentWrapper .category-grid button:hover {
    background-color: #ddd;
}

/* ´õº¸±â ¹öÆ° ½ºÅ¸ÀÏ */
.custom-category-section button {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    background-color: #f8f9fa;
    border: 1px solid #007bff;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.custom-category-section button:hover {
    background-color: #007bff;
    color: #fff;
}

/* °øÀ¯ ¾ÆÀÌÄÜ ½ºÅ¸ÀÏ */
#contentWrapper .share-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 48px;
    height: 48px;
}

/* °øÀ¯ ÆË¾÷ ½ºÅ¸ÀÏ */
#sharePopup {
    display: none; /* ±âº»ÀûÀ¸·Î ¼û±â±â */
    position: fixed; /* È­¸é¿¡ °íÁ¤ */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* ¹ÝÅõ¸í ¹è°æ */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#sharePopup .popup-content {
    background: white;
    padding: 30px; /* ÆÐµù Á¶Á¤ */
    border-radius: 8px;
    text-align: center;
    width: 300px; /* ÆË¾÷ ³Êºñ Á¶Á¤ */
}

#sharePopup .popup-content h3 {
    font-size: 24px; /* Á¦¸ñ Å©±â Á¶Á¤ */
    margin-bottom: 20px; /* Á¦¸ñ°ú ³ª¸ÓÁö ³»¿ë °£°Ý Á¶Á¤ */
}

#sharePopup .share-url {
    display: flex;
    justify-content: center;
    align-items: center;
 }

#sharePopup .share-url input {
    font-size: 16px; /* ÀÔ·Â ÇÊµå ÆùÆ® Å©±â Á¶Á¤ */
    padding: 10px; /* ÀÔ·Â ÇÊµå ÆÐµù Á¶Á¤ */
    margin-right: 5px; /* ÀÔ·Â ÇÊµå¿Í ¹öÆ° °£°Ý Á¶Á¤ */
    width: calc(100% - 100px); /* ÀÔ·Â ÇÊµå ³Êºñ Á¶Á¤ */
    border: 1px solid #ccc; /* Å×µÎ¸® Ãß°¡ */
    border-radius: 4px; /* µÕ±Ù Å×µÎ¸® */
    background-color: #f0f0f0;
}

#sharePopup .share-url button {
    font-size: 16px; /* ¹öÆ° ÆùÆ® Å©±â Á¶Á¤ */
    padding: 10px 20px; /* ¹öÆ° ÆÐµù Á¶Á¤ */
    background-color: #007bff; /* ¹öÆ° ¹è°æ»ö */
    color: white; /* ¹öÆ° ÅØ½ºÆ® »ö»ó */
    border: none; /* ¹öÆ° Å×µÎ¸® Á¦°Å */
    border-radius: 4px; /* µÕ±Ù Å×µÎ¸® */
    cursor: pointer; /* ¸¶¿ì½º Ä¿¼­ Æ÷ÀÎÅÍ·Î º¯°æ */
}

#sharePopup .close-popup {
    font-size: 16px; /* ´Ý±â ¹öÆ° ÆùÆ® Å©±â Á¶Á¤ */
    padding: 10px 20px; /* ´Ý±â ¹öÆ° ÆÐµù Á¶Á¤ */
    background-color: #f0f0f0; /* ´Ý±â ¹öÆ° ¹è°æ»ö */
    color: black; /* ´Ý±â ¹öÆ° ÅØ½ºÆ® »ö»ó */
    border: none; /* ´Ý±â ¹öÆ° Å×µÎ¸® Á¦°Å */
    cursor: pointer; /* ¸¶¿ì½º Ä¿¼­ Æ÷ÀÎÅÍ·Î º¯°æ */
    border-radius: 5px; /* ´Ý±â ¹öÆ° Å×µÎ¸® µÕ±Û°Ô */
    margin-top: 20px; /* ´Ý±â ¹öÆ°°ú ³ª¸ÓÁö ³»¿ë °£°Ý Á¶Á¤ */
    width: 100%; /* ´Ý±â ¹öÆ° ³Êºñ ÀüÃ¼·Î Á¶Á¤ */
}


/* »óÇ° ¼½¼Ç ½ºÅ¸ÀÏ */
.custom-category-section {
    margin-top: 60px; /* Ä«Å×°í¸® ÀÌ¸§°úÀÇ °£°Ý Á¶Á¤ */
    margin-bottom: 50px;
    padding-top: 20px;
}

.custom-category-section h4 {
    font-size: 24px; /* Ä«Å×°í¸® ÀÌ¸§ Å©±â Á¶Á¤ */
    font-weight: bold; /* Ä«Å×°í¸® ÀÌ¸§ÀÇ ¹«°Ô ¼³Á¤ */
    margin-bottom: 20px; /* ÀÌ¸§°ú »óÇ° ¸ñ·Ï °£ÀÇ °£°Ý Á¶Á¤ */
}

.custom-item-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* »óÇ° °£ÀÇ °£°Ý Á¶Á¤ */
    margin-bottom: 30px;
}

.custom-item-cont {
    width: calc(20% - 20px); /* 5°³¾¿ Áø¿­ */
    box-sizing: border-box; /* Ensure box-sizing is accurate */
    padding: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.custom-item-list .thumb {
    margin-bottom: 10px; /* ÀÌ¹ÌÁö¿Í ÀÌ¸§ °£ÀÇ °£°Ý */
    position: relative;
}

.custom-item-list .thumb img {
    width: 100%;
    height: 260px;
}

.custom-prd-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.custom-prd-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* ÀÌ¸§°ú °¡°Ý »çÀÌ °ø°£À» Â÷ÁöÇÏµµ·Ï ¼³Á¤ */
}

.custom-prd-info li {
    margin-bottom: 5px;
}

.custom-prd-ico {
    height: 24px; /* ¾ÆÀÌÄÜ ¿µ¿ª ³ôÀÌ °íÁ¤ */
    display: flex;
    align-items: center;
}

.custom-prd-name {
    display: block;
    height: 24px; /* ÀÌ¸§ ¿µ¿ª ³ôÀÌ °íÁ¤ */
    line-height: 24px; /* ÅØ½ºÆ® ¼¼·Î Á¤·Ä */
     overflow: hidden;
    text-overflow: ellipsis; /* ³ÑÄ¡´Â ÅØ½ºÆ® »ý·« */
    white-space: nowrap; /* ÇÑ ÁÙ·Î Ç¥½Ã */
}

.custom-prd-name a {
    font-size: 16px; /* »óÇ° ÀÌ¸§ ÆùÆ® Å©±â ¼³Á¤ */
    font-weight: 500; /* ÆùÆ® ¹«°Ô ¼³Á¤ */
}

.custom-prd-price {
    font-size: 18px; /* °¡°ÝÀÇ Å©±â ¼³Á¤ */
    font-weight: 700; /* °¡°ÝÀÇ ÆùÆ® ¹«°Ô ¼³Á¤ */
    margin-top: 10px;
    height: 24px; /* °¡°Ý ¿µ¿ª ³ôÀÌ °íÁ¤ */
    line-height: 24px; /* ÅØ½ºÆ® ¼¼·Î Á¤·Ä */
}

.custom-prdname-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
}

.custom-prd-bottom {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-prd-wish {
    margin-left: auto;
    padding: 5px 0;
    margin-right: 8px;
    margin-top: 3px;
    margin-bottom: 20px;
}

.custom-prd-wish a > span {
    display: flex;
}

.custom-prd-wish .my-wish-count {
    display: none;
}

/* cart ¾ÆÀÌÄÜ */
.custom-item-cont .cart_icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1;
    width: 47px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(128, 128, 128, 1); /* È¸»ö ¹è°æ */
    border-radius: 50%;
    transition: background-color 0.1s; /* È£¹ö ½Ã ¹è°æ»ö ÀüÈ¯ È¿°ú */
}

.custom-item-cont .cart_icon a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.custom-item-cont .cart_icon img {
    position: relative;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.custom-item-cont .cart_icon:hover {
    background-color: #007bff; /* È£¹ö ½Ã ¹è°æ»ö */
}

/* Swiper ¹öÆ° ½ºÅ¸ÀÏ */
#productClass .swiper-button-prev,
#productClass .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
    color: #000;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: all 0.1s;
    z-index: 2;
}

#productClass .swiper-button-prev {
    left: 10px;
    z-index: 2;
}

#productClass .swiper-button-next {
    right: 10px;
}

#productClass .swiper-button-prev:not(.swiper-button-disabled):hover,
#productClass .swiper-button-next:not(.swiper-button-disabled):hover {
    background-color: #007bff;
    color: #fff;
}

#productClass .swiper-button-prev:not(.swiper-button-disabled),
#productClass .swiper-button-next:not(.swiper-button-disabled) {
    background-color: #ddd;
}

#productClass .swiper-button-prev::after,
#productClass .swiper-button-next::after {
    font-size: 14px;
}

/* BASIC css end */

