* {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue",
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* ----------------------------------
   메인 배너
---------------------------------- */
.main-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 32px;
}
.main-banner img {
    width: 592px;
    height: 280px;
    display: block;
    margin: 15px auto 0;
}

/* ----------------------------------
   메인 아이콘 메뉴
---------------------------------- */
.icon-menu {
    margin: 20px 0 32px 0;
    text-align: center;
}
.icon-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 75px;
}
.icon-menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    cursor: pointer;
}
.icon-menu li img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* ----------------------------------
   섹션 공통 스타일(여백 등)
---------------------------------- */
.hot-beauty,
.tips-section,
.hot-items {
    padding: 0 20px 0 20px;
}
.hot-beauty {
    margin-bottom: 32px;
}

/* 섹션 제목 하단 여백 통일 */
.hot-beauty h2,
.hot-items h2,
.tips-section h2 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

/* ----------------------------------
   주변 핫한 뷰티샵 카드 레이아웃
---------------------------------- */
.hot-beauty > div,
.hot-items > div {
    display: flex;
    gap: 16px;
}

#shop-wrapper {
    display: flex;
    gap: 16px;
    margin-top: 0;
    width: 640px;               /* 고정 가로길이 */
    max-width: 640px;
    overflow-x: auto;           /* 가로 스크롤 */
    overflow-y: hidden;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.shop-card {
    flex: 0 0 auto;
    width: 440px;               /* 카드 한 장의 가로길이 */
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 이미지+아래 구분선 */
.shop-image {
    width: 100%;
    position: relative;
}
.shop-image img {
    width: 440px;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 18px 18px;
}
.shop-image::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #eee;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* 카드 내부 정보(텍스트) */
.shop-info {
    width: 100%;
    padding: 8px 16px 10px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shop-name {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.shop-address {
    color: #888;
    font-size: 15px;
    margin-bottom: 2px;
}

.shop-meta {
    color: #888;
    font-size: 15px;
    margin-bottom: 0;
}

#shop-wrapper::-webkit-scrollbar {
    height: 7px;
}
#shop-wrapper::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 4px;
}
#shop-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

/* ----------------------------------
   꿀팁(유튜브 영상) 그리드 스타일
---------------------------------- */
.tips-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 320px);
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
    width: 660px;
}
.video-container {
    text-align: center;
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.video-container iframe {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    display: block;
}


.popular-posts {
    padding: 0 20px 32px 20px; /* 하단 여백 추가 */
}

.popular-posts h2 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

#popular-posts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-post-item {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.popular-post-item:hover {
    background-color: #f8f9fa;
}

.popular-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.popular-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popular-post-info .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.popular-post-info .meta {
    font-size: 13px;
    color: #888;
}