@charset "utf-8";

/* Reset & Base for new sections */
.new-section-wrap {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    color: #fff;
    background-color: #07080E;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    /* 모바일 가로 스크롤 완벽 차단 */
}

.new-section-wrap * {
    box-sizing: border-box;
}

/* Common Classes */
.inner-container {
    width: 100%;
    max-width: 1200px;
    /* 모바일에서 삐져나가지 않도록 강제 제한 */
    padding: 0 16px;
    /* 좌우 화면 터치 방지 여백 */
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a1a1aa;
    margin-top: 12px;
}

/* ------------------------------------- */
/* SECTION 1: HERO                       */
/* ------------------------------------- */
.hero-sec {
    position: relative;
    width: 100%;
    height: 700px;
    background: radial-gradient(circle at 70% 50%, #1e1b2e 0%, #07080E 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text-box {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: #d4d4d8;
    line-height: 1.6;
    margin-top: 10px;
    word-break: keep-all;
}

.hero-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-btn-red {
    background: linear-gradient(90deg, #d32f2f, #e53935);
    color: #fff;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.4);
    border: none;
}

.hero-btn-red:hover {
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

.hero-btn-dark {
    background: transparent;
    color: #fff;
    border: 1px solid #52525b;
}

.hero-btn-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #a1a1aa;
    transform: translateY(-2px);
    color: #fff;
}

.hero-image-box {
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-pc-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    border-radius: 20px;
    mix-blend-mode: screen;
}

/* SECTION 1.5: STATS STRIP */
.stats-strip {
    width: 100%;
    background-color: #0D0E14;
    border-top: 1px solid #1f222b;
    border-bottom: 1px solid #1f222b;
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.stats-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 1.05rem;
    font-weight: 500;
}

.stat-check {
    color: #e53935;
    font-weight: bold;
}

/* Global Responsive Adjustments */
@media (max-width: 1240px) {
    .inner-container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Prevent any element from causing horizontal scroll */
@media (max-width: 768px) {
    .new-section-wrap {
        overflow-x: hidden;
    }

    .inner-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 480px) {
    .inner-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Global Responsive Adjustments for Section Titles */
@media (max-width: 768px) {

    html body .he-title,
    html body .install-title,
    html body .reasons-title,
    html body .cpc-title,
    html body .vp-title,
    html body .gallery-title,
    html body .delivery-title,
    html body .section-title,
    html body .bb-title,
    html body .peri-title {
        font-size: 24px !important;
    }

    /* Subtitles & Descriptions */
    html body .he-subtitle,
    html body .install-subtitle,
    html body .reasons-subtitle,
    html body .cpc-subtitle,
    html body .vp-subtitle,
    html body .gallery-subtitle,
    html body .delivery-subtitle,
    html body .bb-subtitle,
    html body .peri-subtitle,
    html body .section-subtitle,
    html body .gallery-sub-heading {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* Card & Product Titles */
    html body .cpc-name,
    html body .he-feat-name,
    html body .peri-name,
    html body .product-title,
    html body .review-product,
    html body .delivery-card-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    html body .delivery-card-type {
        font-size: 12px !important;
    }

    html body .delivery-feature-item {
        font-size: 13px !important;
    }

    /* Prices */
    html body .cpc-price-new,
    html body .he-feat-price,
    html body .peri-price,
    html body .product-price-new,
    html body .product-price {
        font-size: 18px !important;
    }

    /* Buttons */
    html body .he-feat-btn,
    html body .cpc-banner-btn,
    html body .rec-btn,
    html body .btn-cart {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}
html {
    scroll-behavior: smooth;
}

/* Hero Section Scoped Styles */
.hero-sec-new {
    position: relative;
    background-color: #090A10;
    color: #fff;
    padding: 0;
    min-height: 800px;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.hero-inner-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
}

.hero-text-box-new {
    max-width: 650px;
    z-index: 2;
}

.hero-subtitle-new {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-subtitle-new .subtitle-text {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-subtitle-new .dot {
    margin: 0 4px;
    opacity: 0.6;
}

.hero-subtitle-new .subtitle-line {
    width: 40px;
    height: 1px;
    background-color: #431E21;
}

.hero-title-new {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 28px 0;
    color: #FFFFFF;
}

.hero-title-new .text-red {
    color: #FF1F23;
}

.hero-desc-new {
    font-size: 16px;
    color: #8C8F9E;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.hero-btn-group-new {
    display: flex;
    gap: 16px;
    margin-bottom: 54px;
}

.hero-btn-group-new a {
    text-decoration: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FF1F23;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary:hover {
    background-color: #F01015;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 62, 66, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #E2E4EB;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 6px;
    border: 1px solid #2B2E38;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #1A1C23;
    border-color: #404452;
    color: white;
}

.hero-stats-new {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    color: #8C8F9E;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background-color: #FF1F23;
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 6px;
}

.hero-image-box-new {
    position: relative;
    width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-bg-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(210, 225, 255, 0.4) 0%, rgba(180, 200, 255, 0.2) 40%, rgba(0, 0, 0, 0) 80%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-pc-img-new {
    position: relative;
    z-index: 2;
    max-width: 100%;
    filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.6));
}

/* Responsive */
@media (max-width: 100%) {
    .hero-inner-new {
        width: 100%;
        padding: 60px 20px 40px;
    }
}

@media (max-width: 1024px) {
    .hero-sec-new {
        min-height: auto;
    }

    .hero-inner-new {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 20px;
        gap: 40px;
    }

    .hero-text-box-new {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .hero-stats-new {
        display: none !important;
        /* 창 축소 시 가독성 위해 즉시 숨김 */
    }

    .hero-image-box-new {
        width: 100%;
        max-width: 450px;
    }

    .hero-desc-new,
    .hero-subtitle-new {
        display: none !important;
    }

    .hero-title-new {
        font-size: 38px !important;
        line-height: 1.3 !important;
        word-break: keep-all;
    }

    .hero-title-new br {
        display: none;
    }

    .hero-btn-group-new {
        flex-direction: row;
        width: 100%;
        gap: 12px !important;
        margin-top: 16px;
    }

    .btn-primary,
    .btn-secondary {
        html {
            scroll-behavior: smooth;
        }

        /* Hero Section Scoped Styles */
        .hero-sec-new {
            position: relative;
            background-color: #090A10;
            color: #fff;
            padding: 0;
            min-height: 800px;
            font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
        }

        .hero-inner-new {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin: 0 auto;
            padding-top: 40px;
        }

        .hero-text-box-new {
            max-width: 650px;
            z-index: 2;
        }

        .hero-subtitle-new {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
        }

        .hero-subtitle-new .subtitle-text {
            color: #FF1F23;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .hero-subtitle-new .dot {
            margin: 0 4px;
            opacity: 0.6;
        }

        .hero-subtitle-new .subtitle-line {
            width: 40px;
            height: 1px;
            background-color: #431E21;
        }

        .hero-title-new {
            font-size: 72px;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.03em;
            margin: 0 0 28px 0;
            color: #FFFFFF;
        }

        .hero-title-new .text-red {
            color: #FF1F23;
        }

        .hero-desc-new {
            font-size: 16px;
            color: #8C8F9E;
            line-height: 1.6;
            margin-bottom: 40px;
            letter-spacing: -0.01em;
            font-weight: 400;
        }

        .hero-btn-group-new {
            display: flex;
            gap: 16px;
            margin-bottom: 54px;
        }

        .hero-btn-group-new a {
            text-decoration: none;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: #FF1F23;
            color: white;
            font-size: 16px;
            font-weight: 700;
            padding: 16px 36px;
            border-radius: 6px;
            transition: all 0.2s ease;
            border: none;
        }

        .btn-primary:hover {
            background-color: #F01015;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 62, 66, 0.3);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: transparent;
            color: #E2E4EB;
            font-size: 16px;
            font-weight: 600;
            padding: 16px 36px;
            border-radius: 6px;
            border: 1px solid #2B2E38;
            transition: all 0.2s ease;
        }

        .btn-secondary:hover {
            background-color: #1A1C23;
            border-color: #404452;
            color: white;
        }

        .hero-stats-new {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 18px;
            width: 100%;
        }

        .stat-item {
            display: flex;
            align-items: center;
            color: #8C8F9E;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: -0.01em;
            white-space: nowrap;
        }

        .check-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 15px;
            height: 15px;
            background-color: #FF1F23;
            color: white;
            font-size: 9px;
            font-weight: bold;
            border-radius: 50%;
            margin-right: 6px;
        }

        .hero-image-box-new {
            position: relative;
            width: 550px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .glow-bg-new {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40vw;
            height: 40vw;
            background: radial-gradient(50% 50% at 50% 50%, rgba(253, 149, 140, 0.4) 0%, rgba(253, 149, 140, 0.2) 40%, rgba(253, 149, 140, 0) 80%);
            border-radius: 50%;
            z-index: 1;
            pointer-events: none;
        }

        .hero-pc-img-new {
            position: relative;
            z-index: 2;
            max-width: 100%;
            filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.6));
        }

        /* Responsive */
        @media (max-width: 100%) {
            .hero-inner-new {
                width: 100%;
                padding: 60px 20px 40px;
            }
        }

        @media (max-width: 1024px) {
            .hero-sec-new {
                min-height: auto;
            }

            .hero-inner-new {
                flex-direction: column-reverse;
                text-align: center;
                padding: 60px 20px;
                gap: 40px;
            }

            .hero-text-box-new {
                display: flex;
                flex-direction: column;
                align-items: center;
                max-width: 100%;
            }

            .hero-stats-new {
                display: none !important;
                /* 창 축소 시 가독성 위해 즉시 숨김 */
            }

            .hero-image-box-new {
                width: 100%;
                max-width: 450px;
            }

            .hero-desc-new,
            .hero-subtitle-new {
                display: none !important;
            }

            .hero-title-new {
                font-size: 38px !important;
                line-height: 1.3 !important;
                word-break: keep-all;
            }

            .hero-title-new br {
                display: none;
            }

            .hero-btn-group-new {
                flex-direction: row;
                width: 100%;
                gap: 12px !important;
                margin-top: 16px;
            }

            .btn-primary,
            .btn-secondary {
                flex: 1;
                justify-content: center;
                font-size: 15px !important;
                font-weight: bold !important;
                padding: 14px 10px !important;
                white-space: nowrap;
            }
        }

        @media (max-width: 768px) {
            .hero-title-new {
                font-size: 32px !important;
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .hero-title-new {
                font-size: 6.5vw !important;
                margin-bottom: 20px !important;
                white-space: nowrap;
            }

            .hero-inner-new {
                padding: 30px 0 !important;
                /* 좌우 여백은 부모 inner-container에 맡김 */
            }
        }

        flex: 1;
        justify-content: center;
        font-size: 15px !important;
        font-weight: bold !important;
        padding: 14px 10px !important;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-title-new {
        font-size: 32px !important;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-title-new {
        font-size: 6.5vw !important;
        margin-bottom: 20px !important;
        white-space: nowrap;
    }

    .hero-inner-new {
        padding: 30px 0 !important;
        /* 좌우 여백은 부모 inner-container에 맡김 */
    }
}
/* 1_5_ai_estimate.css — AI 위저드 + 견적 폼 */
/* @import 제거: index.php 에서 pretendard 이미 로드됨 */

:root {
    --red: #FF1F23;
    --red-a10: rgba(255,31,35,.10);
    --red-a20: rgba(255,31,35,.20);
    --red-a30: rgba(255,31,35,.30);
    --bg0: #090A10;
    --bg1: #111218;
    --bg2: #1A1C27;
    --bg3: #0D0E14;
    --border: #1E2028;
    --border2: #2E3040;
    --text: #fff;
    --text-sub: #CDD0E0;
    --text-mute: #6B6E7E;
    --text-dim: #3F4452;
}

/* ============================================================
   SECTION & HEADER
   ============================================================ */
.ai-est-sec {
    background: var(--bg0);
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    padding: 56px 0;
    color: var(--text);
}

.ai-est-header { margin-bottom: 36px; }

.ai-est-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ai-est-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--red);
    flex-shrink: 0;
}

.ai-est-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.3;
}
.ai-est-title span { color: var(--red); }

.ai-est-subtitle {
    font-size: 15px;
    color: var(--text-mute);
    margin: 0;
}

.ai-est-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    min-height: 540px;
}

/* ============================================================
   공통 패널
   ============================================================ */
.ai-panel,
.est-panel {
    background: var(--bg1);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.panel-header-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}
.panel-header-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}
.panel-header-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    background: var(--red-a10);
    border: 1px solid var(--red-a30);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: .04em;
}

/* 로그인 상태 뱃지 */
.est-logged-in-badge {
    color: #34d399 !important;
    background: rgba(52,211,153,.1) !important;
    border-color: rgba(52,211,153,.25) !important;
    display: flex;
    align-items: center;
    gap: 5px;
}
.est-login-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; }
    50% { opacity: .4; }
}
.est-logged-out-badge {
    color: var(--text-mute) !important;
    background: rgba(107,110,126,.08) !important;
    border-color: rgba(107,110,126,.2) !important;
}

/* ============================================================
   AI 위저드 패널 (왼쪽)
   ============================================================ */

/* ── 진행 단계 바 ── */
.ai-progress-wrap {
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.ai-progress-track {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-prog-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.prog-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg2);
    border: 2px solid var(--border2);
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.prog-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: .04em;
    transition: color .3s;
}
.ai-prog-item.active .prog-dot {
    background: var(--red-a10);
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 0 4px var(--red-a10);
}
.ai-prog-item.active .prog-label { color: var(--red); }
.ai-prog-item.done .prog-dot {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.ai-prog-item.done .prog-label { color: var(--text-sub); }

.ai-prog-line {
    flex: 1;
    height: 2px;
    background: var(--border2);
    margin: 0 8px 16px;
    border-radius: 2px;
    transition: background .3s;
    min-width: 28px;
}
.ai-prog-line.done { background: var(--red); }

/* ── 선택 요약 칩 ── */
.ai-summary-area {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    min-height: 0;
    flex-shrink: 0;
}
.ai-answer-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--red-a10);
    border: 1px solid var(--red-a20);
    border-radius: 20px;
    padding: 4px 10px 4px 8px;
    font-size: 11.5px;
    animation: chip-in .22s ease;
}
@keyframes chip-in {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}
.chip-key { color: var(--text-mute); font-weight: 600; }
.chip-val { color: var(--red); font-weight: 700; }

/* ── AI 질문 영역 ── */
.ai-question-zone {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    min-height: 120px;
}
.ai-bot-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}
.ai-bot-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--red-a10);
    border: 1.5px solid var(--red-a30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.ai-question-bubble {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 4px 14px 14px 14px;
    padding: 14px 16px;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
    flex: 1;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* ── 결과 카드 ── */
.ai-result-card {
    background: linear-gradient(135deg, var(--bg3) 0%, #111520 100%);
    border: 1px solid var(--red-a30);
    border-radius: 14px;
    padding: 18px 20px;
    width: 100%;
    animation: card-in .35s ease;
}
@keyframes card-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.res-header {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
}
.res-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.res-spec {
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.7;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    border: 1px solid var(--border);
}
.res-style {
    font-size: 12px;
    color: #A1A3B1;
    margin-bottom: 8px;
}
.res-desc {
    font-size: 12px;
    color: #A1A3B1;
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
}

/* ── 옵션 선택 (하단) ── */
.ai-options-zone {
    padding: 12px 14px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.ai-opt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.ai-opt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--bg3);
    border: 1.5px solid var(--border2);
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s;
    font-family: inherit;
}
.ai-opt-card:hover {
    background: var(--red-a10);
    border-color: rgba(255,31,35,.5);
    transform: translateY(-2px);
}
.ai-opt-card:active { transform: translateY(0); }
.ai-opt-card:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.opt-icon { font-size: 22px; line-height: 1; }
.opt-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-sub);
    text-align: center;
    line-height: 1.3;
}

.ai-restart-btn {
    width: 100%;
    padding: 13px;
    background: var(--red-a10);
    border: 1.5px solid var(--red-a30);
    border-radius: 10px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, border-color .2s;
}
.ai-restart-btn:hover {
    background: var(--red-a20);
    border-color: var(--red);
}

/* ── 타이핑 인디케이터 ── */
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 2px 0;
}
.typing-indicator span {
    width: 7px; height: 7px;
    background: var(--border2);
    border-radius: 50%;
    animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-bounce {
    0%,80%,100% { transform: translateY(0); background: var(--border2); }
    40% { transform: translateY(-6px); background: var(--red); }
}

/* ============================================================
   견적 폼 패널 (오른쪽)
   ============================================================ */
.est-login-required {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 48px 24px;
    gap: 14px;
    text-align: center;
}
.est-login-icon { font-size: 36px; opacity: .5; }
.est-login-msg { font-size: 14px; color: var(--text-mute); line-height: 1.6; }
.est-login-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--red);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
    margin-top: 4px;
}
.est-login-btn:hover { background: #e01518; }

.est-form-body {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
}
.est-form-body::-webkit-scrollbar { width: 4px; }
.est-form-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

.est-inline-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}
.est-inline-row .est-group { margin-bottom: 0; }

.est-group-flex {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 8px;
}
.est-textarea-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.est-group { margin-bottom: 8px; }
.est-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-mute);
    margin-bottom: 4px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.est-input {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 7px 9px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.est-input::placeholder { color: var(--text-dim); }
.est-input:focus { border-color: var(--red-a30); }

/* ── 옵션 버튼 그룹 ── */
.est-btn-group { display: flex; flex-wrap: wrap; gap: 6px; }
.est-opt-btn {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 6px;
    color: var(--text-mute);
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    padding: 5px 12px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    line-height: 1.4;
}
.est-opt-btn:hover { border-color: var(--red-a30); color: var(--text-sub); }
.est-opt-btn.active {
    background: var(--red-a10);
    border-color: var(--red);
    color: var(--red);
    font-weight: 700;
}

/* 전화번호 */
.phone-row { display: flex; gap: 6px; align-items: center; }
.phone-sep { color: var(--text-dim); font-size: 16px; flex-shrink: 0; }

/* ── 서식 에디터 ── */
.est-editor-toolbar {
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 5px 8px;
    background: #161820;
    border: 1px solid var(--border2);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}
.est-tb-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-mute);
    font-size: 12px;
    font-family: inherit;
    padding: 3px 8px;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.5;
    min-width: 26px;
    text-align: center;
}
.est-tb-btn:hover { background: var(--bg2); border-color: var(--border2); color: var(--text); }
.est-tb-sep { width: 1px; height: 14px; background: var(--border2); margin: 0 4px; flex-shrink: 0; }

.est-editor {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 9px 11px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    min-height: 100px;
    overflow-y: auto;
    line-height: 1.7;
    word-break: break-word;
    cursor: text;
    transition: border-color .2s;
    scrollbar-width: thin;
}
.est-editor:focus { border-color: var(--red-a30); }
.est-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--text-dim);
    pointer-events: none;
    display: block;
}

/* 비밀글 */
.est-check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.est-check-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.est-check-row span { font-size: 13px; color: var(--text-mute); }

/* 제출 버튼 */
.est-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--red);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: .02em;
    transition: background .2s, transform .15s;
    margin-top: 4px;
}
.est-submit-btn:hover { background: #e01518; transform: translateY(-1px); }
.est-submit-btn:disabled { background: var(--border2); color: var(--text-mute); cursor: not-allowed; transform: none; }

/* 결과 메시지 */
.est-result { display: none; margin-top: 10px; padding: 11px 13px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.est-result.ok  { display: block; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: #34d399; }
.est-result.err { display: block; background: rgba(255,31,35,.08); border: 1px solid rgba(255,31,35,.25); color: #ff6b6b; }
.est-result.info{ display: block; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.25); color: #93c5fd; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ai-est-grid { grid-template-columns: 1fr; min-height: auto; }
}

@media (max-width: 768px) {
    .ai-est-sec { padding: 40px 0; }
    .ai-est-title { font-size: 26px; }
    .est-inline-row { flex-direction: column; gap: 8px; }
    .ai-opt-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 520px) {
    .ai-opt-grid { grid-template-columns: 1fr 1fr; }
    .ai-est-title { font-size: 22px; }
}

/* 3_recommend.css - Completely Overhauled */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

.rec-sec {
    padding: 30px 0;
    background-color: #090A10;
    position: relative;
    font-family: 'Pretendard', sans-serif;
}

/* Header Area */
.section-title-wrap {
    text-align: left;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.recommend-badge {
    display: flex;
    align-items: center;
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.recommend-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.section-title span {
    color: #FFFFFF;
    /* Match the title */
}

.section-title-wrap::after {
    content: "게이밍부터 전문가 작업용까지 — 검증된 구성으로 바로 주문하세요";
    display: block;
    color: #8C8F9E;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
}

/* Tabs Area */
.rec-tabs {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #101118;
    padding: 5px;
    border-radius: 40px;
    margin-bottom: 24px;
    gap: 4px;
}

.rec-tab {
    background: transparent;
    border: none;
    border-radius: 40px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #616472;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rec-tab:hover {
    color: #E2E4EB;
}

.rec-tab.active {
    background-color: #FF1F23;
    color: #FFFFFF;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #111218;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
    border: 1px solid #1E2028;
    position: relative;
    padding-bottom: 72px;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #3F4452;
}

/* Top Badge - 제거 (컴팩트 레이아웃) */
.product-card::before {
    display: none;
}

.product-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(35, 58, 45, 0.4);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ADE80;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    width: fit-content;
}

.product-delivery svg {
    width: 11px;
    height: 11px;
}

/* Image */
.product-img-wrap {
    width: 100%;
    height: 140px;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Text and Specs */
.product-info-wrapper {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.spec-badge {
    color: #8C8F9E;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 14px;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    line-height: 1.5;
}

/* Performance Pills */
.game-perf-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.game-perf-item {
    background-color: rgba(255, 62, 66, 0.04);
    border: 1px solid rgba(255, 62, 66, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-perf-name {
    color: #C0C3CC;
    font-size: 11px;
    font-weight: 600;
}

.game-perf-name svg {
    display: none;
    /* Hide icon to match design */
}

.game-perf-fps {
    color: #FF1F23;
    font-size: 11px;
    font-weight: 700;
}

/* Bottom Price & Button */
.product-price-wrap {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

.price-label {
    display: block;
    font-size: 12px;
    color: #6D707D;
    margin-bottom: 2px;
    font-weight: 500;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: #FF1F23;
    display: flex;
    align-items: baseline;
    letter-spacing: -0.01em;
}

.product-price::before {
    content: '₩';
    margin-right: 2px;
    font-size: 22px;
}

.product-price span {
    display: none;
    /* Hide "원" */
}

.product-btn-group {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
}

.btn-cart {
    background-color: #FF1F23;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    border: none;
}

.btn-cart:hover {
    background-color: #F01015;
}

.btn-cart svg {
    display: none;
    /* Hide icon */
}

/* Hide the consult button to match the 1-button layout in the image */
.btn-consult {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 100%) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .rec-sec {
        padding: 48px 0;
    }

    .section-title {
        font-size: 32px !important;
        word-break: keep-all;
    }
}

@media (max-width: 768px) {
    .rec-sec {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px !important;
    }

    .section-title-wrap::after {
        font-size: 13px !important;
        margin-top: 10px !important;
    }
    
    .recommend-badge {
        font-size: 12px !important;
    }

    .rec-tabs {
        width: 100%;
        overflow-x: auto;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
    }

    .rec-tab {
        font-size: 13px;
        padding: 8px 16px;
        white-space: nowrap;
    }

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

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 16px;
        padding-bottom: 74px;
    }

    .product-img-wrap {
        height: 180px;
    }

    .product-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        word-break: break-all;
    }
    
    .spec-badge {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    
    .game-perf-name, .game-perf-fps {
        font-size: 10px !important;
    }

    .price-label {
        font-size: 11px !important;
    }

    .product-price {
        font-size: 16px !important;
    }

    .product-price::before {
        font-size: 16px !important;
    }

    .btn-cart {
        font-size: 12px !important;
        padding: 8px 14px !important;
    }

    .product-desc {
        display: none;
        /* 핵심만 남기기 위해 감춤 */
    }

    /* 모바일에서 요소 수를 크게 줄이기 위해 5번째 카드부터 감춤 */
    .product-card:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-img-wrap {
        height: 180px;
    }
}
.high-end-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* Header */
.he-badge {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.he-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}
.he-header {
    margin-bottom: 50px;
}
.he-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.he-subtitle {
    font-size: 16px;
    color: #94A3B8;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

/* Layout */
.he-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* ====== LEFT: Featured ====== */
.he-featured-link {
    display: block;
    text-decoration: none;
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
}
.he-featured-link:hover {
    transform: translateY(-4px);
    border-color: #FF1F23;
}

.he-feat-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 813 / 430;
    overflow: hidden;
    background-color: #111;
}
.he-feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.he-featured-link:hover .he-feat-img {
    transform: scale(1.04);
}
.he-feat-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(10,10,14,0.95) 0%, rgba(10,10,14,0.6) 50%, transparent 100%);
    pointer-events: none;
}
/* 이미지 위 오버레이: 제목 + 가격 */
.he-feat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    z-index: 2;
}
.he-feat-overlay .he-feat-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.he-feat-overlay .he-feat-name span {
    font-size: 14px;
    font-weight: 500;
    color: #CBD5E1;
    opacity: 0.9;
}
.he-feat-overlay .he-feat-price {
    font-size: 26px;
    font-weight: 900;
    color: #FF1F23;
    display: flex;
    align-items: baseline;
    gap: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.he-feat-overlay .he-feat-price span {
    font-size: 14px;
    font-weight: 500;
    color: #8C8F9E;
}
.he-feat-badge-top {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #FF1F23;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

.he-feat-body {
    padding: 20px 24px 24px;
}
.he-feat-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.he-feat-category {
    font-size: 12px;
    font-weight: 700;
    color: #8C8F9E;
    letter-spacing: 0.02em;
}
.he-feat-model {
    font-size: 12px;
    font-weight: 800;
    color: #FF1F23;
    background: rgba(255, 62, 66, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.he-feat-name {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.he-feat-price {
    font-size: 28px;
    font-weight: 900;
    color: #FF1F23;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.he-feat-price span {
    font-size: 14px;
    font-weight: 500;
    color: #8C8F9E;
}
.he-feat-specs {
    border-top: 1px solid #1E2028;
    padding-top: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.he-spec-row {
    display: flex;
    gap: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.he-spec-label {
    color: #475569;
    font-weight: 700;
    min-width: 40px;
    flex-shrink: 0;
}
.he-spec-val {
    color: #CBD5E1;
}
.he-feat-btn {
    display: inline-flex;
    align-items: center;
    background-color: #FF1F23;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 62, 66, 0.2);
}
.he-featured-link:hover .he-feat-btn {
    background-color: #E01015;
    transform: translateX(4px);
    box-shadow: 0 6px 25px rgba(255, 62, 66, 0.3);
}

/* ====== RIGHT: Side list ====== */
.he-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}
.he-side-card {
    display: flex;
    gap: 14px;
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
    align-items: center;
    flex: 1;
}
.he-side-card:hover {
    transform: translateY(-3px);
    border-color: #3F4452;
}
.he-side-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1E1F25;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.he-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.he-side-img-placeholder {
    color: #3F4452;
    width: 40px;
    height: 40px;
}
.he-side-img-placeholder svg {
    width: 100%;
    height: 100%;
}
.he-side-info {
    flex: 1;
    min-width: 0;
}
.he-side-label {
    font-size: 11px;
    font-weight: 700;
    color: #FF1F23;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.he-side-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.he-side-price {
    font-size: 18px;
    font-weight: 900;
    color: #FF1F23;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.he-side-price span {
    font-size: 13px;
    font-weight: 500;
    color: #8C8F9E;
    margin-left: 2px;
}
.he-side-specs {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.he-mini-spec {
    font-size: 11px;
    color: #6B7280;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 오른쪽 카드 버튼 */
.he-side-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    background-color: rgba(255, 62, 66, 0.12);
    color: #FF1F23;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 62, 66, 0.3);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.he-side-card:hover .he-side-btn {
    background-color: #FF1F23;
    color: #fff;
    border-color: #FF1F23;
}

/* Responsive */
@media (max-width: 1024px) {
    .he-layout { grid-template-columns: 1fr; }
    .he-title { font-size: 36px !important; }
    .high-end-sec { padding: 40px 0; }
    .he-feat-name { font-size: 24px !important; }
    .he-feat-price { font-size: 30px !important; }
    .he-feat-btn { font-size: 16px !important; padding: 14px 26px !important; }
    
    /* 화면 조금만 줄어들어도 바로 지저분한 리스트 숨김 처리 */
    .he-side-list { display: none !important; }
}
@media (max-width: 768px) {
    .he-title { font-size: 32px !important; }
    .high-end-sec { padding: 30px 0; }
    .he-feat-name { font-size: 20px !important; }
    .he-feat-price { font-size: 26px !important; }
}

@media (max-width: 480px) {
    .he-title { font-size: 24px; }
    .he-feat-overlay { padding: 16px; }
    .he-feat-body { padding: 16px; }
    .he-feat-specs { display: none; /* 대표 스펙 상세 표기 감춤 */ }
    .he-feat-btn { width: 100%; justify-content: center; }
}

.vp-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* Header */
.vp-header {
    margin-bottom: 30px;
}

.vp-badge {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.vp-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}

.vp-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vp-subtitle {
    font-size: 16px;
    color: #8C8F9E;
    margin: 0;
    font-weight: 500;
}

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

/* 카드 4~6번 숨김 (1줄만 표시) */
.vp-card:nth-child(n+4) {
    display: none;
}

/* Card */
.vp-card {
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.vp-card:hover {
    transform: translateY(-4px);
    border-color: #3F4452;
}

.vp-thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
}

.vp-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vp-thumb-wrap:hover .vp-thumb {
    transform: scale(1.05);
}

.vp-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: rgba(255, 62, 66, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: transform 0.2s, background-color 0.2s;
}

.vp-thumb-wrap:hover .vp-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #FF1F23;
}

.vp-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    /* visually center the triangle */
}

.vp-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vp-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: auto;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-red {
    color: #FF1F23;
}

.vp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1E2028;
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 14px;
}

.vp-spec-name {
    font-size: 13px;
    color: #8C8F9E;
}

.vp-spec-price {
    font-size: 18px;
    font-weight: 800;
    color: #FF1F23;
}

.vp-buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #FF1F23;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 0;
    text-decoration: none;
    border: 1px solid #FF1F23;
    transition: background-color 0.2s, color 0.2s;
}

.vp-buy-btn:hover {
    background-color: #E01015;
    color: #fff;
}

.vp-buy-btn-outline {
    background-color: transparent;
    color: #FF1F23;
}

.vp-buy-btn-outline:hover {
    background-color: rgba(255, 62, 66, 0.1);
    color: #FF1F23;
}

/* Responsive */
@media (max-width: 100%) {
    .vp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .vp-sec {
        padding: 30px 0;
    }

    .vp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vp-sec {
        padding: 30px 0;
    }

    .vp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .vp-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .vp-info {
        padding: 14px;
    }

    .vp-card-title {
        font-size: 13px;
        min-height: auto;
    }

    .vp-spec-price {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .vp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .vp-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .vp-info {
        padding: 10px !important;
    }

    .vp-card-title {
        font-size: 13px !important;
        min-height: 40px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }

    .vp-spec-row {
        margin-top: 8px !important;
        padding-top: 8px !important;
        margin-bottom: 8px !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .vp-spec-name {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .vp-spec-price {
        font-size: 14px !important;
        font-weight: bold !important;
    }

    .vp-buy-btn {
        padding: 8px 0 !important;
        font-size: 12px !important;
    }

    /* 모바일 요소 최소화: 2개만 노출 */
    .vp-card:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .vp-title {
        font-size: 24px;
    }

    .vp-spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .vp-spec-price {
        font-size: 20px;
    }
}
/* 3_5_delivery.css */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ============================================
   DELIVERY SECTION
   ============================================ */
.delivery-sec {
    padding: 80px 0;
    background-color: #090A10;
    font-family: 'Pretendard', sans-serif;
    color: #fff;
}

/* --- Header --- */
.delivery-header {
    text-align: left;
    margin-bottom: 48px;
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF1F23;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.delivery-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    flex-shrink: 0;
}

.delivery-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.delivery-title span {
    color: #FF1F23;
}

.delivery-subtitle {
    font-size: 15px;
    color: #6B6E7E;
    margin: 0;
    font-weight: 400;
}

/* --- Grid --- */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

/* --- Card --- */
.delivery-card {
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.delivery-card:hover {
    transform: translateY(-5px);
    border-color: #2E3040;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* --- Video (Shorts = 9:16) --- */
.delivery-video {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 */
    background-color: #0D0E14;
    overflow: hidden;
}

.delivery-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Card Content --- */
.delivery-card-content {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.delivery-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.delivery-card-desc {
    font-size: 13.5px;
    color: #6B6E7E;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* --- Features --- */
.delivery-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #A1A3B1;
    font-weight: 500;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background-color: #FF1F23;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .delivery-title {
        font-size: 32px;
    }

    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .delivery-sec {
        padding: 56px 0;
    }

    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-title {
        font-size: 26px;
    }

    .delivery-subtitle {
        font-size: 14px;
    }

    .delivery-card-title {
        font-size: 17px;
    }

    .delivery-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .delivery-sec {
        padding: 40px 0;
    }

    .delivery-title {
        font-size: 22px;
    }

    .delivery-header {
        margin-bottom: 32px;
    }

    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.recent-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* Header */
.gallery-header {
    margin-bottom: 50px;
}

.gallery-badge {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.gallery-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}

.gallery-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gallery-subtitle {
    font-size: 16px;
    color: #8C8F9E;
    margin: 0;
    font-weight: 500;
}

/* Split Layout */
.gallery-layout-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* Left Side: Gallery */
.gallery-left {
    display: flex;
    flex-direction: column;
}

.gallery-sub-heading {
    font-size: 24px;
    color: #fff;
    font-weight: 800;
    margin: 0 0 24px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.gallery-card {
    display: block;
    aspect-ratio: 4 / 3;
    background-color: #111;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #1E2028;
    transition: transform 0.2s, border-color 0.2s;
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: #FF1F23;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-more-link {
    text-align: right;
    margin-top: 8px;
}
.gallery-more-link a {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.gallery-more-link a:hover {
    opacity: 0.8;
}

/* Right Side: Reviews */
.gallery-right {
    display: flex;
    flex-direction: column;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.review-item:hover {
    border-color: #3F4452;
}

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

.review-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.review-author {
    color: #6B7280;
    font-size: 14px;
    margin-left: 12px;
    letter-spacing: 0;
}

.review-date {
    color: #6B7280;
    font-size: 13px;
}

.review-product {
    color: #FF1F23;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.review-content {
    color: #A0A5B5;
    font-size: 14px;
    line-height: 1.6;
}

.review-cert-badge {
    display: inline-block;
    background-color: #0E7490;
    color: #A5F3FC;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-layout-split {
        grid-template-columns: 1fr;
    }
    .gallery-title {
        font-size: 34px;
    }
    .recent-sec {
        padding: 30px 0;
    }
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-title {
        font-size: 26px !important;
        word-break: keep-all;
    }
    .gallery-sub-heading {
        font-size: 18px !important;
    }
    .gallery-right {
        display: none; /* 모바일 극강 최적화를 위해 리뷰 리스트 통째로 날림 */
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-title {
        font-size: 24px;
    }
}
.custom-pc-sec {
    padding: 80px 0 0 0;
    background-color: #07080E;
}

.cpc-header {
    text-align: center;
    margin-bottom: 50px;
}

.cpc-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
}

.cpc-subtitle {
    font-size: 1.1rem;
    color: #a1a1aa;
    margin: 0;
}

.cpc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cpc-card {
    position: relative;
    border: 1px solid #23262f;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    transition: transform 0.3s, border-color 0.3s;
    display: block;
    text-decoration: none;
}

.cpc-card:hover {
    transform: translateY(-4px);
    border-color: #52525b;
}

.cpc-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
}

.cpc-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cpc-card:hover .cpc-img {
    transform: scale(1.05);
}

.cpc-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    text-align: left;
    box-sizing: border-box;
}

.cpc-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.cpc-spec {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-bottom: 6px;
}

.cpc-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cpc-price-old {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: line-through;
}

.cpc-price-new {
    font-size: 1.2rem;
    font-weight: 800;
    color: #facc15;
}

/* Consult Banner */
.cpc-banner {
    background-color: #7b1320;
    border-radius: 8px;
    padding: 24px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.cpc-banner-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.cpc-banner-btn {
    background-color: #fff;
    color: #7b1320;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cpc-banner-btn:hover {
    background-color: #fce4e4;
}

/* Responsive */
@media (max-width: 1024px) {
    .cpc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cpc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cpc-title {
        font-size: 28px;
    }
    .cpc-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cpc-banner-btn {
        width: 100%;
    }
    .cpc-info {
        padding: 14px !important;
    }
    .cpc-name {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }
    .cpc-spec, .cpc-price-old {
        font-size: 12px !important;
    }
    .cpc-price-new {
        font-size: 18px !important;
    }
}
@media (max-width: 480px) {
    .cpc-grid {
        grid-template-columns: 1fr;
    }
    .cpc-card:nth-child(n+3) {
        display: none; /* 화면 축소 시 2개만 노출 */
    }
}
.reasons-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* ── Header (centered) ──────────────────────────────────────── */
.reasons-header-wrap {
    text-align: center;
    margin-bottom: 64px;
}

.reasons-badge {
    color: #FF1F23;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reasons-badge::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 10px;
}

.reasons-title {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.reasons-title span {
    color: #FF1F23;
}

/* ── 5-Column Grid ──────────────────────────────────────────── */
.reasons-5-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.reason-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #1C1E26;
    border: 1px solid #2A2D3A;
    border-radius: 24px;
    padding: 44px 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.reason-col:hover {
    transform: translateY(-10px);
    border-color: #FF1F23;
    background-color: #22242F;
    box-shadow: 0 24px 50px rgba(255, 62, 66, 0.12);
}

.reason-icon-bx {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-color: rgba(255, 62, 66, 0.12);
    color: #FF1F23;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.reason-icon-bx svg {
    width: 30px;
    height: 30px;
}

.reason-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
}

.reason-desc {
    font-size: 14px;
    color: #A1A1AA;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .reasons-sec {
        padding: 70px 0;
    }

    .reasons-title {
        font-size: 34px;
    }

    .reasons-5-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .reasons-sec {
        display: none !important;
        /* 모바일에서 완전히 삭제 (요소 최소화) */
    }
}

@media (max-width: 480px) {
    .reasons-title {
        font-size: 24px;
    }

    .reasons-5-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .reason-col {
        padding: 20px 10px;
        border-radius: 18px;
    }

    .reason-icon-bx {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .reason-name {
        font-size: 14px;
        margin-bottom: 0;
    }
}
.peri-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* Header */
.peri-header {
    margin-bottom: 50px;
}

.peri-badge {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.peri-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}

.peri-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.peri-subtitle {
    font-size: 15px;
    color: #8C8F9E;
    margin: 0;
    font-weight: 500;
}

/* Grid */
.peri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Card */
.peri-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.peri-card:hover {
    transform: translateY(-4px);
    border-color: #3F4452;
}

/* Image Area */
.peri-img-wrap {
    background-color: #1E1F25;
    overflow: hidden;
    height: 240px;
    position: relative;
}
.peri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}
.peri-card:hover .peri-img {
    transform: scale(1.07);
}

/* Info area */
.peri-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.peri-category {
    font-size: 12px;
    font-weight: 700;
    color: #FF1F23;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.peri-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.peri-spec {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.peri-discount-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #4ADE80;
    background-color: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 16px;
    width: fit-content;
}

.peri-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.peri-price {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}

.peri-btn {
    background-color: #FF1F23;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.peri-card:hover .peri-btn {
    background-color: #E01015;
}

/* Footer link */
.peri-footer-link {
    text-align: center;
    margin-top: 10px;
}
.peri-footer-link a {
    color: #FF1F23;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.peri-footer-link a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .peri-sec { padding: 60px 0; }
    .peri-grid { grid-template-columns: repeat(2, 1fr); }
    .peri-title { font-size: 32px !important; }
}
@media (max-width: 768px) {
    .peri-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .peri-title { font-size: 28px !important; }
    .peri-img-wrap { height: 200px; }
}
@media (max-width: 480px) {
    .peri-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .peri-img-wrap { height: 140px; }
    .peri-info { padding: 12px !important; }
    .peri-name { font-size: 15px !important; margin-bottom: 6px !important; line-height: 1.4 !important; }
    .peri-price { font-size: 18px !important; }
    .peri-btn { display: none !important; /* 작은 화면에서 버튼 숨기고 전체 클릭 유도 */ }
    
    /* 모바일 요소 수 제한: 4개만 노출 */
    .peri-card:nth-child(n+5) {
        display: none;
    }
}

.yt-facade{cursor:pointer;position:relative;overflow:hidden;background:#000}
.yt-facade img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s}
.yt-facade:hover img{opacity:.85}
.yt-facade-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.lazy-section{opacity:0;transform:translateY(20px);transition:opacity .4s ease,transform .4s ease}
.lazy-section.visible{opacity:1;transform:none}
