/* Modelena loop cards (v1.0.5): shop/category/search/wishlist cards ko
   homepage card jaisa banana. Selectors sirf loop items par lagte hain
   (homepage widget cards .modelena-card-43081b20 alag hain). */
.mdln-loop-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C9A227;
    margin: 0 0 4px;
}
.mdln-loop-rating {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 2px 0 6px;
}
.mdln-loop-stars-bg { color: #ddd; }
.mdln-loop-stars-filled {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #e6b800;
}
.mdln-loop-overlay-src { display: none !important; }
.mdln-loop-thumb { position: relative; overflow: hidden; }
.mdln-loop-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.mdln-loop-thumb:hover .mdln-loop-overlay { transform: translateY(0); }
.mdln-loop-sizes {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}
.mdln-loop-chip {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #242424;
    cursor: pointer;
}
.mdln-loop-chip.selected { background: #470108; color: #fff; border-color: #470108; }
.mdln-loop-atc {
    width: 100%;
    padding: 12px;
    background: #C9A227;
    color: #1a1a1a;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}
/* Touch devices: hover nahi hota, is liye overlay image ke neeche static. */
@media (hover: none) {
    .mdln-loop-overlay {
        position: static;
        transform: none;
        background: none;
        padding: 10px 0 0;
    }
}

/* ---- v1.0.24: Wishlist — remove = cross (boxed button nahi) + Remove all saaf. ---- */
.mdln-wl-cross { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 4px 8px !important; font-size: 22px !important; line-height: 1 !important; color: #767676 !important; cursor: pointer; text-decoration: none !important; }
.mdln-wl-cross:hover { color: #470108 !important; }
.mdln-wl-remove-all { background: none; border: 1px solid #e5e0d5; padding: 8px 16px; font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #470108; cursor: pointer; margin: 8px 0 16px; }
.mdln-wl-remove-all:hover { border-color: #C9A227; background: #FAF6EF; }
/* Wishlist page (ID 954) ka sidebar — dashboard wali sidebar look se match (agar WoodMart account nav classes use kare). */
body.page-id-954 .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.page-id-954 .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #242424; text-decoration: none !important; border-left: 3px solid transparent; }
body.page-id-954 .woocommerce-MyAccount-navigation li.is-active a { color: #470108; background: #FAF6EF; border-left-color: #C9A227; }
body.page-id-954 .woocommerce-MyAccount-navigation li a:hover { background: #FAF6EF; color: #470108; }

/* v1.0.26 (user ka aakhri hukm 27 Oct ~02:26): wishlist dil mobile par BILKUL NAHI, sirf desktop par — shop/category/search cards + widget cards (donon .wd-wishlist-btn rakhte hain). */
@media (max-width: 767px) {
    .wd-wishlist-btn { display: none !important; }
}
