/* GKT Commerce Engine - Store Footer v0.3.23 */
.gktce-store-footer {
  --gktce-footer-primary: var(--gktce-primary, #0057ff);
  --gktce-footer-ink: #0f172a;
  --gktce-footer-muted: #526078;
  --gktce-footer-line: #e3e8f2;
  --gktce-footer-soft: #f8fafc;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 36px;
  background: #fff;
  color: var(--gktce-footer-ink);
  border-top: 1px solid var(--gktce-footer-line);
  font-family: inherit;
}

.gktce-store-footer * { box-sizing: border-box; }

.gktce-footer-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 44px clamp(16px, 3vw, 42px) 26px;
}

.gktce-footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(150px, .8fr) minmax(170px, .9fr) minmax(150px, .8fr) minmax(260px, 1fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
}

.gktce-footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
  color: var(--gktce-footer-ink);
  text-decoration: none;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.055em;
}

.gktce-footer-logo img {
  display: block;
  max-width: 220px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gktce-footer-logo span::first-letter { color: var(--gktce-footer-primary); }

.gktce-footer-brand p,
.gktce-footer-newsletter p,
.gktce-footer-apps p {
  margin: 18px 0 0;
  color: var(--gktce-footer-muted);
  font-size: 15px;
  line-height: 1.55;
}

.gktce-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gktce-footer-social {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gktce-footer-line);
  border-radius: 50%;
  background: #fff;
  color: var(--gktce-footer-primary);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.gktce-footer-social:hover {
  transform: translateY(-2px);
  border-color: var(--gktce-footer-primary);
  background: #f4f8ff;
  text-decoration: none;
}

.gktce-footer-group {
  margin: 0;
}

.gktce-footer-group summary,
.gktce-footer-newsletter h3,
.gktce-footer-apps h3 {
  list-style: none;
  margin: 0 0 22px;
  color: var(--gktce-footer-ink);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.gktce-footer-group summary::-webkit-details-marker { display: none; }

.gktce-footer-links {
  display: grid;
  gap: 16px;
}

.gktce-footer-links a,
.gktce-footer-links span {
  color: var(--gktce-footer-ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 650;
}

.gktce-footer-links a:hover {
  color: var(--gktce-footer-primary);
  text-decoration: none;
}

.gktce-footer-view-all {
  color: var(--gktce-footer-primary) !important;
  font-weight: 850 !important;
}

.gktce-footer-side {
  display: grid;
  gap: 34px;
}

.gktce-footer-newsletter p,
.gktce-footer-apps p {
  margin-top: -8px;
}

.gktce-footer-newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.gktce-footer-newsletter-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--gktce-footer-ink);
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.gktce-footer-newsletter-form input:focus {
  border-color: var(--gktce-footer-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, .10);
}

.gktce-footer-newsletter-form button {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--gktce-footer-primary);
  border-radius: 6px;
  background: var(--gktce-footer-primary);
  color: #fff;
  cursor: pointer;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 950;
}

.gktce-footer-newsletter-shortcode {
  margin-top: 18px;
}

.gktce-footer-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.gktce-footer-app-badges a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 150px;
}

.gktce-footer-app-badges img {
  display: block;
  max-width: 150px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gktce-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--gktce-footer-line);
}

.gktce-footer-bottom p {
  margin: 0;
  color: var(--gktce-footer-muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.gktce-footer-payments {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.gktce-footer-payments span {
  min-width: 72px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gktce-footer-line);
  border-radius: 6px;
  background: #fff;
  color: var(--gktce-footer-ink);
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.gktce-footer-payments img {
  display: block;
  max-width: 64px;
  max-height: 24px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .gktce-footer-main {
    grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(170px, .9fr));
  }

  .gktce-footer-side {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .gktce-store-footer {
    margin-top: 24px;
    padding-bottom: var(--gktce-mobile-bottom-safe-space, 78px);
  }

  .gktce-footer-inner {
    padding: 28px 14px 22px;
  }

  .gktce-footer-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gktce-footer-brand {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gktce-footer-line);
  }

  .gktce-footer-logo {
    font-size: 30px;
  }

  .gktce-footer-brand p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .gktce-footer-socials {
    gap: 9px;
    margin-top: 16px;
  }

  .gktce-footer-social {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .gktce-footer-group {
    border-bottom: 1px solid var(--gktce-footer-line);
    padding-bottom: 0;
  }

  .gktce-footer-group summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
  }

  .gktce-footer-group summary::after {
    content: '+';
    color: var(--gktce-footer-primary);
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
  }

  .gktce-footer-group[open] summary::after { content: '−'; }

  .gktce-footer-links {
    gap: 10px;
    padding: 0 0 16px;
  }

  .gktce-footer-links a,
  .gktce-footer-links span {
    font-size: 13px;
  }

  .gktce-footer-side {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gktce-footer-newsletter,
  .gktce-footer-apps {
    padding-top: 8px;
  }

  .gktce-footer-newsletter h3,
  .gktce-footer-apps h3 {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .gktce-footer-newsletter p,
  .gktce-footer-apps p {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.42;
  }

  .gktce-footer-newsletter-form {
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 14px;
  }

  .gktce-footer-newsletter-form input,
  .gktce-footer-newsletter-form button {
    min-height: 42px;
    border-radius: 5px;
    font-size: 12px;
  }

  .gktce-footer-newsletter-form input { padding: 0 10px; }
  .gktce-footer-newsletter-form button { padding: 0 14px; }

  .gktce-footer-app-badges {
    gap: 8px;
    margin-top: 14px;
  }

  .gktce-footer-app-badges img {
    max-width: 128px;
    max-height: 40px;
  }

  .gktce-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .gktce-footer-bottom p {
    font-size: 12.5px;
  }

  .gktce-footer-payments {
    justify-content: flex-start;
    gap: 8px;
  }

  .gktce-footer-payments span {
    min-width: 58px;
    min-height: 34px;
    padding: 5px 9px;
  }

  .gktce-footer-payments img {
    max-width: 52px;
    max-height: 21px;
  }
}

@media (max-width: 420px) {
  .gktce-footer-newsletter-form {
    grid-template-columns: 1fr;
  }
}


/* v0.3.24 - Brand social SVGs and clean payment logos */
.gktce-footer-socials {
  align-items: center !important;
  gap: 14px !important;
}

.gktce-footer-social {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  overflow: visible !important;
  transform: none !important;
}

.gktce-footer-social:hover {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.gktce-footer-social img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

.gktce-footer-social span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  color: var(--gktce-footer-primary, #0057ff) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

.gktce-footer-payments {
  gap: 18px !important;
}

.gktce-footer-payments span {
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.gktce-footer-payments img {
  display: block !important;
  width: auto !important;
  height: 26px !important;
  max-width: 92px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

@media (max-width: 780px) {
  .gktce-footer-socials {
    gap: 12px !important;
  }

  .gktce-footer-social,
  .gktce-footer-social img,
  .gktce-footer-social span {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .gktce-footer-payments {
    gap: 12px !important;
  }

  .gktce-footer-payments img {
    height: 23px !important;
    max-width: 78px !important;
    max-height: 23px !important;
  }
}
