/* Shop page */
body.page-shop {
  padding-top: 0;
}

/* Hero */
.shop-hero {
  position: relative;
  z-index: 10;
  width: 100%;
}

.shop-hero-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 1.75rem 1.75rem;
}

.shop-hero-media {
  position: absolute;
  inset: -10% 0;
  will-change: transform;
}

.shop-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-hero-media .shop-hero-desktop {
  display: none;
}

.shop-hero-body {
  position: relative;
  height: 72svh;
  width: 100%;
}

.shop-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 1.5rem 2.5rem;
}

.shop-hero-copy-inner {
  max-width: 36rem;
}

.shop-hero-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
}

.shop-hero-copy h1 {
  margin: 1rem 0 0;
  font-size: 11vw;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #111;
}

.shop-hero-copy p {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(17, 17, 17, 0.7);
}

/* Catalog */
.shop-catalog {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  padding: 3.5rem 0 5rem;
}

.shop-glow {
  pointer-events: none;
  position: absolute;
  right: -10%;
  top: -6%;
  height: 120vw;
  width: 120vw;
  opacity: 0.4;
  background: radial-gradient(circle closest-side, rgb(179, 229, 252) 0%, rgb(179, 229, 252) 55%, transparent 100%);
}

.shop-catalog-inner {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  width: 100%;
  max-width: 1600px;
  padding: 0 1.25rem;
}

.shop-catalog h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #111;
}

.shop-catalog-lead {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.55);
}

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  scroll-margin-top: 7rem;
}

.shop-search {
  position: relative;
  width: 100%;
}

.shop-search svg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.shop-search input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.875rem 1.25rem 0.875rem 3rem;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  scroll-margin-top: calc(var(--header-stack, 7rem) + 1.5rem);
}

#shop-search {
  scroll-margin-top: calc(var(--header-stack, 7rem) + 1.5rem);
}

.shop-search input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.shop-search input:focus {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fff;
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.shop-sort > span {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.5);
}

.shop-sort-wrap {
  position: relative;
}

.shop-sort-wrap select {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  padding: 0.75rem 2.75rem 0.75rem 1.25rem;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.2s ease;
}

.shop-sort-wrap select:hover,
.shop-sort-wrap select:focus {
  border-color: rgba(0, 0, 0, 0.3);
}

.shop-sort-wrap svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.shop-promo {
  grid-column: span 2;
}

.shop-promo-mobile {
  position: relative;
  display: flex;
  min-height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #0a3d7a, #0a0a0a);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-promo-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8, 30, 76, 0.22);
}

.shop-promo-mobile-copy {
  display: flex;
  width: 55%;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem;
}

.shop-promo-mobile-copy .title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.shop-promo-mobile-copy .off {
  margin: 0.25rem 0 0;
  white-space: nowrap;
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #fff;
}

.shop-promo-mobile-copy .off span {
  margin-left: 0.5em;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-promo-mobile-copy .note {
  margin: 0.375rem 0 0;
  font-size: 11px;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.6);
}

.shop-promo-cta {
  display: inline-flex;
  height: 2rem;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.875rem;
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0a;
}

.shop-promo-cta svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.3s ease;
}

.shop-promo-mobile:hover .shop-promo-cta svg,
.shop-promo-desktop:hover .shop-promo-cta svg {
  transform: translateX(2px);
}

.shop-promo-mobile-media {
  position: relative;
  width: 45%;
  flex-shrink: 0;
}

.shop-promo-mobile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-promo-desktop {
  display: none;
  position: relative;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #0a3d7a, #0a0a0a);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-promo-desktop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8, 30, 76, 0.22);
}

.shop-promo-desktop .title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 600;
  color: #fff;
}

.shop-promo-desktop .note {
  margin: 0.375rem 0 0;
  font-size: 13px;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.6);
}

.shop-promo-desktop .off {
  margin: 0.75rem 0 0;
  white-space: nowrap;
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #fff;
}

.shop-promo-desktop .off span {
  margin-left: 0.5em;
  display: inline-block;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-promo-desktop-media {
  position: relative;
  z-index: 10;
  margin-top: 0.75rem;
  min-height: 200px;
  width: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.shop-promo-desktop-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-promo-desktop .shop-promo-cta {
  position: relative;
  z-index: 10;
  margin-top: 1rem;
  height: 2.75rem;
  width: 100%;
  gap: 0.375rem;
  font-size: 13px;
}

.shop-promo-desktop .shop-promo-cta svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Product card */
.shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background: #fff;
}

.shop-card-head {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.75rem 0.5rem;
}

.shop-card-head h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
}

.shop-card-head h3 a {
  color: inherit;
}

.shop-card-head .tag {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.shop-card-media {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  width: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.shop-card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
  mix-blend-mode: darken;
}

.shop-badge {
  pointer-events: none;
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(232, 163, 61, 0.7);
  border-radius: 999px;
  background: #fbf1e1;
  padding: 0.125rem 0.5rem 0.125rem 0.25rem;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: #9e4a12;
}

.shop-badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.shop-card-actions {
  margin-top: auto;
  display: flex;
  width: 100%;
  flex-direction: row;
}

.shop-card-price {
  display: flex;
  height: 44px;
  width: 70%;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0 0 0 11px;
  background: #0a0a0a;
  color: #fff;
  transition: opacity 0.2s ease;
}

.shop-card-price:hover {
  opacity: 0.9;
}

.shop-card-price .from {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.shop-card-price .amount {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.shop-card-price .was {
  margin-left: 0.25rem;
  font-size: 0.7em;
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.6;
}

.shop-card-add {
  display: flex;
  height: 44px;
  width: 30%;
  align-items: center;
  justify-content: center;
  border: 1px solid #0a0a0a;
  border-radius: 0 0 11px 0;
  background: #fff;
  color: #0a0a0a;
  font-size: 1.125rem;
  transition: background 0.2s ease;
}

.shop-card-add:hover {
  background: rgba(10, 10, 10, 0.05);
}

.shop-card-add .label {
  display: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .shop-hero-media .shop-hero-mobile {
    display: none;
  }

  .shop-hero-media .shop-hero-desktop {
    display: block;
    object-position: 35% center;
  }

  .shop-hero-body {
    height: 62svh;
  }

  .shop-hero-copy {
    align-items: center;
    justify-content: flex-end;
    padding: 0 2.5rem;
  }

  .shop-hero-copy-inner {
    width: 50%;
  }

  .shop-hero-copy h1 {
    font-size: 3rem;
  }

  .shop-hero-copy p {
    font-size: 1.125rem;
  }

  .shop-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .shop-search {
    max-width: 24rem;
  }

  .shop-card-head {
    gap: 0.375rem;
    padding: 1.25rem 1.25rem 0.5rem;
  }

  .shop-card-head h3 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .shop-card-head .tag {
    letter-spacing: 0.2em;
  }

  .shop-badge {
    font-size: 10px;
  }

  .shop-badge svg {
    width: 18px;
    height: 18px;
  }

  .shop-card-price,
  .shop-card-add {
    height: 52px;
    width: 50%;
  }

  .shop-card-price .from {
    font-size: 10px;
  }

  .shop-card-price .amount {
    font-size: 0.875rem;
  }

  .shop-card-add .plus {
    display: none;
  }

  .shop-card-add .label {
    display: inline;
  }
}

@media (min-width: 768px) {
  .shop-hero-frame {
    border-radius: 0 0 2.5rem 2.5rem;
  }

  .shop-hero-body {
    height: 68svh;
  }

  .shop-hero-media .shop-hero-desktop {
    object-position: center;
  }

  .shop-catalog {
    padding: 5rem 0 7rem;
  }

  .shop-glow {
    height: 42vw;
    width: 42vw;
    opacity: 0.3;
  }

  .shop-catalog-inner {
    padding: 0 2rem;
  }

  .shop-catalog h2 {
    font-size: 3rem;
  }

  .shop-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .shop-hero-copy {
    padding: 0 4rem;
  }

  .shop-hero-copy h1 {
    font-size: 3.75rem;
  }

  .shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-promo {
    grid-column: span 1;
  }

  .shop-promo-mobile {
    display: none;
  }

  .shop-promo-desktop {
    display: flex;
  }

  .shop-card-price .amount {
    font-size: 1rem;
  }

  .shop-card-add .label {
    font-size: 0.875rem;
  }
}

@media (min-width: 1280px) {
  .shop-hero-copy h1 {
    font-size: 4.5rem;
  }

  .shop-catalog-inner {
    padding: 0 3rem;
  }
}
