* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    /* padding-bottom: 80px; */
}
.sound_only{display:none}
/* 헤더 */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #2D3748 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-top .header-title{
    flex: 1;
    text-align: center;
    margin: 0;
}

.sd-study-search-layer{position:fixed;inset:0;background:#fff;z-index:1200}
.sd-study-search-head{padding:14px 14px 10px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:8px}
.sd-study-search-back{color:#64748b}
.sd-study-search-input-wrap{display:flex;align-items:center;background:#f1f5f9;border-radius:10px;padding:0 8px;flex:1;height:40px}
.sd-study-search-input-wrap input{flex:1;border:0;background:transparent;outline:0;font-size:16px}
.sd-study-search-input-wrap button{border:0;background:transparent;color:#94a3b8;display:flex}
.sd-study-search-icon{color:#8B5CF6;font-size:20px}
.sd-study-search-body{padding:12px 18px 24px;overflow:auto;height:calc(100% - 64px)}
.sd-study-search-section{margin-bottom:26px}
.sd-study-search-title-row{display:flex;justify-content:space-between;align-items:center}
.sd-study-search-section h4{font-size:28px;margin:0;color:#111827}
.sd-study-search-title-row button{border:0;background:none;color:#8B5CF6}
.sd-study-recent-wrap,.sd-study-hot{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.sd-study-recent-wrap button,.sd-study-hot button{border:0;background:none;color:#111827;font-size:14px}
.sd-study-empty{color:#94a3b8;margin-top:14px}
.sd-study-search-title{font-weight:700;margin:4px 0 12px}
.sd-study-result-item{display:block;text-decoration:none;color:inherit;padding:10px 0;border-bottom:1px solid #f1f5f9}
.sd-study-result-board{font-size:12px;color:#8B5CF6}
.sd-study-result-title{font-size:15px;font-weight:600;line-height:1.4;margin-top:2px}
.sd-study-result-date{font-size:12px;color:#94a3b8;margin-top:4px}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle .material-icons {
    color: #8B5CF6;
    font-size: 29px;
}

.logo {
    display: flex;
    width: 120px;
    height: 24px;
    font-size: 20px;
    font-weight: 700;
    color: transparent;
    flex: 1;
    text-align: center;
    background: url('../images/salonday_logo.png') no-repeat;
    align-items: center;
    justify-content: center;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
}

.header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-icon-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
button.header-icon-link{
    border:0;
    background:transparent;
    padding:0;
    cursor:pointer;
}
.header-top .back-btn{
    border:0;
    background:transparent;
    appearance:none;
    -webkit-appearance:none;
    box-shadow:none;
}
.header-top button.header-icon-link{
    border:0;
    background:transparent;
    appearance:none;
    -webkit-appearance:none;
    box-shadow:none;
}

.header-icons .material-icons {
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 5px;
    border-top: 1px solid #f1f5f9;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    padding: 12px 10px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #8B5CF6;
    border-bottom-color: #8B5CF6;
}

/* 사이드 메뉴 */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.active {
    left: 0;
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 프로필 섹션 */
.side-menu-profile {
    padding: 0px 15px;
    background: #fff;
    /* border-bottom: 1px solid #f1f5f9; */
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.profile-link:hover {
    background: #f8fafc;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #EDE7F6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar .material-icons {
    font-size: 40px;
    color: #8B5CF6;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.profile-region {
    font-size: 12px;
    color: #999;
}

.profile-arrow {
    color: #94a3b8;
    font-size: 20px;
}

/* 빠른 링크 버튼 */
.side-menu-quick-links {
    display: flex;
    gap: 12px;
    padding: 5px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    overflow-x: auto;
    scrollbar-width: none;
}

.side-menu-quick-links::-webkit-scrollbar {
    display: none;
}

.quick-link-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    /* background: #f8fafc; */
    border-radius: 35px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 70px;
    flex-shrink: 0;
}

.quick-link-btn:hover {
    background: #EDE7F6;
    transform: translateY(-2px);
}

.quick-link-btn .material-icons {
    font-size: 28px;
    color: #8B5CF6;
}

.quick-link-btn span:last-child {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.side-menu-header .logo {
    font-size: 18px;
    text-align: left;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}

.close-menu .material-icons {
    color: #64748b;
    font-size: 24px;
}

.side-menu-nav {
    padding: 0px 0;
    max-width: 100%;
}

.side-menu-footer {
    /* position: sticky; */
    bottom: 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    padding: 16px 20px;
    text-align: center;
}

.side-menu-logout {
    display: block;
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 10px;
    text-decoration: none;
    color: #666;
}

.side-menu-close-btn {
    width: 100%;
    padding: 14px;
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.side-menu-close-btn:hover {
    background: #7C3AED;
}

.menu-item {
    border-bottom: 1px solid #f8fafc;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.menu-link:hover {
    background: #f8fafc;
}

.menu-link .material-icons:first-child {
    color: #8B5CF6;
    font-size: 24px;
}

.menu-link .expand-icon {
    margin-left: auto;
    color: #94a3b8;
    font-size: 20px;
}

.sub-menu {
    background: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 20px;
    overflow: visible;
    list-style: none;
}

/* 3차 메뉴가 있는 경우 (sub-menu-item) - 전체 너비 */
.sub-menu-item {
    width: 100%;
    flex: 1 1 100%;
}

/* 3차 메뉴가 없는 경우 - 2열 배치 */
.sub-menu > li:not(.sub-menu-item) {
    list-style: none;
    flex: 1;
    min-width: calc(50% - 6px);
}

.sub-menu > li:not(.sub-menu-item) > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.sub-menu > li:not(.sub-menu-item) > a .material-icons {
    color: #94a3b8;
    flex-shrink: 0;
}

.sub-menu > li:not(.sub-menu-item) > a:hover {
    color: #8B5CF6;
    background: #f3e8ff;
    border-color: #8B5CF6;
}

.sub-menu > li:not(.sub-menu-item) > a:hover .material-icons {
    color: #8B5CF6;
}

/* 2단계 메뉴 (sub-menu-item) - 3차 메뉴가 있는 경우 */

.sub-menu-link {
    display: flex;
    padding: 5px 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
    width: 100%;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    gap: 8px;
}

.sub-menu-icon {
    font-size: 18px;
}

.sub-menu-link:hover {
    color: #8B5CF6;
    background: #f3e8ff;
    border-color: #8B5CF6;
}

.sub-menu-link .expand-icon {
    font-size: 18px;
    color: #94a3b8;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.sub-menu-item.active .sub-menu-link .expand-icon {
    transform: rotate(90deg);
}

/* 3단계 메뉴 (sub-sub-menu) */
.sub-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
    width: 100%;
    margin-top: 0;
    border-radius: 8px;
    padding: 0;
}

.sub-menu-item.active .sub-sub-menu {
    max-height: 1000px;
    padding: 8px 0;
}

.sub-sub-menu li {
    list-style: none;
}

.sub-sub-menu a {
    display: block;
    padding: 10px 16px 10px 24px;
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.sub-sub-menu a:hover {
    color: #8B5CF6;
    background: #f8fafc;
    border-left-color: #8B5CF6;
}

/* Hero Section (sd-hero) */
.sd-hero {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.sd-hero__slider {
    height: 100%;
    position: relative;
}

.sd-hero__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.65), rgba(236, 72, 153, 0.55)), url('https://source.unsplash.com/800x400/?beauty,salon,hair');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.sd-hero__slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(142, 36, 170, 0.65), rgba(186, 104, 200, 0.55)), url('https://source.unsplash.com/800x400/?hairdresser,styling,beauty');
    background-size: cover;
    background-position: center;
}

.sd-hero__slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.65), rgba(149, 117, 205, 0.55)), url('https://source.unsplash.com/800x400/?haircut,salon,professional');
    background-size: cover;
    background-position: center;
}

.sd-hero__slide.active {
    opacity: 1;
}

.sd-hero__content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sd-hero__content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.sd-hero__cta {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
    bottom: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 5px 15px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    font-size: 12px;
}

.sd-hero__cta:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.sd-hero__indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.sd-hero__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.sd-hero__indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Section Styles (sd-section) */
.sd-section {
    padding: 24px 20px 16px;
    background: white;
    margin-bottom: 8px;
}

/* Tab System */
.sd-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sd-tabs__nav {
    display: flex;
    background: #f8f9fa;
    border-radius: 24px;
    padding: 4px;
}

.sd-tabs__tab {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    background: transparent;
    border: none;
    outline: none;
}

.sd-tabs__tab.active {
    background: #8B5CF6;
    color: white;
    font-weight: 600;
}

.sd-tabs__more {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    text-decoration: none;
}

.sd-tabs__more:hover {
    color: #8B5CF6;
}

/* Tab Content */
.sd-tab-content {
    display: none;
}

.sd-tab-content.active {
    display: block;
}

/* Event Icons */
.sd-event-icons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 16px 0;
    justify-content: space-between;
    max-width: 100%;
}

.sd-event-icons::-webkit-scrollbar {
    display: none;
}

.sd-event-icon {
    flex: 1;
    min-width: 60px;
    max-width: 60px;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
}

.sd-event-icon__image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: #EDE7F6;
    color: #8B5CF6;
    font-weight: 700;
    font-size: 12px;
}

.sd-event-icon:hover .sd-event-icon__image {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.sd-event-icon__name {
    font-size: 11px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

/* 특별 이벤트 아이콘 스타일 */
.sd-event-icon__image.only-deal {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A50 100%);
    color: white;
}

.sd-event-icon__image.sale {
    background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
    color: white;
}

.sd-event-icon__image.one-plus-one {
    background: linear-gradient(135deg, #FFD700 0%, #40C4FF 100%);
    color: white;
}

.sd-event-icon__image.coupon {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
}

.sd-event-icon__image.same-day {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
    color: white;
}

/* Categories */
.sd-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    justify-content: space-between;
}

.sd-categories::-webkit-scrollbar {
    display: none;
}

.sd-category {
    flex: 1;
    min-width: 60px;
    max-width: 80px;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
}

.sd-category__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 8px;
    transition: all 0.2s;
    color: #8B5CF6;
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, #BB56FF 0%, #7056D9 50%, #2456B3 100%);
    box-sizing: border-box;
}

.sd-category__icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: white;
    z-index: 0;
}

.sd-category:hover .sd-category__icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.sd-category__icon img {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.sd-category__icon .icon-svg {
    position: relative;
    z-index: 1;
}

.sd-category__icon .icon-svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.sd-category__name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

/* Brand Grid */
.sd-brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sd-brand {
    text-align: center;
    cursor: pointer;
}

.sd-brand__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E9ECEF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.2s;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.sd-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.sd-brand:hover .sd-brand__logo {
    border-color: #8B5CF6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.sd-brand__name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* SVG 아이콘 스타일 */
.icon-svg {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.icon-svg.small {
    width: 16px;
    height: 16px;
}

/* 섹션 공통 스타일 */
.product-section,
.brand-section,
.event-section,
.review-section,
.job-section,
.market-section,
.study-section {
    padding: 24px 16px;
    background: white;
    margin-bottom: 8px;
}

.section-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: space-between;
}


.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.view-all {
    font-size: 14px;
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
}

.section-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.register-btn {
    background: #8B5CF6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* 필터 탭 */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    color: #64748b;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-tab.active,
.filter-tab:hover {
    background: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

/* 상품 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.special-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.product-badge.sale {
    background: #ef4444;
}

.product-badge.new {
    background: #2563eb;
}

.product-badge.hot {
    background: #f59e0b;
}

.product-badge:not(.sale):not(.new):not(.hot) {
    background: #8B5CF6;
}

.product-info {
    padding: 12px;
}

.product-brand {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.product-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.product-discount {
    font-size: 13px;
    color: #ef4444;
    font-weight: 600;
}

.product-price-value {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.product-rating .star {
    color: #FFD700;
    font-size: 16px;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.seller-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #EDE7F6;
    flex-shrink: 0;
}

.seller-name {
    font-weight: 500;
}

/* 탭 콘텐츠 */
.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

/* 메인: 살롱데이 특가(할인) 가로 스크롤 */
.sd-home-special .sd-special-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.sd-home-special .sd-special-scroll::-webkit-scrollbar {
    display: none;
}

.sd-special-card {
    flex: 0 0 148px;
    width: 148px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.sd-special-card__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f8fafc;
    overflow: hidden;
}

.sd-special-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-special-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #8B5CF6;
    line-height: 1.2;
}

.sd-special-card__body {
    padding: 10px 10px 12px;
}

.sd-special-card__brand {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.sd-special-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    margin-bottom: 6px;
}

.sd-special-card__price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.sd-special-card__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: #64748b;
}

.sd-special-card__rating .material-icons {
    font-size: 14px;
    color: #fbbf24;
    width: 14px;
    height: 14px;
}

/* 메인: HOT 상품(히트) 3열 + 탭 */
.sd-home-hot-tabs {
    margin-bottom: 12px;
}

.sd-home-hot-panel {
    display: none;
}

.sd-home-hot-panel.active {
    display: block;
}

.sd-home-hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sd-hot-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sd-hot-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 6px;
}

.sd-hot-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-hot-card__pill {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 1;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #8B5CF6;
}

.sd-hot-card__name {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    margin-bottom: 4px;
}

.sd-hot-card__price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.sd-home-block-empty {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    padding: 28px 12px;
    margin: 0;
}

.sd-home-block-empty--grid {
    grid-column: 1 / -1;
}

/* 메인: 중단 배너 슬롯 */
.sd-home-banner-slot {
    padding: 0 16px 24px;
    background: #fff;
    margin-bottom: 8px;
}

.sd-home-banner-slot__inner {
    min-height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

.sd-home-banner-slot__label {
    font-weight: 500;
}

/* 살롱데이 특가 */
.special-offer {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* 특가 슬라이더 */
.special-offer-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
}

.special-offer-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.special-offer-slider::-webkit-scrollbar {
    display: none;
}

.special-product-card {
    flex-shrink: 0;
    width: 160px;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.special-product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.special-product-card .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}

.special-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-product-card .product-badge.days-left {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FF6B35;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.special-product-card .product-info {
    padding: 12px;
}

.special-product-card .product-brand {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.special-product-card .product-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.special-product-card .product-price {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.special-product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.special-product-card .product-rating .star {
    color: #FFD700;
    font-size: 16px;
}

/* 샴푸 상담 배너 */
.consult-banner {
    margin: 16px;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    min-height: 120px;
}

.consult-content {
    flex: 1;
}

.consult-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    word-break: auto-phrase;
}

.consult-desc {
    font-size: 14px;
    opacity: 0.9;
}

.consult-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.consult-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 브랜드 슬라이더 */
.brand-slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.brand-slider {
    display: flex;
    gap: 0px;
    animation: slideBrands 50s linear infinite;
    width: max-content;
}

.brand-slider:hover {
    animation-play-state: paused;
}

.brand-slider .sd-brand {
    flex-shrink: 0;
    min-width: 80px;
}

@keyframes slideBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 8px));
    }
}

/* 브랜드 로고 (기존 스타일 유지) */
.brand-logos {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.brand-logos::-webkit-scrollbar {
    display: none;
}

.brand-logo {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* 이벤트 캐러셀 */
.event-section {
    position: relative;
}

.event-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
    margin-bottom: 12px;
}

.event-carousel::-webkit-scrollbar {
    display: none;
}

.event-slide {
    min-width: 100%;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.event-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
}

.event-content h3 {
    font-size: 18px;
    font-weight: 700;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #8B5CF6;
}

/* 리뷰 슬라이더 */
.review-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.review-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.review-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex-shrink: 0;
    width: calc(50% - 6px);
    min-width: calc(50% - 6px);
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.review-card a {
    text-decoration: none;
    color: inherit;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.review-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    padding: 12px;
}

.review-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-product {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.product-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-product .product-name {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.review-like {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.review-like:hover {
    transform: scale(1.1);
}

.review-like .material-icons {
    font-size: 20px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.review-like.active .material-icons {
    color: #FF6B35;
}


/* 리뷰 그리드 (기존 스타일 유지) */
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* 잡스 리스트 */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 구인구직 섹션 액션 버튼 */
.section-actions {
    display: flex;
    gap: 8px;
}

.job-action-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.together-btn {
    background: #8B5CF6;
    color: white;
}

.together-btn:hover {
    background: #7C3AED;
}

.join-btn {
    background: #10B981;
    color: white;
}

.join-btn:hover {
    background: #059669;
}

/* 구인구직 리스트 컨테이너 */
.job-list-container {
    position: relative;
    height: 470px; /* 3개 카드가 모두 보이도록 충분한 높이 설정 (카드 높이 + gap 고려) */
    overflow: hidden;
    padding: 0 8px; /* 좌우 여백 추가하여 보더가 잘리지 않도록 (scale 효과 고려) */
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 20px;
    left: 8px; /* 컨테이너 padding과 맞춤 */
    right: 8px; /* 컨테이너 padding과 맞춤 */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 100px;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
}

.job-card a {
    text-decoration: none;
    color: inherit;
}

.job-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-card.active {
    border: 2px solid #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

.job-card.selected {
    border: 2px solid #8B5CF6;
}

.job-thumbnail {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
}

.job-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-info {
    flex: 1;
    min-width: 170px;
}

.job-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.job-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f3e8ff;
    color: #7c3aed;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.job-location,
.job-experience {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
}

.job-location .material-icons,
.job-experience .material-icons {
    font-size: 16px;
    color: #1e293b;
}

.job-like {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 60px;
}

.job-like .material-icons {
    color: #94a3b8;
    font-size: 24px;
    transition: color 0.3s ease;
}

.job-like .like-text {
    font-size: 11px;
    color: #64748b;
}

.job-like.active .material-icons {
    color: #8B5CF6;
}

.job-like.active .like-text {
    color: #8B5CF6;
}

/* 마켓 리스트 */
.market-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.market-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.market-card:hover {
    background: #f1f5f9;
}

.market-card a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.market-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.market-info {
    flex: 1;
    min-width: 0;
}

.market-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.market-type-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.market-type-badge.sell {
    background: #8B5CF6;
    color: white;
}

.market-type-badge.buy {
    background: #10B981;
    color: white;
}

.market-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

.market-price {
    font-size: 16px;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 8px;
}

.market-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
}

/* 스터디 그리드 */
.study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.study-card {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.study-card:hover {
    transform: translateY(-4px);
}

.study-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.study-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.study-info {
    padding: 12px;
}

.study-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.study-info p {
    font-size: 12px;
    color: #64748b;
}

/* 하단 네비게이션 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0px 12px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 11px;
    transition: color 0.3s ease;
}

.bottom-nav .nav-item .material-icons {
    font-size: 24px;
}

.bottom-nav .nav-item.active {
    color: #8B5CF6;
}

/* 반응형 */
@media (max-width: 480px) {
    .special-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .product-info {
        padding: 8px 0;
    }
    
    .product-name {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 14px;
    }
}

/* 숨김 클래스 */
.hidden {
    display: none !important;
}

/* 플로팅 상담 메뉴 */
.floating-consult {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.floating-btn-icon svg,
.floating-btn-icon .material-icons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.floating-btn-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.floating-btn:hover .floating-btn-text {
    opacity: 1;
    bottom: -20px;
}

.kakao-btn {
    background: #FEE500;
    color: #3C1E1E;
}

.kakao-btn:hover {
    background: #FDD835;
}

.kakao-btn .floating-btn-text {
    color: #3C1E1E;
}

.call-btn {
    background: #8B5CF6;
    color: white;
}

.call-btn:hover {
    background: #7C3AED;
}

.call-btn .floating-btn-text {
    color: white;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .floating-consult {
        right: 16px;
        bottom: 90px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 56px;
        height: 56px;
    }
    
    .floating-btn-icon svg,
    .floating-btn-icon .material-icons {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    
    .floating-btn-text {
        font-size: 10px;
    }
}

/* =====================================================
   홈 카테고리 / 브랜드 탭 섹션 (sd-home-catbrand)
   ===================================================== */
.sd-home-catbrand {
    background: #fff;
    margin-bottom: 10px;
    padding: 0;
}

/* 탭 헤더 */
.sd-hcb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 15px 5px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.sd-hcb-tabs {
    display: flex;
    gap: 4px;
}

.sd-hcb-tab {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    background: none;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.sd-hcb-tab.active {
    background: #8B5CF6;
    color: #fff;
}

.sd-hcb-viewall {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1px;
    padding-bottom: 2px;
}

.sd-hcb-viewall .material-icons {
    font-size: 13px;
    vertical-align: middle;
}

/* 패널 공통 */
.sd-hcb-panel {
    padding: 14px 15px 16px;
}

/* 카테고리 그리드: 6열 2행 */
.sd-hcb-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 6px;
}

.sd-hcb-cat-item {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sd-hcb-cat-img-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f0ff;
    border: 1.5px solid #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sd-hcb-cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-hcb-cat-label {
    font-size: 11px;
    color: #555;
    text-align: center;
    line-height: 1.3;
    word-break: keep-all;
}

/* 브랜드 그리드: 4열 2행 (7개 + 더보기) */
.sd-hcb-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 8px;
}

.sd-hcb-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #333;
}

.sd-hcb-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sd-hcb-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.sd-hcb-brand-initial {
    font-size: 18px;
    font-weight: 700;
    color: #8B5CF6;
}

.sd-hcb-brand-name {
    font-size: 11px;
    color: #444;
    text-align: center;
    font-weight: 500;
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 브랜드 더보기 버튼 카드 */
.sd-hcb-brand-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #8B5CF6;
}

.sd-hcb-brand-more-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #c4b5fd;
    background: #f5f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.sd-hcb-brand-more:hover .sd-hcb-brand-more-circle {
    background: #ede9fe;
    border-color: #8B5CF6;
}

.sd-hcb-brand-more-circle .material-icons {
    font-size: 24px;
    color: #8B5CF6;
}

.sd-hcb-brand-more-label {
    font-size: 11px;
    color: #8B5CF6;
    font-weight: 600;
    text-align: center;
}

/* 브랜드 없음 메시지 */
.sd-hcb-brand-empty {
    text-align: center;
    color: #aaa;
    padding: 30px 0;
    font-size: 13px;
}

/* 판널 초기 숨김 (브랜드 탭 기본 비활성) */
.sd-hcb-panel--hidden {
    display: none;
}

