/* =========================================================
   JORA TREND - SHOP PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.shop-page {

    width: 100%;

    min-height: 100vh;

    background: #f8f5ed;

    padding-bottom: 90px;

}


/* =========================================================
   SHOP HEADING
========================================================= */

.shop-heading {

    text-align: center;

    max-width: 720px;

    margin: 0 auto;

    padding: 75px 20px 35px;

}


.shop-eyebrow {

    display: inline-block;

    color: #9b762e;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 4px;

    margin-bottom: 15px;

}


.shop-heading h1 {

    margin: 0;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 58px;

    font-weight: 400;

    line-height: 0.95;

}


.shop-heading h1 em {

    color: #9b762e;

    font-style: italic;

}


.shop-heading p {

    max-width: 540px;

    margin: 20px auto 0;

    color: #707771;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   FILTERS
========================================================= */

.shop-filters {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    padding: 10px 6% 40px;

}


.filter-btn {

    border: 1px solid rgba(2,48,32,0.18);

    background: transparent;

    color: #46534d;

    padding: 11px 22px;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: all 0.3s ease;

}


.filter-btn:hover,

.filter-btn.active {

    background: #023020;

    border-color: #023020;

    color: #ffffff;

}


/* =========================================================
   PRODUCT SECTION
========================================================= */

.products-section {

    width: 100%;

    padding: 0 2.5%;

}


/* =========================================================
   PRODUCT GRID
========================================================= */

.products-grid {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 32px 28px;

}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {

    position: relative;

    min-width: 0;

}


/* =========================================================
   IMAGE WRAPPER
========================================================= */

.product-image-wrap {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1.08;

    overflow: hidden;

    background: #eee9de;

    border-radius: 10px;

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.4s ease;

}


/* IMAGE HOVER */

.product-card:hover .product-image {

    transform: scale(1.035);

}


/* =========================================================
   SHINE / BLINK EFFECT
========================================================= */

.product-image-wrap::after {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 55%;

    height: 100%;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.42),
        transparent
    );

    transform: skewX(-18deg);

}


/* MOVE SHINE ON HOVER */

.product-card:hover .product-image-wrap::after {

    left: 150%;

    transition: left 0.85s ease;

}


/* =========================================================
   BADGE
========================================================= */

.product-badge {

    position: absolute;

    top: 0;

    right: 0;

    z-index: 3;

    padding: 11px 14px;

    background: #c58b32;

    color: #ffffff;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.5px;

}


/* =========================================================
   WISHLIST
========================================================= */

.wishlist-btn {

    position: absolute;

    top: 16px;

    right: 16px;

    z-index: 4;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.96);

    color: #17221d;

    font-size: 19px;

    cursor: pointer;

    box-shadow: 0 5px 18px rgba(0,0,0,0.08);

    transition: all 0.3s ease;

}


.wishlist-btn:hover {

    background: #023020;

    color: #d6bd72;

    transform: scale(1.08);

}

/* =========================================================
   WISHLIST HEART
========================================================= */

.wishlist-btn {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}


.wishlist-btn i {
    transition: all 0.3s ease;
}


/* Liked */

.wishlist-btn.liked {
    color: #b08a45;
}


.wishlist-btn.liked i {
    color: #b08a45;
}


/* Small animation */

.wishlist-btn.liked i {
    animation: heartPop 0.35s ease;
}


@keyframes heartPop {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }

}


/* =========================================================
   QUICK VIEW
========================================================= */

.quick-view {

    position: absolute;

    left: 50%;

    bottom: 18px;

    z-index: 4;

    transform: translate(-50%, 15px);

    opacity: 0;

    transition: all 0.35s ease;

}


.quick-view a {

    display: block;

    padding: 11px 20px;

    background: rgba(2,48,32,0.94);

    color: #ffffff;

    text-decoration: none;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 1.5px;

    white-space: nowrap;

}


.product-card:hover .quick-view {

    opacity: 1;

    transform: translate(-50%, 0);

}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info {

    text-align: center;
    padding: 17px 8px 5px;
    

}


/* CATEGORY */

.product-category {

    display: block;

    margin-bottom: 7px;

    color: #8b8d89;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 1px;

    text-transform: uppercase;

}


/* PRODUCT NAME */

.product-name {

    margin: 0;

    color: #1e2722;

    font-family: 'Cormorant Garamond', serif;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.2;

}


/* PRICE */

.product-price {

    margin-top: 8px;

    color: #023020;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    font-weight: 600;

}


/* =========================================================
   EMPTY PRODUCTS
========================================================= */

.no-products {

    grid-column: 1 / -1;

    text-align: center;

    padding: 100px 20px;

}


.no-products i {

    color: #9b762e;

    font-size: 42px;

}


.no-products h2 {

    margin: 20px 0 8px;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 32px;

    font-weight: 500;

}


.no-products p {

    color: #777;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .products-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 28px 22px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .shop-heading {

        padding-top: 60px;

    }


    .shop-heading h1 {

        font-size: 50px;

    }


    .products-section {

        padding: 0 4%;

    }


    .products-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 30px 20px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .shop-heading {

        padding: 50px 20px 25px;

    }


    .shop-eyebrow {

        font-size: 7px;

        letter-spacing: 3px;

    }


    .shop-heading h1 {

        font-size: 42px;

    }


    .shop-heading p {

        font-size: 8px;

    }


    .shop-filters {

        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding: 10px 20px 30px;

        scrollbar-width: none;

    }


    .shop-filters::-webkit-scrollbar {

        display: none;

    }


    .filter-btn {

        flex-shrink: 0;

        padding: 10px 17px;

    }


    .products-section {

        padding: 0 14px;

    }


    .products-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 25px 12px;

    }


    .product-image-wrap {

        aspect-ratio: 1 / 1.12;

        border-radius: 8px;

    }


    .wishlist-btn {

        top: 8px;

        right: 8px;

        width: 34px;

        height: 34px;

        font-size: 15px;

        text-decoration: none;

    }


    .product-badge {

        padding: 8px 9px;

        font-size: 6px;

    }


    .quick-view {

        display: none;

    }


    .product-info {

        padding: 12px 3px 3px;

    }


    .product-category {

        font-size: 6px;

        letter-spacing: 0.8px;

    }


    .product-name {

        font-size: 16px;

    }


    .product-price {

        font-size: 14px;

    }

}

/* =========================================================
   ADD TO BAG
========================================================= */

.product-image-wrap {
    position: relative;
}

.add-to-cart-btn {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;

    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #ffffff;
    color: #29231d;

    border: 1px solid #e5ddd4;
    border-radius: 6px;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;

    z-index: 20;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;
}


/* Image hover */

.product-image-wrap:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Button hover */

.add-to-cart-btn:hover {
    background: #a17c45;
    border-color: #a17c45;
    color: #ffffff;
}


/* Icon */

.add-to-cart-btn i {
    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .add-to-cart-btn {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        width: 100%;

        margin-top: 12px;

        opacity: 1;
        visibility: visible;
        transform: none;

        height: 43px;
    }

}

/* =========================================================
   CATEGORY PAGES - COMMON FONT SIZE
========================================================= */

.shop-heading .shop-eyebrow {
    font-size: 14px;
    letter-spacing: 2.5px;
}

.shop-heading h1 {
    font-size: 48px;
}

.shop-heading p {
    font-size: 16px;
    line-height: 1.7;
}

.shop-filters .filter-btn {
    font-size: 14px;
}

.product-info .product-category {
    font-size: 13px;
    letter-spacing: 1.8px;
}

.product-info .product-name {
    font-size: 23px;
    line-height: 1.25;
}

.product-info .product-price {
    font-size: 18px;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 768px) {

    .shop-heading h1 {
        font-size: 40px;
    }

    .shop-heading p {
        font-size: 14px;
    }

    .product-info .product-name {
        font-size: 20px;
    }

    .product-info .product-price {
        font-size: 17px;
    }

}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Dress page styles override */

.shop-page {
    font-family: 'Montserrat', sans-serif;
}

.shop-heading {
    background: transparent;
}

.shop-heading h1 {
    font-family: 'Cormorant Garamond', serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 22px;
}

.product-card {
    background: #fff;
}

.add-to-cart-btn{
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;

    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #ffffff;
    color: #29231d;

    border: 1px solid #e5ddd4;
    border-radius: 6px;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;

    z-index: 20;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;
}

/* Image hover */

.product-image-wrap:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Button hover */

.add-to-cart-btn:hover {
    background: #a17c45;
    border-color: #a17c45;
    color: #ffffff;
}


/* Icon */

.add-to-cart-btn i {
    font-size: 14px;
}



/* DRESS CARD HOVER ANIMATION */

.products-grid .product-image-wrap {
    position: relative;
    overflow: hidden;
}

/* Common button animation */
.products-grid .product-image-wrap .add-to-cart-btn,
.products-grid .product-image-wrap .quick-view {
    position: absolute;
    left: 12px;
    right: 12px;
    width: auto;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(35px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
    z-index: 5;
}

/* Quick View - above Add to Bag */
.products-grid .product-image-wrap .quick-view {
    bottom: 68px;
    text-align: center;
}

.products-grid .product-image-wrap .quick-view a {
    display: block;
    padding: 13px 10px;
    background: #023020;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Add to Bag - bottom */
.products-grid .product-image-wrap .add-to-cart-btn {
    bottom: 12px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #29231d;
    border: 1px solid #e5ddd4;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    cursor: pointer;
}

/* Slide up on hover */
.products-grid .product-card:hover
.product-image-wrap .quick-view,
.products-grid .product-card:hover
.product-image-wrap .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Button hover colours */
.products-grid .product-image-wrap .quick-view a:hover,
.products-grid .product-image-wrap .add-to-cart-btn:hover {
    background: #a17c45;
    border-color: #a17c45;
    color: #fff;
}

/* Mobile */
@media (max-width: 550px) {
    .products-grid .product-image-wrap .quick-view {
        display: none;
    }

    .products-grid .product-image-wrap .add-to-cart-btn {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* QUICK VIEW - Show when hovering the card */
.products-grid .product-card {
    position: relative;
}

.products-grid .product-card .quick-view {
    position: absolute;
    left: 50%;
    bottom: 100px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 15px);
    transition: all 0.35s ease;
}

/* Hover anywhere on the card */
.products-grid .product-card:hover .quick-view {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ADD TO BAG - Hidden by default */
.products-grid .product-image-wrap .add-to-cart-btn {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    z-index: 6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

/* Show only when hovering over the image */
.products-grid .product-image-wrap:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep Quick View above the image */
.products-grid .product-image-wrap .quick-view {
    display: none;
}

/* Mobile */
@media (max-width: 550px) {
    .products-grid .product-card .quick-view {
        display: none;
    }

    .products-grid .product-image-wrap .add-to-cart-btn {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* =========================================
   DRESS PAGE - HOVER ANIMATIONS
========================================= */

.product-card {
    position: relative;
    min-width: 0;
}

.product-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Dress image zoom */

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.035);
}

/* =========================================
   QUICK VIEW - CARD HOVER
========================================= */

.quick-view {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 18px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

.quick-view a {
    display: block;
    padding: 11px 20px;

    background: rgba(2, 48, 32, 0.94);
    color: #fff;
    text-decoration: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Show QUICK VIEW when hovering the product card */

.product-card:hover .quick-view {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* =========================================
   ADD TO BAG - IMAGE HOVER
========================================= */

.add-to-cart-btn {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: 6;

    min-height: 45px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #fff;
    color: #29231d;
    border: 1px solid #e5ddd4;
    border-radius: 6px;

    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease,
        background 0.3s ease,
        color 0.3s ease;
}

/* Show ADD TO BAG when hovering the image area */

.product-image-wrap:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: #a17c45;
    border-color: #a17c45;
    color: #fff;
}

.add-to-cart-btn i {
    font-size: 14px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
    .quick-view {
        display: none;
    }

    .add-to-cart-btn {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;

        width: 100%;
        margin-top: 10px;

        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.product-image-wrap {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
