.site-footer-configured { order: 999; padding: 30px 0 27px; border-top: 1px solid #e7ebed; background: #fff; }
html[data-theme='dark'] .site-footer-configured { border-top-color: #2d3440; background: #21242B; color: #dce3ea; }
html[data-theme='dark'] .site-footer-configured .footer-configured-links a,
html[data-theme='dark'] .site-footer-configured .footer-configured-legal,
html[data-theme='dark'] .site-footer-configured .footer-configured-qr,
html[data-theme='dark'] .site-footer-configured .footer-configured-brand p { color: #aeb8c4; }
html[data-theme='dark'] .site-footer-configured .footer-configured-socials a { background: #2b303a; color: #b8c1cc; }
html[data-theme='dark'] .site-footer-configured .footer-configured-qr img { border-color: #3a414c; background: #2b303a; }
.footer-configured-inner { display: grid; grid-template-columns: minmax(220px, 1.05fr) minmax(350px, 1.55fr) auto; align-items: center; gap: 48px; }
.footer-configured-brand { min-width: 0; }
.footer-configured-logo { display: block; width: auto; max-width: 150px; height: 42px; object-fit: contain; object-position: left center; }
.footer-configured-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #17212f; font-size: 20px; font-weight: 800; }
.footer-configured-brand p { max-width: 260px; margin: 10px 0 0; color: #9aa4ad; font-size: 10px; line-height: 1.7; }
.footer-configured-info { min-width: 0; }
.footer-configured-links { display: flex; flex-wrap: wrap; gap: 8px 19px; }
.footer-configured-links a { color: #75818c; font-size: 10px; }
.footer-configured-links a:hover { color: #b66f2e; }
.footer-configured-legal { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 12px; color: #a5adb4; font-size: 9px; line-height: 1.6; }
.footer-configured-socials { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
.footer-configured-socials a { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #96a0a8; background: #f0f2f3; font-size: 8px; font-weight: 700; transition: color .2s, background .2s, transform .2s; }
.footer-configured-socials a:hover { color: #fff; background: #b66f2e; transform: translateY(-2px); }
.footer-configured-qrs { display: flex; align-items: flex-start; gap: 18px; }
.footer-configured-qr { display: flex; align-items: center; flex-direction: column; gap: 7px; color: #9da6ad; font-size: 9px; white-space: nowrap; }
.footer-configured-qr img { width: 73px; height: 73px; padding: 4px; border: 1px solid #eef0f1; object-fit: contain; background: #fff; }
.footer-settings-panel { overflow: hidden; margin: 0 0 27px; border: 1px solid #dfe5e8; border-radius: 7px; color: #354657; background: #fff; box-shadow: 0 7px 20px rgba(36,54,70,.035); }
.footer-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 23px 24px 21px; border-bottom: 1px solid #e6ebee; }
.footer-admin-heading h2 { margin: 7px 0 5px; color: #293b4b; font-size: 19px; }
.footer-admin-heading p { margin: 0; color: #87939d; font-size: 11px; }
.footer-admin-enabled { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e0e5e8; border-radius: 5px; color: #667784; background: #f8fafb; font-size: 10px; font-weight: 700; white-space: nowrap; }
.footer-admin-enabled input { width: 15px; height: 15px; accent-color: #ad7040; }
.footer-admin-notice { margin: 18px 24px 0; padding: 11px 13px; border: 1px solid #dbe8df; border-radius: 5px; color: #557463; background: #f4faf6; font-size: 11px; line-height: 1.55; }
.footer-admin-notice.error { color: #a0524c; border-color: #eed7d5; background: #fff6f5; }
.footer-admin-notice.dirty { color: #a66c39; border-color: #eedfce; background: #fffaf5; }
.footer-admin-section { padding: 22px 24px; border-bottom: 1px solid #e8ecef; }
.footer-admin-section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.footer-admin-section-title strong { color: #3c4e5d; font-size: 12px; }
.footer-admin-section-title small { color: #98a2aa; font-size: 9px; }
.footer-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 16px; }
.footer-admin-grid label, .footer-admin-qr-fields label { display: block; color: #657582; font-size: 10px; font-weight: 700; }
.footer-admin-grid input, .footer-admin-grid textarea, .footer-admin-repeater-row input, .footer-admin-qr-fields input { width: 100%; box-sizing: border-box; height: 39px; margin-top: 7px; padding: 0 11px; border: 1px solid #dce3e7; border-radius: 6px; outline: 0; color: #354657; background: #fbfcfd; font-size: 11px; }
.footer-admin-grid textarea { min-height: 75px; padding-top: 9px; resize: vertical; line-height: 1.6; }
.footer-admin-grid input:focus, .footer-admin-grid textarea:focus, .footer-admin-repeater-row input:focus, .footer-admin-qr-fields input:focus { border-color: #c99461; background: #fff; box-shadow: 0 0 0 3px rgba(201,148,96,.11); }
.footer-admin-wide { grid-column: 1 / -1; }
.footer-admin-repeater { display: grid; gap: 8px; }
.footer-admin-repeater-row { display: grid; grid-template-columns: minmax(0, 1fr) 29px; gap: 8px; align-items: center; }
.footer-admin-repeater-row > div { display: grid; grid-template-columns: minmax(130px, .75fr) minmax(180px, 1.25fr); gap: 8px; }
.footer-admin-repeater-row input { margin-top: 0; }
.footer-admin-repeater-row button { width: 29px; height: 29px; padding: 0; border: 0; border-radius: 5px; color: #a56b63; background: #fff1ef; font-size: 17px; }
.footer-admin-repeater-row button:hover { color: #fff; background: #bc6a61; }
.footer-admin-add { min-height: 32px; margin-top: 11px; padding: 0 11px; border: 1px solid #dce3e7; border-radius: 5px; color: #627180; background: #fff; font-size: 10px; font-weight: 700; }
.footer-admin-add:hover { color: #a66734; border-color: #d4b08e; background: #fffaf5; }
.footer-admin-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.footer-admin-qr-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 13px; align-items: center; padding: 12px; border: 1px solid #e0e6e9; border-radius: 6px; background: #f8fafb; }
.footer-admin-qr-preview { width: 104px; height: 104px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #cfd7dd; border-radius: 5px; color: #a0abb3; background: #fff; font-size: 9px; }
.footer-admin-qr-preview img { width: 100%; height: 100%; object-fit: contain; }
.footer-admin-qr-fields { min-width: 0; }
.footer-admin-file { display: block; margin-top: 10px; }
.footer-admin-file span { display: block; margin-bottom: 6px; }
.footer-admin-file input { height: auto; margin-top: 0; padding: 7px; font-size: 10px; }
.footer-admin-clear-qr { min-height: 28px; margin-top: 9px; padding: 0 9px; border: 1px solid #e0e5e8; border-radius: 5px; color: #8b6870; background: #fff; font-size: 10px; }
.footer-admin-clear-qr:disabled { opacity: .45; cursor: not-allowed; }
.footer-admin-actions { min-height: 65px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 24px; color: #89959e; background: #f8fafb; font-size: 10px; }
.footer-admin-actions > span { margin-right: auto; }
.footer-admin-actions button { min-height: 37px; padding: 0 13px; border: 1px solid #d7e0e4; border-radius: 6px; color: #667785; background: #fff; font-size: 11px; }
.footer-admin-actions button:hover { color: #925b2e; border-color: #c99a72; background: #fffaf5; }
.footer-admin-actions .primary { color: #fff; border-color: #a66633; background: #a66633; }
.footer-admin-actions .primary:hover { color: #fff; background: #8f552a; }
.footer-settings-panel[hidden] { display: none; }
@media (max-width: 900px) { .footer-configured-inner { grid-template-columns: 1fr 1fr; gap: 24px; }.footer-configured-qrs { grid-column: 1 / -1; }.footer-admin-qr-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .site-footer-configured { padding: 24px 0; }.footer-configured-inner { grid-template-columns: 1fr; gap: 20px; }.footer-configured-qrs { grid-column: auto; }.footer-admin-heading { flex-direction: column; padding: 19px 17px; }.footer-admin-section { padding: 19px 17px; }.footer-admin-section-title { align-items: flex-start; flex-direction: column; gap: 5px; }.footer-admin-grid { grid-template-columns: 1fr; }.footer-admin-wide { grid-column: 1; }.footer-admin-repeater-row > div { grid-template-columns: 1fr; gap: 5px; }.footer-admin-qr-card { grid-template-columns: 84px minmax(0, 1fr); }.footer-admin-qr-preview { width: 84px; height: 84px; }.footer-admin-actions { align-items: stretch; flex-wrap: wrap; padding: 13px 17px; }.footer-admin-actions > span { width: 100%; margin: 0 0 4px; }.footer-admin-actions button { flex: 1; } }
