/* The rust shop: /shop/, the two department pages and the twelve problem pages.
   A title row with the Shop by problem dropdown, category tiles, a filter rail
   on the left and a grid of product cards (Screwfix-style, approved 29 Nov 2026).
   The .shop-row rules at the foot serve the guides' shop strip only.
   Colours and type come from styles.css. */

/* --- Title row ------------------------------------------------------------ */

.shop-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin: 0.5rem 0 0.75rem;
}

.shop-title h1 {
  margin: 0;
}

.shop-count {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Shop by problem: a quiet select-like box that opens a panel of links. */
.shop-problem-menu {
  position: relative;
  margin-left: auto;
}

.shop-problem-menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 2.4rem 0.45rem 0.9rem;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  background: var(--background);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.shop-problem-menu summary::-webkit-details-marker {
  display: none;
}

.shop-problem-menu summary::after {
  content: '';
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: translateY(-70%) rotate(45deg);
}

.shop-problem-menu[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.shop-problem-menu summary:hover,
.shop-problem-menu summary:focus-visible,
.shop-problem-menu[open] summary {
  border-color: var(--primary);
}

.shop-problem-menu__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 2rem;
  min-width: 30rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--background);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shop-problem-menu__group {
  margin: 0 0 0.25rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-problem-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-problem-menu a {
  display: block;
  padding: 0.55rem 0.5rem;
  border-radius: 4px;
  color: var(--text-primary);
  text-decoration: none;
}

.shop-problem-menu a:hover,
.shop-problem-menu a:focus-visible {
  background: var(--background-alt);
  color: var(--primary-text);
}

.shop-problem-menu a[aria-current='page'] {
  color: var(--primary-text);
  font-weight: 700;
}

.shop-intro {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.shop-intro a {
  color: var(--primary-text);
}

/* Problem pages: the way back to the whole shop, big enough to find and tap. */
.shop-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin: 0.25rem 0 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.shop-back:hover,
.shop-back:focus-visible {
  border-color: var(--primary);
  color: var(--primary-text);
}

.shop-back svg {
  flex: none;
}

.shop-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Search --------------------------------------------------------------- */

.shop-search {
  position: relative;
  margin-bottom: 1.25rem;
}

.shop-search__input {
  width: 100%;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font: inherit;
  font-size: 1rem;
  background: var(--background);
}

.shop-search__input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.shop-search__key {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* --- Category tiles ------------------------------------------------------- */

.shop-tiles {
  position: relative;
  margin: 0 0 1.25rem;
}

.shop-tiles__list {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 2px;
}

.shop-tiles__list::-webkit-scrollbar {
  display: none;
}

.shop-tiles__list li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.shop-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 7.25rem;
  height: 100%;
  padding: 0.75rem 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.shop-tile:hover,
.shop-tile:focus-visible {
  border-color: var(--primary);
}

.shop-tile[aria-current='true'] {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  background: #fff8f1;
}

.shop-tile--empty {
  opacity: 0.45;
}

.shop-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff1e3;
  color: #1f2933;
}

.shop-tile__icon svg {
  width: 36px;
  height: 36px;
}

.shop-tile__icon .a {
  fill: var(--primary);
  stroke: none;
}

.shop-tile__icon .as {
  stroke: var(--primary);
}

.shop-tile__count {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Arrows for a mouse; on touch the row is swiped. */
.shop-tiles__arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--background);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
  cursor: pointer;
  transform: translateY(-50%);
}

.shop-tiles__arrow--prev {
  left: -0.75rem;
}

.shop-tiles__arrow--next {
  right: -0.75rem;
}

@media (pointer: fine) {
  .shop-tiles__arrow {
    display: flex;
  }
}

.shop-tiles__arrow[aria-disabled='true'] {
  opacity: 0.35;
  cursor: default;
}

/* --- Layout and the filter rail ------------------------------------------- */

.shop-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.shop-rail {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--background);
}

.shop-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
}

.shop-rail__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.shop-rail__clear {
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--primary-text);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.shop-switches {
  padding: 0.35rem 1rem;
  border-bottom: 1px solid var(--border);
}

.shop-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

/* The checkbox drawn as a switch, at the end of the line. */
.shop-switch input {
  appearance: none;
  position: relative;
  flex: none;
  order: 3;
  width: 36px;
  height: 20px;
  margin: 0 0 0 auto;
  border-radius: 20px;
  background: #c9ced4;
  cursor: pointer;
  transition: background 0.15s;
}

.shop-switch input::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}

.shop-switch input:checked {
  background: var(--primary);
}

.shop-switch input:checked::before {
  transform: translateX(16px);
}

.shop-switch input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.shop-group {
  border-bottom: 1px solid var(--border);
}

.shop-group:last-child {
  border-bottom: 0;
}

.shop-group__head {
  margin: 0;
  font-size: inherit;
}

.shop-group__head button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 0;
  background: none;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.shop-group__head button::after {
  content: '\2212';
  color: var(--text-light);
  font-weight: 400;
  font-size: 1.15rem;
}

.shop-group__head button[aria-expanded='false']::after {
  content: '+';
}

.shop-group .shop-facet {
  min-width: 0;
  margin: 0;
  padding: 0 1rem 0.75rem;
  border: 0;
}

.shop-group .shop-facet[hidden] {
  display: none;
}

.shop-facet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-facet__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.shop-facet__option input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}

.shop-facet__option label {
  flex: 1;
  padding: 0.3rem 0;
  cursor: pointer;
}

.shop-facet__count {
  color: var(--text-light);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.shop-facet__option--empty label {
  color: var(--text-light);
}

.shop-facet__group {
  margin: 0.5rem 0 0.15rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-facet__more {
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: var(--primary-text);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

/* All the brands: a list that scrolls inside its group. */
.shop-facet__list--long {
  max-height: 18rem;
  overflow-y: auto;
}

@media (pointer: coarse) {
  .shop-facet__option label {
    padding: 0.65rem 0;
  }

  .shop-facet__more {
    min-height: 44px;
  }
}

/* --- Toolbar, chips and the timestamp ------------------------------------- */

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.shop-toolbar__count {
  order: -1;
  margin: 0;
}

.shop-toolbar__filters {
  display: none;
}

.shop-toolbar__sort {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  font-size: 0.9rem;
}

.shop-toolbar__sort select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: var(--background);
}

.shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.shop-chips button,
.shop-chips a {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background-alt);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.shop-chips a:hover,
.shop-chips a:focus-visible,
.shop-chips button:hover,
.shop-chips button:focus-visible {
  border-color: var(--primary);
  color: var(--primary-text);
}

.shop-chips .shop-chips__clear {
  border-color: transparent;
  background: none;
  color: var(--primary-text);
  text-decoration: underline;
}

.shop-stamp {
  min-height: 1.2em;
  margin: 0 0 0.6rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* --- The grid of cards ---------------------------------------------------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--background);
}

/* Cards past Show more carry hidden; display: flex would otherwise win. */
.shop-card[hidden] {
  display: none;
}

.shop-card:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.shop-card p {
  margin: 0;
}

.shop-card__pick {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--primary);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

/* A bigger target than the badge looks. */
.shop-card__pick::after {
  content: '';
  position: absolute;
  inset: -0.6rem;
}

.shop-card__pick:hover,
.shop-card__pick:focus-visible {
  background: var(--primary-dark);
  color: #fff;
}

.shop-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 0.6rem;
}

.shop-card__photo:empty {
  border-radius: 6px;
  background: var(--background-alt);
}

/* Never stretched past its own size: Amazon's photos are 160 px. */
.shop-card__photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-card__brand {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shop-card__name {
  display: -webkit-box;
  margin: 0.15rem 0 0.3rem !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shop-card__size {
  margin-bottom: 0.5rem !important;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Price, stock and the button sit at the foot of every card in a row. */
.shop-card__price {
  min-height: 1.6rem;
  margin-top: auto !important;
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.shop-card__stock {
  margin-top: 0.1rem !important;
  color: var(--primary-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.shop-card__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.6rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: #000;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.shop-card:not(:has(.shop-card__price)) .shop-card__buy {
  margin-top: auto;
}

.shop-card__buy:hover,
.shop-card__buy:focus-visible {
  background: var(--primary-dark);
  color: #fff;
}

.shop-more {
  margin: 1.5rem 0 0.5rem;
  text-align: center;
}

.shop-more__button {
  min-height: 44px;
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--secondary);
  border-radius: 999px;
  background: var(--background);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shop-more__button:hover,
.shop-more__button:focus-visible {
  border-color: var(--primary);
  color: var(--primary-text);
}

.shop-more__count {
  margin: 0.5rem 0 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.shop-empty {
  padding: 2rem 0;
}

.shop-empty__title {
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- The Filter panel (phones) -------------------------------------------- */

.shop-sheet {
  width: min(100%, 28rem);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
}

.shop-sheet[open] {
  display: flex;
  flex-direction: column;
}

.shop-sheet::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.shop-sheet__head,
.shop-sheet__foot {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.shop-sheet__head {
  border-bottom: 1px solid var(--border);
}

.shop-sheet__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.shop-sheet__body {
  flex: 1;
  overflow-y: auto;
}

.shop-sheet__body .shop-switches,
.shop-sheet__body .shop-group__head button,
.shop-sheet__body .shop-group .shop-facet {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.shop-sheet__foot {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.shop-sheet__foot .btn {
  flex: 2;
  min-height: 44px;
  border-radius: 999px;
}

.shop-sheet__close,
.shop-sheet__clear {
  min-height: 44px;
  color: var(--text-primary);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.shop-sheet__clear {
  flex: 1;
}

/* --- Narrow screens ------------------------------------------------------- */

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-rail {
    display: none;
  }

  /* Filter and Sort stay at the top of the window while the products scroll. */
  .shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: var(--background);
    box-shadow: 0 1px 0 var(--border);
  }

  .shop-toolbar__filters,
  .shop-toolbar__sort select {
    min-height: 44px;
    border: 1.5px solid var(--secondary);
    border-radius: 999px;
    background-color: var(--background);
    font: inherit;
    font-weight: 700;
  }

  /* iPhone Safari draws button text blue unless told otherwise. */
  .shop-toolbar__filters {
    display: block;
    color: var(--text-primary);
    cursor: pointer;
  }

  .shop-toolbar__sort {
    position: relative;
    display: block;
    margin: 0;
  }

  .shop-toolbar__sort span {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    pointer-events: none;
  }

  .shop-toolbar__sort select {
    appearance: none;
    width: 100%;
    padding: 0 1.9rem 0 3.1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-overflow: ellipsis;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
    background-size: 0.35rem 0.35rem;
    background-repeat: no-repeat;
  }

  .shop-toolbar__count {
    order: 2;
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-size: 0.85rem;
  }

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

@media (max-width: 640px) {
  .shop-problem-menu {
    flex-basis: 100%;
    margin-left: 0;
  }

  .shop-problem-menu__panel {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .shop-problem-menu__panel > div + div {
    margin-top: 0.5rem;
  }

  .shop-tile {
    width: 6.25rem;
    padding: 0.55rem 0.4rem 0.5rem;
    font-size: 0.78rem;
  }

  .shop-tile__icon {
    width: 44px;
    height: 44px;
  }

  .shop-tile__icon svg {
    width: 30px;
    height: 30px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .shop-card {
    padding: 0.55rem;
  }

  .shop-card__price {
    font-size: 1.1rem;
  }

  .shop-sheet {
    width: 100%;
  }
}

/* --- Rows: the shop strip at the foot of a product guide ------------------- */

.shop-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.shop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem 9.5rem;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.shop-row__main p {
  margin: 0;
}

.shop-row__brand {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shop-row__title {
  font-weight: 600;
  line-height: 1.35;
}

.shop-row__does {
  margin-top: 0.15rem !important;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.shop-row__stock {
  margin-top: 0.2rem !important;
  color: var(--primary-text);
  font-size: 0.82rem;
}

.shop-row__specs {
  margin: 0;
  font-size: 0.9rem;
}

.shop-row__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.shop-row__buy {
  display: block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #000;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.shop-row__buy:hover,
.shop-row__buy:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}

.shop-row__pick {
  display: block;
  color: var(--primary-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 640px) {
  .shop-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }

  .shop-row__specs:empty {
    display: none;
  }

  .shop-row__actions {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  .shop-row__buy {
    padding: 0.45rem 1.1rem;
  }
}

/* --- The strip at the foot of a product guide ------------------------------ */

.shop-strip {
  margin: 2.5rem 0 1rem;
}

.shop-strip__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.shop-strip__head h2 {
  margin: 0;
}

.shop-strip__head a {
  color: var(--primary-text);
  font-weight: 600;
}

.shop-rows--strip .shop-row p {
  margin: 0;
}

/* Article pages underline their links; the strip's buttons are buttons. */
.article-content .shop-strip a.shop-row__buy,
.article-content .shop-strip a.shop-row__buy:hover {
  text-decoration: none;
}
