/* SneakerHub storefront — design tokens taken from the Shopify theme settings. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f6f5f0;
  --fg: #171917;
  --muted: #b9bcb5;
  --soft: #6b6e69;
  --accent: #cbf264;
  --dark: #171917;
  --divider: #3a3d3a;
  --line: #dcdcd6;
  --radius: 4px;
  --wrap: 1200px;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --heading: "Space Grotesk", var(--body);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}
.fine {
  font-size: 13px;
  color: var(--soft);
}
.err {
  color: #c42020;
  font-size: 14px;
}

h1,
h2,
h3,
.h2,
.h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(36px, 6vw, 56px);
}
.h2 {
  font-size: clamp(30px, 4.6vw, 48px);
}
.h3 {
  font-size: clamp(24px, 3.2vw, 32px);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 600 14px/1 var(--body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover {
  opacity: 0.88;
}
.btn:disabled {
  opacity: 0.5;
  cursor: progress;
}
.btn-primary {
  background: var(--dark);
  color: var(--bg);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-light {
  background: #fff;
  color: var(--dark);
}
.btn-link {
  background: none;
  text-decoration: underline;
  min-height: 40px;
}
.btn-block {
  width: 100%;
}
.btn-grow {
  flex: 1;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-underline-offset: 3px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

/* header */
.announce {
  background: var(--dark);
  color: var(--bg);
  text-align: center;
  font: 500 12px/1 var(--body);
  padding: 12px 16px;
}
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 24px;
  min-height: 68px;
}
.logo img {
  height: 36px;
  width: auto;
}
.logo {
  padding: 16px 0;
}
/* Desktop: logo + icons on the first row, the menu centred on a second row. */
.nav {
  order: 3;
  width: 100%;
  border-top: 1px solid var(--line);
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav > ul > li > a {
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 13px 0;
}
.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.has-sub {
  position: relative;
}
.sub {
  display: none !important;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 0 !important;
  flex-direction: column;
  gap: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.sub a {
  display: block;
  padding: 7px 18px;
  text-decoration: none;
  font-size: 14px;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: flex !important;
}
.hdr-actions {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.cart-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--dark);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.only-mobile {
  display: none;
}
@media (max-width: 990px) {
  .only-desktop {
    display: none;
  }
  .only-mobile {
    display: inline-flex;
  }
  .hdr-in {
    gap: 8px;
  }
  .logo img {
    height: 28px;
  }
}

/* drawers */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(23, 25, 23, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
.drawer-right .drawer-panel {
  right: 0;
  transform: translateX(100%);
}
.drawer-left .drawer-panel {
  left: 0;
  transform: translateX(-100%);
}
.drawer.open .drawer-panel {
  transform: none;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-nav {
  padding: 8px 18px;
  overflow: auto;
}
.drawer-nav > a,
.drawer-nav summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.drawer-nav ul {
  list-style: none;
  padding: 6px 0 6px 12px;
  margin: 0;
}
.drawer-nav ul a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
}
.cart-body {
  flex: 1;
  overflow: auto;
  padding: 8px 18px;
}
.cart-foot {
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg);
}
.cart-line .t {
  font-weight: 500;
  text-decoration: none;
}
.cart-line small {
  display: block;
  color: var(--soft);
}
.cart-line .ctrl {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.mini-qty {
  display: inline-flex;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
}
.mini-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  cursor: pointer;
}
.mini-qty span {
  min-width: 26px;
  text-align: center;
  line-height: 30px;
}
.remove {
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--soft);
  cursor: pointer;
  font-size: 13px;
}
.empty {
  padding: 40px 0;
  text-align: center;
  color: var(--soft);
}

/* sections */
.sec {
  padding: 48px 0;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.hero {
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 23, 0.5);
}
.hero-in {
  position: relative;
  padding: 80px 20px;
  max-width: 820px;
}
.hero p {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 24px;
}
.cats {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cats a {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.cats img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cats a:hover img {
  transform: scale(1.04);
}
.cats span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font: 700 20px/1.1 var(--heading);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
@media (max-width: 750px) {
  .cats {
    grid-template-columns: 1fr 1fr;
  }
}
.banner {
  min-height: 560px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05) 60%);
}
.banner-in {
  position: relative;
  color: #fff;
  padding: 32px;
  max-width: 560px;
}
@media (max-width: 750px) {
  .banner {
    min-height: 420px;
  }
}
.reassure {
  background: #fff;
}
.reassure ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reassure a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.r-icon {
  font-size: 26px;
  line-height: 1;
}
.reassure span:last-child {
  color: var(--soft);
  font-size: 14px;
}
@media (max-width: 750px) {
  .reassure ul {
    grid-template-columns: 1fr 1fr;
  }
}
.story {
  background: var(--accent);
  padding: 64px 0;
}
.story .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 750px) {
  .story .wrap {
    grid-template-columns: 1fr;
  }
}

/* product grid */
.grid {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 24px 12px;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 990px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 750px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .scroll-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
  }
  .scroll-mobile .card {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
}
.card-link {
  display: block;
  text-decoration: none;
}
.card-media {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media .alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card-link:hover .alt {
  opacity: 1;
}
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
}
.badge-sale {
  background: var(--accent);
  color: var(--dark);
}
.badge-soldout {
  background: var(--muted);
  color: var(--dark);
}
.card-title {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}
.card-price {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}
.card-price s,
.price s {
  color: var(--soft);
  font-weight: 400;
  margin-left: 6px;
}

/* collection */
.crumbs {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 12px;
}
.crumbs a {
  text-decoration: none;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--soft);
}
.toolbar select,
.search-form input,
.contact input,
.contact textarea,
.signup input {
  font: inherit;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 9px 12px;
}
.toolbar select {
  margin-left: 6px;
}
.intro {
  max-width: 760px;
  color: var(--soft);
}
.sec .center .btn {
  margin-top: 32px;
}

/* product page */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.gallery {
  position: sticky;
  top: 90px;
}
@media (max-width: 900px) {
  .gallery {
    position: static;
  }
}
.gallery-main {
  background: #fff;
  aspect-ratio: 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbs {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.thumbs button {
  border: 1px solid transparent;
  padding: 0;
  background: #fff;
  cursor: pointer;
  border-radius: var(--radius);
}
.thumbs button[aria-current="true"] {
  border-color: var(--fg);
}
.thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
}
.price {
  font-size: 20px;
  font-weight: 600;
}
.buy-form {
  margin: 20px 0 24px;
  display: grid;
  gap: 14px;
}
.opt {
  border: 0;
  padding: 0;
  margin: 0;
}
.opt legend {
  font-size: 14px;
  margin-bottom: 8px;
}
.opt-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt-values label {
  cursor: pointer;
}
.opt-values input {
  position: absolute;
  opacity: 0;
}
.opt-values span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
}
.opt-values input:checked + span {
  background: var(--dark);
  color: var(--bg);
  border-color: var(--dark);
}
.opt-values input:focus-visible + span {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}
.opt-values .unavailable span {
  color: var(--muted);
  text-decoration: line-through;
}
.qty-row {
  display: flex;
  gap: 10px;
}
.qty {
  display: inline-flex;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: #fff;
}
.qty button {
  width: 40px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.qty input {
  width: 44px;
  border: 0;
  text-align: center;
  font: inherit;
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.acc {
  border-top: 1px solid var(--line);
}
.acc:last-of-type {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker,
.drawer-nav summary::-webkit-details-marker,
.f-col summary::-webkit-details-marker {
  display: none;
}
.acc[open] summary svg,
.drawer-nav details[open] summary svg {
  transform: rotate(180deg);
}
.acc .rte {
  padding-bottom: 16px;
}

/* rich text */
.rte {
  overflow-wrap: anywhere;
}
.rte h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.rte h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.rte table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 14px;
}
.rte th,
.rte td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.rte img {
  height: auto;
}
.page .rte {
  margin-top: 8px;
}

/* forms */
.contact {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .row2 {
    grid-template-columns: 1fr;
  }
}
.search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
}
.search-form input {
  flex: 1;
  min-height: 48px;
}

/* cart page */
.cart-page-foot {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}
.cart-page-foot .btn {
  min-width: 280px;
}

/* footer */
.ftr {
  background: var(--dark);
  color: var(--bg);
  padding-top: 48px;
}
.ftr a {
  color: var(--bg);
  text-decoration: none;
}
.ftr a:hover {
  text-decoration: underline;
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.ftr h2 {
  font-size: 24px;
}
.ftr h3 {
  font: 600 14px/1.3 var(--body);
  margin: 0;
}
.f-col summary {
  display: flex;
  justify-content: space-between;
  list-style: none;
  cursor: default;
  pointer-events: none;
  margin-bottom: 12px;
}
.f-col summary svg {
  display: none;
}
.f-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.f-biz {
  font-size: 13px;
}
.f-biz p {
  margin: 0 0 10px;
}
.signup {
  display: flex;
  margin-top: 12px;
  max-width: 360px;
}
.signup input {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius);
}
.signup button {
  border: 0;
  background: var(--bg);
  color: var(--dark);
  width: 46px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}
.ftr .fine {
  color: var(--muted);
}
.ftr-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--divider);
  margin-top: 36px;
  padding-top: 20px;
  padding-bottom: 40px;
  font-size: 12px;
}
.f-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
@media (max-width: 990px) {
  .ftr-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .f-col {
    border-bottom: 1px solid var(--divider);
  }
  .f-col summary {
    pointer-events: auto;
    cursor: pointer;
    padding: 14px 0;
    margin: 0;
  }
  .f-col summary svg {
    display: block;
  }
  .f-col ul {
    padding-bottom: 14px;
  }
  .f-signup {
    margin-bottom: 16px;
  }
  .f-biz {
    margin-top: 16px;
  }
}
