/* ==================================================
   GM Theme
   Footer Design System v2

   Version: 2.0.0
   Description: Global Footer visual implementation.
   Author: Güvencem Mobilya
   Last Update: 08.08.2026
   ================================================== */

:root {
  --gm-footer-bg: #faf9f6;
  --gm-footer-surface: #ffffff;
  --gm-footer-text: #1f2937;
  --gm-footer-muted: #5b6575;
  --gm-footer-accent: #d96f32;
  --gm-footer-border: rgba(0, 0, 0, .08);
}


.gm-footer {
  padding: 0;
  background: #faf9f6;
  color: #1f2937;
  font-family: Poppins, sans-serif;
}

.gm-footer .gm-shell {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
}

.gm-footer a,
.gm-footer a:visited {
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.gm-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-footer h2,
.gm-footer p {
  margin-top: 0;
}

/* Trust Strip */
.gm-footer-trust {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.gm-footer-trust-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gm-footer-trust-item {
  display: flex;
  min-height: 82px;
  padding: 16px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

.gm-footer-trust-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #d96f32;
}

.gm-footer-trust-icon svg {
  width: 26px;
  height: 26px;
}

.gm-footer-trust-label {
  font: inherit;
}

.gm-footer-trust-item:last-child {
  border-right: 0;
}

/* Main Footer */
.gm-footer-main {
  padding-block: 64px;
}

.gm-footer-main-inner {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 48px;
}

.gm-footer-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gm-footer-logo {
  display: inline-flex;
  max-width: 250px;
}

.gm-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gm-footer-about {
  max-width: 32ch;
  margin: 20px 0 0;
  color: #5b6575;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.gm-footer-contact {
  display: grid;
  margin-top: 20px;
  gap: 4px;
  font-style: normal;
}

.gm-footer-contact a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  color: #5b6575;
  font-size: 13px;
  line-height: 1.5;
  transition: color 200ms ease, transform 200ms ease;
}

.gm-footer-contact-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-right: 8px;
  place-items: center;
  color: var(--gm-footer-accent);
}

.gm-footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.gm-footer-contact a:hover,
.gm-footer-contact a:focus-visible {
  color: #d96f32;
  opacity: 0.88;
  transform: translateX(2px);
}

.gm-footer-navigation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.gm-footer-nav-title,
.gm-footer-section-title {
  margin-bottom: 24px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.gm-footer-nav-title button {
  display: flex;
  width: 100%;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.gm-footer-nav-chevron {
  display: none;
}

.gm-footer-nav-list {
  display: grid;
  gap: 14px;
}

.gm-footer-nav-item a {
  display: inline-flex;
  color: #5b6575;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  transition: color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.gm-footer-social-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-right: 8px;
  place-items: center;
}

.gm-footer-social-icon svg {
  width: 18px;
  height: 18px;
}

.gm-footer-nav-item a:hover,
.gm-footer-nav-item a:focus-visible {
  color: #d96f32;
  opacity: 0.88;
  transform: translateX(2px);
}

/* Payment and Delivery */
.gm-footer-commerce {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.gm-footer-commerce-inner {
  display: grid;
  padding-block: 24px;
  grid-template-columns: minmax(180px, 0.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.gm-footer-commerce-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

.gm-footer-payment-methods,
.gm-footer-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.gm-footer-payment-methods li,
.gm-footer-service-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1f2937;
  font-size: 12px;
  font-weight: 500;
}

.gm-footer-payment-methods svg,
.gm-footer-service-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #5b6575;
}

.gm-footer-commerce .gm-footer-section-title,
.gm-footer-payment,
.gm-footer-delivery {
  margin-bottom: 0;
}

.gm-footer-payment,
.gm-footer-delivery {
  color: #5b6575;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

/* Bottom and Copyright */
.gm-footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: inherit;
}

.gm-footer-bottom-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: flex-end;
}

.gm-footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.gm-footer-legal a,
.gm-footer-copyright {
  color: #5b6575;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.gm-footer-legal a {
  transition: color 200ms ease;
}

.gm-footer-legal a:hover,
.gm-footer-legal a:focus-visible {
  color: #d96f32;
}

.gm-footer-copyright {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.gm-footer-copyright-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
}

.gm-footer-copyright small {
  font: inherit;
}

@media (min-width: 768px) {
  .gm-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gm-footer-trust,
  .gm-footer-main,
  .gm-footer-commerce {
    grid-column: 1 / -1;
  }

  .gm-footer-bottom,
  .gm-footer-copyright {
    grid-row: 4;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .gm-footer-bottom {
    grid-column: 2;
  }

  .gm-footer-copyright {
    grid-column: 1;
  }

  .gm-footer-bottom .gm-shell,
  .gm-footer-copyright .gm-shell {
    width: 100%;
  }

  .gm-footer-bottom-inner {
    padding-right: max(32px, calc((100vw - 1320px) / 2));
  }

  .gm-footer-copyright-inner {
    min-height: 68px;
    padding-left: max(32px, calc((100vw - 1320px) / 2));
  }
}

/* Accessibility */
.gm-footer a:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(217, 111, 50, 0.65);
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 1199px) {
  .gm-footer-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gm-footer-trust-item:nth-child(3n) {
    border-right: 0;
  }

  .gm-footer-main-inner {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 48px;
  }

  .gm-footer-navigation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 32px;
  }
}

/* Small Tablet */
@media (max-width: 991px) {
  .gm-footer-main {
    padding-block: 64px;
  }

  .gm-footer-main-inner {
    grid-template-columns: 1fr;
  }

  .gm-footer-brand {
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .gm-footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gm-footer-commerce-inner {
    grid-template-columns: 1fr 1fr;
  }

  .gm-footer-commerce .gm-footer-section-title {
    grid-column: 1 / -1;
  }

  .gm-footer-commerce-content {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .gm-footer .gm-shell {
    width: min(calc(100% - 32px), 1320px);
  }

  .gm-footer-trust-list,
  .gm-footer-navigation,
  .gm-footer-commerce-inner {
    grid-template-columns: 1fr;
  }

  .gm-footer-trust-item {
    min-height: 64px;
    padding-inline: 8px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
  }

  .gm-footer-trust-item:last-child {
    border-bottom: 0;
  }

  .gm-footer-main {
    padding-block: 40px;
  }

  .gm-footer-main-inner {
    gap: 28px;
  }

  .gm-footer-navigation {
    gap: 0;
  }

  .gm-footer-logo {
    max-width: 220px;
  }

  .gm-footer-nav-title,
  .gm-footer-section-title {
    margin-bottom: 0;
  }

  .gm-footer-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .gm-footer-nav-title button {
    min-height: 60px;
    cursor: pointer;
  }

  .gm-footer-nav-title button:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(217, 111, 50, 0.65);
    outline-offset: 3px;
  }

  .gm-footer-nav-chevron {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 200ms ease;
  }

  .gm-footer-nav.is-open .gm-footer-nav-chevron {
    transform: rotate(225deg);
  }

  .gm-footer[data-gm-footer-ready="true"] .gm-footer-nav-list {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease, visibility 240ms ease;
  }

  .gm-footer[data-gm-footer-ready="true"] .gm-footer-nav.is-open .gm-footer-nav-list {
    visibility: visible;
    opacity: 1;
  }

  .gm-footer-nav-list {
    gap: 4px;
  }

  .gm-footer-nav-list .gm-footer-nav-item:first-child {
    padding-top: 4px;
  }

  .gm-footer-nav-list .gm-footer-nav-item:last-child {
    padding-bottom: 12px;
  }

  .gm-footer-nav-item a {
    min-height: 44px;
    align-items: center;
  }

  .gm-footer-commerce-inner {
    padding-block: 28px;
    gap: 14px;
  }

  .gm-footer-commerce-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gm-footer-commerce .gm-footer-section-title {
    grid-column: auto;
  }

  .gm-footer-bottom-inner {
    min-height: 0;
    padding-block: 24px;
    justify-content: flex-start;
  }

  .gm-footer-legal-list {
    justify-content: flex-start;
  }

  .gm-footer-copyright-inner {
    min-height: 0;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gm-footer *,
  .gm-footer *::before,
  .gm-footer *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}