/* Product card — compartido por shop (categorías) y promociones */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.product-card { border: 1px solid var(--border-light); border-radius: var(--r-md); padding: 20px; position: relative; background: #fff; display: flex; flex-direction: column; height: 100%; }
.btn-wishlist { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #bbb; cursor: pointer; }
.product-image-wrap { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-3); background: #fafafa; overflow: hidden; border-radius: var(--r-sm); }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-brand { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: bold; margin-bottom: 4px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-title { font-size: var(--fs-md); line-height: 1.4; color: var(--ink); margin: 0 0 var(--sp-2); min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-bottom { margin-top: auto; display: flex; flex-direction: column; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: var(--sp-1); font-size: var(--fs-sm); min-height: 20px; }
.product-rating .stars { color: var(--primary); font-size: var(--fs-smd); letter-spacing: 1px; }
.product-rating .rating-count { color: var(--primary); font-weight: 500; }
.product-price { font-weight: bold; font-size: var(--fs-xl); color: var(--primary); margin-bottom: var(--sp-3); }
.product-price del { display: block; color: var(--muted); font-size: var(--fs-smd); font-weight: normal; margin-right: 0; margin-bottom: 2px; }
.product-price ins { display: block; text-decoration: none; color: var(--primary); font-weight: bold; }
.product-actions { display: flex; gap: var(--sp-2); align-items: center; }
.qty-selector { display: flex; align-items: center; border: 1px solid #e6e2f1; border-radius: 10px; flex: 1; height: 44px; }
.qty-btn { width: 36px; height: 100%; background: transparent; border: none; cursor: pointer; color: var(--primary); font-size: var(--fs-2xl); font-weight: bold; display: flex; align-items: center; justify-content: center; }
.qty-val { flex: 1; text-align: center; font-weight: bold; color: var(--primary); font-size: var(--fs-md); border: none; background: transparent; outline: none; width: 100%; -moz-appearance: textfield; }
.qty-val::-webkit-outer-spin-button, .qty-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add-cart { width: 44px; height: 44px; flex-shrink: 0; background: linear-gradient(135deg, #6c42e8, var(--primary)); color: #fff; border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(50, 16, 185, 0.25); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.btn-add-cart:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(50, 16, 185, 0.35); }
.btn-add-cart .icon { width: 22px; height: 22px; transition: transform 0.3s ease, opacity 0.3s ease; position: absolute; }
.btn-add-cart:disabled { opacity: 0.8; cursor: not-allowed; }
.btn-add-cart.is-disabled { background: #e6e2f1; color: var(--muted); box-shadow: none; pointer-events: none; }
.btn-add-cart .icon-cart { opacity: 1; transform: scale(1); }
.btn-add-cart .icon-spinner { opacity: 0; transform: scale(0.5); animation: spin 1s linear infinite; animation-play-state: paused; }
.btn-add-cart .icon-check { opacity: 0; transform: scale(0.5); }
.btn-add-cart.is-loading .icon-cart { opacity: 0; transform: scale(1.5); }
.btn-add-cart.is-loading .icon-spinner { opacity: 1; transform: scale(1); animation-play-state: running; }
.btn-add-cart.is-added { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }
.btn-add-cart.is-added .icon-cart, .btn-add-cart.is-added .icon-spinner { opacity: 0; transform: scale(1.5); animation-play-state: paused; }
.btn-add-cart.is-added .icon-check { opacity: 1; transform: scale(1); }
@keyframes spin { 100% { transform: rotate(360deg); } }
.added_to_cart.wc-forward { display: none !important; }
