@import url('/themes/default/storefront.css');

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
}

body {
  background: #fff;
  color: #111;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.55rem 1.25rem;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e7e7e7;
  backdrop-filter: blur(10px);
}

.topbar::before {
  display: none;
}

body {
  padding-top: 0;
}

.topbar__brand img {
  width: auto;
  height: 76px !important;
  display: block;
}

.topbar__toggle,
.topbar__archive-toggle,
.pill,
.btn,
.gallery-folders a {
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.topbar__toggle:hover,
.topbar__archive-toggle:hover,
.pill:hover,
.gallery-folders a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar__toggle-bars span {
  background: #111;
}

.topbar__archive-menu {
  top: calc(100% + 1px);
  left: 0.75rem;
  border-radius: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.topbar__archive-menu a {
  border: 0;
  border-radius: 0;
  color: #111;
}

.page {
  max-width: none;
  padding: 0;
  gap: 0;
}

.hero {
  border: 0;
  border-radius: 0;
  background: #111;
}

.hero__media {
  aspect-ratio: auto;
  height: min(86svh, 920px);
  min-height: 560px;
}

.hero__video {
  filter: contrast(1.04);
}

.hero__gradient {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.54));
}

.hero__text {
  left: 0;
  right: 0;
  bottom: 2rem;
  place-items: center;
  text-align: center;
  color: #fff;
}

.hero__text .eyebrow {
  display: none;
}

.hero h1 {
  font-size: clamp(1.3rem, 3.5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero .lede {
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__fullscreen {
  top: auto;
  right: 1rem;
  bottom: 1rem;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.75);
}

.hero--placeholder {
  min-height: 68svh;
  display: grid;
  place-items: end center;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.58)), url('/images/branding/IMG_8847.jpg') center / cover;
}

.catalog,
.gallery-page {
  padding: 2.5rem 1rem 4rem;
  gap: 1.25rem;
}

.catalog__header,
.gallery-header {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.catalog__header .eyebrow {
  display: none;
}

.catalog__header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.gallery-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.product-detail__body h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.eyebrow {
  color: #555;
  letter-spacing: 0.12em;
}

.lede,
.muted,
.checkbox {
  color: #333;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.product-card {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.product-card__media {
  background: #f4f4f4;
  aspect-ratio: 3 / 4.2;
}

.product-card__media img {
  transform: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.product-card__body {
  padding: 0.55rem 0.2rem 1rem;
  gap: 0.25rem;
}

.product-card__body h3,
.cart-item__body h3 {
  font-size: 0.86rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-card__meta {
  font-size: 0.82rem;
  font-weight: 700;
}

.product-detail__body .price {
  font-size: 1.4rem;
  font-weight: 700;
}

.card,
.checkout-card,
.cart-summary,
.status-panel {
  border-radius: 0;
  border-color: #dcdcdc;
  background: #fff;
  box-shadow: none;
}

.btn {
  border: 1px solid #111;
  padding: 0.85rem 1.2rem;
}

.btn--solid {
  background: #111;
  color: #fff;
}

.btn--ghost {
  color: #111;
}

.btn--ghost:hover {
  background: #f2f2f2;
}

.product-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  height: calc(100svh - 74px);
  min-height: calc(100svh - 74px);
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.product-detail__media {
  height: 100%;
  min-height: 0;
  padding: 1rem;
  background: #fff;
}

.product-media__frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  min-height: inherit;
  isolation: isolate;
}

.product-media__frame::before {
  display: none;
}

.product-media__img,
.product-detail__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.product-media__nav {
  position: absolute;
  top: 50%;
  bottom: auto;
  width: 48px;
  min-width: 48px;
  height: 64px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  pointer-events: auto;
}

.product-media__nav:not([hidden]) {
  display: block;
  pointer-events: auto !important;
}

.product-media__nav--prev {
  left: 0.75rem;
}

.product-media__nav--next {
  right: 0.75rem;
}

.product-media__nav::before {
  border-color: #111;
  left: 18px;
  filter: none;
}

.product-media__nav--next::before {
  right: 18px;
  left: auto;
}

.product-detail__body {
  align-content: start;
  position: sticky;
  top: 74px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 2rem clamp(2rem, 5vw, 5rem);
  border-left: 1px solid #e6e6e6;
  background: #fff;
}

.collapsible {
  border-radius: 0;
  border-color: #dcdcdc;
  background: #fff;
}

.collapsible summary::after {
  border-color: #111;
}

.field select,
.field input[type="number"],
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="tel"],
.quantity-form input[type="number"] {
  border-radius: 0;
  border-color: #cfcfcf;
  background: #fff;
  color: #111;
}

.qty-btn {
  border-radius: 0 !important;
  border-color: #111 !important;
  background: #fff !important;
  color: #111 !important;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.gallery-card {
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #f4f4f4;
}

.gallery-card img,
.gallery-card video {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: contrast(1.03);
}

.gallery-folders {
  justify-content: center;
}

.gallery-folders a.is-active,
.pill--active {
  border-color: #111;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-badge {
  background: #111;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.markdown code,
.markdown pre {
  background: #f2f2f2;
}

.markdown blockquote {
  border-left-color: #111;
  color: #333;
}

.size-table th,
.size-table td,
.size-table__size {
  color: #111;
  border-bottom-color: #e2e2e2;
}

@media (max-width: 980px) {
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__media {
    height: 72svh;
    min-height: 460px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .product-detail__media {
    height: 58svh;
    min-height: 58svh;
  }

  .product-media__img,
  .product-detail__media img {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .product-detail__body {
    position: static;
    height: auto;
    min-height: 0;
    overflow: visible;
    border-left: 0;
    border-top: 1px solid #e6e6e6;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 0;
  }

  .topbar::before {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
    padding: 0.5rem 0.8rem;
  }

  .topbar__brand {
    grid-column: 2;
  }

  .topbar__brand img {
    height: 38px !important;
  }

  .catalog,
  .gallery-page {
    padding-inline: 0.5rem;
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__media {
    height: 68svh;
    min-height: 420px;
  }

  .hero h1 {
    font-size: clamp(1.2rem, 6.5vw, 2.3rem);
  }

  .product-media__img,
  .product-detail__media img {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }
}
