body {
    background-image: url('../../shared/img/bg.png');
    background-size: cover;
    background-position: center bottom;
}
.linhas-volvo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

img {
  max-width: 100%;
}
.gallery-shell {
    position: relative;
    max-width: 420px;
    margin: auto;
    padding: 76px 40px 24px;
    min-height: 100dvh;
}
.gallery-heading { margin-bottom: 20px; }
.gallery-heading h1 {
    font-family: 'Volvo Centum', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 16px;
    text-wrap: nowrap;
}
.gallery-heading h1 span { display: inline-block; margin-left: 48px; }
.gallery-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 300;
    text-align: center;
}
.gallery-frame { position: relative; margin: 0 16px; }
.gallery-slides { touch-action: pan-y pinch-zoom; }
.gallery-photo { margin: 0; border: 2px solid #000; }
.gallery-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #ededed;
    user-select: none;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    padding: 8px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    display: grid;
    place-items: center;
}
.gallery-arrow-previous { left: -40px; }
.gallery-arrow-next { right: -40px; }
.gallery-arrow svg { width: 24px; height: 48px; stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; }
.gallery-arrow:hover { color: #ff5a00; }
.gallery-dots { display: flex; justify-content: center; gap: 0; margin: 0 0 12px; }
.gallery-dot {
    display: grid;
    place-items: center;
    width: 28px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.gallery-dot::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #000; }
.gallery-dot[aria-current='true']::before { background: #ff5a00; }
.gallery-dot:hover::before { outline: 1px solid #000; outline-offset: 3px; }
.gallery-actions { display: grid; gap: 10px; }
.gallery-actions .primary { width: 100%; min-height: 40px; padding: 6px 12px; border-radius: 0; font-size: 18px; line-height: 1.4; }
.gallery-actions .primary:hover:not(:disabled) { background: #242424; }
.gallery-actions .primary:disabled { background: #000; color: #fff; cursor: wait; }
.gallery-state {
    min-height: 420px;
    padding: 40px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.gallery-state > svg { width: 48px; height: 48px; margin-bottom: 24px; }
.gallery-state h2 { font: 500 30px / 1.1 'Volvo Centum', sans-serif; margin: 0 0 18px; }
.gallery-state p { max-width: 42ch; font-size: 14px; line-height: 1.6; }
.gallery-state small { font-size: 12px; margin-top: 12px; }
.gallery-footer { text-align: center; font-size: 11px; line-height: 1.5; padding: 28px 0 0; }
.local-preview-note { font-size: 12px; color: #7b4e14; background: #fff4dc; padding: 12px 16px; margin-bottom: 24px; }
.gallery-action-status, .gallery-share-fallback { font-size: 13px; line-height: 1.5; margin: 12px 0 0; overflow-wrap: anywhere; }
.gallery-action-status.error { color: #8a2917; }
.gallery-share-fallback input { display: block; width: 100%; margin-top: 6px; padding: 10px; background: #fff; color: #000; border: 1px solid #000; border-radius: 0; font-size: 14px; }
@media (min-width: 641px) {
    .linhas-volvo { width: 768px; max-width: 100%; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 359px) {
    .gallery-shell { padding-inline: 32px; }
    .gallery-heading h1 { font-size: 28px; }
    .gallery-heading h1 span { margin-left: 32px; }
    .gallery-heading p { font-size: 14px; }
}
