/* ===== 기본 리셋 & 변수 ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary: #ff6b35;
    --accent: #00c851;
    --kakao: #FEE500;
    --kakao-dark: #3c1e1e;
    --dark: #1a1a2e;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #f5f5f5;
    --border: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-dark); line-height: 1.6; background: #fff; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 상단 공지 바 ===== */
.top-notice {
    background: linear-gradient(90deg, var(--secondary), #ff4d6d);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.top-notice span { flex: 1; text-align: center; }

/* ===== 헤더 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}
.logo span { color: var(--primary); }
.logo-icon { font-size: 28px; }

.gnav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gnav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.2s;
    font-size: 15px;
}
.gnav a:hover { color: var(--primary); background: var(--primary-light); }
.btn-login {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
}
.btn-login:hover { background: var(--primary-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-dark); border-radius: 2px; transition: all 0.3s; }

/* ===== 버튼 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== 히어로 섹션 ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2b5b 0%, #1a73e8 50%, #0891b2 100%);
    padding: 80px 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; color: #fff; text-align: center; max-width: 750px; margin: 0 auto; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-title span { color: #FEE500; }
.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 28px; font-weight: 900; color: #FEE500; }
.stat-item span { font-size: 13px; opacity: 0.85; }

/* ===== 통신사 바 ===== */
.provider-bar {
    background: #f8f9fa;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.provider-bar-title { text-align: center; color: var(--gray); font-size: 13px; margin-bottom: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.provider-logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; }
.provider-logo { padding: 6px; }
.provider-logo span {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.badge-skt { background: #e8002d; color: #fff; }
.badge-lgu { background: #a50034; color: #fff; }
.badge-lgu-soho { background: #8b0028; color: #fff; }
.badge-kt { background: #ff0000; color: #fff; }
.badge-btv { background: #cc0000; color: #fff; }
.badge-hello { background: #e60012; color: #fff; }
.badge-hello-multi { background: #b0000e; color: #fff; }
.badge-skylife { background: #003087; color: #fff; }
.badge-skb { background: #f37321; color: #fff; }
.badge-dlive { background: #e63946; color: #fff; letter-spacing: -0.3px; }
.badge-coway { background: #0066cc; color: #fff; }
.badge-chungho { background: #1b5e20; color: #fff; }
.badge-cuckoo { background: #e65100; color: #fff; }

/* ===== 개인정보 수집 동의 박스 ===== */
.privacy-consent-box {
    margin-top: 20px;
    border: 1.5px solid #e0e7ff;
    border-radius: 12px;
    background: #f8f9ff;
    overflow: hidden;
}
.privacy-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #eef2ff;
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
    border-bottom: 1px solid #e0e7ff;
}
.privacy-title i { font-size: 14px; }
.privacy-preview {
    padding: 12px 16px;
    font-size: 12.5px;
    color: #555;
    line-height: 1.7;
    border-bottom: 1px dashed #dde2f0;
}
.privacy-preview p { margin: 0; }
.privacy-preview p + p { margin-top: 4px; }
.privacy-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font);
    transition: color 0.2s;
    border-bottom: 1px dashed #dde2f0;
    width: 100%;
}
.privacy-toggle-btn:hover { color: #4338ca; }
.privacy-toggle-btn i { transition: transform 0.3s; font-size: 11px; }
.privacy-toggle-btn.open i { transform: rotate(180deg); }
.privacy-full {
    display: none;
    padding: 12px 16px;
    border-bottom: 1px dashed #dde2f0;
    animation: fadeInDown 0.25s ease;
}
.privacy-full.open { display: block; }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.privacy-table th {
    background: #e0e7ff;
    color: #3730a3;
    padding: 7px 10px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}
.privacy-table td {
    padding: 7px 10px;
    border: 1px solid #e0e7ff;
    color: #555;
    line-height: 1.5;
    background: #fff;
}
.privacy-agree-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
.privacy-agree-label:hover { background: #eef2ff; }
.privacy-agree-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
}
.privacy-agree-text {
    font-size: 13.5px;
    color: #333;
    font-weight: 500;
}
.privacy-warn {
    margin: 0;
    padding: 8px 16px 12px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
}
.privacy-warn i { font-size: 12px; }
/* 동의 시 경고 숨김 */
.privacy-consent-box.agreed .privacy-warn { display: none; }
.privacy-consent-box.agreed { border-color: #6ee7b7; background: #f0fdf4; }
.privacy-consent-box.agreed .privacy-title { background: #d1fae5; color: #065f46; border-bottom-color: #a7f3d0; }

.privacy-consent-box.agreed { border-color: #6ee7b7; background: #f0fdf4; }
.privacy-consent-box.agreed .privacy-title { background: #d1fae5; color: #065f46; border-bottom-color: #a7f3d0; }

/* ===== 개인정보처리방침 전문 모달 ===== */
.privacy-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}
.privacy-modal-overlay.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.privacy-modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUpModal 0.25s ease;
}
@keyframes slideUpModal { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1.5px solid #e0e7ff;
    background: linear-gradient(135deg, #3730a3, #4f46e5);
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}
.privacy-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.privacy-modal-title i { font-size: 20px; }
.privacy-modal-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.privacy-modal-close:hover { background: rgba(255,255,255,0.35); }

.privacy-modal-body {
    overflow-y: auto;
    padding: 24px 28px;
    flex: 1;
    scroll-behavior: smooth;
}
.privacy-modal-body::-webkit-scrollbar { width: 6px; }
.privacy-modal-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.privacy-modal-body::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 3px; }

.pp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.pp-badge {
    background: #4f46e5;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.pp-date {
    font-size: 12px;
    color: #888;
}
.pp-intro {
    font-size: 13.5px;
    line-height: 1.8;
    color: #444;
    background: #f8f9ff;
    border-left: 3px solid #6366f1;
    padding: 14px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.pp-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.pp-section-last { border-bottom: none; }
.pp-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #3730a3;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pp-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #6366f1;
    border-radius: 2px;
    flex-shrink: 0;
}
.pp-section p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}
.pp-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.pp-list li {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    padding: 4px 0 4px 14px;
    position: relative;
}
.pp-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-size: 11px;
    top: 6px;
}
.pp-remedy li {
    padding: 6px 0 6px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.pp-remedy li::before { display: none; }
.pp-remedy li i { color: #6366f1; font-size: 11px; flex-shrink: 0; margin-top: 3px; }
.pp-remedy a { color: #4f46e5; text-decoration: underline; font-size: 12px; }
.pp-remedy a:hover { color: #3730a3; }

.pp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    margin: 12px 0;
}
.pp-table th {
    background: #4f46e5;
    color: #fff;
    padding: 9px 12px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #6366f1;
}
.pp-table td {
    padding: 9px 12px;
    border: 1px solid #e0e7ff;
    color: #444;
    line-height: 1.6;
    background: #fff;
    vertical-align: top;
}
.pp-table tr:nth-child(even) td { background: #f8f9ff; }
.pp-table small { font-size: 11px; color: #888; }

.pp-notice {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #78350f;
    margin-top: 12px;
    display: flex;
    gap: 8px;
}
.pp-notice i { flex-shrink: 0; margin-top: 2px; color: #d97706; }
.pp-notice a { color: #78350f; text-decoration: underline; }

.pp-contact-box {
    background: #f8f9ff;
    border: 1.5px solid #c7d2fe;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 12px;
}
.pp-contact-box p {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin: 0 !important;
}

.privacy-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1.5px solid #e0e7ff;
    background: #f8f9ff;
    border-radius: 0 0 16px 16px;
    flex-shrink: 0;
}

/* 전문보기 버튼 스타일 재정의 (인라인 펼침 → 모달 연결) */
.privacy-toggle-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #4f46e5;
    cursor: pointer;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    font-family: var(--font);
    transition: all 0.2s;
    width: fit-content;
    margin: 10px 16px;
}
.privacy-toggle-btn:hover {
    background: #e0e7ff;
    color: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99,102,241,0.2);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .privacy-modal-box { max-height: 95vh; border-radius: 12px; }
    .privacy-modal-header { padding: 16px 18px; border-radius: 12px 12px 0 0; }
    .privacy-modal-title { font-size: 16px; }
    .privacy-modal-body { padding: 16px 18px; }
    .privacy-modal-footer { padding: 12px 18px; gap: 8px; }
    .privacy-modal-footer .btn { font-size: 13px; padding: 10px 16px; min-width: unset !important; flex: 1; }
    .pp-table { font-size: 11.5px; }
    .pp-table th, .pp-table td { padding: 7px 8px; }
}

/* ===== 섹션 공통 ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-header p { color: var(--gray); font-size: 16px; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.8); }

/* ===== 카테고리 카드 탭 (상품 검색 상단) ===== */
.cat-tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.cat-tab-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px 14px;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: all 0.22s;
    font-family: var(--font);
    text-align: center;
    min-height: 90px;
    position: relative;
    overflow: hidden;
}
.cat-tab-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.22s;
}
.cat-tab-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(26,115,232,0.13); }
.cat-tab-card:hover .cat-tab-icon,
.cat-tab-card:hover .cat-tab-name { position: relative; z-index: 1; }
.cat-tab-card.active {
    border-color: var(--cat-color, var(--primary));
    background: var(--cat-color, var(--primary));
    box-shadow: 0 6px 20px rgba(26,115,232,0.28);
    transform: translateY(-2px);
}
.cat-tab-icon {
    font-size: 28px;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.22s;
}
.cat-tab-card:hover .cat-tab-icon { transform: scale(1.15); }
.cat-tab-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-dark);
    position: relative;
    z-index: 1;
    line-height: 1.3;
    transition: color 0.22s;
}
.cat-tab-card.active .cat-tab-name { color: #fff; }
.cat-tab-count {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    position: relative;
    z-index: 1;
    transition: color 0.22s;
}
.cat-tab-card.active .cat-tab-count { color: rgba(255,255,255,0.75); }
.cat-tab-card:hover .cat-tab-count { color: var(--primary); }
.cat-tab-card.active:hover .cat-tab-count { color: rgba(255,255,255,0.8); }

/* ===== 서브 필터 박스 ===== */
.filter-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 28px;
    border: 1px solid var(--border);
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f3f3;
    flex-wrap: wrap;
}
.filter-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.filter-row:first-of-type { padding-top: 0; }
.filter-label {
    font-size: 12px;
    font-weight: 800;
    color: #999;
    white-space: nowrap;
    min-width: 54px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}
.fchip {
    padding: 5px 13px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: #fafafa;
    color: var(--gray);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: var(--font);
    white-space: nowrap;
}
.fchip:hover { border-color: var(--primary); color: var(--primary); background: #e8f0fe; }
.fchip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}
.fchip.provider-chip { display: flex; align-items: center; gap: 5px; }
.provider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* 설치가능 조회 배너 */
.coverage-banner {
    margin-top: 16px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8ff);
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid #c8e6c9;
}
.coverage-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.coverage-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.coverage-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #fff;
    border: none;
}
.coverage-link-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.coverage-link-btn i { font-size: 12px; }

/* 결과 헤더 */
.products-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}
.result-count {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}
.result-count strong { color: var(--primary); font-size: 18px; }
.sort-select {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13px;
    cursor: pointer;
    color: var(--gray-dark);
}

/* ===== 통신사 탭 섹션 ===== */
.provider-tab-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: center;
}
.provider-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    color: var(--gray);
}
.provider-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.provider-tab-btn.active { color: #fff; border-color: transparent; }
.provider-coverage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8ff);
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.provider-coverage-row span { font-size: 13px; font-weight: 600; color: #2e7d32; }
.coverage-check-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 10px;
    color: #fff;
    font-size: 13px; font-weight: 700;
    text-decoration: none; transition: all 0.2s;
}
.coverage-check-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.provider-tab-content { min-height: 200px; }

/* 상품 카드 개선 */
.product-speed-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}
.product-combo-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff3e0;
    color: #e65100;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 4px;
    margin-bottom: 8px;
}

/* 빈 결과 */
.empty-result {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.empty-result .empty-icon { font-size: 60px; margin-bottom: 16px; }
.empty-result p { font-size: 16px; margin-bottom: 8px; font-weight: 600; }
.empty-result span { font-size: 14px; }

/* ===== 상품 그리드 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.product-card-header {
    padding: 24px 24px 16px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    position: relative;
}
.product-provider {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.product-name { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.product-subtitle { color: var(--gray); font-size: 14px; }
.product-card-body { padding: 20px 24px; }
.product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}
.price-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}
.price-unit { color: var(--gray); font-size: 14px; }
.price-free { font-size: 22px; font-weight: 900; color: var(--accent); }
.product-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.product-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}
.product-info-item i { color: var(--primary); width: 16px; }
.product-gifts {
    background: #fff8f0;
    border: 1px solid #ffe0cc;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
}
.product-gifts i { margin-right: 4px; }
.product-card-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }
.btn-detail { flex: 1; min-width: 80px; padding: 10px; text-align: center; border-radius: 10px; border: 2px solid var(--primary); color: var(--primary); font-weight: 600; font-size: 13px; transition: all 0.2s; }
.btn-detail:hover { background: var(--primary); color: #fff; }
.btn-apply { flex: 1; min-width: 80px; padding: 10px; text-align: center; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; transition: all 0.2s; }
.btn-apply:hover { background: var(--primary-dark); }
.install-check-tag { 
    width: 100%; 
    padding: 8px 12px; 
    text-align: center; 
    border-radius: 8px; 
    border: 1.5px solid; 
    font-weight: 600; 
    font-size: 12px; 
    transition: all 0.2s;
    background: #fff;
}
.install-check-tag:hover { opacity: 0.85; }

/* ===== 통신사 비교 (구 스타일 → 새 탭 스타일로 교체) ===== */
.providers-section { padding: 80px 0; background: #f8f9fa; }

/* ===== 혜택 섹션 ===== */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f2b5b 0%, #1a73e8 100%);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.benefit-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefit-card > div { width: 100%; }
.benefit-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.benefit-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.benefit-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; opacity: 0.85; line-height: 1.7; }

/* ===== 정수기렌탈 섹션 ===== */
.rental-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
}
.rental-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.rental-brand-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.rental-brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}
.rental-brand-header {
    padding: 28px 20px 20px;
    text-align: center;
    color: #fff;
}
.rental-brand-icon { font-size: 40px; margin-bottom: 10px; }
.rental-brand-name { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }
.rental-brand-sub { font-size: 12px; opacity: 0.8; margin-top: 4px; letter-spacing: 1px; }
.rental-brand-body { padding: 20px; }
.rental-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.rental-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #444;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}
.rental-features li:last-child { border-bottom: none; }
.rental-features li i { color: var(--accent); font-size: 12px; flex-shrink: 0; }
.rental-consult-btn { font-size: 14px; padding: 12px; border-radius: 10px; }
.rental-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #bae6fd;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 14px;
    color: #0369a1;
}
.rental-notice i { color: #0ea5e9; font-size: 16px; flex-shrink: 0; }

@media (max-width: 900px) {
    .rental-brands-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .rental-brands-grid { grid-template-columns: 1fr; }
    .rental-section { padding: 48px 0; }
}

/* ===== 상담예약 섹션 ===== */
.reservation-section { padding: 80px 0; background: #fff; }
.reservation-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.reservation-info h2 { font-size: 32px; font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.reservation-info p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.reservation-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.reservation-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--gray-dark);
    font-weight: 500;
}
.reservation-features i { color: var(--accent); font-size: 18px; }

/* 카카오 버튼 스타일 */
.btn-kakao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--kakao);
    color: var(--kakao-dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    width: 100%;
    justify-content: center;
}
.btn-kakao:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(254,229,0,0.5); }
.btn-kakao img { filter: invert(0); }

/* 예약 폼 */
.reservation-form-wrap {
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.reservation-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: var(--dark); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--gray-dark); }
.required { color: var(--secondary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font);
    transition: border-color 0.2s;
    background: #fff;
    color: var(--gray-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea { resize: vertical; }
.form-notice { text-align: center; font-size: 13px; color: var(--gray); margin-top: 12px; }

/* ===== 모달 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.modal-close:hover { background: var(--secondary); color: #fff; }
.modal-content { padding: 40px 40px 24px; }
.modal-content .modal-product-header { margin-bottom: 24px; }
.modal-content h2 { font-size: 26px; font-weight: 900; color: var(--dark); margin-bottom: 6px; }
.modal-content .modal-subtitle { color: var(--gray); font-size: 15px; }
.modal-content .modal-price-box {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal-content .modal-price-main { font-size: 32px; font-weight: 900; color: var(--primary); }
.modal-content .modal-period { color: var(--gray); font-size: 13px; }
.modal-content .modal-desc { line-height: 1.8; color: var(--gray); font-size: 15px; margin-bottom: 20px; }
.modal-gifts-box {
    background: #fff8f0;
    border: 2px solid #ffe0cc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.modal-gifts-box h4 { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.gift-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-tag {
    background: #fff;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.modal-footer {
    padding: 20px 40px 30px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.btn-kakao-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kakao);
    color: var(--kakao-dark);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font);
}
.btn-kakao-sm:hover { transform: translateY(-2px); }

/* .btn-kakao-sm 제거됨 */

/* ===== 플로팅 버튼 ===== */
.floating-btns {
    position: fixed;
    right: 24px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1500;
}
.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    font-size: 20px;
    transition: all 0.3s;
    color: #fff;
    gap: 2px;
}
.float-btn:hover { transform: scale(1.1); }
.float-label { font-size: 10px; font-weight: 700; }
.float-top { background: var(--gray); display: none; }
.float-kakao { background: var(--kakao); color: var(--kakao-dark); }
.float-phone { background: var(--accent); }

/* ===== 카카오 채팅 팝업 ===== */
.kakao-chat-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 340px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    z-index: 1600;
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}
.kakao-chat-popup.active { display: block; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--kakao);
    color: var(--kakao-dark);
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.chat-header strong { display: block; font-size: 15px; font-weight: 800; }
.online-dot { font-size: 11px; color: #2d8a00; font-weight: 600; }
.chat-close { padding: 4px; border-radius: 6px; transition: all 0.2s; color: var(--kakao-dark); font-size: 16px; }
.chat-close:hover { background: rgba(0,0,0,0.1); }

.chat-body {
    padding: 20px;
    background: #f5f5f5;
    min-height: 180px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message { display: flex; }
.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }
.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}
.chat-message.bot .chat-bubble { background: #fff; border-radius: 4px 16px 16px 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.chat-message.user .chat-bubble { background: var(--primary); color: #fff; border-radius: 16px 4px 16px 16px; }

.chat-quick-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-quick-btns button {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}
.chat-quick-btns button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.chat-input-wrap {
    display: flex;
    padding: 12px 16px;
    gap: 8px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.chat-input-wrap input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}
.chat-input-wrap input:focus { border-color: var(--primary); }
.chat-input-wrap button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-input-wrap button:hover { background: var(--primary-dark); }

.chat-kakao-btn { padding: 12px 16px; background: #fff; border-top: 1px solid var(--border); }
.btn-kakao-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--kakao);
    color: var(--kakao-dark);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-kakao-full:hover { transform: translateY(-2px); }

/* ===== 푸터 ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact .tel { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer-contact p { font-size: 14px; margin-bottom: 4px; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* ===== 성공 메시지 ===== */
.success-msg {
    background: #e8f5e9;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
    font-size: 16px;
    display: none;
}
.success-msg.active { display: block; }

/* ===== 로딩 ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    height: 200px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ===== 반응형 ===== */

/* ── 태블릿 (1024px 이하) ── */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .reservation-wrap { gap: 40px; }
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
}

/* ── 모바일 공통 (768px 이하) ── */
@media (max-width: 768px) {

    /* 헤더 / 네비 */
    .gnav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    .gnav.open { display: flex; }
    .gnav ul { flex-direction: column; gap: 6px; text-align: center; width: 100%; padding: 0 24px; }
    .gnav ul li { width: 100%; }
    .gnav a {
        display: block;
        font-size: 18px;
        font-weight: 700;
        padding: 14px 24px;
        border-radius: 12px;
        color: var(--dark);
    }
    .gnav a:hover { background: var(--primary-light); color: var(--primary); }
    .btn-login {
        background: var(--primary) !important;
        color: #fff !important;
        margin-top: 8px;
        border-radius: 12px !important;
    }
    .hamburger { display: flex; z-index: 1001; }

    /* 히어로 */
    .hero { padding: 48px 0 40px; min-height: auto; }
    .hero-content { padding: 0 4px; }
    .hero-badge { font-size: 12px; padding: 5px 14px; }
    .hero-title { font-size: clamp(22px, 6vw, 36px); margin-bottom: 14px; }
    .hero-desc { font-size: 14px; margin-bottom: 28px; }
    .hero-btns { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; }
    .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
    .hero-stats { gap: 0; padding-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); }
    .stat-item { padding: 0 8px; }
    .stat-item strong { font-size: 22px; }
    .stat-item span { font-size: 11px; }

    /* 통신사 바 */
    .provider-logos { gap: 8px; }
    .provider-logo span { padding: 6px 12px; font-size: 12px; }

    /* 섹션 패딩 */
    .categories-section,
    .providers-section,
    .benefits-section,
    .reservation-section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 14px; }

    /* 필터 박스 */
    .cat-tab-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }
    .cat-tab-card { padding: 12px 6px 10px; min-height: 76px; border-radius: 12px; }
    .cat-tab-icon { font-size: 22px; }
    .cat-tab-name { font-size: 11.5px; }
    .cat-tab-count { font-size: 10px; }
    .filter-box { padding: 14px 16px; border-radius: 12px; }
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 9px 0;
    }
    .filter-label {
        font-size: 10.5px;
        min-width: auto;
        background: var(--primary-light);
        color: var(--primary);
        padding: 3px 10px;
        border-radius: 20px;
    }
    .filter-chips { gap: 6px; }
    .fchip { padding: 6px 12px; font-size: 12px; }

    /* 결과 헤더 */
    .products-result-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sort-select { width: 100%; }

    /* 상품 그리드 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-card-header { padding: 18px 18px 12px; }
    .product-card-body { padding: 14px 18px; }
    .product-card-footer { padding: 12px 18px; gap: 6px; }
    .product-name { font-size: 17px; }
    .price-amount { font-size: 24px; }
    .btn-detail, .btn-apply { padding: 9px 8px; font-size: 12px; }

    /* 통신사 탭 */
    .provider-tab-bar { gap: 6px; }
    .provider-tab-btn { padding: 8px 14px; font-size: 13px; }
    .provider-coverage-row { flex-direction: column; align-items: flex-start; }

    /* 혜택 그리드 */
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .benefit-card { padding: 22px 16px; }
    .benefit-icon { font-size: 36px; margin-bottom: 10px; }
    .benefit-card h3 { font-size: 15px; }
    .benefit-card p { font-size: 12px; }

    /* 상담예약 */
    .reservation-wrap { grid-template-columns: 1fr; gap: 28px; }
    .reservation-form-wrap { padding: 24px 20px; }
    .reservation-info h2 { font-size: 24px; }
    .reservation-info p { font-size: 14px; }

    /* 푸터 */
    .footer { padding-top: 40px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
    .footer-logo { font-size: 18px; }
    .footer-contact .tel { font-size: 18px; }

    /* 모달 */
    .modal-overlay { padding: 12px; }
    .modal-box { border-radius: 16px; }
    .modal-content { padding: 22px 18px 14px; }
    .modal-content h2 { font-size: 20px; }
    .modal-content .modal-price-main { font-size: 26px; }
    .modal-footer { padding: 14px 18px 18px; flex-direction: column; }
    .modal-footer .btn, .modal-footer .btn-kakao-sm { width: 100%; justify-content: center; }

    /* 카카오 팝업 */
    .kakao-chat-popup {
        right: 0; bottom: 0; left: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    /* 플로팅 버튼 */
    .floating-btns { right: 12px; bottom: 16px; gap: 8px; }
    .float-btn { width: 48px; height: 48px; font-size: 18px; }

    /* 설치가능 배너 */
    .coverage-banner { padding: 12px 14px; }
    .coverage-links { gap: 6px; }
    .coverage-link-btn { padding: 7px 12px; font-size: 12px; }
}

/* ── 소형 모바일 (480px 이하) ── */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    /* 공지 바 */
    .top-notice { font-size: 12px; padding: 8px 14px; }

    /* 헤더 */
    .header-inner { height: 56px; }
    .logo { font-size: 18px; gap: 6px; }
    .logo-icon { font-size: 22px; }

    /* 히어로 */
    .hero { padding: 36px 0 32px; }
    .hero-title { font-size: 20px; line-height: 1.3; }
    .hero-desc { font-size: 13px; margin-bottom: 22px; }
    .hero-stats { grid-template-columns: repeat(3,1fr); }
    .stat-item strong { font-size: 18px; }
    .stat-item span { font-size: 10px; }
    .btn-lg { padding: 13px 20px; font-size: 15px; }

    /* 필터 */
    .cat-tab-grid {
        grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
        gap: 7px;
    }
    .cat-tab-card { padding: 10px 4px 8px; min-height: 68px; border-radius: 10px; }
    .cat-tab-icon { font-size: 20px; }
    .cat-tab-name { font-size: 11px; }
    .cat-tab-count { display: none; }
    .filter-box { padding: 12px; border-radius: 12px; }
    .fchip { padding: 5px 10px; font-size: 11px; }

    /* 상품카드 */
    .products-grid { gap: 12px; }
    .product-card-header { padding: 14px 14px 10px; }
    .product-card-body { padding: 12px 14px; }
    .product-card-footer { padding: 10px 14px; }
    .product-name { font-size: 15px; }
    .price-amount { font-size: 21px; }

    /* 혜택 그리드 → 1열 */
    .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    .benefit-card { padding: 20px 16px; flex-direction: row; text-align: left; display: flex; align-items: flex-start; gap: 14px; }
    .benefit-icon { font-size: 30px; margin-bottom: 0; flex-shrink: 0; }
    .benefit-card > div { flex: 1; }
    .benefit-card h3 { font-size: 14px; margin-bottom: 4px; }
    .benefit-card p { font-size: 12px; }

    /* 상담예약 */
    .reservation-form-wrap { padding: 20px 16px; border-radius: 14px; }
    .reservation-form h3 { font-size: 18px; margin-bottom: 18px; }
    .form-group { margin-bottom: 14px; }
    .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 14px; }

    /* 푸터 */
    .footer-top { gap: 20px; }
    .footer-links, .footer-contact { padding-top: 0; }

    /* 통신사 탭 버튼 */
    .provider-tab-btn { padding: 7px 12px; font-size: 12px; gap: 5px; }

    /* 설치확인 배너 */
    .coverage-links { flex-direction: column; }
    .coverage-link-btn { width: 100%; justify-content: center; }
}

/* ── 극소형 (360px 이하) ── */
@media (max-width: 360px) {
    .container { padding: 0 10px; }
    .hero-title { font-size: 18px; }
    .hero-stats { gap: 0; }
    .stat-item strong { font-size: 16px; }
    .products-grid { gap: 10px; }
    .filter-row { gap: 6px; }
    .fchip { padding: 4px 8px; font-size: 10px; border-radius: 16px; }
    .provider-tab-btn { padding: 6px 10px; font-size: 11px; }
}
