/* Keep native link blocks and newsletter behaviour inside clearer footer groups. */
.retail-storefront .page-footer .footer.content:has(> .velugi-footer-group) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.5fr);
    gap: 32px;
}
.retail-storefront .page-footer .velugi-footer-group { order: 2; min-width: 0; }
.retail-storefront .page-footer .velugi-footer-newsletter { order: 3; min-width: 0; }
.retail-storefront .page-footer .velugi-footer-group h2,
.retail-storefront .page-footer .velugi-footer-newsletter h2 {
    color: var(--velugi-footer-text); font-size: 16px; font-weight: 700;
    line-height: 1.4; margin: 0 0 14px;
}
.retail-storefront .page-footer .velugi-footer-newsletter > p {
    color: var(--velugi-footer-text); font-size: 14px; line-height: 1.7; margin: 0 0 20px;
}
.retail-storefront .page-footer .velugi-footer-newsletter .block.newsletter .title { display: none; }
.retail-storefront .page-footer .velugi-footer-utilities {
    order: 4; grid-column: 1 / -1; border-top: 1px solid rgb(244 241 232 / 28%);
    padding-top: 16px; color: var(--velugi-footer-text);
}
.retail-storefront .page-footer .velugi-footer-utilities summary {
    display: flex; align-items: center; gap: 12px; width: fit-content;
    cursor: pointer; padding: 12px 0; font-size: 13px; list-style: none;
}
.retail-storefront .page-footer .velugi-footer-utilities summary::-webkit-details-marker { display: none; }
.retail-storefront .page-footer .velugi-footer-utilities__chevron {
    display: inline-block; flex: none; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.retail-storefront .page-footer .velugi-footer-utilities[open] .velugi-footer-utilities__chevron {
    transform: translateY(2px) rotate(225deg);
}
.retail-storefront .page-footer .velugi-footer-utilities summary:focus-visible {
    outline: 2px solid var(--velugi-focus-on-dark); outline-offset: 3px;
}
.retail-storefront .page-footer .velugi-footer-utilities .footer.links a { font-size: 13px; }
@media (max-width: 1023px) {
    .retail-storefront .page-footer .footer.content:has(> .velugi-footer-group) {
        grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
    }
    .retail-storefront .page-footer .velugi-footer-newsletter { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 767px) {
    .retail-storefront .page-footer .footer.content:has(> .velugi-footer-group) {
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px;
    }
    .retail-storefront .page-footer .retail-footer-intro { grid-column: 1 / -1; }
    .retail-storefront .page-footer .velugi-footer-newsletter { max-width: none; }
}

/* Launch delivery details and verified company identity. */
.retail-storefront .page-footer .velugi-footer-delivery {
    order: 4; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    padding-top: 28px; border-top: 1px solid rgb(244 241 232 / 28%); scroll-margin-top: 24px;
    color: var(--velugi-footer-text); font-size: 14px; line-height: 1.7;
}
.retail-storefront .page-footer .velugi-footer-delivery h2 {
    margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.4; color: inherit;
}
.retail-storefront .page-footer .velugi-footer-delivery p { margin: 0 0 12px; }
.retail-storefront .page-footer .velugi-footer-delivery__small { font-size: 12px; }
.retail-storefront .page-footer .velugi-footer-delivery summary { width: fit-content; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.retail-storefront .page-footer .velugi-footer-delivery details[open] summary { margin-bottom: 8px; }
.retail-storefront .page-footer .velugi-footer-delivery a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.retail-storefront .page-footer .velugi-footer-delivery summary:focus-visible { outline: 2px solid var(--velugi-focus-on-dark); outline-offset: 4px; }
.retail-storefront .page-footer .velugi-footer-utilities { order: 5; }
.retail-storefront .page-footer .velugi-footer-company {
    order: 6; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
    padding-top: 20px; border-top: 1px solid rgb(244 241 232 / 28%); color: var(--velugi-footer-text);
    font-size: 12px; line-height: 1.7;
}
.retail-storefront .page-footer .velugi-footer-company p { margin: 0; }
.retail-storefront .page-footer .velugi-footer-newsletter > .velugi-newsletter-consent { font-size: 12px; line-height: 1.6; }
@media (max-width: 767px) {
    .retail-storefront .page-footer .velugi-footer-delivery { grid-template-columns: 1fr; gap: 16px; }
}

/* VELUGI social links — footer company area. */
.retail-storefront .page-footer .velugi-footer-company .velugi-social-links {
    flex: 1 0 100%;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--velugi-footer-text);
}

.retail-storefront .page-footer .velugi-footer-company .velugi-social-links__label {
    margin-right: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.retail-storefront .page-footer .velugi-footer-company .velugi-social-links a {
    color: var(--velugi-footer-text);
    text-decoration: none;
}

.retail-storefront .page-footer .velugi-footer-company .velugi-social-links a:hover {
    color: var(--velugi-footer-text);
    background: rgb(244 241 232 / 14%);
    transform: translateY(-1px);
}

.retail-storefront .page-footer .velugi-footer-company .velugi-social-links a:focus-visible {
    outline: 2px solid var(--velugi-focus-on-dark);
    outline-offset: 2px;
}

/* Payment reassurance stays outside the optional browsing disclosure. */
.retail-storefront .page-footer .velugi-footer-browse-payments {
    order: 5;
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 32px;
    min-width: 0;
    border-top: 1px solid rgb(244 241 232 / 28%);
    padding-top: 20px;
    color: var(--velugi-footer-text);
}
.retail-storefront .page-footer .velugi-footer-browse-payments > .velugi-footer-utilities {
    order: initial;
    flex: 1 1 240px;
    min-width: 0;
    border: 0;
    padding-top: 0;
}
.retail-storefront .page-footer .velugi-footer-payments {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-left: auto;
    min-width: 0;
}
.retail-storefront .page-footer .velugi-footer-payments__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.retail-storefront .page-footer .velugi-footer-payments__label svg,
.retail-storefront .page-footer .velugi-footer-phone svg { flex-shrink: 0; }
.retail-storefront .page-footer .velugi-footer-payments__methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.retail-storefront .page-footer .velugi-footer-payments__methods li {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 64px;
    height: 44px;
    margin: 0;
    padding: 3px;
    background: var(--velugi-warm-cream);
    border: 1px solid rgb(244 241 232 / 55%);
    border-radius: 5px;
}
.retail-storefront .page-footer .velugi-footer-payments__methods img {
    display: block;
    width: 56px;
    height: 36px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 2px;
}
.retail-storefront .page-footer .velugi-footer-company .velugi-footer-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
}
.retail-storefront .page-footer .velugi-footer-phone a:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.retail-storefront .page-footer .velugi-footer-company { align-items: center; }
@media (max-width: 767px) {
    .retail-storefront .page-footer .velugi-footer-browse-payments { flex-direction: column; gap: 20px; }
    .retail-storefront .page-footer .velugi-footer-browse-payments > .velugi-footer-utilities { flex: initial; width: 100%; }
    .retail-storefront .page-footer .velugi-footer-payments { margin-left: 0; justify-content: flex-start; }
}
