/* Only the replaced widget rows are suppressed; the absolute footer and its native payment icons remain visible. */
#footer:has(.tc-shared-footer) > .footer-widgets.footer-1,
#footer:has(.tc-shared-footer) > .footer-widgets.footer-2 { display:none; }
#footer .tc-shared-footer { background:#fcf8f8; border-top:1px solid #ddd4d7; color:#4b4550; }
#footer .tc-shared-footer__inner { max-width:1680px; padding:24px 5% 68px; margin:0 auto; display:grid; grid-template-columns:minmax(280px, 1fr) minmax(0, 1fr); gap:48px; }
#footer .tc-shared-footer__brand img { display:block; width:150px; max-width:100%; height:auto; }
#footer .tc-shared-footer__brand p { max-width:300px; margin:20px 0 0; color:#4b4550; font:400 12px/1.5 Arial,sans-serif; }
#footer .tc-shared-footer__menus { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
#footer .tc-shared-footer h2 { width:auto; margin:3px 0 22px; color:#4b4550; font:600 18px/1.3 Arial,sans-serif; text-transform:none; letter-spacing:0; }
#footer .tc-shared-footer h2 a, #footer .tc-shared-footer li a { color:#4b4550; text-decoration:none; }
#footer .tc-shared-footer a:hover, #footer .tc-shared-footer a:focus-visible { color:#4b4550; text-decoration:underline; }
#footer .tc-shared-footer ul { list-style:none; padding:0; margin:0; }
#footer .tc-shared-footer li { margin:0 0 18px; padding:0; border:0; color:#4b4550; font:400 16px/1.5 Arial,sans-serif; }
#footer .tc-shared-footer li ul { padding:10px 0 0 12px; }
@media(max-width:767px) {
 #footer .tc-shared-footer__inner { display:block; padding:26px 24px 40px; }
 #footer .tc-shared-footer__brand { margin-bottom:34px; }
 #footer .tc-shared-footer__menus { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; row-gap:24px; }
 #footer .tc-shared-footer h2 { font-size:16px; margin-bottom:22px; }
 #footer .tc-shared-footer li { font-size:14px; margin-bottom:17px; }
}
/* Preserve the native absolute footer, its actual payment icons, and its layout. */
#footer.footer-wrapper:has(.tc-shared-footer) { --footer-bg:#fcf8f8; --footer-ink:#4b4550; --footer-muted:#4b4550; --footer-line:#ddd4d7; background:#fcf8f8; color:#4b4550; }
#footer.footer-wrapper:has(.tc-shared-footer) > .absolute-footer { background:#fcf8f8!important; color:#4b4550; }
#footer.footer-wrapper:has(.tc-shared-footer) .absolute-footer > .container { max-width:1680px; width:90%; border-top-color:#ddd4d7; }
#footer.footer-wrapper:has(.tc-shared-footer) .absolute-footer .footer-primary, #footer.footer-wrapper:has(.tc-shared-footer) .absolute-footer .copyright-footer { color:#4b4550; }
@media(max-width:767px) { #footer.footer-wrapper:has(.tc-shared-footer) .absolute-footer > .container { width:calc(100% - 48px); } }
/* Long imported Shop menus stay in order while sharing space more evenly. */
.tc-shared-footer .tc-shared-footer__shop > ul { columns:2; column-gap:20px; }
.tc-shared-footer .tc-shared-footer__shop > ul > li { break-inside:avoid; }
@media(min-width:768px) {
 #footer .tc-shared-footer__inner { grid-template-columns:minmax(220px, .8fr) minmax(0, 1.6fr); }
 #footer .tc-shared-footer__menus { grid-template-columns:minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media(max-width:767px) {
 #footer .tc-shared-footer__shop { grid-column:1 / -1; }
}
