/* =========================================================
   ZENNOVA CARPET
   WISHLIST
========================================================= */


/* =========================================================
   1. SHOP / PRODUCT ARCHIVE WISHLIST HEART
========================================================= */

/* Product card positioning reference */
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
    position: relative;
}


/* Wishlist heart */
body.woocommerce-page .zn-shop-wishlist-button,
body.tax-product_cat .zn-shop-wishlist-button,
body.tax-product_tag .zn-shop-wishlist-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;

    width: 38px;
    height: 38px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(185, 138, 63, 0.09);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);
    color: var(--zn-charcoal, #171613);

    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* Icon reset */
body.woocommerce-page .zn-shop-wishlist-button i,
body.tax-product_cat .zn-shop-wishlist-button i,
body.tax-product_tag .zn-shop-wishlist-button i {
    margin: 0;
    padding: 0;
}


/* Hover */
body.woocommerce-page .zn-shop-wishlist-button:hover,
body.tax-product_cat .zn-shop-wishlist-button:hover,
body.tax-product_tag .zn-shop-wishlist-button:hover {
    background: var(--zn-gold, #B98A3F);
    border-color: var(--zn-gold, #B98A3F);
    color: #FFFFFF;

    transform: translateY(-2px);
}


/* Active */
body.woocommerce-page .zn-shop-wishlist-button.is-active,
body.tax-product_cat .zn-shop-wishlist-button.is-active,
body.tax-product_tag .zn-shop-wishlist-button.is-active {
    background: var(--zn-gold, #B98A3F);
    border-color: var(--zn-gold, #B98A3F);
    color: #FFFFFF;
}


/* =========================================================
   2. PRODUCT DETAILS WISHLIST BUTTON
========================================================= */

body.single-product .zn-pdp-wishlist-button {
    width: 50px;
    min-width: 50px;
    height: 50px;

    margin: 0;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    vertical-align: top;

    background: #FFFFFF;
    border: 1px solid rgba(185, 138, 63, 0.09);
    border-radius: 0;

    color: var(--zn-charcoal, #171613);

    font-size: 18px;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


body.single-product .zn-pdp-wishlist-button i {
    margin: 0;
    padding: 0;
}


body.single-product .zn-pdp-wishlist-button:hover {
    background: var(--zn-charcoal, #171613);
    border-color: var(--zn-charcoal, #171613);
    color: #FFFFFF;
}


body.single-product .zn-pdp-wishlist-button.is-active {
    background: var(--zn-gold, #B98A3F);
    border-color: var(--zn-gold, #B98A3F);
    color: #FFFFFF;
}


/* =========================================================
   3. WISHLIST PAGE
========================================================= */

.zn-wishlist {
    width: 100%;

    padding: 38px 0 90px;

    background: var(--zn-white, #FFFFFF);
}


/* =========================================================
   WISHLIST HEADER
========================================================= */

.zn-wishlist .zn-wishlist-header {
    max-width: 720px;

    margin: 0 0 42px;
}


.zn-wishlist .zn-wishlist-eyebrow {
    margin: 0 0 10px;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #171613;
}


.zn-wishlist .zn-wishlist-title {
    margin: 0 0 12px;

    font-family: "Cormorant Garamond", serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 1;

    color: #B98A3F;
}


.zn-wishlist .zn-wishlist-description {
    max-width: 620px;

    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;

    color: #171613; 
}


/* =========================================================
   WISHLIST PRODUCT GRID
========================================================= */

.zn-wishlist .zn-wishlist-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 46px;
}


.zn-wishlist .zn-wishlist-item {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.zn-wishlist .zn-wishlist-image-wrap {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--zn-soft, #FBF9F5);
}


.zn-wishlist .zn-wishlist-image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;

    text-decoration: none;
}


.zn-wishlist .zn-wishlist-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;

    transition: transform 0.55s ease;
}


.zn-wishlist .zn-wishlist-item:hover
.zn-wishlist-image img {
    transform: scale(1.025);
}


/* =========================================================
   PRODUCT CARD HEART
========================================================= */

.zn-wishlist .zn-wishlist-card-heart {
    position: absolute;

    top: 14px;
    right: 14px;
    z-index: 5;

    width: 38px;
    min-width: 38px;
    height: 38px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(185, 138, 63, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);
    color: var(--zn-gold, #B98A3F);

    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.zn-wishlist .zn-wishlist-card-heart i {
    margin: 0;
    padding: 0;

    line-height: 1;
}


.zn-wishlist .zn-wishlist-card-heart:hover {
    background: var(--zn-gold, #B98A3F);
    border-color: var(--zn-gold, #B98A3F);
    color: #FFFFFF;

    transform: translateY(-2px);
}


.zn-wishlist .zn-wishlist-card-heart.is-active {
    background: var(--zn-gold, #B98A3F);
    border-color: var(--zn-gold, #B98A3F);
    color: #FFFFFF;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.zn-wishlist .zn-wishlist-item-content {
    padding: 16px 0 0;
}


.zn-wishlist .zn-wishlist-category {
    margin: 0 0 7px;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--zn-gold, #B98A3F);
}


.zn-wishlist .zn-wishlist-category a {
    color: inherit;

    text-decoration: none;
}


.zn-wishlist .zn-wishlist-product-title {
    margin: 0 0 8px;
    padding: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;

    color: var(--zn-charcoal, #171613);
	font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}


.zn-wishlist .zn-wishlist-product-title a {
    color: inherit;

    text-decoration: none;

    transition: color 0.25s ease;
}


.zn-wishlist .zn-wishlist-product-title a:hover {
    color: var(--zn-gold, #B98A3F);
}


.zn-wishlist .zn-wishlist-price {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;

    color: var(--zn-taupe, #504A42);
}


.zn-wishlist .zn-wishlist-price del {
    opacity: 0.55;
}


.zn-wishlist .zn-wishlist-price ins {
    text-decoration: none;
}


/* Remove unwanted default link decoration */
.zn-wishlist .zn-wishlist-product-title a,
.zn-wishlist .zn-wishlist-category a,
.zn-wishlist .zn-wishlist-image {
    box-shadow: none;
}


/* =========================================================
   4. EMPTY WISHLIST
========================================================= */

.zn-wishlist .zn-wishlist-empty {
    min-height: 380px;

    padding: 60px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-top: 1px solid var(--zn-border, #DED8CE);
}


.zn-wishlist .zn-wishlist-empty > i {
    margin: 0 0 22px;

    font-size: 34px;
    line-height: 1;

    color: var(--zn-gold, #B98A3F);
}


.zn-wishlist .zn-wishlist-empty h2 {
    margin: 0 0 10px;

    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.15;

    color: var(--zn-charcoal, #171613);
}


.zn-wishlist .zn-wishlist-empty p {
    max-width: 480px;

    margin: 0 0 24px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;

    color: var(--zn-muted, #70695F);
}


/* =========================================================
   5. RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 1180px) {

    .zn-wishlist {
        padding-top: 48px;
    }

    .zn-wishlist .zn-wishlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* Mobile */
@media (max-width: 767px) {

    .zn-wishlist {
        padding: 36px 0 70px;
    }


    .zn-wishlist .zn-wishlist-header {
        margin-bottom: 30px;
    }


    .zn-wishlist .zn-wishlist-title {
        font-size: 42px;
    }


    .zn-wishlist .zn-wishlist-description {
        font-size: 13px;
    }


    .zn-wishlist .zn-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 14px;
        row-gap: 34px;
    }


    .zn-wishlist .zn-wishlist-card-heart {
        top: 10px;
        right: 10px;

        width: 36px;
        min-width: 36px;
        height: 36px;

        font-size: 14px;
    }


    .zn-wishlist .zn-wishlist-item-content {
        padding-top: 13px;
    }


    .zn-wishlist .zn-wishlist-category {
        margin-bottom: 5px;

        font-size: 9px;
    }


    .zn-wishlist .zn-wishlist-product-title {
        margin-bottom: 6px;

        font-size: 20px;
    }


    .zn-wishlist .zn-wishlist-price {
        font-size: 12px;
    }


    .zn-wishlist .zn-wishlist-empty {
        min-height: 320px;

        padding: 45px 20px;
    }

}


/* Small mobile */
@media (max-width: 420px) {

    .zn-wishlist .zn-wishlist-grid {
        grid-template-columns: 1fr;

        row-gap: 36px;
    }

}

article.zn-wishlist-item {
    border: 1px solid rgba(185, 138, 63, .09);
    box-shadow: 0 5px 18px rgba(23, 22, 19, 0.05);
}

.zn-wishlist .zn-wishlist-item-content {
    padding: 20px 15px;
    border-top: 1px solid rgba(185, 138, 63, .09);
}

.zn-price-from {
  color: #8A8379;
  font-size: 11px;
  font-weight: 400;
}

.woocommerce-Price-amount.amount {
  color: #171613;
  font-weight: 500;
}