.storefront-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.storefront-footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.storefront-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

.storefront-footer-brand img {
  display: block;
  width: 34px;
  height: 34px;
}

.storefront-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 30px);
  color: #696873;
  font-size: 13px;
  font-weight: 700;
}

.storefront-footer-links a {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.storefront-footer-links a:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.storefront-cookie-panel {
  position: fixed;
  inset: 50% auto auto 50%;
  box-sizing: border-box;
  display: none;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 0;
  padding: 25px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
  background: #143d35;
  color: #fff;
  box-shadow: 0 20px 70px rgba(20, 61, 53, .3);
}

.storefront-cookie-panel[open] {
  display: block;
}

.storefront-cookie-panel::backdrop {
  background: rgba(20, 61, 53, .58);
  backdrop-filter: blur(7px);
}

.storefront-cookie-view h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.storefront-cookie-view p {
  max-width: 62ch;
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.storefront-cookie-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.storefront-cookie-choice {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.storefront-cookie-choice--accept {
  background: #205f53;
  color: #fff;
}

.storefront-cookie-choice--configure {
  background: transparent;
  color: #fff;
}

.storefront-cookie-analytics-option {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
}

.storefront-cookie-analytics-option + .storefront-cookie-analytics-option {
  margin-top: 14px;
}

.storefront-cookie-analytics-option input:disabled {
  opacity: 1;
}

.storefront-cookie-analytics-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #fff;
}

.storefront-cookie-analytics-option span span {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.storefront-cookie-settings-actions {
  margin-top: 17px;
}

.storefront-cookie-settings-actions .storefront-cookie-choice {
  width: 100%;
}

.storefront-cookie-choice:focus-visible,
.storefront-cookie-analytics-option:focus-within,
.storefront-footer a:focus-visible {
  outline: 3px solid #f4cc58;
  outline-offset: 3px;
}

.storefront-cookie-choice:hover {
  filter: brightness(.96);
}

.storefront-cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .storefront-footer-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 18px;
  }

  .storefront-footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12px;
  }

  .storefront-cookie-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
    border-radius: 17px;
  }

  .storefront-cookie-view h2 {
    font-size: 20px;
  }

  .storefront-cookie-choices {
    gap: 8px;
  }

  .storefront-cookie-choice {
    min-width: 0;
    padding-inline: 9px;
  }

}

@media (max-width: 360px) {
  .storefront-cookie-choices {
    grid-template-columns: minmax(0, 1fr);
  }
}
