@charset "utf-8";
/* shop/qc.php + 메인 스트립 — 실시간 검수 공통 UI */

.pk-page:has(.shop-qc) > .pk-inner > .pk-page__title { display: none; }

.shop-qc {
    min-width: 0;
    max-width: 100%;
    padding-bottom: 24px;
}

.shop-qc__head {
    max-width: 720px;
    margin: 0 0 30px;
}

.shop-qc__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #9b7440;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.shop-qc__count {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #f4efe7;
    color: #7d6138;
    font-size: 10px;
    letter-spacing: 0;
}

.shop-qc__kicker {
    margin: 0;
    color: #111;
    font-size: clamp(28px, 6.8vw, 38px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.18;
}

.shop-qc__sub {
    margin: 12px 0 0;
    color: #6f6f6f;
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
}

.shop-qc__sub-break { display: none; }

.shop-qc__guide {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.shop-qc__guide li {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e9e5de;
    border-radius: 999px;
    background: #fff;
    color: #65615a;
    font-size: 11px;
    font-weight: 650;
}

.shop-qc__guide li::before {
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: #b68a4a;
    content: "";
}

.shop-qc__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-qc__item { min-width: 0; }

.shop-qc__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #222;
    outline: none;
}

a.shop-qc__card:hover { color: #222; }
a.shop-qc__card:focus-visible .shop-qc__media {
    outline: 3px solid rgba(182, 138, 74, .28);
    outline-offset: 3px;
}

.shop-qc__media {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f2f1ee;
    box-shadow: 0 1px 0 rgba(17, 17, 17, .04);
    isolation: isolate;
}

.shop-qc__media img,
.shop-qc__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.shop-qc__media video {
    background: #111;
    pointer-events: none;
}

.shop-qc__fallback[hidden] { display: none !important; }

.shop-qc__media-empty {
    padding: 20px;
    color: #99948c;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.shop-qc__media-badge {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 2;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(10, 10, 10, .72);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    backdrop-filter: blur(6px);
}

.shop-qc__play {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}

.shop-qc__meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 10px 2px 0;
}

.shop-qc__brand {
    overflow: hidden;
    color: #8b6736;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.35;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.shop-qc__name {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.018em;
    line-height: 1.45;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-qc__date {
    display: block;
    margin-top: 4px;
    color: rgba(34, 34, 34, .5);
    font-size: 11px;
    line-height: 1.4;
}

.shop-qc__empty {
    margin: 0;
    padding: 72px 12px;
    border: 1px solid #ece9e3;
    border-radius: 14px;
    background: #faf9f7;
    color: #767676;
    font-size: 13px;
    text-align: center;
}

@media (hover: hover) {
    a.shop-qc__card:hover .shop-qc__media img,
    a.shop-qc__card:hover .shop-qc__media video { transform: scale(1.025); }
    a.shop-qc__card:hover .shop-qc__name { color: #000; }
}

@media (min-width: 768px) {
    .shop-qc { padding-bottom: 48px; }
    .shop-qc__head { margin-bottom: 42px; }
    .shop-qc__eyebrow { margin-bottom: 13px; font-size: 11px; }
    .shop-qc__sub { margin-top: 14px; font-size: 14px; }
    .shop-qc__sub-break { display: block; }
    .shop-qc__guide { margin-top: 20px; }
    .shop-qc__guide li { min-height: 30px; padding: 0 12px; font-size: 12px; }
    .shop-qc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 14px; }
    .shop-qc__media { border-radius: 14px; }
    .shop-qc__meta { padding-top: 12px; }
    .shop-qc__brand { font-size: 11px; }
    .shop-qc__name { font-size: 14px; }
}

@media (min-width: 1080px) {
    .shop-qc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 16px; }
}

/* 메인 가로 스트립 — 최근 8건. 비면 PHP가 섹션 자체를 숨긴다. */
.shop-qc-strip { min-width: 0; }
.shop-qc-strip__view {
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: -16px;
    padding-right: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.shop-qc-strip__view::-webkit-scrollbar { display: none; height: 0; }
.shop-qc-strip__track { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shop-qc-strip__item { flex: 0 0 auto; width: min(154px, 42vw); min-width: 0; }
.shop-qc-strip .shop-qc__card { width: 100%; }
.shop-qc-strip .shop-qc__media { border-radius: 10px; }

@media (min-width: 768px) {
    .shop-qc-strip__view { margin-right: 0; padding-right: 0; }
    .shop-qc-strip__item { width: 158px; }
}

@media (prefers-reduced-motion: reduce) {
    .shop-qc__media img,
    .shop-qc__media video { transition: none; }
}
