/* 샵 화면 CSS — product 영역
 * 화면: cart, checkout, order_complete, product_view, search, theme.list, theme.view
 * :where(.pg-화면이름) 이 붙은 규칙은 그 화면에만 적용된다(우선순위는 그대로). 규칙: public/css/shop/README.md */


/* ───────── product_view ───────── */
/* resources/views/shop/product_view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.view_container { margin: 0 auto; max-width: 1200px; width: 100%; display: flex; align-content: space-around; flex-wrap: wrap; }
.view_container .detail { position: relative; width:700px; flex: 1 1 auto; min-width: 0; }
.view_container .detail img { max-width: 100%; }
.view_container .tab ul { padding: 0; margin: 0; display: table; width: 100%; height: 50px; border-top: 2px solid #d9d9d9;border-bottom: 2px solid #d9d9d9; }
.view_container .tab li { display: table-cell; width: 10%; padding:0;text-align: center; cursor: pointer; }
.view_container .tab li.on { background: #333333; color: #fff; }
.view_container .tab { margin-top: 30px; position: sticky; top:80px;background: #fff; z-index: 100; }
.view_container h3 { padding: 20px 0 5px; font-size: 22px; font-weight: 700; }
.view_container .schedule .box { display: table; margin-top: 5px; width: 100%; height: 70px; border: 1px solid #D9D9D9; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.view_container .schedule .day { display:table-cell; width: 80px; text-align: center; }
.view_container .schedule .tour_name { display: table-cell; font-size: 18px; font-weight: bold; background: url('/images/main/arrow-down.png') 97% 50% no-repeat; }
.view_container .schedule .tour_name .summary { font-size: 14px; font-weight: normal; }
.view_container .schedule .on .tour_name { background: url('/images/main/arrow-up.png') 97% 50% no-repeat; }
.view_container .schedule .det { max-height: 80px; overflow: hidden; position: relative; transition: max-height 0.3s ease; }
.view_container .schedule .det::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(transparent, white); pointer-events: none; transition: opacity 0.3s ease; }
.view_container .schedule .on + .det { max-height: none; }
.view_container .schedule .on + .det::after { opacity: 0; }
.view_container .price_area { width: 300px; min-width: 280px; padding-left: 20px; flex-shrink: 0; }
.view_container .people { position: sticky; top:100px; padding: 14px; background:#fff; border:1px solid #d9d9d9; border-radius: 8px; margin-top: 20px; }
.view_container .people h3 { padding: 0 0 12px; margin: 0; font-size: 18px; border-bottom: 1px solid #eee; }
.view_container .people .btn_reservation { display:block; width: 100%; padding: 13px 0; background:var(--gm-primary); color: #fff; font-size: 16px; font-weight:700; text-align:center; border-radius:6px; margin-top:14px; text-decoration:none; }
/* 인원 행 */
.pax-row { display:flex; justify-content:space-between; align-items:center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.pax-name { font-size:15px; font-weight:700; }
.pax-standard { font-size:16px; color:#555; margin-top:2px; }
.pax-price { font-size:14px; color:#222; margin-top:4px; line-height:1.6; font-weight:600; }
.pax-counter { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.pax-counter .btn-minus,
.pax-counter .btn-plus { width:28px; height:28px; border:1px solid #ccc; background:#fff; border-radius:50%; font-size:16px; line-height:1; cursor:pointer; }
.pax-counter .btn-minus:hover,
.pax-counter .btn-plus:hover { background:var(--gm-primary); color:#fff; border-color:var(--gm-primary); }
.pax-num { font-size:16px; font-weight:700; min-width:20px; text-align:center; }
/* 합계 */
.total-area { margin-top:14px; padding:12px; background:#f8f9fa; border-radius:6px; }
.total-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; color:#333; margin-bottom:6px; font-weight:600; }
.total-row strong { font-size:17px; color:#222; padding-right:6px; }
.total-note { font-size:14px; color:#777; margin-top:6px; }
/* 원화 환산 합계 — 계약금/잔금과 구분선으로 분리, 총액만 청록 강조 */
.total-krw { border-top:1px solid #e3e6e8; margin-top:10px; padding-top:10px; }
.total-krw strong { font-size:19px; color:var(--gm-primary-dark); }
.total-per { font-size:13px; font-weight:500; color:#666; margin-bottom:0; }
.total-per strong { font-size:14px; color:#666; }
/* 버튼 */
.btn_area { display:flex; flex-direction:column; margin-top:14px; }
.btn-cart {
 display:block; width:100%; padding:13px 0; background:#fff; color:#0e8fc4;
                    font-size:15px; font-weight:700; border:2px solid var(--gm-primary); border-radius:6px; cursor:pointer;
}
.btn-cart:hover { background:#0e8fc4; color:#fff; border-color:#0e8fc4; }
.btn-cart-ico { height:18px; width:auto; vertical-align:-4px; margin-right:3px; }
/* 사이드 CTA: 상담하기 · 간편견적 */
.pv-side-cta { display:flex; gap:8px; margin-top:8px; }
.pv-side-btn {
 flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px;
                       padding:12px 0; border-radius:6px; font-size:14px; font-weight:700;
                       text-decoration:none; cursor:pointer; transition:background .15s, opacity .15s;
}
.pv-side-kakao { background:#FEE500; color:#3C1E1E; }
.pv-side-kakao:hover { background:#f5dc00; }
.pv-side-estimate { background:var(--gm-primary); color:#fff; }
.pv-side-estimate:hover { background:var(--gm-primary-dark); }
/* 요금 0원 → '별도문의' 표시 */
.price-inquiry { color:#e05252; font-weight:700; }
/* 기간 할인가: 기본요금 빗금 + 할인가 강조 */
:where(.pg-checkout, .pg-product_view) .price-orig { color: var(--gm-text-muted,#6e6e6e); text-decoration:line-through; font-weight:500; margin-right:5px; }
:where(.pg-checkout, .pg-product_view) .price-sale { color:#e05252; font-weight:700; }
/* 기간 할인 라벨 */
:where(.pg-product_view) .promo-badge {
 position:relative; display:inline-block; background:#fdecec; color:#e05252; border:1px solid #f5c2c2;
            font-size:12px; font-weight:700; padding:3px 8px; border-radius:4px; margin-bottom:8px; cursor:pointer;
}

/* ───────── cart ───────── */
/* resources/views/shop/cart.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.cart-price .price-orig,
.cart-total-row .price-orig { color: var(--gm-text-muted,#6e6e6e); text-decoration:line-through; font-weight:500; margin-right:5px; }
.cart-price .price-sale,
.cart-total-row .price-sale { color:#e05252; font-weight:700; }
:where(.pg-cart, .pg-checkout) .promo-badge {
 position:relative; display:inline-block; background:#fdecec; color:#e05252; border:1px solid #f5c2c2;
        font-size:11px; font-weight:700; padding:2px 7px; border-radius:4px; margin-top:4px; cursor:pointer;
}

/* ───────── product_view ───────── */
/* 예약/여행 기간 툴팁 (hover 또는 클릭 시) */
.promo-badge[data-tip]:hover::after,
.promo-badge.show[data-tip]::after {
            content: attr(data-tip); position:absolute; left:0; top:100%; margin-top:5px;
            white-space:pre-line; background:#333; color:#fff; font-size:11px; font-weight:400; line-height:1.5;
            padding:7px 10px; border-radius:6px; min-width:210px; z-index:60; box-shadow:0 3px 10px rgba(0,0,0,.25);
}
.btn-fav { width:50px; background:#fff; border:2px solid #ddd; border-radius:6px; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; transition:all .2s; padding:4px 0; }
.btn-fav .fav-icon { font-size:22px; color:#ccc; line-height:1; }
.btn-fav .fav-count { font-size:10px; color: var(--gm-text-sub,#555); line-height:1; margin-top:1px; }
.btn-fav:hover { border-color:#ff6b81; }
.btn-fav:hover .fav-icon { color:#ff6b81; }
.btn-fav.on { border-color:#ff6b81; background:#fff5f6; }
.btn-fav.on .fav-icon { color:#ff4757; }
.btn_reservation {
 display:block; width:100%; padding:13px 0; background:var(--gm-primary); color:#fff;
                           font-size:15px; font-weight:700; text-align:center; border-radius:6px; text-decoration:none;
}
.product_image { position: relative; width: 1200px !important; max-width: 100% !important; margin: 0 auto; height: 600px; overflow: hidden !important; }
.product_image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper-button-next,
.swiper-button-prev { color: #fff; }
/* 상단 이미지 썸네일 네비게이션 (PC, 이미지 2장 이상일 때) */
.product_thumbs { width: 1200px; max-width: 100%; margin: 10px auto 0; }
.product_thumbs .swiper-slide { width: 110px; height: 66px; opacity: .5; cursor: pointer; border: 2px solid transparent; border-radius: 6px; overflow: hidden; transition: opacity .2s, border-color .2s; }
.product_thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product_thumbs .swiper-slide-thumb-active { opacity: 1; border-color: #0e8aa8; }
.view_container .detail .tit { border-bottom: 1px solid #d9d9d9; padding:10px 0 10px; margin-bottom: 10px; }
.view_container .detail .tit h1 { font-size: 22px; font-weight: 700; }
.view_container .detail .tit .region { font-size: 14px; padding: 14px 0;display:none; }
.view_container .detail .tit .intro { font-size: 16px; padding-bottom: 8px; }
.view_container .point { padding-bottom: 25px; border-bottom: 1px solid #d9d9d9; }
.view_container .point .list { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0; }
.view_container .point .list li { display: flex; width: 49%; margin-top: 5px; padding: 5px 10px 5px 5px; border-radius: 5px; justify-content: space-between; background: #D3F2FF; }
.view_container .point .list .label {  }
.view_container .point .list .score { color:#F45319; }
.view_container .blog .list { display: flex; padding: 0; margin:10px 0 0; justify-content: space-between; }
.view_container .blog .list li { width:48%; }
.view_container .blog .list .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.view_container .blog .list .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.view_container .blog .list .thumb .tit { position: absolute; bottom: 0; left: 0; width: 100%; padding: 5px 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 14px; margin: 0; }
.view_container .blog .n_logo { position: absolute; top:0; left:5px; }
.view_container .notice { padding: 10px 0; border-bottom: 1px solid #d9d9d9; }
.view_container .inclusion_info { padding: 0; border-bottom: 1px solid #d9d9d9; }
.view_container .inclusion_info li { margin-bottom: 4px; }
.view_container .inclusion_info p { margin-top: 0; margin-bottom: 2rem; }
.view_container .inclusion_info li p { margin-bottom: 0; }
.view_container .inclusion_info big { display: block; margin-bottom: 10px; }
.view_container .inclusion_info h1 { padding: 0 !important; margin: 0 !important; }
.view_container .inclusion_info hr { margin: 25px 0; }
.view_container .description { padding: 10px 0px 30px; border-bottom: 1px solid #d9d9d9; }
.view_container .policy { padding: 0; border-bottom: 1px solid #d9d9d9; border-top: 1px solid #d9d9d9; }
@media (max-width: 768px) {
    .view_container { flex-direction: column; padding: 0 7px; }
    .view_container .detail { width: 100%; font-size: 14px; }
    .view_container .price_area { display: none; }
    .product_image { height: 250px; padding: 0; }
    /* 썸네일 네비 모바일 크기 */
    .product_thumbs { margin-top: 8px; padding: 0 7px; }
    .product_thumbs .swiper-slide { width: 68px; height: 44px; }
    .view_container .point .list { flex-direction: column; }
    .view_container .point .list li { width: 100% !important; }
    .view_container .tab { top: 85px; margin-left: -7px; margin-right: -7px; }
    .view_container .blog .list { flex-wrap: wrap; gap: 4%; }
    .view_container .blog .list li { width: 48%; }
    :where(.pg-product_view) body { padding-bottom: 70px; }
    /* 모바일 글씨 크기 축소 + 섹션 간격 축소 */
    .view_container h3 { font-size: 18px; padding: 14px 0 5px; }
    .view_container .detail .tit { padding-top: 16px; }
    .view_container .detail .tit h1 { font-size: 19px; }
    .view_container .detail .tit .region { display: none; }
    .view_container .detail .tit .intro { font-size: 14px; }
    .view_container .schedule .tour_name { font-size: 15px; }
    .view_container .schedule .tour_name .summary { font-size: 13px; }
    .view_container .tab li { font-size: 14px; }
}

/* ── 모바일 하단 고정 바 ── */
.mobile-bottom-bar {
            display: none;
            position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
            background: #fff; border-top: 1px solid #e0e0e0;
            padding: 10px 15px; box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
.mobile-bottom-bar .bar-buttons { display: flex; gap: 8px; }
.mobile-bottom-bar .bar-buttons .btn-bar {
            flex: 1; padding: 12px 0; border-radius: 6px; font-size: 14px; font-weight: 700;
            text-align: center; cursor: pointer; border: none; text-decoration: none;
            display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.mobile-bottom-bar .btn-bar-reserve { background: var(--gm-primary); color: #fff; }
.mobile-bottom-bar .btn-bar-kakao { flex: 0 0 auto; padding: 12px 16px; background: #FEE500; color: #3C1E1E; }
.mobile-bottom-bar .btn-bar-estimate { background: #fff; color: var(--gm-primary); border: 2px solid var(--gm-primary) !important; }
.mobile-bottom-bar .btn-bar-channel { background: #fff; color: var(--gm-primary); border: 2px solid var(--gm-primary) !important; }
.mobile-bottom-bar .btn-bar-cart { background: #fff; color: #333; border: 2px solid #ddd !important; }
@media (max-width: 768px) {
    .mobile-bottom-bar { display: block; }
}

/* ── 모바일 바텀시트 ── */
.mobile-sheet-overlay {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.4); z-index: 1100;
}
.mobile-sheet-overlay.open { display: block; }
.mobile-sheet {
            position: fixed; bottom: 0; left: 0; right: 0; z-index: 1101;
            background: #fff; border-radius: 16px 16px 0 0;
            max-height: 85vh; overflow-y: auto;
            transform: translateY(100%); transition: transform 0.3s ease;
            padding: 0 20px 20px;
}
.mobile-sheet.open { transform: translateY(0); }
.mobile-sheet .sheet-handle { display: flex; justify-content: center; padding: 12px 0 8px; cursor: pointer; }
.mobile-sheet .sheet-handle span { width: 40px; height: 4px; background: #ccc; border-radius: 2px; }
.mobile-sheet h3 {
            font-size: 18px; font-weight: 700; margin: 0 0 14px; padding-bottom: 12px;
            border-bottom: 1px solid #eee;
}
/* 바텀시트 내부 인원/합계 */
.mobile-sheet .m-pax-row {
            display: flex; justify-content: space-between; align-items: center;
            padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.mobile-sheet .m-pax-name { font-size: 15px; font-weight: 700; }
.mobile-sheet .m-pax-price { font-size: 14px; color: var(--gm-primary); margin-top: 3px; }
.mobile-sheet .m-pax-standard { font-size: 12px; color: var(--gm-text-sub,#555); margin-top: 2px; }
.mobile-sheet .m-pax-counter { display: flex; align-items: center; gap: 12px; }
.mobile-sheet .m-pax-counter button {
            width: 30px; height: 30px; border: 1px solid #ccc; background: #fff;
            border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1;
}
.mobile-sheet .m-pax-counter button:hover { background: var(--gm-primary); color: #fff; border-color: var(--gm-primary); }
.mobile-sheet .m-pax-counter .m-num { font-size: 16px; font-weight: 700; min-width: 20px; text-align: center; }
.mobile-sheet .m-total { padding: 16px 0; border-top: 2px solid #333; }
.mobile-sheet .m-total-row {
            display: flex; justify-content: space-between; align-items: baseline;
            font-size: 14px; margin-bottom: 8px;
}
.mobile-sheet .m-total-row .m-total-value { text-align: right; white-space: nowrap; }
.mobile-sheet .m-total-row strong { font-size: 20px; color: var(--gm-primary); font-weight: 700; }
.mobile-sheet .m-total-row .charge-label { font-size: 13px; color: var(--gm-text-sub,#555); }
/* 원화 환산 합계 */
.mobile-sheet .m-total-krw { border-top: 1px solid #e3e6e8; margin-top: 10px; padding-top: 10px; }
.mobile-sheet .m-total-krw strong { color: var(--gm-primary-dark); }
.mobile-sheet .m-total-per { font-size: 13px; color: #666; margin-bottom: 4px; }
.mobile-sheet .m-total-per strong { font-size: 14px; color: #666; font-weight: 600; }
.mobile-sheet .m-total-note { font-size: 12px; color: var(--gm-text-sub,#555); }
.mobile-sheet .m-btn-area { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.mobile-sheet .m-btn-reserve {
            width: 100%; padding: 14px 0; background: var(--gm-primary); color: #fff;
            font-size: 16px; font-weight: 700; border: none; border-radius: 6px; cursor: pointer;
}
.mobile-sheet .m-btn-bottom-row { display: flex; gap: 8px; }
.mobile-sheet .m-btn-bottom-row a,
.mobile-sheet .m-btn-bottom-row button {
            flex: 1; padding: 12px 0; border-radius: 6px; font-size: 14px; font-weight: 700;
            text-align: center; cursor: pointer; text-decoration: none;
}
.mobile-sheet .m-btn-channel { background: #fff; color: var(--gm-primary); border: 2px solid var(--gm-primary); }
.mobile-sheet .m-btn-cart-m { background: #fff; color: #333; border: 2px solid #ddd; }
/* 여행 후기 섹션 */
.product-review-section { max-width: 1200px; margin: 0 auto; padding: 40px 0 60px; }
.product-review-list {
            display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 12px;
}
.product-review-card {
            border-radius: 10px; overflow: hidden;
            background: #fff; border: 1px solid #eee;
            text-decoration: none; color: inherit;
            transition: transform 0.2s, box-shadow 0.2s;
}
.product-review-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
/* 카드 폭에 따라 같이 줄고 늘도록 고정높이 대신 비율 고정 (커뮤니티 후기 카드 .review-thumb 와 동일한 5:3) */
.pr-thumb { width: 100%; aspect-ratio: 5/3; overflow: hidden; background: #f5f5f5; }
.pr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pr-thumb-empty {
            width: 100%; height: 100%;
            display: flex; align-items: center; justify-content: center;
            font-size: 28px; color: #ccc;
}
.pr-info { padding: 10px 12px; }
.pr-title {
            font-size: 15px; font-weight: 700; color: #222;
            overflow: hidden; text-overflow: ellipsis;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            line-height: 1.4; margin-bottom: 6px;
}
.pr-meta { font-size: 11px; color: var(--gm-text-sub,#555); display: flex; gap: 6px; align-items: center; }
.pr-stars { color: #f5a623; font-size: 12px; }
.pr-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 768px) {
    .product-review-section { padding: 30px 15px 80px; }
    .product-review-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pr-title { font-size: 12px; }
    .pr-info { padding: 8px; }
}


/* ───────── product_view-2 ───────── */
/* resources/views/shop/product_view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.product-video-section { max-width: 1200px; margin: 0 auto; padding: 40px 0 0; }
.product-video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.product-video-card { cursor: pointer; }
.pv-thumb { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.product-video-card:hover .pv-thumb img { transform: scale(1.04); }
.pv-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 38px; background: rgba(0,0,0,.7); border-radius: 9px; transition: background .15s; }
.pv-play::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-40%,-50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.product-video-card:hover .pv-play { background: #ff0000; }
.pv-badge { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.pv-title {
 margin-top: 10px; font-size: 14px; font-weight: 600; color: #333; line-height: 1.4;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 768px) {
    .product-video-section { padding-left: 15px; padding-right: 15px; }
    .product-video-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

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

/* 영상 재생 팝업 */
.pv-modal { display: none; position: fixed; inset: 0; z-index: 11000; }
.pv-modal.open { display: block; }
.pv-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.pv-modal-inner {
 position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
            width: min(900px, 94vw);
}
.pv-modal-video { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.pv-modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 쇼츠(세로) */
.pv-modal.is-shorts .pv-modal-inner { width: auto; }
.pv-modal.is-shorts .pv-modal-video { width: min(380px, 86vw); aspect-ratio: 9/16; margin: 0 auto; }
.pv-modal-close {
 position: absolute; top: -42px; right: 0; width: 36px; height: 36px;
            background: rgba(255,255,255,.15); color: #fff; border: none; border-radius: 50%;
            font-size: 24px; line-height: 1; cursor: pointer;
}
.pv-modal-close:hover { background: rgba(255,255,255,.3); }

/* ───────── product_view-3 ───────── */
/* resources/views/shop/product_view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
:where(.pg-product_view) #cart-added-popup.hide { display:none !important; }
@keyframes capFadeIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }

/* ───────── checkout ───────── */
/* 다일 패키지 Day별 펼침 */
.tour-days-list { margin-top:6px; display:flex; flex-direction:column; gap:3px; }
.tour-day-item { display:flex; align-items:center; gap:8px; font-size:12px; }
.tour-day-sub { flex:0 0 auto; background:#eef6fb; color:#20789e; font-weight:700; font-size:11px; padding:2px 7px; border-radius:4px; }
.tour-day-name { color:#444; }

/* ───────── order_complete ───────── */
/* resources/views/shop/order_complete.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.oc-wrap { max-width: 760px; margin: 50px auto; padding: 0 20px; }
/* 상태 헤더 */
.oc-header { text-align: center; padding: 40px 20px 30px; }
.oc-icon { font-size: 64px; margin-bottom: 16px; display: block; }
.oc-title { font-size: 26px; font-weight: 900; color: #222; margin-bottom: 8px; }
.oc-title.paid { color: #28a745; }
.oc-title.pending { color: #f6a623; }
.oc-subtitle { font-size: 14px; color: var(--gm-text-sub,#555); }
/* 카드 섹션 */
.oc-card {
 background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
               padding: 24px 28px; margin-bottom: 16px;
}
.oc-card-title {
 font-size: 13px; font-weight: 800; color: var(--gm-text-sub,#555); text-transform: uppercase;
                     letter-spacing: 0.5px; margin-bottom: 16px; padding-bottom: 10px;
                     border-bottom: 1px solid #f0f0f0;
}
/* 주문 정보 행 */
.oc-info-row {
 display: flex; justify-content: space-between; align-items: center;
                   padding: 8px 0; border-bottom: 1px solid #f7f7f7; font-size: 14px;
}
.oc-info-row:last-child { border-bottom: none; }
.oc-info-label { color: var(--gm-text-sub,#555); }
.oc-info-val { font-weight: 700; color: #222; }
.oc-info-val.order-no { font-family: monospace; font-size: 15px; color: var(--gm-primary); }
.oc-info-val.amount { font-size: 18px; color: #ff6b35; }
.oc-info-val.badge-paid {
 background: #d4edda; color: #155724; padding: 3px 10px;
                               border-radius: 12px; font-size: 12px;
}
.oc-info-val.badge-pending {
 background: #fff3cd; color: #856404; padding: 3px 10px;
                                  border-radius: 12px; font-size: 12px;
}
/* 계좌 정보 박스 (무통장) */
.oc-bank-box {
 background: #fffbf0; border: 1.5px solid #f6a623; border-radius: 10px;
                   padding: 18px 22px; margin-bottom: 16px;
}
.oc-bank-title { font-size: 13px; font-weight: 800; color: #f6a623; margin-bottom: 14px; }
.oc-bank-row { display: flex; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.oc-bank-row:last-child { margin-bottom: 0; }
.oc-bank-label { color: var(--gm-text-muted,#6e6e6e); min-width: 56px; }
.oc-bank-val { font-weight: 700; color: #333; }
.oc-bank-notice {
 margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffe8a3;
                      font-size: 12px; color: #f6a623; line-height: 1.8;
}
/* 상품 목록 */
.oc-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f5f5f5; }
.oc-item:last-child { border-bottom: none; }
.oc-item-info { flex: 1; }
.oc-item-name { font-size: 14px; font-weight: 700; color: #222; margin-bottom: 5px; }
.oc-deal-badge { display:inline-block; font-size:11px; font-weight:600; color:#fff; background:var(--gm-primary,#20B2D6); border-radius:4px; padding:1px 6px; vertical-align:middle; }
.oc-deal-status { display:inline-block; font-size:11px; font-weight:600; border-radius:4px; padding:1px 7px; vertical-align:middle; margin-left:2px; }
.oc-deal-status.is-live { color:#0e7c3f; background:#e6f6ec; }
.oc-deal-status.is-ok { color:#fff;    background:#0e7c3f; }
.oc-deal-status.is-wait { color:#a15c00; background:#fdf0d8; }
.oc-deal-status.is-muted { color:#6e6e6e; background:#eee; }
.oc-item-link { color:inherit; text-decoration:none; }
.oc-item-link:hover { color:var(--gm-primary-dark,#188fb0); text-decoration:underline; }
/* 결제 단계 (예약금 → 잔금) */
.oc-deal-steps { display:flex; gap:8px; margin-top:12px; }
.oc-step { flex:1 1 0; min-width:0; padding:10px 12px; border:1px solid #e3e7ec; border-radius:8px; background:#fff; }
.oc-step b { display:block; font-size:13px; font-weight:600; color:#8b949e; }
.oc-step small { display:block; margin-top:3px; font-size:12px; color:#8b949e; }
.oc-step.done { background:#f6f8fa; }
.oc-step.done b,
.oc-step.done small { color:#3f4753; }
/* 지금 할 차례 — 색만으로 구분하지 않도록 아래 문구가 항상 같이 붙는다 */
.oc-step.now { border-color:var(--gm-red,#e24d24); box-shadow:inset 0 0 0 1px var(--gm-red,#e24d24); }
.oc-step.now b { color:var(--gm-red,#e24d24); }
.oc-step.now small { color:#3f4753; }
.oc-deal-paybtn { display:block; margin-top:10px; padding:13px; border-radius:8px; background:#e8380d; color:#fff; font-size:15px; font-weight:500; text-align:center; text-decoration:none; }
@media (max-width:520px) {
    .oc-deal-steps { flex-direction:column; }
}

.oc-deal-policy { margin-top:12px; padding:11px 13px; background:color-mix(in srgb, var(--gm-red,#e24d24) 6%, #fff); border:1px solid color-mix(in srgb, var(--gm-red,#e24d24) 18%, #fff); border-left:3px solid var(--gm-red,#e24d24); border-radius:8px; font-size:12px; line-height:1.7; color:#3f4753; }
.oc-item-meta { font-size: 12px; color: var(--gm-text-sub,#555); line-height: 1.8; }
.oc-item-price { font-size: 13px; font-weight: 700; color: var(--gm-primary); white-space: nowrap; }
/* 하단 버튼 */
.oc-actions { display: flex; gap: 12px; margin-top: 24px; }
.oc-btn {
 flex: 1; padding: 14px 0; text-align: center; border-radius: 8px;
               font-size: 14px; font-weight: 800; text-decoration: none; display: block;
               transition: all .2s;
}
.oc-btn-home { background: #f7f9fa; border: 1.5px solid #e0e0e0; color: #555; }
.oc-btn-home:hover { border-color: var(--gm-primary); color: var(--gm-primary); }
.oc-btn-orders { background: var(--gm-primary); color: #fff; border: 1.5px solid var(--gm-primary); }
.oc-btn-orders:hover { background: #29b5de; border-color: #29b5de; }

/* ───────── theme/list ───────── */
/* resources/views/shop/theme/list.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.theme-list-wrap { background: #f8f9fa; min-height: 100vh; }
.theme-list-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
}
.theme-list-inner { max-width: 1280px; margin: 0 auto; }
.theme-list-label {
    font-size: 13px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: #20B2D6; display: block; margin-bottom: 12px;
}
.theme-list-title {
    font-size: clamp(28px, 5vw, 48px); font-weight: 800;
    line-height: 1.2; margin: 0 0 12px;
}
.theme-list-desc { font-size: 16px; color: rgba(255,255,255,0.65); margin: 0; }
/* ─── 테마 목록 그리드 ─── */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.theme-card-link { text-decoration: none; display: block; }
.theme-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a1a2e;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 768px) {
    .theme-card { aspect-ratio: auto; height: 280px; border-radius: 20px; }
}

.theme-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }
.theme-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.theme-card:hover img { transform: scale(1.04); }
.theme-card-no-img {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.theme-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.02) 100%);
}
@media (min-width: 768px) {
    .theme-card-overlay { background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.05) 100%); }
}

.theme-card-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 12px;
    z-index: 1;
    text-align: center;
}
@media (min-width: 768px) {
    .theme-card-body {
        top: 0; right: auto;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        padding: 28px 36px;
        max-width: 520px;
    }
}

.theme-card-icon {
    width: 36px; height: 36px;
    border-radius: 50%; background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
    font-size: 16px; color: #fff;
}
@media (min-width: 768px) {
    .theme-card-icon { width: 40px; height: 40px; margin-bottom: 12px; font-size: 18px; }
}

.theme-card-title {
    color: #fff; font-weight: 800;
    font-size: 15px; margin: 0 0 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    line-height: 1.3;
}
@media (min-width: 768px) {
    .theme-card-title { font-size: clamp(20px, 3vw, 28px); margin: 0 0 6px; }
}

.theme-card-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 12px; margin: 0; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 768px) {
    .theme-card-subtitle { font-size: 14px; line-height: 1.6; }
}

@media (max-width: 767px) {
    .theme-list-header { padding: 60px 16px 40px; }
    .theme-list-desc { font-size: 14px; }
}


/* ───────── theme/view ───────── */
/* resources/views/shop/theme/view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
/* ─── Hero ─── */
.tv-wrap { background: #fff; }
.tv-hero {
    position: relative; min-height: 380px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
}
@media (min-width: 768px) {
    .tv-hero { min-height: 480px; }
}

.tv-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.1) 100%);
}
.tv-hero-inner {
    position: relative; z-index: 1; width: 100%;
    max-width: 1100px; margin: 0 auto;
    padding: 32px 20px 48px;
}
.tv-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500;
    text-decoration: none; margin-bottom: 32px;
    transition: color 0.2s;
}
.tv-back-btn:hover { color: #fff; text-decoration: none; }
.tv-hero-content {  }
.tv-hero-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 16px;
    color: #fff;
}
.tv-hero-title {
    color: #fff; font-size: clamp(28px, 6vw, 52px);
    font-weight: 800; margin: 0 0 12px; line-height: 1.15;
}
.tv-hero-subtitle {
    color: rgba(255,255,255,0.7); font-size: clamp(14px, 2vw, 18px);
    margin: 0; max-width: 600px; line-height: 1.6;
}
/* ─── Container ─── */
.tv-container { max-width: 1100px; margin: 0 auto; padding: 0 20px 80px; }
/* ─── Body Section (CKEditor 내용) ─── */
.tv-body-section { padding: 48px 0 40px; }
.tv-body-content { line-height: 1.8; font-size: 16px; color: #333; }
.tv-body-content img { max-width: 100%; height: auto; border-radius: 12px; }
.tv-body-content p { margin-bottom: 1em; }
/* ─── Products Section ─── */
.tv-products-section { padding: 40px 0; border-top: 1px solid #f0f0f0; }
.tv-section-header { margin-bottom: 32px; }
.tv-section-title { font-size: clamp(22px, 4vw, 32px); font-weight: 800; margin: 0 0 8px; color: #111; }
.tv-section-desc { font-size: 15px; color: #666; margin: 0; }
/* ─── Product Grid ─── */
.tv-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .tv-product-grid { grid-template-columns: repeat(3, 1fr); }
}

.tv-product-card {
    display: block; text-decoration: none; color: inherit;
    border-radius: 14px; overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tv-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-decoration: none; }
.tv-product-img { aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; }
.tv-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.tv-product-card:hover .tv-product-img img { transform: scale(1.05); }
.tv-product-no-img { width: 100%; height: 100%; background: linear-gradient(135deg, #e0e0e0, #f5f5f5); }
.tv-product-info { padding: 14px; }
.tv-product-location {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    color: #20B2D6; letter-spacing: 0.5px;
}
.tv-product-days {
    font-size: 13px; color: var(--gm-text-sub,#555); margin-left: 6px;
    padding: 2px 8px; background: #f5f5f5; border-radius: 10px;
}
.tv-product-name {
    font-size: 17px; font-weight: 700; color: #111;
    margin: 8px 0 6px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-product-intro {
    font-size: 14px; color: #777; margin: 0 0 8px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-product-price { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.tv-price-label { font-size: 11px; color: var(--gm-text-sub,#555); }
.tv-price-val { font-size: 13px; font-weight: 700; color: #20B2D6; }

/* ───────── search ───────── */
/* resources/views/shop/search.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.search-header { max-width: 1200px; margin: 0 auto; padding: 100px 10px 0; }
.search-header h2 { font-size: 22px; font-weight: 700; color: #333; }
.search-header h2 em { font-style: normal; color: var(--gm-primary-dark); }
.search-header .count { font-size: 14px; color: var(--gm-text-sub,#555); margin-top: 4px; }
.search-tabs { max-width: 1200px; margin: 18px auto 0; padding: 0 10px; }
.search-tabs .sp-sorts { flex-wrap: wrap; }
.search-tabs .sp-sorts a span { opacity: .7; margin-left: 3px; }
.search-section { max-width: 1200px; margin: 0 auto; padding: 30px 10px 0; }
.search-sec-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #eee; margin-bottom: 18px; }
.search-sec-head h3 { font-size: 18px; font-weight: 700; color: #222; margin: 0; }
.search-sec-head .n { font-size: 14px; color: var(--gm-primary-dark); font-weight: 700; }
/* 그냥 작은 글씨면 눌러야 하는 것인지 안 보인다. 테두리 있는 버튼으로 세운다.
           글씨색은 --gm-primary-dark 를 쓴다 — --gm-primary 는 흰 배경 대비 4.09 로 AA 미달이다. */
.search-sec-head .more,
.search-sec-foot .more {
            display: inline-flex; align-items: center; gap: 4px;
            border: 1px solid var(--gm-primary-dark); border-radius: 999px;
            font-weight: 500; color: var(--gm-primary-dark);
            text-decoration: none; white-space: nowrap;
            transition: background .15s, color .15s;
}
.search-sec-head .more:hover,
.search-sec-foot .more:hover { background: var(--gm-primary-dark); color: #fff; }
.search-sec-head .more { margin-left: auto; align-self: center; padding: 7px 16px; font-size: 14px; }
/* 결과를 다 훑고 내려온 사람이 바로 누를 수 있게 아래에도 둔다 */
.search-sec-foot { margin-top: 22px; text-align: center; }
.search-sec-foot .more { padding: 11px 26px; font-size: 15px; }
.search-empty { padding: 60px 10px; text-align: center; color: var(--gm-text-sub,#555); font-size: 15px; }
.search-empty strong { display: block; font-size: 17px; color: #555; margin-bottom: 8px; font-weight: 700; }
.search-sec-empty { padding: 24px 0 4px; color: var(--gm-text-muted,#6e6e6e); font-size: 14px; }
/* 상품 섹션은 전체폭 .products 그리드를 그대로 사용 */
.search-section .products { padding: 0 0 10px; max-width: none; }
@media (max-width: 768px) {
    .search-header { padding-top: 80px; }
    .search-sec-head h3 { font-size: 16px; }
    .search-sec-head .more { padding: 6px 13px; font-size: 13px; }
    .search-sec-foot .more { padding: 10px 22px; font-size: 14px; }
}
