/**
 * Highguest footer — Legale Bento, trust row, authentic badge, grain.
 */

.site-footer--highguest {
    position: relative;
    margin-top: 0;
    padding: var(--space-6) var(--space-3) var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #000000;
    overflow: hidden;
}

/* Film grain — zelfde idee als body Highguest, lokaal op footer */
.site-footer--highguest::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.site-footer--highguest .site-footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.35rem, 4vw, 2.25rem);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.site-footer--highguest .footer-accent {
    position: relative;
    z-index: 1;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 65, 0.2) 50%,
        transparent 100%
    );
    box-shadow: 0 0 16px rgba(0, 255, 65, 0.15);
}

/* —— 1. Legale Bento (ook zonder .site-footer — Highguest) —— */
.hg-footer-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 0;
    background: #1a1a1a;
    border: 1px solid #1f1f1f;
    border-radius: 2px;
    box-sizing: border-box;
}

.site-footer--highguest .hg-footer-bento {
    margin: 0;
}

@media (min-width: 768px) {
    .hg-footer-bento {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hg-footer-bento__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 0.75rem;
    margin: 0;
    background: #000000;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        color 0.2s ease,
        text-shadow 0.25s ease;
}

.hg-footer-bento__cell:hover,
.hg-footer-bento__cell:focus-visible {
    color: #00ff41;
    text-shadow:
        0 0 10px rgba(0, 255, 65, 0.75),
        0 0 22px rgba(0, 255, 65, 0.35);
    outline: none;
}

/* —— 2. Trust row (payment / shipping zoals gebruikelijk: lichte “card”-pills op donkere footer) —— */
.site-footer--highguest .hg-trust,
.site-footer__payment-trust .hg-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.65rem;
    margin: 0;
    width: 100%;
    max-width: 52rem;
    box-sizing: border-box;
}

.site-footer:not(.site-footer--highguest) .site-footer__payment-trust {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto var(--space-4, 1.5rem);
    padding: 0 var(--space-2, 0.75rem);
    box-sizing: border-box;
}

.hg-trust__group {
    flex: 0 0 100%;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 480px) {
    .site-footer--highguest .hg-trust__group,
    .site-footer__payment-trust .hg-trust__group {
        flex: 0 0 auto;
        width: auto;
        padding: 0 0.35rem;
    }
}

.hg-trust__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 2.35rem;
    padding: 0.4rem 0.75rem;
    color: #141820;
    background: #f4f5f7;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 1px 3px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.hg-trust__item:hover,
.hg-trust__item:focus-within {
    transform: translateY(-1px);
    border-color: rgba(0, 255, 65, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 2px 8px rgba(0, 255, 65, 0.2);
}

.hg-trust__item--pay {
    background: #ffffff;
}

.hg-trust__item--ship {
    background: #eef1f4;
    color: #182028;
}

.hg-trust__icon {
    display: block;
    height: 30px;
    width: auto;
}

/* —— 3. Authentic badge (ook product; footer krijgt lay-out override) —— */
.hg-authentic-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    max-width: 26rem;
    border: 1px solid rgba(0, 255, 65, 0.45);
    border-radius: 999px;
    background: rgba(0, 255, 65, 0.04);
    box-sizing: border-box;
}

.site-footer--highguest .hg-authentic-badge {
    display: flex;
    margin: 0;
    width: 100%;
    max-width: min(26rem, 100%);
}

.hg-authentic-badge__seal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 65, 0.5);
    color: #00ff41;
    background: rgba(0, 0, 0, 0.6);
}

.hg-authentic-badge__wing {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

.hg-authentic-badge__text {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a9a8e;
    line-height: 1.35;
    text-align: left;
}

/* Product: onder add-to-cart */
.woocommerce .hg-authentic-badge--product {
    margin: var(--space-3) 0 0;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
}

.site-footer--highguest .footer-nav {
    width: 100%;
    max-width: 48rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    box-sizing: border-box;
}

.site-footer--highguest .petjes-social {
    margin: 0;
    width: 100%;
    max-width: 36rem;
    box-sizing: border-box;
}

.site-footer--highguest .site-footer__tagline {
    margin: 0;
    max-width: 36rem;
    color: #6a7a6e;
}

.site-footer--highguest .site-footer__credits {
    margin: 0;
    max-width: min(38rem, 100%);
    padding-inline: var(--space-2);
    box-sizing: border-box;
    color: #6a7a6e;
    text-wrap: balance;
}

.site-footer--highguest .footer-nav a {
    color: #555;
}

.site-footer--highguest .footer-nav a:hover {
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}
