/* =========================
  Base
========================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.promo-body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Pretendard", "Noto Sans KR", sans-serif;
    background: #ffffff;
    color: #222;
}

.promotion { width: 100%; }

.section { padding: 32px 0; }

.container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.stack-lg { display: grid; gap: 18px; }

.section-head { margin-bottom: 18px; }
.section-head.compact { margin-bottom: 14px; }

.kicker {
    margin: 0 0 8px;
    font-size: 14px;
    color: #6b6b6b;
}

.title {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.3px;
}

.desc {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0;
}

/* =========================
  Section1 - Logo
========================= */
.section1 { padding: 28px 0 18px; }

.promo-logo {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-logo img {
    height: 10rem;
    width: auto;
    object-fit: contain;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* =========================
  Section2 - Hero Banner
========================= */
.section2 { padding-top: 10px; }

.hero-banner {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}

.hero-img { width: 100%; height: auto; }

/* =========================
  Common image-card
========================= */
.image-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}

/* =========================
  SECTION3 - Capture Layout (FINAL)
========================= */
.section3 {
    padding: 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* ===== (1) 캡처 배경 + 텍스트 오버레이 ===== */
.s3-hero { background: #fff; padding: 20px 0 0; }

.s3-hero-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.s3-bg {
    width: 100%;
    height: auto;
    display: block;
}

.s3-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 두번째 캡처처럼 배치(값은 미세조정 가능) */
.s3-headline {
    left: 12%;
    top: 64%;
    transform: translateY(-50%);
    max-width: 55%;
    position: absolute;
}

.s3-date {
    right: 12%;
    top: 69%;
    transform: translateY(-50%);
    position: absolute;
    text-align: right;
}

.s3-pill {
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    position: absolute;
}

.s3-h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.2vw, 56px);
    font-weight: 900;
    letter-spacing: -1px;
    color: #1f1a1c;
    line-height: 1.08;
}

.s3-h2-accent { color: #4b1f3f; }

.s3-sub {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 18px);
    color: #2a2225;
    font-weight: 600;
    line-height: 1.5;
}

.s3-date-text {
    font-size: clamp(12px, 1.1vw, 18px);
    font-weight: 900;
    color: #1f1a1c;
    letter-spacing: -0.2px;
}

/* 보라색 띠 */
.s3-pill {
    color: #fff;
    font-weight: 900;
    font-size: clamp(16px, 1.2vw, 25px);
    padding: 12px 34px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ===== (2) 상품 리스트 ===== */
.product-list { padding: 24px 0 34px; }

.product-row {
    display: grid;
    grid-template-columns: 1.4fr 280px 1fr;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e7e7e7;
}
.product-row:last-child { border-bottom: 0; }

.p-left .p-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.p-left .p-name {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: #3b1f33;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.p-qty {
    font-size: 24px;
    font-weight: 700;
    color: #7c6f75;
}

.p-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #b31319;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.p-mid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-mid img {
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.p-right { text-align: right; }

.p-label {
    font-weight: 900;
    color: #2a1b23;
    margin-bottom: 10px;
}

.p-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.p-origin {
    color: #9a9a9a;
    text-decoration: line-through;
    font-weight: 700;
}

.p-discount {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #b31319;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}

.p-final {
    font-size: 28px;
    font-weight: 900;
    color: #3b1f33;
    letter-spacing: -0.8px;
}

/* =========================
  Section5 - Profile layout
========================= */
.section5 { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

.profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 22px;
    align-items: start;
    margin-top: 18px;
}

.profile-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fafafa;
}

.profile-media img { width: 100%; height: auto; }

.profile-content { min-width: 0; }

.quote {
    margin: 0 0 14px;
    padding: 14px 16px;
    background: #fbf7f9;
    border: 1px solid #f1e6ec;
    border-radius: 16px;
}

.quote p {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #2b1d25;
    letter-spacing: -0.2px;
}

.quote span { color: #777; font-size: 13px; }

.bullet {
    margin: 0 0 16px;
    padding-left: 18px;
    color: #333;
}

.bullet li {
    margin: 7px 0;
    line-height: 1.5;
    color: #444;
}

.promise {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.promise-title {
    margin: 0 0 30px;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.promise-card {
    border-radius: 16px;
    border: 1px solid #eee;
    background: #faf8f8;
    padding: 16px;
}

.promise-card .num {
    font-weight: 900;
    color: #4b1f3f;
    margin-bottom: 8px;
}

.promise-card h4 { margin: 0 0 8px; font-size: 16px; }
.promise-card p { margin: 0; color: #555; font-size: 14px; line-height: 1.6; }

/* =========================
  Section6 - Footer banner (Capture Layout)
========================= */
.section6 {
    padding: 46px 0;
    position: relative;
}

/* 필요하면 배경 이미지 여기에 */
.section6::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: 0;
}

.footer-banner { position: relative; z-index: 1; }

.biz-box {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 34px;
    border-radius: 24px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(238,238,238,0.9);
    backdrop-filter: blur(6px);
}

/* 3열 레이아웃 */
.biz-grid {
    display: grid;
    grid-template-columns: 360px 1fr 420px; /* 오른쪽 영역 넓혀 2열 버튼 배치 여유 */
    gap: 26px;
    align-items: center;
}

/* 왼쪽 로고 */
.biz-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 가운데 정보 */
.biz-info {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.biz-info li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: baseline;
    font-size: 16px;
    line-height: 1.25;
}

.biz-info span { color: #777; font-weight: 800; }
.biz-info b { color: #222; font-weight: 900; }

/* 오른쪽 버튼 영역 */
.biz-right {
    display: flex;
    justify-content: flex-end;
}

.social {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 14px;
    align-content: center;
    align-items: center;
}


/* 버튼 공통 */
.social-btn {
    width: 200px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e9dde5;
    background: #fff;
    font-weight: 900;
    font-size: 14px;
    color: #4b1f3f;
    white-space: nowrap;
}

.social-btn:nth-child(1),
.social-btn:nth-child(2) {
    grid-column: 1;
    justify-self: start;
}

.social-ico {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.social-btn:nth-child(1),
.social-btn:nth-child(2) {
    grid-column: 1;
    justify-self: start;
}

.social-btn:nth-child(3),
.social-btn:nth-child(4),
.social-btn:nth-child(5) {
    grid-column: 2;
    justify-self: end;
}

.social-btn:nth-child(1) { margin-top: 18px; }
.social-btn:nth-child(2) { margin-top: 0; }

/* 반응형: 태블릿 */
@media (max-width: 1024px) {
    .biz-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .biz-left { justify-content: center; }
    .biz-right { justify-content: center; }

    .social {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }

    .social-btn {
        width: min(320px, 100%);
        justify-self: center !important;
        grid-column: auto !important; /* 태블릿에서는 자연 흐름 */
    }
}

/* 반응형: 모바일 */
@media (max-width: 480px) {
    .biz-box {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .biz-info li {
        grid-template-columns: 64px 1fr;
        font-size: 14px;
        gap: 12px;
    }

    .social {
        grid-template-columns: 1fr; /* 모바일은 1열 */
    }

    .social-btn {
        width: min(320px, 100%);
    }
}

/* =========================
  Responsive (기존 유지)
========================= */
@media (max-width: 980px) {
    .deal-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .deal-right { justify-content: flex-start; }
    .price-box { text-align: left; }
    .deal-mid { justify-content: flex-start; }
    .deal-thumb { width: 220px; }

    .profile-grid { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .title { font-size: 20px; }
    .deal-title { font-size: 16px; }
    .price-final { font-size: 20px; }
    .biz-info li { grid-template-columns: 74px 1fr; }
}
