/* The home widget follows the store container; styles never target other video players. */
.vip-product-shorts {
  --shorts-ink: #17191c;
  --shorts-muted: #73777d;
  --shorts-line: #e5e7eb;
  --shorts-surface: #fff;
  padding: 42px 0 18px;
  color: var(--shorts-ink);
  background: transparent;
  font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
}
.vip-product-shorts *, .vip-product-shorts *::before, .vip-product-shorts *::after { box-sizing: border-box; }
.vip-product-shorts [hidden] { display: none !important; }
.vip-product-shorts.is-pending { min-height: 1px; padding: 0; }
.vip-product-shorts.is-pending > .container { display: none; }
.vip-product-shorts__heading { text-align: center; margin: 0 0 20px; }
.vip-product-shorts .vip-product-shorts__heading h2 { margin: 0 0 8px; color: var(--shorts-ink); font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -1.1px; }
.vip-product-shorts__heading p { margin: 0; color: var(--shorts-muted); font-size: 15px; line-height: 1.55; word-break: keep-all; }
.vip-product-shorts__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.vip-product-shorts__hint { font-size: 12px; color: var(--shorts-muted); }
.vip-product-shorts__arrows { display: flex; gap: 8px; margin-left: auto; }
.vip-product-shorts button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vip-product-shorts__arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--shorts-line); border-radius: 50%; color: var(--shorts-ink); background: var(--shorts-surface); }
.vip-product-shorts__arrows button:disabled { opacity: .35; cursor: default; }
.vip-product-shorts svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vip-product-shorts a:focus-visible, .vip-product-shorts button:focus-visible, .vip-product-shorts__track:focus-visible { outline: 2px solid #bc111a; outline-offset: 4px; }
.vip-product-shorts__track { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b8bcc2 transparent; -webkit-overflow-scrolling: touch; padding: 4px 0 14px; }
.vip-product-shorts__card { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; scroll-snap-align: start; }
.vip-product-shorts__media { position: relative; aspect-ratio: 9 / 16; width: 100%; overflow: hidden; border-radius: 14px; background: #17191c; isolation: isolate; }
.vip-product-shorts__video, .vip-product-shorts__cover, .vip-product-shorts__cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.vip-product-shorts__video { object-fit: contain; }
.vip-product-shorts__cover { pointer-events: none; isolation: isolate; }
.vip-product-shorts__cover img { object-fit: contain; }
.vip-product-shorts__cover .vip-product-shorts__poster-background { object-fit: cover; filter: blur(18px) brightness(.78); transform: scale(1.12); }
.vip-product-shorts__cover .vip-product-shorts__poster { z-index: 1; }
.vip-product-shorts__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #f7f7f7; font-size: 38px; font-weight: 800; letter-spacing: .15em; background: linear-gradient(145deg, #30343b, #121418); }
.vip-product-shorts__placeholder span { margin-top: 12px; font-size: 10px; font-weight: 400; letter-spacing: .18em; color: #aeb4bf; }
.vip-product-shorts__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; width: 100%; border: 0; padding: 0 20px; color: #fff; background: linear-gradient(transparent 40%, #0003); }
.vip-product-shorts__play > span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #ffffff80; border-radius: 50%; background: #0006; backdrop-filter: blur(6px); }
.vip-product-shorts__play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke-width: 0; }
.vip-product-shorts__play b { font-size: 12px; font-weight: 600; text-shadow: 0 1px 5px #0009; }
.vip-product-shorts__media.is-loading .vip-product-shorts__play > span { animation: vip-shorts-pulse 1.2s ease-in-out infinite; }
.vip-product-shorts__error { position: absolute; inset: auto 12px 26px; border-radius: 7px; padding: 10px; background: #000b; color: #fff; font-size: 12px; line-height: 1.6; text-align: center; }
.vip-product-shorts__details { padding: 15px 1px 0; }
.vip-product-shorts__brand { margin: 0 0 4px; color: var(--shorts-muted); font-size: 11px; line-height: 1.5; }
.vip-product-shorts .vip-product-shorts__details h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; margin: 0 0 9px; color: var(--shorts-ink); font-size: 15px; font-weight: 600; line-height: 1.5; word-break: keep-all; }
.vip-product-shorts a { color: inherit; text-decoration: none; }
.vip-product-shorts__price { display: flex; align-items: baseline; gap: 2px; margin: 0 0 13px; font-size: 18px; line-height: 1.4; font-weight: 750; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.vip-product-shorts__price span { font-size: 12px; font-weight: 500; }
.vip-product-shorts__product { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--shorts-line); border-radius: 7px; background: var(--shorts-surface); font-size: 12px; font-weight: 600; }
.vip-product-shorts__product:hover { border-color: #a8adb5; }
.vip-product-shorts__product svg { width: 16px; height: 16px; }
.vip-product-shorts__no-script { color: var(--shorts-muted); font-size: 12px; }
.dark-mode .vip-product-shorts { --shorts-ink: #f1f3f5; --shorts-muted: #a9aeb7; --shorts-line: #39414b; --shorts-surface: #20262e; }
@keyframes vip-shorts-pulse { 50% { opacity: .5; } }
@media (max-width: 991px) {
  .vip-product-shorts__track { gap: 16px; }
  .vip-product-shorts__card { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 767px) {
  .vip-product-shorts { padding: 30px 0 10px; }
  .vip-product-shorts .vip-product-shorts__heading h2 { font-size: 26px; letter-spacing: -.8px; }
  .vip-product-shorts__heading p { font-size: 13px; padding: 0 12px; }
  .vip-product-shorts__toolbar { margin-bottom: 9px; }
  .vip-product-shorts__hint { font-size: 10px; }
  .vip-product-shorts__arrows { gap: 6px; }
  .vip-product-shorts__arrows button { width: 44px; height: 44px; }
  .vip-product-shorts__track { gap: 14px; }
  .vip-product-shorts__card { flex-basis: min(70vw, 260px); }
  .vip-product-shorts__media { border-radius: 11px; }
  .vip-product-shorts__details { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vip-product-shorts__media.is-loading .vip-product-shorts__play > span { animation: none; }
}

/* Product details remain attached to their portrait video, on home and gallery. */
.vip-product-shorts__heading { position: relative; padding: 0 150px; }
.vip-product-shorts__all { position: absolute; right: 0; bottom: 2px; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 600; }
.vip-product-shorts__all span { font-size: 20px; }
.vip-product-shorts__badge { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #ffffff20; border-radius: 30px; color: #fff; background: #0006; font-size: 10px; font-weight: 700; letter-spacing: .5px; pointer-events: none; }
.vip-product-shorts__badge i { width: 6px; height: 6px; border-radius: 50%; background: #f3474d; }
.vip-product-shorts__media::after { content: ''; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, #0007); pointer-events: none; }
.vip-product-shorts__play { z-index: 2; }
.vip-product-shorts__details { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 4; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; align-items: center; padding: 12px; border: 1px solid #ffffff18; border-radius: 12px; color: #fff; background: #16120fcc; backdrop-filter: blur(10px); }
.vip-product-shorts__brand { grid-column: 1; margin: 0; color: #ffffffb5; font-size: 10px; line-height: 1.4; }
.vip-product-shorts .vip-product-shorts__details h3 { grid-column: 1; display: block; white-space: nowrap; text-overflow: ellipsis; min-height: 0; margin: 0; color: #fff; font-size: 13px; line-height: 1.5; font-weight: 600; }
.vip-product-shorts__price { grid-column: 1; gap: 1px; margin: 2px 0 0; color: #fff; font-size: 19px; line-height: 1.2; }
.vip-product-shorts__price span { font-size: 11px; }
.vip-product-shorts__product { grid-column: 2; grid-row: 1 / 4; min-height: 40px; padding: 10px 12px; border: 0; border-radius: 10px; background: #d5b77d; color: #241d12 !important; font-size: 11px; white-space: nowrap; }
.vip-product-shorts__product:hover { background: #e4c995; }
.vip-product-shorts__product svg { display: none; }

.vip-product-shorts__error { z-index: 5; bottom: 125px; }
.vip-product-shorts.is-gallery { padding: 0; }
.vip-product-shorts.is-gallery > .container { width: 100%; max-width: none; padding: 0; }
.vip-product-shorts.is-gallery .vip-product-shorts__track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: visible; padding: 0; scroll-snap-type: none; }
.vip-product-shorts.is-gallery .vip-product-shorts__toolbar { display: none; }
.vip-video-gallery { padding: 28px 0 60px; }
.vip-video-gallery__intro { margin: 0 0 22px; font-size: 14px; line-height: 1.7; color: #7c8087; }
.vip-video-gallery__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 28px; padding: 18px; border: 1px solid #e3e6eb; border-radius: 12px; background: #fafbfc; }
.vip-video-gallery__filters label { display: flex; flex-direction: column; gap: 6px; min-width: 160px; font-size: 12px; font-weight: 600; color: #525861; }
.vip-video-gallery__filters select { max-width: 100%; min-height: 42px; padding: 8px 32px 8px 12px; border: 1px solid #d9dde3; border-radius: 7px; color: #242931; background: #fff; font: inherit; }
.vip-video-gallery__filters select:disabled { opacity: .5; }
.vip-video-gallery__filters button { min-height: 42px; padding: 9px 24px; border: 0; border-radius: 7px; color: #fff; background: #a50008; font-size: 13px; font-weight: 600; }
.vip-video-gallery__status { padding: 80px 16px; border: 1px solid #e3e6eb; border-radius: 12px; text-align: center; color: #7c8087; }
.vip-video-gallery__pages { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; color: #73777d; font-size: 13px; }
.vip-video-gallery__pages a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid #e3e6eb; border-radius: 8px; color: inherit; text-decoration: none; }
.dark-mode .vip-video-gallery__filters { border-color: #39414b; background: #1c222b; }
.dark-mode .vip-video-gallery__filters label { color: #c8cdd4; }
.dark-mode .vip-video-gallery__filters select { color: #e8ebef; border-color: #39414b; background: #252d38; }
.dark-mode .vip-video-gallery__pages a, .dark-mode .vip-video-gallery__status { border-color: #39414b; }
@media (max-width: 991px) {
 .vip-product-shorts.is-gallery .vip-product-shorts__track { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
 .vip-product-shorts__heading { padding: 0; }
 .vip-product-shorts__all { position: static; justify-content: center; margin-top: 8px; font-size: 12px; }
 .vip-product-shorts__details { left: 9px; right: 9px; bottom: 9px; gap: 2px 7px; padding: 10px; border-radius: 10px; }

 .vip-product-shorts.is-gallery .vip-product-shorts__track { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__details { grid-template-columns: minmax(0,1fr); padding: 8px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__product { grid-column: 1; grid-row: auto; min-height: 32px; margin-top: 5px; padding: 6px 10px; justify-content: center; font-size: 10px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__price { font-size: 17px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__details h3 { font-size: 12px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__play > span { width: 46px; height: 46px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__error { bottom: 145px; padding: 7px; font-size: 10px; }
 .vip-video-gallery { padding-top: 18px; }
 .vip-video-gallery__filters { gap: 10px; padding: 13px; }
 .vip-video-gallery__filters label { flex: 1; min-width: 0; width: calc(50% - 5px); }
 .vip-video-gallery__filters button { width: 100%; }
 .vip-video-gallery__intro { font-size: 13px; }
}
/* Shared home heading follows the existing user-review controls. */
.vip-product-shorts__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 0 10px; margin: 0 0 18px; border-bottom: 1px solid var(--shorts-line); text-align: left; }
.vip-product-shorts .vip-product-shorts__heading h2 { position: relative; margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.vip-product-shorts__heading h2 strong { color: #ab0000; font-weight: inherit; }
.vip-product-shorts__heading h2::after { content: ''; position: absolute; left: 0; bottom: -12px; width: 83px; height: 3px; background: linear-gradient(to right,#ab0000 0,#ab0000 53px,transparent 53px,transparent 63px,var(--shorts-ink) 63px); }
.vip-product-shorts__description { margin: 0 0 18px; color: var(--shorts-muted); font-size: 13px; line-height: 1.6; }
.vip-product-shorts__toolbar { margin: 0; flex: 0 0 auto; }
.vip-product-shorts__arrows { gap: 3px; }
.vip-product-shorts__arrows button, .vip-product-shorts__more { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 1px solid var(--shorts-line); border-radius: 0; color: var(--shorts-ink); background: var(--shorts-surface); }
.vip-product-shorts__more { margin-left: 6px; font-size: 23px; font-weight: 600; }
.vip-product-shorts__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; color: var(--shorts-muted); font-size: 11px; }
.vip-product-shorts__footer button { min-height: 34px; padding: 4px 0 4px 12px; border: 0; color: inherit; background: transparent; font-size: 11px; white-space: nowrap; }
@media (max-width: 767px) {
 .vip-product-shorts .vip-product-shorts__heading h2 { font-size: 22px; min-height: 44px; }
 .vip-product-shorts__heading { gap: 8px; margin-bottom: 18px; }
 .vip-product-shorts__heading h2::after { bottom: -12px; width: 83px; }
 .vip-product-shorts__description { font-size: 11px; }
 .vip-product-shorts__arrows button, .vip-product-shorts__more { width: 44px; height: 44px; min-height: 44px; }
 .vip-product-shorts__more { margin-left: 3px; }
 .vip-product-shorts__footer { font-size: 10px; align-items: flex-start; }
 .vip-product-shorts__footer button { min-height: 34px; padding-top: 0; font-size: 10px; }
}

/* Official product name remains inside the same video card. */
.vip-product-shorts__product-name { grid-column: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0; color: #ffffffbd; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.vip-product-shorts__product { grid-row: 1 / 5; }
.vip-product-shorts__brand { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width:992px) {
 .vip-product-shorts:not(.is-gallery) .vip-product-shorts__card { flex-basis: calc((100% - 80px) / 5); }
 .vip-product-shorts.is-gallery .vip-product-shorts__track { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
.vip-product-shorts__error { bottom: 165px; }
/* Reuse the video play/pause/end/error state so the product panel never covers playback. */
.vip-product-shorts__media.is-playing .vip-product-shorts__details { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width:767px) {
 .vip-product-shorts.is-gallery .vip-product-shorts__product-name { font-size: 10px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__product { grid-row: auto; }
 .vip-product-shorts.is-gallery .vip-product-shorts__play { top: 36px; bottom: calc(var(--shorts-details-height, 150px) + 18px); justify-content: center; gap: 0; padding: 0 8px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__play > span { width: 40px; height: 40px; }
 .vip-product-shorts.is-gallery .vip-product-shorts__play b { display: none; }
 .vip-product-shorts.is-gallery .vip-product-shorts__error { bottom: 185px; }
}

/* Home carousel remains touch-scrollable; the full gallery keeps its grid. */
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__track { scrollbar-width: none; -ms-overflow-style: none; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__track::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* VIP_HOME_LINE_PAGINATION_20261012: short review-style lines, generous click area. */
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination { display: flex; align-items: center; justify-content: center; gap: 2px; width: 100%; max-width: 382px; min-width: 0; margin: 5px auto 0; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination[hidden] { display: none !important; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button { position: relative; display: block; flex: 1 1 30px; max-width: 30px; min-width: 0; height: 28px; min-height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button::before { content: ''; position: absolute; top: 13px; left: 0; width: 100%; height: 2px; background: #959595; transition: background-color .2s linear; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button[aria-current="true"]::before { background: #ab0000; }
.dark-mode .vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button[aria-current="true"]::before { background: #ff5e65; }
.vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .vip-product-shorts:not(.is-gallery) .vip-product-shorts__pagination > button::before { transition: none; } }

/* VIP_PRODUCT_INFO_LINK_20261012: the complete information panel opens the product. */
.vip-product-shorts .vip-product-shorts__details { grid-template-columns: minmax(0,1fr); color: #fff; text-decoration: none; cursor: pointer; }
.vip-product-shorts .vip-product-shorts__details:hover { background: #16120fea; }
.vip-product-shorts .vip-product-shorts__details:focus-visible { outline: 2px solid #e4c995; outline-offset: 3px; }

/* VIP_MOBILE_SHOWROOM_20261012: shorter mobile cards; keep the full video visible. */
@media (max-width:767px) {
 .vip-product-shorts__media { aspect-ratio: 3 / 4; }
 .vip-product-shorts.is-gallery .vip-product-shorts__media { min-height: max(210px, calc(var(--shorts-details-height, 107px) + 94px)); }
 .vip-product-shorts.is-gallery .vip-product-shorts__error { bottom: calc(var(--shorts-details-height, 107px) + 18px); }
}
