:root {
  --black: #050505;
  --white: #fff;
  --grey: #f1f1f1;
  --line: #e8e8e8;
  --muted: #6d6d6d;
  --page-pad: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.topbar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.35;
}

.header {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

.logo,
.footer-brand {
  color: #000;
  text-decoration: none;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo span,
.footer-brand span {
  font-weight: 400;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo-lockup img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid #111;
  border-radius: 50%;
  filter: grayscale(100%);
}

.logo-lockup span {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.logo-lockup small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.nav a,
.backlink {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.actions button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.actions .search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 110px;
  padding: 0 14px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.actions .search-icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.actions .search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  position: absolute;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.actions .search-label {
  font-size: 12px;
  font-weight: 900;
}

#cartBtn {
  padding: 0 12px;
  border: 1px solid #111;
}

.backlink {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 96px var(--page-pad);
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1581009137042-c552e485697a?auto=format&fit=crop&w=1800&q=90') center 32% / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .54) 46%, rgba(0, 0, 0, .18) 100%);
}

.hero-content {
  width: min(100%, 820px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  line-height: 1.3;
}

.eyebrow.dark {
  color: #555;
}

.hero h1 {
  max-width: 880px;
  margin: 0 0 28px;
  font-size: 92px;
  font-weight: 900;
  line-height: .92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 500px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.btn.light {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.dark-btn {
  width: max-content;
  margin-top: 20px;
  border-color: #000;
  background: #000;
  color: #fff;
}

.category-strip {
  display: flex;
  gap: 8px;
  padding: 18px var(--page-pad);
  overflow-x: auto;
  border-bottom: 1px solid #eee;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.cat.active,
.cat:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.shop {
  padding: 72px var(--page-pad) 96px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2,
.brand-copy h2,
.editorial h2 {
  margin: 0;
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}

.section-head h2 {
  max-width: 760px;
  font-size: 52px;
}

.section-head > p {
  margin: 0;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

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

.product-card {
  min-width: 0;
  position: relative;
}

.product-link {
  display: block;
  color: #000;
  text-decoration: none;
}

.product-image {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform .5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 9px;
  overflow: hidden;
  background: #fff;
  color: #000;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: none;
}

.product-info {
  padding: 14px 2px 25px;
}

.product-meta {
  color: #777;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.product-name {
  margin: 6px 0 9px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.price {
  font-size: 13px;
  font-weight: 900;
}

.old-price {
  margin-left: 7px;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 650px;
  background: #f5f5f5;
}

.brand-poster {
  min-height: 520px;
  overflow: hidden;
  background: #e8e8e8;
}

.brand-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}

.brand-copy h2 {
  font-size: 70px;
}

.brand-copy p:not(.eyebrow) {
  max-width: 480px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.editorial {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 80px var(--page-pad);
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .22)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=85') center / cover;
  color: #fff;
}

.editorial-copy {
  max-width: 560px;
}

.editorial h2 {
  font-size: 76px;
}

.editorial p {
  max-width: 440px;
  line-height: 1.55;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #222;
  background: #000;
  color: #fff;
}

.benefits div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 34px 32px;
  border-right: 1px solid #222;
}

.benefits b {
  font-size: 11px;
  letter-spacing: 1px;
}

.benefits span {
  color: #aaa;
  font-size: 12px;
  line-height: 1.4;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 70px var(--page-pad);
  background: #000;
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-size: 30px;
}

footer div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer b {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 1.4px;
}

footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 12px;
}

.drawer {
  width: min(100vw, 470px);
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
  overflow: auto;
  padding: 65px 30px 30px;
  background: #fff;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .15);
  clip-path: inset(0 0 0 100%);
  transition: clip-path .3s ease, visibility .3s ease;
}

.drawer.open {
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0);
}

.drawer h3 {
  margin: 0 0 25px;
  font-size: 30px;
}

.close {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 34px;
  font-weight: 300;
  cursor: pointer;
}

.shade {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.shade.show {
  visibility: visible;
  opacity: 1;
}

#searchInput {
  width: 100%;
  padding: 15px 2px;
  border: 0;
  border-bottom: 2px solid #000;
  font-weight: 700;
  outline: none;
}

.search-item,
.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.search-item img,
.cart-item img {
  width: 80px;
  height: 90px;
  object-fit: cover;
  filter: grayscale(100%);
}

.search-item a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  font-size: 18px;
}

.checkout {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.drawer small {
  display: block;
  margin-top: 12px;
  color: #777;
  line-height: 1.5;
}

.remove {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  padding: 45px var(--page-pad) 80px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.detail-gallery .detail-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2f2f2;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.detail-info {
  height: max-content;
  position: sticky;
  top: 108px;
  padding-top: 15px;
}

.breadcrumb {
  margin-bottom: 24px;
  color: #777;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.detail-price {
  margin: 20px 0;
  font-size: 20px;
  font-weight: 900;
}

.detail-desc {
  color: #555;
  font-size: 13px;
  line-height: 1.65;
}

.option-label {
  margin: 25px 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size {
  min-width: 54px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #bbb;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.size.active {
  border: 2px solid #000;
}

.add-main,
.buy-main {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.add-main {
  margin-top: 22px;
  border: 0;
  background: #000;
  color: #fff;
}

.buy-main {
  margin-top: 8px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
}

.shipping-box {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.7;
}

.related-wrap {
  padding-top: 20px;
}

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

  .hero h1 {
    font-size: 76px;
  }

  .brand-copy h2,
  .editorial h2 {
    font-size: 62px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 24px;
  }

  .header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 600px;
    padding-top: 82px;
    padding-bottom: 82px;
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .44));
  }

  .hero h1 {
    font-size: 58px;
    line-height: .98;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .brand-story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brand-poster {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .brand-copy {
    padding: 64px var(--page-pad);
  }

  .brand-copy h2,
  .editorial h2 {
    font-size: 52px;
  }

  .editorial {
    min-height: 520px;
  }

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

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-info {
    position: static;
    padding-top: 0;
  }

  .detail-info h1 {
    font-size: 44px;
  }
}

@media (hover: none) {
  .quick-add {
    position: static;
    width: 100%;
    margin-top: 4px;
    opacity: 1;
    transform: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }
}

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

  .quick-add {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 16px;
  }

  .topbar {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 8px;
    letter-spacing: .6px;
  }

  .header {
    min-height: 64px;
    gap: 10px;
  }

  .logo-lockup {
    gap: 8px;
  }

  .logo-lockup img {
    width: 34px;
    height: 34px;
  }

  .logo-lockup span {
    font-size: 15px;
  }

  .actions {
    gap: 6px;
  }

  .actions .search-trigger {
    min-width: 88px;
    min-height: 36px;
    padding: 0 10px;
    gap: 6px;
  }

  .actions .search-icon {
    width: 14px;
    height: 14px;
  }

  .actions .search-icon::after {
    width: 6px;
    right: -5px;
    bottom: -3px;
  }

  .actions .search-label {
    font-size: 10px;
  }

  #cartBtn {
    min-height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }

  .backlink {
    min-height: 36px;
    font-size: 11px;
  }

  .hero {
    min-height: 540px;
    padding-top: 70px;
    padding-bottom: 70px;
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 13px;
  }

  .btn {
    width: 100%;
  }

  .category-strip {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 6px;
  }

  .cat {
    min-height: 38px;
    padding: 0 12px;
    font-size: 10px;
  }

  .shop {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .section-head {
    display: block;
    margin-bottom: 22px;
  }

  .section-head h2 {
    font-size: 31px;
    line-height: 1.05;
  }

  .section-head > p {
    margin-top: 10px;
  }

  .product-grid {
    gap: 10px;
  }

  .product-info {
    padding: 10px 0 18px;
  }

  .product-name {
    font-size: 13px;
  }

  .price,
  .old-price {
    display: inline-block;
    font-size: 12px;
  }

  .quick-add {
    min-height: 39px;
    font-size: 9px;
  }

  .badge {
    top: 8px;
    left: 8px;
    padding: 6px 7px;
    font-size: 8px;
  }

  .brand-copy {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .brand-copy h2,
  .editorial h2 {
    font-size: 40px;
    line-height: 1.02;
  }

  .editorial {
    min-height: 460px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefits div {
    padding: 24px var(--page-pad);
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .footer-brand {
    font-size: 26px;
  }

  .drawer {
    padding: 62px 18px 24px;
  }

  .drawer h3 {
    font-size: 26px;
  }

  .search-item,
  .cart-item {
    grid-template-columns: 66px minmax(0, 1fr) auto;
  }

  .search-item img,
  .cart-item img {
    width: 66px;
    height: 76px;
  }

  .product-detail {
    padding-top: 22px;
    padding-bottom: 56px;
  }

  .detail-gallery {
    display: block;
  }

  .detail-gallery .detail-img:not(:first-child) {
    display: none;
  }

  .detail-info h1 {
    font-size: 36px;
    line-height: 1.05;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 340px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .brand-copy h2,
  .editorial h2 {
    font-size: 34px;
  }
}
