/* KICKSTW reskin: footer styles (mailing-list band, stores, four columns, base line).
   Ported from the footer section of site_prototype/assets/css/site.css. Scoped under .kt-chrome; relies
   on the reset and tokens in chrome.css. The footer is dark, so every link colour is set in every state:
   the theme's link and hover colours must not show through. Breakpoints: one column at 1024px and
   below, accordion columns at 720px and below. */

.kt-chrome .ftr { margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--white); }

/* ---------- links ---------- */
.kt-chrome .ftr a,
.kt-chrome .ftr a:visited,
.kt-chrome .ftr a:focus,
.kt-chrome .ftr a:active { color: var(--white); background: none; text-decoration: none; }
.kt-chrome .ftr a:hover { color: var(--white); background: none; text-decoration: underline; }
.kt-chrome .ftr li a,
.kt-chrome .ftr li a:visited,
.kt-chrome .ftr li a:focus,
.kt-chrome .ftr li a:active,
.kt-chrome .ftr li span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 400 14px/1.5 var(--font-body); padding: 4px 0; color: #d8d8d8; }
.kt-chrome .ftr li a:hover { color: var(--white); }
.kt-chrome .ftr :focus-visible { outline-color: var(--white); }
.kt-chrome .ftr ul { list-style: none; margin: 0; padding: 0; }
.kt-chrome .ftr li { list-style: none; margin: 0; padding: 0; }

.kt-chrome .ftr__head { margin: 0 0 10px; font: var(--type-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- mailing-list band (the Klaviyo form fills .ftr__news-slot on the live site) ---------- */
.kt-chrome .ftr__news { border-bottom: 1px solid var(--on-dark-line); }
.kt-chrome .ftr__news-inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.kt-chrome .ftr__news-title { margin: 0; font: var(--type-block); color: var(--white); }
.kt-chrome .ftr__news-text { margin: 8px 0 0; font: 400 15px/1.5 var(--font-body); color: #d0d0d0; }
/* Reserves the form's height so the band does not jump when the script fills it; while empty, the
   heading and sentence read on their own and the slot is only blank space. */
.kt-chrome .ftr__news-slot { flex: 0 1 460px; min-width: 0; min-height: 56px; }
/* No band until a form is in it: the signup form's own script fills the slot only when the shop's
   account publishes one, and a heading inviting visitors to a list they cannot join reads as broken.
   The band shows by itself once the script puts the form in. A browser without :has() keeps it. */
.kt-chrome .ftr__news:not(:has(.ftr__news-slot [class*="klaviyo-form-"] > *)) { display: none; }

/* ---------- stores ---------- */
.kt-chrome .ftr__main { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 44px; display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(0, 4fr); gap: 32px 64px; }
.kt-chrome .ftr__stores { display: flex; flex-direction: column; gap: 22px; }
.kt-chrome .ftr__store p { margin: 0; font: 400 14px/1.6 var(--font-body); }
.kt-chrome .ftr__store .ftr__head { margin-bottom: 6px; }
.kt-chrome .ftr__store .ftr__hours { margin-top: 6px; color: var(--on-dark-muted); }
.kt-chrome .ftr__store .ftr__notice { margin-top: 10px; color: #d8d8d8; }
.kt-chrome .ftr__notice strong { font-weight: 600; color: var(--red); }
.kt-chrome .ftr__email { margin: 0; font: 400 14px/1.5 var(--font-body); }

/* ---------- columns: <details> open in the HTML; footer.js folds them at 720px and below ---------- */
.kt-chrome .ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; align-items: start; }
.kt-chrome .ftr__col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: default; }
.kt-chrome .ftr__col summary::-webkit-details-marker { display: none; }
.kt-chrome .ftr__col summary::marker { content: ''; font-size: 0; }
.kt-chrome .ftr__col summary svg { display: none; }

/* ---------- base line ---------- */
.kt-chrome .ftr__base { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 32px; border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font: 400 13px var(--font-body); color: #bdbdbd; }
.kt-chrome .ftr__social { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.kt-chrome .ftr__social a,
.kt-chrome .ftr__social a:visited,
.kt-chrome .ftr__social a:focus,
.kt-chrome .ftr__social a:active,
.kt-chrome .ftr__wechat,
.kt-chrome .ftr__wechat:focus,
.kt-chrome .ftr__wechat:active { padding: 6px 0; border: 0; background: none; font: 500 13px var(--font-body); color: var(--white); text-decoration: none; cursor: pointer; }
.kt-chrome .ftr__social a:hover,
.kt-chrome .ftr__wechat:hover { padding: 6px 0; background: none; color: var(--white); text-decoration: underline; }
.kt-chrome .ftr__pay { font: 500 12px var(--font-body); letter-spacing: 0.04em; }

@media (max-width: 1024px) {
  .kt-chrome .ftr__main { grid-template-columns: 1fr; }
  .kt-chrome .ftr__stores { flex-direction: row; flex-wrap: wrap; gap: 24px 48px; }
  .kt-chrome .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .kt-chrome .ftr__news-slot { flex-basis: 100%; }
  .kt-chrome .ftr__main { padding-top: 8px; gap: 28px; }
  .kt-chrome .ftr__cols { order: -1; grid-template-columns: 1fr; gap: 0; }
  .kt-chrome .ftr__col { border-bottom: 1px solid var(--on-dark-line); }
  .kt-chrome .ftr__col summary { min-height: 52px; margin: 0; cursor: pointer; }
  .kt-chrome .ftr__col summary svg { display: block; flex: none; transition: transform 0.15s; }
  .kt-chrome .ftr__col[open] summary svg { transform: rotate(180deg); }
  .kt-chrome .ftr__col ul { padding-bottom: 14px; }
  .kt-chrome .ftr__stores { flex-direction: column; }
  .kt-chrome .ftr__base { flex-direction: column; align-items: flex-start; }
}
