/* 공지 이미지와 원문 안내는 상품 사진과 구분한다.
   목록은 카드 폭을 채우고 상세에서 공식 이미지 전체를 보여 준다.
   사진 순서: 공식 공지 이미지 → 같은 브랜드의 관련 상품 사진 → 브랜드 로고 (일러스트로 채우지 않음) */
.hot-notice .hot-open { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; text-align: left; color: var(--text); }
.hot-notice .hot-open:focus-visible { outline-offset: -3px; }
.hot-notice .hot-visual { background: var(--surface-2); }
.notice-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 16px; background: var(--surface-2); }
.notice-brand-logo { width: 84px; height: 84px; padding: 12px; object-fit: contain; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.notice-brand-label { font-size: 11px; color: var(--muted); }
.has-ph > .notice-preview, .hcard.has-ph .notice-preview { display: none; }
.notice-image-label { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 10.5px; font-weight: 600; }
.hot-notice.noph .notice-image-label { display: none; }
.hcard.noph .notice-image-label, .news-hero.noph .notice-image-label, .stub.noph .coupon-image-label { display: none; }
.news-hero .notice-image-label { left: 12px; bottom: 12px; z-index: 1; }
.coupon-image-label { color: var(--text-2); font-size: 9.5px; line-height: 1.3; }
.stub.campaign-photo img.ph { height: 92px; }
.hot-source { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 14px; border-top: 1px solid var(--line); text-decoration: none; color: var(--primary-label); background: var(--surface); font-size: 12px; font-weight: 700; }
.hot-source:hover { background: var(--surface-2); }
.hot-source .source-host { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 500; }
.hot-source > span:last-child { flex: none; }
.hot-source:focus-visible { outline-offset: -3px; }
.source-unavailable { color: var(--muted); }

/* 소식 상세 시트의 공지 이미지 */
.news-hero.news-notice { height: auto; min-height: 170px; background: var(--surface-2); color: var(--text); }
.news-hero.news-notice .notice-preview { min-height: 170px; padding: 20px; }
.news-hero.news-notice .lbl { display: block; position: static; padding: 0 20px 18px; color: var(--sale); font-size: 26px; }
.news-hero.news-notice .lbl.money { font-size: 20px; }
.news-hero.news-notice.has-ph { height: 300px; background: #f4f4f6; }
.news-hero.news-notice.has-ph .lbl { display: none; }
.news-hero.has-ph img.ph { position: static; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.notice-original { display: inline-block; color: var(--primary-label); font-size: 13px; font-weight: 600; margin: 0 0 12px; text-underline-offset: 3px; }
.notice-original[hidden], .notice-image-error[hidden] { display: none; }
.notice-source-link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px; background: var(--surface-2); text-decoration: none; color: var(--text-2); font-size: 13px; }
.notice-source-link strong { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--primary-label); }
.notice-image-error { color: var(--text-2); font-size: 13px; line-height: 1.6; margin: 0 0 12px; }

/* 쿠폰 상세의 공식 행사 이미지 */
.coupon-artwork { margin: 0 0 16px; }
.coupon-artwork img { display: block; width: 100%; max-height: 300px; object-fit: contain; border-radius: 12px; background: var(--surface-2); }
.coupon-artwork figcaption { margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.coupon-artwork a { color: var(--text-2); }

/* 공지 카드 아래 줄: 확인된 행사 기간 + 상세 보기 */
.hot-notice .hot-meta { align-items: center; }
.hcard .kind { margin-left: auto; }

/* 두 가지 상품·세트: 각 상품의 공식 사진을 나란히 (함께 나온 사진이 없을 때) */
.ph-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; width: 100%; }
.stub .ph-parts img.ph { width: 100%; height: 62px; border-radius: 8px; }
.stub .ph-parts.n3 img.ph, .stub .ph-parts.n4 img.ph { height: 30px; }
.hot-visual .ph-parts { height: 100%; grid-auto-rows: minmax(0, 1fr); gap: 2px; background: var(--surface); }
.hot-visual .ph-parts.n3 > :last-child { grid-column: 1 / -1; }
.coupon-artwork.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.coupon-artwork.parts img { max-height: 160px; }
.coupon-artwork.parts small { display: block; margin-top: 4px; text-align: center; font-size: 12px; color: var(--text-2); }
.coupon-artwork.parts figcaption { grid-column: 1 / -1; }
