/* Source reviews sit inside the existing white/ink/cyan LuxFish identity. */
.lux-customer-gallery { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.lux-reviews .lux-customer-gallery { margin-top: 0; padding-top: 0; border-top: 0; }
.lux-reviews .lux-customer-gallery__controls { margin-top: 0; }
.lux-customer-product-reviews .lux-customer-gallery { margin-top: 0; padding-top: 0; border-top: 0; }
.lux-customer-gallery [hidden] { display: none !important; }
.lux-customer-gallery__intro { max-width: 760px; }
.lux-customer-gallery__title { font: 600 clamp(24px,3vw,36px)/1.28 var(--font-heading); letter-spacing: -.025em; }
.lux-customer-gallery__intro p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.lux-customer-gallery__controls { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 28px; }
.lux-customer-gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lux-customer-gallery button, .lux-customer-gallery select { min-height: 44px; font: 500 16px/1.4 var(--font-body); cursor: pointer; }
.lux-customer-gallery__filter { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); }
.lux-customer-gallery__filter span { font-size: 13px; }
.lux-customer-gallery__filter[aria-pressed='true'] { border-color: var(--ink); color: #fff; background: var(--ink); }
.lux-customer-gallery__sort { display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.lux-customer-gallery__sort select { width: 100%; min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); }
.lux-customer-gallery__status { min-height: 24px; margin-block: 20px 16px; color: var(--ink-2); font-size: 14px; }
.lux-customer-gallery__grid { display: grid; grid-template-columns: minmax(0,1fr); align-items: stretch; gap: 24px; margin: 0; padding: 0; list-style: none; }
.lux-customer-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lux-customer-card__media { position: relative; aspect-ratio: 4/3; background: var(--soft); }
.lux-customer-card__open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; }
.lux-customer-card__open img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lux-customer-card__kind { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 500; }
.lux-customer-card__play { position: absolute; inset: 0; display: grid; width: 60px; height: 60px; place-items: center; margin: auto; border-radius: 50%; color: #fff; background: var(--ink); }
.lux-customer-card__play .lux-ic { width: 30px; height: 30px; }
.lux-customer-card__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--ink); background: #fff; }
.lux-customer-card__navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 0; }
.lux-customer-card__navigation button { display: grid; width: 44px; height: 44px; padding: 8px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.lux-customer-card__navigation span { color: var(--ink-2); font-size: 14px; }
.lux-customer-arrow-back { transform: rotate(180deg); }
.lux-customer-card__thumbs, .lux-customer-dialog__thumbs { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 8px 4px; scrollbar-width: thin; scrollbar-color: var(--brand) var(--soft); }
.lux-customer-card__thumbs { min-height: 72px; margin: 0 16px; }
.lux-customer-card__thumbs button, .lux-customer-dialog__thumbs button { position: relative; flex: 0 0 56px; width: 56px; height: 56px; min-height: 56px; padding: 2px; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--soft); }
.lux-customer-card__thumbs button[aria-pressed='true'], .lux-customer-dialog__thumbs button[aria-pressed='true'] { border-color: var(--brand-deep); }
.lux-customer-card__thumbs img, .lux-customer-dialog__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lux-customer-card__thumbs .lux-ic, .lux-customer-dialog__thumbs .lux-ic { position: absolute; right: 2px; bottom: 2px; width: 20px; height: 20px; padding: 2px; border-radius: 4px; color: #fff; background: var(--ink); }
.lux-customer-card__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 12px 20px 20px; }
.lux-customer-card__title { margin: 0; font: 600 18px/1.4 var(--font-body); }
.lux-customer-card blockquote { margin: 14px 0 0; font-size: 17px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.lux-customer-card__detail { margin-top: 12px; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.lux-customer-card__detail strong { display: block; font-weight: 600; }
.lux-customer-card__fragment { margin-top: 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.lux-customer-card__footer { margin-top: auto; padding-top: 22px; }
.lux-customer-card__metadata { display: grid; align-items: center; gap: 6px; min-height: 48px; }
.lux-customer-card__metadata time, .lux-customer-card__unrated { color: var(--ink-2); font-size: 13px; }
.lux-customer-card__metadata .lux-stars .lux-ic { width: 17px; height: 17px; }
.lux-customer-card__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 10px; }
.lux-customer-card__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-size: 15px; text-underline-offset: 4px; }
.lux-customer-card__links .lux-ic { width: 15px; height: 15px; }
.lux-customer-card__links .lux-customer-card__source { color: var(--ink-2); font-size: 14px; }
.lux-customer-card__fallback { margin-top: 14px; font-size: 15px; }
.lux-customer-card__fallback summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
.lux-customer-card__fallback ol { padding-left: 22px; }
.lux-customer-card__fallback a { display: inline-flex; align-items: center; min-height: 44px; }
.lux-customer-gallery[data-customer-modal-ready='true'] .lux-customer-card__fallback { display: none; }
.lux-customer-gallery__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.lux-customer-gallery__bottom p { max-width: 55ch; color: var(--ink-2); font-size: 15px; }
.lux-customer-gallery__more { width: 100%; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 12px; color: #fff; background: var(--ink); }
.lux-customer-modal-open { overflow: hidden; }
.lux-customer-dialog { width: min(1180px,calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 20px; color: var(--ink); background: var(--surface); box-shadow: 0 24px 80px rgba(11,17,23,.28); }
.lux-customer-dialog[open] { display: flex; flex-direction: column; }
.lux-customer-dialog:not([open]) { display: none; }
.lux-customer-dialog::backdrop { background: rgba(11,17,23,.72); }
.lux-customer-dialog__toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.lux-customer-dialog__toolbar p { color: var(--ink-2); font-size: 14px; }
.lux-customer-dialog button { border: 1px solid transparent; border-radius: 10px; color: var(--ink); background: var(--soft); }
.lux-customer-dialog__close { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; }
.lux-customer-dialog__close .lux-ic { width: 22px; height: 22px; transform: rotate(45deg); }
.lux-customer-dialog__content { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--brand) var(--soft); }
.lux-customer-dialog__visual { min-width: 0; padding: 16px; background: var(--soft); }
.lux-customer-dialog__frame { position: relative; display: grid; place-items: center; height: min(44dvh,420px); min-height: 180px; background: #fff; }
.lux-customer-dialog__frame img, .lux-customer-dialog__frame video { display: block; width: 100%; height: 100%; max-height: min(44dvh,420px); object-fit: contain; }
.lux-customer-dialog__frame video { background: var(--ink); }
.lux-customer-dialog__error { position: absolute; inset: auto 8px 8px; padding: 12px; color: var(--ink); background: #fff; font-size: 15px; }
.lux-customer-dialog__navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.lux-customer-dialog__navigation button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fff; }
.lux-customer-dialog__navigation .lux-ic { width: 20px; height: 20px; }
.lux-customer-dialog__navigation > span { color: var(--ink-2); font-size: 13px; text-align: center; }
.lux-customer-dialog button:disabled, .lux-customer-gallery button:disabled { opacity: .4; cursor: default; }
.lux-customer-dialog__thumbs { margin-top: 10px; }
.lux-customer-dialog__file, .lux-customer-dialog__source { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; text-underline-offset: 4px; }
.lux-customer-dialog__file .lux-ic, .lux-customer-dialog__source .lux-ic { width: 16px; height: 16px; }
.lux-customer-dialog__review { min-width: 0; padding: 24px; }
.lux-customer-dialog__source-label { color: var(--ink-2); font-size: 14px; }
.lux-customer-dialog__review h2 { margin-top: 12px; font: 600 25px/1.35 var(--font-body); }
.lux-customer-dialog__metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
.lux-customer-dialog__metadata time, .lux-customer-dialog [data-customer-unrated] { color: var(--ink-2); font-size: 14px; }
.lux-customer-dialog__review blockquote { margin-top: 20px; font-size: 18px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.lux-customer-dialog__review h3 { margin-top: 20px; font: 600 17px/1.4 var(--font-body); }
.lux-customer-dialog__review h3 + p { margin-top: 6px; font-size: 17px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.lux-customer-dialog__source { margin-top: 20px; }
.lux-customer-gallery :focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; }
.lux-customer-card__open:focus-visible { outline-offset: -4px; }
.lux-customer-gallery ::selection { color: var(--ink); background: var(--brand-25); }
@media (max-width: 499px) {
    .lux-customer-gallery__sort { width: 100%; }
    .lux-customer-gallery__filters { gap: 6px; }
    .lux-customer-gallery__filter { padding-inline: 12px; }
    .lux-customer-dialog__navigation > span { display: none; }
    .lux-customer-dialog__review { padding: 20px; }
}
@media (min-width: 700px) {
    .lux-customer-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lux-customer-gallery__more { width: auto; min-width: 220px; }
}
@media (min-width: 1100px) {
    .lux-customer-gallery__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .lux-customer-dialog__content { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
    .lux-customer-dialog__visual { align-self: start; padding: 24px; }
    .lux-customer-dialog__frame { height: min(56dvh,540px); }
    .lux-customer-dialog__frame img, .lux-customer-dialog__frame video { max-height: min(56dvh,540px); }
    .lux-customer-dialog__review { padding: 28px; }
}
@media (hover:hover) {
    .lux-customer-gallery__filter:hover:not([aria-pressed='true']):not(:disabled), .lux-customer-card__navigation button:hover:not(:disabled), .lux-customer-dialog button:hover:not(:disabled) { background: var(--brand-10); }
    .lux-customer-card__links a:hover, .lux-customer-dialog a:hover { color: var(--brand-deep); }
}
@media (prefers-reduced-motion:no-preference) {
    .lux-customer-gallery button, .lux-customer-gallery select { transition: background-color .18s var(--motion),border-color .18s var(--motion),color .18s var(--motion); }
}
