/* [pliki 테마] 메인페이지 전용 */

/* ① 히어로 슬라이더 — 풀폭, 데스크탑 460px 내외 */
.pk-hero { position: relative; overflow: hidden; background: #10241c; }
.pk-hero .swiper-slide a { display: block; }
.pk-hero .swiper-slide img {
    width: 100%; height: 460px; object-fit: cover; display: block;
}
.pk-hero .swiper-pagination-bullet { background: #fff; opacity: .45; }
.pk-hero .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }
.pk-hero-prev, .pk-hero-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    font-size: 40px; color: #fff; opacity: .75; padding: 20px;
}
.pk-hero-prev { left: 14px; } .pk-hero-next { right: 14px; }
.pk-hero-prev:hover, .pk-hero-next:hover { opacity: 1; }

/* ② 퀵메뉴 */
.pk-quick { padding: 34px 0 6px; }
.pk-quick-list {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 14px;
    max-width: 1240px; margin: 0 auto;
}
.pk-quick-list a { display: block; text-align: center; }
.pk-quick-img {
    display: block; aspect-ratio: 16/7; border-radius: 12px; overflow: hidden;
    background: var(--bg-soft); margin-bottom: 10px;
}
.pk-quick-img img { width: 100%; height: 100%; object-fit: cover; }
.pk-quick-ico { display: flex; align-items: center; justify-content: center; font-size: 26px; color: #333; }
.pk-quick-list em { font-style: normal; font-size: 14px; font-weight: 600; color: #222; }

/* ③ For You 2단 박스 */
.pk-foryou { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pk-foryou-box {
    border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 20px;
}
.pk-foryou-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.pk-foryou-box h3 em { font-style: normal; color: var(--red); }
.pk-grid-3f { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
.pk-foryou-box .pk-card-name { min-height: auto; -webkit-line-clamp: 1; }
.pk-foryou-box .pk-card-market, .pk-foryou-box .pk-card-badges, .pk-foryou-box .pk-card-buynow { display: none; }
.pk-foryou-box .pk-card-price { font-size: 14px; }
.pk-foryou-more {
    display: block; text-align: center; margin-top: 18px; padding: 11px 0;
    border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; color: #444;
}
.pk-foryou-more:hover { border-color: #999; }

/* ④ 타임세일 */
.pk-timesale { margin: 44px 0 0; background: var(--bg-soft); }
.pk-timesale img { width: 100%; max-height: 340px; object-fit: cover; display: block; }

/* ⑤ MD PICK 슬라이드 */
.pk-mdpick { overflow: hidden; }

/* ⑥ 띠배너 */
.pk-strip { display: grid; gap: 14px; margin-top: 44px; }
.pk-strip a { border-radius: 14px; overflow: hidden; display: block; }
.pk-strip img { width: 100%; display: block; }
.pk-strip:has(a + a) { grid-template-columns: 1fr 1fr; }

/* 반응형 */
@media (max-width: 1024px) {
    .pk-hero .swiper-slide img { height: 380px; }
    .pk-quick-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    /* 모바일: 배너 원본 비율 유지 (좌우 크롭으로 카피가 잘리지 않게) */
    .pk-hero .swiper-slide img { height: auto; aspect-ratio: auto; }
    .pk-hero-prev, .pk-hero-next { display: none; }
    .pk-quick { padding: 22px 0 0; }
    .pk-quick-list { grid-template-columns: repeat(5, 1fr); gap: 14px 8px; }
    .pk-quick-img { aspect-ratio: 1; border-radius: 50%; width: 56px; margin: 0 auto 8px; }
    .pk-quick-ico { font-size: 20px; }
    .pk-quick-list em { font-size: 12px; }
    .pk-foryou { grid-template-columns: 1fr; }
    .pk-grid-3f { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
    .pk-timesale { margin-top: 32px; }
    .pk-strip { grid-template-columns: 1fr !important; margin-top: 32px; }
}
