/* Android WebView & mobile — large taps, visible listing */
.product-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.product-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--gray-200);
  -webkit-user-drag: none;
  user-select: none;
}

.product-item-body {
  padding: 1rem 1.15rem 1.15rem;
}

.product-item-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.product-item-cat {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.product-item-url {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.7rem;
  line-height: 1.35;
  word-break: break-all;
  color: var(--navy-light);
}

.product-item-url a {
  color: var(--navy-mid);
}

.product-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-item-actions .btn {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  -webkit-tap-highlight-color: rgba(201, 162, 39, 0.35);
}

.btn-add-cart-main {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: 2px solid var(--gold) !important;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.45);
}

.cart-bar-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 0.65rem 1rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cart-bar-mobile .btn {
  flex: 1;
  min-height: 48px;
  font-weight: 700;
}

body.has-cart-bar {
  padding-bottom: 76px;
}

.shop-on-cart {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-200);
}

.shop-on-cart h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 1rem;
  text-align: center;
}

.product-item.is-hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .product-list-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-list-mobile {
    grid-template-columns: repeat(3, 1fr);
  }
}
