/* ==========================================================================
   goods-cross.css — блоковете с аксесоари на страницата на книга и в търсенето
   на книги (стъпка 9). Отделен файл; не променя CSS-а на книгите.
   ========================================================================== */
.gx-box {
  margin: 24px 0 0;
  padding: 18px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #212121;
  text-align: left;
  background: #fff;
  border: 1px solid #f3d6df;
  border-radius: 12px;
  box-sizing: border-box;
}
.gx-box *, .gx-box *::before, .gx-box *::after { box-sizing: border-box; }
.gx-box--search { background: #ffffff; margin: 30px 0 10px; }
.gx-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 8px 16px; margin: 0 0 14px;
}
.gx-title { margin: 0; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 18px; font-weight: 600; color: #212121; }
.gx-sub { margin: 2px 0 0; font-size: 13px; color: #6b6b6b; }
.gx-all { font-size: 14px; font-weight: 600; color: #8f0031; text-decoration: none; white-space: nowrap; }
.gx-all:hover { color: #ad003b; text-decoration: underline; }
.gx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.gx-item {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  color: #212121; background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; text-decoration: none;
}
.gx-item--link:hover { color: #212121; border-color: #ad003b; }
.gx-img { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; background: #f0f0f0; border-radius: 8px; display: block; }
.gx-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gx-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.gx-name { font-size: 14px; font-weight: 500; line-height: 1.3; color: #212121; text-decoration: none; overflow-wrap: anywhere; }
a.gx-name:hover { color: #8f0031; }
.gx-price { font-size: 15px; font-weight: 700; }
.gx-cart {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: #8f0031; background: #fff;
  border: 1px solid #ad003b; border-radius: 8px; cursor: pointer; text-decoration: none;
}
.gx-cart:hover { color: #8f0031; background: #fdf2f5; }
.gx-cart.is-in-cart { color: #fff; background: #ad003b; }
/* бранд: бутони без удебеляване, радиус 6px, по-спокойна рамка */
.gx-box{border-color:#e2e2e2}
.gx-all{font-weight:400}
.gx-cart{font-weight:400;border-radius:6px}
