.gp-compact {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 32px 24px 70px;
}
.gp-compact-opening {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 28px;
}
.gp-compact-opening > img {
  width: 48px;
  height: auto;
  flex: none;
}
.gp-compact h1 {
  font-family: var(--olp-font-display);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.gp-compact h1 span {
  white-space: nowrap;
}
.gp-artist {
  font-family: var(--olp-font-serif, Georgia, serif);
  font-style: italic;
  font-size: 18px;
  margin: 0 0 5px;
}
.gp-summary {
  font-size: 16px;
  margin: 0;
}
.gp-compact-specs {
  font-size: 13px;
  color: #d0cdc4;
  border-bottom: 1px solid #333;
  padding: 0 0 18px;
  line-height: 1.5;
}
.gp-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  margin-top: 32px;
}
.gp-shop-card {
  min-width: 0;
}
/* Equal-height row cards keep the buying action aligned despite garment copy. */
@media (min-width: 601px) {
  .olpiner-collection .gp-shop-card { display: flex; flex-direction: column; }
  .olpiner-collection .gp-shop-card .qa-trigger { margin-top: auto; }
}
.gp-shop-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
}
.gp-shop-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gp-view-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 10px;
}
.gp-view-switch button {
  min-width: 64px;
  min-height: 44px;
  color: #eee;
  background: transparent;
  border: 1px solid #555;
  font: inherit;
  font-size: 14px;
}
.gp-view-switch button[aria-pressed='true'] {
  border-color: #ef00bd;
  color: #ef00bd;
}
.gp-card-browse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 4px 0 10px;
}
.gp-card-browse .gp-view-switch { margin: 0; }
.gp-card-browse .gp-view-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 4px;
  color: #f4f0e8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gp-view-item span { color: #ff59cf; }
.gp-view-item:focus-visible { outline: 2px solid #ff59cf; outline-offset: 2px; }
.gp-shop-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.gp-shop-title h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.gp-shop-title h2 a {
  color: inherit;
  text-decoration: none;
}
.gp-shop-title p {
  font: 16px var(--olp-font-mono, monospace);
  white-space: nowrap;
  margin: 0;
}
.gp-shop-title small {
  font-size: 10px;
}
.gp-compact .qa-trigger {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 48px;
  width: 100%;
  background: #f1ede3;
  color: #111;
  border: 1px solid #f1ede3;
}
.gp-shopping-help {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-top: 4px;
}
.gp-shopping-help a {
  padding: 12px 0;
  min-height: 44px;
  color: #d0cdc4;
  text-underline-offset: 4px;
}
.gp-compact-delivery {
  font-size: 14px;
  color: #d0cdc4;
  margin-top: 32px;
}
.gp-compact button:focus-visible,
.gp-compact a:focus-visible {
  outline: 2px solid #ef00bd;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .gp-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .gp-compact {
    padding: 24px 18px 50px;
  }
  .gp-compact-opening {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  .gp-compact-opening > img {
    width: 32px;
    margin-top: 3px;
  }
  .gp-compact h1 {
    font-size: 32px;
    max-width: 310px;
    margin-bottom: 8px;
  }
  .gp-artist {
    font-size: 15px;
  }
  .gp-summary {
    font-size: 14px;
  }
  .gp-compact-specs {
    font-size: 12px;
    padding-bottom: 12px;
  }
  .gp-compact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 24px;
  }
  /* Let the garment fill the phone while the shopping controls keep
     their readable inset. Contain preserves sleeves, collar and hem. */
  .gp-shop-image {
    width: calc(100% + 36px);
    margin-inline: -18px;
    aspect-ratio: 4 / 5;
  }
  .gp-view-switch {
    margin-top: 0;
    margin-bottom: 8px;
  }
  .gp-shop-title h2 {
    font-size: 19px;
  }
  .gp-shop-title {
    margin-bottom: 8px;
  }
}
