/* 풀렌탈 패키지 안내 페이지 전용 CSS - v1.1.4 */

.frp-section {
    --frp-ink: #0f172a;
    --frp-ink-soft: #334155;
    --frp-line: rgba(15, 23, 42, 0.12);
    --frp-line-strong: rgba(15, 23, 42, 0.2);
    --frp-surface: #ffffff;
    --frp-surface-2: #f1f5f9;
    --frp-accent: #7c3aed;
    --frp-accent-mid: #9333ea;
    --frp-accent-bg: rgba(147, 51, 234, 0.14);
    --frp-used: #c2410c;
    --frp-used-bg: #ffedd5;
    --frp-new-fg: #ffffff;
    --frp-new-bg: #2563eb;
    --frp-title-sub: #4f46e5;
    --frp-hero-em: #db2777;
    --frp-hero-em-fg: #ffffff;
    padding: 80px 0 104px;
    background:
        radial-gradient(100% 70% at 20% 0%, rgba(251, 146, 60, 0.09), transparent 50%),
        radial-gradient(90% 60% at 80% 10%, rgba(147, 51, 234, 0.08), transparent 50%),
        radial-gradient(80% 50% at 50% 100%, rgba(37, 99, 235, 0.06), transparent 45%),
        linear-gradient(180deg, #fffefb 0%, #f0f4ff 45%, #fafafa 100%);
    min-height: 70vh;
}

.frp-section .container {
    max-width: 1280px;
}

/* 상단 헤더 섹션 - 와이드·세련된 디자인 (테두리·쉐도우 없음) */
.frp-header {
    max-width: 1100px;
    margin: 0 auto 64px;
    text-align: center;
    padding: 0;
}

.frp-header-badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #86198f;
    background: linear-gradient(180deg, #fdf4ff 0%, #fae8ff 100%);
    padding: 12px 24px;
    border-radius: 100px;
    border: 2px solid #e879f9;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(192, 38, 211, 0.15);
}

/* 메인 타이틀 직전: 중고 / 신품 뱃지 (full-rental-package.php · full-rental-package2.php 공통) */
.frp-main-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin: 0 0 14px;
}

.frp-main-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 9px 17px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    border-radius: 8px;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
}

.frp-main-badge--used {
    color: var(--frp-used);
    background: var(--frp-used-bg);
    border: 1px solid #fdba74;
}

.frp-main-badge--new {
    color: var(--frp-new-fg);
    background: linear-gradient(180deg, #3b82f6 0%, var(--frp-new-bg) 100%);
    border: 1px solid #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.frp-main-badge-sep {
    font-size: 13px;
    font-weight: 400;
    color: var(--frp-line-strong);
    line-height: 1;
    user-select: none;
    opacity: 0.9;
}

/* h1 안: 듀얼 칩 — 본문 첫 줄과 비슷한 체급(약 25px) */
.frp-main-title .frp-main-badges--in-title {
    margin: 0;
    flex-shrink: 0;
    padding: 6px;
    gap: 6px;
    align-items: center;
    border-radius: 100px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.frp-main-title .frp-main-badges--in-title .frp-main-badge {
    min-width: 0;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.frp-main-title .frp-main-badges--in-title .frp-main-badge--used {
    color: #9a3412;
    background: linear-gradient(180deg, #fffbeb 0%, #fed7aa 100%);
    border: 1px solid #fb923c;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

.frp-main-title .frp-main-badges--in-title .frp-main-badge--new {
    color: #ffffff;
    background: linear-gradient(180deg, #60a5fa 0%, var(--frp-new-bg) 100%);
    border: 1px solid #1e40af;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.frp-main-title .frp-main-badges--in-title .frp-main-badge-sep {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 6px;
    height: 6px;
    margin: 0 8px;
    padding: 0;
    font-size: 0;
    color: transparent;
    background: #64748b;
    border-radius: 50%;
    opacity: 0.85;
    overflow: hidden;
}

@media (max-width: 480px) {
    .frp-main-badge {
        padding: 8px 13px;
        font-size: 14px;
    }

    .frp-main-title .frp-main-badges--in-title {
        padding: 4px;
        gap: 4px;
    }

    .frp-main-title .frp-main-badges--in-title .frp-main-badge {
        padding: 8px 14px;
        font-size: clamp(15px, 4.5vw, 22px);
    }

    .frp-main-title .frp-main-badges--in-title .frp-main-badge-sep {
        width: 5px;
        height: 5px;
        margin: 0 5px;
    }
}

/* h1 안 첫 줄: 중고·신품 뱃지 + 첫 번째 제목 문장을 한 줄(줄바꿈 시 래핑)로 */
.frp-main-title-row1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 22px;
    margin-bottom: 0.16em;
    text-align: center;
}

.frp-main-title-row1 .frp-main-title-line1 {
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    line-height: 1.2;
    text-align: center;
}

.frp-main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(38px, 5.9vw, 60px);
    font-weight: 800;
    color: var(--frp-ink);
    margin: 0 0 28px;
    line-height: 1.14;
    letter-spacing: -0.044em;
}

.frp-main-title .frp-main-title-line2 {
    display: block;
    width: 100%;
    text-align: center;
    font-size: inherit;
    font-weight: 700;
    color: var(--frp-title-sub);
    letter-spacing: -0.038em;
    line-height: 1.2;
}

.frp-header-accent {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #a855f7, #2563eb);
    border-radius: 99px;
    margin: 0 auto 36px;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.35);
}

.frp-subtitle {
    font-size: clamp(21px, 2.7vw, 26px);
    font-weight: 600;
    color: var(--frp-ink-soft);
    margin: 0 0 20px;
    line-height: 1.6;
}

.frp-description {
    font-size: 18px;
    color: var(--frp-ink-soft);
    line-height: 1.8;
    margin: 0 0 32px;
}

/* 메인 헤더 아래 카피 블록 (한글 헤드라인 + 서브 카피) */
.frp-hero-message {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 40px 44px 34px;
    border-radius: 22px;
    background: linear-gradient(165deg, #ffffff 0%, #faf5ff 55%, #eff6ff 100%);
    border: 2px solid #ddd6fe;
    box-shadow:
        0 1px 3px rgba(99, 102, 241, 0.08),
        0 24px 56px -12px rgba(79, 70, 229, 0.2);
}

.frp-hero-headline {
    margin: 0 0 20px;
    font-size: clamp(24px, 3.35vw, 32px);
    font-weight: 700;
    letter-spacing: -0.034em;
    line-height: 1.35;
    color: #6d28d9;
}

@media (min-width: 1100px) {
    .frp-hero-headline {
        white-space: nowrap;
        font-size: clamp(26px, 2.2vw, 30px);
    }
}

.frp-hero-tagline {
    margin: 0;
    font-size: clamp(19px, 2.45vw, 22px);
    font-weight: 600;
    color: #0f766e;
    line-height: 1.65;
    letter-spacing: -0.018em;
}

.frp-hero-products-badge {
    display: inline;
    margin: 0 2px;
    padding: 4px 12px 5px;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--frp-hero-em-fg);
    background: linear-gradient(180deg, #f472b6 0%, var(--frp-hero-em) 100%);
    border: 1px solid #9d174d;
    border-radius: 8px;
    vertical-align: baseline;
    box-shadow: 0 3px 12px rgba(219, 39, 119, 0.35);
    white-space: normal;
    line-height: 1.6;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 576px) {
    .frp-hero-message {
        padding: 26px 20px 22px;
    }

    .frp-hero-products-badge {
        display: inline;
        padding: 4px 10px;
    }
}

/* 포인트 영역 - 특별한 카드형 디자인 */
.frp-header-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.frp-point-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 26px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #fce7f3 100%);
    border: 2px solid #fdba74;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.frp-point-item:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
    transform: translateY(-2px);
}

.frp-point-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ea580c, #db2777);
    color: #fff;
    border-radius: 12px;
    font-size: 21px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35);
}

.frp-point-text {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}

/* 패키지 선택 블록 - 하나의 섹션으로 */
.frp-package-block {
    background: var(--frp-surface);
    border-radius: 20px;
    padding: 44px 36px 52px;
    box-shadow:
        0 1px 2px rgba(12, 18, 34, 0.04),
        0 20px 40px -16px rgba(12, 18, 34, 0.1);
    border: 1px solid var(--frp-line);
}

.frp-block-title {
    font-size: clamp(24px, 2.85vw, 30px);
    font-weight: 700;
    color: #5b21b6;
    margin: 0 0 10px;
    text-align: center;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.frp-block-desc {
    font-size: 17px;
    color: #475569;
    text-align: center;
    line-height: 1.65;
    max-width: 100%;
    margin: 0 auto 40px;
    word-break: keep-all;
}

/* 패키지 블록: 넓은 뷰포트에서 제목·안내 문구 한 줄 (짧은 화면에서는 자동 줄바꿈) */
@media (min-width: 1100px) {
    .frp-package-block .frp-block-title,
    .frp-package-block .frp-block-desc {
        white-space: nowrap;
    }
}

.frp-cards-row {
    max-width: 1100px;
    margin: 0 auto;
}

.frp-card {
    display: block;
    border: 1px solid var(--frp-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
    background: var(--frp-surface);
}

.frp-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 24px 48px -14px rgba(37, 99, 235, 0.2);
    transform: translateY(-3px);
}

.frp-card-title {
    padding: 20px 20px 18px;
    font-size: 20px;
    font-weight: 600;
    color: var(--frp-ink);
    letter-spacing: -0.025em;
    background: var(--frp-surface);
    border-bottom: 1px solid var(--frp-line);
    text-align: center;
}

.frp-card-image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--frp-surface-2);
    overflow: hidden;
}

.frp-card-go-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--frp-accent-mid);
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(12, 18, 34, 0.1);
    border: 1px solid var(--frp-line);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.frp-card:hover .frp-card-go-icon {
    background: var(--frp-accent-mid);
    color: #fff;
    border-color: transparent;
    transform: scale(1.06);
}

.frp-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.frp-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.frp-empty-msg {
    font-size: 16px;
}

/* 패키지 카테고리 상세 페이지 */
.frp-category-image-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.frp-category-image {
    width: 100%;
    height: auto;
    display: block;
}

.frp-products-section {
    margin-top: 40px;
}

@media (max-width: 767px) {
    .frp-section {
        padding: 40px 0 60px;
    }
    .frp-header {
        margin-bottom: 40px;
        padding: 40px 24px 32px;
    }
    .frp-header-points {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .frp-package-block {
        padding: 28px 20px 36px;
    }
    .frp-block-desc {
        margin-bottom: 28px;
    }
}
