/* ==========================================================
   floweri 자동 포스팅 플러그인 — 프론트엔드 스타일
   포함 템플릿:
     - template-best-seller.php  (.cptg-*)
     - template-flower-guide.php (.fguide-*)
     - template-flower-story.php (.fstory-*)
   작성일: 2026-03-26
   수정일: 2026-03-26
   색상 전략: var(--accent, #2271b1) — GeneratePress 테마 컬러 자동 반영,
              폴백은 블루 계열 (#2271b1)
========================================================== */

/* ══════════════════════════════════════════════════════════
   1. template-best-seller — 기존 스타일 (cptg-*)
══════════════════════════════════════════════════════════ */

.cptg-generated-post {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.cptg-summary-box {
    background: #f0f6ff;
    border-left: 4px solid var(--accent, #2271b1);
    padding: 14px 18px;
    margin: 0 0 24px;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
}

.cptg-summary-box strong {
    color: var(--accent, #2271b1);
    margin-right: 6px;
}

/* 상품 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.product-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.product-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.product-item-inner {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.product-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.discount-price {
    color: #d63638;
    font-weight: 700;
    font-size: 16px;
}

.product-item .button {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 16px;
    background: var(--accent, #2271b1);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.product-item .button:hover {
    opacity: 0.85;
    color: #fff;
}

/* 꽃말 박스 */
.flower-meaning-box {
    background: #fffbf0;
    border: 1px solid #f0e0a0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.flower-meaning-box h3 {
    margin: 0 0 10px;
    color: #7a5c00;
    font-size: 15px;
}

/* 경조사 문구 박스 */
.congratulatory-message-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.congratulatory-message-box h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #495057;
}

/* FAQ */
.cptg-faq-section {
    margin: 32px 0 24px;
}

.cptg-faq-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent, #2271b1);
    padding-bottom: 8px;
}

.cptg-faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.cptg-faq-item h3 {
    background: #f6f8fa;
    padding: 12px 16px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.cptg-faq-answer {
    padding: 12px 16px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   2. template-flower-guide — 가이드형 (fguide-*)
   색상: var(--accent, #2271b1) — GeneratePress 테마 컬러 반영
══════════════════════════════════════════════════════════ */

.fguide-post {
    font-size: 16px;
    line-height: 1.75;
    color: #2c2c2c;
}

/* 핵심 요약 정의 블록 (AI Overview 최적화) */
.fguide-definition-block {
    background: #f0f6ff;
    border-left: 5px solid var(--accent, #2271b1);
    padding: 16px 20px;
    margin: 0 0 28px;
    border-radius: 0 8px 8px 0;
}

.fguide-def-label {
    display: inline-block;
    background: var(--accent, #2271b1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.fguide-def-text {
    margin: 0;
    font-size: 15px;
    color: #1a2a3a;
    line-height: 1.7;
}

/* 도입 */
.fguide-intro-block {
    padding: 14px 0;
    border-bottom: 1px solid #e0eaf5;
    margin-bottom: 28px;
    color: #555;
}

/* 섹션 */
.fguide-section {
    margin: 0 0 32px;
}

.fguide-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dce8f5;
}

/* 꽃말 카드 */
.fguide-meaning-card {
    background: #fffdf0;
    border: 1px solid #e8d88a;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
    font-size: 14px;
    color: #5a4a00;
}

/* 경조사 메시지 카드 */
.fguide-message-card {
    background: #f0f6ff;
    border: 1px dashed #9ab8db;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
    font-size: 14px;
    color: #1a2a4a;
}

/* 가로형 상품 리스트 */
.fguide-product-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fguide-product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #d8e8f5;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.fguide-product-item:hover {
    box-shadow: 0 2px 10px rgba(34,113,177,0.12);
}

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

.fguide-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fguide-product-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.fguide-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fguide-price-origin {
    text-decoration: line-through;
    color: #aaa;
    font-size: 13px;
}

.fguide-price-sale {
    color: #d63638;
    font-size: 16px;
    font-weight: 700;
}

/* 테마 독립 버튼: 어떤 테마에서도 일관된 스타일 보장 */
a.fguide-btn,
a.fguide-btn:link,
a.fguide-btn:visited {
    display: inline-block !important;
    padding: 7px 16px !important;
    background: var(--accent, #2271b1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    margin-top: 4px !important;
    align-self: flex-start;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    transition: opacity 0.2s;
}

a.fguide-btn:hover,
a.fguide-btn:focus {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--accent, #2271b1) !important;
    box-shadow: none !important;
}

/* autolink 플러그인이 상품명에 링크를 삽입해도 레이아웃 유지 */
.fguide-product-name a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}

/* FAQ — details/summary */
.fguide-faq {
    margin: 32px 0;
}

.fguide-faq h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #2271b1);
}

.fguide-faq-item {
    border: 1px solid #d0e4f5;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}

.fguide-faq-item[open] {
    border-color: var(--accent, #2271b1);
}

.fguide-faq-q {
    padding: 13px 16px;
    background: #f0f6ff;
    font-size: 15px;
    font-weight: 600;
    color: #1a2a3a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fguide-faq-q::-webkit-details-marker {
    display: none;
}

.fguide-faq-q::before {
    content: '▶';
    font-size: 10px;
    color: var(--accent, #2271b1);
    transition: transform 0.2s;
}

.fguide-faq-item[open] .fguide-faq-q::before {
    transform: rotate(90deg);
}

.fguide-faq-answer {
    padding: 12px 16px 14px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    border-top: 1px solid #d0e4f5;
}

/* 결론 — 순서형 체크리스트 */
.fguide-conclusion {
    background: #f0f6ff;
    border: 1px solid #b8d4f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 32px 0;
}

.fguide-conclusion h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 12px;
}

.fguide-checklist {
    margin: 10px 0 0 18px;
    padding: 0;
}

.fguide-checklist li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #1a3a6a;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   3. template-flower-story — 스토리형 (fstory-*)
   색상: var(--accent, #2271b1) — GeneratePress 테마 컬러 반영
══════════════════════════════════════════════════════════ */

.fstory-post {
    font-size: 16px;
    line-height: 1.75;
    color: #2c2c2c;
}

/* 리드 blockquote */
.fstory-lead {
    margin: 0 0 28px;
}

.fstory-lead-quote {
    border-left: 5px solid var(--accent, #2271b1);
    background: #f0f6ff;
    margin: 0;
    padding: 16px 22px;
    font-size: 16px;
    font-style: italic;
    color: #1a2a4a;
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
}

/* 도입 */
.fstory-intro {
    padding: 12px 0 20px;
    border-bottom: 1px solid #d0e4f5;
    margin-bottom: 28px;
    color: #555;
}

/* 섹션 */
.fstory-section {
    margin: 0 0 36px;
}

.fstory-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d0e4f5;
}

.fstory-extra {
    color: #555;
    font-size: 15px;
}

.fstory-desc {
    color: #555;
    margin-bottom: 16px;
}

/* 콘텐츠 카드 */
.fstory-content-card {
    background: #f7faff;
    border: 1px solid #d0e4f5;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: #1a2a4a;
}

/* 메시지 래퍼 */
.fstory-message-wrap {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: #444;
    border: 1px solid #e4e4e4;
}

/* 쇼케이스 상품 카드 */
.fstory-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.fstory-product-card {
    border: 1px solid #d0e4f5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.fstory-product-card:hover {
    box-shadow: 0 4px 18px rgba(34,113,177,0.14);
}

/* 첫 번째 상품 강조 */
.fstory-product-featured {
    border-color: var(--accent, #2271b1);
    box-shadow: 0 2px 10px rgba(34,113,177,0.15);
}

.fstory-product-fig {
    margin: 0;
    overflow: hidden;
}

.fstory-product-fig img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.fstory-product-card:hover .fstory-product-fig img {
    transform: scale(1.03);
}

.fstory-product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}

.fstory-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.fstory-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fstory-price-origin {
    text-decoration: line-through;
    color: #aaa;
    font-size: 13px;
}

.fstory-price-sale {
    color: #d63638;
    font-size: 16px;
    font-weight: 700;
}

/* 테마 CSS 충돌 방지: p > a 패턴을 명시적으로 덮어씀 */
.fstory-product-body p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* 테마 독립 버튼: 어떤 테마에서도 일관된 스타일 보장 */
a.fstory-order-btn,
a.fstory-order-btn:link,
a.fstory-order-btn:visited {
    display: inline-block !important;
    padding: 8px 22px !important;
    background: var(--accent, #2271b1) !important;
    color: #fff !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    transition: opacity 0.2s;
}

a.fstory-order-btn:hover,
a.fstory-order-btn:focus {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--accent, #2271b1) !important;
    box-shadow: none !important;
}

/* autolink 플러그인이 상품명에 링크를 삽입해도 레이아웃 유지 */
.fstory-product-name a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}

/* 결론 */
.fstory-ending {
    background: #f0f6ff;
    border: 1px solid #b8d4f0;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 32px 0;
}

.fstory-ending h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a4a;
    margin: 0 0 12px;
}

.fstory-summary-list {
    margin: 10px 0 0 18px;
    padding: 0;
}

.fstory-summary-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #1a3a6a;
    line-height: 1.6;
}

/* FAQ — Q1/A1 번호형 */
.fstory-faq {
    margin: 32px 0;
}

.fstory-faq h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #2271b1);
}

.fstory-qa-item {
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d0e4f5;
}

.fstory-qa-q,
.fstory-qa-a {
    display: flex;
    gap: 12px;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.65;
}

.fstory-qa-q {
    background: #e8f0ff;
    font-weight: 600;
    color: #1a2a3a;
}

.fstory-qa-a {
    background: #fff;
    color: #444;
    border-top: 1px solid #d0e4f5;
}

.fstory-qa-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--accent, #2271b1);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.fstory-qa-a .fstory-qa-num {
    background: #8ab4d8;
}

/* ══════════════════════════════════════════════════════════
   4. template-flower-ranking — 랭킹형 (frank-*)
   색상: var(--accent, #2271b1)
══════════════════════════════════════════════════════════ */

.frank-post {
    font-size: 16px;
    line-height: 1.75;
    color: #2c2c2c;
}

/* 핵심 요약 박스 */
.frank-summary-box {
    background: #f0f6ff;
    border-left: 5px solid var(--accent, #2271b1);
    padding: 16px 20px;
    margin: 0 0 28px;
    border-radius: 0 8px 8px 0;
}

.frank-summary-label {
    display: inline-block;
    background: var(--accent, #2271b1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.frank-summary-text {
    margin: 0;
    font-size: 15px;
    color: #1a2a3a;
    line-height: 1.7;
}

/* 도입 */
.frank-intro {
    padding: 12px 0 20px;
    border-bottom: 1px solid #e0eaf5;
    margin-bottom: 28px;
    color: #555;
}

/* 섹션 */
.frank-section {
    margin: 0 0 36px;
}

.frank-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #2271b1);
}

/* 정보 박스 */
.frank-info-box {
    background: #f7faff;
    border: 1px solid #d0e4f5;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: #1a2a4a;
    margin: 12px 0;
}

/* 순위 리스트 */
.frank-ranking-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: none;
}

.frank-ranking-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #d8e8f5;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.frank-ranking-item:hover {
    box-shadow: 0 3px 12px rgba(34,113,177,0.12);
}

/* 1위 강조 */
.frank-ranking-top {
    border-color: var(--accent, #2271b1);
    background: #f5f9ff;
    box-shadow: 0 2px 10px rgba(34,113,177,0.12);
}

.frank-rank-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: var(--accent, #2271b1);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.frank-ranking-top .frank-rank-badge {
    background: #f0a500;
    font-size: 18px;
    background: none;
}

.frank-product-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.frank-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.frank-product-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.frank-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.frank-price-origin {
    text-decoration: line-through;
    color: #aaa;
    font-size: 13px;
}

.frank-price-sale {
    color: #d63638;
    font-size: 16px;
    font-weight: 700;
}

a.frank-btn,
a.frank-btn:link,
a.frank-btn:visited {
    display: inline-block !important;
    padding: 6px 14px !important;
    background: var(--accent, #2271b1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border: none !important;
    box-shadow: none !important;
    align-self: flex-start;
    transition: opacity 0.2s;
}

a.frank-btn:hover,
a.frank-btn:focus {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--accent, #2271b1) !important;
}

/* FAQ */
.frank-faq {
    margin: 32px 0;
}

.frank-faq h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #2271b1);
}

.frank-faq-item {
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d0e4f5;
}

.frank-faq-q,
.frank-faq-a {
    display: flex;
    gap: 10px;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.65;
}

.frank-faq-q {
    background: #e8f0ff;
    font-weight: 600;
    color: #1a2a3a;
    align-items: center;
}

.frank-faq-a {
    background: #fff;
    color: #444;
    border-top: 1px solid #d0e4f5;
}

.frank-faq-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent, #2271b1);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* 결론 CTA */
.frank-conclusion {
    background: var(--accent, #2271b1);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
    color: #fff;
}

.frank-conclusion h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.frank-conclusion-text {
    color: rgba(255,255,255,0.9);
    margin: 0 0 12px;
    font-size: 15px;
}

.frank-conclusion-list {
    margin: 0;
    padding: 0 0 0 20px;
}

.frank-conclusion-list li {
    margin-bottom: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   5. template-flower-compare — 상황별추천형 (fcomp-*)
   색상: var(--accent, #2271b1)
══════════════════════════════════════════════════════════ */

.fcomp-post {
    font-size: 16px;
    line-height: 1.75;
    color: #2c2c2c;
}

/* 리드 박스 */
.fcomp-lead-box {
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f6ff 100%);
    border: 1px solid #c0d8f0;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 0 0 28px;
}

.fcomp-lead-text {
    margin: 0;
    font-size: 16px;
    color: #1a2a4a;
    line-height: 1.7;
    font-weight: 500;
}

/* 도입 */
.fcomp-intro {
    padding: 12px 0 20px;
    border-bottom: 1px solid #d8e8f5;
    margin-bottom: 28px;
    color: #555;
}

/* 섹션 */
.fcomp-section {
    margin: 0 0 36px;
}

.fcomp-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d0e4f5;
}

/* 하이라이트 박스 */
.fcomp-highlight-box {
    background: #f0f6ff;
    border-left: 4px solid var(--accent, #2271b1);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    font-size: 14px;
    color: #1a2a4a;
    margin: 12px 0;
}

/* 상황별 카드 그리드 */
.fcomp-situation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.fcomp-situation-card {
    border: 1px solid #d0e4f5;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.fcomp-situation-card:hover {
    box-shadow: 0 3px 12px rgba(34,113,177,0.10);
}

.fcomp-situation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.fcomp-situation-icon {
    font-size: 20px;
    line-height: 1;
}

.fcomp-situation-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent, #2271b1);
}

.fcomp-situation-desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px;
}

.fcomp-situation-products {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fcomp-sit-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #f5f9ff;
    border-radius: 6px;
    font-size: 13px;
}

.fcomp-sit-name {
    flex: 1;
    color: #1a1a1a;
    font-weight: 500;
}

.fcomp-sit-price {
    color: #d63638;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

a.fcomp-sit-btn,
a.fcomp-sit-btn:link,
a.fcomp-sit-btn:visited {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: var(--accent, #2271b1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
}

a.fcomp-sit-btn:hover,
a.fcomp-sit-btn:focus {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--accent, #2271b1) !important;
}

/* 2컬럼 상품 그리드 */
.fcomp-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.fcomp-product-card {
    border: 1px solid #d8e8f5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.fcomp-product-card:hover {
    box-shadow: 0 4px 14px rgba(34,113,177,0.12);
}

.fcomp-product-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.fcomp-product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: center;
    align-items: center;
}

.fcomp-product-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.fcomp-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fcomp-price-origin {
    text-decoration: line-through;
    color: #aaa;
    font-size: 12px;
}

.fcomp-price-sale {
    color: #d63638;
    font-size: 15px;
    font-weight: 700;
}

a.fcomp-btn,
a.fcomp-btn:link,
a.fcomp-btn:visited {
    display: inline-block !important;
    padding: 7px 18px !important;
    background: var(--accent, #2271b1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 4px;
    transition: opacity 0.2s;
}

a.fcomp-btn:hover,
a.fcomp-btn:focus {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--accent, #2271b1) !important;
}

/* FAQ 심플 카드 */
.fcomp-faq {
    margin: 32px 0;
}

.fcomp-faq h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #2271b1);
}

.fcomp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fcomp-faq-card {
    border: 1px solid #d0e4f5;
    border-radius: 8px;
    overflow: hidden;
}

.fcomp-faq-q,
.fcomp-faq-a {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.fcomp-faq-q {
    background: #e8f0ff;
    font-weight: 600;
    color: #1a2a3a;
}

.fcomp-faq-a {
    background: #fff;
    color: #444;
    border-top: 1px solid #d0e4f5;
}

.fcomp-faq-qlabel,
.fcomp-faq-alabel {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.fcomp-faq-qlabel {
    background: var(--accent, #2271b1);
    color: #fff;
}

.fcomp-faq-alabel {
    background: #8ab4d8;
    color: #fff;
}

/* 결론 */
.fcomp-conclusion {
    background: #f0f6ff;
    border: 1px solid #b8d4f0;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 32px 0;
}

.fcomp-conclusion h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a4a;
    margin: 0 0 10px;
}

.fcomp-conclusion-list {
    margin: 10px 0 0 18px;
    padding: 0;
}

.fcomp-conclusion-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #1a3a6a;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   반응형 (모바일 768px 이하)
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* best-seller */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* fguide */
    .fguide-product-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .fguide-product-img {
        width: 100%;
        height: 180px;
    }

    /* fstory */
    .fstory-showcase {
        grid-template-columns: 1fr;
    }

    .fstory-product-featured {
        box-shadow: none;
    }

    /* frank (ranking) */
    .frank-ranking-item {
        flex-wrap: wrap;
    }

    .frank-product-img {
        width: 100%;
        height: 160px;
    }

    /* fcomp (compare) */
    .fcomp-situation-grid {
        grid-template-columns: 1fr;
    }

    .fcomp-product-grid {
        grid-template-columns: 1fr;
    }
}
