/* TopDeals footer (mockup 7). Martfury's .ps-footer is replaced, so nothing here needs to fight its styles. */
.td-footer { --f-navy: #0b1638; --f-yellow: #ffc812; --f-yellow-2: #ffb800; --f-line: #e3e7ef; --f-muted: #5d6477; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; margin-top: 48px; color: var(--f-navy); }
.td-footer a { text-decoration: none; }
.td-footer ul { list-style: none; margin: 0; padding: 0; }
.td-footer h2, .td-footer h3, .td-footer h4 { font-family: inherit; margin: 0; }

/* Newsletter */
.td-news { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 300px; align-items: center; gap: 36px; padding: 24px 36px; border-radius: 16px; background: linear-gradient(100deg, #f5f7fc 0%, #edf2fb 100%); box-shadow: 0 2px 10px rgba(11, 22, 56, .04); }
.td-news__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.td-news__tag i { width: 34px; height: 30px; border-radius: 7px; background: var(--f-yellow); display: grid; place-items: center; font-size: 17px; color: var(--f-navy); }
.td-news__tag b { padding: 5px 12px; border-radius: 7px; background: #e5eaf4; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.td-news h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.08; color: var(--f-navy); }
.td-news p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--f-muted); max-width: 470px; }
.td-news__field { display: flex; align-items: center; height: 50px; border: 1px solid #dde2ec; border-radius: 9px; background: #fff; overflow: hidden; }
.td-news__field > i { padding: 0 12px 0 18px; font-size: 18px; color: var(--f-navy); }
.td-news__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--f-navy); }
.td-news__field input::placeholder { color: #7c8396; }
.td-news__field button { height: 100%; padding: 0 30px; border: 0; background: var(--f-yellow); font: inherit; font-size: 15.5px; font-weight: 700; color: var(--f-navy); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .15s; white-space: nowrap; }
.td-news__field button:hover { background: var(--f-yellow-2); }
.td-news__field:focus-within { border-color: var(--f-navy); box-shadow: 0 0 0 3px rgba(11, 22, 56, .08); }
.td-news__consent { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; font-size: 12px; font-weight: 400; color: var(--f-muted); cursor: pointer; }
.td-news__consent input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: #1a73e8; }
.td-news__art { width: 100%; height: auto; margin: -36px 0 -26px; mix-blend-mode: multiply; }

/* Trust strip */
.td-foot-trust { margin-top: 14px; padding: 18px 0; background: #f6f7fa; }
.td-foot-trust ul { display: flex !important; justify-content: space-between; }
.td-foot-trust li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 2px 10px; border-left: 1px solid var(--f-line); }
.td-foot-trust li:first-child { border-left: 0; justify-content: flex-start; padding-left: 0; }
.td-foot-trust i { font-size: 30px; color: var(--f-navy); }
.td-foot-trust b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.td-foot-trust span { font-size: 12.5px; color: var(--f-muted); line-height: 1.35; }

/* Navy columns */
.td-foot-main { background: var(--f-navy); color: #fff; padding: 36px 0 34px; }
.td-foot-main__grid { display: grid !important; grid-template-columns: minmax(0, 1.45fr) minmax(0, .65fr) minmax(0, .85fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 30px; }
.td-foot-logo img { max-height: 54px; width: auto; }
.td-foot-brand p { margin: 14px 0 18px; font-size: 14px; line-height: 1.55; color: #e7eaf3; max-width: 380px; }
.td-social { display: flex !important; gap: 12px; padding-bottom: 22px !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.td-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff !important; font-size: 15px; transition: background .15s; }
.td-social a:hover { background: var(--f-yellow); color: var(--f-navy) !important; }
.td-social a i, .td-social a svg { color: inherit !important; fill: currentColor; }
.td-app { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: 12px; color: #dfe3ef; }
.td-app > i { font-size: 30px; color: #fff; }
.td-app > span { margin-right: auto; }
.td-app b { display: block; font-size: 13px; color: #fff; }
.td-app__badge { display: inline-flex; flex-direction: column; padding: 5px 12px; border: 1px solid #555d70; border-radius: 7px; background: #000; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.1; }
.td-app__badge small { font-size: 8.5px; font-weight: 400; text-transform: uppercase; }
.td-foot-col h3, .td-foot-contact h3 { font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -.2px; }
.td-foot-col li { margin-bottom: 11px; }
.td-foot-col a { font-size: 14px; color: #e3e6f0 !important; transition: color .15s; }
.td-foot-col a:hover, .td-foot-contact a:hover { color: var(--f-yellow) !important; }
.td-foot-contact { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .14); }
.td-foot-contact li { display: flex; gap: 14px; margin-bottom: 13px; font-size: 14px; line-height: 1.45; color: #e3e6f0; }
.td-foot-contact li i { font-size: 18px; color: #fff; margin-top: 1px; }
.td-foot-contact li a { color: #e3e6f0 !important; }
.td-pay { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.td-pay h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.td-pay-badges { display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.td-pay-badges li span { height: 30px; min-width: 40px; padding: 0 7px; border-radius: 5px; background: #fff; display: grid; grid-auto-flow: column; place-items: center; font-size: 12px; font-weight: 800; }
.td-pay__visa span { color: #1a1f71; font-style: italic; font-size: 14px !important; letter-spacing: -.3px; }
.td-pay__mastercard i { width: 17px; height: 17px; border-radius: 50%; background: #eb001b; }
.td-pay__mastercard i + i { background: #f79e1b; margin-left: -7px; mix-blend-mode: multiply; }
.td-pay__ecocash span { color: #0a4ea2; font-size: 10.5px !important; letter-spacing: -.2px; }
.td-pay__ecocash b { color: #e31b23; }
.td-pay__onemoney span { color: #f37021; font-size: 10.5px !important; font-weight: 700 !important; }
.td-pay__onemoney b { color: #e30613; }
.td-pay__bank span { color: #0b1638; font-size: 17px !important; }
.td-pay__innbucks span { color: #0b2a6b; font-size: 10.5px !important; letter-spacing: -.2px; }
.td-pay__innbucks b { color: #e2231a; }
.td-pay__cod span { color: #0b1638; font-size: 10.5px !important; font-weight: 700 !important; white-space: nowrap; }

/* Bottom bar */
.td-foot-bar { background: #f7f8fb; padding: 16px 0; font-size: 13px; color: var(--f-navy); }
.td-foot-bar__inner { display: flex !important; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.td-foot-bar p { margin: 0; color: var(--f-navy); font-size: 13px; }
.td-foot-bar ul { display: flex; align-items: center; padding-left: 28px !important; border-left: 1px solid #cfd4de; }
.td-foot-bar li + li::before { content: '|'; margin: 0 10px; color: #9aa0ae; }
.td-foot-bar a { color: var(--f-navy) !important; }
.td-foot-bar a:hover { text-decoration: underline; }
.td-foot-bar__zw { margin-left: auto !important; display: flex; align-items: center; gap: 12px; }
.td-foot-bar__sep { width: 1px; height: 22px; background: #cfd4de; margin: 0 12px; }
.td-zw-flag { position: relative; width: 40px; height: 26px; border-radius: 2px; overflow: hidden; background: linear-gradient(#319208 0 14.3%, #ffd200 0 28.6%, #de2010 0 42.9%, #000 0 57.1%, #de2010 0 71.4%, #ffd200 0 85.7%, #319208 0); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.td-zw-flag::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 55%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.td-footer a:focus-visible, .td-footer button:focus-visible, .td-footer input:focus-visible { outline: 2px solid var(--f-yellow); outline-offset: 2px; }

@media (max-width: 1320px) {
    .td-news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px; padding: 22px 26px; }
    .td-foot-main__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .td-foot-contact { grid-column: 1 / -1; padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .td-foot-contact h3 { grid-column: 1 / -1; margin-bottom: 0; }
    .td-pay { margin-top: 0; padding-top: 0; border-top: 0; }
    .td-foot-trust ul { flex-wrap: wrap; row-gap: 16px; }
    .td-foot-trust li { flex: 0 0 33.33%; justify-content: flex-start; }
    .td-foot-trust li:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 991px) {
    .td-news { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .td-news__art { display: none; }
    .td-foot-main__grid { grid-template-columns: 1fr 1fr; }
    .td-foot-brand { grid-column: 1 / -1; }
    .td-foot-bar__zw { margin-left: 0 !important; }
}
@media (max-width: 767px) {
    .td-footer { margin-top: 32px; padding-bottom: 64px; }
    .td-news { padding: 20px 16px; }
    .td-news__field button { padding: 0 16px; }
    .td-foot-trust li, .td-foot-trust li:nth-child(n) { flex-basis: 50%; padding-left: 10px; border-left: 0; justify-content: flex-start; }
    .td-foot-contact { grid-template-columns: 1fr; }
    .td-foot-bar ul { padding-left: 0 !important; border-left: 0; flex-wrap: wrap; }
    .td-foot-bar__sep { display: none; }
}
