.product-gallery { padding: 64px 24px; background: radial-gradient(ellipse at 85% 65%, #18334b66, transparent 55%), #071321; color: #fff; }
.gallery-container { max-width: 1160px; margin: auto; }
.gallery-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 28px; }
.gallery-heading span { color: #ffb13b; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.gallery-heading h2 { color: #fff; margin: 12px 0 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.04em; }
.gallery-heading p { margin: 0; color: #b5c5d8; font-size: 17px; line-height: 1.7; }
.gallery-tabs { display: flex; gap: 28px; margin-bottom: 28px; border-bottom: 1px solid #ffffff24; }
.gallery-tabs[hidden], .gallery-panel[hidden], .gallery-panel button[hidden] { display: none; }
.gallery-tabs button { position: relative; min-height: 52px; padding: 12px 0 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: #71899f; border-radius: 0; font: 500 12px Inter, sans-serif; cursor: pointer; text-align: left; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.gallery-tabs button span { margin-left: 12px; font-size: 16px; font-weight: 600; color: #dae4ee; }
.gallery-tabs button:hover span { color: #fff; }
.gallery-tabs button[aria-selected="true"] { background: transparent; border-color: #ffb13b; color: #ffb13b; }
.gallery-tabs button[aria-selected="true"] span { color: #ffbe5c; }
.gallery-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.5fr); gap: 30px; align-items: center; margin: 0 0 24px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.gallery-panel figcaption { display: flex; flex-direction: column; justify-content: center; gap: 24px; align-items: flex-start; padding: 12px 0; }
.gallery-panel figcaption span { display: block; color: #8fa9c3; font-size: 12px; line-height: 1.6; }
.gallery-panel h3 { margin: 12px 0; color: #fff; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; letter-spacing: -.025em; }
.gallery-panel p { max-width: 820px; margin: 0; color: #b5c5d8; font-size: 15px; line-height: 1.65; }
.gallery-panel button, .gallery-lightbox button { flex-shrink: 0; min-height: 44px; padding: 10px 16px; border: 1px solid #748ba1; border-radius: 8px; background: transparent; color: #fff; font: 600 14px Inter, sans-serif; cursor: pointer; }
.gallery-panel button { border-color: #ffb13b55; color: #ffbe5c; background: #ffb13b08; }
.gallery-panel button:hover { border-color: #ffb13b; background: #ffb13b14; }
.gallery-image-link { display: block; min-width: 0; overflow: hidden; border: 1px solid #ffffff30; border-radius: 10px; background: transparent; box-shadow: 0 20px 50px #00000038; cursor: zoom-in; transition: border-color .18s ease; }
.gallery-image-link:hover { border-color: #ffb13b99; }
.gallery-image-link img { display: block; width: 100%; height: auto; max-height: none; }
.gallery-footnote { margin: 16px 0 0; color: #8ba0b5; font-size: 12px; line-height: 1.6; text-align: right; }
.gallery-lightbox { width: min(96vw, 1800px); max-width: 96vw; max-height: 94dvh; padding: 0; border: 1px solid #536b82; border-radius: 14px; background: #102134; color: white; }
.gallery-lightbox::backdrop { background: #020810e8; }
.gallery-lightbox-bar { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 16px 22px; }
.gallery-lightbox-scroll { max-height: 75dvh; overflow: auto; background: #eef3f8; }
.gallery-lightbox img { display: block; width: 100%; min-width: 1200px; height: auto; }
.gallery-lightbox > p { margin: 0; padding: 12px 22px; color: #b5c5d8; font-size: 13px; }
@media (max-width: 900px) {
  .gallery-panel { grid-template-columns: 1fr; gap: 18px; }
  .gallery-panel figcaption { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .gallery-panel figcaption > div { max-width: 580px; }
  .gallery-panel figcaption button { white-space: nowrap; }
}
@media (max-width: 700px) {
  .product-gallery { padding: 42px 18px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 20px; }
  .gallery-heading p { font-size: 15px; }
  .gallery-tabs { gap: 16px; overflow-x: auto; margin-bottom: 20px; }
  .gallery-tabs button { min-height: 48px; padding: 10px 0; font-size: 0; }
  .gallery-tabs button span { font-size: 14px; margin-left: 0; }
  .gallery-panel figcaption { display: block; padding: 0; }
  .gallery-panel h3 { font-size: 22px; }
  .gallery-panel figcaption button { margin-top: 16px; }
  .gallery-image-link img { min-width: 0; max-height: none; }
  .gallery-footnote { text-align: left; }
  .gallery-lightbox-bar { padding: 12px; font-size: 13px; }
}
