.product-card { background: #fff; border-radius: 16px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); animation: productCardFadeInUp 0.35s ease; border: 2px solid rgba(6, 62, 135, 0.1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); position: relative; }
.product-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 62, 135, 0.02), rgba(255, 203, 5, 0.02)); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 1; }
.product-card-image { position: relative; overflow: hidden; background: #f8f9fa; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 16px 16px 0 0; }
.product-card-image img { width: 100%; aspect-ratio: 3/2; display: block; object-fit: contain; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; opacity: 1; transform: scale(1) translateY(0); background: white; filter: brightness(1) saturate(1); }
.product-card-image img.product-card-sliding { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card-image img.product-card-swipe-left { transform: translateX(-100%) scale(0.9); opacity: 0.7; }
.product-card-image img.product-card-swipe-right { transform: translateX(100%) scale(0.9); opacity: 0.7; }
.product-card-image img.product-card-swipe-up { transform: translateY(-100%) scale(0.9); opacity: 0.7; }
.product-card-image img.product-card-swipe-down { transform: translateY(100%) scale(0.9); opacity: 0.7; }
.product-card-image img.product-card-swipe-center { transform: translateX(0) scale(1); opacity: 1; }
.product-card-image img.product-card-loading { opacity: 0.7; filter: blur(1px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform: scale(0.95); }
.product-card-image.product-card-loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%); background-size: 200% 100%; animation: productCardShimmer 1.5s infinite; z-index: 1; }
.product-card-image.product-card-loading::after { content: '🔄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; color: #063e87; z-index: 2; animation: productCardPulse 1s infinite; }
.product-card-badge { position: absolute; background: #063e87; color: #fff; padding: 6px 10px; border-radius: 16px; font-size: 11px; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; margin: 2px; }
.product-card-badge:nth-child(1) { top: 12px; left: 12px; }
.product-card-badge:nth-child(2) { top: 12px; right: 12px; }
.product-card-badge:nth-child(3) { top: 40px; left: 12px; }
.product-card-badge:nth-child(4) { top: 40px; right: 12px; }
.product-card-badge:nth-child(5) { top: 68px; left: 12px; }
.product-card-badge.product-card-hot { background: #ff4757; }
.product-card-badge.product-card-new { background: #2ed573; }
.product-card-badge.product-card-special { background: #ffa502; }
.product-card-badge.product-card-promo { background: #ff3838; }
.product-card-badge.product-card-service { background: #3742fa; }
.product-card-content { padding: 20px; position: relative; z-index: 2; }
.product-card-title { font-size: 18px; font-weight: bold; margin: 0 0 16px; color: #063e87; transition: color 0.3s ease; line-height: 1.4; min-height: 50px; max-height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card-clickable-title { cursor: pointer; color: #063e87; text-decoration: none; transition: color 0.3s ease; }
.product-card-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.product-card-tag { background: #e3f2fd; padding: 8px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; transition: all 0.3s ease; border: 1px solid transparent; }
.product-card-price { display: flex; align-items: center; gap: 8px; margin: 16px 0; transition: all 0.3s ease; flex-wrap: wrap; }
.product-card-current { font-size: 24px; font-weight: bold; color: #063e87; transition: all 0.3s ease; }
.product-card-current.product-card-no-price { color: #999; }
.product-card-old { font-size: 14px; text-decoration: line-through; color: #999; transition: all 0.3s ease; }
.product-card-sale-rate { background: #ff3838; color: white; padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 600; transition: all 0.3s ease; }
.product-card-actions { display: flex; gap: 12px; align-items: center; justify-content: end; margin-top: 16px; }
.product-card-add-to-cart { background: #ffcb05; border: none; padding: 12px; border-radius: 12px; cursor: pointer; color: #063e87; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 2px 8px rgba(255, 203, 5, 0.3); display: flex; align-items: center; justify-content: center; }
.product-card-buy-now { background: #063e87; color: #fff; border: none; padding: 14px 28px; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 12px rgba(6, 62, 135, 0.2); }
@keyframes productCardFadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes productCardShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes productCardPulse { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); } }


