/* =========================================
   RESET & VARIABLES
========================================= */
:root {
    --primary-color: #000000;
    --accent-color: #3b5998; /* 리뷰/뱃지에 쓰일 블루톤 */
    --text-main: #222222;
    --text-sub: #777777;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; color: var(--text-main); line-height: 1.6; word-break: keep-all; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.container-top{padding-top: 40px;}
.title-b h3{
    font-size: 24px;
    margin-bottom:30px;
    font-family:'Pretendard';
}
.title-b.bst h3{
    text-align:center;
    margin-top: 40px;
}
/* =========================================
   HEADER
========================================= */
.header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px); border-bottom: 1px solid var(--border-color); z-index: 1000; transition: 0.3s; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }
.gnb ul { display: flex; gap: 40px; }
.gnb a { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; }
.gnb a:hover { color: var(--accent-color); }
.util-icons { display: flex; gap: 20px; font-size: 20px; }
.logo img{width: 150px;}
/* =========================================
   HERO BANNER
========================================= */
.hero-banner { height: 650px; background: no-repeat center/cover; display: flex; align-items: center; overflow:hidden; }
.hero-content { color: var(--primary-color); display:none; }
.hero-sub { font-size: 16px; font-weight: 500; margin-bottom: 10px; letter-spacing: 1px; }
.hero-title { font-size: 48px; font-weight: 300; line-height: 1.3; margin-bottom: 30px; }
.hero-title strong { font-weight: 800; }
.btn-shop { display: inline-block; background: var(--primary-color); color: #fff; padding: 15px 40px; font-size: 15px; font-weight: 600; transition: 0.3s; }
.btn-shop:hover { background: #333; }

 
/* =========================================
   TRUST BANNER
========================================= */
.trust-banner { padding: 0px 0; background: #fdfdfd; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.trust-content { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: left; }
.trust-icon { font-size: 40px; color: silver; }
.trust-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 5px; }
.trust-text p { font-size: 14px; color: var(--text-sub); }

/* =========================================
   COMMON SECTION HEADER
========================================= */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-header.center { justify-content: center; }
.section-title { font-size:40px; font-weight: 700; color:#333333; font-family:'Pretendard'; letter-spacing: 0px; }
.view-more { font-size: 13px; font-weight: 600; color: var(--text-sub); }
.view-more:hover { color: var(--primary-color); }

/* =========================================
   REVIEWS (CSS Grid로 절대 안 깨짐)
========================================= */
.review-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.review-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: 0.3s; cursor: pointer; }
.review-card:hover { border-color: #bbb; }
.r-img-box { width: 100%; aspect-ratio: 1; background: #f0f0f0; } /* 이미지가 없어도 정사각형 유지 */
.r-img-box img { width: 100%; height: 100%; }
.r-info { padding: 15px; }
.stars { color: #ffb800; font-size: 12px; margin-bottom: 8px; letter-spacing: 2px; }
.r-text { font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 10px; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.r-user { font-size: 11px; color: var(--text-sub); }

/* =========================================
   EVENT BANNER
========================================= */
.event-banner { color: #fff; padding: 0px 0; text-align: center; }
.event-inner p { font-size: 24px; font-weight: 300; margin-bottom: 25px; }
.event-inner strong { font-weight: 700; color: #ffd700; }
.subscribe-form { display: flex; justify-content: center; max-width: 400px; margin: 0 auto; }
.subscribe-form input { flex: 1; padding: 12px 20px; border: none; outline: none; font-size: 14px; }
.subscribe-form button { padding: 0 30px; background: var(--text-sub); color: #fff; border: none; font-weight: bold; cursor: pointer; transition: 0.2s; }
.subscribe-form button:hover { background: #555; }

/* =========================================
   D'S PICK (3열 구조)
========================================= */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pick-card { text-align: center; group; }
.p-img { background: var(--bg-light); aspect-ratio: 4/5; border-radius: 12px; margin-bottom: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.p-img img { height: 80%; width: auto; object-fit: contain; transition: 0.4s; }
.pick-card:hover .p-img img { transform: scale(1.05); }
.p-info h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.p-info p { font-size: 14px; color: var(--text-sub); }

/* =========================================
   BEST ITEMS (4열 상품 그리드)
========================================= */
 .product-grid{display:flex; flex-wrap:wrap; gap:2%;}
.product-grid a{
    width:23.5%; 
}
.item-card { display: block; width:100%; }
.i-img { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; aspect-ratio: 1; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.i-img img { height: 100%; width: auto; object-fit: contain; transition: 0.3s; }
.item-card:hover .i-img img { transform: translateY(-5px); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 8px; font-size: 11px; font-weight: 800; border-radius: 4px; color: #fff; z-index: 10; }
.badge.best { background: var(--accent-color); }
.badge.new { background: #000; }
.i-desc { text-align: left; margin-bottom:30px; }
.i-name { font-size: 15px; font-weight: 600;   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-price { font-size: 18px; font-weight: 800; color: #000; }
.i-price span { font-size: 14px; font-weight: 500; margin-left: 2px; }

/* =========================================
   FOOTER
========================================= */
/* 푸터 전체 기본 스타일 */
.footer {
    background: #fff;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
    border-top: 1px solid #eee;
    padding-top: 60px;
}

.footer .container {
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* 상단 4단 그리드 */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col .f-tel {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li a { color: #666; text-decoration: none; }
.footer-col ul li a:hover { color: #000; }

/* 소셜 아이콘 */
.f-social { margin-top: 20px; }
.f-social a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #888;
    margin-right: 8px;
    font-size: 14px;
}

/* 주문조회 버튼 */
.btn-order-track {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 500;
}

/* 하단 상세 정보 영역 */
.footer-bottom {
    background: #fafafa;
    padding: 40px 0 60px;
    border-top: 1px solid #eee;
}

.f-biz-info { margin-bottom: 5px; }
.f-biz-info span { margin-right: 15px; position: relative; }
.f-biz-info span:not(:last-child):after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: #ccc;
    margin-left: 15px;
    vertical-align: middle;
}

.btn-verify {
    background: #ddd;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 2px;
    color: #555;
    text-decoration: none;
}

.f-copyright { margin-top: 25px; color: #999; text-transform: uppercase; }

/* 에스크로 배치 */
.escrow-badge {
    position: absolute;
    right: 20px;
    top: 40px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .escrow-badge { position: static; margin-top: 20px; }
}



/* =========================================
   RESPONSIVE (반응형 미디어 쿼리)
========================================= */

/* 1. 태블릿 (화면 너비 1024px 이하) */
@media (max-width: 1024px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 2. 모바일 (화면 너비 768px 이하) */
@media (max-width: 768px) {
    /* 공통 여백 및 폰트 축소 */
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 22px; text-align:center; width:100%; }

    /* 헤더: GNB를 모바일용 가로 스크롤 메뉴로 변경 */
    .header-inner {flex-wrap: wrap;height: auto;padding: 15px 0;gap:5px;}
    .logo {font-size: 20px;width: 50%; }
    .util-icons { width: 40%; justify-content: flex-end; }
    .gnb {width: 100%;order: 3;overflow-x: auto;padding-bottom: 5px;-webkit-overflow-scrolling: touch;}
    .gnb::-webkit-scrollbar { display: none; } /* 스크롤바 숨김 */
    .gnb ul { gap: 20px; width: max-content; padding: 0 10px; }
    .gnb a { font-size: 13px; }

    /* 메인 배너 */
    .hero-banner { height: 400px; }
    .hero-title { font-size: 30px; margin-bottom: 20px; }
    .btn-shop { padding: 12px 25px; font-size: 14px; }

    /* 퀵 서비스 (2열 구조, 아이콘 위로 배치) */
    .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .quick-item { padding: 15px; flex-direction: column; text-align: center; gap: 10px; }

    /* 신뢰 배너 (세로 정렬) */
    .trust-content { flex-direction: column; text-align: center; gap: 10px; }

    /* 리얼 리뷰 (2열 구조) */
    .review-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .r-text { font-size: 12px; height: 35px; } /* 모바일 폰트 최적화 */

    /* 이벤트 배너 (폼 세로 정렬) */
    .event-banner { padding: 40px 20px; }
    .event-inner p { font-size: 18px; }
    .subscribe-form { flex-direction: column; gap: 10px; }
    .subscribe-form input, .subscribe-form button { width: 100%; padding: 15px; border-radius: 4px; }

    /* D'S PICK (1열로 변경 및 이미지 가로로 꽉 차게) */
    .pick-grid { grid-template-columns: 1fr; gap: 25px; }
    .p-img { aspect-ratio: 16/9; margin-bottom: 15px; } 
    .p-img img { width: 100%; height: 100%; object-fit: cover; }

    /* 베스트 아이템 (모바일 쇼핑몰 표준 2열) */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
    .i-img { padding: 10px; border-radius: 6px; width:100%; }
    .i-name { font-size: 13px; }
    .i-price { font-size: 15px; }
    .badge { font-size: 10px; padding: 3px 6px; }

    /* 푸터 (세로로 깔끔하게 떨어지도록) */
    .footer-flex { flex-direction: column; gap: 30px; }
    .f-cs h3 { margin-bottom: 5px; }
    .f-menu ul { flex-wrap: wrap; gap: 15px; }
}

/* 3. 소형 모바일 (화면 너비 480px 이하) */
@media (max-width: 480px) {
    .quick-grid { grid-template-columns: 1fr; } /* 퀵 메뉴 1열로 넓게 */
    .hero-title { font-size: 26px; }
    .p-img { aspect-ratio: 4/3; }
}



/* 커뮤니티 메뉴 강조 */
.gnb .emphasize {
    color: #3b5998 !important; /* 강조하고 싶은 색상 (예: 레드계열) */
    font-weight: 700 !important;
}

/* 하위 메뉴 기본 레이아웃 */
.menu-community {
    position: relative; /* 하위 메뉴 기준점 */
}

.gnb ul.sub-menu {
    display: none; /* 평소에는 숨김 */
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 120px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    z-index: 1000;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    text-align: left;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background: #f8f8f8;
    color: #000;
}

/* 마우스 올렸을 때 보이게 처리 */
.menu-community:hover .sub-menu {
    display: block;
}
























/* =========================================
   PRODUCT DETAIL PAGE SPECIFIC
========================================= */

/* 상단 정보 영역 */
.product-upper { display: flex; gap: 60px; padding: 60px 0; }
.product-visual { flex: 1; }
.main-thumb { background: #f9f9f9; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.main-thumb img { width: 80%; transition: 0.3s; }

.sub-thumbs { display: flex; gap: 10px; margin-top: 15px; }
.sub-thumbs .thumb { width: 80px; height: 80px; border: 1px solid #eee; border-radius: 6px; cursor: pointer; overflow: hidden; }
.sub-thumbs .thumb.active { border-color: var(--primary-color); }

.product-info-order { flex: 1; }
.brand-name { color: var(--accent-color); font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.item-name { font-size: 32px; font-weight: 800; margin: 10px 0; letter-spacing: -1px; }
.item-summary { color: #888; font-size: 16px; margin-bottom: 30px; }

.price-box { border-bottom: 1px solid #eee; padding-bottom: 25px; margin-bottom: 25px; }
.discount { color: #ff3b3b; font-size: 24px; font-weight: 800; margin-right: 10px; }
.original-price { color: #bbb; text-decoration: line-through; font-size: 16px; }
.current-price { font-size: 36px; font-weight: 900; }
.current-price span { font-size: 20px; font-weight: 500; }

.delivery-info { background: #fcfcfc; padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.dl-row { display: flex; font-size: 14px; margin-bottom: 8px; }
.dl-row span { width: 80px; color: #777; }
.dl-row strong { font-weight: 600; }

.order-options .opt-group { margin-bottom: 15px; }
.opt-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #555; }
.opt-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }

.total-price-area { border-top: 2px solid #222; margin-top: 30px; padding: 20px 0; text-align: right; }
.total-price-area p { font-size: 16px; font-weight: 600; }
.total-price-area strong { font-size: 28px; color: var(--primary-color); margin-left: 10px; }

.order-btns { display: flex; gap: 10px; }
.btn-cart { flex: 1; padding: 20px; border: 1px solid #222; background: #fff; font-weight: 700; cursor: pointer; }
.btn-buy { flex: 2; padding: 20px; background: #000; color: #fff; border: none; font-weight: 700; cursor: pointer; }

/* Sticky Tabs */
.sticky-tabs { position: sticky; top: 80px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; z-index: 900; }
.sticky-tabs ul { display: flex; justify-content: center; }
.sticky-tabs li { flex: 1; text-align: center; }
.sticky-tabs a { display: block; padding: 20px 0; font-size: 15px; font-weight: 600; color: #999; }
.sticky-tabs li.active a { color: #000; border-bottom: 2px solid #000; }

.placeholder-content { padding: 150px 0; background: #fafafa; text-align: center; color: #ccc; font-weight: 800; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .product-upper { flex-direction: column; gap: 30px; }
    .item-name { font-size: 24px; }
    .sticky-tabs top: 60px; /* 모바일 헤더 높이에 맞춤 */
}













/* =========================================
   LOGIN PAGE SPECIFIC
========================================= */
.login-page { background: #fff; padding: 100px 0; }
.login-container { max-width: 450px; margin: 0 auto; text-align: center; }

.login-title { font-size: 28px; font-weight: 800; letter-spacing: 2px; margin-bottom: 40px; }

/* 탭 디자인 */
.login-tabs { display: flex; border-bottom: 1px solid #ddd; margin-bottom: 30px; }
.login-tabs .tab { flex: 1; padding: 15px 0; font-size: 14px; color: #999; cursor: pointer; transition: 0.3s; font-weight: 600; }
.login-tabs .tab.active { color: #000; border-bottom: 2px solid #000; }

/* 입력창 */
.input-group input { width: 100%; padding: 15px; border: 1px solid #eee; margin-bottom: -1px; font-size: 14px; outline: none; transition: 0.2s; }
.input-group input:focus { border-color: #000; position: relative; z-index: 1; }
.input-group input:first-child { border-radius: 4px 4px 0 0; }
.input-group input:last-child { border-radius: 0 0 4px 4px; margin-bottom: 15px; }

/* 옵션 및 링크 */
.login-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 13px; color: #666; }
.checkbox-container { display: flex; align-items: center; cursor: pointer; gap: 8px; }
.find-links a { color: #666; }
.find-links .bar { display: inline-block; width: 1px; height: 10px; background: #ddd; margin: 0 10px; }

/* 버튼 시리즈 */
.btn-login { width: 100%; padding: 18px; background: #333; color: #fff; border: none; font-weight: 700; font-size: 16px; border-radius: 4px; cursor: pointer; margin-bottom: 10px; transition: 0.3s; }
.btn-login:hover { background: #000; }

.btn-naver { width: 100%; padding: 15px; background: #fff; color: #1EC800; border: 1px solid #1EC800; font-weight: 700; font-size: 14px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; }
.n-logo { font-weight: 900; font-size: 18px; }

/* 회원가입 유도 */
.join-prompt { border-top: 1px solid #f0f0f0; padding-top: 30px; }
.join-prompt p { font-size: 13px; color: #888; margin-bottom: 15px; }
.btn-join { display: block; width: 100%; padding: 15px; background: #888; color: #fff; font-weight: 700; font-size: 14px; border-radius: 4px; transition: 0.3s; }
.btn-join:hover { background: #555; }

/* 하단 배너 섹션 */
.login-footer-banners { display: flex; gap: 20px; margin-top: 100px; }
.banner-box { flex: 1; display: flex; align-items: center; gap: 20px; padding: 30px; background: #f9f9f9; border-radius: 8px; }
.banner-box .icon { font-size: 30px; color: #333; }
.banner-box strong { display: block; font-size: 14px; margin-bottom: 5px; }
.banner-box p { font-size: 12px; color: #888; }

@media all and (max-width:1200px){
    #wrapper{
        min-width: unset;
    }
}

/* [1] 공통 및 PC 기본 설정 (769px 이상) */
.header { background: #fff; border-bottom: 1px solid #eee; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.gnb > ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.gnb a { text-decoration: none; color: #333; font-weight: 700; font-size: 16px; }

/* PC용 하위메뉴 설정 */
.menu-community { position: relative; }
.gnb ul.sub-menu-pc {
    display: none; 
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 0;
    min-width: 150px;
    list-style: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.sub-menu-pc li a { font-size: 14px; font-weight: 400; padding: 8px 20px; display: block; }
.sub-menu-pc li a:hover { background: #f8f9fa; }
.menu-community:hover .sub-menu-pc { display: block; }

/* 모바일 전용 요소는 PC에서 숨김 */
.mobile-only-subnav { display: none !important; }


/* [2] 모바일 설정 (768px 이하) */
@media (max-width: 768px) {
    .header { position: sticky; top: 0; }
    
    /* 로고라인 상단 고정 */
    .header-inner {height: 100px;padding:15px;border-bottom: 1px solid #f2f2f2;}
    .logo img { width: 110px; height: auto; }
    .util-icons { display: flex; gap: 15px; }

    /* 메인 GNB 가로 스크롤 바 */
    .gnb { width: 100%;  }
    .gnb > ul { 
        overflow-x: auto; 
        white-space: nowrap; 
        padding: 12px 15px; 
        gap: 20px; 
        -webkit-overflow-scrolling: touch;
        padding-left:0;
    }
    .gnb > ul::-webkit-scrollbar { display: none; }
    .gnb a { font-size: 14px; }

    /* PC용 드롭다운은 모바일에서 강제 제거 */
    .sub-menu-pc { display: none !important; }

    /* 모바일 전용 서브메뉴 바 (클릭 시 등장) */
    .mobile-only-subnav { 
        display: none !important; /* 기본 숨김 */
        width: 100%;
        background: #f8f9fa; 
        border-bottom: 1px solid #eee;
    }
    /* JS로 active 클래스가 붙을 때만 표시 */
    .mobile-only-subnav.active { display: block !important; }
    
    .m-sub-list { 
        display: flex; 
        overflow-x: auto; 
        padding: 10px 15px; 
        gap: 15px; 
        list-style: none;
        margin: 0;
    }
    .m-sub-list::-webkit-scrollbar { display: none; }
    .m-sub-list li a { font-size: 12px; color: #666; white-space: nowrap; font-weight: 500; }

    /* 그리드 교정 */
    .review-grid, .product-grid, .quick-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width:100%;
    }
}




 .js_hero_swiper {
    width: 100%;
    height: 100% /* 배너 높이 고정 */
}

.js_slide_link {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

/* Swiper 기본 화살표 색상 변경 (미니멀 디자인) */
.swiper-button-next, .swiper-button-prev {
    color: #000 !important;
}
.swiper-pagination-bullet-active {
    background: #000 !important;
}

/* 컨테이너 그리드 설정 */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4열 배치 */
    gap: 20px;
    padding: 40px 20px;
}

/* 카드 전체 스타일 */
.quick-item {
    text-decoration: none;
    color: #222;
    transition: transform 0.3s ease;
}

.quick-item:hover {
    transform: translateY(-5px); /* 마우스 올렸을 때 살짝 올라가는 효과 */
}

.q-card {
    background: #fff;
    border-radius: 15px; /* 이미지처럼 깊은 곡률 적용 */
    overflow: hidden;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.02); /* 은은한 그림자 */
    border: 1px solid #f0f0f0;
    height: 100%;
}

/* 이미지 영역 */
.q-img {
    width: 100%;
    height: 160px; /* 적절한 높이 설정 */
    overflow: hidden;
    background: #f8f8f8;
}

.q-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 찌그러지지 않게 채움 */
}

/* 텍스트 영역 */
.q-text {
    padding: 25px 20px;
    background: #fff;
}

.q-title {
    font-size: 1.25rem;
    font-weight: 800; /* 강조된 두께 */
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.2;
}

.q-desc {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

/* 모바일 대응 */
@media (max-width: 1024px) {
    .quick-grid { grid-template-columns: repeat(2, 1fr); } /* 태블릿 2열 */
}

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: 1fr; } /* 모바일 1열 */
}



/* 기본 배경 및 레이아웃 */
.register_wrapper { max-width: 800px; margin: 60px auto; font-family: 'Pretendard', sans-serif; padding: 0 20px; }
.reg_header h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 40px; }

/* 카드 스타일 */
.reg_card { background: #f9f9f9; border: 1px solid #eee; border-radius: 12px; padding: 30px; margin-bottom: 30px; }
.card_title { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: #333; }

/* 전체 동의 영역 */
.chk_all_wrap { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; margin-bottom: 30px; }
.chk_all_wrap label { font-weight: 700; font-size: 16px; cursor: pointer; }

/* 개별 약관 박스 */
.term_box { margin-bottom: 40px; }
.term_tit { font-size: 15px; margin-bottom: 12px; font-weight: 600; }
.term_tit .point { color: #ff5a5a; margin-right: 8px; font-size: 13px; }
.term_tit .sub { color: #3296ff; margin-right: 8px; font-size: 13px; }

.term_content { 
    background: #fff; border: 1px solid #eee; padding: 20px; border-radius: 8px;
    height: 150px; overflow-y: auto; font-size: 13px; line-height: 1.6; color: #666; margin-bottom: 15px;
}

.term_desc { font-size: 13px; color: #888; margin-bottom: 15px; padding-left: 5px; }

/* 체크박스 커스텀 */
.custom_chk { width: 18px; height: 18px; vertical-align: middle; cursor: pointer; accent-color: #333; }
.term_agree_chk { font-size: 14px; text-align: right; }
.term_agree_chk b { color: #000; margin-left: 5px; }
.term_agree_chk.multi span { margin-left: 20px; }

/* 버튼 스타일 */
.btn_confirm { text-align: center; margin-top: 50px; }
.btn_submit { 
    background: #222; color: #fff; border: none; padding: 18px 80px; 
    font-size: 18px; font-weight: 700; border-radius: 8px; cursor: pointer; transition: 0.3s;
}
.btn_submit:hover { background: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* SNS 가입 버튼 보정 */
.sns_btn_wrap { text-align: center; }
.sns_register_btn { width: 100% !important; max-width: 400px; height: 50px !important; border-radius: 8px !important; }




.register {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* =========================
   섹션 제목
========================= */
.register_form_inner {
    margin-bottom: 40px;
}

.register_form_inner h2 {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #111;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* =========================
   리스트 구조
========================= */
.register_form_inner ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.register_form_inner ul li {
    list-style: none;
}

/* 전체 넓이 */
.register_form_inner ul li.full_input,
.register_form_inner ul li.full,
.register_form_inner ul li:nth-child(odd):last-child {
    grid-column: 1 / -1;
}

/* =========================
   라벨
========================= */
.register_form_inner label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* =========================
   입력폼
========================= */
.frm_input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
}

.frm_input:focus {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
    outline: none;
}

/* textarea */
textarea.frm_input {
    height: auto;
    padding: 10px;
}

/* =========================
   2컬럼 입력 (비밀번호 등)
========================= */
.half_input {
    display: block;
}

.left_input {
    grid-column: span 1;
}

.margin_input {
    margin-right: 0;
}

/* =========================
   주소 / 버튼 라인
========================= */
.btn_frmline {
    height: 44px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.btn_frmline:hover {
    background: #f1f1f1;
}

/* =========================
   전화번호 / select
========================= */
select.frm_input {
    appearance: none;
    background: #fff;
}

/* 주소 줄 간격 */
.frm_address {
    margin-top: 8px;
}

/* =========================
   체크박스 / 라디오
========================= */
.chk_li {
    font-size: 13px;
    color: #333;
}

/* 하위 체크 */
.sub-consents {
    margin-left: 20px;
    margin-top: 10px;
}

.sub-consents .chk_box {
    margin-bottom: 6px;
}

/* =========================
   툴팁
========================= */
.tooltip {
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 6px;
    margin-top: 5px;
    z-index: 10;
}

.tooltip_icon {
    margin-left: 5px;
    cursor: pointer;
}

/* =========================
   인증 버튼
========================= */
.btn_frmline.win_sa_cert {
    background: #f8f8f8;
}

/* =========================
   자동등록방지
========================= */
.is_captcha_use {
    grid-column: 1 / -1;
}

/* =========================
   하단 버튼
========================= */
.btn_confirm {
    margin-top: 30px;
}

.btn_submit {
    width: 100%;
    height: 52px;
    background: #222;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn_submit:hover {
    background: #000;
}

.btn_close {
    display: none;
}

/* =========================
   반응형
========================= */
@media (max-width: 768px) {
    .register {
        padding: 20px;
    }

    .register_form_inner ul {
        grid-template-columns: 1fr;
    }
      .product-grid{
        display:flex;
        flex-wrap:wrap;
    }
    .product-grid a{width:48%; gap:4%;}
}


/* 컨테이너 */
.social_reg_container { margin-bottom: 40px; text-align: center; }
.social_reg_inner { max-width: 800px; margin: 0 auto; }

/* 제목 디자인 (양옆 선이 있는 스타일) */
.social_title { font-size: 14px; color: #888; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.social_title::before, .social_title::after { content: ""; flex: 1; height: 1px; background: #eee; margin: 0 15px; }
.social_subtitle { font-size: 13px; color: #aaa; margin-bottom: 25px; }

/* 소셜 그리드 (2열 배치) */
.social_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* 버튼 공통 스타일 */
.social_item { 
    display: flex; align-items: center; justify-content: center; 
    height: 54px; border-radius: 8px; text-decoration: none; 
    font-size: 14px; font-weight: 600; transition: all 0.2s ease;
}
.social_item:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* 브랜드별 컬러 & 아이콘 (이미지 경로는 기존 그누보드 설정을 따름) */
.social_item.naver {background:url('../../../skin/social/img/sns_naver_s.png') no-repeat; background-position:33% center; background-color: #1ec800; color: #fff; }
.social_item.kakao { background-color: #FEE500; color: #191919; }
.social_item.google { background-color: #fff; color: #555; border: 1px solid #ddd; }
.social_item.facebook { background-color: #1877F2; color: #fff; }
.social_item.payco { background-color: #ff3b30; color: #fff; }
.sns-wrap-over .sns-naver {}
/* 아이콘 위치 조정 */
.sns_icon { width: 20px; height: 20px; margin-right: 10px; background-repeat: no-repeat; background-position: center; background-size: contain; }

/* 모바일 대응 (1열 배치) */
@media (max-width: 480px) {
    .social_grid { grid-template-columns: 1fr; }
    .social_item { height: 50px; }
    .container{max-width:100%;}
    .hero-banner { height: 180px; }
}



 
.gnb > ul { display: flex; position: relative; }
.gnb > ul > li { position: relative;  }

/* 하위 메뉴 숨기기 */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50% !important;
    background: #fff;
    border: 1px solid #eee;
    min-width: 120px;
    z-index: 999;
    padding: 0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform:translate(-50%)
}

/* 호버 시 노출 */
.gnb > ul > li:hover .sub-menu {
    display: block;
}

.sub-menu li {
    padding:0;
    font-size: 13px;
}
.sub-menu li a{
    text-align:center;
}

.sub-menu li a:hover {
    color: #2563eb; /* 포인트 컬러 */
}

