/* 4N-XStore shared product card */
.le-pc { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--le-line); border-radius: var(--le-radius); background: #fff; transition: box-shadow .3s var(--le-ease), border-color .3s, transform .3s var(--le-ease); }
.le-pc:hover { border-color: transparent; box-shadow: 0 14px 36px rgba(0,0,0,.09); }
.le-pc__media { position: relative; }
.le-pc__img { position: relative; display: block; overflow: hidden; aspect-ratio: 1/1; background: var(--le-soft); }
.le-pc__img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s, transform .6s var(--le-ease); }
.le-pc:hover .le-pc__img img { transform: scale(1.04); }
.le-pc__img .le-pc__img-hover { position: absolute; inset: 0; opacity: 0; }
.le-pc.has-hover-img:hover .le-pc__img img:first-child { opacity: 0; }
.le-pc.has-hover-img:hover .le-pc__img-hover { opacity: 1; }
.le-pc__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.le-badge { padding: 4px 10px; border-radius: 30px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }
.le-badge--sale { background: var(--le-accent); }
.le-badge--out { background: #6b7079; }
.le-badge--hot { background: #f4a020; }
.le-pc__overlay-btn { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--le-ease); }
.le-pc__overlay-btn .le-btn:not(.n4x-z):not(div):not(div) { width: 100%; }
.le-pc:hover .le-pc__overlay-btn, .le-pc:focus-within .le-pc__overlay-btn { opacity: 1; transform: none; }
@media (hover: none) { .le-pc__overlay-btn { opacity: 1; transform: none; position: static; padding: 10px 12px 0; } }
.le-pc__body { --le-pc-align: left; display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.le-pc__cat, .le-pc__cat a { color: var(--le-muted); font-size: 12px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.le-pc__cat a:hover { color: var(--le-accent); }
.le-pc__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.le-pc__title a { display: -webkit-box; overflow: hidden; color: var(--le-dark); text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.le-pc__title a:hover { color: var(--le-accent); }
.le-pc__rating .star-rating { float: none; margin: 0; font-size: 13px; }
.le-pc__rating .star-rating, .le-pc__rating .star-rating span::before { color: #f4b400; }
.le-pc__rating .star-rating { display: inline-block; }
.le-pc__excerpt { margin: 0; color: var(--le-text); font-size: 14px; line-height: 1.5; }
.le-pc__price { color: var(--le-dark); font-size: 16px; font-weight: 700; }
.le-pc__price del { margin-right: 6px; color: var(--le-muted); font-weight: 400; font-size: .9em; }
.le-pc__price ins { text-decoration: none; color: var(--le-accent); }
.le-pc__body > .le-btn:not(.n4x-z):not(div):not(div) { margin-top: auto; align-self: stretch; padding: 10px 16px; font-size: 14px; }
.le-pc__body > .le-btn + .added_to_cart, .le-pc .added_to_cart { display: block; margin-top: 6px; font-size: 13px; text-align: center; color: var(--le-accent); }
.le-pc .le-btn.loading:not(div):not(div) { opacity: .6; pointer-events: none; }
.le-pc .le-btn.added:not(div)::after { content: "✓"; }

/* list variant */
.le-pc--list { flex-direction: row; align-items: center; gap: 14px; border: 0; background: none; overflow: visible; }
.le-pc--list:hover { box-shadow: none; }
.le-pc--list .le-pc__media { flex: 0 0 var(--n4x-list-img, 90px); }
.le-pc--list .le-pc__img { border-radius: var(--le-radius); }
.le-pc--list .le-pc__body { padding: 0; gap: 4px; }
.le-pc--list .le-pc__body > .le-btn:not(div):not(div) { align-self: flex-start; margin-top: 6px; padding: 8px 14px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .le-pc, .le-pc__img img { transition: none !important; } }
