/*
   Vegenergy Finder visual adapter
   Reference: Linktree v1.4.1.8
   Scope: visual styling only. Search, map, consent and footer behaviour stay unchanged.
*/

:root {
    --vg-primary: #163a16;
    --vg-primary-soft: #21421f;
    --vg-primary-dark: #142b13;
    --vg-bg: #163a16;
    --vg-text: #ffffff;
    --vg-muted: rgba(255, 255, 255, 0.75);
    --vg-border: rgba(255, 255, 255, 0.12);
    --vg-gold: #d4aa50;
    --vg-gold-light: #e0bd70;
    --vg-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    --vg-radius: 12px;
}

html,
body {
    background-color: #163a16;
}

body {
    line-height: 1.5;
    background-image:
        var(--vg-noise),
        radial-gradient(rgb(22, 58, 22) 5%, rgb(22, 58, 22) 33%, rgb(22, 58, 22) 93%);
    background-size: 200px 200px, auto;
    background-repeat: repeat, no-repeat;
    background-blend-mode: overlay, normal;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Use the locally bundled Cabin font across Finder and its shared UI surfaces. */
body,
body button,
body input,
body textarea,
body select,
body optgroup,
body option,
body .veg-footer,
body .veg-footer *,
body .vegdrawer-root,
body .vegdrawer-root * {
    font-family: 'Cabin', Arial, sans-serif;
}

/* Header follows the same quiet, flat card language as the Linktree cards. */
header {
    background-color: #163a16;
    background-image: var(--vg-noise);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0s linear 0s, box-shadow 0.4s ease;
}

/* Hide the complete header, including any remaining mobile-safe-area pixels. */
header.header-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0s linear 0.4s, box-shadow 0.4s ease;
}

.header-inner {
    max-width: 1100px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Give the close control more breathing room before the menu divider. */
.mobile-nav-header {
    padding-bottom: 1.75rem;
}

.burger-menu {
    width: 44px;
    height: 44px;
    background: #21421f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: none;
}

.burger-menu:hover {
    background: #2a5429;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.burger-menu.active {
    background: #2a5429;
    border-color: rgba(212, 170, 80, 0.55);
    box-shadow: none;
    border-radius: 8px;
}

/* Keep the legacy menu markup as disciplined as the current icon row. */
.mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0.75rem 1.25rem;
}

.mobile-social-grid a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    min-width: 0;
    min-height: 52px;
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-social-grid a:hover,
.mobile-social-grid a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 170, 80, 0.45);
    color: var(--vg-gold-light);
}

.mobile-social-grid svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.mobile-social-grid a:nth-child(4) svg,
.mobile-social-grid a:nth-child(5) svg {
    fill: currentColor;
    stroke: none;
}

/* The Finder starts with the same centered column width as Linktree. */
.hero-section {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.hero-content {
    max-width: 432px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-subtitle {
    max-width: 320px;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.5;
}

.view-search {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-content .primary-search,
.hero-content .alternative-search {
    width: 100%;
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--vg-shadow);
}

.primary-search,
.alternative-search {
    gap: 0.75rem;
}

.primary-search h3,
.alternative-search h4 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.primary-search h3 {
    font-size: 1.2rem;
}

.alternative-search h4 {
    font-size: 1.05rem;
}

.primary-search p,
.alternative-search p {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.45;
}

.search-divider {
    width: 100%;
    min-height: 1rem;
    gap: 0.75rem;
    margin: 0;
}

.search-divider::before,
.search-divider::after {
    background: rgba(255, 255, 255, 0.12);
}

.search-divider span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* Linktree uses dark green action surfaces with small, restrained accents. */
#gpsBtn,
#searchBtn,
.btn-route,
.btn-back-search,
.btn-online-shop {
    background: #264d24;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: none;
}

#gpsBtn {
    width: min(100%, 280px);
    min-width: 0;
    min-height: 52px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

#gpsBtn:hover,
#searchBtn:hover,
.btn-route:hover,
.btn-back-search:hover,
.btn-online-shop:hover {
    background: #2e5a2c;
    border-color: rgba(255, 255, 255, 0.26);
    color: #ffffff;
    box-shadow: none;
}

#gpsBtn:active,
#searchBtn:active,
.btn-route:active,
.btn-back-search:active,
.btn-online-shop:active {
    background: #21421f;
}

#gpsBtn:focus,
#searchBtn:focus,
.btn-route:focus,
.btn-back-search:focus,
.btn-online-shop:focus {
    outline: 2px solid rgba(212, 170, 80, 0.85);
    outline-offset: 2px;
}

/* The location action is the primary CTA and keeps the Vegenergy gold accent. */
#gpsBtn {
    background: var(--vg-gold);
    border-color: var(--vg-gold);
    color: var(--vg-primary);
}

#gpsBtn:hover,
#gpsBtn:focus-visible {
    background: var(--vg-gold-light);
    border-color: var(--vg-gold-light);
    color: var(--vg-primary);
}

#gpsBtn:active,
#gpsBtn:disabled,
#gpsBtn.loading {
    background: var(--vg-gold);
    border-color: var(--vg-gold);
    color: var(--vg-primary);
}

/* The GPS button already has its own border. Remove the extra focus ring
   so it does not look like a second outer border. */
#gpsBtn:focus,
#gpsBtn:focus-visible {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

#searchBtn {
    width: 100%;
    min-height: 52px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.manual-search-container {
    flex-direction: column;
    gap: 0.75rem;
}

#addressInput {
    min-height: 52px;
    padding: 1rem 1rem 1rem 3rem;
    background: #142b13;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
}

#addressInput:focus {
    background: #142b13;
    border-color: rgba(212, 170, 80, 0.65);
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

#addressInput::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.search-suggestions {
    background: #142b13;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.suggestion-item {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.suggestion-item:hover,
.suggestion-item.highlighted {
    background: #21421f;
}

.suggestion-item.suggestion-status {
    color: rgba(255, 255, 255, 0.58);
    cursor: default;
}

.suggestion-item.suggestion-status:hover {
    background: transparent;
}

/* Description card: one surface, no nested card inside it. */
body .hero-description {
    max-width: 100%;
    margin-top: 1rem;
    padding: 1.25rem;
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--vg-shadow);
}

.hero-description h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.hero-description h3:not(:first-child) {
    margin-top: 1.25rem;
}

body .finder-intro {
    margin: 0 0 1.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.hero-description ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-description li {
    position: relative;
    padding-left: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--vg-primary);
    font-weight: 700;
}

.hero-description strong {
    color: #ffffff;
    font-weight: 600;
}

/* Loading, empty and error states share the same card surface. */
.loading-animation,
body .error-message,
body .no-results,
body .gps-message,
body .gps-prompt,
body .initial-tip,
body .gps-loading-message,
body .ios-location-help,
body .alternative-options,
body .search-help,
body .browser-help,
body .https-help {
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--vg-shadow);
}

.loading-animation {
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
}

/* Finder location loader follows the Aktion ring language: a centered pin,
   a moving gold ring and a final light pulse at the end of each cycle. */
.finder-location-loader {
    display: grid;
    width: 184px;
    height: 184px;
    place-items: center;
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 66, 31, 0.62) 0%, rgba(33, 66, 31, 0.18) 48%, transparent 72%);
    box-shadow: none;
}

.finder-location-loader::before {
    display: none;
}

.finder-location-loader__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: var(--vg-gold);
    pointer-events: none;
}

.finder-location-loader__ring-base,
.finder-location-loader__ring-active {
    fill: none;
    stroke-linecap: round;
}

.finder-location-loader__ring-base {
    stroke: rgba(212, 170, 80, 0.2);
    stroke-width: 1.5;
}

.finder-location-loader__ring-active {
    stroke: currentColor;
    stroke-width: 5;
    stroke-dasharray: 13 87;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 4px rgba(212, 170, 80, 0.35));
    transform: rotate(-90deg);
    transform-box: view-box;
    transform-origin: center;
}

.finder-location-loader__aura {
    position: absolute;
    z-index: 0;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 189, 79, 0.42) 0%, rgba(230, 189, 79, 0.16) 38%, rgba(230, 189, 79, 0) 72%);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.62);
}

.finder-location-loader__icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: #ffffff;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
}

.finder-location-loader__icon svg {
    display: block;
    width: 56px;
    height: 56px;
    overflow: visible;
}

.finder-location-loader__icon path {
    fill: rgba(212, 170, 80, 0.18);
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.finder-location-loader__icon circle {
    fill: currentColor;
    stroke: none;
}

.view-loading.active .finder-location-loader {
    animation: finder-location-loader-enter 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.view-loading.active .finder-location-loader__ring-active {
    animation:
        finder-location-ring-intro 520ms ease-out both,
        finder-location-ring-rotate 1.8s 520ms linear infinite,
        finder-location-ring-morph 1.65s 520ms ease-in-out infinite;
}

.view-loading.active .finder-location-loader__icon {
    animation: finder-location-icon-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both,
        finder-location-icon-charge 3.2s ease-in-out 560ms infinite;
}

.view-loading.active .finder-location-loader__aura {
    animation: finder-location-aura 3.2s ease-out 560ms infinite;
}

@keyframes finder-location-loader-enter {
    0% {
        opacity: 0;
        transform: scale(0.74);
    }

    68% {
        opacity: 1;
        transform: scale(1.035);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes finder-location-icon-enter {
    0% {
        opacity: 0;
        transform: scale(0.42);
    }

    68% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes finder-location-ring-intro {
    0% {
        opacity: 0;
        stroke-dasharray: 0 100;
    }

    42% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        stroke-dasharray: 13 87;
    }
}

@keyframes finder-location-ring-rotate {
    from {
        transform: rotate(-90deg);
    }

    to {
        transform: rotate(270deg);
    }
}

@keyframes finder-location-ring-morph {
    0%,
    100% {
        stroke-dasharray: 13 87;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 42 58;
        stroke-dashoffset: -18;
    }
}

@keyframes finder-location-icon-charge {
    0%,
    58% {
        filter: drop-shadow(0 0 0 rgba(212, 170, 80, 0));
    }

    72% {
        filter: brightness(1.2) drop-shadow(0 0 7px rgba(212, 170, 80, 0.98)) drop-shadow(0 0 17px rgba(212, 170, 80, 0.66));
    }

    84% {
        filter: brightness(1.03) drop-shadow(0 0 2px rgba(212, 170, 80, 0.32));
    }

    100% {
        filter: drop-shadow(0 0 4px rgba(212, 170, 80, 0.86)) drop-shadow(0 0 12px rgba(212, 170, 80, 0.46));
    }
}

@keyframes finder-location-aura {
    0%,
    58% {
        opacity: 0;
        transform: scale(0.62);
    }

    72% {
        opacity: 0.9;
        transform: scale(1.16);
    }

    100% {
        opacity: 0.46;
        transform: scale(1);
    }
}

body .error-message {
    border-color: rgba(255, 107, 107, 0.28);
}

body .https-help {
    border-color: rgba(212, 170, 80, 0.3);
}

/* The shared footer injects the chat into this host. Hide the complete host
   only while the Finder displays search results. */
body.finder-results-active #vegenergy-chat-widget {
    display: none !important;
}

/* Results keep the Linktree card proportions while retaining the Finder grid. */
.view-results {
    width: 100%;
}

.results-container {
    max-width: 800px;
    gap: 1rem;
    margin: 0 auto;
    padding-top: clamp(3rem, 5vw, 4rem);
}

.results-container > h2 {
    margin: 0.25rem 0 0.5rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.results-layout {
    gap: 1rem;
    margin-top: 0;
}

.results-top,
.results-bottom {
    max-width: 800px;
    padding: 0;
}

.results-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.result-item,
.result-item-highlighted,
body .online-shop-hint {
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--vg-shadow);
}

.result-item {
    padding: 1rem;
}

.result-item-highlighted {
    max-width: 400px;
    padding: 1.25rem;
    border-color: rgba(212, 170, 80, 0.55);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.results-top .result-item-highlighted,
.results-bottom .result-item {
    width: 100%;
    max-width: none;
    height: auto;
}

.results-bottom .result-actions,
.results-bottom .btn-route {
    width: 100%;
}

.results-container .btn-route:hover,
.results-container .btn-route:focus-visible {
    background: var(--vg-gold-light);
    border-color: var(--vg-gold-light);
    color: var(--vg-primary);
}

.results-container .btn-route:active {
    background: var(--vg-gold);
    border-color: var(--vg-gold);
    color: var(--vg-primary);
}

.result-item-highlighted::after {
    display: none;
}

.result-badge {
    top: -0.65rem;
    padding: 0.3rem 0.8rem;
    height: 1.5rem;
    background: var(--vg-gold);
    border: 1px solid var(--vg-gold);
    border-radius: 8px;
    color: var(--vg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.result-content {
    align-items: stretch;
    padding-top: 0.25rem;
    text-align: left;
}

.result-content h3,
.result-content .result-distance,
.result-content .result-category {
    text-align: left;
}

.result-content .result-address {
    justify-content: flex-start;
    text-align: left;
}

.result-actions {
    justify-content: flex-start;
    margin-top: 1rem;
}

.result-item-highlighted .result-content {
    align-items: stretch;
    text-align: left;
}

.result-item-highlighted .result-content h3,
.result-item-highlighted .result-content .result-distance,
.result-item-highlighted .result-content .result-category {
    text-align: left;
}

.result-item-highlighted .result-content .result-address {
    justify-content: flex-start;
    text-align: left;
}

.result-item-highlighted .result-actions {
    width: 100%;
    justify-content: stretch;
}

.result-item-highlighted .btn-route {
    width: 100%;
}

/* The top-result CTA already has its own visible border. Remove the extra
   browser focus ring so it does not look like a second outer border. */
.result-item-highlighted .btn-route:focus,
.result-item-highlighted .btn-route:focus-visible {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

.result-item-highlighted .result-badge {
    left: 50%;
    transform: translateX(-50%);
}

body .online-shop-hint {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

/* Content below the Finder follows the same section rhythm and card surfaces. */
main .container {
    max-width: 1000px;
    padding-left: 1rem;
    padding-right: 1rem;
}

body .seo-stores-fallback {
    max-width: 800px;
    margin: 1rem auto;
    padding: 1.25rem;
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--vg-shadow);
    text-align: left;
}

.seo-stores-fallback h2 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
}

.seo-stores-fallback p,
.seo-stores-fallback li {
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

.seo-stores-fallback ul {
    text-align: left;
}

.seo-stores-fallback li::before {
    color: var(--vg-gold);
}

.seo-stores-fallback a,
.faq-item a {
    color: var(--vg-gold);
}

.seo-stores-fallback a:hover,
.faq-item a:hover {
    color: var(--vg-gold-light);
}

body .faq-section {
    max-width: 800px;
    padding: 2rem 0 3rem;
}

.faq-section h2 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

body .faq-item {
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
    background: #21421f;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: none;
    text-align: left;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

body .btn-alternative,
body .btn-suggestion,
body .error-message .btn-suggestion {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
}

body .btn-alternative:hover,
body .btn-suggestion:hover,
body .error-message .btn-suggestion:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

@media (min-width: 769px) {
    .hero-content .primary-search,
    .hero-content .alternative-search,
    body .hero-description,
    .result-item,
    .result-item-highlighted,
    body .seo-stores-fallback,
    body .faq-item {
        transition: border-color 0.2s ease, background 0.2s ease;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0 2rem;
    }

    body .hero-description {
        margin-top: 2rem;
    }

    .hero-content {
        width: calc(100% - 10px);
        max-width: 800px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-subtitle {
        margin-bottom: 1.25rem;
    }

    .view-state,
    .view-results,
    .results-container,
    .results-top,
    .results-bottom {
        width: 100%;
    }

    .results-container > h2,
    .results-top,
    .results-bottom {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-content .error-message,
    .hero-content .no-results,
    .hero-content .gps-message,
    .hero-content .gps-prompt,
    .hero-content .initial-tip,
    .hero-content .gps-loading-message,
    .hero-content .ios-location-help,
    .hero-content .alternative-options,
    .hero-content .search-help,
    .hero-content .browser-help,
    .hero-content .https-help,
    .hero-content .online-shop-hint {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-content .error-message,
    .hero-content .no-results,
    .hero-content .gps-message,
    .hero-content .gps-prompt,
    .hero-content .initial-tip,
    .hero-content .gps-loading-message,
    .hero-content .ios-location-help,
    .hero-content .alternative-options,
    .hero-content .search-help,
    .hero-content .browser-help,
    .hero-content .https-help,
    .hero-content .cookie-settings-hint {
        padding: 1rem;
    }

    .hero-content .location-help,
    .hero-content .cookie-settings-hint,
    .hero-content .alternative-options,
    .hero-content .search-help,
    .hero-content .browser-help,
    .hero-content .https-help {
        max-width: none;
    }

    .hero-content .alternative-options .btn-alternative,
    .hero-content .alternative-options .btn-online-shop,
    .hero-content .search-help .btn-suggestion,
    .hero-content .no-results-actions .btn-suggestion,
    .hero-content .no-results-actions .btn-online-shop,
    .hero-content .cookie-settings-hint .btn-cookie-settings,
    .hero-content .btn-back-search,
    .hero-content .btn-gps-retry {
        display: flex;
        width: 100%;
        max-width: none;
        margin: 0.5rem 0;
        align-items: center;
        justify-content: center;
    }

    main .container {
        width: calc(100% - 10px);
        max-width: 800px;
        padding-left: 0;
        padding-right: 0;
    }

    body .seo-stores-fallback {
        max-width: 100%;
        margin: 1rem 0;
        padding: 1rem;
    }

    body .faq-section {
        max-width: 100%;
        padding: 2rem 0;
    }

    .results-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-content .primary-search,
    .hero-content .alternative-search,
    body .hero-description {
        padding: 1rem;
    }

    .mobile-social-grid {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .mobile-social-grid a {
        gap: 0.5rem;
        min-height: 48px;
        padding: 0.65rem 0.7rem;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .mobile-social-grid svg {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .finder-location-loader {
        width: 164px;
        height: 164px;
    }

    .finder-location-loader__icon svg {
        width: 52px;
        height: 52px;
    }

    .primary-search h3 {
        font-size: 1.1rem;
    }

    .alternative-search h4 {
        font-size: 1rem;
    }

    .result-item,
    .result-item-highlighted,
    body .faq-item {
        padding: 1rem;
    }

    .result-item-highlighted .result-badge {
        left: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .finder-location-loader,
    .finder-location-loader__ring-active,
    .finder-location-loader__icon,
    .finder-location-loader__aura {
        animation: none !important;
    }

    .finder-location-loader__ring-active {
        opacity: 1;
        stroke-dasharray: 42 58;
        stroke-dashoffset: -18;
        transform: rotate(-90deg);
    }

    .finder-location-loader__icon {
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(212, 170, 80, 0.86)) drop-shadow(0 0 12px rgba(212, 170, 80, 0.46));
    }

    .finder-location-loader__aura {
        opacity: 0.46;
        transform: scale(1);
    }

    .hero-content .primary-search,
    .hero-content .alternative-search,
    body .hero-description,
    .result-item,
    .result-item-highlighted,
    body .seo-stores-fallback,
    body .faq-item {
        transition: none;
    }
}
