.tariff-navigation { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tariff-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: #5c738b; font-size: 13px; font-weight: 600; }
.tariff-tab .tier-medallion { width: 23px; height: 23px; }
.tariff-tab[aria-current=page] { color: var(--brand); background: var(--brand-soft); border-color: #b8d3fb; box-shadow: 0 0 0 1px #b8d3fb; }
.tariff-tab[data-tier=comfort][aria-current=page] { color: #825e46; background: #f9ece3; border-color: #d8b89f; box-shadow: 0 0 0 1px #d8b89f; }
.tariff-tab[data-tier=premium][aria-current=page] { color: #806316; background: #fff7dc; border-color: #d8c173; box-shadow: 0 0 0 1px #d8c173; }
.tariff-tab:hover { filter: brightness(.98); }
.tier-empty { min-height: 90px; padding: 20px; background: #ffffff90; }
.photo-thumbnail { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f1f5fa; cursor: zoom-in; }
.photo-thumbnail > img { border-radius: 0; transition: transform 160ms ease; }
.photo-thumbnail > span { position: absolute; display: grid; place-items: center; bottom: 9px; right: 9px; width: 32px; height: 32px; color: #fff; background: #12304d99; border-radius: 10px; }
.photo-thumbnail:hover > img { transform: scale(1.025); }
.photo-gallery { width: min(1080px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #344357; border-radius: 20px; background: #111f30; color: #fff; box-shadow: 0 20px 70px #0006; }
.photo-gallery::backdrop { background: #071322d9; backdrop-filter: blur(5px); }
.gallery-shell { display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: min(800px,calc(100dvh - 34px)); }
.gallery-header,.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; }
.gallery-header { border-bottom: 1px solid #ffffff12; }
.gallery-header > div:first-child { display: flex; align-items: center; gap: 14px; }
.gallery-header strong { font-size: 16px; }
.gallery-header [data-gallery-count] { color: #b5c4d5; font-size: 13px; font-variant-numeric: tabular-nums; }
.gallery-header .icon-button,.gallery-footer .button { border-color: #ffffff24; background: #ffffff0d; color: #fff; }
.gallery-header .icon-button:hover,.gallery-footer .button:hover { background: #ffffff24; }
.gallery-header [aria-pressed=true] { background: #ffffff2d; }
.gallery-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 15px; overflow: auto; }
.gallery-stage .status-line { color: #c2d0df; font-size: 13px; }
.gallery-stage .spinner { border-color: #7c9dbc50; border-top-color: #fff; }
.gallery-stage[data-zoom=false] .gallery-image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 5px; cursor: zoom-in; }
.gallery-stage[data-zoom=true] { display: block; }
.gallery-stage[data-zoom=true] .gallery-image { width: auto; height: auto; min-width: 100%; max-width: none; max-height: none; cursor: zoom-out; }
.gallery-error { justify-items: center; text-align: center; color: #d6e1ed; font-size: 14px; }
.gallery-footer { border-top: 1px solid #ffffff12; }
.gallery-footer > span { color: #a5b8cd; font-size: 11px; }
@media (max-width:535px) {
 .tariff-navigation { gap: 7px; margin-bottom: 17px; }
 .tariff-tab { padding: 7px 11px; min-height: 43px; font-size: 12px; }
 .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .photo-gallery { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
 .gallery-shell { height: calc(100dvh - 18px); }
 .gallery-header,.gallery-footer { padding: 12px; }
 .gallery-stage { padding: 7px; }
 .gallery-footer > span { display: none; }
 .gallery-footer .button { min-height: 46px; }
}
@media (prefers-reduced-motion:reduce) { .photo-thumbnail > img { transition: none; } }
/* Use a viewport bound so tall photos fit without zooming or scrolling. */
.gallery-stage[data-zoom=false] .gallery-image { max-height: min(610px,calc(100dvh - 220px)); justify-self: center; align-self: center; }
@media (max-width:535px) { .gallery-stage[data-zoom=false] .gallery-image { max-height: calc(100dvh - 185px); } }
