/* Northbound — rugged, high-contrast outdoor apparel look. */
:root {
  --heading-weight: 800;
  --heading-tracking: -0.01em;
  --radius: 4px;
  --radius-button: 4px;
}
sticky-atc, collection-filters { display: block; }
h1, h2, h3, .section__title, .hero__heading, .product__title { text-transform: uppercase; font-stretch: condensed; }
.hero__heading { font-size: calc(clamp(3rem, 8vw, 6.5rem) * var(--heading-scale)); line-height: .92; }
.header { background: var(--color-dark); color: var(--color-bg); border-bottom: 0; --border: rgb(255 255 255 / .12); }
.header .icon-button:hover { background: rgb(255 255 255 / .1); }
.header__logo { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.header__logo-mark { color: var(--color-accent); font-size: 1.1rem; }
.mobile-nav { background: var(--color-dark); }
.announcement { background: var(--color-accent); color: #fff; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; }
.button { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.button--small { font-size: .75rem; }
.eyebrow { letter-spacing: .2em; }
.usp-bar { background: var(--color-bg); }
.card__media { border-radius: var(--radius); }
.card__title { text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.testimonial { border-radius: var(--radius); }

/* Swatches */
.swatch { display: inline-block; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); cursor: pointer; position: relative; }
.pill-input:checked + .swatch { box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-text); }
.pill-input:focus-visible + .swatch { outline: 2px solid var(--color-accent); outline-offset: 5px; }
.swatch.is-unavailable::after { content: ''; position: absolute; inset: 45% -2px auto; height: 2px; background: var(--color-bg); transform: rotate(-45deg); }
.swatch--small { width: 1.25rem; height: 1.25rem; cursor: inherit; }
.variants__selected { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.card__swatches { display: flex; gap: .4rem; list-style: none; margin: .35rem 0 0; padding: 0; position: relative; z-index: 2; }
.card__swatch { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 0; padding: 0; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); cursor: pointer; }
.card__swatch.is-active { box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px var(--color-text); }

/* Features & size guide */
.features-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.features-list li { display: flex; gap: .6rem; font-size: .95rem; }
.features-list li::before { content: '▲'; color: var(--color-accent); font-size: .7rem; line-height: 1.6rem; }
.size-guide__open { font-size: .85rem; color: var(--color-text); }
.modal { border: 0; border-radius: var(--radius); padding: 1.5rem 2rem 2rem; width: min(560px, calc(100% - 2rem)); background: var(--color-bg); color: var(--color-text); box-shadow: var(--shadow); }
.modal::backdrop { background: rgb(0 0 0 / .55); }
.modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.modal__title { margin: 0; font-size: 1.5rem; }
.modal__note { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.size-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.size-table th, .size-table td { padding: .7rem .5rem; text-align: left; border-bottom: 1px solid var(--border); }
.size-table thead th, .size-table tr:first-child th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

/* Sticky add to cart */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--color-dark); color: var(--color-bg); transform: translateY(110%); transition: transform .3s var(--ease); box-shadow: 0 -10px 30px rgb(0 0 0 / .2); }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__inner { display: flex; align-items: center; gap: 1rem; padding-block: .75rem; }
.sticky-atc__img { width: 3rem; height: 3rem; object-fit: cover; border-radius: var(--radius); }
.sticky-atc__info { flex: 1; display: grid; font-size: .9rem; line-height: 1.3; min-width: 0; }
.sticky-atc__info strong { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .sticky-atc__img { display: none; } }

/* Collection + facets */
.collection-layout { display: grid; gap: 2rem; }
@media (min-width: 990px) { .collection-layout { grid-template-columns: 240px 1fr; align-items: start; } .facets { position: sticky; top: 6.5rem; } }
.facets__head { display: flex; justify-content: space-between; align-items: baseline; }
.facets__title { font-size: 1.1rem; }
.facet { border: 0; border-top: 1px solid var(--border); margin: 0; padding: 1.1rem 0; }
.facet legend { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 0; margin-bottom: .7rem; float: left; width: 100%; }
.facet__check { display: flex; gap: .5rem; align-items: center; padding: .2rem 0; cursor: pointer; clear: both; }
.facet__check input { accent-color: var(--color-accent); }
.facet__swatches { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; clear: both; }
.facet__swatch { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; padding: .2rem; border-radius: var(--radius); }
.facet__swatch:has(input:checked) { background: var(--color-surface); font-weight: 700; }
.facet__swatch:has(input:checked) .swatch { box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px var(--color-text); }
.facet .pills { clear: both; }
.pill--small { min-height: 2.2rem; padding: .3rem .85rem; font-size: .8rem; }
.grid__item[hidden] { display: none; }
.filters-empty { padding: 3rem 0; text-align: center; color: var(--muted); }

/* Lookbook */
.lookbook { position: relative; border-radius: var(--radius); overflow: visible; }
.lookbook__img { width: 100%; border-radius: var(--radius); }
.hotspot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1; }
.hotspot[open] { z-index: 3; }
.hotspot__dot { list-style: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgb(255 255 255 / .3); backdrop-filter: blur(4px); }
.hotspot__dot::-webkit-details-marker { display: none; }
.hotspot__dot span { width: .9rem; height: .9rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgb(255 255 255 / .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgb(255 255 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); } }
.hotspot__card { position: absolute; top: 50%; left: calc(100% + .75rem); transform: translateY(-50%); display: flex; gap: .9rem; align-items: center; width: max-content; max-width: 300px; padding: .9rem 1.1rem .9rem .9rem; border-radius: var(--radius); background: var(--color-bg); color: #151916; --color-text: #151916; box-shadow: var(--shadow); }
.hotspot--left .hotspot__card { left: auto; right: calc(100% + .75rem); }
.hotspot__img { border-radius: var(--radius); }
.hotspot__title { margin: 0; font-weight: 700; text-transform: uppercase; font-size: .85rem; }
.hotspot__card .price { font-size: .9rem; }
.hotspot__card .link-arrow { font-size: .8rem; margin-top: .25rem; }
.facets__toggle { display: none; }
@media (max-width: 989px) {
  .facets__toggle { display: inline-flex; }
  .facets__body { display: none; margin-top: 1rem; }
  .facets-open .facets__body { display: block; }
}
