/* MAD TRAILS WISHLIST */

.mt-wishlist-btn {
    width: 100%;
    margin-top: 9px;
    border: 1px solid #d9e1ec;
    background: #ffffff;
    color: #001f54;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    transition: all .25s ease;
}

.mt-wishlist-btn:hover,
.mt-wishlist-btn.active {
    background: #001f54;
    color: #ffffff;
    border-color: #001f54;
}

.mt-wishlist-heart {
    font-size: 18px;
    line-height: 1;
}

.mt-wishlist-btn.loading,
.mt-wishlist-remove.loading,
.mt-wishlist-move-cart.loading,
.mt-wishlist-clear.loading {
    opacity: .6;
    pointer-events: none;
}

.single-product .mt-wishlist-btn {
    width: auto;
    min-width: 150px;
    margin-top: 12px;
}

.mt-wishlist-counter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    background: #001f54;
    padding: 9px 13px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.mt-wishlist-counter:hover {
    color: #ffffff;
    background: #7b0000;
}

.mt-wishlist-counter strong {
    background: #d6a21f;
    color: #111111;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 12px;
}

.mt-wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.mt-wishlist-page-head {
    text-align: center;
    margin-bottom: 30px;
}

.mt-wishlist-page-head span {
    display: inline-block;
    color: #7b0000;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mt-wishlist-page-head h1 {
    color: #001f54;
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 10px;
}

.mt-wishlist-page-head p {
    max-width: 720px;
    margin: 0 auto;
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.7;
}

.mt-wishlist-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.mt-wishlist-link-btn,
.mt-wishlist-clear {
    border: 0;
    background: #001f54;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.mt-wishlist-clear {
    background: #7b0000;
}

.mt-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mt-wishlist-card {
    background: #ffffff;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0,31,84,.1);
}

.mt-wishlist-card-img {
    display: block;
    height: 230px;
    background: #f3f4f6;
}

.mt-wishlist-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mt-wishlist-card-body {
    padding: 18px;
}

.mt-wishlist-card-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
}

.mt-wishlist-card-body h3 a {
    color: #001f54;
    text-decoration: none;
}

.mt-wishlist-price {
    color: #7b0000;
    font-weight: 900;
    margin-bottom: 8px;
}

.mt-wishlist-stock {
    color: #5f6b7a;
    font-size: 14px;
    margin-bottom: 14px;
}

.mt-wishlist-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mt-wishlist-move-cart,
.mt-wishlist-remove {
    border: 0;
    padding: 11px 12px;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
}

.mt-wishlist-move-cart {
    background: #001f54;
    color: #ffffff;
}

.mt-wishlist-remove {
    background: #f3f4f6;
    color: #7b0000;
}

.mt-wishlist-empty {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 45px 20px;
}

.mt-wishlist-empty h2 {
    color: #001f54;
    margin: 0 0 10px;
}

.mt-wishlist-empty p {
    color: #5f6b7a;
    margin-bottom: 20px;
}

.mt-wishlist-empty a {
    display: inline-block;
    background: #001f54;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .mt-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .single-product .mt-wishlist-btn {
        width: 100%;
    }

    .mt-wishlist-grid {
        grid-template-columns: 1fr;
    }

    .mt-wishlist-card-actions {
        grid-template-columns: 1fr;
    }
}