/* Main-store cards follow the approved /concepto reference. */
/* Original ANMAT mark, shown only for products with recorded gluten-free evidence. */
.product-card .product-gluten-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 36px;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
@media (max-width: 380px) {
  .product-card .product-gluten-badge { width: 32px; left: 6px; bottom: 6px; }
}
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.product-card {
  padding: 14px;
  border: 1px solid #e2e7ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 5px #17335703;
}
.product-card .product-image-wrap {
  position: relative;
  background: #f6f7f9;
  border-radius: 13px;
  isolation: isolate;
}
.product-card .product-visual {
  height: 228px;
  aspect-ratio: auto;
  padding: 28px;
  border-radius: inherit;
  background: transparent;
}
.product-card .product-visual img,
.product-card .product-visual .product-photo { mix-blend-mode: multiply; }
.product-card .product-badges { left: 10px; top: 10px; max-width: calc(100% - 66px); }
.product-card .quick-view {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 11px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f1;
  border-radius: 50%;
  background: #fff;
  color: #536680;
  opacity: 1;
  transform: none;
  z-index: 2;
}
.product-card .quick-view svg { width: 20px; height: 20px; }
.product-card .quick-view:hover { color: var(--navy); border-color: #b6c9e3; background: #f0f5fc; }
.product-card .product-info { padding: 18px 3px 3px; }
.product-card .product-name {
  color: #1d314e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  height: 67.5px;
  min-height: 67.5px;
  -webkit-line-clamp: 3;
}
.product-card .price-block { margin: 12px 0 8px; min-height: 102px; }
.product-card .final-price {
  color: #152c49;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.product-card .tax-price { margin-top: 8px; }
.product-card .tax-price summary { color: #62748c; font-size: 11px; line-height: 1.5; }
.product-card .product-bottom { padding-top: 18px; margin-top: auto; }
.product-card .product-bottom .add-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #edf3fb;
  color: var(--navy);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}
.product-card .product-bottom .add-button:hover:not(:disabled) { color: #fff; background: var(--navy); border-color: var(--navy); }
.product-card .product-bottom .add-button:disabled { opacity: 1; color: #627084; background: #f0f2f5; }
.product-card .card-stepper { min-height: 48px; border-radius: 11px; border-color: #c9d8eb; background: #edf3fb; }
.product-card .card-stepper button { width: 46px; height: 46px; }
.product-card:focus-within { border-color: #9fbce0; box-shadow: 0 0 0 2px #124f9e0d; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { border-color: #b6cbe6; box-shadow: 0 14px 32px #17335709; transform: translateY(-3px); }
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 9px; border-radius: 16px; }
  .product-card .product-image-wrap { border-radius: 11px; }
  .product-card .product-visual { height: 174px; padding: 24px 12px 14px; }
  .product-card .product-info { padding: 14px 2px 2px; }
  .product-card .product-name { font-size: 13px; height: 58.5px; min-height: 58.5px; }
  .product-card .price-block { margin-top: 10px; min-height: 100px; }
  .product-card .final-price { font-size: 22px; }
  .product-card .tax-price summary { font-size: 10px; }
  .product-card .product-bottom { padding-top: 12px; }
  .product-card .product-bottom .add-button { font-size: 13px; padding: 10px; }
  .product-card .quick-view { top: 5px; right: 5px; }
  .product-card .product-badges { left: 6px; top: 8px; }
}
@media (max-width: 380px) {
  .product-grid { gap: 8px; }
  .product-card .product-visual { height: 150px; padding-inline: 8px; }
  .product-card .final-price { font-size: 20px; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .product-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .product-card { transition: none; } }
@media (forced-colors: active) {
  .product-card, .product-card .quick-view, .product-card .product-bottom .add-button { border: 1px solid ButtonText; }
}

.product-card .product-bottom .add-button.out-of-stock:disabled { color: #fff; background: #b51f37; border-color: #b51f37; opacity: 1; cursor: not-allowed; }
