.woocommerce .summary .hs-payment{box-sizing:border-box;width:100%;margin:22px 0;padding:20px 18px;background:var(--hs-payment-background,transparent);color:var(--hs-payment-color,inherit);border:1px solid var(--hs-payment-border,transparent);border-radius:var(--huuguu-starter-button-radius,var(--huuguu-starter-field-radius,4px));display:flex;flex-direction:column;gap:12px}
.hs-payment--left{text-align:left;align-items:flex-start}.hs-payment--center{text-align:center;align-items:center}.hs-payment--right{text-align:right;align-items:flex-end}
.hs-payment__logos{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%}.hs-payment--left .hs-payment__logos{justify-content:flex-start}.hs-payment--center .hs-payment__logos{justify-content:center}.hs-payment--right .hs-payment__logos{justify-content:flex-end}
.woocommerce .summary .hs-payment__logo{display:block;width:auto;max-width:110px;height:var(--hs-payment-logo-height,30px);object-fit:contain;margin:0}
.hs-payment__copy{width:100%}.hs-payment__copy strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.hs-payment__copy p{margin:4px 0 0;font-size:13px;line-height:1.5}
@media(max-width:480px){.woocommerce .summary .hs-payment{padding:16px 12px}.hs-payment__logos{gap:8px}}

/* Built-in local payment wordmarks; no external assets or gateway dependencies. */
.hs-payment__preset{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--hs-payment-logo-height,30px);padding:3px 9px;border:1px solid rgba(80,91,110,.22);border-radius:var(--huuguu-starter-button-radius,var(--huuguu-starter-field-radius,4px));background:#fff;color:#24324b;font-family:system-ui,-apple-system,sans-serif;font-weight:750;font-size:clamp(10px,1vw,13px);line-height:1.1;white-space:nowrap;letter-spacing:-.02em}
.hs-payment__preset--visa{color:#183a8a;font-style:italic;font-size:16px}
.hs-payment__preset--mastercard{color:#d54b22}
.hs-payment__preset--paypal{color:#164b87;font-style:italic}
.hs-payment__preset--pix{color:#168d82}
.hs-payment__preset--bizum{color:#1b7a82}
.hs-payment__preset--amex{color:#1667a5}
.hs-payment__preset--klarna{color:#181818;background:#ffb3c7}
.hs-payment__preset--google_pay{font-weight:600}
.hs-payment__preset--apple_pay{font-weight:650}

/* Shared compact payment logos in both footer layouts and widget areas. */
.huuguu-starter-site-footer .hs-payment--footer{display:flex;flex-direction:column;gap:9px;margin:16px 0;padding:0;background:transparent;color:inherit;border:0;text-align:center;align-items:center}
.huuguu-starter-site-footer .hs-payment--footer .hs-payment__logos{justify-content:center}
.huuguu-starter-site-footer .hs-payment--footer .hs-payment__copy strong{font-size:13px}
.huuguu-starter-site-footer .hs-payment--footer .hs-payment__logo{height:var(--hs-payment-logo-height,30px);width:auto;max-width:110px;object-fit:contain}

/* Footer payment positioning: left on desktop/tablet, centered on mobile. */
.huuguu-starter-site-footer .hs-payment--footer{align-items:flex-start;text-align:left;margin:20px 0 0}
.huuguu-starter-site-footer .hs-payment--footer .hs-payment__logos{justify-content:flex-start}
.hsf-aside .hs-payment--footer{margin-top:24px;padding-top:20px;border-top:1px solid var(--hsf-border,rgba(128,128,128,.25))}
@media(max-width:767px){.huuguu-starter-site-footer .hs-payment--footer{align-items:center;text-align:center}.huuguu-starter-site-footer .hs-payment--footer .hs-payment__logos{justify-content:center}}

/* Independent footer placement settings. Do not inherit single-product alignment. */
.huuguu-starter-site-footer .hs-payment--footer{box-sizing:border-box;margin:0;padding:var(--hs-payment-footer-space-top,24px) 0 var(--hs-payment-footer-space-bottom,24px);border:0;background:transparent;gap:9px}
.hsf-aside .hs-payment--footer{margin:0;border-top:1px solid var(--hsf-border,rgba(128,128,128,.25))}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-left{align-items:flex-start;text-align:left}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-left .hs-payment__logos{justify-content:flex-start}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-center{align-items:center;text-align:center}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-center .hs-payment__logos{justify-content:center}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-right{align-items:flex-end;text-align:right}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--desktop-right .hs-payment__logos{justify-content:flex-end}
@media(min-width:768px) and (max-width:1199px){
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-left{align-items:flex-start;text-align:left}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-left .hs-payment__logos{justify-content:flex-start}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-center{align-items:center;text-align:center}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-center .hs-payment__logos{justify-content:center}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-right{align-items:flex-end;text-align:right}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--tablet-right .hs-payment__logos{justify-content:flex-end}
}
@media(max-width:767px){
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-left{align-items:flex-start;text-align:left}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-left .hs-payment__logos{justify-content:flex-start}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-center{align-items:center;text-align:center}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-center .hs-payment__logos{justify-content:center}
.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-right{align-items:flex-end;text-align:right}.huuguu-starter-site-footer .hs-payment--footer.hs-payment--mobile-right .hs-payment__logos{justify-content:flex-end}
}

/* Footer payment block: separate WhatsApp and divider without affecting newsletter rules. */
.hsf-aside .hs-payment--footer.hs-payment--footer-after_whatsapp{border-top:1px solid var(--hsf-border,rgba(128,128,128,.25));margin-top:20px;padding-top:var(--hs-payment-footer-space-top,24px);padding-bottom:var(--hs-payment-footer-space-bottom,24px)}
.hsf-aside .hs-payment--footer.hs-payment--footer-after_whatsapp .hs-payment__copy{margin-bottom:2px}

/* 0.4.2.40: full-width payment row, after all footer columns. */
.hsf .hsf-payment-row{display:block;grid-column:1/-1;width:100%;min-width:0;clear:both}
.hsf .hsf-payment-row .hs-payment--footer{width:100%;max-width:none}
/* Keep title separated from logos in summary and footer. */
.woocommerce .summary .hs-payment:has(> .hs-payment__copy:first-child),
.huuguu-starter-site-footer .hs-payment--footer{row-gap:10px}
.woocommerce .summary .hs-payment > .hs-payment__copy:empty{display:none}
.huuguu-starter-site-footer .hs-payment--footer .hs-payment__copy{margin:0}

/* 0.4.2.41: The bottom payment row is a sibling of the footer grid, not a grid item.
   Center/right alignment must position the compact content group, not a full-width logo row. */
footer.hsf .hsf-wrap > .hsf-payment-row{display:flex;width:100%;min-width:0;box-sizing:border-box}
footer.hsf .hsf-wrap > .hsf-payment-row > .hs-payment--footer{display:flex;width:100%;max-width:none;min-width:0;box-sizing:border-box}
footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment__copy{width:auto;max-width:100%;flex:0 1 auto}
footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment__logos{width:auto;max-width:100%;flex:0 1 auto}
footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--desktop-left{align-items:flex-start;text-align:left}
footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--desktop-center{align-items:center;text-align:center}
footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--desktop-right{align-items:flex-end;text-align:right}
@media (min-width:768px) and (max-width:1199px){
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--tablet-left{align-items:flex-start;text-align:left}
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--tablet-center{align-items:center;text-align:center}
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--tablet-right{align-items:flex-end;text-align:right}
}
@media (max-width:767px){
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--mobile-left{align-items:flex-start;text-align:left}
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--mobile-center{align-items:center;text-align:center}
 footer.hsf .hsf-wrap > .hsf-payment-row .hs-payment--mobile-right{align-items:flex-end;text-align:right}
}

/* 0.4.2.42: Footer bottom payment layout: stack heading above logos.
   Keep the outer row full width; align the inner column per device. */
footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer {
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  justify-content:flex-start;
  row-gap:10px;
}
footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer > .hs-payment__copy {
  display:block;
  flex:none;
  width:auto;
  margin:0;
}
footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer > .hs-payment__logos {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  flex:none;
  width:auto;
  margin:0;
}

/* 0.4.2.43: Keep a breathing space before the copyright divider.
   Apply to the full-width row, not only its compact content. */
footer.hsf .hsf-wrap > .hsf-payment-row {
  box-sizing:border-box;
  padding-bottom:max(24px, var(--hs-payment-footer-space-bottom, 24px));
}
footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer {
  padding-bottom:0;
}

/* 0.4.2.45 — The complete footer uses <footer class="hsf">, not
   .huuguu-starter-site-footer. Scope alignment to the actual DOM and keep
   the heading and logos together for all three responsive breakpoints. */
footer.hsf .hsf-aside > section.hs-payment--footer {
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin:0;
  padding:var(--hs-payment-footer-space-top,24px) 0 var(--hs-payment-footer-space-bottom,12px);
  border:0;
  background:transparent;
  gap:10px;
}
footer.hsf .hsf-aside > section.hs-payment--footer-after_whatsapp {
  border-top:1px solid var(--hsf-border,rgba(128,128,128,.25));
  margin-top:0;
}
footer.hsf .hsf-aside > section.hs-payment--footer > .hs-payment__copy,
footer.hsf .hsf-aside > section.hs-payment--footer > .hs-payment__logos {
  width:auto;
  max-width:100%;
  margin:0;
}
footer.hsf .hsf-aside > section.hs-payment--footer .hs-payment__copy strong {font-size:13px}
footer.hsf .hsf-aside > section.hs-payment--footer .hs-payment__logos {display:flex;flex-wrap:wrap;gap:8px}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-left {align-items:flex-start;text-align:left}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-center {align-items:center;text-align:center}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-right {align-items:flex-end;text-align:right}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-left .hs-payment__logos {justify-content:flex-start}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-center .hs-payment__logos {justify-content:center}
footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--desktop-right .hs-payment__logos {justify-content:flex-end}
@media (min-width:768px) and (max-width:1199px) {
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-left {align-items:flex-start;text-align:left}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-center {align-items:center;text-align:center}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-right {align-items:flex-end;text-align:right}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-left .hs-payment__logos {justify-content:flex-start}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-center .hs-payment__logos {justify-content:center}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-right .hs-payment__logos {justify-content:flex-end}
}
@media (max-width:767px) {
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-left {align-items:flex-start;text-align:left}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-center {align-items:center;text-align:center}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-right {align-items:flex-end;text-align:right}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-left .hs-payment__logos {justify-content:flex-start}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-center .hs-payment__logos {justify-content:center}
 footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--mobile-right .hs-payment__logos {justify-content:flex-end}
}

/* 0.4.2.47: one divider between WhatsApp and payment methods.
   The divider belongs to the WhatsApp section, not the payment card. */
footer.hsf .hsf-aside:has(> section.hs-payment--footer-after_whatsapp) > .hsf-whatsapp {
  padding-bottom:16px;
  border-bottom:1px solid var(--hsf-border,rgba(128,128,128,.25));
}
footer.hsf .hsf-aside > section.hs-payment--footer-after_whatsapp {
  border-top:0;
  padding-top:var(--hs-payment-footer-space-top,24px);
}
/* The footer tablet layout begins below 1200px; payment alignment follows it. */
@media (min-width:768px) and (max-width:1199px) {
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-left,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-left {align-items:flex-start;text-align:left}
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-center,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-center {align-items:center;text-align:center}
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-right,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-right {align-items:flex-end;text-align:right}
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-left .hs-payment__logos,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-left .hs-payment__logos {justify-content:flex-start}
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-center .hs-payment__logos,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-center .hs-payment__logos {justify-content:center}
  footer.hsf .hsf-wrap > .hsf-payment-row > section.hs-payment--footer.hs-payment--tablet-right .hs-payment__logos,
  footer.hsf .hsf-aside > section.hs-payment--footer.hs-payment--tablet-right .hs-payment__logos {justify-content:flex-end}
}
