/*
 * ToolsEngg Footer 1.0.0
 * Presentation-only restyle of the storefront footer: trust badges, link columns, contact, newsletter,
 * app / Digital India badges, social icons, payment icons and the copyright bar.
 * No links, text, forms or behaviour are changed. Scoped to html:not(.popup) footer.
 */

html:not(.popup) footer {
  --te-ft-bg: #1b2127;
  --te-ft-bg2: #222a31;
  --te-ft-card: rgba(255, 255, 255, .045);
  --te-ft-line: rgba(255, 255, 255, .09);
  --te-ft-text: #aab6c2;
  --te-ft-head: #fff;
  --te-ft-green: #1fa971;
  --te-ft-mint: #5fe0aa;
  --te-ft-font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  border-top: 3px solid var(--te-ft-green);
  background: linear-gradient(180deg, var(--te-ft-bg2) 0, var(--te-ft-bg) 100%);
  font-family: var(--te-ft-font);
}
html:not(.popup) footer .grid-rows,
html:not(.popup) footer .grid-row-4 { background: transparent !important; }
html:not(.popup) footer * { font-family: var(--te-ft-font); }
html:not(.popup) footer [class*="icomoon"],
html:not(.popup) footer .icons-menu a::before,
html:not(.popup) footer .links-menu-78 a::before,
html:not(.popup) footer .info-blocks-icon .info-block::before { font-family: icomoon !important; }

/* ---------- Trust badges ---------- */
html:not(.popup) footer .grid-row-1 { padding: 34px 20px 8px; }
html:not(.popup) footer .module-info_blocks-86 .module-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
html:not(.popup) footer .module-info_blocks-86 .module-item { padding: 0; width: auto; max-width: none; }
html:not(.popup) footer .module-info_blocks-86 .info-block {
  box-sizing: border-box;
  align-items: center;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--te-ft-line);
  border-radius: 16px;
  background: var(--te-ft-card);
  transition: border-color .12s linear, background-color .12s linear;
}
html:not(.popup) footer .module-info_blocks-86 .info-block:hover { border-color: rgba(95, 224, 170, .45); background: rgba(255, 255, 255, .07); }
html:not(.popup) footer .info-blocks-icon .info-block::before {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-right: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf7f0;
  color: #0f8a5a;
  font-size: 24px;
  box-shadow: 0 0 0 5px rgba(31, 169, 113, .16);
}
html:not(.popup) footer .info-block-title { color: var(--te-ft-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; }
html:not(.popup) footer .info-block-text { margin-top: 3px; color: var(--te-ft-text); font-size: 12.5px; line-height: 1.45; }

/* ---------- Columns ---------- */
html:not(.popup) footer .grid-row-2 { padding: 34px 20px 14px; }
html:not(.popup) footer .module-title,
html:not(.popup) footer .links-menu .module-title,
html:not(.popup) footer .module-newsletter .module-title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: var(--te-ft-head) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
}
html:not(.popup) footer .module-title::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border: 0 !important;
  border-radius: 3px;
  background: var(--te-ft-green) !important;
}
html:not(.popup) footer .links-menu .module-body { margin: 0; padding: 0; }
html:not(.popup) footer .links-menu .menu-item { margin: 0; padding: 0; }
html:not(.popup) footer .links-menu:not(.links-menu-78) .menu-item > a {
  position: relative;
  padding: 4px 0 4px 0 !important;
  color: var(--te-ft-text) !important;
  font-size: 13.5px;
  line-height: 1.5;
  transition: color .1s linear, padding-left .12s ease;
}
html:not(.popup) footer .links-menu:not(.links-menu-78) .menu-item > a:hover { padding-left: 6px !important; color: var(--te-ft-mint) !important; }
html:not(.popup) footer .links-menu:not(.links-menu-78) .menu-item > a .links-text { color: inherit !important; }
html:not(.popup) footer .links-menu .count-badge { margin-left: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12) !important; color: #fff !important; }

/* Contact */
html:not(.popup) footer .module-blocks-279 .block-content { color: var(--te-ft-text); font-size: 13.5px; line-height: 1.75; }
html:not(.popup) footer .module-blocks-279 .block-content p { margin: 0 0 12px; }
html:not(.popup) footer .module-blocks-279 .block-content img { display: block; width: 190px !important; height: auto; border: 1px solid var(--te-ft-line); border-radius: 12px; }
html:not(.popup) footer .module-blocks-279 .block-content p:empty { display: none; }
html:not(.popup) footer .module-blocks-279 .block-content p:has(> img) { margin: 0 0 6px; font-size: 0; line-height: 0; }
html:not(.popup) footer .module-blocks-279 .block-content p:has(> em) { margin-bottom: 6px; line-height: 1.4; }
html:not(.popup) footer .module-blocks-279 .block-content em,
html:not(.popup) footer .module-blocks-279 .block-content strong { color: #fff; }
html:not(.popup) footer .module-blocks-279 .block-content em { font-size: 16px; font-style: normal; letter-spacing: .01em; }

/* Newsletter */
html:not(.popup) footer .newsletter-text { margin: 0 0 14px; color: var(--te-ft-text); font-size: 13.5px; line-height: 1.6; }
html:not(.popup) footer .newsletter-form .input-group { display: flex; align-items: stretch; box-sizing: border-box; width: 100%; height: 46px; border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; transition: border-color .1s linear, box-shadow .1s linear; }
html:not(.popup) footer .newsletter-form .input-group:focus-within { border-color: var(--te-ft-green); box-shadow: 0 0 0 4px rgba(31, 169, 113, .18); }
html:not(.popup) footer .newsletter-form .newsletter-email {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 112px 0 18px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13.5px;
}
html:not(.popup) footer .newsletter-form .newsletter-email::placeholder { color: #8795a5; opacity: 1; }
html:not(.popup) footer .newsletter-form .input-group-btn { position: static; width: 0; }
html:not(.popup) footer .newsletter-form .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  height: auto !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 0 999px 999px 0 !important;
  background: var(--te-ft-green) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  transition: background-color .08s linear;
}
html:not(.popup) footer .newsletter-form .btn:hover { background: #17915f !important; }
html:not(.popup) footer .newsletter-form .checkbox { margin: 12px 0 0; }
html:not(.popup) footer .newsletter-form .checkbox label { display: block; padding-left: 24px; color: var(--te-ft-text); font-size: 12.5px; line-height: 1.5; }
html:not(.popup) footer .newsletter-form .checkbox input[type="checkbox"] { left: 0; top: 3px; margin: 0; accent-color: var(--te-ft-green); }
html:not(.popup) footer .newsletter-form .checkbox a,
html:not(.popup) footer .newsletter-form .checkbox a b { color: var(--te-ft-mint) !important; font-weight: 600; }
html:not(.popup) footer .newsletter-form .checkbox a:hover { text-decoration: underline; }
html:not(.popup) footer .module-info_blocks-312 .info-block { display: block; margin-top: 10px; }
html:not(.popup) footer .module-info_blocks-312 .info-block-img { display: block; width: 210px; height: auto; margin: 0 0 0 -22px; opacity: .85; transition: opacity .12s linear; }
html:not(.popup) footer .module-info_blocks-312 .info-block:hover .info-block-img { opacity: 1; }

/* ---------- App badges, social, payments, copyright ---------- */
html:not(.popup) footer .grid-row-3 { margin-top: 18px; padding: 0 20px !important; }
html:not(.popup) footer .grid-row-3 .grid-cols { padding: 22px 0; border-top: 1px solid var(--te-ft-line); }
html:not(.popup) footer .module-info_blocks-294 .module-body { display: flex; align-items: center; gap: 22px; margin: 0; }
html:not(.popup) footer .module-info_blocks-294 .module-item { padding: 0; width: auto; }
html:not(.popup) footer .module-info_blocks-294 .info-block-img { display: block; width: auto; max-width: 150px; height: 46px; object-fit: contain; border-radius: 8px; transition: transform .12s ease; }
html:not(.popup) footer .module-info_blocks-294 .info-block:hover .info-block-img { transform: translateY(-2px); }
html:not(.popup) footer .icons-menu-61 ul { justify-content: flex-end; gap: 10px; }
html:not(.popup) footer .icons-menu-61 li { margin: 0; }
html:not(.popup) footer .icons-menu-61 a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--te-ft-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  transition: background-color .1s linear, border-color .1s linear, transform .12s ease;
}
html:not(.popup) footer .icons-menu-61 a::before { color: #fff !important; font-size: 19px; }
html:not(.popup) footer .icons-menu-61 a:hover { border-color: var(--te-ft-green); background: var(--te-ft-green) !important; transform: translateY(-3px); }
html:not(.popup) footer .grid-row-4 { padding: 0 20px 22px !important; }
html:not(.popup) footer .grid-row-4 .grid-cols { padding-top: 18px; border-top: 1px solid var(--te-ft-line); }
html:not(.popup) footer .grid-row-4 .grid-cols { align-items: center; }
html:not(.popup) footer .title-module .subtitle { color: #8795a5; font-size: 12.5px; letter-spacing: .01em; }
html:not(.popup) footer .links-menu-78 ul { justify-content: flex-end; align-items: center; gap: 8px; }
html:not(.popup) footer .links-menu-78 a { align-items: center; justify-content: center; padding: 6px 12px !important; border-radius: 8px; background: rgba(255, 255, 255, .07); transition: background-color .1s linear; }
html:not(.popup) footer .links-menu-78 a::before { color: #d3dce5 !important; transition: color .1s linear; }
html:not(.popup) footer .links-menu-78 a:hover { background: rgba(255, 255, 255, .14); }
html:not(.popup) footer .links-menu-78 a:hover::before { color: #fff !important; }

/* Back-to-top button */
html:not(.popup) .scroll-top > i::before { border-radius: 14px !important; background: #1fa971 !important; box-shadow: 0 8px 20px -8px rgba(15, 138, 90, .7); transition: background-color .1s linear; }
html:not(.popup) .scroll-top:hover > i::before { background: #0f8a5a !important; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 991px) {
  html:not(.popup) footer .module-info_blocks-86 .module-body { grid-template-columns: repeat(2, 1fr); }
  html:not(.popup) footer .grid-row-2 .grid-cols { display: flex; flex-wrap: wrap; }
  html:not(.popup) footer .grid-row-2 .grid-col { box-sizing: border-box; flex: 0 0 50%; width: 50%; max-width: 50%; padding: 0 24px 0 0 !important; margin-bottom: 26px; }
}
@media (max-width: 767px) {
  html:not(.popup) footer .grid-row-1 { padding: 26px 14px 4px; }
  html:not(.popup) footer .module-info_blocks-86 .module-body { grid-template-columns: 1fr; gap: 10px; }
  html:not(.popup) footer .module-info_blocks-86 .info-block { padding: 12px 14px; }
  html:not(.popup) footer .grid-row-2 { padding: 24px 16px 6px; }
  html:not(.popup) footer .grid-row-2 .grid-col { flex: 0 0 100%; width: 100%; max-width: 100%; padding: 0 !important; margin-bottom: 24px; }
  html:not(.popup) footer .grid-row-3,
  html:not(.popup) footer .grid-row-4 { padding-left: 16px !important; padding-right: 16px !important; }
  html:not(.popup) footer .module-info_blocks-312 .module-body { margin: 18px 0 0 !important; justify-content: center; }
  html:not(.popup) footer .module-info_blocks-312 .module-item,
  html:not(.popup) footer .module-info_blocks-312 .info-block { width: 100%; margin-top: 0; text-align: center; }
  html:not(.popup) footer .module-info_blocks-312 .info-block-img { width: 190px; max-width: 70%; height: auto; margin: 0 auto !important; }
  html:not(.popup) footer .grid-row-3 .grid-cols { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  html:not(.popup) footer .grid-row-3 .grid-col { width: 100%; max-width: none; padding: 0 !important; }
  html:not(.popup) footer .module-info_blocks-294 .module-body { justify-content: center; flex-wrap: nowrap; gap: 16px; }
  html:not(.popup) footer .module-info_blocks-294 .module-item { width: auto; flex: 0 1 auto; }
  html:not(.popup) footer .module-info_blocks-294 .info-block-img { width: auto; max-width: 100%; height: 44px; margin: 0; }
  html:not(.popup) footer .icons-menu-61 ul { justify-content: center; flex-wrap: nowrap; gap: 12px; }
  html:not(.popup) footer .icons-menu-61 li { width: auto; height: auto; padding: 0; }
  html:not(.popup) footer .icons-menu-61 a { width: 44px; height: 44px; }
  html:not(.popup) footer .grid-row-4 .grid-cols { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  html:not(.popup) footer .grid-row-4 .grid-col { width: 100%; padding: 0 !important; }
  html:not(.popup) footer .title-module .subtitle { margin: 0; text-align: center; }
  html:not(.popup) footer .links-menu-78 ul { width: 100%; justify-content: center; flex-wrap: nowrap; gap: 6px; }
  html:not(.popup) footer .links-menu-78 li { flex: 0 1 auto; }
  html:not(.popup) footer .links-menu-78 a { width: auto; padding: 6px 8px !important; }
}
@media (prefers-reduced-motion: reduce) { html:not(.popup) footer * { transition: none !important; } }
