.modelena-grid-43081b20 {
    display: grid;
    gap: 20px;
}
.modelena-card-43081b20 {
    display: flex;
    flex-direction: column;
}
.modelena-img-wrap-43081b20 {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.modelena-img-wrap-43081b20 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, opacity 1.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.modelena-img-wrap-43081b20 img.secondary-img {
    opacity: 0;
}
.modelena-img-wrap-43081b20:hover img.primary-img.has-secondary {
    opacity: 0;
}
.modelena-img-wrap-43081b20:hover img.secondary-img {
    opacity: 1;
    transform: scale(1.05);
}
.modelena-img-wrap-43081b20:hover img.primary-img:not(.has-secondary) {
    transform: scale(1.05);
}
.modelena-badge-43081b20 {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    background-color: #000;
    color: #fff;
}
.modelena-wishlist-43081b20 {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    width: 40px;
    height: 40px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    background-color: #fff;
    color: #1a1a1a;
}
.modelena-wishlist-43081b20 svg {
    width: 18px;
    height: 18px;
}
.modelena-wishlist-43081b20.active svg {
    fill: currentColor;
}
.modelena-overlay-43081b20 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 2;
}
.modelena-img-wrap-43081b20:hover .modelena-overlay-43081b20 {
    transform: translateY(0);
}
@media (hover: none) {
    .modelena-overlay-43081b20 {
        position: static;
        transform: none;
        background: none;
        padding: 10px 0 0 0;
    }
}
.modelena-sizes-43081b20 {
    display: flex;
    gap: 5px;
}
.modelena-size-chip-43081b20 {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid currentColor;
    cursor: pointer;
    background-color: transparent;
}
.modelena-atc-43081b20 {
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #000;
    color: #fff;
}
.modelena-content-43081b20 {
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modelena-kicker-43081b20 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.modelena-title-43081b20 {
    font-size: 16px;
    text-decoration: none !important;
    color: #000;
}
.modelena-rating-43081b20 {
    position: relative;
    display: inline-block;
    width: max-content;
}
.modelena-rating-43081b20 svg {
    width: 14px;
    height: 14px;
}
.modelena-stars-bg-43081b20 {
    color: #ddd;
    display: flex;
}
.modelena-stars-filled-43081b20 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    color: #e6b800;
    display: flex;
}
.modelena-stars-filled-43081b20 svg { flex: none; }
.modelena-price-43081b20 {
    display: flex;
    gap: 10px;
    align-items: center;
}
.modelena-price-43081b20 .reg-price {
    text-decoration: line-through;
    color: #888;
}
.modelena-price-43081b20 .sale-price {
    font-weight: bold;
    color: #000;
}
.modelena-price-43081b20 > .reg-price:only-child {
    text-decoration: none;
    font-weight: bold;
    color: #000;
}
.hide-currency .woocommerce-Price-currencySymbol {
    display: none;
}
/* --- Feature additions 23 Oct: positions + custom icon + ATC spinner --- */
.modelena-badge-43081b20.badge-right {
    left: auto;
    right: 10px;
}
.modelena-wishlist-43081b20.wishlist-left {
    right: auto;
    left: 10px;
}
.modelena-wishlist-43081b20.wishlist-right {
    left: auto;
    right: 10px;
}
.modelena-wishlist-43081b20.wishlist-stacked {
    top: 54px;
}
.modelena-img-wrap-43081b20 .modelena-wishlist-43081b20 img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.modelena-atc-43081b20 {
    position: relative;
}
.modelena-atc-43081b20.loading {
    color: transparent !important;
    pointer-events: none;
}
.modelena-atc-43081b20.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mpc-spin-43081b20 0.7s linear infinite;
}
@keyframes mpc-spin-43081b20 {
    to { transform: rotate(360deg); }
}
/* --- Wishlist position armor (23 Oct, step H): wins over any theme/plugin rule --- */
.modelena-card-43081b20 .modelena-img-wrap-43081b20 > button.modelena-wishlist-43081b20 {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: 10px !important;
    transform: none !important;
    translate: none !important;
    margin: 0 !important;
    float: none !important;
}
.modelena-card-43081b20 .modelena-img-wrap-43081b20 > button.modelena-wishlist-43081b20.wishlist-left {
    right: auto !important;
    left: 10px !important;
    inset-inline-start: 10px !important;
    inset-inline-end: auto !important;
}
/* Grid columns fallback: keeps the product grid at 4 columns even when
   Elementor's generated post CSS is missing or stale. When Elementor's own
   Columns-control rules are generated they are more specific and win, so the
   widget panel settings stay in charge. */
.modelena-grid-43081b20 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .modelena-grid-43081b20 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .modelena-grid-43081b20 { grid-template-columns: repeat(2, 1fr); } }
/* Wishlist hearts HOVER-ONLY on desktop (user 27 Oct 13:53 — supersedes the v1.0.10 always-visible rule; sale badge unchanged). Touch/mobile unchanged. Staging post 2574, assets 1.0.11, Push to Production + homepage verify. */
@media (hover: hover) and (pointer: fine) {
	    .modelena-card-43081b20 .modelena-wishlist-43081b20 {
			        opacity: 0;
			        pointer-events: none;
	}
	    .modelena-card-43081b20:hover .modelena-wishlist-43081b20,
	    .modelena-card-43081b20:focus-within .modelena-wishlist-43081b20 {
			        opacity: 1;
			        pointer-events: auto;
	}
}

/* --- Mobile ATC below price (26 Oct, user ka lazmi hukm): phone par
   ADD TO CART image ke upar/static strip mein NAHI — price ke neeche,
   card ke end par, poori card width. Desktop hover overlay waisa hi.
   JS wahi nodes utha kar price ke baad lagata hai; CSS overlay chhupata
   hai (moved class rotate par bhi overlay wapas nahi aane deti). --- */
.modelena-card-43081b20.mpc-moved.modelena-overlay-43081b20 {
	    display: none;
}
@media (max-width: 767px) {
	.modelena-overlay-43081b20 {
		        display: none;
	}
	    .modelena-content-43081b20.modelena-sizes-43081b20 {
			        margin-top: 8px;
	}
	    .modelena-content-43081b20.modelena-atc-43081b20 {
			        width: 100%;
			        margin-top: 12px;
	}
}

/* --- Title wrap (mobile overflow fix, theme v1.0 wala pattern): card aur
   content min-width 0, title/kicker kahin bhi toot sakte hain, price wrap. --- */
.modelena-card-43081b20,.modelena-content-43081b20 {
	    min-width: 0;
}
.modelena-title-43081b20,.modelena-kicker-43081b20 {
	    overflow-wrap: break-word;
	    word-break: normal;
}
.modelena-price-43081b20 {
	    flex-wrap: wrap;
}

/* Force 2 columns on mobile over the Elementor Columns control. */
@media (max-width: 767px) { .modelena-grid-43081b20 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 767px) {
	.modelena-badge-43081b20 { padding: 3px 6px !important; }
	.modelena-card-43081b20 .modelena-img-wrap-43081b20 > button.modelena-wishlist-43081b20 { width: 34px !important; height: 34px !important; padding: 8px !important; }
	.modelena-wishlist-43081b20 svg { width: 15px !important; height: 15px !important; }
}