/* Fill short pages without positioning the footer over content. Mobile nav space
   continues to come from buyer-navigation.css body padding. */
body.buyer-layout { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.buyer-layout > .buyer-page-content { display: flow-root; flex: 1 0 auto; min-width: 0; width: 100%; }
.buyer-layout > .buyer-page-content > .konten { min-height: 0; }
.buyer-layout > footer, .buyer-layout > .buyer-desktop-header, .buyer-layout > .mobile-navbar-spacer { flex-shrink: 0; }
@media print { body.buyer-layout { display: block; min-height: 0; } .buyer-layout > footer { display: none !important; } }

/* Scoped footer variants: regular document flow, never fixed over customer content. */
.buyer-footer { position: static; clear: both; width: 100%; margin-top: 32px; padding-block: 24px; border-top: 1px solid var(--theme-soft-2); background: var(--theme-soft); color: var(--theme-primary-hover); }
.buyer-footer p { margin: 0; overflow-wrap: anywhere; }
.buyer-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; }
.buyer-footer__identity { min-width: 0; font-size: .8125rem; line-height: 1.7; }
.buyer-footer .buyer-footer__brand { margin-bottom: 4px; font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 1.125rem; color: var(--theme-primary); }
.buyer-footer__help, .buyer-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-width: 0; }
.buyer-footer a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: 8px; color: var(--theme-primary); font-size: .8125rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.buyer-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.buyer-footer a:focus-visible { outline: 2px solid var(--theme-primary); outline-offset: 3px; border-radius: 2px; }
.buyer-footer .cookie-preferences-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: 8px; color: var(--theme-primary); font-size: .8125rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.buyer-footer .cookie-preferences-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.buyer-footer .cookie-preferences-link:focus-visible { outline: 2px solid var(--theme-primary); outline-offset: 3px; border-radius: 2px; }
.buyer-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.buyer-footer--compact .buyer-footer__bottom { padding-top: 12px; border-top: 1px solid var(--theme-soft-2); }
.buyer-footer .buyer-footer__copyright { font-size: .75rem; line-height: 1.7; }
.buyer-footer--minimal { padding-block: 16px; background: var(--theme-background); }
.buyer-footer .buyer-footer__payment-note { margin-bottom: 8px; font-size: .8125rem; line-height: 1.7; }
@media (max-width: 767.98px) {
    .buyer-footer { margin-top: 24px; padding-block: 20px; }
    .buyer-footer__top, .buyer-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .buyer-footer__top { padding-bottom: 12px; }
    .buyer-footer__help, .buyer-footer__legal { gap: 4px 16px; }
    .buyer-footer--minimal { padding-block: 12px; }
}
@media print { .buyer-footer { display: none !important; } }

/* Full storefront footer: flat groups, restrained typography, no logo cards. */
.buyer-footer--full { margin-top: 40px; padding-block: 40px 16px; }
.buyer-footer--full .buyer-footer__main-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; padding-bottom: 28px; }
.buyer-footer--full :is(section,nav,div) { min-width: 0; }
.buyer-footer--full h2 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans',sans-serif; font-size: .875rem; font-weight: 500; line-height: 1.6; color: var(--theme-primary); }
.buyer-footer--full .buyer-footer__wordmark { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.buyer-footer--full .buyer-footer__wordmark img { display: block; width: 180px; max-width: 100%; height: auto; object-fit: contain; }
.buyer-footer--full .buyer-footer__description { max-width: 300px; margin-top: 6px; color: #626262; font-size: .8125rem; line-height: 1.8; }
.buyer-footer--full .buyer-footer__socials { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.buyer-footer--full .buyer-footer__socials a { display: inline-flex; justify-content: center; width: 44px; height: 44px; padding: 0; }
.buyer-footer--full .buyer-footer__social-icon { display: block; flex-shrink: 0; width: 17px; height: 17px; fill: currentColor; }
.buyer-footer--full .buyer-footer__caption { margin-bottom: 10px; font-size: .6875rem; color: #737373; }
.buyer-footer--full .buyer-footer__brands > div { display: flex; flex-wrap: wrap; align-items: center; column-gap: 34px; row-gap: 14px; margin-top: 6px; }
.buyer-footer--full .buyer-footer__brand-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 0; transition: opacity .18s ease, transform .18s ease; }
.buyer-footer--full .buyer-footer__brand-link + .buyer-footer__brand-link { border-inline-start: 1px solid var(--theme-soft-2, #dedbd3); padding-inline-start: 22px; }
.buyer-footer--full .buyer-footer__brand-link img { display: block; width: auto; max-width: 128px; height: 13px; object-fit: contain; }
.buyer-footer--full .buyer-footer__brand-link:focus-visible { outline: 2px solid var(--theme-primary); outline-offset: 4px; }
@media (hover: hover) {
    .buyer-footer--full .buyer-footer__brand-link:hover { opacity: .78; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
    .buyer-footer--full .buyer-footer__brand-link { transition: none; }
}
.buyer-footer--full .buyer-footer__full-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.buyer-footer--full .buyer-footer__full-menu a { align-self: start; }
.buyer-footer--full .buyer-footer__hours { margin-bottom: 12px; }
.buyer-footer--full .buyer-footer__hours p { color: #626262; font-size: .75rem; line-height: 1.9; }
.buyer-footer--full .buyer-footer__full-contact { display: flex; flex-direction: column; align-items: flex-start; }
.buyer-footer--full .buyer-footer__full-contact a { gap: 12px; }
.buyer-footer--full .buyer-footer__commerce { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 32px; border-block: 1px solid var(--theme-soft-2); padding-block: 24px; }
.buyer-footer--full .buyer-footer__commerce--with-app { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(150px,.8fr); }
.buyer-footer--full .buyer-footer__app-download > a { display: inline-flex; align-items: center; min-height: 48px; padding: 0; }
.buyer-footer--full .buyer-footer__app-download img { display: block; width: 162px; max-width: 100%; height: auto; object-fit: contain; }
.buyer-footer--full .buyer-footer__payment-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; min-height: 32px; }
.buyer-footer--full .buyer-footer__payment-logos img { flex-shrink: 0; max-width: 56px; object-fit: contain; }
.buyer-footer--full .buyer-footer__payment-provider { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: .75rem; color: #737373; }
.buyer-footer--full .buyer-footer__payment-provider a { padding: 0; }
.buyer-footer--full .buyer-footer__payment-provider img { display: block; width: 80px; max-height: 28px; object-fit: contain; }
.buyer-footer--full .buyer-footer__marketplaces nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.buyer-footer--full .buyer-footer__marketplaces a { display: inline-flex; justify-content: center; min-width: 44px; }
.buyer-footer--full .buyer-footer__marketplaces img { display: block; width: auto; max-width: 72px; height: 24px; object-fit: contain; }
.buyer-footer--full .buyer-footer__bottom { padding-top: 16px; }
@media (max-width: 991.98px) {
    .buyer-footer--full .buyer-footer__main-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 32px; }
    .buyer-footer--full .buyer-footer__intro { grid-column: 1 / -1; }
    .buyer-footer--full .buyer-footer__description { max-width: none; }
    .buyer-footer--full .buyer-footer__commerce,
    .buyer-footer--full .buyer-footer__commerce--with-app { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width: 575.98px) {
    .buyer-footer--full { margin-top: 28px; padding-top: 28px; }
    .buyer-footer--full .buyer-footer__main-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .buyer-footer--full .buyer-footer__intro { grid-column: auto; }
    .buyer-footer--full .buyer-footer__payment-logos { gap: 20px 24px; }
}
