/* ============================================================================
   SM KICKZ — shell, header, mega menu, drawers, footer
   ========================================================================== */

.smk-wrap {
  width: 100%;
  max-width: 100%; /* full-bleed: the gutter is the only inset */
  margin-inline: auto;
  padding-inline: var(--smk-gut);
}

.smk-main {
  display: block;
  min-height: 40vh;
}

.smk-section {
  padding-block: clamp(40px, 6vw, 78px);
}

.smk-section-title {
  font-size: clamp(24px, 3.4vw, 44px);
}

.smk-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.smk-mt {
  margin-top: 26px;
}

.smk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── announcement bar ─────────────────────────────────────────────────────── */
.smk-bar {
  position: relative;
  height: var(--smk-bar-h);
  background: var(--smk-acid);
  color: var(--smk-acid-ink);
  overflow: hidden;
}

.smk-bar__track {
  height: 100%;
  display: grid;
  place-items: center;
}

.smk-bar__item {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--smk-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding-inline: 40px;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  /* pointer-events stops the mouse but nothing stops Tab reaching the hidden ones. */
  visibility: hidden;
  /*
   * The messages are stacked in one grid cell and centred, so a symmetrical crossfade
   * shows two different lines of text superimposed for the whole transition. Let the
   * outgoing one leave first and hold the incoming one back until it has gone.
   */
  transition:
    opacity 0.26s var(--smk-ease),
    transform 0.26s var(--smk-ease),
    visibility 0.26s var(--smk-ease);
}

.smk-bar__item[data-on] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .smk-bar__item,
  .smk-bar__item[data-on] {
    transform: none;
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }
}

.smk-bar__nav {
  position: absolute;
  top: 0;
  height: 100%;
  width: 34px;
  display: grid;
  place-items: center;
  color: var(--smk-acid-ink);
  opacity: 0.55;
}
.smk-bar__nav:hover {
  opacity: 1;
}
.smk-bar__nav--prev {
  left: 4px;
}
.smk-bar__nav--next {
  right: 4px;
}

@media (max-width: 720px) {
  .smk-bar {
    height: auto;
    min-height: var(--smk-bar-h);
  }
  .smk-bar__track {
    padding-block: 6px;
  }
  .smk-bar__item {
    font-size: 9.5px;
    letter-spacing: 0.04em;
    line-height: 1.35;
    padding-inline: 30px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .smk-bar__nav {
    width: 26px;
  }
}

/* ── header ───────────────────────────────────────────────────────────────── */
.smk-header {
  position: sticky;
  top: var(--smk-adminbar);
  z-index: 90;
  background: var(--smk-bg);
  border-bottom: 1px solid var(--smk-line);
}

.smk-header__inner {
  height: var(--smk-header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.smk-header__left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.smk-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--smk-font-display);
  font-size: 20px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--smk-ink);
}

.smk-logo__mark {
  color: var(--smk-acid);
}

.smk-logo img {
  max-height: 34px;
  width: auto;
}

.smk-nav-wrap {
  display: none;
  height: 100%;
  position: relative;
}

@media (min-width: 1200px) {
  .smk-nav-wrap {
    display: block;
  }
}

.smk-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  height: 100%;
}

.smk-nav__item {
  display: flex;
  align-items: center;
}

.smk-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding-inline: 13px;
  font-family: var(--smk-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--smk-ink-dim);
  white-space: nowrap;
  transition: color 0.16s var(--smk-ease);
}

.smk-nav__link:hover,
.smk-nav__item[data-open] .smk-nav__link {
  color: var(--smk-ink);
}

.smk-nav__link[data-highlight] {
  color: var(--smk-acid);
}
.smk-nav__link[data-sale] {
  color: var(--smk-blaze);
}

.smk-nav__link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--smk-acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--smk-ease);
}

.smk-nav__item[data-open] .smk-nav__link::after {
  transform: scaleX(1);
}

.smk-nav__chev {
  opacity: 0.6;
  transition: transform 0.24s var(--smk-ease);
}
.smk-nav__item[data-open] .smk-nav__chev {
  transform: rotate(180deg);
}

/* mega panel — anchored to the nav, not the item, so it never runs off-screen */
.smk-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 520px;
  max-width: min(1140px, calc(100vw - 2 * var(--smk-gut)));
  background: var(--smk-surface);
  border: 1px solid var(--smk-line);
  border-radius: var(--smk-r-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s var(--smk-ease),
    transform 0.2s var(--smk-ease),
    visibility 0.2s;
  z-index: 5;
}

.smk-nav__item[data-open] .smk-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.smk-mega__inner {
  display: grid;
  grid-auto-flow: column;
  gap: 34px;
  padding: 26px 28px;
}

.smk-mega__col {
  min-width: 148px;
}

.smk-mega__title {
  font-family: var(--smk-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smk-ink-faint);
  margin-bottom: 12px;
}

.smk-mega__link {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--smk-ink-dim);
  transition:
    color 0.14s var(--smk-ease),
    padding-left 0.14s var(--smk-ease);
}

.smk-mega__link:hover {
  color: var(--smk-acid);
  padding-left: 5px;
}

/* actions */
.smk-header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
}

.smk-iconbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--smk-r-sm);
  color: var(--smk-ink-dim);
  transition:
    color 0.16s var(--smk-ease),
    background 0.16s var(--smk-ease);
}

.smk-iconbtn:hover {
  color: var(--smk-ink);
  background: var(--smk-surface-2);
}

.smk-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  background: var(--smk-acid);
  color: var(--smk-acid-ink);
  border-radius: var(--smk-r-pill);
  font-family: var(--smk-font-mono);
  font-size: 9px;
  font-weight: 700;
}

.smk-burger {
  display: grid;
}

@media (min-width: 1200px) {
  .smk-burger {
    display: none;
  }
}

.smk-hide-sm {
  display: none;
}

@media (min-width: 720px) {
  .smk-hide-sm {
    display: grid;
  }
}

/* ── overlays ─────────────────────────────────────────────────────────────── */
.smk-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(2px);
  z-index: 110;
  opacity: 0;
  transition: opacity 0.28s var(--smk-ease);
}

.smk-scrim[data-on] {
  opacity: 1;
}

.smk-mnav,
.smk-cart {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 120;
  width: min(94vw, 420px);
  background: var(--smk-bg);
  display: flex;
  flex-direction: column;
  /*
   * Translating a panel off-screen hides it from the eye but not from the keyboard:
   * every link and button inside stayed in the tab order on every page. visibility
   * takes them out, and is still animatable because it snaps at the end of the
   * transition rather than interpolating.
   */
  visibility: hidden;
  transition:
    transform 0.32s var(--smk-ease),
    visibility 0.32s var(--smk-ease);
}

.smk-mnav {
  left: 0;
  border-right: 1px solid var(--smk-line);
  transform: translateX(-100%);
}

.smk-cart {
  right: 0;
  border-left: 1px solid var(--smk-line);
  transform: translateX(100%);
}

.smk-mnav[data-on],
.smk-cart[data-on] {
  visibility: visible;
  transform: none;
}

.smk-mnav__head,
.smk-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--smk-line);
}

.smk-mnav__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 28px;
}

.smk-mnav__group {
  border-bottom: 1px solid var(--smk-line);
}

.smk-mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-family: var(--smk-font-display);
  font-size: 17px;
  text-transform: uppercase;
  color: var(--smk-ink);
}

.smk-mnav__sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--smk-ease);
}

.smk-mnav__sub[data-open] {
  max-height: 1200px;
}

.smk-mnav__sub-inner {
  padding: 0 0 16px 12px;
}

.smk-mnav__title {
  font-family: var(--smk-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smk-ink-faint);
  margin: 12px 0 6px;
}

.smk-mnav__link {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--smk-ink-dim);
}

.smk-mnav__foot {
  padding: 16px 18px;
  border-top: 1px solid var(--smk-line);
  display: grid;
  gap: 10px;
}

/* search overlay */
.smk-search {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 140;
  background: var(--smk-bg);
  border-bottom: 1px solid var(--smk-line);
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 0.32s var(--smk-ease),
    visibility 0.32s var(--smk-ease);
}

.smk-search[data-on] {
  transform: none;
  visibility: visible;
}

.smk-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 20px;
}

.smk-search__input {
  flex: 1;
  height: 54px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--smk-line-strong);
  border-radius: 0;
  font-family: var(--smk-font-display);
  font-size: clamp(20px, 3vw, 32px);
  text-transform: uppercase;
  padding: 0 4px;
}

.smk-search__input:focus {
  border-bottom-color: var(--smk-acid);
}

.smk-search__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--smk-line);
  border-radius: var(--smk-r-sm);
  color: var(--smk-ink-dim);
  flex-shrink: 0;
}

.smk-search__body {
  padding-bottom: 34px;
}

.smk-search__section {
  margin-top: 22px;
}

.smk-hits {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .smk-hits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .smk-hits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.smk-hit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--smk-line);
  border-radius: var(--smk-r-sm);
  transition: border-color 0.14s var(--smk-ease);
}

.smk-hit:hover {
  border-color: var(--smk-acid);
}

.smk-hit__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--smk-r-xs);
  background: var(--smk-surface-2);
}

.smk-hit__brand {
  display: block;
  font-family: var(--smk-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smk-ink-faint);
}

.smk-hit__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 2px 0 4px;
}

/* ── footer ───────────────────────────────────────────────────────────────── */
.smk-footer {
  background: var(--smk-surface);
  border-top: 1px solid var(--smk-line);
  margin-top: 40px;
}

.smk-footer__top {
  display: grid;
  gap: 36px;
  padding-block: clamp(40px, 5vw, 66px);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .smk-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .smk-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
    gap: 44px;
  }
}

.smk-footer__logo {
  font-size: 26px;
  margin-bottom: 12px;
}

.smk-footer__title {
  font-family: var(--smk-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smk-ink-faint);
  margin-bottom: 16px;
}

.smk-footer__blurb {
  color: var(--smk-ink-dim);
  font-size: 14px;
  max-width: 38ch;
  margin-bottom: 20px;
}

.smk-footer__list li a,
.smk-footer__list a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--smk-ink-dim);
  transition: color 0.14s var(--smk-ease);
}

.smk-footer__list a:hover {
  color: var(--smk-acid);
}

.smk-footer__contact {
  font-size: 14px;
  color: var(--smk-ink-dim);
}

.smk-footer__contact strong {
  display: block;
  color: var(--smk-ink);
  font-weight: 600;
}

.smk-footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.smk-social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--smk-line);
  border-radius: var(--smk-r-sm);
  color: var(--smk-ink-dim);
  transition:
    color 0.16s var(--smk-ease),
    border-color 0.16s var(--smk-ease);
}

.smk-social:hover {
  color: var(--smk-acid);
  border-color: var(--smk-acid);
}

.smk-news {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.smk-news .smk-input {
  flex: 1;
}

.smk-news__msg {
  font-size: 13px;
  color: var(--smk-acid);
  margin-top: 10px;
  min-height: 1em;
}

.smk-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.smk-pay__chip {
  height: 26px;
  padding-inline: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--smk-line);
  border-radius: var(--smk-r-xs);
  font-family: var(--smk-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smk-ink-faint);
}

.smk-footer__bottom {
  border-top: 1px solid var(--smk-line);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--smk-ink-faint);
}

.smk-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.smk-footer__policies a:hover {
  color: var(--smk-acid);
}

.smk-credit {
  font-family: var(--smk-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* WhatsApp float */
.smk-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--smk-r-pill);
  background: #25d366;
  color: #06301a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--smk-ease);
}

.smk-wa:hover {
  transform: scale(1.07);
}

@media (max-width: 640px) {
  .smk-wa {
    bottom: 78px;
  }
}

/* toast */
.smk-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 160;
  padding: 12px 18px;
  border-radius: var(--smk-r-sm);
  background: var(--smk-acid);
  color: var(--smk-acid-ink);
  font-family: var(--smk-font-ui);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition:
    opacity 0.24s var(--smk-ease),
    transform 0.24s var(--smk-ease);
}

.smk-toast[data-on] {
  opacity: 1;
  transform: translate(-50%, 0);
}

.smk-toast[data-tone='error'] {
  background: var(--smk-blaze);
  color: #fff;
}


/* A long menu must be allowed to shrink rather than push the cart button out. */
.smk-nav,
.smk-nav-wrap {
  min-width: 0;
}
