/* 쇼핑몰형 홈 공통 레이아웃 (색상은 shop-{스킨}.css 가 .pcl-shop 변수로 주입) */

.pcl-shop {
    --shop-primary: #0e7490;
    --shop-primary-dark: #155e75;
    --shop-hero-from: #0e7490;
    --shop-hero-to: #0891b2;
    --shop-on-hero: #ffffff;
    --shop-band-from: #0e7490;
    --shop-band-to: #0891b2;
    --shop-text: #1f2937;
    --shop-muted: #6b7280;
    --shop-border: #e5e7eb;
    --shop-card-bg: #ffffff;
    --shop-soft: #f8fafc;

    color: var(--shop-text);
}

.pcl-shop .shop-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pcl-shop .pcl-ic { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: -3px; }

/* HERO */
.pcl-shop .shop-hero {
    background: linear-gradient(135deg, var(--shop-hero-from), var(--shop-hero-to));
    color: var(--shop-on-hero);
    padding: 66px 0 58px;
    text-align: center;
}
.pcl-shop .shop-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.9; }
.pcl-shop .shop-hero-title { margin: 0 0 14px; font-size: 38px; line-height: 1.25; font-weight: 800; color: var(--shop-on-hero); }
.pcl-shop .shop-hero-sub { margin: 0 auto 26px; max-width: 760px; font-size: 17px; line-height: 1.7; opacity: 0.94; }
.pcl-shop .shop-hero-cta { display: flex; justify-content: center; }

/* 버튼 */
.pcl-shop .shop-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 50px; padding: 0 26px; border-radius: 12px;
    font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pcl-shop .shop-btn:hover { transform: translateY(-2px); text-decoration: none; }
.pcl-shop .shop-btn-primary { background: var(--shop-primary); color: #fff; }
.pcl-shop .shop-btn-primary:hover { background: var(--shop-primary-dark); color: #fff; }
.pcl-shop .shop-btn-light { background: #fff; color: var(--shop-primary); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.pcl-shop .shop-btn-light:hover { background: #f3f4f6; color: var(--shop-primary-dark); }

/* 카테고리 탭 */
.pcl-shop .shop-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 36px 0 28px; }
.pcl-shop .shop-tab {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px;
    border: 1px solid var(--shop-border); border-radius: 999px; background: #fff;
    color: #374151; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.18s ease;
}
.pcl-shop .shop-tab:hover, .pcl-shop .shop-tab.is-active { background: var(--shop-primary); border-color: var(--shop-primary); color: #fff; }

/* 카드 그리드 */
.pcl-shop .shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pcl-shop .shop-card {
    display: flex; flex-direction: column; background: var(--shop-card-bg);
    border: 1px solid var(--shop-border); border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcl-shop .shop-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.10); }
.pcl-shop .shop-card-thumb { position: relative; display: block; aspect-ratio: 4 / 2.8; overflow: hidden; background: var(--shop-soft); }
.pcl-shop .shop-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcl-shop .shop-card-thumb .pcl-thumb-ph { min-height: 0; background: linear-gradient(135deg, var(--shop-hero-from), var(--shop-hero-to)); color: #fff; }
.pcl-shop .shop-card-badge {
    position: absolute; top: 12px; left: 12px; padding: 5px 12px;
    background: rgba(0,0,0,0.62); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px;
}
.pcl-shop .shop-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.pcl-shop .shop-card-date { font-size: 13px; color: var(--shop-muted); }
.pcl-shop .shop-card-title { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 700; }
.pcl-shop .shop-card-title a { color: var(--shop-text); text-decoration: none; }
.pcl-shop .shop-card-title a:hover { color: var(--shop-primary); }
.pcl-shop .shop-card-excerpt {
    margin: 0; color: var(--shop-muted); font-size: 14px; line-height: 1.7; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcl-shop .shop-card-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; color: var(--shop-primary); font-size: 14px; font-weight: 700; text-decoration: none; }
.pcl-shop .shop-card-more:hover { color: var(--shop-primary-dark); }
.pcl-shop .shop-card-more .pcl-ic { width: 16px; height: 16px; }

.pcl-shop .shop-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--shop-border); border-radius: 16px; color: var(--shop-muted); background: var(--shop-soft); }

/* 페이지네이션 */
.pcl-shop .shop-pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pcl-shop .shop-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pcl-shop .shop-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px;
    border-radius: 10px; border: 1px solid var(--shop-border); background: #fff; color: #374151; text-decoration: none; font-weight: 600;
}
.pcl-shop .shop-pagination .page-numbers.current, .pcl-shop .shop-pagination .page-numbers:hover { background: var(--shop-primary); border-color: var(--shop-primary); color: #fff; }

/* 중간 CTA 배너 */
.pcl-shop .shop-cta-banner { margin: 56px 0; background: linear-gradient(135deg, var(--shop-band-from), var(--shop-band-to)); color: #fff; padding: 40px 0; }
.pcl-shop .shop-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pcl-shop .shop-cta-text h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: #fff; }
.pcl-shop .shop-cta-text p { margin: 0; opacity: 0.92; }

/* FAQ */
.pcl-shop .shop-section-title { font-size: 26px; font-weight: 800; text-align: center; margin: 0 0 22px; }
.pcl-shop .shop-faq { margin: 8px 0 56px; }
.pcl-shop .shop-faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.pcl-shop .shop-faq-item { border: 1px solid var(--shop-border); border-radius: 12px; background: #fff; overflow: hidden; }
.pcl-shop .shop-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    cursor: pointer; padding: 16px 18px; font-size: 16px; font-weight: 700; color: var(--shop-text); list-style: none;
}
.pcl-shop .shop-faq-item summary::-webkit-details-marker { display: none; }
.pcl-shop .shop-faq-item summary .pcl-ic { transition: transform 0.2s ease; color: var(--shop-primary); }
.pcl-shop .shop-faq-item[open] summary .pcl-ic { transform: rotate(180deg); }
.pcl-shop .shop-faq-answer { padding: 0 18px 18px; color: var(--shop-muted); font-size: 15px; line-height: 1.8; }

/* 하단 CTA */
.pcl-shop .shop-bottom-cta { background: var(--shop-soft); border-top: 1px solid var(--shop-border); padding: 56px 0; text-align: center; }
.pcl-shop .shop-bottom-cta h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; }
.pcl-shop .shop-bottom-cta p { margin: 0 auto 22px; max-width: 620px; color: var(--shop-muted); line-height: 1.7; }

.pcl-shop .shop-section-desc { text-align: center; color: var(--shop-muted); margin: -10px 0 26px; font-size: 15px; }

/* 가이드 카드 */
.pcl-shop .shop-guide { padding: 50px 0 8px; }
.pcl-shop .shop-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcl-shop .shop-guide-card { background: #fff; border: 1px solid var(--shop-border); border-radius: 16px; padding: 24px; }
.pcl-shop .shop-guide-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.pcl-shop .shop-guide-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--shop-soft); color: var(--shop-primary); }
.pcl-shop .shop-guide-ic .pcl-ic { width: 22px; height: 22px; }
.pcl-shop .shop-guide-title { margin: 0 0 2px; font-size: 18px; font-weight: 800; }
.pcl-shop .shop-guide-sub { margin: 0; font-size: 13px; color: var(--shop-muted); }
.pcl-shop .shop-guide-text { margin: 0; color: #374151; line-height: 1.8; font-size: 15px; }
.pcl-shop .shop-guide-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pcl-shop .shop-guide-list li { position: relative; padding-left: 22px; color: #374151; line-height: 1.6; font-size: 15px; }
.pcl-shop .shop-guide-list li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--shop-primary); }

/* 지역/행사 그룹 */
.pcl-shop .shop-regions { margin: 50px 0 8px; }
.pcl-shop .shop-region-list { background: var(--shop-soft); border: 1px solid var(--shop-border); border-radius: 16px; padding: 6px 20px; }
.pcl-shop .shop-region-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--shop-border); }
.pcl-shop .shop-region-row:first-child { border-top: 0; }
.pcl-shop .shop-region-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: 8px; background: var(--shop-primary); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; text-align: center; }
.pcl-shop .shop-region-badge:hover { background: var(--shop-primary-dark); }
.pcl-shop .shop-region-subs { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-top: 6px; }
.pcl-shop .shop-region-subs a { color: #4b5563; font-size: 14px; text-decoration: none; }
.pcl-shop .shop-region-subs a:hover { color: var(--shop-primary); text-decoration: underline; }

/* 전문가 상담 (다크 밴드) */
.pcl-shop .shop-expert { margin: 56px 0; background: linear-gradient(135deg, var(--shop-band-from), var(--shop-band-to)); color: #fff; padding: 56px 0; text-align: center; }
.pcl-shop .shop-expert-inner h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: #fff; }
.pcl-shop .shop-expert-inner p { margin: 0 auto 26px; max-width: 600px; line-height: 1.7; opacity: 0.92; }

/* 인기 키워드 */
.pcl-shop .shop-keywords { margin: 8px 0 50px; text-align: center; }
.pcl-shop .shop-keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pcl-shop .shop-keyword-cloud a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--shop-border); border-radius: 999px; background: #fff; color: #374151; font-size: 14px; text-decoration: none; transition: all 0.15s ease; }
.pcl-shop .shop-keyword-cloud a:hover { background: var(--shop-primary); border-color: var(--shop-primary); color: #fff; }

/* 반응형 */
@media (max-width: 1024px) {
    .pcl-shop .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .pcl-shop .shop-hero { padding: 48px 0 42px; }
    .pcl-shop .shop-hero-title { font-size: 28px; }
    .pcl-shop .shop-hero-sub { font-size: 15px; }
    .pcl-shop .shop-grid { grid-template-columns: 1fr; gap: 18px; }
    .pcl-shop .shop-cta-inner { flex-direction: column; text-align: center; }
    .pcl-shop .shop-section-title { font-size: 22px; }
    .pcl-shop .shop-guide-grid { grid-template-columns: 1fr; }
    .pcl-shop .shop-region-row { grid-template-columns: 1fr; }
    .pcl-shop .shop-expert-inner h2 { font-size: 23px; }
}
