.cart-color-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ccc;
  vertical-align: middle;
  margin-right: 6px;
}

.list-add-form {
  display: inline-block;
  margin: 0;
}

.shop-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 0.35rem;
  color: #17171a;
  text-decoration: none;
  flex: 0 0 auto;
}

.shop-cart-link:hover {
  color: #876c63;
}

.shop-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: #876c63;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.shop-note {
  background: #fff;
  border: 1px solid #d5c3af;
  color: #70554e;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
}

.shop-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.shop-card {
  background: #fff;
  border: 1px solid #e4ddd6;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.shop-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  background: #f1f0ef;
  margin-bottom: 0.8rem;
  text-decoration: none;
}

.shop-card-media img {
  max-height: 150px;
  max-width: 90%;
  width: auto;
}

.shop-card h3 {
  font-family: "Alata", sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.shop-card h3 a {
  color: #17171a;
  text-decoration: none;
}

.shop-card-price {
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}

.shop-card .product-color-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.shop-add-btn,
.shop-btn,
.shop-btn-solid {
  font-family: "Alata", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid #876c63;
  background: #876c63;
  color: #fff;
  padding: 0.55rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.shop-add-btn {
  width: 100%;
  margin-top: auto;
}

.shop-add-btn:hover,
.shop-btn-solid:hover {
  background: #70554e;
  border-color: #70554e;
  color: #fff;
}

.shop-btn {
  background: transparent;
  color: #876c63;
}

.shop-btn:hover {
  background: #876c63;
  color: #fff;
}

.shop-stock {
  display: inline-block;
  border: 1px solid #17171a;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.45rem;
  margin-top: auto;
}

.shop-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e4ddd6;
}

.shop-line img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f1f0ef;
}

.shop-totals {
  margin-left: auto;
  max-width: 280px;
  width: 100%;
}

.shop-totals div {
  display: flex;
  justify-content: space-between;
  margin: 0.35rem 0;
}

.shop-totals .grand {
  border-top: 1px solid #e4ddd6;
  padding-top: 0.55rem;
  font-weight: 700;
}

.shop-panel {
  background: #fff;
  border: 1px solid #e4ddd6;
  padding: 1.25rem;
}

.shop-pay {
  display: flex;
  gap: 0.6rem;
  border: 1px solid #e4ddd6;
  padding: 0.75rem;
  margin-bottom: 0.55rem;
}

.shop-pay:hover {
  border-color: #876c63;
}

.shop-pay-details {
  display: none;
  border: 1px dashed #d5c3af;
  background: #faf8f6;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.shop-qr {
  display: block;
  width: 180px;
  max-width: 100%;
  margin-top: 0.4rem;
  background: #fff;
}

.shop-copy {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.shop-copy input {
  flex: 1;
  border: 1px solid #e4ddd6;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.shop-status {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.shop-status.wait {
  background: #f3e6c8;
  color: #7a5b16;
}

.shop-status.ok {
  background: #e5f0df;
  color: #3e6240;
}

.shop-status.no {
  background: #f8e4e0;
  color: #8a3d32;
}

.shop-qty {
  display: inline-flex;
  border: 1px solid #e4ddd6;
}

.shop-qty input {
  width: 52px;
  border: 0;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 700px) {
  .shop-line {
    grid-template-columns: 72px 1fr;
  }
}
