* {
  font-family: 'Noto Sans KR', sans-serif;
}



a {
  text-decoration: none !important;  /* 밑줄 제거 */
  color: inherit !important;         /* 부모 요소의 글자색 상속 */
}

a:hover {
  text-decoration: none !important;
  color: inherit !important;
}

ul{
    margin: 0;
    padding:0;
    list-style: none;
}

.background-option{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main_bg{
    background-color: #f43142;
}

.main_title{
    font-weight: bold;
    font-size: 1.286em;
}

.pointer{
    cursor: pointer;
}

.bg-wrapper{
  height:100vh;
  padding-top:50px;
  background-color: #f2f3f5;
}

.bg{
    background-color: #f2f3f5;
}

.btn-group-bottom {
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}


.mypage-menu-item{
    border:1px solid lightgray;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
}

.mypage-menu-item:hover{
    font-weight: bold;
    background-color: #f2f3f5;
}



/**/
.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-img-wrap {
    position: relative;
}

.product-img-wrap img {
    width: 100%;
    display: block;
}

.hover-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hover-menu div {
    width: 33%;
    text-align: center;
    font-size: 0.75rem;
}

.hover-menu i {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.product-card:hover .hover-menu {
    opacity: 1;
    z-index: 1019;
}

.badge-coupon {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discount {
    color: red;
    font-weight: bold;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
}

.review {
    font-size: 0.9rem;
    color: #666;
}

.star-rating {
    color: #e91e63;
}
/**/


@media (min-width: 768px) {
    .common_pd{
        padding:0 80px;
    }

    .main_title{
        font-size:30px;
    }
}


@media (max-width: 767.98px) {
    body, html {
      overflow-x: hidden;
    }

    .bg-wrapper{
        height: auto;
        padding-bottom:50px;
    }
}
