.store-main {
  min-height: 70vh;
  padding: 34px 0 100px;
  background: #101211;
}

.store-container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.store-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 36px;
  color: #8e958e;
  font-size: 11px;
}

.store-breadcrumbs a:hover {
  color: var(--lime);
}

.store-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 42px;
}

.store-intro h1,
.product-info-panel h1 {
  margin: 14px 0 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
}

.store-intro > p {
  max-width: 360px;
  margin: 0 0 4px;
  color: #aeb4ad;
  font-size: 14px;
  line-height: 1.7;
}

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

.catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #353936;
  background: #171a18;
  transition: border-color 180ms ease, transform 180ms ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: #ff7900;
}

.catalog-card-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  place-items: center;
  background: #0b0d0c;
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 350ms ease;
}

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

.catalog-card-index {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 1;
  color: #d3d8d1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.catalog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.catalog-card-content h2 {
  margin: 10px 0 8px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.catalog-card-content > p {
  min-height: 44px;
  margin: 0;
  color: #aeb4ad;
  font-size: 12px;
  line-height: 1.6;
}

.catalog-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 21px 0 16px;
  padding-top: 14px;
  border-top: 1px solid #353936;
  color: #aeb4ad;
  font-size: 10px;
  text-transform: uppercase;
}

.catalog-card-price strong {
  color: #f2f3f0;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.catalog-card .button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  margin-top: auto;
  padding: 0 14px;
  font-size: 10px;
}

.catalog-note {
  margin: 22px 0 0;
  color: #868d86;
  font-size: 11px;
  line-height: 1.6;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(32px, 6vw, 82px);
}

.product-gallery {
  min-width: 0;
}

.gallery-stage {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  place-items: center;
  background: #090b0a;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  color: #fff;
  background: rgb(16 18 17 / 74%);
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: #ff7900;
  background: #ff7900;
}

.gallery-arrow span {
  margin-top: -4px;
  font-size: 29px;
  line-height: 1;
}

.gallery-arrow-prev {
  left: 12px;
}

.gallery-arrow-next {
  right: 12px;
}

.gallery-featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbnails button {
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid #353936;
  background: #090b0a;
  cursor: pointer;
}

.gallery-thumbnails button[aria-pressed="true"] {
  border: 2px solid #ff7900;
}

.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  position: static;
  padding: 12px 0;
}

.product-info-panel h1 {
  max-width: 520px;
  font-size: 21px;
  line-height: 1.2;
}

.product-info-panel .product-description {
  margin: 19px 0 25px;
  color: #b0b6af;
  font-size: 14px;
  line-height: 1.75;
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 19px 0;
  border-top: 1px solid #353936;
  border-bottom: 1px solid #353936;
}

.product-price-block strong {
  color: #f2f3f0;
  font-size: 29px;
  font-weight: 800;
}

.product-price-block span {
  color: #929992;
  font-size: 10px;
}

.product-section-label {
  display: block;
  margin: 25px 0 12px;
  color: #d0d5ce;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.size-selector button {
  min-width: 45px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #4a504b;
  color: #e5e8e2;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.size-selector button:hover,
.size-selector button[aria-pressed="true"] {
  border-color: var(--lime);
  color: #101211;
  background: var(--lime);
}

.product-buy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 18px;
  font-size: 11px;
}

.product-delivery-note {
  margin: 13px 0 0;
  color: #858c85;
  font-size: 10px;
  line-height: 1.6;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #353936;
}

.product-details div {
  display: grid;
  gap: 5px;
}

.product-details dt {
  color: #858c85;
  font-size: 9px;
  text-transform: uppercase;
}

.product-details dd {
  margin: 0;
  color: #e5e8e2;
  font-size: 12px;
}

.product-features {
  margin-top: 22px;
  border-top: 1px solid #353936;
  border-bottom: 1px solid #353936;
}

.product-features summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 16px;
  color: #f2f3f0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.product-features summary::-webkit-details-marker {
  display: none;
}

.product-features-toggle {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.product-features-toggle::before,
.product-features-toggle::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: #ff7900;
  content: "";
}

.product-features-toggle::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.product-features[open] .product-features-toggle::after {
  transform: rotate(0);
}

.product-features ul {
  margin: 0;
  padding: 2px 0 20px 18px;
  color: #b0b6af;
  font-size: 12px;
  line-height: 1.65;
}

.product-features li + li {
  margin-top: 9px;
}

.product-features li::marker {
  color: #ff7900;
}

.product-features h2 {
  margin: 0 0 14px;
  color: #f2f3f0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
}

.order-product-summary {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid #ff7900;
  color: var(--ink);
  background: #e7e9e1;
  font-size: 12px;
  font-weight: 800;
}

.store-footer-link {
  color: #c0c5bf;
  font-size: 10px;
}

.store-footer-link:hover {
  color: var(--lime);
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 28px;
  }

  .catalog-grid {
    gap: 14px;
  }

  .catalog-card-content {
    padding: 16px;
  }
}

@media (max-width: 700px) {
  .store-container {
    width: min(100% - 36px, 560px);
  }

  .store-main {
    padding: 26px 0 70px;
  }

  .store-intro {
    display: block;
    margin-bottom: 28px;
  }

  .store-intro > p {
    margin-top: 15px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-card-content {
    padding: 13px;
  }

  .catalog-card-content h2 {
    font-size: 18px;
  }

  .catalog-card-content > p {
    min-height: 58px;
    font-size: 10px;
  }

  .catalog-card-price {
    display: block;
    margin: 14px 0 12px;
    font-size: 8px;
  }

  .catalog-card-price strong {
    display: block;
    margin-top: 5px;
    font-size: 17px;
  }

  .catalog-card .button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 9px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-info-panel {
    position: static;
    padding: 0;
  }

  .gallery-stage {
    aspect-ratio: 4 / 4.5;
  }

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

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

  .catalog-card-image {
    aspect-ratio: 4 / 4.2;
  }

  .catalog-card-content > p {
    min-height: 0;
  }
}
