.procam-store .page-footer:has(.procam-site-footer) {
    --pc-footer-ink: #f5f3f6;
    --pc-footer-muted: #cbc6d0;
    --pc-footer-secondary: #aaa5b2;
    --pc-footer-line: rgb(250 244 255 / 13%);
    --pc-footer-hover: rgb(250 244 255 / 7%);
    --pc-footer-selected: rgb(250 244 255 / 10%);
    --pc-footer-mid: #17171b;
    --pc-footer-particle: color-mix(in srgb, var(--procam-accent) 72%, white);
    --pc-footer-particle-highlight: color-mix(in srgb, var(--procam-accent) 44%, white);
    position: relative;
    isolation: isolate;
    --pc-footer-top-space: clamp(20px, 2.1vw, 32px);
    --pc-footer-bottom-space: clamp(12px, 1.4vw, 22px);
    box-sizing: border-box;
    padding-block: var(--pc-footer-top-space) var(--pc-footer-bottom-space);
    background: #000;
    border: 0;
    color: var(--pc-footer-ink);
}

@supports (color: oklch(from red .65 .19 h)) {
    .procam-store .page-footer:has(.procam-site-footer) {
        --pc-footer-particle: oklch(from var(--procam-accent) .61 .21 h);
        --pc-footer-particle-highlight: oklch(from var(--procam-accent) .68 .19 calc(h - 4));
    }
}

.pc-footer-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: var(--pc-footer-particle);
}

.procam-store .page-footer .footer.content:has(.procam-site-footer) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1528px;
    padding-block: 0;
    padding-inline: clamp(22px, 3.6vw, 54px);
    border: 0;
    background: transparent;
}

.procam-site-footer {
    display: grid;
    min-width: 0;
    gap: clamp(4px, .65vw, 10px);
}

.pc-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 4px;
    border-radius: var(--procam-control-radius, 10px);
}

.pc-footer-logo img {
    display: block;
    width: auto;
    height: 31px;
}

.pc-footer-icon {
    flex: none;
    display: block;
}

.procam-store .procam-site-footer a {
    color: inherit;
    text-decoration: none;
}

.procam-store a.pc-footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--procam-control-radius, 10px);
    background: transparent;
    color: var(--pc-footer-ink);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.2;
}

.procam-store a.pc-footer-contact:hover {
    background: var(--pc-footer-selected);
    color: white;
}

.pc-footer-contact .pc-footer-contact-arrow {
    width: 15px;
    height: 15px;
}

.pc-footer-directory {
    min-width: 0;
    padding-block-end: clamp(4px, .6vw, 9px);
    border-bottom: 1px solid var(--pc-footer-line);
}

.pc-footer-sections {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
    justify-items: center;
    gap: clamp(3px, .65vw, 9px);
}

.pc-footer-short-label {
    display: none;
}

.procam-store .pc-footer-section {
    display: flex;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 8px clamp(10px, 1.4vw, 20px);
    border: 0;
    border-radius: var(--procam-inset-radius, 16px);
    background: transparent;
    box-shadow: none;
    color: var(--pc-footer-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.2;
    text-align: start;
    cursor: pointer;
}

.procam-store .pc-footer-section:hover {
    background: var(--pc-footer-hover);
    color: var(--pc-footer-ink);
}

.procam-store .pc-footer-section[aria-expanded="true"] {
    background: var(--pc-footer-selected);
    color: white;
}

.pc-footer-section .pc-footer-icon {
    color: var(--pc-footer-muted);
}

.pc-footer-section .pc-footer-chevron {
    width: 15px;
    height: 15px;
    flex: none;
    transition: transform 160ms ease;
}

.pc-footer-section[aria-expanded="true"] .pc-footer-chevron {
    transform: rotate(180deg);
}

.pc-footer-panel[hidden] {
    display: none;
}

.pc-footer-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: clamp(7px, 1vw, 14px);
    margin-block-start: 4px;
    padding: clamp(6px, 1vw, 12px);
}

.procam-site-footer .pc-footer-tile {
    display: grid;
    align-content: start;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 104px;
    justify-items: center;
    padding: clamp(10px, 1.4vw, 20px);
    border-radius: var(--procam-control-radius, 10px);
    text-align: center;
    color: var(--pc-footer-ink);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.procam-site-footer a.pc-footer-tile:hover {
    color: white;
}

.pc-footer-tile > .pc-footer-icon {
    width: clamp(31px, 3vw, 42px);
    height: clamp(31px, 3vw, 42px);
    color: var(--pc-footer-muted);
    transition: color 160ms ease;
}

.pc-footer-tile:hover > .pc-footer-icon,
.pc-footer-tile:focus-visible > .pc-footer-icon {
    color: var(--pc-footer-ink);
}

.pc-footer-tile small,
.pc-footer-tile dl {
    display: block;
    margin: 3px 0 0;
    color: var(--pc-footer-muted);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.3;
}

.pc-footer-tile dl div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
}

.pc-footer-tile :is(dt, dd) {
    margin: 0;
    font-weight: 400;
}

.pc-footer-panel--help .pc-footer-tile {
    min-height: 112px;
}

.pc-footer-meta,
.pc-footer-legal,
.pc-footer-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

.pc-footer-meta {
    justify-content: space-between;
    gap: 0 16px;
}

.pc-footer-legal {
    column-gap: clamp(10px, 1.5vw, 20px);
    color: var(--pc-footer-secondary);
    font-size: 13px;
}

.pc-footer-legal small {
    font-size: inherit;
}

.procam-site-footer .pc-footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 6px;
    border-radius: var(--procam-control-radius, 10px);
}

.pc-footer-policies {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.25;
}

.pc-footer-policies > span {
    opacity: .64;
}

.procam-site-footer .pc-footer-policies a:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pc-footer-tools {
    column-gap: 12px;
}

.pc-footer-preference {
    position: relative;
    flex: none;
}

.pc-footer-preference > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding-inline: 8px;
    border-radius: var(--procam-control-radius, 10px);
    list-style: none;
    color: var(--pc-footer-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 450;
}

.pc-footer-preference > summary::-webkit-details-marker {
    display: none;
}

.pc-footer-preference > summary:hover {
    background: var(--pc-footer-hover);
    color: white;
}

.pc-footer-preference .pc-footer-chevron {
    width: 14px;
    height: 14px;
}

.pc-footer-preference[open] .pc-footer-chevron {
    transform: rotate(180deg);
}

.procam-site-footer .pc-footer-preference .procam-theme-switch:not([hidden]) {
    position: absolute;
    z-index: 2;
    inset-block-end: calc(100% + 6px);
    inset-inline-start: 0;
    padding: 7px;
    border: 1px solid var(--pc-footer-line);
    border-radius: var(--procam-inset-radius, 16px);
    background: var(--pc-footer-mid);
    box-shadow: 0 6px 18px rgb(0 0 0 / 20%);
}

.procam-site-footer .pc-footer-preference .procam-theme-switch > span {
    display: none;
}

.pc-footer-social {
    display: flex;
    align-items: center;
}

.procam-site-footer :is(.pc-footer-social a, .pc-footer-top) {
    display: grid;
    width: 44px;
    height: 44px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    color: var(--pc-footer-muted);
}

.procam-site-footer :is(.pc-footer-social a, .pc-footer-top):hover {
    background: var(--pc-footer-hover);
    color: white;
}

.procam-site-footer :is(a, button, summary):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.procam-store .pc-footer-section:focus-visible {
    outline-offset: -4px;
}

@media (max-width: 767px) {
    .procam-store .page-footer:has(.procam-site-footer) {
        --pc-footer-top-space: 16px;
        --pc-footer-bottom-space: max(10px, env(safe-area-inset-bottom, 0px));
    }

    .procam-site-footer {
        gap: 7px;
    }

    .pc-footer-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-footer-meta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px 44px auto;
        column-gap: 0;
    }

    .pc-footer-meta :is(.pc-footer-legal, .pc-footer-tools) {
        display: contents;
    }

    .pc-footer-policies {
        grid-area: 1 / 1 / 2 / 4;
    }

    .pc-footer-meta .pc-footer-preference {
        grid-area: 1 / 4;
        justify-self: end;
    }

    .procam-site-footer .pc-footer-preference .procam-theme-switch:not([hidden]) {
        inset-inline: auto 0;
    }

    .pc-footer-legal small {
        grid-area: 2 / 1;
    }

    .pc-footer-social {
        grid-area: 2 / 2 / 3 / 4;
    }

    .pc-footer-top {
        grid-area: 2 / 4;
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .procam-store .pc-footer-section {
        display: grid;
        justify-items: center;
        width: 100%;
        grid-template-rows: 19px auto;
        align-content: center;
        gap: 4px;
        padding: 5px 4px;
        font-size: 12px;
        line-height: 1.15;
        text-align: center;
    }

    .pc-footer-logo {
        box-sizing: border-box;
    }

    .pc-footer-section .pc-footer-icon {
        width: 19px;
        height: 19px;
    }

    .pc-footer-section .pc-footer-label-extra,
    .pc-footer-section .pc-footer-full-label,
    .pc-footer-section .pc-footer-chevron {
        display: none;
    }

    .pc-footer-section .pc-footer-short-label {
        display: inline;
    }

    .procam-site-footer .pc-footer-tile {
        min-height: 74px;
        gap: 6px;
        font-size: 13px;
    }

    .pc-footer-panel--help :is(.pc-footer-tile--email, .pc-footer-tile--hours) {
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        gap: 12px;
        min-height: 0;
        text-align: start;
    }

    .pc-footer-logo img {
        height: 27px;
    }

    .procam-store a.pc-footer-contact {
        width: 44px;
        padding: 0;
    }

    .pc-footer-contact :is(.pc-footer-contact-label, .pc-footer-contact-arrow) {
        display: none;
    }

    .procam-site-footer .procam-theme-switch {
        gap: 7px;
    }

    .procam-site-footer .procam-theme-options button {
        padding-inline: 8px;
    }

    .pc-footer-tile dl div {
        justify-content: flex-start;
    }
}

@media (max-width: 400px) and (max-height: 640px) {
    .procam-site-footer .pc-footer-panel--help {
        gap: 4px;
        padding: 4px 0;
    }

    .procam-site-footer .pc-footer-panel--help .pc-footer-tile {
        grid-template-columns: 24px minmax(0, 1fr);
        justify-items: start;
        align-items: center;
        align-content: center;
        gap: 7px;
        min-height: 44px;
        padding: 4px 2px;
        text-align: start;
    }

    .pc-footer-panel--help .pc-footer-tile > .pc-footer-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 360px) {
    .pc-footer-legal,
    .pc-footer-policies {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-footer-section .pc-footer-chevron,
    .pc-footer-tile > .pc-footer-icon {
        transition: none;
    }

}
